]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update fixed bug list
[thirdparty/glibc.git] / ChangeLog
CommitLineData
aa5f0ff1
AM
12014-04-16 Alan Modra <amodra@gmail.com>
2
3 [BZ #16740]
4 [BZ #16619]
5 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 7 * NEWS: Update fixed bug list.
aa5f0ff1 8
bb9c256f
SP
92014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10
11 * benchtests/Makefile: Depend on libraries in build directory.
12 (bench-math): Separate out math tests.
13 (bench-pthread): Separate out pthread tests.
14 (bench): Include math and pthread tests.
15
f737dfd0
CD
162014-04-14 Carlos O'Donell <carlos@redhat.com>
17
18 [BZ #16831]
19 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20 _dl_debug_initialize.
21
0699f766
CD
222014-04-14 Carlos O'Donell <carlos@redhat.com>
23
24 * configure.ac: Remove SELinux header check.
25 * configure: Regenerate.
26 * nscd/selinux.c (perms): Array of const char* to permission names.
27 (nscd_request_avc_has_perm): Call security_deny_unknown to find
28 default policy. Call string_to_security_class and string_to_av_perm to
29 translate strings. Enforce default policy and call avs_has_perm with
30 results of translated strings.
31
809bd45f
DM
322014-04-13 David S. Miller <davem@davemloft.net>
33
34 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35
89e691f2
AM
362014-04-12 Allan McRae <allan@archlinux.org>
37
38 [BZ #16838]
39 * manual/string.texi (Collation Functions): Fix qsort argument
40 order in example.
41 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42
9c9daaeb
CM
432014-04-11 Chris Metcalf <cmetcalf@tilera.com>
44
45 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46 Make the test a no-op if there are no exceptions defined.
47
95561fb9
PP
482014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
49
fe8d072c 50 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
51 enable-hardcoded-path-in-tests
52
970c602a
WN
532014-04-11 Will Newton <will.newton@linaro.org>
54
55 * benchtests/Makefile (extra-objs): Add json-lib.o.
56 (bench-func): Tidy up JSON output.
57 * benchtests/bench-skeleton.c: Include json-lib.h.
58 (main): Use JSON library functions to do output of
59 benchmark results.
60 * benchtests/bench-timing-type.c (main): Output the
61 timing type simply, leaving formatting to the user.
62 * benchtests/json-lib.c: New file.
63 * benchtests/json-lib.h: Likewise.
64
36875b06
TR
652014-04-11 Torvald Riegel <triegel@redhat.com>
66
67 [BZ #15215]
68 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
69 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
70 memory barriers. Add comments.
71 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
72 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
73 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
74 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
75 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
76 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
77
579db35a
SL
782014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
79
80 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
81 * sysdeps/s390/s390-64/configure.ac: ... this ...
82 * sysdeps/s390/configure.ac: ... to here.
83 * sysdeps/s390/s390-32/configure: Delete file.
84 * sysdeps/s390/s390-64/configure: Delete file.
85 * sysdeps/s390/configure: Regenerate.
86
c12e9f37
JAPH
872014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
88
89 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
90
439bda32
WN
912014-04-11 Will Newton <will.newton@linaro.org>
92
93 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
94 to zero if it is not defined elsewhere. (mtrim): Test
95 the value of MALLOC_DEBUG with #if rather than #ifdef.
96
6a5d6ea1
TR
972014-04-10 Torvald Riegel <triegel@redhat.com>
98
99 * benchtests/pthread_once-inputs: New file.
100 * benchtests/pthread_once-source.c: New file.
101 * benchtests/README: Update documentation.
102
a4c75cfd
IZ
1032014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
104 H.J. Lu <hongjiu.lu@intel.com>
105
106 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
107 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
108 * sysdeps/x86_64/configure: Regenerated.
109 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
110 macro.
111 (REGISTER_SAVE_RAX): Likewise.
112 (REGISTER_SAVE_RCX): Likewise.
113 (REGISTER_SAVE_RDX): Likewise.
114 (REGISTER_SAVE_RSI): Likewise.
115 (REGISTER_SAVE_RDI): Likewise.
116 (REGISTER_SAVE_R8): Likewise.
117 (REGISTER_SAVE_R9): Likewise.
118 (REGISTER_SAVE_BND0): Likewise.
119 (REGISTER_SAVE_BND1): Likewise.
120 (REGISTER_SAVE_BND2): Likewise.
121 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
122 bound registers when calling _dl_fixup.
123
27822ce6
AZ
1242014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
125
126 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
127 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
128 definition.
129 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
130 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
131 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
132 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
133 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
134 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
135 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
136
a88ddc90
PTB
1372014-04-09 Peter Brett <peter@peter-b.co.uk>
138
139 [BZ #15514]
140 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
141 pathconf(_PC_NAME_MAX).
142
01f8eac2
AZ
1432014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
144
145 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
146 Remove macro usage.
147 (__PTHREAD_SPINS): Move definition to ...
148 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
149 (__PTHREAD_SPINS): ... here.
150 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
151 (__PTHREAD_SPIN): Likewise.
152 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
153 (__PTHREAD_SPIN): Likewise.
154 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
155 (__PTHREAD_SPIN): Likewise.
156 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
157 (__PTHREAD_SPIN): Likewise.
158 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
159 (__PTHREAD_SPIN): Likewise.
160 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
161 (__PTHREAD_SPIN): Likewise.
162 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
163 (__PTHREAD_SPIN): Likewise.
164 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
165 (__PTHREAD_SPIN): Likewise.
166 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
167 (__PTHREAD_SPIN): Likewise.
168 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
169 (__PTHREAD_SPIN): Likewise.
170 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
171 (__PTHREAD_SPIN): Likewise.
172 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
173 (__PTHREAD_SPIN): Likewise.
174
de21c33c
AZ
1752014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
176
177 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
178 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
179 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
180 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
181 imply folder.
182 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
183 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
184 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
185 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
186 correct imply path.
187 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
188 strlen symbol for non multi-arch builds.
189 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
190 missing hidden_def and weak_alias.
191
862c472e
CD
1922014-04-08 Carlos O'Donell <carlos@redhat.com>
193
194 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
195
8667f90e
WN
1962014-04-07 Will Newton <will.newton@linaro.org>
197
198 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
199 and contents. [!_LIBC] Remove #ifndef and contents.
200 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
201 * string/memccpy.c (__memccpy): Use ANSI prototype.
202 * string/memfrob.c (memfrob): Likewise.
203 * string/strcoll.c (STRCOLL): Likewise.
204 * string/strlen.c (strlen): Likewise.
205 * string/strtok.c (STRTOK): Likewise.
206 * string/strcat.c: Remove unused #include of memcopy.h.
207 (strcat): Use ANSI prototype.
208 * string/strchr.c: Remove unused #include of memcopy.h.
209 (strchr): Use ANSI prototype.
210 * string/strcmp.c: Remove unused #include of memcopy.h.
211 (strcmp): Use ANSI prototype.
212 * string/strcpy.c: Remove unused #include of memcopy.h.
213 (strcpy): Use ANSI prototype.
214
7ffa9423
AZ
2152014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
216
217 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
218 * config.make.in (config-extra-cppflags): Set it from
219 libc_extra_cppflags.
220 * configure.ac (libc_extra_cflags): Make it accumulate over
221 configure fragments.
222 (libc_extra_cppflags): New flag.
223 * configure. Regenerate.
224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
225 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
226 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
228
8bd70862
AZ
2292014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
230
231 [BZ #16815]
232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
233 result for FE_DOWNWARD rounding mode.
234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
235 Likewise.
236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
237
d42f3448
CM
2382014-04-04 Chris Metcalf <cmetcalf@tilera.com>
239
240 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
241 in function argument name.
242
1c21d115
DS
2432014-04-03 David Svoboda <svoboda@cert.org>
244
245 [BZ #5666]
246 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
247 explicitly.
248
fcccd512
RM
2492014-04-03 Roland McGrath <roland@hack.frob.com>
250
251 * elf/dl-unmap-segments.h: New file.
252 * sysdeps/generic/ldsodefs.h
253 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
254 * elf/dl-close.c: Include <dl-unmap-segments.h>.
255 * elf/dl-fptr.c: Likewise.
256 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
257 * sysdeps/aarch64/tlsdesc.c: Likewise.
258 * sysdeps/arm/tlsdesc.c: Likewise.
259 * sysdeps/i386/tlsdesc.c: Likewise.
260 * sysdeps/tile/dl-runtime.c: Likewise.
261 * sysdeps/x86_64/tlsdesc.c: Likewise.
262 * elf/dl-load.h: New file.
263 * elf/dl-load.c: Include it.
264 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
265 Macros moved to dl-load.h.
266 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
267 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
268 Use _dl_unmap_segments in place of __munmap.
269 Break out segment-mapping loop into ...
270 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
271
f6488e2b
WN
2722014-04-03 Will Newton <will.newton@linaro.org>
273
274 * elf/dl-lookup.c (do_lookup_x): Remove comment
275 referring to nested function and move variable
276 declarations down to before first use.
277
6f05bafe
JM
2782014-04-02 Joseph Myers <joseph@codesourcery.com>
279
a84e78c8
JM
280 [BZ #16799]
281 [BZ #16800]
282 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
283 with 0 numerator.
284 * math/s_catanf.c (__catanf): Likewise.
285 * math/s_catanh.c (__catanh): Likewise.
286 * math/s_catanhf.c (__catanhf): Likewise.
287 * math/s_catanhl.c (__catanhl): Likewise.
288 * math/s_catanl.c (__catanl): Likewise.
289 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
290 by positive zero when computing -Inf result.
291 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
292 (catanh_test): Likewise.
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
295
6f05bafe
JM
296 [BZ #16789]
297 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
298 instead of using underflowing value in computing result.
299 * math/s_clog10.c (__clog10): Likewise.
300 * math/s_clog10f.c (__clog10f): Likewise.
301 * math/s_clog10l.c (__clog10l): Likewise.
302 * math/s_clogf.c (__clogf): Likewise.
303 * math/s_clogl.c (__clogl): Likewise.
304 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
305 (clog10_test): Likewise.
306 * sysdeps/i386/fpu/libm-test-ulps: Update.
307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308
b0abbc21
AM
3092014-04-02 Alan Modra <amodra@gmail.com>
310
311 [BZ #16739]
312 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
313 output when value is near a power of two. Use int64_t for lx and
314 remove casts. Use decimal rather than hex exponent constants.
315 Don't use long double multiplication when double will suffice.
316 * math/libm-test.inc (nextafter_test_data): Add tests.
317 * NEWS: Add 16739 and 16786 to bug list.
318
af6b1797
AM
3192014-04-02 Alan Modra <amodra@gmail.com>
320
321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
322
483818d7
AM
3232014-04-02 Alan Modra <amodra@gmail.com>
324
325 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
326
f6c55796
WN
3272014-04-01 Will Newton <will.newton@linaro.org>
328
329 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
330 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
331
13f7fe35
FW
3322014-04-01 Florian Weimer <fweimer@redhat.com>
333
334 [BZ #13347]
335 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
336 * nptl/tst-setuid2.c: New file.
337 * nptl/Makefile (xtests): Add tst-setuid2.
338
c859b32e
AM
3392014-04-01 Alan Modra <amodra@gmail.com>
340
341 [BZ #16786]
342 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
343
54fa2475
JM
3442014-03-31 Joseph Myers <joseph@codesourcery.com>
345
8795b4a4
JM
346 [BZ #6803]
347 [BZ #6804]
348 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
349 set errno as appropriate.
350 * math/w_scalbf.c (__scalbf): Likewise.
351 * math/w_scalbl.c (__scalbl): Likewise.
352 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
353 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
354 * math/libm-test.inc (scalb_test_data): Add errno expectations.
355 Add more NaN tests.
356
54fa2475
JM
357 [BZ #16349]
358 * math/w_atan2.c: Include <errno.h>.
359 (__atan2): Set errno for result underflowing to zero.
360 * math/w_atan2f.c: Include <errno.h>.
361 (__atan2f): Set errno for result underflowing to zero.
362 * math/w_atan2l.c: Include <errno.h>.
363 (__atan2l): Set errno for result underflowing to zero.
364 * math/auto-libm-test-in: Don't allow missing errno for some atan2
365 tests.
366 * math/auto-libm-test-out: Regenerated.
367
757d9dd5
AZ
3682014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
369
370 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
371 Encode instruction correctly in little endian.
372 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
373 Likewise.
374 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
375 Likewise.
376 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
377 Likewise.
378 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
379 Likewise.
380
d7a68734
JM
3812014-03-31 Joseph Myers <joseph@codesourcery.com>
382
47c5adeb
JM
383 [BZ #9894]
384 * sysdeps/unix/sysv/linux/kernel-features.h
385 [__sparc__ && !__arch64__ && !__sparc_v9__]
386 (__ASSUME_SET_ROBUST_LIST): Do not define.
387 [__sparc__ && !__arch64__ && !__sparc_v9__]
388 (__ASSUME_FUTEX_LOCK_PI): Likewise.
389 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
390 Likewise.
391 * sysdeps/unix/sysv/linux/arm/kernel-features.h
392 (__ASSUME_FUTEX_LOCK_PI): Undefine.
393 (__ASSUME_REQUEUE_PI): Likewise.
394 (__ASSUME_SET_ROBUST_LIST): Likewise.
395 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
396 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
397 Undefine.
398 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
399 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
400 Likewise.
401 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
402 Likewise.
403 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
404 Likewise.
405 * sysdeps/unix/sysv/linux/mips/kernel-features.h
406 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
407 Undefine.
408 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
409 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
410 Likewise.
411
d7a68734
JM
412 [BZ #16648]
413 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
414 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
415 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
416
c760f5c2
WN
4172014-03-31 Will Newton <will.newton@linaro.org>
418
419 * benchtests/Makefile (bench): Add ffs and ffsll to list
420 of tests.
421 * benchtests/ffs-inputs: New file.
422 * benchtests/ffsll-inputs: Likewise.
423
ea6029b1
JM
4242014-03-29 Joseph Myers <joseph@codesourcery.com>
425
426 [BZ #16770]
427 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
428 too large before casting to int.
429 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
430 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
431 * math/libm-test.inc (scalb_test_data): Add more tests.
432
cf806aff
SP
4332014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
434
56737508
SP
435 * benchtests/Makefile (DETAILED_OPT): New make option.
436 (bench-func): Run benchmark program with -d if DETAILED_OPT is
437 set.
438 * benchtests/bench-skeleton.c: Include stdbool.h.
439 (main): Store and print timings per input.
440 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
441 member to each argument value.
442 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
443 (_print_arg_data): Initialize per-input timing to 0.
444
cb5e4aad
SP
445 * benchtests/Makefile (timing-type): New binary.
446 (bench-clean): Also remove bench-timing-type.
447 (bench): New target for timing-type.
448 (bench-func): Print output in JSON format.
449 * benchtests/bench-skeleton.c (main): Print output in JSON
450 format.
451 * benchtests/bench-timing-type.c: New file.
452 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
453 (TIMING_PRINT_STATS): Remove.
454 * benchtests/scripts/bench.py (_print_arg_data): Store variant
455 name separately.
456
cf806aff
SP
457 * benchtests/bench-modf.c: Remove.
458 * benchtests/modf-inputs: New inputs file.
459
289e0779
JM
4602014-03-28 Joseph Myers <joseph@codesourcery.com>
461
462 [BZ #16362]
463 * math/s_clog10.c (M_PI_LOG10E): New macro.
464 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
465 imaginary parts are 0.
466 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
467 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
468 imaginary parts are 0.
469 * math/s_clog10l.c (M_PI_LOG10El): New macro.
470 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
471 imaginary parts are 0.
472 * math/libm-test.inc (clog10_test_data): Update expected results
473 for when real and imaginary parts are 0.
474
277ae3f1
PP
4752014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
476
477 * elf/dl-load.c: Finish conversion of __builtin_expect into
478 __glibc_{un}likely.
479
03a7091f
JM
4802014-03-27 Joseph Myers <joseph@codesourcery.com>
481
482 [BZ #16348]
483 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
484 1+x for argument with exponent below -67.
485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
486 Likewise.
487 * math/auto-libm-test-in: Add more tests of exp.
488 * math/auto-libm-test-out: Regenerated.
489
ea7d8b95
SP
4902014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
491
dd3022d7
SP
492 [BZ #16759]
493 * inet/getnetgrent_r.c (get_nonempty_val): New function.
494 (nscd_getnetgrent): Use it.
495
ea7d8b95
SP
496 [BZ #16760]
497 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
498 of stpcpy.
499
df5b85da
AK
5002014-03-27 Andi Kleen <ak@linux.intel.com>
501
502 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
503 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
504 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
505 Remove out of line section. Use cfi intrinsics.
506 (LLL_STUB_UNWIND_INFO*): Remove.
507 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
508 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
509 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
510 Remove out of line section. Use cfi intrinsics.
511 (LLL_STUB_UNWIND_INFO*): Remove.
512
fbd6b5a4
SP
5132014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
514
515 [BZ #16758]
516 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
517 blank values.
518
1b26b855
PP
5192014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
520
521 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
522
9be36fb8
JM
5232014-03-26 Joseph Myers <joseph@codesourcery.com>
524
525 [BZ #16198]
526 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
527 fnstenv.
528 * math/test-fenv-preserve.c: New file.
529 * math/Makefile (tests): Add test-fenv-preserve.
530
60a2f3c1
WN
5312014-03-26 Will Newton <will.newton@linaro.org>
532
533 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
534
a5e5f1e2
RM
5352014-03-25 Roland McGrath <roland@hack.frob.com>
536
537 * scripts/versionlist.awk: Partition the version sets and emit all
538 GLIBC_* (sorted) before all others (sorted).
539
00f4012a
JM
5402014-03-25 Joseph Myers <joseph@codesourcery.com>
541
542 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
543 GLIBC_2.2.5 version.
544
7bc5a741
AZ
5452014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
546
547 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
548 calls.
549
7578473b
AZ
5502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551
552 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
553 previous change.
554
f3f1dab3
AZ
5552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556
557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
558
6da36183
AS
5592014-03-25 Andreas Schwab <schwab@suse.de>
560
561 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
562 label to be used after in6ailist is initialized.
563
f3f1dab3 5642014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 565
7578473b 566 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
567 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
568
046651c1
JM
5692014-03-25 Joseph Myers <joseph@codesourcery.com>
570
571 [BZ #16357]
572 [BZ #16599]
573 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
574 min_plus_half.
575 (fp_formats): Update initializers.
576 (init_fp_formats): Initialize new field.
577 (output_for_one_input_case): Allow underflow for results up to
578 min_plus_half.
579 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
580 * math/auto-libm-test-in: Don't mark some underflows from asin and
581 atanh as spurious.
582 * math/auto-libm-test-out: Regenerated.
583 * sysdeps/i386/fpu/libm-test-ulps: Update.
584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
585
003e49ed
AS
5862014-03-25 Andreas Schwab <schwab@suse.de>
587
588 * libio/Makefile (tst-ftell-partial-wide-ENV)
589 (tst-ftell-active-handler-ENV): Define.
590
de031874
SL
5912014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
592
593 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
594
55a81e3b
PP
5952014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
596
597 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
598
f3426898
JM
5992014-03-24 Joseph Myers <joseph@codesourcery.com>
600
601 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
602 * sysdeps/x86_64/fpu/multiarch/e_exp.c
603 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
604
a42faf59
PP
6052014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
606
607 [BZ #16634]
a42faf59 608 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
609 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
610 (open_path): Change from boolean 'secure' to complete flag 'mode'
611 (_dl_map_object): Adjust.
a42faf59
PP
612 * elf/Makefile (tests): Add tst-dlopen-aout.
613 * elf/tst-dlopen-aout.c: New test.
614
50936127
SL
6152014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
616
617 [BZ #16714]
618 * sysdeps/unix/sysv/linux/s390/bits/stat.h
619 (struct stat): Rename member pad0 to __glibc_reserved0.
620
26011b5c
SL
6212014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
622
623 [BZ #16712]
624 * sysdeps/s390/s390-32/bits/wordsize.h
625 (__WORDSIZE32_SIZE_ULONG): New define.
626 * sysdeps/s390/s390-64/bits/wordsize.h
627 (__WORDSIZE32_SIZE_ULONG): Likewise.
628 * sysdeps/generic/stdint.h (SIZE_MAX):
629 Define as UL if __WORDSIZE32_SIZE_ULONG.
630
a2d86bf1
SL
6312014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
632
633 [BZ #16713]
634 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
635 (__glibc_reserved0): New variable.
636 (sa_flags): Change type to int.
637
78b6eebc
SL
6382014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
639
640 * posix/Makefile (before-compile): Use += before-compile instead
641 of a :=.
642
f1399b5a
SL
6432014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
644
645 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
646 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
647
a071766e
AS
6482014-03-20 Andreas Schwab <schwab@suse.de>
649
650 [BZ #16743]
651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
652 non-matching result from nscd.
653
27c673b8
SP
6542014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
655
656 * scripts/bench.py: Moved to ...
657 * benchtests/scripts/bench.py: ... here.
658 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
659
44152e4b
AS
6602014-03-24 Andreas Schwab <schwab@suse.de>
661
662 [BZ #16002]
663 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
664 alloca_account and account alloca use for struct in6ailist.
665
b376a11a
JM
6662014-03-24 Joseph Myers <joseph@codesourcery.com>
667
668 [BZ #16284]
669 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
670 rounding mode to recompute results that overflow to infinity or
671 underflow to zero.
672 * math/auto-libm-test-in: Don't mark tests as expected to fail for
673 bug 16284.
674 * math/auto-libm-test-out: Regenerated.
675 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
676 (ccosh_test): Likewise.
677 (csin_test_data): Use plus_oflow.
678 (csin_test): Use ALL_RM_TEST.
679 (csinh_test_data): Use plus_oflow.
680 (csinh_test): Use ALL_RM_TEST.
681 * sysdeps/i386/fpu/libm-test-ulps: Update.
682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
683
f7be7376
JM
6842014-03-21 Joseph Myers <joseph@codesourcery.com>
685
1ca2d03e
JM
686 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
687 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
688 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
689
f7be7376
JM
690 [BZ #16731]
691 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
692 when x - 1 is zero.
693 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
694 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
695 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
697 argument is 1.
698 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
699 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
700 zero.
701 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
702 * sysdeps/i386/fpu/libm-test-ulps: Update.
703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
704
fdf4534d
SP
7052014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
706
df26ea53
SP
707 * scripts/bench.pl: Remove file.
708 * scripts/bench.py: New benchmark script.
709 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
710 * benchtests/README: Mention python dependency.
711 * scripts/pylintrc: New file.
712 * scripts/pylint: New file.
713
fdf4534d
SP
714 * bits/mathdef.h: Use #ifdef instead of #if.
715 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
716 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
717 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
718 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
719 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
720 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
721
6f23d093
AZ
7222014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
724
725 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
727 and strpbrk-ppc64 objects.
728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
729 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
730 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
731 multiarch strpbrk for POWER7.
732 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
733 multiarch strpbrk for PPC64.
734 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
735 ifunc selector.
736 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
737 strpbrk for POWER7.
738
8c92dfff
JM
7392014-03-20 Joseph Myers <joseph@codesourcery.com>
740
741 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
742 (atan_test): Likewise.
743 (atanh_test_data): Use NO_TEST_INLINE for two tests.
744 (atanh_test): Use ALL_RM_TEST.
745 (atan2_test_data): Likewise.
746 (cabs_test): Likewise.
747 (cacosh_test): Likewise.
748 (carg_test): Likewise.
749 (casin_test): Likewise.
750 (casinh_test): Likewise.
751 (cbrt_test): Likewise.
752 (csqrt_test): Likewise.
753 (erf_test): Likewise.
754 (erfc_test): Likewise.
755 (pow10_test): Likewise.
756 (exp2_test): Likewise.
757 (hypot_test): Likewise.
758 (j0_test): Likewise.
759 (j1_test): Likewise.
760 (lgamma_test): Likewise.
761 (gamma_test): Likewise.
762 (sincos_test): Likewise.
763 (tanh_test): Likewise.
764 (y0_test): Likewise.
765 (y1_test): Likewise.
766 * sysdeps/i386/fpu/libm-test-ulps: Update.
767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
768
6eaf95cb
AZ
7692014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
770
a387428c
SP
771 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
773 and strcspn-ppc64 objects.
774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
775 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
776 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
777 multiarch strcspn for POWER7.
778 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
779 multiarch strcspn for PPC64.
780 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
781 ifunc selector.
782 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
783 strcspn for POWER7.
784
ae3a5dff
JM
7852014-03-20 Joseph Myers <joseph@codesourcery.com>
786
787 * math/gen-libm-test.pl (generate_testfile): Expect only function
788 name as argument to AUTO_TESTS_* and pass results for all rounding
789 modes to parse_args.
790 (parse_auto_input): Separate inputs of automatic tests from
791 outputs before storing in %auto_tests.
792 * math/libm-test.inc (acos_test_data): Update call to
793 AUTO_TESTS_f_f.
794 (acos_test): Use ALL_RM_TEST.
795 (acos_tonearest_test_data): Remove.
796 (acos_test_tonearest): Likewise.
797 (acos_towardzero_test_data): Likewise.
798 (acos_test_towardzero): Likewise.
799 (acos_downward_test_data): Likewise.
800 (acos_test_downward): Likewise.
801 (acos_upward_test_data): Likewise.
802 (acos_test_upward): Likewise.
803 (acosh_test_data): Update call to AUTO_TESTS_f_f.
804 (asin_test_data): Likewise.
805 (asin_test): Use ALL_RM_TEST.
806 (asin_tonearest_test_data): Remove.
807 (asin_test_tonearest): Likewise.
808 (asin_towardzero_test_data): Likewise.
809 (asin_test_towardzero): Likewise.
810 (asin_downward_test_data): Likewise.
811 (asin_test_downward): Likewise.
812 (asin_upward_test_data): Likewise.
813 (asin_test_upward): Likewise.
814 (asinh_test_data): Update call to AUTO_TESTS_f_f.
815 (atan_test_data): Likewise.
816 (atanh_test_data): Likewise.
817 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
818 (cabs_test_data): Update call to AUTO_TESTS_c_f.
819 (carg_test_data): Likewise.
820 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
821 (ccos_test_data): Update call to AUTO_TESTS_c_c.
822 (ccosh_test_data): Likewise.
823 (cexp_test_data): Likewise.
824 (clog_test_data): Likewise.
825 (clog10_test_data): Likewise.
826 (cos_test_data): Update call to AUTO_TESTS_f_f.
827 (cos_test): Use ALL_RM_TEST.
828 (cos_tonearest_test_data): Remove.
829 (cos_test_tonearest): Likewise.
830 (cos_towardzero_test_data): Likewise.
831 (cos_test_towardzero): Likewise.
832 (cos_downward_test_data): Likewise.
833 (cos_test_downward): Likewise.
834 (cos_upward_test_data): Likewise.
835 (cos_test_upward): Likewise.
836 (cosh_test_data): Update call to AUTO_TESTS_f_f.
837 (cosh_test): Use ALL_RM_TEST.
838 (cosh_tonearest_test_data): Remove.
839 (cosh_test_tonearest): Likewise.
840 (cosh_towardzero_test_data): Likewise.
841 (cosh_test_towardzero): Likewise.
842 (cosh_downward_test_data): Likewise.
843 (cosh_test_downward): Likewise.
844 (cosh_upward_test_data): Likewise.
845 (cosh_test_upward): Likewise.
846 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
847 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
848 (ctan_test_data): Likewise.
849 (ctan_test): Use ALL_RM_TEST.
850 (ctan_tonearest_test_data): Remove.
851 (ctan_test_tonearest): Likewise.
852 (ctan_towardzero_test_data): Likewise.
853 (ctan_test_towardzero): Likewise.
854 (ctan_downward_test_data): Likewise.
855 (ctan_test_downward): Likewise.
856 (ctan_upward_test_data): Likewise.
857 (ctan_test_upward): Likewise.
858 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
859 (ctanh_test): Use ALL_RM_TEST.
860 (ctanh_tonearest_test_data): Remove.
861 (ctanh_test_tonearest): Likewise.
862 (ctanh_towardzero_test_data): Likewise.
863 (ctanh_test_towardzero): Likewise.
864 (ctanh_downward_test_data): Likewise.
865 (ctanh_test_downward): Likewise.
866 (ctanh_upward_test_data): Likewise.
867 (ctanh_test_upward): Likewise.
868 (erf_test_data): Update call to AUTO_TESTS_f_f.
869 (erfc_test_data): Likewise.
870 (exp_test_data): Likewise.
871 (exp_test): Use ALL_RM_TEST.
872 (exp_tonearest_test_data): Remove.
873 (exp_test_tonearest): Likewise.
874 (exp_towardzero_test_data): Likewise.
875 (exp_test_towardzero): Likewise.
876 (exp_downward_test_data): Likewise.
877 (exp_test_downward): Likewise.
878 (exp_upward_test_data): Likewise.
879 (exp_test_upward): Likewise.
880 (exp10_test_data): Update call to AUTO_TESTS_f_f.
881 (exp10_test): Use ALL_RM_TEST.
882 (exp10_tonearest_test_data): Remove.
883 (exp10_test_tonearest): Likewise.
884 (exp10_towardzero_test_data): Likewise.
885 (exp10_test_towardzero): Likewise.
886 (exp10_downward_test_data): Likewise.
887 (exp10_test_downward): Likewise.
888 (exp10_upward_test_data): Likewise.
889 (exp10_test_upward): Likewise.
890 (exp2_test_data): Update call to AUTO_TESTS_f_f.
891 (expm1_test_data): Likewise.
892 (expm1_test): Use ALL_RM_TEST.
893 (expm1_tonearest_test_data): Remove.
894 (expm1_test_tonearest): Likewise.
895 (expm1_towardzero_test_data): Likewise.
896 (expm1_test_towardzero): Likewise.
897 (expm1_downward_test_data): Likewise.
898 (expm1_test_downward): Likewise.
899 (expm1_upward_test_data): Likewise.
900 (expm1_test_upward): Likewise.
901 (fma_test_data): Update call to AUTO_TESTS_fff_f.
902 (fma_test): Use ALL_RM_TEST.
903 (fma_towardzero_test_data): Remove.
904 (fma_test_towardzero): Likewise.
905 (fma_downward_test_data): Likewise.
906 (fma_test_downward): Likewise.
907 (fma_upward_test_data): Likewise.
908 (fma_test_upward): Likewise.
909 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
910 (j0_test_data): Update call to AUTO_TESTS_f_f.
911 (j1_test_data): Likewise.
912 (jn_test_data): Update call to AUTO_TESTS_if_f.
913 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
914 (log_test_data): Update call to AUTO_TESTS_f_f.
915 (log10_test_data): Likewise.
916 (log1p_test_data): Likewise.
917 (log2_test_data): Likewise.
918 (pow_test_data): Update call to AUTO_TESTS_ff_f.
919 (pow_tonearest_test_data): Likewise.
920 (sin_test_data): Update call to AUTO_TESTS_f_f.
921 (sin_test): Use ALL_RM_TEST.
922 (sin_tonearest_test_data): Remove.
923 (sin_test_tonearest): Likewise.
924 (sin_towardzero_test_data): Likewise.
925 (sin_test_towardzero): Likewise.
926 (sin_downward_test_data): Likewise.
927 (sin_test_downward): Likewise.
928 (sin_upward_test_data): Likewise.
929 (sin_test_upward): Likewise.
930 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
931 (sinh_test_data): Update call to AUTO_TESTS_f_f.
932 (sinh_test): Use ALL_RM_TEST.
933 (sinh_tonearest_test_data): Remove.
934 (sinh_test_tonearest): Likewise.
935 (sinh_towardzero_test_data): Likewise.
936 (sinh_test_towardzero): Likewise.
937 (sinh_downward_test_data): Likewise.
938 (sinh_test_downward): Likewise.
939 (sinh_upward_test_data): Likewise.
940 (sinh_test_upward): Likewise.
941 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
942 (sqrt_test): Use ALL_RM_TEST.
943 (sqrt_tonearest_test_data): Remove.
944 (sqrt_test_tonearest): Likewise.
945 (sqrt_towardzero_test_data): Likewise.
946 (sqrt_test_towardzero): Likewise.
947 (sqrt_downward_test_data): Likewise.
948 (sqrt_test_downward): Likewise.
949 (sqrt_upward_test_data): Likewise.
950 (sqrt_test_upward): Likewise.
951 (tan_test_data): Update call to AUTO_TESTS_f_f.
952 (tan_test): Use ALL_RM_TEST.
953 (tan_tonearest_test_data): Remove.
954 (tan_test_tonearest): Likewise.
955 (tan_towardzero_test_data): Likewise.
956 (tan_test_towardzero): Likewise.
957 (tan_downward_test_data): Likewise.
958 (tan_test_downward): Likewise.
959 (tan_upward_test_data): Likewise.
960 (tan_test_upward): Likewise.
961 (tanh_test_data): Update call to AUTO_TESTS_f_f.
962 (tgamma_test_data): Likewise.
963 (y0_test_data): Likewise.
964 (y1_test_data): Likewise.
965 (yn_test_data): Update call to AUTO_TESTS_if_f.
966 (main): Do not call removed functions.
967
d71aeee8
JM
9682014-03-19 Joseph Myers <joseph@codesourcery.com>
969
970 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
971 (ldexp_test_data): Remove.
972 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
973 scalbn_test_data.
974 (scalb_test): Use ALL_RM_TEST.
975
baaf1ded
AS
9762014-03-19 Andreas Schwab <schwab@suse.de>
977
978 * nscd/nscd.service: Also invalidate netgroup cache on reload.
979
b1115e91
JM
9802014-03-19 Joseph Myers <joseph@codesourcery.com>
981
982 [BZ #16649]
983 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
984 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
985 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
986 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
987 (__ASSUME_PREADV): Undefine.
988 (__ASSUME_PWRITEV): Likewise.
989
0283ecca
RM
9902014-03-18 Roland McGrath <roland@hack.frob.com>
991
7d375303
RM
992 * bits/mman-linux.h: Add comment about non-Linux use.
993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
994 bits/mman-linux.h resting place.
995
0283ecca
RM
996 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
997 * bits/mman-linux.h: ... here.
998
aebe1003
AZ
9992014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1000
1001 * conform/conformtest.pl: Add standard definition when calling C
1002 preprocessor on data files.
1003 (checknamespace): Remove unused variable.
1004
b29b6bb8
JM
10052014-03-18 Joseph Myers <joseph@codesourcery.com>
1006
1007 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1008 minus_oflow, plus_uflow and minus_uflow in expected results.
1009 * math/libm-test.inc (scalbn_test_data): Add more tests of
1010 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1011 minus_uflow.
1012 (scalbn_test): Use ALL_RM_TEST.
1013 (scalbln_test_data): Add more tests of negative arguments. Use
1014 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1015 (scalbln_test): Use ALL_RM_TEST.
1016
c8f8fa15
RM
10172014-03-18 Roland McGrath <roland@hack.frob.com>
1018
1019 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1020
fede7a5f
WN
10212014-03-18 Will Newton <will.newton@linaro.org>
1022
1023 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1024 inaccurate comment.
1025
80cf0a58
JM
10262014-03-18 Joseph Myers <joseph@codesourcery.com>
1027
1028 * Makerules [!subdir] (check-abi): Exit with error status if a
1029 test failed.
1030
b3620862
JM
10312014-03-17 Joseph Myers <joseph@codesourcery.com>
1032
1033 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1034 for rint. Include results for all rounding modes.
1035 (nearbyint_test): Use ALL_RM_TEST.
1036 (rint_test_data): Include all tests used for nearbyint.
1037
788bba36
WN
10382014-03-17 Will Newton <will.newton@linaro.org>
1039
04ec140a
WN
1040 * nptl/sysdeps/pthread/pthread.h: Revert previous
1041 change.
1042
7579d8d5
WN
1043 * sysdeps/generic/ldsodefs.h: Revert previous
1044 change.
1045
c15cf13a
WN
1046 * libio/genops.c: Revert previous change.
1047 * libio/libioP.h: Likewise.
1048 * stdio-common/vfprintf.c: Likewise.
1049
d0ac1324
WN
1050 * sysdeps/generic/math_private.h: Revert previous
1051 change.
1052
9290130a
WN
1053 * sysdeps/generic/math_private.h: Check whether
1054 HAVE_RM_CTX is defined with #ifdef rather
1055 than #if.
1056
afb466fc
WN
1057 * argp/argp-fmtstream.h: Check whether
1058 __STRICT_ANSI__ is defined with #ifdef rather
1059 than #if.
1060 * argp/argp.h: Likewise.
1061
f7efd7c3
WN
1062 * libio/genops.c: Check whether
1063 _IO_JUMPS_OFFSET is defined with #ifdef rather
1064 than #if.
1065 * libio/libioP.h: Likewise.
1066 * stdio-common/vfprintf.c: Likewise.
1067
53f1bed3
WN
1068 * sysdeps/generic/ldsodefs.h: Check whether
1069 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1070 than #if.
1071
788bba36
WN
1072 * nptl/sysdeps/pthread/pthread.h: Check
1073 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1074 its value.
1075
fcd89ebe
SP
10762014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1077
ae42bbc5
SP
1078 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1079 setting O_APPEND.
1080 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1081 test case.
1082
ea33158c
SP
1083 [BZ #16680]
1084 * libio/fileops.c (_IO_file_open): Seek to end of file but
1085 don't cache the offset.
1086 (get_file_offset): Remove function.
1087 (do_ftell): Use cached offset when available.
1088 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1089 don't cache the offset.
1090 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1091 case.
1092 (do_one_test): Call it.
1093 (do_ftell_test): Fix up expected old offset for a+ mode.
1094 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1095 available.
1096
b1dbb426
SP
1097 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1098 up test status with function return status.
1099 (do_write_test): Likewise.
1100 (do_append_test): Likewise.
1101
fcd89ebe
SP
1102 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1103 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1104 Remove.
1105
9962a2d3
JM
11062014-03-17 Joseph Myers <joseph@codesourcery.com>
1107
1108 * math/gen-libm-test.pl (parse_args): Handle results specified for
1109 each rounding mode separately.
1110 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1111 tests and results from lrint_tonearest_test_data,
1112 lrint_towardzero_test_data, lrint_downward_test_data and
1113 lrint_upward_test_data.
1114 (lrint_test): Use ALL_RM_TEST.
1115 (lrint_tonearest_test_data): Remove.
1116 (lrint_test_tonearest): Likewise.
1117 (lrint_towardzero_test_data): Likewise.
1118 (lrint_test_towardzero): Likewise.
1119 (lrint_downward_test_data): Likewise.
1120 (lrint_test_downward): Likewise.
1121 (lrint_upward_test_data): Likewise.
1122 (lrint_test_upward): Likewise.
1123 (llrint_test_data): Merge in per-rounding-mode tests and results
1124 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1125 llrint_downward_test_data and llrint_upward_test_data.
1126 (llrint_test): Use ALL_RM_TEST.
1127 (llrint_tonearest_test_data): Remove.
1128 (llrint_test_tonearest): Likewise.
1129 (llrint_towardzero_test_data): Likewise.
1130 (llrint_test_towardzero): Likewise.
1131 (llrint_downward_test_data): Likewise.
1132 (llrint_test_downward): Likewise.
1133 (llrint_upward_test_data): Likewise.
1134 (llrint_test_upward): Likewise.
1135 (rint_test_data): Merge in per-rounding-mode tests and results
1136 from rint_tonearest_test_data, rint_towardzero_test_data,
1137 rint_downward_test_data and rint_upward_test_data. Add
1138 per-rounding-mode results for tests not in those arrays.
1139 (rint_test): Use ALL_RM_TEST.
1140 (rint_tonearest_test_data): Remove.
1141 (rint_test_tonearest): Likewise.
1142 (rint_towardzero_test_data): Likewise.
1143 (rint_test_towardzero): Likewise.
1144 (rint_downward_test_data): Likewise.
1145 (rint_test_downward): Likewise.
1146 (rint_upward_test_data): Likewise.
1147 (rint_test_upward): Likewise.
1148 (main): Don't call removed functions.
1149
5006148e
RM
11502014-03-14 Roland McGrath <roland@hack.frob.com>
1151
1152 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1153 "Compiled on ..." crapola. It is anti-useful.
1154
d6fe5e58
JM
11552014-03-14 Joseph Myers <joseph@codesourcery.com>
1156
1157 * scripts/evaluate-test.sh: Handle fourth argument to determine
1158 whether test run should stop on failure.
1159 * Makeconfig (stop-on-test-failure): New variable.
1160 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1161 $(stop-on-test-failure).
1162 * Makefile (tests): Give a summary of results from testing and
1163 exit with failure status if they include an ERROR or FAIL.
1164 (xtests): Likewise.
1165 * manual/install.texi (Configuring and compiling): Mention
1166 stop-on-test-failure=y.
1167 * INSTALL: Regenerated.
1168
498a2233
RM
11692014-03-14 Roland McGrath <roland@hack.frob.com>
1170
22dbc19d
RM
1171 * scripts/versionlist.awk: New file.
1172 * Makerules [$(build-shared) = yes]
1173 (postclean-generated): Add Versions.def, not Versions.def.v and
1174 Versions.def.v.i.
1175 ($(common-objpfx)Versions.def.v.i): Target removed.
1176 ($(common-objpfx)Versions.def): New target.
1177 ($(common-objpfx)Versions.all): Depend on that rather that
1178 $(common-objpfx)Versions.def.v.
1179 * Versions.def: File removed.
1180
498a2233
RM
1181 * Makeconfig (+gccwarn): Add -Wundef.
1182 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1183 a dl-sysdep.h breaking its contract.
1184 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1185 * include/stackinfo.h: New file.
1186 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1187 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1188 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1189 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1190 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1191 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1192 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1193 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1194 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1195 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1196 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1197 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1198 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1199 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1200 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1201
c7de5025
AZ
12022014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1203
1204 [BZ #16707]
1205 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1206 implementation.
1207 * math/libm-test.inc (round_test_data): Add more tests.
1208
98fb27a3
AZ
12092014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1210
1211 [BZ #16706]
1212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1213 implementation.
1214 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1215
374f7f61
AZ
12162014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 [BZ #16701]
1219 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1220 implementation.
1221 * math/libm-test.inc (ceil_test_data): Add more tests.
1222
4655c291
AZ
12232014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1224
1225 * math/libm-test.inc (trunc_test_data): Add more tests related to
1226 BZ#16414.
1227
d7329d4b
RM
12282014-03-14 Roland McGrath <roland@hack.frob.com>
1229
1230 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1231 with #if rather than #ifdef.
1232 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1233
aa4de9ce
L
12342014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1237 first. Disable AVX-512 GCC support if assembler doesn't support
1238 it.
1239 * sysdeps/x86_64/configure: Regenerated.
1240
2e03fae7
CD
12412014-03-13 Carlos O'Donell <carlos@redhat.com>
1242
1243 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1244 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1245 (__old_pthread_attr_setstack): Likewise.
1246 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1247 [!_STACK_GROWS_DOWN]: Likewise.
1248
43ca83ec
MF
12492014-03-13 Mike Frysinger <vapier@gentoo.org>
1250
1251 * config.make.in (have-bash2): Delete.
1252 * configure.ac (libc_cv_have_bash2): Delete.
1253 * configure: Regenerate.
1254 * elf/Makefile (common-ldd-rewrite): Rename to ...
1255 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1256 (sh-ldd-rewrite): Delete.
1257 (bash-ldd-rewrite): Delete.
1258 (have-bash2): Delete checks.
1259 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1260
c66e48b4
MF
12612014-03-13 Mike Frysinger <vapier@gentoo.org>
1262
1263 * config.make.in (have-ksh): Delete.
1264 (KSH): Delete.
1265 * configure.ac (libc_cv_have_ksh): Delete.
1266 * configure: Regenerate.
1267
b93834ef
MF
12682014-03-13 Mike Frysinger <vapier@gentoo.org>
1269
1270 * elf/Makefile: Delete $(have-ksh) check.
1271 ($(objpfx)sotruss): Change KSH to BASH.
1272 * elf/sotruss.ksh: Rename to ...
1273 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1274 function style to match POSIX. Drop ksh vim mode setting.
1275
f3a4632a
MF
12762014-03-13 Mike Frysinger <vapier@gentoo.org>
1277
1278 * manual/time.texi (Specifying the Time Zone with TZ): Change
1279 Tuesday to Thursday.
1280
5896c8bd
MF
12812014-03-13 Mike Frysinger <vapier@gentoo.org>
1282
1283 * debug/tst-longjmp_chk2.c: Update header comment.
1284 (stackoverflow_handler): Add comment. Call assert on pass value.
1285
2d63a517
IZ
12862014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1287
1288 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1289 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1290 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1291 (La_x86_64_vector): Add zmm.
1292 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1293 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1294 ($(objpfx)tst-audit10): New target.
1295 ($(objpfx)tst-audit10.out): Likewise.
1296 (tst-audit10-ENV): New.
1297 (AVX512-CFLAGS): Likewise.
1298 (CFLAGS-tst-audit10.c): Likewise.
1299 (CFLAGS-tst-auditmod10a.c): Likewise.
1300 (CFLAGS-tst-auditmod10b.c): Likewise.
1301 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1302 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1303 * sysdeps/x86_64/configure: Regenerated.
1304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1305 AVX-512 zmm register support.
1306 (_dl_x86_64_save_sse): Likewise.
1307 (_dl_x86_64_restore_sse): Likewise.
1308 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1309 size vector registers.
1310 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1311 (ZMM_SIZE): Likewise.
1312 * sysdeps/x86_64/tst-audit10.c: New file.
1313 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1314 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1315
44c4e5d5
RM
13162014-03-13 Roland McGrath <roland@hack.frob.com>
1317
1318 * configure.ac (HAVE_EHDR_START): New check.
1319 * configure: Regenerated.
1320 * config.h.in (HAVE_EHDR_START): New #undef.
1321 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1322 assuming the lowest-addressed segment maps the start of the file.
1323
acd6e389
JM
13242014-03-13 Joseph Myers <joseph@codesourcery.com>
1325
1326 * INSTALL: Regenerated.
1327
6f918f36
WN
13282014-03-13 Will Newton <will.newton@linaro.org>
1329
1330 * manual/setjmp.texi (System V contexts): Improve
1331 clarity and grammar of documentation.
1332
798212a0
PP
13332014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1334
1335 [BZ #16381]
798212a0 1336 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1337 (tests-pie): Add tst-pie2.
798212a0
PP
1338 * elf/tst-pie2.c: New file.
1339 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1340 for ET_EXEC.
1341 * elf/rtld.c (map_doit): Load executable as lt_executable.
1342 (dl_main): Likewise.
1343
abe6d90c
JM
13442014-03-12 Joseph Myers <joseph@codesourcery.com>
1345
1346 [BZ #16642]
1347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1348 (__ASSUME_PSELECT): Undefine.
1349
dd3946c6
AZ
13502014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1351
1352 [BZ #16689]
1353 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1354 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1355 static build.
1356 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1357 selector for static builds.
1358
c44496df
SP
13592014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
1361 [BZ #16695]
1362 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1363 key in the buffer.
1364
27c7220a
AZ
13652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366
1367 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1368 selector for static builds.
1369
600fa361
JM
13702014-03-11 Joseph Myers <joseph@codesourcery.com>
1371
76c96cf7
JM
1372 * sysdeps/mips/math_private.h [__mips_hard_float]
1373 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1374 libc_feresetround_mips_ctx.
1375 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1376 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1377 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1378
600fa361
JM
1379 [BZ #16677]
1380 * math/s_nextafter.c (__nextafter): Do not return value from
1381 overflowing computation.
1382 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1383 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1384 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1385 Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1387 Likewise.
1388 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1389 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1390
d7706c32
RM
13912014-03-11 Roland McGrath <roland@hack.frob.com>
1392
1393 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1394 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1395 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1396 the new mov targetting sp.
1397
4facea47
AZ
13982014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399
1400 [BZ #16683]
1401 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1402 Define it for static builds as well.
1403 (NO_BZERO_IMPL): Likewise.
1404
e65caf1f
VR
14052014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1406
1407 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1408 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1409 multiarch strspn for PPC64.
1410 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1411 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1413 (__libc_ifunc_impl_list): Likewise.
1414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1415 multiarch optimizations
1416 * string/strspn.c (strspn): Using macro to redefine symbol name.
1417
ba9cc071
AZ
14182014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1419 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1420
1421 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1422 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1423 multiarch strncat for PPC64.
1424 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1425 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1427 (__libc_ifunc_impl_list): Likewise.
1428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1429 multiarch optimizations
1430
8b4ff974
SP
14312014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1432
1433 [BZ #16639]
1434 * nscd/nscd.service: Make service type forking.
1435
54b46a4b
AZ
14362014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1437
1438 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1439 sign in non default rounding modes.
1440 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1441
e9996ef7
JM
14422014-03-08 Joseph Myers <joseph@codesourcery.com>
1443
1444 * math/libm-test.inc (ALL_RM_TEST): New macro.
1445 (ceil_test): Use ALL_RM_TEST.
1446 (cimag_test): Likewise.
1447 (conj_test): Likewise.
1448 (copysign_test): Likewise.
1449 (cproj_test): Likewise.
1450 (creal_test): Likewise.
1451 (fabs_test): Likewise.
1452 (floor_test): Likewise.
1453 (fmax_test): Likewise.
1454 (fmin_test): Likewise.
1455 (fmod_test): Likewise.
1456 (fpclassify_test): Likewise.
1457 (frexp_test): Likewise.
1458 (ilogb_test): Likewise.
1459 (isfinite_test): Likewise.
1460 (finite_test): Likewise.
1461 (isgreater_test): Likewise.
1462 (isgreaterequal_test): Likewise.
1463 (isinf_test): Likewise.
1464 (isless_test): Likewise.
1465 (islessequal_test): Likewise.
1466 (islessgreater_test): Likewise.
1467 (isnan_test): Likewise.
1468 (isnormal_test): Likewise.
1469 (issignaling_test): Likewise.
1470 (isunordered_test): Likewise.
1471 (logb_test): Likewise.
1472 (logb_downward_test_data): Remove.
1473 (logb_test_downward): Likewise.
1474 (lround_test): Use ALL_RM_TEST.
1475 (llround_test): Likewise.
1476 (modf_test): Likewise.
1477 (nexttoward_test): Likewise.
1478 (remainder_test): Likewise.
1479 (drem_test): Likewise.
1480 (remainder_tonearest_test_data): Likewise.
1481 (remainder_test_tonearest): Likewise.
1482 (drem_test_tonearest): Likewise.
1483 (remainder_towardzero_test_data): Likewise.
1484 (remainder_test_towardzero): Likewise.
1485 (drem_test_towardzero): Likewise.
1486 (remainder_downward_test_data): Likewise.
1487 (remainder_test_downward): Likewise.
1488 (drem_test_downward): Likewise.
1489 (remainder_upward_test_data): Likewise.
1490 (remainder_test_upward): Likewise.
1491 (drem_test_upward): Likewise.
1492 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1493 (round_test): Use ALL_RM_TEST.
1494 (signbit_test): Likewise.
1495 (trunc_test): Likewise.
1496 (significand_test): Likewise.
1497 (main): Don't call removed functions.
1498
bc61d27c
JM
14992014-03-07 Joseph Myers <joseph@codesourcery.com>
1500
5c780849
JM
1501 [BZ #16674]
1502 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1503 || __USE_XOPEN2K8].
1504 (ILL_ILLOPN): Likewise.
1505 (ILL_ILLADR): Likewise.
1506 (ILL_ILLTRP): Likewise.
1507 (ILL_PRVOPC): Likewise.
1508 (ILL_PRVREG): Likewise.
1509 (ILL_COPROC): Likewise.
1510 (ILL_BADSTK): Likewise.
1511 (FPE_INTDIV): Likewise.
1512 (FPE_INTOVF): Likewise.
1513 (FPE_FLTDIV): Likewise.
1514 (FPE_FLTOVF): Likewise.
1515 (FPE_FLTUND): Likewise.
1516 (FPE_FLTRES): Likewise.
1517 (FPE_FLTINV): Likewise.
1518 (FPE_FLTSUB): Likewise.
1519 (SEGV_MAPERR): Likewise.
1520 (SEGV_ACCERR): Likewise.
1521 (BUS_ADRALN): Likewise.
1522 (BUS_ADRERR): Likewise.
1523 (BUS_OBJERR): Likewise.
1524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1525 (TRAP_TRACE): Likewise.
1526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1527 __USE_XOPEN2K8].
1528 (CLD_KILLED): Likewise.
1529 (CLD_DUMPED): Likewise.
1530 (CLD_TRAPPED): Likewise.
1531 (CLD_STOPPED): Likewise.
1532 (CLD_CONTINUED): Likewise.
1533 (POLL_IN): Likewise.
1534 (POLL_OUT): Likewise.
1535 (POLL_MSG): Likewise.
1536 (POLL_ERR): Likewise.
1537 (POLL_PRI): Likewise.
1538 (POLL_HUP): Likewise.
1539 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1540 Likewise.
1541 (ILL_ILLOPN): Likewise.
1542 (ILL_ILLADR): Likewise.
1543 (ILL_ILLTRP): Likewise.
1544 (ILL_PRVOPC): Likewise.
1545 (ILL_PRVREG): Likewise.
1546 (ILL_COPROC): Likewise.
1547 (ILL_BADSTK): Likewise.
1548 (FPE_INTDIV): Likewise.
1549 (FPE_INTOVF): Likewise.
1550 (FPE_FLTDIV): Likewise.
1551 (FPE_FLTOVF): Likewise.
1552 (FPE_FLTUND): Likewise.
1553 (FPE_FLTRES): Likewise.
1554 (FPE_FLTINV): Likewise.
1555 (FPE_FLTSUB): Likewise.
1556 (SEGV_MAPERR): Likewise.
1557 (SEGV_ACCERR): Likewise.
1558 (BUS_ADRALN): Likewise.
1559 (BUS_ADRERR): Likewise.
1560 (BUS_OBJERR): Likewise.
1561 (BUS_MCEERR_AR): Likewise.
1562 (BUS_MCEERR_AO): Likewise.
1563 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1564 (TRAP_TRACE): Likewise.
1565 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1566 __USE_XOPEN2K8].
1567 (CLD_KILLED): Likewise.
1568 (CLD_DUMPED): Likewise.
1569 (CLD_TRAPPED): Likewise.
1570 (CLD_STOPPED): Likewise.
1571 (CLD_CONTINUED): Likewise.
1572 (POLL_IN): Likewise.
1573 (POLL_OUT): Likewise.
1574 (POLL_MSG): Likewise.
1575 (POLL_ERR): Likewise.
1576 (POLL_PRI): Likewise.
1577 (POLL_HUP): Likewise.
1578 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1579 (ILL_ILLOPN): Likewise.
1580 (ILL_ILLADR): Likewise.
1581 (ILL_ILLTRP): Likewise.
1582 (ILL_PRVOPC): Likewise.
1583 (ILL_PRVREG): Likewise.
1584 (ILL_COPROC): Likewise.
1585 (ILL_BADSTK): Likewise.
1586 (FPE_INTDIV): Likewise.
1587 (FPE_INTOVF): Likewise.
1588 (FPE_FLTDIV): Likewise.
1589 (FPE_FLTOVF): Likewise.
1590 (FPE_FLTUND): Likewise.
1591 (FPE_FLTRES): Likewise.
1592 (FPE_FLTINV): Likewise.
1593 (FPE_FLTSUB): Likewise.
1594 (SEGV_MAPERR): Likewise.
1595 (SEGV_ACCERR): Likewise.
1596 (BUS_ADRALN): Likewise.
1597 (BUS_ADRERR): Likewise.
1598 (BUS_OBJERR): Likewise.
1599 (BUS_MCEERR_AR): Likewise.
1600 (BUS_MCEERR_AO): Likewise.
1601 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1602 (TRAP_TRACE): Likewise.
1603 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1604 __USE_XOPEN2K8].
1605 (CLD_KILLED): Likewise.
1606 (CLD_DUMPED): Likewise.
1607 (CLD_TRAPPED): Likewise.
1608 (CLD_STOPPED): Likewise.
1609 (CLD_CONTINUED): Likewise.
1610 (POLL_IN): Likewise.
1611 (POLL_OUT): Likewise.
1612 (POLL_MSG): Likewise.
1613 (POLL_ERR): Likewise.
1614 (POLL_PRI): Likewise.
1615 (POLL_HUP): Likewise.
1616 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1617 Likewise.
1618 (ILL_ILLOPN): Likewise.
1619 (ILL_ILLADR): Likewise.
1620 (ILL_ILLTRP): Likewise.
1621 (ILL_PRVOPC): Likewise.
1622 (ILL_PRVREG): Likewise.
1623 (ILL_COPROC): Likewise.
1624 (ILL_BADSTK): Likewise.
1625 (ILL_BADIADDR): Likewise.
1626 (ILL_BREAK): Likewise.
1627 (FPE_INTDIV): Likewise.
1628 (FPE_INTOVF): Likewise.
1629 (FPE_FLTDIV): Likewise.
1630 (FPE_FLTOVF): Likewise.
1631 (FPE_FLTUND): Likewise.
1632 (FPE_FLTRES): Likewise.
1633 (FPE_FLTINV): Likewise.
1634 (FPE_FLTSUB): Likewise.
1635 (FPE_DECOVF): Likewise.
1636 (FPE_DECDIV): Likewise.
1637 (FPE_DECERR): Likewise.
1638 (FPE_INVASC): Likewise.
1639 (FPE_INVDEC): Likewise.
1640 (SEGV_MAPERR): Likewise.
1641 (SEGV_ACCERR): Likewise.
1642 (SEGV_PSTKOVF): Likewise.
1643 (BUS_ADRALN): Likewise.
1644 (BUS_ADRERR): Likewise.
1645 (BUS_OBJERR): Likewise.
1646 (BUS_MCEERR_AR): Likewise.
1647 (BUS_MCEERR_AO): Likewise.
1648 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1649 (TRAP_TRACE): Likewise.
1650 (TRAP_BRANCH): Likewise.
1651 (TRAP_HWBKPT): Likewise.
1652 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1653 __USE_XOPEN2K8].
1654 (CLD_KILLED): Likewise.
1655 (CLD_DUMPED): Likewise.
1656 (CLD_TRAPPED): Likewise.
1657 (CLD_STOPPED): Likewise.
1658 (CLD_CONTINUED): Likewise.
1659 (POLL_IN): Likewise.
1660 (POLL_OUT): Likewise.
1661 (POLL_MSG): Likewise.
1662 (POLL_ERR): Likewise.
1663 (POLL_PRI): Likewise.
1664 (POLL_HUP): Likewise.
1665 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1666 (ILL_ILLOPN): Likewise.
1667 (ILL_ILLADR): Likewise.
1668 (ILL_ILLTRP): Likewise.
1669 (ILL_PRVOPC): Likewise.
1670 (ILL_PRVREG): Likewise.
1671 (ILL_COPROC): Likewise.
1672 (ILL_BADSTK): Likewise.
1673 (FPE_INTDIV): Likewise.
1674 (FPE_INTOVF): Likewise.
1675 (FPE_FLTDIV): Likewise.
1676 (FPE_FLTOVF): Likewise.
1677 (FPE_FLTUND): Likewise.
1678 (FPE_FLTRES): Likewise.
1679 (FPE_FLTINV): Likewise.
1680 (FPE_FLTSUB): Likewise.
1681 (SEGV_MAPERR): Likewise.
1682 (SEGV_ACCERR): Likewise.
1683 (BUS_ADRALN): Likewise.
1684 (BUS_ADRERR): Likewise.
1685 (BUS_OBJERR): Likewise.
1686 (BUS_MCEERR_AR): Likewise.
1687 (BUS_MCEERR_AO): Likewise.
1688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1689 (TRAP_TRACE): Likewise.
1690 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1691 __USE_XOPEN2K8].
1692 (CLD_KILLED): Likewise.
1693 (CLD_DUMPED): Likewise.
1694 (CLD_TRAPPED): Likewise.
1695 (CLD_STOPPED): Likewise.
1696 (CLD_CONTINUED): Likewise.
1697 (POLL_IN): Likewise.
1698 (POLL_OUT): Likewise.
1699 (POLL_MSG): Likewise.
1700 (POLL_ERR): Likewise.
1701 (POLL_PRI): Likewise.
1702 (POLL_HUP): Likewise.
1703 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1704 (ILL_ILLOPN): Likewise.
1705 (ILL_ILLADR): Likewise.
1706 (ILL_ILLTRP): Likewise.
1707 (ILL_PRVOPC): Likewise.
1708 (ILL_PRVREG): Likewise.
1709 (ILL_COPROC): Likewise.
1710 (ILL_BADSTK): Likewise.
1711 (FPE_INTDIV): Likewise.
1712 (FPE_INTOVF): Likewise.
1713 (FPE_FLTDIV): Likewise.
1714 (FPE_FLTOVF): Likewise.
1715 (FPE_FLTUND): Likewise.
1716 (FPE_FLTRES): Likewise.
1717 (FPE_FLTINV): Likewise.
1718 (FPE_FLTSUB): Likewise.
1719 (SEGV_MAPERR): Likewise.
1720 (SEGV_ACCERR): Likewise.
1721 (BUS_ADRALN): Likewise.
1722 (BUS_ADRERR): Likewise.
1723 (BUS_OBJERR): Likewise.
1724 (BUS_MCEERR_AR): Likewise.
1725 (BUS_MCEERR_AO): Likewise.
1726 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1727 (TRAP_TRACE): Likewise.
1728 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1729 __USE_XOPEN2K8].
1730 (CLD_KILLED): Likewise.
1731 (CLD_DUMPED): Likewise.
1732 (CLD_TRAPPED): Likewise.
1733 (CLD_STOPPED): Likewise.
1734 (CLD_CONTINUED): Likewise.
1735 (POLL_IN): Likewise.
1736 (POLL_OUT): Likewise.
1737 (POLL_MSG): Likewise.
1738 (POLL_ERR): Likewise.
1739 (POLL_PRI): Likewise.
1740 (POLL_HUP): Likewise.
1741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1742 (ILL_ILLOPN): Likewise.
1743 (ILL_ILLADR): Likewise.
1744 (ILL_ILLTRP): Likewise.
1745 (ILL_PRVOPC): Likewise.
1746 (ILL_PRVREG): Likewise.
1747 (ILL_COPROC): Likewise.
1748 (ILL_BADSTK): Likewise.
1749 (FPE_INTDIV): Likewise.
1750 (FPE_INTOVF): Likewise.
1751 (FPE_FLTDIV): Likewise.
1752 (FPE_FLTOVF): Likewise.
1753 (FPE_FLTUND): Likewise.
1754 (FPE_FLTRES): Likewise.
1755 (FPE_FLTINV): Likewise.
1756 (FPE_FLTSUB): Likewise.
1757 (SEGV_MAPERR): Likewise.
1758 (SEGV_ACCERR): Likewise.
1759 (BUS_ADRALN): Likewise.
1760 (BUS_ADRERR): Likewise.
1761 (BUS_OBJERR): Likewise.
1762 (BUS_MCEERR_AR): Likewise.
1763 (BUS_MCEERR_AO): Likewise.
1764 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1765 (TRAP_TRACE): Likewise.
1766 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1767 __USE_XOPEN2K8].
1768 (CLD_KILLED): Likewise.
1769 (CLD_DUMPED): Likewise.
1770 (CLD_TRAPPED): Likewise.
1771 (CLD_STOPPED): Likewise.
1772 (CLD_CONTINUED): Likewise.
1773 (POLL_IN): Likewise.
1774 (POLL_OUT): Likewise.
1775 (POLL_MSG): Likewise.
1776 (POLL_ERR): Likewise.
1777 (POLL_PRI): Likewise.
1778 (POLL_HUP): Likewise.
1779 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1780 (ILL_ILLOPN): Likewise.
1781 (ILL_ILLADR): Likewise.
1782 (ILL_ILLTRP): Likewise.
1783 (ILL_PRVOPC): Likewise.
1784 (ILL_PRVREG): Likewise.
1785 (ILL_COPROC): Likewise.
1786 (ILL_BADSTK): Likewise.
1787 (ILL_DBLFLT): Likewise.
1788 (ILL_HARDWALL): Likewise.
1789 (FPE_INTDIV): Likewise.
1790 (FPE_INTOVF): Likewise.
1791 (FPE_FLTDIV): Likewise.
1792 (FPE_FLTOVF): Likewise.
1793 (FPE_FLTUND): Likewise.
1794 (FPE_FLTRES): Likewise.
1795 (FPE_FLTINV): Likewise.
1796 (FPE_FLTSUB): Likewise.
1797 (SEGV_MAPERR): Likewise.
1798 (SEGV_ACCERR): Likewise.
1799 (BUS_ADRALN): Likewise.
1800 (BUS_ADRERR): Likewise.
1801 (BUS_OBJERR): Likewise.
1802 (BUS_MCEERR_AR): Likewise.
1803 (BUS_MCEERR_AO): Likewise.
1804 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1805 (TRAP_TRACE): Likewise.
1806 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1807 __USE_XOPEN2K8].
1808 (CLD_KILLED): Likewise.
1809 (CLD_DUMPED): Likewise.
1810 (CLD_TRAPPED): Likewise.
1811 (CLD_STOPPED): Likewise.
1812 (CLD_CONTINUED): Likewise.
1813 (POLL_IN): Likewise.
1814 (POLL_OUT): Likewise.
1815 (POLL_MSG): Likewise.
1816 (POLL_ERR): Likewise.
1817 (POLL_PRI): Likewise.
1818 (POLL_HUP): Likewise.
1819 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1820 (ILL_ILLOPN): Likewise.
1821 (ILL_ILLADR): Likewise.
1822 (ILL_ILLTRP): Likewise.
1823 (ILL_PRVOPC): Likewise.
1824 (ILL_PRVREG): Likewise.
1825 (ILL_COPROC): Likewise.
1826 (ILL_BADSTK): Likewise.
1827 (FPE_INTDIV): Likewise.
1828 (FPE_INTOVF): Likewise.
1829 (FPE_FLTDIV): Likewise.
1830 (FPE_FLTOVF): Likewise.
1831 (FPE_FLTUND): Likewise.
1832 (FPE_FLTRES): Likewise.
1833 (FPE_FLTINV): Likewise.
1834 (FPE_FLTSUB): Likewise.
1835 (SEGV_MAPERR): Likewise.
1836 (SEGV_ACCERR): Likewise.
1837 (BUS_ADRALN): Likewise.
1838 (BUS_ADRERR): Likewise.
1839 (BUS_OBJERR): Likewise.
1840 (BUS_MCEERR_AR): Likewise.
1841 (BUS_MCEERR_AO): Likewise.
1842 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1843 (TRAP_TRACE): Likewise.
1844 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1845 __USE_XOPEN2K8].
1846 (CLD_KILLED): Likewise.
1847 (CLD_DUMPED): Likewise.
1848 (CLD_TRAPPED): Likewise.
1849 (CLD_STOPPED): Likewise.
1850 (CLD_CONTINUED): Likewise.
1851 (POLL_IN): Likewise.
1852 (POLL_OUT): Likewise.
1853 (POLL_MSG): Likewise.
1854 (POLL_ERR): Likewise.
1855 (POLL_PRI): Likewise.
1856 (POLL_HUP): Likewise.
1857 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1858 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1859
bc61d27c
JM
1860 [BZ #16670]
1861 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1862 before #include of <time.h>.
1863 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1864 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1865 (test-xfail-UNIX98/sched.h/conform): Likewise.
1866
302949e2
MS
18672014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1868
1869 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1870 error absence of trapping exception support.
1871 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1872
a00f522a
JM
18732014-03-07 Joseph Myers <joseph@codesourcery.com>
1874
6f99f280
JM
1875 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1876 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1877 * timezone/Makefile (testdata): Move definition above include of
1878 Rules.
1879 (test-zones): New variable.
1880 (tests-special): Add zone files.
1881 (build-testdata): Use $(evaluate-test).
1882
0b20a9e8
JM
1883 * elf/Makefile (tests-special): Rename tests to end with .out.
1884 ($(objpfx)noload-mem): Likewise.
1885 ($(objpfx)tst-leaks1-mem): Likewise.
1886 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1887 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1888 $(objpfx)test-iconvconfig.out.
1889 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1890 set -e inside subshell and redirect output to file.
1891 * iconvdata/Makefile (generated): Rename tests to end with .out.
1892 Correct type.
1893 (tests-special): Rename tests to end with .out.
1894 ($(objpfx)mtrace-tst-loading): Likewise.
1895 * intl/Makefile (generated): Likewise.
1896 (tests-special): Likewise.
1897 ($(objpfx)mtrace-tst-gettext): Likewise.
1898 * misc/Makefile (generated): Likewise.
1899 (tests-special): Likewise.
1900 ($(objpfx)tst-error1-mem): Likewise.
1901 * nptl/Makefile (tests-special): Likewise.
1902 ($(objpfx)tst-stack3-mem): Likewise.
1903 (generated): Likewise.
1904 * posix/Makefile (generated): Likewise.
1905 (tests-special): Likewise.
1906 (xtests-special): Likewise.
1907 ($(objpfx)tst-fnmatch-mem): Likewise.
1908 ($(objpfx)bug-regex2-mem): Likewise.
1909 ($(objpfx)bug-regex14-mem): Likewise.
1910 ($(objpfx)bug-regex21-mem): Likewise.
1911 ($(objpfx)bug-regex31-mem): Likewise.
1912 ($(objpfx)tst-vfork3-mem): Likewise.
1913 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1914 ($(objpfx)tst-pcre-mem): Likewise.
1915 ($(objpfx)tst-boost-mem): Likewise.
1916 ($(objpfx)bug-ga2-mem): Likewise.
1917 ($(objpfx)bug-glob2-mem): Likewise.
1918 * resolv/Makefile (generate): Likewise.
1919 (tests-special): Likewise.
1920 (xtests-special): Likewise.
1921 (generated): Likewise.
1922 ($(objpfx)mtrace-tst-leaks): Likewise.
1923 ($(objpfx)mtrace-tst-leaks2): Likewise.
1924
265d52ab
JM
1925 * scripts/merge-test-results.sh: New file.
1926 * Makefile (tests-special-notdir): New variable.
1927 (tests): Run merge-test-results.sh.
1928 (xtests): Likewise.
1929 * Rules (tests-special-notdir): New variable.
1930 (xtests-special-notdir): Likewise.
1931 (tests): Run merge-test-results.sh
1932 (xtests): Likewise.
1933
54ee292d
JM
1934 * Makeconfig (test-xfail-name): New variable.
1935 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1936 compute variable name for expected failures.
1937 * conform/Makefile (conformtest-headers-data): New variable.
1938 (conformtest-standards): Likewise.
1939 (conformtest-headers-ISO): Likewise.
1940 (conformtest-headers-ISO99): Likewise.
1941 (conformtest-headers-ISO11): Likewise.
1942 (conformtest-headers-POSIX): Likewise.
1943 (conformtest-headers-XPG3): Likewise.
1944 (conformtest-headers-XPG4): Likewise.
1945 (conformtest-headers-UNIX98): Likewise.
1946 (conformtest-headers-XOPEN2K): Likewise.
1947 (conformtest-headers-POSIX2008): Likewise.
1948 (conformtest-headers-XOPEN2K8): Likewise.
1949 (conformtest-header-list-base): Likewise.
1950 (conformtest-header-list-tests): Likewise.
1951 (conformtest-header-base): Likewise.
1952 (conformtest-header-tests): Likewise.
1953 (tests-special): Add $(conformtest-header-list-tests). If
1954 [$(fast-check) && !$(cross-compiling)], add
1955 $(conformtest-header-tests) instead of
1956 $(objpfx)run-conformtest.out.
1957 (generated): Add $(conformtest-header-list-base). If
1958 [$(fast-check) && !$(cross-compiling)], add
1959 $(conformtest-header-base). Remove previous setting.
1960 ($(conformtest-header-list-tests)): New target.
1961 (test-xfail-run-conformtest): Remove variable.
1962 ($(objpfx)run-conformtest.out): Remove target.
1963 (test-xfail-ISO11/complex.h/conform): New variable.
1964 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1965 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1966 (test-xfail-XPG3/varargs.h/conform): Likewise.
1967 (test-xfail-XPG4/varargs.h/conform): Likewise.
1968 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1969 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1970 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1971 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1972 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1973 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1974 (test-xfail-XPG3/ftw.h/conform): Likewise.
1975 (test-xfail-XPG3/grp.h/conform): Likewise.
1976 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1977 (test-xfail-XPG3/limits.h/conform): Likewise.
1978 (test-xfail-XPG3/pwd.h/conform): Likewise.
1979 (test-xfail-XPG3/search.h/conform): Likewise.
1980 (test-xfail-XPG3/signal.h/conform): Likewise.
1981 (test-xfail-XPG3/stdio.h/conform): Likewise.
1982 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1983 (test-xfail-XPG3/string.h/conform): Likewise.
1984 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1985 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1986 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1987 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1988 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1989 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1990 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1991 (test-xfail-XPG3/termios.h/conform): Likewise.
1992 (test-xfail-XPG3/time.h/conform): Likewise.
1993 (test-xfail-XPG3/unistd.h/conform): Likewise.
1994 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1995 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1996 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1997 (test-xfail-XPG4/netdb.h/conform): Likewise.
1998 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1999 (test-xfail-XPG4/signal.h/conform): Likewise.
2000 (test-xfail-XPG4/stdio.h/conform): Likewise.
2001 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2002 (test-xfail-XPG4/stropts.h/conform): Likewise.
2003 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2004 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2005 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2006 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2007 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2008 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2009 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2010 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2011 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2012 (test-xfail-XPG4/termios.h/conform): Likewise.
2013 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2014 (test-xfail-XPG4/unistd.h/conform): Likewise.
2015 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2016 (test-xfail-POSIX/sched.h/conform): Likewise.
2017 (test-xfail-POSIX/signal.h/conform): Likewise.
2018 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2019 (test-xfail-POSIX/tar.h/conform): Likewise.
2020 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2021 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2022 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2023 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2024 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2025 (test-xfail-UNIX98/sched.h/conform): Likewise.
2026 (test-xfail-UNIX98/signal.h/conform): Likewise.
2027 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2028 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2029 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2030 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2031 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2032 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2033 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2034 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2035 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2036 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2037 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2038 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2039 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2040 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2041 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2042 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2043 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2044 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2045 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2046 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2047 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2048 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2049 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2050 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2051 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2052 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2053 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2054 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2055 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2056 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2057 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2058 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2059 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2060 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2061 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2062 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2063 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2064 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2065 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2066 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2067 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2068 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2069 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2070 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2071 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2072 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2073 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2074 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2075 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2076 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2077 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2078 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2079 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2080 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2081 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2082 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2083 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2084 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2085 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2086 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2087 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2088 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2089 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2090 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2091 (conformtest-cc-flags): Likewise.
2092 ($(conformtest-header-tests): New target.
2093 * conform/check-header-lists.sh: New file.
2094 * conform/run-conformtest.sh: Remove.
2095
a00f522a
JM
2096 * conform/conformtest.pl: Allow ' and \ in values given for
2097 constants.
2098 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2099 inclusion.
2100 [POSIX] (sys/types.h): Likewise.
2101 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2102 inclusion.
2103 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2104 inclusion.
2105 * conform/data/signal.h-data (SIGIO): Remove expectation.
2106 [XPG3] (SIGBUS): Do not expect.
2107 [POSIX || XPG3] (SIGPOLL): Likewise.
2108 [POSIX || XPG3] (SIGPROF): Likewise.
2109 [POSIX || XPG3] (SIGSYS): Likewise.
2110 [XPG3] (SIGTRAP): Likewise.
2111 [POSIX || XPG3] (SIGURG): Likewise.
2112 [POSIX || XPG3] (SIGVTALRM): Likewise.
2113 [POSIX || XPG3] (SIGXCPU): Likewise.
2114 [POSIX || XPG3] (SIGXFSZ): Likewise.
2115 [POSIX] (SA_SIGINFO): Expect.
2116 [XPG3] (siginfo_t): Do not expect type or contents.
2117 [POSIX] (si_pid): Do not expect element.
2118 [POSIX] (si_uid): Likewise.
2119 [POSIX] (si_addr): Likewise.
2120 [POSIX] (si_status): Likewise.
2121 [POSIX] (si_band): Likewise.
2122 [XPG4] (si_value): Likewise.
2123 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2124 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2125 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2126 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2127 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2128 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2129 [POSIX || XPG3] (ILL_COPROC): Likewise.
2130 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2131 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2132 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2133 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2134 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2135 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2136 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2137 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2138 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2139 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2140 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2141 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2142 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2143 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2144 [POSIX || XPG3] (CLD_EXITED): Likewise.
2145 [POSIX || XPG3] (CLD_KILLED): Likewise.
2146 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2147 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2148 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2149 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2150 [POSIX || XPG3] (POLL_IN): Likewise.
2151 [POSIX || XPG3] (POLL_OUT): Likewise.
2152 [POSIX || XPG3] (POLL_MSG): Likewise.
2153 [POSIX || XPG3] (POLL_ERR): Likewise.
2154 [POSIX || XPG3] (POLL_PRI): Likewise.
2155 [POSIX || XPG3] (POLL_HUP): Likewise.
2156 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2157 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2158 (SIG*): Do not allow.
2159 [XPG3] (si_*): Likewise.
2160 [XPG3] (SI_*): Likewise.
2161 [XPG3 || XPG4] (sigev_*): Likewise.
2162 [XPG3 || XPG4] (SIGEV_*): Likewise.
2163 [XPG3 || XPG4] (sival_*): Likewise.
2164 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2165 [POSIX || XPG3] (BUS_*): Likewise.
2166 [POSIX || XPG3] (CLD_*): Likewise.
2167 [POSIX || XPG3] (FPE_*): Likewise.
2168 [POSIX || XPG3] (ILL_*): Likewise.
2169 [POSIX || XPG3] (POLL_*): Likewise.
2170 [POSIX || XPG3] (SEGV_*): Likewise.
2171 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2172 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2173 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2174 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2175 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2176 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2177 Specify type and value.
2178 (TVERSLEN): Likewise.
2179 (REGTYPE): Likewise.
2180 (AREGTYPE): Likewise.
2181 (LNKTYPE): Likewise.
2182 (SYMTYPE): Likewise.
2183 (CHRTYPE): Likewise.
2184 (BLKTYPE): Likewise.
2185 (DIRTYPE): Likewise.
2186 (FIFOTYPE): Likewise.
2187 (CONTTYPE): Likewise.
2188 (TSUID): Likewise.
2189 (TSGID): Likewise.
2190 (TSVTX): Likewise.
2191 (TUREAD): Likewise.
2192 (TUWRITE): Likewise.
2193 (TUEXEC): Likewise.
2194 (TGREAD): Likewise.
2195 (TGWRITE): Likewise.
2196 (TGEXEC): Likewise.
2197 (TOREAD): Likewise.
2198 (TOWRITE): Likewise.
2199 (TOEXEC): Likewise.
2200 [POSIX] (TSVTX): Expect constant.
2201
aa97dee1
JM
22022014-03-06 Joseph Myers <joseph@codesourcery.com>
2203
f214606a
JM
2204 * Makefile (tests): Change dependencies to ....
2205 (tests-special): ... additions to this variable.
2206 (tests): Depend on $(tests-special).
2207 * Makerules (check-abi-list): New variable.
2208 (check-abi): Depend on $(check-abi-list).
2209 [$(subdir) = elf] (tests-special): Add
2210 $(objpfx)check-abi-libc.out.
2211 [$(build-shared) = yes && subdir] (tests-special): Add
2212 $(check-abi-list).
2213 [$(build-shared) = yes && subdir] (tests): Do not depend on
2214 check-abi.
2215 * Rules (tests): Depend on $(tests-special).
2216 (xtests): Depend on $(xtests-special).
2217 * catgets/Makefile (tests): Change dependencies to ....
2218 (tests-special): ... additions to this variable.
2219 * conform/Makefile (tests): Change dependencies to ....
2220 (tests-special): ... additions to this variable.
2221 * elf/Makefile (tests): Change dependencies to ....
2222 (tests-special): ... additions to this variable.
2223 * grp/Makefile (tests): Change dependencies to ....
2224 (tests-special): ... additions to this variable.
2225 * iconv/Makefile (xtests): Change dependencies to ....
2226 (xtests-special): ... additions to this variable.
2227 * iconvdata/Makefile (tests): Change dependencies to ....
2228 (tests-special): ... additions to this variable.
2229 * intl/Makefile (tests): Change dependencies to ....
2230 (tests-special): ... additions to this variable. Also add
2231 $(objpfx)tst-gettext.out.
2232 * io/Makefile (tests): Change dependencies to ....
2233 (tests-special): ... additions to this variable.
2234 * libio/Makefile (tests): Change dependencies to ....
2235 (tests-special): ... additions to this variable.
2236 * malloc/Makefile (tests): Change dependencies to ....
2237 (tests-special): ... additions to this variable.
2238 * misc/Makefile (tests): Change dependencies to ....
2239 (tests-special): ... additions to this variable.
2240 * nptl/Makefile (tests): Change dependencies to ....
2241 (tests-special): ... additions to this variable.
2242 * nptl_db/Makefile (tests): Change dependencies to ....
2243 (tests-special): ... additions to this variable.
2244 * posix/Makefile (tests): Change dependencies to ....
2245 (tests-special): ... additions to this variable.
2246 (xtests): Change dependencies to ....
2247 (xtests-special): ... additions to this variable.
2248 * resolv/Makefile (tests): Change dependencies to ....
2249 (tests-special): ... additions to this variable.
2250 (xtests): Change dependencies to ....
2251 (xtests-special): ... additions to this variable.
2252 * stdio-common/Makefile (tests): Change dependencies to ....
2253 (tests-special): ... additions to this variable.
2254 (do-tst-unbputc): Remove target.
2255 (do-tst-printf): Likewise.
2256 * stdlib/Makefile (tests): Change dependencies to ....
2257 (tests-special): ... additions to this variable.
2258 * string/Makefile (tests): Change dependencies to ....
2259 (tests-special): ... additions to this variable.
2260 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2261 (tests-special): ... additions to this variable.
2262
81700b53
JM
2263 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2264 whole file.
2265 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2266 whole file.
2267 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2268 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2269
2ea18461
JM
2270 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2271 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2272 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2273 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2274 * conform/data/libgen.h-data [XPG3]: Likewise.
2275 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2276 * conform/data/ndbm.h-data [XPG3]: Likewise.
2277 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2278 * conform/data/netdb.h-data [XPG3]: Likewise.
2279 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2280 * conform/data/poll.h-data [XPG3]: Likewise.
2281 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2282 * conform/data/strings.h-data [XPG3]: Likewise.
2283 * conform/data/stropts.h-data [XPG3]: Likewise.
2284 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2285 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2286 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2287 Likewise.
2288 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2289 * conform/data/sys/time.h-data [XPG3]: Likewise.
2290 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2291 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2292 * conform/data/sys/un.h-data [XPG3]: Likewise.
2293 * conform/data/syslog.h-data [XPG3]: Likewise.
2294 * conform/data/ucontext.h-data [XPG3]: Likewise.
2295 * conform/data/utmpx.h-data [XPG3]: Likewise.
2296 * conform/data/varargs.h-data [UNIX98]: Enable file.
2297
355bc986
JM
2298 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2299
215db402
JM
2300 * math/libm-test.inc (struct test_f_f_data): Move expected results
2301 into structure for each rounding mode.
2302 (struct test_ff_f_data): Likewise.
2303 (struct test_ff_f_data_nexttoward): Likewise.
2304 (struct test_fi_f_data): Likewise.
2305 (struct test_fl_f_data): Likewise.
2306 (struct test_if_f_data): Likewise.
2307 (struct test_fff_f_data): Likewise.
2308 (struct test_c_f_data): Likewise.
2309 (struct test_f_f1_data): Likewise.
2310 (struct test_fF_f1_data): Likewise.
2311 (struct test_ffI_f1_data): Likewise.
2312 (struct test_c_c_data): Likewise.
2313 (struct test_cc_c_data): Likewise.
2314 (struct test_f_i_data): Likewise.
2315 (struct test_ff_i_data): Likewise.
2316 (struct test_f_l_data): Likewise.
2317 (struct test_f_L_data): Likewise.
2318 (struct test_fFF_11_data): Likewise.
2319 (RM_): New macro.
2320 (RM_FE_DOWNWARD): Likewise.
2321 (RM_FE_TONEAREST): Likewise.
2322 (RM_FE_TOWARDZERO): Likewise.
2323 (RM_FE_UPWARD): Likewise.
2324 (RUN_TEST_LOOP_f_f): Update references to expected results.
2325 (RUN_TEST_LOOP_2_f): Likewise.
2326 (RUN_TEST_LOOP_fff_f): Likewise.
2327 (RUN_TEST_LOOP_c_f): Likewise.
2328 (RUN_TEST_LOOP_f_f1): Likewise.
2329 (RUN_TEST_LOOP_fF_f1): Likewise.
2330 (RUN_TEST_LOOP_fI_f1): Likewise.
2331 (RUN_TEST_LOOP_ffI_f1): Likewise.
2332 (RUN_TEST_LOOP_c_c): Likewise.
2333 (RUN_TEST_LOOP_cc_c): Likewise.
2334 (RUN_TEST_LOOP_f_i): Likewise.
2335 (RUN_TEST_LOOP_f_i_tg): Likewise.
2336 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2337 (RUN_TEST_LOOP_f_b): Likewise.
2338 (RUN_TEST_LOOP_f_b_tg): Likewise.
2339 (RUN_TEST_LOOP_f_l): Likewise.
2340 (RUN_TEST_LOOP_f_L): Likewise.
2341 (RUN_TEST_LOOP_fFF_11): Likewise.
2342 * math/gen-libm-test.pl (parse_args): Output four copies of
2343 expected results for each test.
2344
67737b8f
JM
2345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2346 (__ASSUME_UTIMES): Remove.
2347 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2348 (__ASSUME_UTIMES): Likewise.
2349
aa97dee1
JM
2350 * math/gen-auto-libm-tests.c: Update comment on output format.
2351 (output_for_one_input_case): Generate before-rounding and
2352 after-rounding information as conditions on output flags not
2353 floating-point format.
2354 * math/auto-libm-test-out: Regenerated.
2355 * math/gen-libm-test.pl (cond_value): New function.
2356 (or_cond_value): Use cond_value.
2357 (generate_testfile): Handle conditional exceptions.
2358
e6b6a857
JM
23592014-03-05 Joseph Myers <joseph@codesourcery.com>
2360
2f0a0f44
JM
2361 * math/libm-test.inc (max_valid_error): New variable.
2362 (init_max_error): Take new argument specifying whether function
2363 results are exactly determined. Set max_valid_error and bound
2364 other variables for errors based on this argument.
2365 (set_max_error): Do not record results above max_valid_error.
2366 (check_float_internal): Only accept errors of up to 0.5ulps if
2367 also at most max_valid_error.
2368 (START): Take new argument EXACT and pass it to init_max_error.
2369 (acos_test): Update call to START.
2370 (acos_test_tonearest): Likewise.
2371 (acos_test_towardzero): Likewise.
2372 (acos_test_downward): Likewise.
2373 (acos_test_upward): Likewise.
2374 (acosh_test): Likewise.
2375 (asin_test): Likewise.
2376 (asin_test_tonearest): Likewise.
2377 (asin_test_towardzero): Likewise.
2378 (asin_test_downward): Likewise.
2379 (asin_test_upward): Likewise.
2380 (asinh_test): Likewise.
2381 (atan_test): Likewise.
2382 (atanh_test): Likewise.
2383 (atan2_test): Likewise.
2384 (cabs_test): Likewise.
2385 (cacos_test): Likewise.
2386 (cacosh_test): Likewise.
2387 (carg_test): Likewise.
2388 (casin_test): Likewise.
2389 (casinh_test): Likewise.
2390 (catan_test): Likewise.
2391 (catanh_test): Likewise.
2392 (cbrt_test): Likewise.
2393 (ccos_test): Likewise.
2394 (ccosh_test): Likewise.
2395 (ceil_test): Likewise.
2396 (cexp_test): Likewise.
2397 (cimag_test): Likewise.
2398 (clog_test): Likewise.
2399 (clog10_test): Likewise.
2400 (conj_test): Likewise.
2401 (copysign_test): Likewise.
2402 (cos_test): Likewise.
2403 (cos_test_tonearest): Likewise.
2404 (cos_test_towardzero): Likewise.
2405 (cos_test_downward): Likewise.
2406 (cos_test_upward): Likewise.
2407 (cosh_test): Likewise.
2408 (cosh_test_tonearest): Likewise.
2409 (cosh_test_towardzero): Likewise.
2410 (cosh_test_downward): Likewise.
2411 (cosh_test_upward): Likewise.
2412 (cpow_test): Likewise.
2413 (cproj_test): Likewise.
2414 (creal_test): Likewise.
2415 (csin_test): Likewise.
2416 (csinh_test): Likewise.
2417 (csqrt_test): Likewise.
2418 (ctan_test): Likewise.
2419 (ctan_test_tonearest): Likewise.
2420 (ctan_test_towardzero): Likewise.
2421 (ctan_test_downward): Likewise.
2422 (ctan_test_upward): Likewise.
2423 (ctanh_test): Likewise.
2424 (ctanh_test_tonearest): Likewise.
2425 (ctanh_test_towardzero): Likewise.
2426 (ctanh_test_downward): Likewise.
2427 (ctanh_test_upward): Likewise.
2428 (erf_test): Likewise.
2429 (erfc_test): Likewise.
2430 (exp_test): Likewise.
2431 (exp_test_tonearest): Likewise.
2432 (exp_test_towardzero): Likewise.
2433 (exp_test_downward): Likewise.
2434 (exp_test_upward): Likewise.
2435 (exp10_test): Likewise.
2436 (exp10_test_tonearest): Likewise.
2437 (exp10_test_towardzero): Likewise.
2438 (exp10_test_downward): Likewise.
2439 (exp10_test_upward): Likewise.
2440 (pow10_test): Likewise.
2441 (exp2_test): Likewise.
2442 (expm1_test): Likewise.
2443 (expm1_test_tonearest): Likewise.
2444 (expm1_test_towardzero): Likewise.
2445 (expm1_test_downward): Likewise.
2446 (expm1_test_upward): Likewise.
2447 (fabs_test): Likewise.
2448 (fdim_test): Likewise.
2449 (floor_test): Likewise.
2450 (fma_test): Likewise.
2451 (fma_test_towardzero): Likewise.
2452 (fma_test_downward): Likewise.
2453 (fma_test_upward): Likewise.
2454 (fmax_test): Likewise.
2455 (fmin_test): Likewise.
2456 (fmod_test): Likewise.
2457 (fpclassify_test): Likewise.
2458 (frexp_test): Likewise.
2459 (hypot_test): Likewise.
2460 (ilogb_test): Likewise.
2461 (isfinite_test): Likewise.
2462 (finite_test): Likewise.
2463 (isgreater_test): Likewise.
2464 (isgreaterequal_test): Likewise.
2465 (isinf_test): Likewise.
2466 (isless_test): Likewise.
2467 (islessequal_test): Likewise.
2468 (islessgreater_test): Likewise.
2469 (isnan_test): Likewise.
2470 (isnormal_test): Likewise.
2471 (issignaling_test): Likewise.
2472 (isunordered_test): Likewise.
2473 (j0_test): Likewise.
2474 (j1_test): Likewise.
2475 (jn_test): Likewise.
2476 (ldexp_test): Likewise.
2477 (lgamma_test): Likewise.
2478 (gamma_test): Likewise.
2479 (lrint_test): Likewise.
2480 (lrint_test_tonearest): Likewise.
2481 (lrint_test_towardzero): Likewise.
2482 (lrint_test_downward): Likewise.
2483 (lrint_test_upward): Likewise.
2484 (llrint_test): Likewise.
2485 (llrint_test_tonearest): Likewise.
2486 (llrint_test_towardzero): Likewise.
2487 (llrint_test_downward): Likewise.
2488 (llrint_test_upward): Likewise.
2489 (log_test): Likewise.
2490 (log10_test): Likewise.
2491 (log1p_test): Likewise.
2492 (log2_test): Likewise.
2493 (logb_test): Likewise.
2494 (logb_test_downward): Likewise.
2495 (lround_test): Likewise.
2496 (llround_test): Likewise.
2497 (modf_test): Likewise.
2498 (nearbyint_test): Likewise.
2499 (nextafter_test): Likewise.
2500 (nexttoward_test): Likewise.
2501 (pow_test): Likewise.
2502 (pow_test_tonearest): Likewise.
2503 (pow_test_towardzero): Likewise.
2504 (pow_test_downward): Likewise.
2505 (pow_test_upward): Likewise.
2506 (remainder_test): Likewise.
2507 (drem_test): Likewise.
2508 (remainder_test_tonearest): Likewise.
2509 (drem_test_tonearest): Likewise.
2510 (remainder_test_towardzero): Likewise.
2511 (drem_test_towardzero): Likewise.
2512 (remainder_test_downward): Likewise.
2513 (drem_test_downward): Likewise.
2514 (remainder_test_upward): Likewise.
2515 (drem_test_upward): Likewise.
2516 (remquo_test): Likewise.
2517 (rint_test): Likewise.
2518 (rint_test_tonearest): Likewise.
2519 (rint_test_towardzero): Likewise.
2520 (rint_test_downward): Likewise.
2521 (rint_test_upward): Likewise.
2522 (round_test): Likewise.
2523 (scalb_test): Likewise.
2524 (scalbn_test): Likewise.
2525 (scalbln_test): Likewise.
2526 (signbit_test): Likewise.
2527 (sin_test): Likewise.
2528 (sin_test_tonearest): Likewise.
2529 (sin_test_towardzero): Likewise.
2530 (sin_test_downward): Likewise.
2531 (sin_test_upward): Likewise.
2532 (sincos_test): Likewise.
2533 (sinh_test): Likewise.
2534 (sinh_test_tonearest): Likewise.
2535 (sinh_test_towardzero): Likewise.
2536 (sinh_test_downward): Likewise.
2537 (sinh_test_upward): Likewise.
2538 (sqrt_test): Likewise.
2539 (sqrt_test_tonearest): Likewise.
2540 (sqrt_test_towardzero): Likewise.
2541 (sqrt_test_downward): Likewise.
2542 (sqrt_test_upward): Likewise.
2543 (tan_test): Likewise.
2544 (tan_test_tonearest): Likewise.
2545 (tan_test_towardzero): Likewise.
2546 (tan_test_downward): Likewise.
2547 (tan_test_upward): Likewise.
2548 (tanh_test): Likewise.
2549 (tgamma_test): Likewise.
2550 (trunc_test): Likewise.
2551 (y0_test): Likewise.
2552 (y1_test): Likewise.
2553 (yn_test): Likewise.
2554 (significand_test): Likewise.
2555
e6b6a857
JM
2556 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2557 individual tests in comment.
2558 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2559 (prev_max_error): New variable.
2560 (prev_real_max_error): Likewise.
2561 (prev_imag_max_error): Likewise.
2562 (compare_ulp_data): Don't refer to test names in comment.
2563 (find_test_ulps): Remove function.
2564 (find_function_ulps): Likewise.
2565 (find_complex_function_ulps): Likewise.
2566 (init_max_error): Take function name as argument. Look up ulps
2567 for that function.
2568 (print_ulps): Remove function.
2569 (print_max_error): Use prev_max_error instead of calling
2570 find_function_ulps.
2571 (print_complex_max_error): Use prev_real_max_error and
2572 prev_imag_max_error instead of calling find_complex_function_ulps.
2573 (check_float_internal): Take max_ulp parameter instead of calling
2574 find_test_ulps. Don't call print_ulps.
2575 (check_float): Update call to check_float_internal.
2576 (check_complex): Update calls to check_float_internal.
2577 (START): Pass argument to init_max_error.
2578 * math/gen-libm-test.pl (%results): Don't include "kind"
2579 information.
2580 (parse_ulps): Don't handle ulps of individual tests.
2581 (print_ulps_file): Likewise.
2582 (output_ulps): Likewise.
2583 * math/README.libm-test: Update.
2584 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2585 individual tests.
2586 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2587 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2588 * sysdeps/arm/libm-test-ulps: Likewise.
2589 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2590 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2591 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2592 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2593 * sysdeps/microblaze/libm-test-ulps: Likewise.
2594 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2595 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2597 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2598 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2599 * sysdeps/sh/libm-test-ulps: Likewise.
2600 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2601 * sysdeps/tile/libm-test-ulps: Likewise.
2602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2603
45adef3c
JM
26042014-03-04 Joseph Myers <joseph@codesourcery.com>
2605
2606 * math/libm-test.inc (print_complex_max_error): Check separately
2607 whether real and imaginary errors are within allowed range and
2608 pass 0 to print_complex_function_ulps instead of value within
2609 allowed range.
2610
000232b9
SP
26112014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2612
d4b17258
SP
2613 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2614 formatting.
2615 (get_handles_fopen): Likewise.
2616 (do_write_test): Likewise.
2617
091eff71
SP
2618 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2619
fa3cd248
SP
2620 * libio/fileops.c (do_ftell): Use cached offset when
2621 available.
2622 * libio/iofwide.c (do_ftell_wide): Likewise.
2623 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2624 _IO_file_attach.
2625 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2626
000232b9
SP
2627 [BZ #16532]
2628 * libio/libioP.h (get_file_offset): New function.
2629 * libio/fileops.c (get_file_offset): Likewise.
2630 (do_ftell): Likewise.
2631 (_IO_new_file_seekoff): Split out ftell logic.
2632 * libio/wfileops.c (do_ftell_wide): Likewise.
2633 (_IO_wfile_seekoff): Split out ftell logic.
2634 * libio/tst-ftell-active-handler.c: New test case.
2635 * libio/Makefile (tests): Add it.
2636
116f4d1a
RM
26372014-03-03 Roland McGrath <roland@hack.frob.com>
2638
2639 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2640 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2641
532a6035
SP
26422014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2643
2644 [BZ #16639]
2645 * nscd/connections.c (nscd_init): Call do_exit.
2646 (start_threads): Call do_exit and notify_parent.
2647 (begin_drop_privileges): Call do_exit.
2648 (finish_drop_privileges): Likewise.
2649 * nscd/selinux.c (preserve_capabilities): Likewise.
2650 (install_real_capabilities): Likewise.
2651 (nscd_selinux_enabled): Likewise.
2652 (avc_create_thread): Likewise.
2653 (avc_alloc_lock): Likewise.
2654 (nscd_avc_init): Likewise.
2655 * nscd/nscd.c (parent_fd): New static variable.
2656 (main): Create a pipe between parent and child processes.
2657 Skip closing parent_fd.
2658 (monitor_child): New function.
2659 (do_exit): Likewise.
2660 (notify_parent): Likewise.
2661 * nscd/nscd.h (notify_parent): Likewise.
2662 (do_exit): Likewise.
2663
d6285c9f
CD
26642014-03-03 Carlos O'Donell <carlos@redhat.com>
2665
2666 * malloc/malloc.c (__libc_calloc): Revert last change.
2667
2b85d2a0
AZ
26682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2669
2670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2671
c7debbdf
RS
26722014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2673
2674 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2676 implementation.
2677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2678 (__libc_ifunc_impl_list): Likewise.
2679 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2680 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2681 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2682 * string/strrchr.c: Define STRRCHR.
2683
235eed86
OB
26842014-02-28 Ondřej Bílka <neleai@seznam.cz>
2685
2686 * benchtest/bench-strtok.c (simple_strtok): Delete.
2687 (strtok_string): Use as benchmark.
2688 * string/strtok (STRTOK): New macro.
2689
8e25d1e7
CD
26902014-02-28 Carlos O'Donell <carlos@redhat.com>
2691
ef563f92
CD
2692 * manual/threads.texi: Add header and standard comments to all
2693 functions.
2694
8e25d1e7
CD
2695 * elf/dl-lookup.c (check_match): New function.
2696 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2697 (do_lookup_x): Remove nested function check_match. Use non-nested
2698 function check_match.
2699
ff71cc37
RM
27002014-02-28 Roland McGrath <roland@hack.frob.com>
2701
f08e9a26
RM
2702 * csu/Makefile (generated, before-compile): Use += rather than =.
2703 * catgets/Makefile (generated, generated-dirs): Likewise.
2704 * debug/Makefile (generated): Likewise.
2705 * dlfcn/Makefile (generated): Likewise.
2706 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2707 * iconvdata/Makefile (before-compile, generated): Likewise.
2708 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2709 * libio/Makefile (generated): Likewise.
2710 * malloc/Makefile (generated): Likewise.
2711 * manual/Makefile (generated, generated-dirs): Likewise.
2712 * misc/Makefile (generated): Likewise.
2713 * posix/Makefile (generated): Likewise.
2714 * resolv/Makefile (generated): Likewise.
2715 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2716 * timezone/Makefile (generated, generated-dirs): Likewise.
2717
ff71cc37
RM
2718 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2719
fe13a20c
AZ
27202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2721
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2723 implementation.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2725 POWER8 llround ifunc implementation.
2726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2727 POWER8 implementation.
2728 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2729 POWER8 llround implementation.
2730
1ad8950a
AZ
27312014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2732
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2734 implementation.
2735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2736 POWER8 llrint ifunc implementation.
2737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2738 POWER8 implementation.
2739 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2740 POWER8 llrint implementation.
2741
cac626d6
AZ
27422014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743
2744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2745 implementation.
2746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2747 POWER8 finite ifunc implementation.
2748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2749 POWER8 implementation.
2750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2751 Likewise.
2752 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2753 POWER8 finite implementation.
2754 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2755
4393fc11
AZ
27562014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2757
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2759 implementation.
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2761 POWER8 isinf ifunc implementation.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2763 POWER8 implementation.
2764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2765 Likewise.
2766 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2767 POWER8 isinf implementation.
2768 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2769
487972ae
AZ
27702014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2771
2772 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2773 Add hwcap2 initialization.
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2775 implementation.
2776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2777 POWER8 isnan ifunc implementation.
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2779 POWER8 implementation.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2781 Likewise.
2782 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2783 POWER8 isnan implementation.
2784 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2785
7d92b787
JY
27862014-02-27 Joey Ye <joey.ye@arm.com>
2787
2788 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2789 (_FP_NANFRAC_Q): Set to zero.
2790
1cadc858
SP
27912014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2792
2793 [BZ #16623]
2794 * math/auto-libm-test-in: New test inputs.
2795 * math/auto-libm-test-out: Regenerate.
2796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2797 and DA.
2798 (__cos): Likewise.
2799 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2800
f8c17e79
JM
28012014-02-27 Joseph Myers <joseph@codesourcery.com>
2802
2803 * scripts/evaluate-test.sh: Take new argument indicating whether
2804 failure is expected.
2805 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2806 indicating whether failure is expected.
2807 * conform/Makefile (test-xfail-run-conformtest): New variable.
2808 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2809 level.
2810 * posix/Makefile (test-xfail-annexc): New variable.
2811 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2812
a5f891ac
JM
28132014-02-26 Joseph Myers <joseph@codesourcery.com>
2814
2815 * argp/Makefile: Include Makeconfig immediately after defining
2816 subdir.
2817 * assert/Makefile: Likewise.
2818 * benchtests/Makefile: Likewise.
2819 * catgets/Makefile: Likewise.
2820 * conform/Makefile: Likewise.
2821 * crypt/Makefile: Likewise.
2822 * csu/Makefile: Likewise.
2823 (all): Remove target.
2824 * ctype/Makefile: Include Makeconfig immediately after defining
2825 subdir.
2826 * debug/Makefile: Likewise.
2827 * dirent/Makefile: Likewise.
2828 * dlfcn/Makefile: Likewise.
2829 * gmon/Makefile: Likewise.
2830 * gnulib/Makefile: Likewise.
2831 * grp/Makefile: Likewise.
2832 * gshadow/Makefile: Likewise.
2833 * hesiod/Makefile: Likewise.
2834 * hurd/Makefile: Likewise.
2835 (all): Remove target.
2836 * iconvdata/Makefile: Include Makeconfig immediately after
2837 defining subdir.
2838 * inet/Makefile: Likewise.
2839 * intl/Makefile: Likewise.
2840 * io/Makefile: Likewise.
2841 * libio/Makefile: Likewise.
2842 (all): Remove target.
2843 * locale/Makefile: Include Makeconfig immediately after defining
2844 subdir.
2845 * login/Makefile: Likewise.
2846 * mach/Makefile: Likewise.
2847 (all): Remove target.
2848 * malloc/Makefile: Include Makeconfig immediately after defining
2849 subdir.
2850 (all): Remove target.
2851 * manual/Makefile: Include Makeconfig immediately after defining
2852 subdir.
2853 * math/Makefile: Likewise.
2854 * misc/Makefile: Likewise.
2855 * nis/Makefile: Likewise.
2856 * nss/Makefile: Likewise.
2857 * po/Makefile: Likewise.
2858 (all): Remove target.
2859 * posix/Makefile: Include Makeconfig immediately after defining
2860 subdir.
2861 * pwd/Makefile: Likewise.
2862 * resolv/Makefile: Likewise.
2863 * resource/Makefile: Likewise.
2864 * rt/Makefile: Likewise.
2865 * setjmp/Makefile: Likewise.
2866 * shadow/Makefile: Likewise.
2867 * signal/Makefile: Likewise.
2868 * socket/Makefile: Likewise.
2869 * soft-fp/Makefile: Likewise.
2870 * stdio-common/Makefile: Likewise.
2871 * stdlib/Makefile: Likewise.
2872 * streams/Makefile: Likewise.
2873 * string/Makefile: Likewise.
2874 * sunrpc/Makefile: Likewise.
2875 (all): Remove target.
2876 * sysvipc/Makefile: Include Makeconfig immediately after defining
2877 subdir.
2878 * termios/Makefile: Likewise.
2879 * time/Makefile: Likewise.
2880 * timezone/Makefile: Likewise.
2881 (all): Remove target.
2882 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2883 subdir.
2884 * wctype/Makefile: Likewise.
2885
5b456e9d
SE
28862014-02-26 Steve Ellcey <sellcey@mips.com>
2887
2888 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2889 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2890 (libc_feholdexcept_setround_mips): Ditto.
2891 (libc_feholdsetround): New.
2892 (libc_feholdsetroundf): New.
2893 (libc_feholdsetroundl): New.
2894 (libc_feupdateenv_test_mips): New.
2895 (libc_feupdateenv_test): New.
2896 (libc_feupdateenv_testf): New.
2897 (libc_feupdateenv_testl): New.
2898 (libc_feresetround): New.
2899 (libc_feresetroundf): New.
2900 (libc_feresetroundl): New.
2901 (libc_fetestexcept_mips): New.
2902 (libc_fetestexcept): New.
2903 (libc_fetestexceptf): New.
2904 (libc_fetestexceptl): New.
2905 (HAVE_RM_CTX): New.
2906 (libc_feholdexcept_setround_mips_ctx): New.
2907 (libc_feholdexcept_setround_ctx): New.
2908 (libc_feholdexcept_setroundf_ctx): New.
2909 (libc_feholdexcept_setroundl_ctx): New.
2910 (libc_fesetenv_mips_ctx): New.
2911 (libc_fesetenv_ctx): New.
2912 (libc_fesetenv_ctxf): New.
2913 (libc_fesetenv_ctxl): New.
2914 (libc_feupdateenv_mips_ctx): New.
2915 (libc_feupdateenv_ctx): New.
2916 (libc_feupdateenvf_ctx): New.
2917 (libc_feupdateenvl_ctx): New.
2918 (libc_feholdsetround_mips_ctx): New.
2919 (libc_feholdsetround_ctx): New.
2920 (libc_feholdsetroundf_ctx): New.
2921 (libc_feholdsetroundl_ctx): New.
2922 (libc_feresetround_mips_ctx): New.
2923 (libc_feresetround_ctx): New.
2924 (libc_feresetroundf_ctx): New.
2925 (libc_feresetroundl_ctx): New.
2926
085d0e35
CD
29272014-02-26 Carlos O'Donell <carlos@redhat.com>
2928
f067bf1f
CD
2929 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2930
085d0e35
CD
2931 * manual/ipc.texi: New file.
2932 * manual/Makefile (chapters): Add ipc.
2933 * manual/job.texi: Add "Inter-Process Communication" to next.
2934 * manual/process.texi: Add "Inter-Process Communication" to prev.
2935
86e58c08
AZ
29362014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2937
2938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2939
4248f0da
OB
29402014-02-26 Ondřej Bílka <neleai@seznam.cz>
2941
2942 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2943
cf822e3c
OB
2944 * manual/arith.texi: Fix spaces after sentences.
2945 * manual/charset.texi: Likewise.
2946 * manual/errno.texi: Likewise.
2947 * manual/install.texi: Likewise.
2948 * manual/llio.texi: Likewise.
2949 * manual/locale.texi: Likewise.
2950 * manual/maint.texi: Likewise.
2951 * manual/math.texi: Likewise.
2952 * manual/memory.texi: Likewise.
2953 * manual/message.texi: Likewise.
2954 * manual/probes.texi: Likewise.
2955 * manual/resource.texi: Likewise.
2956 * manual/signal.texi: Likewise.
2957 * manual/socket.texi: Likewise.
2958 * manual/stdio.texi: Likewise.
2959 * manual/string.texi: Likewise.
2960 * manual/time.texi: Likewise.
2961 * manual/users.texi: Likewise.
2962
ade40b10
CD
29632014-02-25 Carlos O'Donell <carlos@redhat.com>
2964
2965 [BZ #16632]
2966 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2967 _DEFAULT_SOURCE is defined.
2968
d0503676
CD
29692014-02-25 Ulrich Drepper <drepper@gmail.com>
2970 Carlos O'Donell <carlos@redhat.com>
2971
2972 [BZ #16613]
2973 * elf/dl-tls.c (_dl_count_modids): New function.
2974 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2975 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2976 audit library and increment generation counter.
2977 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2978 * elf/tst-audit9.c: New file.
2979 * elf/tst-auditmod9a.c: New file.
2980 * elf/tst-auditmod9b.c: New file.
2981 * elf/Makefile: Add rules to build and run tst-audit9.
2982
4cbf380c
FW
29832014-02-25 Florian Weimer <fweimer@redhat.com>
2984
2985 [BZ #15347]
2986 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2987
80a56cc3
WN
29882014-02-25 Will Newton <will.newton@linaro.org>
2989
2990 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2991 (__longjmp): Restore sp and lr before restoring callee
2992 saved registers. Add longjmp and longjmp_target
2993 SystemTap probe point.
2994 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2995 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2996 Define to zero to match jmpbuf layout.
2997 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2998 (__sigsetjmp): Save sp and lr before saving callee
2999 saved registers. Add setjmp SystemTap probe point.
3000
3ea0f74e
SL
30012014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3002
3003 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3004
b04acb26
AS
30052014-02-24 Andreas Schwab <schwab@suse.de>
3006
3007 [BZ #15804]
3008 * elf/pldd.c (wait_for_ptrace_stop): New function.
3009 (main): Call it after attaching.
3010
098ad55c
RM
30112014-02-22 Roland McGrath <roland@hack.frob.com>
3012
d4ec6ae1
RM
3013 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3014 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3015 Versions files is now verboten.
3016 * hurd/Versions (libc: GLIBC_2.0):
3017 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3018 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3019 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3020 * mach/Versions: Likewise.
3021
098ad55c
RM
3022 * csu/Versions: Remove unused %include.
3023 * resolv/Versions: Likewise.
3024
acd7f096
JM
30252014-02-21 Joseph Myers <joseph@codesourcery.com>
3026
f0881698
JM
3027 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3028 ($(objpfx)check-local-headers.out): Likewise.
3029 ($(objpfx)begin-end-check.out): Likewise.
3030 * Makerules (check-abi-%.out): Likewise.
3031 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3032 ($(objpfx)test2.cat): Likewise.
3033 ($(objpfx)de/libc.cat): Likewise.
3034 ($(objpfx)test-gencat.out): Likewise.
3035 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3036 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3037 ($(objpfx)noload-mem): Likewise.
3038 ($(objpfx)tst-pathopt.out): Likewise.
3039 ($(objpfx)tst-rtld-load-self.out): Likewise.
3040 ($(objpfx)tst-array1-cmp.out): Likewise.
3041 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3042 ($(objpfx)tst-array2-cmp.out): Likewise.
3043 ($(objpfx)tst-array3-cmp.out): Likewise.
3044 ($(objpfx)tst-array4-cmp.out): Likewise.
3045 ($(objpfx)tst-array5-cmp.out): Likewise.
3046 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3047 ($(objpfx)check-textrel.out): Likewise.
3048 ($(objpfx)check-execstack.out): Likewise.
3049 ($(objpfx)check-localplt.out): Likewise.
3050 ($(objpfx)order2-cmp.out): Likewise.
3051 ($(objpfx)tst-leaks1-mem): Likewise.
3052 ($(objpfx)tst-leaks1-static-mem): Likewise.
3053 ($(objpfx)tst-initorder-cmp.out): Likewise.
3054 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3055 ($(objpfx)tst-unused-dep.out): Likewise.
3056 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3057 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3058 * iconv/Makefile (test-iconvconfig): Likewise.
3059 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3060 ($(objpfx)iconv-test.out): Likewise.
3061 ($(objpfx)tst-tables.out): Likewise.
3062 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3063 ($(objpfx)tst-gettext.out): Likewise.
3064 ($(objpfx)tst-translit.out): Likewise.
3065 ($(objpfx)tst-gettext2.out): Likewise.
3066 ($(objpfx)tst-gettext4.out): Likewise.
3067 ($(objpfx)tst-gettext6.out): Likewise.
3068 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3069 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3070 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3071 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3072 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3073 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3074 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3075 ($(objpfx)wordexp-tst.out): Likewise.
3076 ($(objpfx)annexc.out): Likewise.
3077 ($(objpfx)tst-fnmatch-mem): Likewise.
3078 ($(objpfx)bug-regex2-mem): Likewise.
3079 ($(objpfx)bug-regex14-mem): Likewise.
3080 ($(objpfx)bug-regex21-mem): Likewise.
3081 ($(objpfx)bug-regex31-mem): Likewise.
3082 ($(objpfx)tst-vfork3-mem): Likewise.
3083 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3084 ($(objpfx)tst-pcre-mem): Likewise.
3085 ($(objpfx)tst-boost-mem): Likewise.
3086 ($(objpfx)tst-getconf.out): Likewise.
3087 ($(objpfx)bug-ga2-mem): Likewise.
3088 ($(objpfx)bug-glob2-mem): Likewise.
3089 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3090 ($(objpfx)mtrace-tst-leaks2): Likewise.
3091 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3092 ($(objpfx)tst-printf.out): Likewise.
3093 ($(objpfx)tst-setvbuf1.out): Likewise.
3094 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3095 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3096 ($(objpfx)tst-fmtmsg.out): Likewise.
3097 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3098 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3099
acd7f096
JM
3100 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3101 * bits/sigaction.h [__USE_MISC]: Likewise.
3102 * bits/waitstatus.h: Update #endif comments.
3103 * ctype/ctype.h: Likewise.
3104 * dirent/dirent.h: Likewise.
3105 [__USE_MISC]: Remove redundant conditionals.
3106 * grp/grp.h: Update #endif comments.
3107 [__USE_GNU]: Remove redundant conditionals.
3108 [__USE_MISC]: Likewise.
3109 * inet/netinet/in.h [__USE_GNU]: Likewise.
3110 * io/sys/stat.h [__USE_MISC]: Likewise.
3111 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3112 * libio/bits/stdio.h: Update #endif comments.
3113 [__USE_MISC]: Remove redundant conditionals.
3114 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3115 * libio/stdio.h: Update #endif comments.
3116 [__USE_MISC]: Remove redundant conditionals.
3117 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3118 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3119 * math/math.h: Update #else and #endif comments.
3120 [__USE_MISC]: Remove redundant conditionals.
3121 * misc/sys/uio.h: Update #endif comments.
3122 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3123 * posix/glob.h [__USE_MISC]: Likewise.
3124 * posix/sys/types.h: Update #endif comments.
3125 [__USE_MISC]: Remove redundant conditionals.
3126 * posix/sys/wait.h: Update #endif comments.
3127 [__USE_MISC]: Remove redundant conditionals.
3128 * posix/unistd.h: Update #endif comments.
3129 [__USE_MISC]: Remove redundant conditionals.
3130 * pwd/pwd.h [__USE_GNU]: Likewise.
3131 [__USE_MISC]: Likewise.
3132 * resolv/netdb.h [__USE_GNU]: Likewise.
3133 * signal/signal.h: Update #endif comments.
3134 [__USE_MISC]: Remove redundant conditionals.
3135 * stdlib/stdlib.h: Update #else and #endif comments.
3136 [__USE_MISC]: Remove redundant conditionals.
3137 [__USE_GNU]: Likewise.
3138 * string/bits/string2.h [__USE_MISC]: Likewise.
3139 * string/string.h: Update #endif comments.
3140 [__USE_MISC]: Remove redundant conditionals.
3141 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3142 Likewise.
3143 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3144 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3145 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3146 Likewise.
3147 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3148 Likewise.
3149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3150 comments.
3151 [__USE_MISC]: Remove redundant conditionals.
3152 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3153 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3154 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3155 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3156 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3157 Likewise.
3158 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3159 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3160 Likewise.
3161 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3162 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3163 Likewise.
3164 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3165 Likewise.
3166 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3167 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3168 Likewise.
3169 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3170 Likewise.
3171 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3172 * sysdeps/x86/bits/string.h: Update #endif comments.
3173 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3174 conditionals.
3175 * time/sys/time.h: Update #endif comments.
3176 * time/time.h: Likewise.
3177 [__USE_MISC]: Remove redundant conditionals.
3178
a5d82e4e
YG
31792014-02-21 Yury Gribov <y.gribov@samsung.com>
3180
3181 [BZ #16600]
3182 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3183
9a80491d
AS
31842014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3185
3186 * Versions.def (librt): Add GLIBC_2.17.
3187
105fa381
AC
31882014-02-21 Adam Conrad <adconrad@0c3.net>
3189
3190 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3191 synonym for _SYS_AUXV_H to allow direct inclusion.
3192 * sysdeps/sparc/bits/hwcap.h: Likewise.
3193 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3194 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3195 * sysdeps/sparc/sysdep.h: Likewise.
3196
b8cd1c4e
SP
31972014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
3199 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3200
bd939d23
RS
32012014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3202
3203 * benchtests/bench-strrchr.c: Print length instead of position.
3204
5d7b57ca
JM
32052014-02-20 Joseph Myers <joseph@codesourcery.com>
3206
bc688c10
JM
3207 [BZ #16611]
3208 * sysdeps/unix/sysv/linux/kernel-features.h
3209 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3210 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3211 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3212 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3213 Likewise.
3214 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3215 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3216 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3217 (__ASSUME_SENDMMSG): Define instead of using previous
3218 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3219 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3220 (__ASSUME_SENDMMSG_SYSCALL): Define.
3221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3222 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3223 Likewise.
3224 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3225 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3226 Likewise.
3227 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3228 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3229 Likewise.
3230 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3231 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3232 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3233 [__ASSUME_SENDMMSG]: Change conditionals to
3234 [__ASSUME_SENDMMSG_SOCKETCALL].
3235 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3236 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3237 Define.
3238 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3239 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3240 Likewise.
3241 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3242 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3243 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3244 [!__ASSUME_SENDMMSG]: Change conditional to
3245 [!__ASSUME_SENDMMSG_SOCKETCALL].
3246 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3247 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3248 Define.
3249
0e31b18c
JM
3250 [BZ #16610]
3251 * sysdeps/unix/sysv/linux/kernel-features.h
3252 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3253 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3254 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3255 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3256 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3257 [__i386__ || __sparc__]
3258 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3259 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3260 (__ASSUME_RECVMMSG): Define instead of using previous
3261 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3262 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3263 (__ASSUME_RECVMMSG_SYSCALL): Define.
3264 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3265 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3266 Likewise.
3267 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3268 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3269 Likewise.
3270 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3271 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3272 Likewise.
3273 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3274 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3275 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3276 [__ASSUME_RECVMMSG]: Change condition to
3277 [__ASSUME_RECVMMSG_SOCKETCALL].
3278 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3279 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3280 Define.
3281 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3282 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3283 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3284 Likewise.
3285 * sysdeps/unix/sysv/linux/recvmmsg.c [__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/tile/kernel-features.h
3291 (__ASSUME_RECVMMSG_SYSCALL): Define.
3292
dd481ccf
JM
3293 [BZ #16609]
3294 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3295 __powerpc__ || __s390__ || __sh__ || __sparc__]
3296 (__ASSUME_SOCKETCALL): Define.
3297 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3298 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3299 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3300 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3301 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3302 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3303 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3304 (__ASSUME_ACCEPT4): Define instead of using previous
3305 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3306 __powerpc__ || __sparc__ || __s390__)] condition.
3307 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3308 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3309 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3310 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3311 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3312 [!__ASSUME_ACCEPT4]: Change condition to
3313 [!__ASSUME_ACCEPT4_SOCKETCALL].
3314 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3315 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3316 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3318 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3319 __ASSUME_ACCEPT4_SYSCALL.
3320 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3321 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3322 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3323 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3324 __ASSUME_ACCEPT4_SYSCALL.
3325 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3326 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3327 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3328 [__ASSUME_ACCEPT4]: Change condition to
3329 [__ASSUME_ACCEPT4_SOCKETCALL].
3330 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3331 (__ASSUME_SOCKETCALL): Define.
3332 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3334 (__ASSUME_SOCKETCALL): Define.
3335 (__ASSUME_ACCEPT4): Remove.
3336 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3337 Define.
3338 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3339 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3340 Likewise.
3341 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3342 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3343
5d7b57ca
JM
3344 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3345 macro.
3346 (HWCAP_ARM_LPAE): Likewise.
3347 (HWCAP_ARM_EVTSTRM): Likewise.
3348 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3349 Add vpfd32, lpae and evtstrm.
3350 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3351 Increase to 22.
3352
63689d61
JM
33532014-02-19 Joseph Myers <joseph@codesourcery.com>
3354
3355 * math/auto-libm-test-in: Add tests of clog10.
3356 * math/auto-libm-test-out: Regenerated.
3357 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3358 * sysdeps/i386/fpu/libm-test-ulps: Update.
3359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3360
ab09bf61
AS
33612014-02-18 Andreas Schwab <schwab@suse.de>
3362
3363 [BZ #16574]
3364 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3365 Store non-zero if the second buffer was newly allocated.
3366 (send_dg): Likewise.
3367 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3368 to send_vc and send_dg.
3369 (res_nsend): Pass NULL for ansp2_malloced.
3370 * resolv/res_query.c (__libc_res_nquery): Add parameter
3371 answerp2_malloced and pass it down to __libc_res_nsend.
3372 (res_nquery): Pass additional NULL to __libc_res_nquery.
3373 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3374 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3375 second answer buffer if answerp2_malloced was set.
3376 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3377 (__libc_res_nquerydomain): Add parameter
3378 answerp2_malloced and pass it down to __libc_res_nquery.
3379 (res_nquerydomain): Pass additional NULL to
3380 __libc_res_nquerydomain.
3381 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3382 additional NULL to __libc_res_nsend and __libc_res_nquery.
3383 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3384 additional NULL to __libc_res_nsearch.
3385 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3386 parameter of __libc_res_nsearch to check for separately allocated
3387 second buffer.
3388 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3389 __libc_res_nquery.
3390 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3391 additional NULL to __libc_res_nquery.
3392 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3393 __libc_res_nsearch.
3394 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3395 * include/resolv.h: Update prototypes of __libc_res_nquery,
3396 __libc_res_nsearch, __libc_res_nsend.
3397
a4fb7861
JM
33982014-02-18 Joseph Myers <joseph@codesourcery.com>
3399
c6af2d89
JM
3400 * math/auto-libm-test-in: Add tests of fma.
3401 * math/auto-libm-test-out: Regenerated.
3402 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3403 (fma_towardzero_test_data): Likewise.
3404 (fma_downward_test_data): Likewise.
3405 (fma_upward_test_data): Likewise.
3406 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3407 mpc_mode.
3408 (rounding_modes): Add values for new field.
3409 (func_calc_method): Add value mpfr_fff_f.
3410 (func_calc_desc): Add mpfr_fff_f union field.
3411 (test_function): Add field exact_args.
3412 (FUNC): Add macro argument EXACT_ARGS.
3413 (FUNC_mpfr_f_f): Update call to FUNC.
3414 (FUNC_mpfr_f_f): Likewise.
3415 (FUNC_mpfr_ff_f): Likewise.
3416 (FUNC_mpfr_if_f): Likewise.
3417 (FUNC_mpc_c_f): Likewise.
3418 (FUNC_mpc_c_c): Likewise.
3419 (test_functions): Add fma. Update calls to FUNC.
3420 (handle_input_arg): Add argument exact_args.
3421 (add_test): Update call to handle_input_arg.
3422 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3423 (output_for_one_input_case): Update call to calc_generic_results.
3424 Recalculate exact zero results in each rounding mode.
3425
a4fb7861
JM
3426 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3427 non-negative before setting low bit.
3428 * math/auto-libm-test-in: Mark one asin test possibly having
3429 spurious underflow.
3430 * math/auto-libm-test-out: Regenerated.
3431 * sysdeps/i386/fpu/libm-test-ulps: Update.
3432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3433
ef114eaf
DH
34342014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3435
2b7f4f2c
SP
3436 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3437 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3438 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3439 * README: Add missing listing for microblaze*-*-linux-gnu.
3440
c70a4b1d
MF
34412014-02-16 Mike Frysinger <vapier@gentoo.org>
3442
3443 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3444 * sysdeps/unix/sysv/linux/ia64: Move directory from
3445 ports/sysdeps/unix/sysv/linux/ia64.
3446 * README: Update listing for ia64-*-linux-gnu.
3447
591aeaf7
TD
34482014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3449 Joseph Myers <joseph@codesourcery.com>
3450
3451 * Makeconfig (test-name): New variable.
3452 (evaluate-test): Likewise.
3453 * Makerules (do-test-clean): Remove .test-result files.
3454 (common-mostlyclean): Likewise.
3455 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3456 * scripts/evaluate-test.sh: New file.
3457
6e89caf1
JM
34582014-02-14 Joseph Myers <joseph@codesourcery.com>
3459
7f98f180
JM
3460 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3461 separate $(objpfx)tst-fopenloc-cmp.out and
3462 $(objpfx)tst-fopenloc-mem.out targets.
3463 (tests): Update dependencies.
3464 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3465 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3466 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3467 (tst-rxspencer-no-utf8-ARGS): New variable.
3468 (tst-rxspencer-no-utf8-ENV): Likewise.
3469 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3470 instead of $(objpfx)tst-rxspencer-mem.
3471 ($(objpfx)tst-rxspencer-mem): Change target to
3472 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3473 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3474 * posix/tst-rxspencer-no-utf8.c: New file.
3475
6e89caf1
JM
3476 * elf/Makefile ($(objpfx)order.out): Remove rule.
3477 [$(run-built-tests) = yes] (tests): Depend on
3478 $(objpfx)order-cmp.out.
3479 ($(objpfx)order-cmp.out): New rule.
3480 [$(run-built-tests) = yes] (tests): Depend on
3481 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3482 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3483 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3484 $(objpfx)tst-array5-static-cmp.out.
3485 ($(objpfx)tst-array1.out): Remove rule.
3486 ($(objpfx)tst-array1-cmp.out): New rule.
3487 ($(objpfx)tst-array1-static.out): Remove rule.
3488 ($(objpfx)tst-array1-static-cmp.out): New rule.
3489 ($(objpfx)tst-array2.out): Remove rule.
3490 ($(objpfx)tst-array2-cmp.out): New rule.
3491 ($(objpfx)tst-array3.out): Remove rule.
3492 ($(objpfx)tst-array3-cmp.out): New rule.
3493 ($(objpfx)tst-array4.out): Remove rule.
3494 ($(objpfx)tst-array4-cmp.out): New rule.
3495 ($(objpfx)tst-array5.out): Remove rule.
3496 ($(objpfx)tst-array5-cmp.out): New rule.
3497 ($(objpfx)tst-array5-static.out): Remove rule.
3498 ($(objpfx)tst-array5-static-cmp.out): New rule.
3499 [$(run-built-tests) = yes] (tests): Depend on
3500 $(objpfx)order2-cmp.out.
3501 ($(objpfx)order2.out): Remove rule.
3502 ($(objpfx)order2-cmp.out): New rule.
3503 ($(objpfx)tst-initorder.out): Remove rule.
3504 [$(run-built-tests) = yes] (tests): Depend on
3505 $(objpfx)tst-initorder-cmp.out.
3506 ($(objpfx)tst-initorder-cmp.out): New rule.
3507 ($(objpfx)tst-initorder2.out): Remove rule.
3508 [$(run-built-tests) = yes] (tests): Depend on
3509 $(objpfx)tst-initorder2-cmp.out.
3510 ($(objpfx)tst-initorder2-cmp.out): New rule.
3511 [$(run-built-tests) = yes] (tests): Depend on
3512 $(objpfx)tst-unused-dep-cmp.out.
3513 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3514 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3515 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3516 on $(objpfx)tst-setvbuf1-cmp.out.
3517 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3518 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3519 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3520 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3521 ($(objpfx)tst-svc.out): Remove rule.
3522 ($(objpfx)tst-svc-cmp.out): New rule.
3523
ed9a38e2
JM
35242014-02-13 Joseph Myers <joseph@codesourcery.com>
3525
3526 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3527 * ctype/ctype.h [__USE_MISC]: Likewise.
3528 * dirent/dirent.h [__USE_MISC]: Likewise.
3529 * grp/grp.h [__USE_MISC]: Likewise.
3530 * io/fcntl.h [__USE_MISC]: Likewise.
3531 * io/sys/stat.h [__USE_MISC]: Likewise.
3532 * libio/stdio.h [__USE_MISC]: Likewise.
3533 * posix/unistd.h [__USE_MISC]: Likewise.
3534 * pwd/pwd.h [__USE_MISC]: Likewise.
3535 * stdlib.h [__USE_MISC]: Likewise.
3536 * string/bits/string2.h [__USE_MISC]: Likewise.
3537 * string/string.h [__USE_MISC]: Likewise.
3538 * time/time.h [__USE_MISC]: Likewise.
3539
d6680619
AS
35402014-02-13 Andreas Schwab <schwab@suse.de>
3541
3542 [BZ #16574]
3543 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3544 second answer buffer if it was separately allocated.
3545
ace614b8
JM
35462014-02-12 Joseph Myers <joseph@codesourcery.com>
3547
743151ae
JM
3548 * sysdeps/mips/math-tests.h: Include <features.h>.
3549 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3550 (ROUNDING_TESTS_long_double): Do not define.
3551 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3552 (EXCEPTION_TESTS_long_double): Likewise.
3553 * sysdeps/mips/mips64/libm-test-ulps: Update.
3554
498afc54
JM
3555 * include/features.h (__USE_BSD): Remove macro definitions.
3556 (__USE_SVID): Likewise.
3557 (_BSD_SOURCE): Likewise.
3558 (_SVID_SOURCE): Likewise.
3559 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3560 from definition of _DEFAULT_SOURCE.
3561 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3562 [_DEFAULT_SOURCE].
3563 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3564 * bits/mman.h [__USE_BSD]: Likewise.
3565 * bits/termios.h [__USE_BSD]: Likewise.
3566 * bits/waitstatus.h [__USE_BSD]: Likewise.
3567 * ctype/ctype.h [__USE_SVID]: Likewise.
3568 * dirent/dirent.h [__USE_BSD]: Likewise.
3569 * grp/grp.h [__USE_SVID]: Likewise.
3570 [__USE_BSD]: Likewise.
3571 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3572 * io/fcntl.h [__USE_BSD]: Likewise.
3573 * io/ftw.h [__USE_BSD]: Likewise.
3574 * io/sys/stat.h [__USE_BSD]: Likewise.
3575 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3576 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3577 * libio/stdio.h [__USE_SVID]: Likewise.
3578 [__USE_BSD]: Likewise.
3579 * math/math.h [__USE_SVID]: Likewise.
3580 [__USE_BSD]: Likewise.
3581 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3582 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3583 * misc/search.h [__USE_SVID]: Likewise.
3584 * misc/sys/mman.h [__USE_BSD]: Likewise.
3585 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3586 * misc/sys/uio.h [__USE_BSD]: Likewise.
3587 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3588 * posix/glob.h [__USE_BSD]: Likewise.
3589 * posix/regex.h [__USE_BSD]: Likewise.
3590 * posix/sys/types.h [__USE_BSD]: Likewise.
3591 [__USE_SVID]: Likewise.
3592 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3593 * posix/sys/wait.h [__USE_BSD]: Likewise.
3594 [__USE_SVID]: Likewise.
3595 * posix/unistd.h [__USE_BSD]: Likewise.
3596 [__USE_SVID]: Likewise.
3597 * pwd/pwd.h [__USE_SVID]: Likewise.
3598 * resolv/netdb.h [__USE_BSD]: Likewise.
3599 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3600 * signal/signal.h [__USE_BSD]: Likewise.
3601 [__USE_SVID]: Likewise.
3602 * socket/sys/socket.h [__USE_BSD]: Likewise.
3603 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3604 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3605 [__USE_SVID]: Likewise.
3606 * string/bits/string2.h [__USE_BSD]: Likewise.
3607 [__USE_SVID]: Likewise.
3608 * string/bits/string3.h [__USE_BSD]: Likewise.
3609 * string/endian.h [__USE_BSD]: Likewise.
3610 * string/string.h [__USE_SVID]: Likewise.
3611 [__USE_BSD]: Likewise.
3612 * string/strings.h [__USE_BSD]: Likewise.
3613 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3614 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3615 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3616 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3617 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3618 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3619 Likewise.
3620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3621 Likewise.
3622 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3623 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3624 Likewise.
3625 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3626 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3627 Likewise.
3628 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3629 Likewise.
3630 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3631 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3632 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3635 Likewise.
3636 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3637 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3638 * termios/termios.h [__USE_BSD]: Likewise.
3639 * time/sys/time.h [__USE_BSD]: Likewise.
3640 * time/time.h [__USE_BSD]: Likewise.
3641 [__USE_SVID]: Likewise.
3642
dd7b064c
JM
3643 * Makefile (subdir_targets): Remove subdir_lint.out.
3644
a2c4c199
JM
3645 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3646 (do-tst-printf): Likewise.
3647 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3648 $(objpfx)tst-printf.out.
3649
8756f740
JM
3650 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3651
1b6dd3f1
JM
3652 * Makerules (check-abi-%): Change target to
3653 $(objpfx)check-abi-%.out.
3654 (check-abi target): Update dependencies.
3655 (check-abi-pattern variable): Redirect output of diff to $@.
3656 (check-abi variable): Likewise.
3657 * elf/Makefile (check-abi): Update dependencies.
3658
ace614b8
JM
3659 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3660 unused.
3661 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3662 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3663 subnormal range.
3664 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3665 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3666 value has largest subnormal exponent.
3667 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3668 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3669 * sysdeps/aarch64/soft-fp/sfp-machine.h
3670 (_FP_TININESS_AFTER_ROUNDING): New macro.
3671 * sysdeps/alpha/soft-fp/sfp-machine.h
3672 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3673 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3674 Likewise.
3675 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3676 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3677 * sysdeps/mips/soft-fp/sfp-machine.h
3678 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3679 * sysdeps/powerpc/soft-fp/sfp-machine.h
3680 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3681 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3682 Likewise.
3683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3684 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3686 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3687 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3688 Likewise.
3689
fbfdf9cb
DAS
36902014-02-12 Dylan Alex Simon <dylan@dylex.net>
3691
3692 [BZ #16545]
3693 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3694 model 1.
3695
68b7efaa
RH
36962014-02-12 Richard Henderson <rth@redhat.com>
3697
c70a4b1d 3698 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3699 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3700 * sysdeps/unix/sysv/linux/alpha: Move directory from
3701 ports/sysdeps/unix/sysv/linux/alpha.
3702 * README: Update listing for alpha-*-linux-gnu.
3703
cb4a2928
JM
37042014-02-11 Joseph Myers <joseph@codesourcery.com>
3705
c941736c
JM
3706 * include/features.h: Update comment documenting feature test
3707 macros.
3708 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3709 _DEFAULT_SOURCE.
3710 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3711 (_SVID_SOURCE): Likewise.
3712 (_DEFAULT_SOURCE): Update description of default features.
3713 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3714 with _GNU_SOURCE.
3715 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3716 (S_ISVTX): Likewise.
3717 * manual/math.texi (Mathematical Constants): Likewise.
3718 * manual/signal.texi (Interrupted Primitives): Likewise.
3719 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3720 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3721 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3722 Don't refer to _SVID_SOURCE in warning text.
3723
e8d8d7ec
JM
3724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3725
cb4a2928
JM
3726 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3727 already defined.
3728 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3729 * sysdeps/mips/dl-lookup.c: Remove.
3730 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3731
7e6424e3
AK
37322014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3733
3734 [BZ #16447]
3735 * math/auto-libm-test-in: Add testcase for expl.
3736 * math/auto-libm-test-out: Regenerate.
3737 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3738 calculation of unsafe.
3739 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3740
75eff3fe
MS
37412014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3742
3743 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3744 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3745 ports/sysdeps/unix/sysv/linux/aarch64.
3746 * README: Update listing for aarch64*-*-linux-gnu.
3747
d35f1e80
WN
37482014-02-11 Will Newton <will.newton@linaro.org>
3749
3750 * manual/probes.texi (Mathematical Function Probes): Use
3751 "triggered" instead of "hit".
3752
7b3436d4
WN
37532014-02-11 Will Newton <will.newton@linaro.org>
3754
3755 * manual/probes.texi (Internal Probes): Add documentation
3756 of setjmp, longjmp and longjmp_target probes.
3757
b4f12ca3
WN
37582014-02-11 Will Newton <will.newton@linaro.org>
3759
3760 * include/stap-probe.h: Add comment about probe argument
3761 format.
3762
c13a72b7
WN
37632014-02-11 Will Newton <will.newton@linaro.org>
3764
3765 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3766 definition. (tr_where, tr_freehook, tr_mallochook,
3767 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3768
195b8165
DM
37692014-02-11 David S. Miller <davem@davemloft.net>
3770
3771 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3772 processing int_tests.
3773
2ad7600b
JM
37742014-02-10 Joseph Myers <joseph@codesourcery.com>
3775
3776 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3777 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3778 * sysdeps/unix/sysv/linux/mips: Move directory from
3779 ports/sysdeps/unix/sysv/linux/mips.
3780 * README: Update listing for mips-*-linux-gnu and
3781 mips64-*-linux-gnu.
3782
73588a72
AS
37832014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3784
3785 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3786 * sysdeps/unix/sysv/linux/m68k: Move directory from
3787 ports/sysdeps/unix/sysv/linux/m68k.
3788 * README: Update listing for m68k-*-linux-gnu.
3789
4372980f
CM
37902014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3791
3792 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3793 * sysdeps/unix/sysv/linux/generic: Move directory from
3794 ports/sysdeps/unix/sysv/linux/generic.
3795 * sysdeps/unix/sysv/linux/tile: Move directory from
3796 ports/sysdeps/unix/sysv/linux/tile.
3797 * README: Update listing for tile*-*-linux-gnu.
3798
a1ffb40e
OB
37992014-02-10 Ondřej Bílka <neleai@seznam.cz>
3800
3801 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3802 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3803 * catgets/open_catalog.c (__open_catalog): Likewise.
3804 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3805 * debug/confstr_chk.c: Likewise.
3806 * debug/fread_chk.c (__fread_chk): Likewise.
3807 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3808 * debug/getgroups_chk.c: Likewise.
3809 * debug/mbsnrtowcs_chk.c: Likewise.
3810 * debug/mbsrtowcs_chk.c: Likewise.
3811 * debug/mbstowcs_chk.c: Likewise.
3812 * debug/memcpy_chk.c: Likewise.
3813 * debug/memmove_chk.c: Likewise.
3814 * debug/mempcpy_chk.c: Likewise.
3815 * debug/memset_chk.c: Likewise.
3816 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3817 * debug/strcat_chk.c (__strcat_chk): Likewise.
3818 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3819 * debug/strncat_chk.c (__strncat_chk): Likewise.
3820 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3821 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3822 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3823 * debug/wcpncpy_chk.c: Likewise.
3824 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3825 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3826 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3827 * debug/wcsncpy_chk.c: Likewise.
3828 * debug/wcsnrtombs_chk.c: Likewise.
3829 * debug/wcsrtombs_chk.c: Likewise.
3830 * debug/wcstombs_chk.c: Likewise.
3831 * debug/wmemcpy_chk.c: Likewise.
3832 * debug/wmemmove_chk.c: Likewise.
3833 * debug/wmempcpy_chk.c: Likewise.
3834 * debug/wmemset_chk.c: Likewise.
3835 * dirent/scandirat.c (SCANDIRAT): Likewise.
3836 * dlfcn/dladdr1.c (dladdr1): Likewise.
3837 * dlfcn/dladdr.c (dladdr): Likewise.
3838 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3839 * dlfcn/dlerror.c (__dlerror): Likewise.
3840 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3841 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3842 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3843 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3844 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3845 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3846 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3847 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3848 Likewise.
3849 * elf/dl-conflict.c: Likewise.
3850 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3851 * elf/dl-dst.h: Likewise.
3852 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3853 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3854 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3855 * elf/dl-init.c (call_init, _dl_init): Likewise.
3856 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3857 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3858 _dl_map_object_from_fd, open_verify, open_path,
3859 _dl_map_object): Likewise.
3860 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3861 Likewise.
3862 * elf/dl-minimal.c (__libc_memalign): Likewise.
3863 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3864 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3865 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3866 * elf/dl-sym.c (do_sym): Likewise.
3867 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3868 _dl_tls_get_addr_soft): Likewise.
3869 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3870 * elf/dl-writev.h (_dl_writev): Likewise.
3871 * elf/ldconfig.c (search_dir): Likewise.
3872 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3873 dl_main): Likewise.
3874 * elf/setup-vdso.h (setup_vdso): Likewise.
3875 * grp/compat-initgroups.c (compat_call): Likewise.
3876 * grp/fgetgrent.c (fgetgrent): Likewise.
3877 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3878 * grp/putgrent.c (putgrent): Likewise.
3879 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3880 Likewise.
3881 * hurd/hurdinit.c: Likewise.
3882 * iconvdata/8bit-gap.c (struct): Likewise.
3883 * iconvdata/ansi_x3.110.c : Likewise.
3884 * iconvdata/big5.c : Likewise.
3885 * iconvdata/big5hkscs.c : Likewise.
3886 * iconvdata/cp1255.c: Likewise.
3887 * iconvdata/cp1258.c : Likewise.
3888 * iconvdata/cp932.c : Likewise.
3889 * iconvdata/euc-cn.c: Likewise.
3890 * iconvdata/euc-jisx0213.c : Likewise.
3891 * iconvdata/euc-jp.c: Likewise.
3892 * iconvdata/euc-jp-ms.c : Likewise.
3893 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3894 * iconvdata/gb18030.c : Likewise.
3895 * iconvdata/gbbig5.c (const): Likewise.
3896 * iconvdata/gbgbk.c: Likewise.
3897 * iconvdata/gbk.c : Likewise.
3898 * iconvdata/ibm1364.c : Likewise.
3899 * iconvdata/ibm930.c : Likewise.
3900 * iconvdata/ibm932.c: Likewise.
3901 * iconvdata/ibm933.c : Likewise.
3902 * iconvdata/ibm935.c : Likewise.
3903 * iconvdata/ibm937.c : Likewise.
3904 * iconvdata/ibm939.c : Likewise.
3905 * iconvdata/ibm943.c: Likewise.
3906 * iconvdata/iso_11548-1.c: Likewise.
3907 * iconvdata/iso-2022-cn.c : Likewise.
3908 * iconvdata/iso-2022-cn-ext.c : Likewise.
3909 * iconvdata/iso-2022-jp-3.c: Likewise.
3910 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3911 * iconvdata/iso-2022-kr.c : Likewise.
3912 * iconvdata/iso646.c (gconv_end): Likewise.
3913 * iconvdata/iso_6937-2.c : Likewise.
3914 * iconvdata/iso_6937.c : Likewise.
3915 * iconvdata/iso8859-1.c: Likewise.
3916 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3917 * iconvdata/shift_jisx0213.c : Likewise.
3918 * iconvdata/sjis.c : Likewise.
3919 * iconvdata/t.61.c : Likewise.
3920 * iconvdata/tcvn5712-1.c : Likewise.
3921 * iconvdata/tscii.c: Likewise.
3922 * iconvdata/uhc.c : Likewise.
3923 * iconvdata/unicode.c (gconv_end): Likewise.
3924 * iconvdata/utf-16.c (gconv_end): Likewise.
3925 * iconvdata/utf-32.c (gconv_end): Likewise.
3926 * iconvdata/utf-7.c (base64): Likewise.
3927 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3928 * iconv/gconv_close.c (__gconv_close): Likewise.
3929 * iconv/gconv_open.c (__gconv_open): Likewise.
3930 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3931 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3932 internal_ucs4le_loop_single, ucs4le_internal_loop,
3933 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3934 * iconv/iconv.c (iconv): Likewise.
3935 * iconv/iconv_close.c: Likewise.
3936 * iconv/loop.c (SINGLE): Likewise.
3937 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3938 * include/atomic.h: Likewise.
3939 * inet/inet6_option.c (option_alloc): Likewise.
3940 * intl/bindtextdom.c (set_binding_values): Likewise.
3941 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3942 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3943 * intl/localealias.c (read_alias_file): Likewise.
3944 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3945 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3946 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3947 * libio/fmemopen.c (fmemopen): Likewise.
3948 * libio/iofgets.c (_IO_fgets): Likewise.
3949 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3950 * libio/iofgetws.c (fgetws): Likewise.
3951 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3952 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3953 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3954 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3955 * locale/findlocale.c (_nl_find_locale): Likewise.
3956 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3957 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3958 Likewise.
3959 * locale/setlocale.c (setlocale): Likewise.
3960 * login/programs/pt_chown.c (main): Likewise.
3961 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3962 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3963 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3964 mmap, mmap64, mremap, munmap): Likewise.
3965 * math/e_exp2l.c: Likewise.
3966 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3967 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3968 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3969 * math/s_catan.c (__catan): Likewise.
3970 * math/s_catanf.c (__catanf): Likewise.
3971 * math/s_catanh.c (__catanh): Likewise.
3972 * math/s_catanhf.c (__catanhf): Likewise.
3973 * math/s_catanhl.c (__catanhl): Likewise.
3974 * math/s_catanl.c (__catanl): Likewise.
3975 * math/s_ccosh.c (__ccosh): Likewise.
3976 * math/s_ccoshf.c (__ccoshf): Likewise.
3977 * math/s_ccoshl.c (__ccoshl): Likewise.
3978 * math/s_cexp.c (__cexp): Likewise.
3979 * math/s_cexpf.c (__cexpf): Likewise.
3980 * math/s_cexpl.c (__cexpl): Likewise.
3981 * math/s_clog10.c (__clog10): Likewise.
3982 * math/s_clog10f.c (__clog10f): Likewise.
3983 * math/s_clog10l.c (__clog10l): Likewise.
3984 * math/s_clog.c (__clog): Likewise.
3985 * math/s_clogf.c (__clogf): Likewise.
3986 * math/s_clogl.c (__clogl): Likewise.
3987 * math/s_csin.c (__csin): Likewise.
3988 * math/s_csinf.c (__csinf): Likewise.
3989 * math/s_csinh.c (__csinh): Likewise.
3990 * math/s_csinhf.c (__csinhf): Likewise.
3991 * math/s_csinhl.c (__csinhl): Likewise.
3992 * math/s_csinl.c (__csinl): Likewise.
3993 * math/s_csqrt.c (__csqrt): Likewise.
3994 * math/s_csqrtf.c (__csqrtf): Likewise.
3995 * math/s_csqrtl.c (__csqrtl): Likewise.
3996 * math/s_ctan.c (__ctan): Likewise.
3997 * math/s_ctanf.c (__ctanf): Likewise.
3998 * math/s_ctanh.c (__ctanh): Likewise.
3999 * math/s_ctanhf.c (__ctanhf): Likewise.
4000 * math/s_ctanhl.c (__ctanhl): Likewise.
4001 * math/s_ctanl.c (__ctanl): Likewise.
4002 * math/w_pow.c: Likewise.
4003 * math/w_powf.c: Likewise.
4004 * math/w_powl.c: Likewise.
4005 * math/w_scalb.c (sysv_scalb): Likewise.
4006 * math/w_scalbf.c (sysv_scalbf): Likewise.
4007 * math/w_scalbl.c (sysv_scalbl): Likewise.
4008 * misc/error.c (error_tail): Likewise.
4009 * misc/pselect.c (__pselect): Likewise.
4010 * nis/nis_callback.c (__nis_create_callback): Likewise.
4011 * nis/nis_call.c (__nisfind_server): Likewise.
4012 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4013 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4014 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4015 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4016 * nis/nis_lookup.c (nis_lookup): Likewise.
4017 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4018 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4019 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4020 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4021 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4022 internal_getgrgid_r): Likewise.
4023 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4024 Likewise.
4025 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4026 internal_getpwuid_r): Likewise.
4027 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4028 internal_getspnam_r): Likewise.
4029 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4030 _nss_nis_getaliasbyname_r): Likewise.
4031 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4032 _nss_nis_getntohost_r): Likewise.
4033 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4034 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4035 Likewise.
4036 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4037 internal_nis_gethostent_r, internal_gethostbyname2_r,
4038 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4039 _nss_nis_gethostbyname4_r): Likewise.
4040 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4041 initgroups_netid): Likewise.
4042 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4043 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4044 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4045 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4046 _nss_nis_getprotobynumber_r): Likewise.
4047 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4048 _nss_nis_getsecretkey): Likewise.
4049 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4050 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4051 Likewise.
4052 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4053 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4054 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4055 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4056 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4057 _nss_nis_getspnam_r): Likewise.
4058 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4059 Likewise.
4060 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4061 _nss_nisplus_getntohost_r): Likewise.
4062 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4063 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4064 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4065 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4066 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4067 Likewise.
4068 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4069 _nss_nisplus_getnetbyaddr_r): Likewise.
4070 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4071 _nss_nisplus_getprotobynumber_r): Likewise.
4072 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4073 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4074 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4075 Likewise.
4076 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4077 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4078 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4079 _nss_nisplus_getspnam_r): Likewise.
4080 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4081 * nscd/aicache.c (addhstaiX): Likewise.
4082 * nscd/cache.c (cache_search, prune_cache): Likewise.
4083 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4084 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4085 * nscd/grpcache.c (addgrbyX): Likewise.
4086 * nscd/hstcache.c (addhstbyX): Likewise.
4087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4088 * nscd/mem.c (gc, mempool_alloc): Likewise.
4089 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4090 Likewise.
4091 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4092 Likewise.
4093 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4094 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4095 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4096 Likewise.
4097 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4099 * nscd/nscd_helper.c (__readvall, open_socket,
4100 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4101 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4102 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4103 * nscd/pwdcache.c (addpwbyX): Likewise.
4104 * nscd/selinux.c (preserve_capabilities): Likewise.
4105 * nscd/servicescache.c (addservbyX): Likewise.
4106 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4107 * posix/fnmatch.c (fnmatch): Likewise.
4108 * posix/getopt.c (_getopt_internal_r): Likewise.
4109 * posix/glob.c (glob, glob_in_dir): Likewise.
4110 * posix/wordexp.c (exec_comm_child): Likewise.
4111 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4112 gaih_getanswer_slice): Likewise.
4113 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4114 * resolv/res_init.c: Likewise.
4115 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4116 * resolv/res_query.c (__libc_res_nquery): Likewise.
4117 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4118 Likewise.
4119 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4120 * stdio-common/perror.c (perror): Likewise.
4121 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4122 * stdio-common/tmpnam.c (tmpnam): Likewise.
4123 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4124 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4125 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4126 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4127 * stdlib/putenv.c (putenv): Likewise.
4128 * stdlib/setenv.c (__add_to_environ): Likewise.
4129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4130 * stdlib/strtol_l.c (INTERNAL): Likewise.
4131 * string/memmem.c (memmem): Likewise.
4132 * string/strerror.c (strerror): Likewise.
4133 * string/strnlen.c (__strnlen): Likewise.
4134 * string/test-memmem.c (simple_memmem): Likewise.
4135 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4136 * sunrpc/pm_getport.c (__get_socket): Likewise.
4137 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4138 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4139 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4140 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4141 Likewise.
4142 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4143 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4144 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4145 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4146 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4147 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4148 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4149 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4150 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4152 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4153 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4155 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4156 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4157 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4158 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4159 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4160 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4161 Likewise.
4162 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4163 Likewise.
4164 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4165 Likewise.
4166 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4168 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4169 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4170 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4171 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4172 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4181 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4182 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4183 Likewise.
4184 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4185 Likewise.
4186 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4187 Likewise.
4188 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4190 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4191 Likewise.
4192 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4193 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4194 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4195 * sysdeps/posix/sleep.c: Likewise.
4196 * sysdeps/posix/tempname.c: Likewise.
4197 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4198 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4199 Likewise.
4200 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4201 elf_machine_rela): Likewise.
4202 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4204 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4205 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4206 Likewise.
4207 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4208 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4209 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4210 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4211 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4212 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4213 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4214 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4216 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4218 elf_machine_lazy_rel): Likewise.
4219 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4221 elf_machine_lazy_rel): Likewise.
4222 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4223 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4224 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4225 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4226 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4227 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4228 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4230 Likewise.
4231 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4232 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4233 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4234 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4235 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4236 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4237 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4238 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4239 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4240 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4241 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4242 Likewise.
4243 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4244 (__posix_fallocate64_l64): Likewise.
4245 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4246 (posix_fallocate): Likewise.
4247 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4249 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4250 getifaddrs_internal): Likewise.
4251 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4252 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4253 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4254 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4255 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4256 (__posix_fallocate64_l64): Likewise.
4257 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4258 Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4261 Likewise.
4262 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4263 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4264 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4267 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4268 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4269 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4270 Likewise.
4271 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4272 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4273 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4275 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4276 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4277 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4278 Likewise.
4279 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4280 (posix_fallocate): Likewise.
4281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4282 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4283 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4284 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4285 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4286 Likewise.
4287 * time/asctime.c (asctime_internal): Likewise.
4288 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4289 * time/tzset.c (__tzset_parse_tz): Likewise.
4290 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4291 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4292 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4293 * wcsmbs/wcsmbsload.h: Likewise.
4294
f3d338c9
OB
42952014-02-10 Ondřej Bílka <neleai@seznam.cz>
4296
4297 [BZ #15894]
4298 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4299
bdfe308a
OB
43002014-02-10 Ondřej Bílka <neleai@seznam.cz>
4301
4302 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4303 arena_get2): Remove THREAD_STATS conditionals.
4304 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4305 __malloc_stats, int): Likewise.
4306
d674667c
MF
43072014-02-08 Mike Frysinger <vapier@gentoo.org>
4308
4309 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4310 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4311
6349768c
MF
43122014-02-08 Mike Frysinger <vapier@gentoo.org>
4313
4314 * manual/setjmp.texi: Fix typos/grammar errors.
4315
0b7c7473
MF
43162014-02-08 Mike Frysinger <vapier@gentoo.org>
4317
4318 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4319 Only return early when n is <= 0. Delete unused return statement.
4320
ac8cc9e3
MF
43212014-02-08 Mike Frysinger <vapier@gentoo.org>
4322
4323 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4324 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4325 * debug/tst-longjmp_chk3.c: New file.
4326
c5bb8e23
MF
43272014-02-08 Mike Frysinger <vapier@gentoo.org>
4328
4329 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4330 (test_main): Replace code with set_fortify_handler call.
4331 * debug/test-strcpy_chk.c: Likewise.
4332 * debug/tst-chk1.c: Likewise.
4333 * debug/tst-longjmp_chk.c: Likewise.
4334 * test-skeleton.c: Include fcntl.h & paths.h
4335 (set_fortify_handler): Define.
4336
10444e42
MF
43372014-02-08 Mike Frysinger <vapier@gentoo.org>
4338
4339 * debug/tst-longjmp_chk.c: Add header comment and include
4340 ../test-skeleton.c.
4341 (do_test): Mark static.
4342 (TEST_FUNCTION): Define.
4343
1e805e8d
MF
43442014-02-08 Mike Frysinger <vapier@gentoo.org>
4345
4346 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4347 (IP_PMTUDISC_INTERFACE): Likewise.
4348 (IP_MULTICAST_IF): Likewise.
4349 (IP_MULTICAST_TTL): Likewise.
4350 (IP_MULTICAST_LOOP): Likewise.
4351 (IP_ADD_MEMBERSHIP): Likewise.
4352 (IP_DROP_MEMBERSHIP): Likewise.
4353 (IP_UNBLOCK_SOURCE): Likewise.
4354 (IP_BLOCK_SOURCE): Likewise.
4355 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4356 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4357 (IP_MSFILTER): Likewise.
4358 (MCAST_JOIN_GROUP): Likewise.
4359 (MCAST_BLOCK_SOURCE): Likewise.
4360 (MCAST_UNBLOCK_SOURCE): Likewise.
4361 (MCAST_LEAVE_GROUP): Likewise.
4362 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4363 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4364 (MCAST_MSFILTER): Likewise.
4365 (IP_MULTICAST_ALL): Likewise.
4366 (IP_UNICAST_IF): Likewise.
4367
73f79bb7
MF
43682014-02-08 Mike Frysinger <vapier@gentoo.org>
4369
4370 * timezone/Makefile: Delete $(have-ksh) check.
4371 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4372 * timezone/tzselect.ksh: Add +x mode bits.
4373
8da79b60
MF
43742014-02-08 Mike Frysinger <vapier@gentoo.org>
4375
4376 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4377 (ANON_INODE_FS_MAGIC): Likewise.
4378 (BDEVFS_MAGIC): Likewise.
4379 (BINFMTFS_MAGIC): Likewise.
4380 (BTRFS_TEST_MAGIC): Likewise.
4381 (CRAMFS_MAGIC_WEND): Likewise.
4382 (DEBUGFS_MAGIC): Likewise.
4383 (ECRYPTFS_SUPER_MAGIC): Likewise.
4384 (EXT3_SUPER_MAGIC): Likewise.
4385 (EXT4_SUPER_MAGIC): Likewise.
4386 (FUTEXFS_SUPER_MAGIC): Likewise.
4387 (HOSTFS_SUPER_MAGIC): Likewise.
4388 (HUGETLBFS_MAGIC): Likewise.
4389 (MINIX3_SUPER_MAGIC): Likewise.
4390 (MTD_INODE_FS_MAGIC): Likewise.
4391 (NILFS_SUPER_MAGIC): Likewise.
4392 (OPENPROM_SUPER_MAGIC): Likewise.
4393 (PIPEFS_MAGIC): Likewise.
4394 (PSTOREFS_MAGIC): Likewise.
4395 (QNX6_SUPER_MAGIC): Likewise.
4396 (RAMFS_MAGIC): Likewise.
4397 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4398 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4399 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4400 (SECURITYFS_MAGIC): Likewise.
4401 (SELINUX_MAGIC): Likewise.
4402 (SMACK_MAGIC): Likewise.
4403 (SOCKFS_MAGIC): Likewise.
4404 (SQUASHFS_MAGIC): Likewise.
4405 (STACK_END_MAGIC): Likewise.
4406 (TMPFS_MAGIC): Likewise.
4407 (USBDEVICE_SUPER_MAGIC): Likewise.
4408 (V9FS_MAGIC): Likewise.
4409 (XENFS_SUPER_MAGIC): Likewise.
4410 (CRAMFS_MAGIC): Fix typo in comment.
4411 (EXT2_SUPER_MAGIC): Update comment.
4412 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4413
464263cc
JM
44142014-02-08 Joseph Myers <joseph@codesourcery.com>
4415
c6bfe5c4
JM
4416 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4417 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4418 * sysdeps/unix/sysv/linux/arm: Move directory from
4419 ports/sysdeps/unix/sysv/linux/arm.
4420 * README: Update listing for arm-*-linux-gnueabi.
4421
464263cc
JM
4422 * README: Remove mention of am33.
4423
32749f6c
RM
44242014-02-07 Roland McGrath <roland@hack.frob.com>
4425
4426 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4427 than the comma operator, to avoid "rhs of comma has no effect"
4428 compiler warnings.
4429 (__sigfillset, __sigandset, __sigorset): Likewise.
4430 * include/signal.h (__sigemptyset): Likewise.
4431 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4432
d5b396c1
AM
44332014-02-07 Allan McRae <allan@archlinux.org>
4434
4435 * version.h (RELEASE): Set to "development".
4436 (VERSION): Set to "2.19.90"
4437 * NEWS: Add 2.20 section.
4438
3bfff2ed
CD
44392014-02-06 Carlos O'Donell <carlos@redhat.com>
4440
4441 [BZ #16529]
4442 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4443
ee7cc385
SP
44442014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4445
4446 * manual/contrib.texi: Update entry for Carlos O'Donell,
4447 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4448
f877c4f2
CD
44492014-02-05 Carlos O'Donell <carlos@rehdat.com>
4450
27e839f6
CD
4451 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4452
f877c4f2
CD
4453 * sysdeps/unix/sysv/linux/kernel-features.h
4454 [__LINUX_KERNEL_VERSION >= 0x020621]
4455 (__ASSUME_PROC_PID_TASK_COMM): Define.
4456
68159946
SP
44572014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4458
ba17cdbd
SP
4459 [BZ #16398]
4460 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4461 conversion when destination buffer does not have enough space.
4462 * libio/tst-ftell-partial-wide.c: New test case.
4463 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4464
68159946
SP
4465 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4466 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4467 Leonard and Allan McRae.
4468
2b528732
DM
44692014-02-04 David S. Miller <davem@davemloft.net>
4470
4471 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4472 32-bit.
4473
0ff82463
AZ
44742014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4475
c01603f7
AZ
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4477 file
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4479 New file
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4481 file.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4483 file.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4485 New file.
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4487 file.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4489 file.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4491 New file.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4493 New file.
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4495 New file.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4497 New file.
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4499 New file.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4501 New file.
4502
45032014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4504
0ff82463
AZ
4505 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4506 * shlib-versions: Likewise.
4507
1695c773
AZ
45082014-02-04 Roland McGrath <roland@hack.frob.com>
4509 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4510
4511 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4512 (abilist-pattern): New variable, set to %-le.abilist.
4513
4514 * Makerules (abilist-pattern): New variable.
4515 (vpath): Use $(abilist-pattern) in place of %.abilist.
4516 (check-abi-% pattern rule): Likewise.
4517 (check-abi, update-abi): Likewise.
4518
6c0ce4b4
EW
45192014-02-04 Eric Wong <normalperson@yhbt.net>
4520
4521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4522
dc98b8f5
EW
45232014-02-04 Eric Wong <normalperson@yhbt.net>
4524
4525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4526
481e3524
CD
45272014-02-03 Carlos O'Donell <carlos@redhat.com>
4528
4529 * manual/startup.texi: Add next, previous, and top entries for
4530 the `Program Arguments' and `Environment Variables' nodes.
4531
375592d3
AO
45322014-02-03 Alexandre Oliva <aoliva@redhat.com>
4533
4534 * manual/macros.texi: Add comments before MTASC-safety macros.
4535
f54838ba
AO
4536 * manual/users.texi: Document MTASC-safety properties.
4537
909e12ad
AO
4538 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4539 pthread_getspecific, pthread_setspecific): Format with
4540 @deftypefun, and add @safety note.
4541 * manual/signal.texi: Move comments that analyze the above
4542 functions to their home place.
4543
fd3daba4
AM
45442014-02-03 Allan McRae <allan@archlinux.org>
4545
4546 * po/sl.po: Update Slovenian translation from translation project.
4547
597636d7
AO
45482014-02-02 Alexandre Oliva <aoliva@redhat.com>
4549
4550 * manual/time.texi (timegm): Add missing blank after @c.
4551 Reported by Joseph Myers <joseph@codesourcery.com>.
4552
ee196e3c
AO
45532014-02-01 Alexandre Oliva <aoliva@redhat.com>
4554
4555 * manual/check-safety.sh: New.
4556 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4557
f8d529d5
AO
4558 * manual/terminal.texi: Document MTASC-safety properties.
4559
de55fdf4
AO
4560 * manual/filesys.texi: Document MTASC-safety properties.
4561
c3299c08
AO
4562 * manual/errno.texi: Document MTASC-safety properties.
4563
06e90b14
AO
4564 * manual/intro.texi: Document safety identifiers and
4565 conditionals.
4566
1acd4371
AO
4567 * manual/string.texi (wcstok): Fix prototype.
4568 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4569
23e5b8cb
AO
4570 * manual/time.texi: Document MTASC-safety properties.
4571
11087373
AO
4572 * manual/string.texi: Document MTASC-safety properties.
4573
5da2c93d
AO
4574 * manual/threads.texi: Document MTASC-safety properties.
4575
171e9210
AO
4576 * manual/stdio.texi: Document MTASC-safety properties.
4577
d9e02532
AO
4578 * manual/syslog.texi: Document MTASC-safety properties.
4579
6af8bab7
AO
4580 * manual/sysinfo.texi: Document MTASC-safety properties.
4581
663b02d7
AO
4582 * manual/startup.texi: Document MTASC-safety properties.
4583
973f180b
AO
4584 * manual/socket.texi: Document MTASC-safety properties.
4585
8f3c25c8
AO
4586 * manual/signal.texi: Document MTASC-safety properties.
4587
542210fb
AO
45882014-01-31 Alexandre Oliva <aoliva@redhat.com>
4589
4590 * manual/setjmp.texi: Document MTASC-safety properties.
4591
433c45a2
AO
4592 * manual/search.texi: Document MTASC-safety properties.
4593
c8ce789c
AO
4594 * manual/resource.texi: Document MTASC-safety properties.
4595
19f5d29c
AO
4596 * manual/process.texi: Document MTASC-safety properties.
4597
e2dfb7f4
AO
4598 * manual/platform.texi: Document MTASC-safety properties.
4599
8c1413f5
AO
4600 * manual/pipe.texi: Document MTASC-safety properties.
4601
03483ada
AO
4602 * manual/pattern.texi: Document MTASC-safety properties.
4603
29e7e2df
AO
4604 * manual/message.texi: Document MTASC-safety properties.
4605
9f529d7c
AO
4606 [BZ #12751]
4607 * manual/memory.texi: Document MTASC-safety properties.
4608
27aaa791
AO
4609 * manual/math.texi: Document MTASC-safety properties.
4610
f2d58726
AO
4611 * manual/locale.texi: Document MTASC-safety properties.
4612
2cc3615c
AO
4613 * manual/llio.texi: Document MTASC-safety properties.
4614
d9f0ec97
AO
4615 * manual/libdl.texi: New.
4616
e7c4409a
AO
4617 * manual/lang.texi: Document MTASC-safety properties.
4618
27bdc63c
AO
4619 * manual/job.texi: Document MTASC-safety properties.
4620
a7b90ea9
AO
4621 * manual/getopt.texi: Document MTASC-safety properties.
4622
c49130e3
AO
4623 * manual/ctype.texi: Document MTASC-safety properties.
4624
0d23a5c1
MR
46252014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4626
4627 [BZ #16046]
4628 * csu/libc-tls.c (static_map): Remove variable.
4629 (__libc_setup_tls): Use main executable's link map for TLS data.
4630 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4631 casing for LM_ID_BASE and GL(dl_nns).
4632 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4633 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4634 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4635 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4636 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4637 member.
4638 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4639 l_phnum members.
4640
0037bb60
AO
46412014-01-30 Alexandre Oliva <aoliva@redhat.com>
4642
4643 * manual/debug.texi: Document MTASC-safety properties.
4644
409e00bd
L
46452014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4646
4647 [BZ #16510]
4648 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4649 of __x86_64__ when disabling x87 inline functions.
4650
86e60666
AO
46512014-01-29 Alexandre Oliva <aoliva@redhat.com>
4652
4653 * manual/charset.texi: Document MTASC-safety properties.
4654
76167637
AO
4655 * manual/crypt.texi: Document MTASC-safety properties.
4656
e567f2a0
AO
4657 * manual/conf.texi: Document MTASC-safety properties.
4658
b719dafd
AO
4659 * manual/arith.texi: Document MTASC-safety properties.
4660
4a16c662
AO
4661 * manual/argp.texi: Document MTASC-safety properties.
4662
0a57b83e
AO
4663 * manual/macros.texi: Introduce macros to document multi
4664 thread, asynchronous signal and asynchronous cancellation
4665 safety properties.
4666 * manual/intro.texi: Introduce the properties themselves.
4667
feab2397
KK
46682014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4669
4670 * sysdeps/sh/sh4/Makefile: New file.
4671
1c0d11bc
AS
46722014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4673
4674 * math/gen-libm-test.pl ($srcdir): New variable.
4675 ($auto_input): Use it.
4676
af37a8a3
SP
46772014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4678
d7b00f98
SP
4679 [BZ #16506]
4680 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4681 access beyond array bounds when parsing netgroups file.
4682
af37a8a3
SP
4683 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4684 the old buffer before realloc.
4685
0c00f062
AM
46862014-01-27 Allan McRae <allan@archlinux.org>
4687
4688 * po/fr.po: Update French translation from translation project.
4689
7d69a1b0
KK
46902014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4691
4692 * sysdeps/sh/libm-test-ulps: Regenerate.
4693
6e697ff7
DM
46942014-01-24 David S. Miller <davem@davemloft.net>
4695
4696 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4697
9cadb35c
KK
46982014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4699
4700 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4701 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4702
5d41dadf
SP
47032013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4704
4705 [BZ #16474]
4706 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4707 string pointers after reallocation.
4708
0bad441c
KK
47092014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4710
4711 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4712 __SH4A__ instead of __SH_FPU_ANY__.
4713
7007c661
KK
47142014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4715
4716 * sysdeps/sh/fpu_control.h: New file.
4717 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4718 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4719 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4720 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4721 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4722 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4723 * sysdeps/sh/sys/ucontext.h: Remove.
4724 * sysdeps/sh/sys: Remove directory.
4725
0f0c35e4
AK
47262014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4727
4728 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4729 s390/sys/ucontext.h.
4730 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4731 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4732
4959e284
L
47332014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4734
4735 [BZ #15605]
4736 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4737
d98720e0
AZ
47382014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4739
4740 [BZ#16431]
4741 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4742 Adjust the vDSO correctly for internal calls.
4743 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4744
91cbd0bc
AM
47452014-01-20 Allan McRae <allan@archlinux.org>
4746
4747 * po/ca.po: Update Catalan translation from translation project.
4748
7a02cfad
MF
47492014-01-16 Mike Frysinger <vapier@gentoo.org>
4750
4751 * sysdeps/s390/sotruss-lib.c: New file.
4752
736c304a
AZ
47532014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4754
4755 [BZ#16430]
6e077ee5 4756 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4757 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4758 local calls issues by not having a PLT stub required for IFUNC calls.
4759 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4760
94d0cea0
JM
47612014-01-16 Joseph Myers <joseph@codesourcery.com>
4762
4763 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4764 * math/test-fpucw-static.c: Likewise.
4765
980cb518
SP
47662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4767
4768 [BZ #16453]
4769 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4770
2393fc01
AZ
47712014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4772
4773 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4774 implementation for powerpc.
4775
d359bcc2
OB
47762014-01-15 Ondřej Bílka <neleai@seznam.cz>
4777
4778 [BZ #14782]
4779 * sysdeps/posix/system.c (__libc_system): Do not enable
4780 asynchronous cancellation.
4781
7beb48cb
AK
47822014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4783
4784 [BZ #16427]
4785 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4786 handling only for numbers special also in the IEEE case.
4787
c20d5bf5
AK
47882014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4789
4790 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4791
e83bd4ee
AM
47922014-01-11 Allan McRae <allan@archlinux.org>
4793
76d0ea69
AM
4794 * po/bg.po: Update Bulgarian translation from translation project.
4795
e83bd4ee
AM
4796 * po/de.po: Update German translation from translation project.
4797
bc2ba20a
RM
47982014-01-10 Roland McGrath <roland@hack.frob.com>
4799
4800 * sysdeps/generic/gcc-compat.h: New file.
4801
649ecea2
SP
48022014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4803
4804 * benchtests/asin-inputs: Correct slow inputs.
4805 * benchtests/acos-inputs: Likewise.
4806
1b19c006
AM
48072014-01-10 Allan McRae <allan@archlinux.org>
4808
a46dab08
AM
4809 * po:sv.po: Update Swedish translation from translation project.
4810
421df74a
AM
4811 * po/vi.po: Update Vietnamese translation from translation project.
4812
d61c51a7
AM
4813 * po/eo.po: Update Esperanto translation from translation project.
4814
0339a319
AM
4815 * po/cs.po: Update Czech translation from translation project.
4816
94ad3e99
AM
4817 * po/nl.po: Update Dutch translation from translation project.
4818
e349ca71
AM
4819 * po/pl.po: Update Polish translation from translation project.
4820
ddf930c1
AM
4821 * po/ru.po: Update Russian translation from translation project.
4822
1b19c006
AM
4823 * po/uk.po: Update Ukrainian translation from translation project.
4824
9f236c49
BM
48252014-01-08 Brooks Moses <bmoses@google.com>
4826
4827 * elf/dl-load.c: Fix comment typo.
4828
cd6701cf
CD
48292014-01-08 Carlos O'Donell <carlos@redhat.com>
4830
4831 * po/header.pot: Rename to...
4832 * po/pot.header: ... this.
4833 * po/Makefile: Use pot.header.
4834
66671c84
YK
48352014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4836 Maxim Kuvyrkov <maxim@kugelworks.com>
4837
4838 [BZ #16394]
cd6701cf
CD
4839 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4840 SRC and DEST against LEN.
66671c84 4841
38f34581
AZ
48422014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4843
4844 [BZ #16414]
4845 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4846 implementation.
4847 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4848
48492014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4850
4851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4852
4c327f2a
JM
48532014-01-08 Joseph Myers <joseph@codesourcery.com>
4854
4855 [BZ #16408]
4856 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4857 for large positive arguments.
4858
b821f414
JM
48592014-01-07 Joseph Myers <joseph@codesourcery.com>
4860
1f0f2067
JM
4861 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4862
a5a326f6
JM
4863 * math/auto-libm-test-in: Mark various tests with
4864 xfail-rounding:ldbl-128ibm.
4865 * math/auto-libm-test-out: Regenerated.
4866
b821f414
JM
4867 [BZ #16407]
4868 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4869 Increase overflow threshold.
4870
94c8a4bc
OB
48712014-01-07 Ondřej Bílka <neleai@seznam.cz>
4872
4873 [BZ #14286]
4874 * stdio-common/vfprintf.c: Check for integer overflow.
4875
87ded0c3
AK
48762014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4877
4878 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4879 the first argument and return value of __tls_get_addr_internal.
4880
c5eebdd0
AK
48812014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4882
4883 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4884 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4885
05d138ef
AK
48862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4887
4888 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4889 * sysdeps/s390/rtld-global-offsets.sym: New file.
4890 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4891 GLIBC_2.19 symbol.
4892 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4893 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4894 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4895 ... this.
4896 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4897 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4898 ... this.
4899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4900 Regenerate.
4901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4902 Regenerate.
4903 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4904 halfs of GPRs for high_gprs contexts.
4905 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4906 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4907 field.
4908 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4909 uc_flags field.
4910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4911 64 bit versions:
4912 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4913 for high GPRs (uc_high_gprs) and for future extensions
4914 (__reserved).
4915 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4916 for future extensions (__reserved).
4917 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4918 64 bit versions:
4919 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4920 SC_HIGHGPRS offset definition.
4921 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4922 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4923
93a45ff1
AK
49242014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4925
4926 * Versions.def: Add GLIBC_2.19 for libpthread.
4927 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4928 siglongjmp for libpthread with GLIBC_2.19 symver.
4929 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4930 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4931 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4932 * sysdeps/s390/__longjmp.c: New file.
4933 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4934 * sysdeps/s390/longjmp.c: New file.
4935 * sysdeps/s390/setjmp.S: New file.
4936 * sysdeps/s390/sigjmp.S: New file.
4937 * sysdeps/s390/v1-longjmp.c: New file.
4938 * sysdeps/s390/v1-setjmp.h: New file.
4939 * sysdeps/s390/v1-sigjmp.c: New file.
4940 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4941 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4942 GLIBC_2.19 version.
4943 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4944 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4945 versioned symbols for ____longjmp_chk.
4946 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4947 Likewise.
4948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4949 Regenerate.
4950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4951 Regenerate.
4952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4953 Regenerate.
4954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4955 Regenerate.
4956 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4957 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4958 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4959 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4960 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4961 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4962 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4963 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4964 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4965 * sysdeps/s390/rtld-__longjmp.c: New file.
4966 * sysdeps/s390/rtld-setjmp.S: New file.
4967
eb3fc44b
JM
49682014-01-06 Joseph Myers <joseph@codesourcery.com>
4969
4970 [BZ #16400]
4971 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4972 Return -__logl (x) for small positive arguments without evaluating
4973 a polynomial.
4974
9341dde4
MF
49752014-01-06 Mike Frysinger <vapier@gentoo.org>
4976
4977 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4978 Rename to ...
4979 (__ptrace_peeksiginfo_args): ... this.
4980 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4981 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4983
4cff0293
AM
49842014-01-06 Allan McRae <allan@archlinux.org>
4985
4986 * inet/netinet/in.h: Fix typo in comment.
4987
75595dcf
AJ
49882014-01-05 Andreas Jaeger <aj@suse.de>
4989
4990 * sysdeps/i386/fpu/libm-test-ulps: Update.
4991
79c1e109
AM
49922014-01-05 Allan McRae <allan@archlinux.org>
4993
dd804818
AM
4994 * po/libc.pot: Regenerated.
4995
79c1e109
AM
4996 * malloc/memusagestat.c: Fix gettext call formatting.
4997
0c813d1f
SK
49982014-01-04 Sami Kerola <kerolasa@iki.fi>
4999
5000 * nscd/nscd.c: Improve usage() output.
5001
20f4a8d9
MF
50022014-01-04 Mike Frysinger <vapier@gentoo.org>
5003
5004 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5005 * sysdeps/unix/sysv/linux/configure: Regenerated.
5006 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5007 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5008
22562bb2
JM
50092014-01-03 Joseph Myers <joseph@codesourcery.com>
5010
5011 [BZ #16390]
5012 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5013 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5014
d7ad2d9b
AZ
50152014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5016
5017 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5018 extra tokens at end of #undef directive.
5019 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5022
7dd009d8
JM
50232014-01-03 Joseph Myers <joseph@codesourcery.com>
5024
24db925a
JM
5025 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5026
7dd009d8
JM
5027 * math/auto-libm-test-in: Mark various tests with
5028 xfail-rounding:ldbl-128ibm.
5029 * math/auto-libm-test-out: Regenerated.
5030
396e3ecf
JM
50312014-01-02 Joseph Myers <joseph@codesourcery.com>
5032
819e5d50
JM
5033 [BZ #16386]
5034 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5035 numbers with subnormal high part when calculating exponent.
5036
90b6a1e5
JM
5037 [BZ #16385]
5038 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5039 fabs.
5040
396e3ecf
JM
5041 [BZ #16384]
5042 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5043 M_LN2l.
5044 (__ieee754_acoshl): Use __log1pl not __log1p.
5045
6c8dbf00
OB
50462013-01-02 Ondřej Bílka <neleai@seznam.cz>
5047
5048 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5049 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5050 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5051 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5052 Convert to GNU style.
5053 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5054 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5055 memalign_check, __malloc_set_state): Likewise.
5056 * malloc/mallocbug.c (main): Likewise.
5057 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5058 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5059 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5060 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5061 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5062 * malloc/malloc.h: Likewise.
5063 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5064 memalignhook, reallochook, mabort): Likewise.
5065 * malloc/mcheck.h: Likewise.
5066 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5067 mmap64, mremap, munmap, dest): Likewise.
5068 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5069 * malloc/morecore.c (__default_morecore): Likewise.
5070 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5071 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5072 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5073 print_and_abort): Likewise.
5074 * malloc/obstack.h: Likewise.
5075 * malloc/set-freeres.c (__libc_freeres): Likewise.
5076 * malloc/tst-mallocstate.c (main): Likewise.
5077 * malloc/tst-mtrace.c (main): Likewise.
5078 * malloc/tst-realloc.c (do_test): Likewise.
5079
d4124212
SP
50802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5081
9a3c6a6f
SP
5082 [BZ #16366]
5083 * nscd/netgroupcache.c (do_notfound): New function.
5084 (addgetnetgrentX): Use it.
5085
d4124212
SP
5086 [BZ # 16365]
5087 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5088 NSS_STATUS_NOTFOUND.
5089
97b9a009
JM
50902014-01-01 Joseph Myers <joseph@codesourcery.com>
5091
5092 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5094
d4697bc9
AM
50952014-01-01 Allan McRae <allan@archlinux.org>
5096
ddb3687f
AM
5097 * scripts/update-copyrights: Update configure input file suffix.
5098
88726d48
AM
5099 * NEWS: Update copyright year.
5100 * catgets/gencat.c: Likewise.
5101 * csu/version.c: Likewise.
5102 * debug/catchsegv.sh: Likewise.
5103 * debug/pcprofiledump.c: Likewise.
5104 * debug/xtrace.sh: Likewise.
5105 * elf/ldconfig.c: Likewise.
5106 * elf/ldd.bash.in: Likewise.
5107 * elf/pldd.c: Likewise.
5108 * elf/sotruss.ksh: Likewise.
5109 * elf/sprof.c: Likewise.
5110 * iconv/iconv_prog.c: Likewise.
5111 * iconv/iconvconfig.c: Likewise.
5112 * locale/programs/locale.c: Likewise.
5113 * locale/programs/localedef.c: Likewise.
5114 * login/programs/pt_chown.c: Likewise.
5115 * malloc/memusage.sh: Likewise.
5116 * malloc/memusagestat.c: Likewise.
5117 * malloc/mtrace.pl: Likewise.
5118 * manual/libc.texinfo: Likewise.
5119 * nscd/nscd.c: Likewise.
5120 * nss/getent.c: Likewise.
5121 * nss/makedb.c: Likewise.
5122 * posix/getconf.c: Likewise.
5123 * scripts/test-installation.pl: Likewise.
5124
d4697bc9
AM
5125 * All files with FSF copyright notices: Update copyright dates
5126 using scripts/update-copyrights.
5127 * intl/plural.c: Regenerated.
5128 * locale/programs/charmap-kw.h: Likewise.
5129 * locale/programs/locfile-kw.h: Likewise.
5130
c8590f9d
MF
51312013-12-31 Mike Frysinger <vapier@gentoo.org>
5132
5133 * sysdeps/unix/sysv/linux/configure: Regenerated.
5134 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5135 the linux/fanotify.h header.
5136 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5137 HAVE_LINUX_FANOTIFY_H is defined.
5138
b19221b9
SP
51392013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5140
dd1d85e5
SP
5141 * benchtests/cos-inputs: New inputs.
5142 * benchtests/sin-inputs: Likewise.
5143
1acbb90f
SP
5144 * benchtests/atan-inputs: New inputs. Fix name of multiple
5145 precision fallback inputs.
5146
4c012ed3
SP
5147 * benchtests/atanh-inputs: New inputs.
5148 * benchtests/tanh-inputs: Likewise.
5149
eff98324
SP
5150 * benchtests/acosh-inputs: New inputs.
5151 * benchtests/asinh-inputs: Likewise.
5152
ce641152
SP
5153 * benchtests/cosh-inputs: New inputs.
5154 * benchtests/sinh-inputs: Likewise.
5155
b19221b9
SP
5156 * benchtests/acos-inputs: Add more inputs.
5157 * benchtests/asin-inputs: Likewise.
5158
030a4976 51592013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5160
030a4976 5161 [BZ #16375]
9dcc8f11
VS
5162 * manual/arith.texi: Fix spelling.
5163 * manual/charset.texi: Likewise.
5164 * manual/errno.texi: Likewise.
5165 * manual/filesys.texi: Likewise.
5166 * manual/lang.texi: Likewise.
5167 * manual/llio.texi: Likewise.
5168 * manual/locale.texi: Likewise.
5169 * manual/message.texi: Likewise.
5170 * manual/resource.texi: Likewise.
5171 * manual/search.texi: Likewise.
5172 * manual/setjmp.texi: Likewise.
5173 * manual/stdio.texi: Likewise.
5174 * manual/string.texi: Likewise.
5175 * manual/sysinfo.texi: Likewise.
5176 * manual/time.texi: Likewise.
5177
11520a57
CD
51782013-12-27 Carlos O'Donell <carlos@redhat.com>
5179
5180 * po/sl.po: New file.
5181
471103ae
MF
51822013-12-27 Mike Frysinger <vapier@gentoo.org>
5183
5184 * .gitignore: Add core/.gdbinit/.gdb_history.
5185
6c9642ed
AM
51862013-12-27 Allan McRae <allan@archlinux.org>
5187
5188 [BZ #16369]
5189 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5190 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5191
3f637079
BM
51922013-12-24 Brooks Moses <bmoses@google.com>
5193
5194 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5195 all compilers that claim C++98 compliance, not just GCC.
5196 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5197 Likewise.
5198
abc26e99
MK
51992013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5200
5201 * NEWS: Restore accidentally deleted bug-fix entries.
5202
362b47fe
MK
52032013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5204 Ondřej Bílka <neleai@seznam.cz>
5205
5206 [BZ #15073]
5207 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5208 have_lock.
362b47fe 5209
b9bcbbcb
OB
52102013-12-23 Ondřej Bílka <neleai@seznam.cz>
5211
5212 [BZ #12986]
5213 * manual/stdio.texi (String Input Conversions): Clarify that character
5214 classes are not supported.
5215
fb55fcd2
AZ
52162013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5219
ef7344f0
JM
52202013-12-22 Joseph Myers <joseph@codesourcery.com>
5221
4f40e4b3
JM
5222 [BZ #16337]
5223 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5224 Calculate results for small negative arguments directly rather
5225 than using reflection formula with special underflow handling.
5226
ef7344f0
JM
5227 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5228 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5229 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5230 (fchflags): Likewise.
5231 (revoke): Likewise.
5232 (setlogin): Likewise.
5233 (sigaltstack): Likewise.
5234 (wait4): Likewise.
5235 (sigblock): Remove.
5236 (sigsetmask): Likewise.
5237 (wait3): Likewise.
5238 (waitpid): Likewise.
5239 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5240 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5241 file.
5242 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5243 * sysdeps/unix/bsd/Makefile: ... here.
5244 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5245 * sysdeps/unix/bsd/Versions: ... here.
5246 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5247 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5248 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5249 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5250 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5251 * sysdeps/unix/bsd/sigblock.c: ... here.
5252 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5253 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5254 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5255 * sysdeps/unix/bsd/sigvec.c: ... here.
5256 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5257 * sysdeps/unix/bsd/tcdrain.c: ... here.
5258 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5259 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5260 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5261 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5262 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5263 * sysdeps/unix/bsd/wait.c: ... here.
5264 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5265 * sysdeps/unix/bsd/wait3.c: ... here.
5266 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5267 * sysdeps/unix/bsd/waitpid.c: ... here.
5268
5b0626b9
JM
52692013-12-21 Joseph Myers <joseph@codesourcery.com>
5270
5271 [BZ #16356]
5272 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5273 round-to-nearest for [!USE_AS_EXPM1L].
5274 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5275 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5276 more tests of exp and exp10. Expect some exp10 tests to miss
5277 exceptions or fail in directed rounding modes.
5278 * math/auto-libm-test-out: Regenerated.
5279 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5280 (exp10_test_tonearest): New function.
5281 (exp10_towardzero_test_data): New array.
5282 (exp10_test_towardzero): New function.
5283 (exp10_downward_test_data): New array.
5284 (exp10_test_downward): New function.
5285 (exp10_upward_test_data): New array.
5286 (exp10_test_upward): New function.
5287 (main): Call the new functions.
5288 * sysdeps/i386/fpu/libm-test-ulps: Update.
5289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5290
7fda5682
JM
52912013-12-20 Joseph Myers <joseph@codesourcery.com>
5292
31e3a405
JM
5293 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5294 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5295 * math/auto-libm-test-out: Regenerated.
5296 * math/libm-test.inc (acosh_test_data): Add more tests.
5297 (atanh_test_data): Likewise.
5298 (ceil_test_data): Likewise.
5299 (copysign_test_data): Likewise.
5300 * sysdeps/i386/fpu/libm-test-ulps: Update.
5301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5302
85bff96a
JM
5303 * timezone/checktab.awk: Update from tzcode 2013i.
5304 * timezone/private.h: Likewise.
5305 * timezone/scheck.c: Likewise.
5306 * timezone/tzfile.h: Likewise.
5307 * timezone/tzselect.ksh: Likewise.
5308 * timezone/zdump.c: Likewise.
5309 * timezone/zic.c: Likewise.
5310
b7867a3b
JM
5311 * math/auto-libm-test-in: Add tests of cpow.
5312 * math/auto-libm-test-out: Regenerated.
5313 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5314 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5315 mpc_cc_c.
5316 (func_calc_desc): Add mpc_cc_c union field.
5317 (test_functions): Add cpow.
5318 (special_fill_2pi): New function.
5319 (special_real_inputs): Add 2pi.
5320 (calc_generic_results): Handle mpc_cc_c.
5321 * sysdeps/i386/fpu/libm-test-ulps: Update.
5322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5323
7fda5682
JM
5324 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5325 csqrt, ctan and ctanh.
5326 * math/auto-libm-test-out: Regenerated.
5327 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5328 (TEST_COND_x86): Likewise.
5329 (ccos_test_data): Use AUTO_TESTS_c_c.
5330 (ccosh_test_data): Likewise.
5331 (cexp_test_data): Likewise.
5332 (clog_test_data): Likewise.
5333 (csqrt_test_data): Likewise.
5334 (ctan_test_data): Likewise.
5335 (ctan_tonearest_test_data): Likewise.
5336 (ctan_towardzero_test_data): Likewise.
5337 (ctan_downward_test_data): Likewise.
5338 (ctan_upward_test_data): Likewise.
5339 (ctanh_test_data): Likewise.
5340 (ctanh_tonearest_test_data): Likewise.
5341 (ctanh_towardzero_test_data): Likewise.
5342 (ctanh_downward_test_data): Likewise.
5343 (ctanh_upward_test_data): Likewise.
5344 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5345 mpc_c_c.
5346 (func_calc_desc): Add mpc_c_c union field.
5347 (FUNC_mpc_c_c): New macro.
5348 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5349 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5350 ctanh.
5351 (special_fill_min_subnorm_p120): New function.
5352 (special_real_inputs): Add min_subnorm_p120.
5353 (calc_generic_results): Handle mpc_c_c.
5354 * sysdeps/i386/fpu/libm-test-ulps: Update.
5355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5356
5ff8d60e
SP
53572013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5358
392dd2de
SP
5359 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5360 do_sin_slow): New functions.
5361 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5362 cslow2, csloww1, csloww2): Use the new functions.
5363
84ba214c
SP
5364 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5365 Use M to change sign of result instead of X. Assume X is
5366 positive.
5367 (csloww1): Likewise.
5368 (__sin): Adjust.
5369 (__cos): Adjust.
5370
975195e4
SP
5371 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5372 arguments A and DA.
5373 (__sin): Adjust.
5374 (__cos): Likewise.
5375
5ff8d60e
SP
5376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5377 (__cos): Likewise.
5378 (sloww1): Don't adjust sign of DX.
5379 (csloww1): Likewise.
5380 (sloww2): Use X directly and don't adjust sign of DX.
5381 (csloww2): Likewise.
5382
eb983568
JM
53832013-12-19 Joseph Myers <joseph@codesourcery.com>
5384
64a17f1a
JM
5385 * math/auto-libm-test-in: Add tests of cabs and carg.
5386 * math/auto-libm-test-out: Regenerated.
5387 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5388 (carg_test_data): Likewise.
5389 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5390 mpc_c_f.
5391 (func_calc_desc): Add mpc_c_f union field.
5392 (test_functions): Add cabs and carg.
5393 (calc_generic_results): Handle mpc_c_f.
5394
eb983568
JM
5395 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5396 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5397 as a macro and a compat symbol.
5398 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5399 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5400 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5401 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5402 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5403 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5404 not use .hidden.
5405 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5406 Likewise.
5407 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5408 Likewise.
5409 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5410 Likewise.
5411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5412 Likewise.
5413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5414 Likewise.
5415 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5416 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5417 from GLIBC_2.3.2.
5418
6eeb678a
AZ
54192013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5420
5421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5422
6f6fc482
JM
54232013-12-19 Joseph Myers <joseph@codesourcery.com>
5424
21fea2e2
JM
5425 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5426 trailing whitespace removed.
5427 * scripts/config.guess: Update to version 2013-11-29.
5428 * scripts/config.sub: Update to version 2013-10-01.
5429
6f6fc482
JM
5430 * math/auto-libm-test-in: Add tests of sincos.
5431 * math/auto-libm-test-out: Regenerated.
5432 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5434 mpfr_f_11.
5435 (func_calc_desc): Add mpfr_f_11 union field.
5436 (test_functions): Add sincos.
5437 (calc_generic_results): Handle mpfr_f_11.
5438 * sysdeps/i386/fpu/libm-test-ulps: Update.
5439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440
83f5c32d
AS
54412013-12-19 Andreas Schwab <schwab@suse.de>
5442
5443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5444 CALL_MCOUNT.
5445 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5447 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5448
c688b419
JM
54492013-12-19 Joseph Myers <joseph@codesourcery.com>
5450
335ee092
JM
5451 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5452 * sysdeps/i386/fpu/libm-test-ulps: Update.
5453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5454
f88acd39
JM
5455 [BZ #16293]
5456 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5457 round-to-nearest mode when using frndint.
5458 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5459 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5460 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5461 Likewise.
5462 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5463 sinh test to fail.
5464 * math/auto-libm-test-out: Regenerated.
5465 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5466 (TEST_COND_x86): Likewise.
5467 (expm1_tonearest_test_data): New array.
5468 (expm1_test_tonearest): New function.
5469 (expm1_towardzero_test_data): New array.
5470 (expm1_test_towardzero): New function.
5471 (expm1_downward_test_data): New array.
5472 (expm1_test_downward): New function.
5473 (expm1_upward_test_data): New array.
5474 (expm1_test_upward): New function.
5475 (main): Run the new test functions.
5476 * sysdeps/i386/fpu/libm-test-ulps: Update.
5477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5478
c688b419
JM
5479 * include/features.h: Update comment documenting feature test
5480 macros. Mention _DEFAULT_SOURCE in comment.
5481 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5482 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5483 _BSD_SOURCE and _SVID_SOURCE.
5484 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5485 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5486 !_SVID_SOURCE]: Likewise.
5487 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5488 (__USE_POSIX_IMPLICITLY): Define.
5489 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5490 (_POSIX_SOURCE): Undefine and redefine.
5491 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5492 (_POSIX_C_SOURCE): Likewise.
5493 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5494 (Feature Test Macros): Update documentation of default features.
5495
9f6e964c
RS
54962013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5497
5498 * benchtests/Makefile: Add bench-strtok.
5499 * benchtests/bench-strtok.c: New file: strtok benchtest.
5500
ee0a148a
AM
55012013-12-19 Allan McRae <allan@archlinux.org>
5502
5503 * manual/install.texi: Suppress menu for plain text output.
5504 * INSTALL: Regenerated.
5505
b9ab448f
BM
55062013-12-18 Brooks Moses <bmoses@google.com>
5507
5508 [BZ #15846]
5509 * misc/getauxval.c: Include errno.h.
5510 (__getauxval): Set errno to ENOENT if the requested type is not
5511 found.
5512 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5513 don't declare with __attribute_const__.
5514 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5515 * manual/startup.texi: Document that getauxval sets errno.
5516
23776487
JM
55172013-12-18 Joseph Myers <joseph@codesourcery.com>
5518
f889953b
JM
5519 * math/auto-libm-test-in: Add tests of jn and yn.
5520 * math/auto-libm-test-out: Regenerated.
5521 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5522 (yn_test_data): Likewise.
5523 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5524 mpfr_if_f.
5525 (func_calc_desc): Add mpfr_if_f union field.
5526 (FUNC_mpfr_if_f): New macro.
5527 (test_functions): Add jn and yn.
5528 (calc_generic_results): Assert type of second input for
5529 mpfr_ff_f. Handle mpfr_if_f.
5530 (output_for_one_input_case): Disable all checking for arguments
5531 fitting floating-point types in case of an integer argument.
5532 * sysdeps/i386/fpu/libm-test-ulps: Update.
5533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5534
23776487
JM
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5536 Don't expect fegetround reference in libm.so.
5537
cb756c6d
MS
55382013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5539
5540 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5541 $(config-cflags-nofma).
5542
2dec468f
JM
55432013-12-18 Joseph Myers <joseph@codesourcery.com>
5544
5953eb3a
JM
5545 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5546 * math/auto-libm-test-out: Regenerated.
5547
2dec468f
JM
5548 [BZ #16338]
5549 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5550 to determine exponent and adjust argument to have exponent of -1.
5551 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5552 log2.
5553 * math/auto-libm-test-out: Regenerated.
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5556
4d84e6ad
OB
55572013-12-18 Ondřej Bílka <neleai@seznam.cz>
5558
5559 * manual/probes.texi: Remove cases when per-thread arenas are
5560 disabled.
5561
1818483b
AS
55622013-12-18 Andreas Schwab <schwab@suse.de>
5563
5564 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5565 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5566 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5567 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5568 * sysdeps/i386/i686/multiarch/Makefile: Update.
5569 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5570
25de95bf
JM
55712013-12-17 Joseph Myers <joseph@codesourcery.com>
5572
5573 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5574 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5575
674762d9
PE
55762013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5577
ed27ed83 5578 [BZ #15968]
0748546f
PE
5579 Support TZ transition times < 00:00:00.
5580 This is needed for version-3 tz-format files; it supports time
5581 stamps past 2037 for America/Godthab (the only entry in the tz
5582 database for which this change is relevant).
5583 * manual/time.texi (TZ Variable): Document transition times
5584 from -167:59:59 through -00:00:01.
5585 * time/tzset.c (tz_rule): Time of day is now signed.
5586 (__tzset_parse_tz): Parse negative time of day.
5587
4480e934
PE
5588 Document TZ transition times >= 25:00:00.
5589 * manual/time.texi (TZ Variable): Document transition times from
5590 25:00:00 through 167:59:59. These are already supported, and this
5591 support will help with version-3 tz-format files.
5592
69947401
PE
5593 * manual/time.texi (TZ Variable): Modernize North America example
5594 to reflect current (i.e., 2007-and-later) daylight saving rules.
5595
674762d9
PE
5596 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5597
7011c262
JM
55982013-12-17 Joseph Myers <joseph@codesourcery.com>
5599
2fc6557e
JM
5600 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5601 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5604 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5605 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5606 * sysdeps/unix/bsd/clock.c: Likewise.
5607 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5608 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5609 * sysdeps/unix/bsd/init-posix.c: Likewise.
5610 * sysdeps/unix/bsd/poll.c: Likewise.
5611 * sysdeps/unix/bsd/ptsname.c: Likewise.
5612 * sysdeps/unix/bsd/seekdir.c: Likewise.
5613 * sysdeps/unix/bsd/setegid.c: Likewise.
5614 * sysdeps/unix/bsd/seteuid.c: Likewise.
5615 * sysdeps/unix/bsd/setgid.c: Likewise.
5616 * sysdeps/unix/bsd/setrgid.c: Likewise.
5617 * sysdeps/unix/bsd/setruid.c: Likewise.
5618 * sysdeps/unix/bsd/setsid.c: Likewise.
5619 * sysdeps/unix/bsd/setuid.c: Likewise.
5620 * sysdeps/unix/bsd/sigaction.c: Likewise.
5621 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5622 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5623 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5624 * sysdeps/unix/bsd/telldir.c: Likewise.
5625 * sysdeps/unix/bsd/times.c: Likewise.
5626 * sysdeps/unix/bsd/usleep.c: Likewise.
5627
029c7b25
JM
5628 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5629 ($(objpfx)libbsd-compat.a): Remove rule.
5630
7011c262
JM
5631 * include/features.h (__FAVOR_BSD): Do not define.
5632 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5633 features conflicting with POSIX.
5634 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5635 (_BSD_SOURCE): Remove description of not being a subset of other
5636 feature test macros.
5637 * manual/job.texi (getpgrp): Do not document BSD version.
5638 (getpgid): Do not document by reference to BSD getpgrp.
5639 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5640 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5641 * signal/signal.h [__FAVOR_BSD]: Likewise.
5642 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5643 instead of making contents conditional on [__FAVOR_BSD].
5644 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5645
affb6f78
AZ
56462013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5647
5648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5649
c88769dd
JM
56502013-12-17 Joseph Myers <joseph@codesourcery.com>
5651
6432a540
JM
5652 [BZ #16314]
5653 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5654 values below 2**-450, not 2**-500.
5655 * math/auto-libm-test-in: Don't allow spurious underflow from
5656 hypot.
5657 * math/auto-libm-test-out: Regenerated.
5658
c88769dd
JM
5659 [BZ #16316]
5660 [BZ #16330]
5661 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5662 values of ha and hb and sort them after adjusting subnormal
5663 arguments.
5664 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5665 Likewise.
5666 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5667 values of ea and eb and sort them after adjusting subnormal
5668 arguments.
5669 * math/auto-libm-test-in: Do not expect some hypot tests of
5670 subnormals to fail. Add more hypot tests.
5671 * math/auto-libm-test-out: Regenerated.
5672
29618f6b
KK
56732013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5674
5675 [BZ #13304]
5676 * sysdeps/sh/s_fma.c: New file.
5677 * sysdeps/sh/s_fmaf.c: New file.
5678 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5679 version.
5680 * sysdeps/sh/Implies: Add sh/soft-fp.
5681
eacfdfbf
RM
56822013-12-16 Roland McGrath <roland@hack.frob.com>
5683
5684 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5685 level of indirection to members `objname', `errstring', `malloced'.
5686 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5687 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5688 it as the __longjmp argument (just pass 1 instead).
5689 (_dl_catch_error): Initialize C with argument pointers and address of
5690 volatile local ERRCODE rather than copying values out of C at return.
5691
ff362e5b
JM
56922013-12-16 Joseph Myers <joseph@codesourcery.com>
5693
5694 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5695 * math/auto-libm-test-out: Regenerated.
5696 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5697 (hypot_test_data): Likewise.
5698 (pow_test_data): Likewise.
5699 (pow_tonearest_test_data): Likewise.
5700 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5701 mpfr_ff_f.
5702 (func_calc_desc): Add mpfr_ff_f union field.
5703 (FUNC_mpfr_ff_f): New macro.
5704 (test_functions): Add atan2, hypot and pow.
5705 (special_fill_min): New function.
5706 (special_fill_minus_min): Likewise.
5707 (special_fill_min_subnorm): Likewise.
5708 (special_fill_minus_min_subnorm): Likewise.
5709 (special_real_inputs): Add min, -min, min_subnorm and
5710 -min_subnorm.
5711 (calc_generic_results): Handle mpfr_ff_f.
5712 * sysdeps/i386/fpu/libm-test-ulps: Update.
5713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5714
5764c27f
WN
57152013-12-16 Will Newton <will.newton@linaro.org>
5716
5717 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5718 (Aligned Memory Blocks): Add documentation for aligned_alloc
5719 and suggest it as an alternative to posix_memalign.
5720 (Hooks for Malloc): Document __memalign_hook is also called
5721 for aligned_alloc. (Summary of Malloc): Add summary for
5722 aligned alloc. Document __memalign_hook is also called
5723 for aligned_alloc.
5724
0a096e44
WN
57252013-12-16 Will Newton <will.newton@linaro.org>
5726
5727 * manual/memory.texi (Malloc Examples): Clarify default
5728 alignment documentation. Suggest posix_memalign rather
5729 than memalign or valloc.
5730 (Aligned Memory Blocks): Remove suggestion to use memalign
5731 or valloc. Remove obsolete comment about BSD.
5732 Document memalign errno values and mark the function obsolete.
5733 Document posix_memalign returned error codes. Mark valloc
5734 as obsolete. (Hooks for Malloc): __memalign_hook is also
5735 called for posix_memalign and valloc.
5736 (Summary of Malloc): Add posix_memalign to function summary.
5737 __memalign_hook is also called for posix_memalign and valloc.
5738
8d561986
SP
57392013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5740
5741 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5742 TAYLOR_SIN.
5743 (__sin): Adjust.
5744 (__cos): Likewise.
5745 (sloww): Use mynumber union. Expand ternary operator into
5746 if-else statements.
5747 (cslow): use mynumber union.
5748
73616a74
AM
57492013-12-16 Allan McRae <allan@archlinux.org>
5750
9e8ac24b
AM
5751 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5752 * configure: Regenerated.
5753
6f8e37eb
AM
5754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5755
8894bad3
AM
5756 [BZ #14120]
5757 * configure.ac: Added --enable-maintainer-mode. Check for
5758 autoconf when enabled.
5759 * configure: Regenerated.
5760
73616a74
AM
5761 * nscd/nscd.service: New file.
5762 * nscd/nscd.tmpfiles: New file.
5763
584b18eb
OB
57642013-12-14 Ondřej Bílka <neleai@seznam.cz>
5765
5766 [BZ #12100]
5767 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5768 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5769 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5770 (strstr): Add __strstr_sse2_unaligned ifunc.
5771 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5772 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5773 (strcasestr): Remove __strcasestr_sse42 ifunc.
5774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5777
8a5c7897
KK
57782013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5779
5780 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5781 * sysdeps/sh/bits/fenv.h: ... here.
5782 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5783
fd712ef3
AZ
57842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785
5786 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5787
42fcb46c
AZ
57882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5789
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5791 hypotf multiarch implementations.
5792 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5793 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5794 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5795 multiarch hypot for PPC64.
5796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5799 multiarch hypotf for PPC64.
5800
83efded4
AZ
58012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5802
5803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5804 modff multiarch implementations.
5805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5808 multiarch modf for PPC64.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5812 multiarch modff for PPC64.
5813
43e246d2
AZ
58142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5815
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5817 and logl multiarch implementations.
5818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5821 multiarch logb for PPC64.
5822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5825 multiarch logb for PPC64.
5826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5829 multiarch logb for PPC64.
5830
8fdad123
AZ
58312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5832
5833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5834 isinff multiarch implementation.
5835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5836 file.
5837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5839 multiarch isinf for PPC64.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5841 file.
5842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5843 multiarch isinff for PPC64.
5844
1481d706
AZ
58452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5846
5847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5848 finitef multiarch implementation.
5849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5850 file.
5851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5853 multiarch finite for PPC64.
5854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5855 file.
5856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5857 multiarch finitef for PPC64.
5858
5ccd5fc8
AZ
58592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5860
5861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5862 lrint multiarch implementation.
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5864 file.
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5867 multiarch llrint for PPC64.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5869 multiarch lrint for PPC64.
5870
2568f3fa
AZ
58712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5872
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5874 copysignf multiarch implementation.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5876 file.
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5878 file.
5879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5880 multiarch copysign for PPC64.
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5882 multiarch copysignf for PPC64.
5883
1cb341fd
AZ
58842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5885
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5887 multiarch implementation.
5888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5889 file.
5890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5891 file.
5892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5893 file.
5894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5895 file.
5896 multiarch llround for PPC64.
5897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5898 multiarch trunc for PPC64.
5899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5900 multiarch truncf for PPC64.
5901
59a3e194
AZ
59022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5903
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5905 multiarch implementation.
5906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5907 file.
5908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5909 file.
5910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5911 file.
5912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5913 file.
5914 multiarch llround for PPC64.
5915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5916 multiarch round for PPC64.
5917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5918 multiarch roundf for PPC64.
5919
357fd3b4
AZ
59202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5921
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5923 multiarch implementation.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5925 file.
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5927 file.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5929 file.
5930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5931 file.
5932 multiarch llround for PPC64.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5934 multiarch floor for PPC64.
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5936 multiarch floorf for PPC64.
5937
96770f12
AZ
59382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5939
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5941 multiarch implementation.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5943 file.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5945 file.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5947 file.
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5949 file.
5950 multiarch llround for PPC64.
5951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5952 multiarch ceil for PPC64.
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5954 multiarch ceilf for PPC64.
5955
c3627f6e
AZ
59562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5957
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5959 multiarch implementation.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5961 file.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5963 file.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5965 file.
5966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5967 multiarch llround for PPC64.
5968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5969 multiarch lround for PPC64.
5970
b2284ad7
AZ
59712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5972
5973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5974 multiarch implementation.
5975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5978 file.
5979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5982 multiarch isnan for PPC64.
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5984 multiarch isnanf for PPC64.
5985
69bbc63d
AZ
59862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987
5988 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5989 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5990 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5991 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5992 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5994
c24517c9
AZ
59952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996
5997 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5998 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6001
a52374e8
AZ
60022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6003
6004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6005 multiarch implementations.
6006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6007 (__libc_ifunc_impl_list): Likewise.
6008 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6009 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6011 multiarch stpcpy for PPC64.
6012
7f5ec113
AZ
60132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6014
6015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6016 multiarch implementations.
6017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6018 (__libc_ifunc_impl_list): Likewise.
6019 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6020 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6021 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6022 multiarch strcpy for PPC64.
6023
e28bcd42
AZ
60242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6025
6026 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6027 redefine function name.
6028 (_wordcopy_fwd_dest_aligned): Likewise.
6029 (_wordcopy_bwd_aligned): Likewise.
6030 (_wordcopy_bwd_dest_aligned): Likewise.
6031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6032 multiarch implementations.
6033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6034 (__libc_ifunc_impl_list): Likewise.
6035 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6036 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6037 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6038 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6039 multiarch wcscpy for PPC64.
6040
92cacfce
AZ
60412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
6043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6044 multiarch implementations.
6045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6046 (__libc_ifunc_impl_list): Likewise.
6047 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6049 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6050 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6051 multiarch wcscpy for PPC64.
6052
7b714620
AZ
60532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6054
6055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6056 multiarch implementations.
6057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6058 (__libc_ifunc_impl_list): Likewise.
6059 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6060 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6061 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6062 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6063 multiarch wcsrchr for PPC64.
6064
16fd2ae3
AZ
60652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6068 multiarch implementations.
6069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6070 (__libc_ifunc_impl_list): Likewise.
6071 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6072 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6073 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6074 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6075 multiarch wcschr for PPC64.
6076
9ee2969b
AZ
60772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6078
6079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6080 multiarch implementations.
6081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6082 (__libc_ifunc_impl_list): Likewise.
6083 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6084 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6085 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6086 multiarch strchrnul for PPC64.
6087
372dc060
AZ
60882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6089
6090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6091 implementations.
6092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6093 (__libc_ifunc_impl_list): Likewise.
6094 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6095 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6096 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6097 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6098 strchr for PPC64.
6099
24c2c3b9
AZ
61002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101
6102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6103 implementations.
6104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6105 (__libc_ifunc_impl_list): Likewise.
6106 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6107 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6108 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6109 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6110 strncmp for PPC64.
6111
1c92d9a0
AZ
61122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113
6114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6115 multiarch implementations.
6116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6117 (__libc_ifunc_impl_list): Likewise.
6118 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6119 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6120 strncasecmp for PPC64.
6121 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6122 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6123 multiarch strncasecmp_l for PPC64.
6124
17de3ee3
AZ
61252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6126
6127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6128 multiarch implementations.
6129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6130 (__libc_ifunc_impl_list): Likewise.
6131 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6133 multiarch strcasecmp for PPC64.
6134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6135 file.
6136 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6137 multiarch strcasecmp_l for PPC64.
6138
62982bf9
AZ
61392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140
6141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6142 implementations.
6143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6144 (__libc_ifunc_impl_list): Likewise.
6145 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6146 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6147 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6148 strnlen for PPC64.
6149
a65f4904
AZ
61502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151
6152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6153 implementations.
6154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6155 (__libc_ifunc_impl_list): Likewise.
6156 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6157 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6158 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6159 strlen for PPC64.
6160
1fd005ad
AZ
61612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6162
6163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6164 implementations.
6165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6166 (__libc_ifunc_impl_list): Likewise.
6167 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6168 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6169 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6170 rawmemrchr for PPC64.
6171
cd05ba91
AZ
61722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6173
6174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6175 implementation.
6176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6177 (__libc_ifunc_impl_list): Likewise.
6178 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6180 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6181 memrchr for PPC64.
6182
870f8676
AZ
61832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6184
6185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6186 implementation.
6187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6188 (__libc_ifunc_impl_list): Likewise.
6189 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6190 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6191 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6192 memchr for PPC64.
6193
f00be62b
AZ
61942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195
6196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6197 implementation.
6198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6199 (__libc_ifunc_impl_list): Likewise.
6200 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6201 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6202 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6203 mempcpy for PPC64.
6204
8a29a3d0
AZ
62052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6206
6207 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6208 avoid cretion of __bzero symbol.
6209 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6210 Likewise.
6211 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6212 Likewise.
6213 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6214 Likewise.
6215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6216 multiarch implementations.
6217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6218 (__libc_ifunc_impl_list): Likewise.
6219 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6220 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6221 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6222 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6223 bzero for PPC32.
6224 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6225 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6226 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6227 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6228 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6229 memset for PPC64.
6230 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6231
07253fcf
AZ
62322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6233
6234 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6236 implementations.
6237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6238 (__libc_ifunc_impl_list): Likewise.
6239 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6240 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6241 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6242 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6243 memcmp for PPC64.
6244
b5beafbc
AZ
62452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246
6247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6248 multiarch for POWER/PPC64.
6249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6250 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6251 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6252 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6257 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6258 memcpy for PPC64.
6259
5e6a4d4b
AZ
62602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6261
6262 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6263 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6264 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6265 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6266 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6267 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6268 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6269 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6270 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6271 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6272 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6273 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6274 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6275 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6276 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6284
ddfab6dc
KK
62852013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6286
6287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6288
19b5525e
SP
62892013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6290
6291 * benchtests/Makefile (bench): Add exp2 and log2.
6292 (LDLIBS-bench-exp2): Add -lm.
6293 (LDLIBS-bench-log2): Likewise.
6294 * benchtests/exp2-inputs: New inputs file.
6295 * benchtests/log2-inputs: New inputs file.
6296 * benchtests/log-inputs: Add new inputs.
6297 * benchtests/tan-inputs: Likewise.
6298
196f7f5d
SP
62992013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6300
7a74607f
SP
6301 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6302 definition...
6303 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6304 csloww1, csloww2): ... from here.
6305
196f7f5d
SP
6306 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6307 instead of structures.
6308 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6309 (POLYNOMIAL): Likewise.
6310 (TAYLOR_SLOW): Likewise.
6311 (__sin): Likewise.
6312 (__cos): Likewise.
6313 (slow1): Likewise.
6314 (slow2): Likewise.
6315 (sloww): Likewise.
6316 (sloww1); Likewise.
6317 (sloww2): Likewise.
6318 (bsloww1): Likewise.
6319 (bsloww2): Likewise.
6320 (cslow2): Likewise.
6321 (csloww): Likewise.
6322 (csloww1): Likewise.
6323 (csloww2): Likewise.
6324
0dfa665c
OB
63252013-12-10 Ondřej Bílka <neleai@seznam.cz>
6326
6327 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6328 (__malloc_assert, __libc_realloc, __libc_calloc,
6329 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6330 memcpy and memset.
6331 * malloc/hooks.c (realloc_check): Likewise.
6332
5782a80f
OB
63332013-12-10 Ondřej Bílka <neleai@seznam.cz>
6334
6335 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6336 * malloc/arena.c: Remove PER_THREAD conditional.
6337 [!PER_THREAD]: Remove code.
6338 (ptmalloc_unlock_all2): Likewise.
6339 (ptmalloc_init): Likewise.
6340 (_int_new_arena): Likewise.
6341 (arena_get2): Likewise.
6342 * malloc/hooks.c (__malloc_get_state): Likewise.
6343 (__malloc_set_state): Likewise.
6344 * malloc/malloc.c: Likewise.
6345 (struct malloc_state): Likewise.
6346 (struct malloc_par): Likewise.
6347 (__libc_realloc): Likewise.
6348 (__libc_mallopt): Likewise.
6349
aeb95445
AZ
63502013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351
6352 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6353
e8349efd
OB
63542013-12-09 Ondřej Bílka <neleai@seznam.cz>
6355
6356 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6357 macro to a function. Check for zero perturb_byte.
6358 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6359
f3eeb3fc
OB
63602013-12-09 Ondřej Bílka <neleai@seznam.cz>
6361
6362 * malloc/malloc.c: (force_reg): Remove.
6363 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6364 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6365 force_reg by atomic_forced_read.
6366 * malloc/arena.c (ptmalloc_init): Likewise.
6367 * malloc/hooks.c (top_check): Likewise.
6368
be2f9009
AZ
63692013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6370
6371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6372
e7b914bd
MT
63732013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6374
6375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6376
9f0be4f8
JM
63772013-12-08 Joseph Myers <joseph@codesourcery.com>
6378
6379 * math/auto-libm-test-in: Add tests of lgamma.
6380 * math/auto-libm-test-out: Regenerated.
6381 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6382 (M_LOG_2_SQRT_PIl): Likewise.
6383 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6384 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6385 mpfr_f_f1.
6386 (func_calc_desc): Add mpfr_f_f1 union field.
6387 (ARGS1): New macro.
6388 (ARGS2): Likewise.
6389 (ARGS3): Likewise.
6390 (ARGS4): Likewise.
6391 (RET1): Likewise.
6392 (RET2): Likewise.
6393 (CALC): Likewise.
6394 (FUNC): Likewise.
6395 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6396 (test_functions): Add lgamma.
6397 (calc_generic_results): Handle mpfr_f_f1.
6398 * sysdeps/i386/fpu/libm-test-ulps: Update.
6399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6400
24eeafdb
AZ
64012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6402
6403 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6404 __mpn_add_n for PowerPC64/POWER7.
6405 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6406 __mpn_sub_n for PowerPC64/POWER7.
6407
4a2c0fd4
AZ
64082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6409
6410 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6411 __mpn_addmul_1 for PowerPC64.
6412 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6413 __mpn_submul_1 for PowerPC64.
6414 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6415 for PowerPC64.
6416 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6417 for PowerPC64.
6418
4b5b548c
FS
64192013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6420
6421 [BZ #15089]
6422 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6423
0a3ac0aa
AZ
64242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425
6426 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6427
ccdc8438
AZ
64282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429
6430 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6431 add multiarch folders.
6432 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6433 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6434 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6435 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6436 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6437 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6438 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6439 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6440 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6441 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6442 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6449
2e973d99
AZ
64502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6451
6452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6453 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6455 New file.
6456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6457 New file.
6458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6459 multiarch __ieee754_hypot for PowerPC32.
6460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6461 New file.
6462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6463 New file.
6464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6465 multiarch __ieee754_hypotf for PowerPC32.
6466
2d9470b2
AZ
64672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6468
6469 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6470 long_double_symbol only if __logbl is defined.
6471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6472 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6474 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6476 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6477 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6478 path for implementation.
6479 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6480 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6482 logb, and logbl multiarch implementations for PowerPC32.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6484 file.
6485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6486 file.
6487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6488 multiarch logb for PowerPC32.
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6490 file.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6492 file.
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6494 multiarch logbf for PowerPC32.
6495 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6497 file.
6498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6499 multiarch logbl implementation for PowerPC32.
6500
5212ffce
AZ
65012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6502
6503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6504 and modff multiarch implementations.
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6506 New file.
6507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6508 New file.
6509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6510 multiarch modf for PowerPC32.
6511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6512 New file.
6513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6514 New file.
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6516 multiarch modff for PowerPC32.
6517
79dccf31
AZ
65182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6519
6520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6521 and lrintf multiarch implementations.
6522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6523 New file.
6524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6525 New file.
6526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6527 multiarch lrint for PowerPC32.
6528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6529 file: multiarch lrintf for PowerPC32.
6530
deb66480
AZ
65312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6532
6533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6534 and lroundf multiarch implementations.
6535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6536 New file.
6537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6538 New file.
6539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6540 New file.
6541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6542 multiarch lround for PowerPC32.
6543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6544 file: multiarch lroundf for PowerPC32.
6545
264b036b
AZ
65462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6547
6548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6549 copysign and copysignf multiarch implementations.
6550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6551 New file.
6552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6553 New file.
6554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6555 file: multiarch copysign for PowerPC32.
6556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6557 file: multiarch copysignf for PowerPC32.
6558
d47db6c9
AZ
65592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560
6561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6562 and truncf multiarch implementations.
6563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6564 New file.
6565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6566 file.
6567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6568 multiarch trunc for PowerPC32.
6569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6570 New file.
6571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6572 New file.
6573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6574 multiarch truncf for PowerPC32.
6575
ddb60b5a
AZ
65762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6577
6578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6579 and roundf multiarch implementations.
6580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6581 New file.
6582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6583 file.
6584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6585 multiarch round for PowerPC32.
6586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6587 New file.
6588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6589 New file.
6590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6591 multiarch roundf for PowerPC32.
6592
bedcf49b
AZ
65932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6594
6595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6596 and floorf multiarch implementations.
6597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6598 New file.
6599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6600 file.
6601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6602 multiarch floor for PowerPC32.
6603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6604 New file.
6605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6606 New file.
6607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6608 multiarch floorf for PowerPC32.
6609
35ae5b40
AZ
66102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6611
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6613 and ceilf multiarch implementations.
6614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6615 New file.
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6617 file.
6618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6619 multiarch ceil for PowerPC32.
6620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6621 New file.
6622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6623 file.
6624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6625 multiarch ceilf for PowerPC32.
6626
ae1a4cd9
AZ
66272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6628
6629 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6630 is defined.
6631 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6632 FINITEF is defined.
6633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6634 and finitef multiarch implementations.
6635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6636 New file.
6637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6638 file.
6639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6640 multiarch finite for PowerPC32.
6641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6642 New file.
6643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6644 file: multiarch finitef for PowerPC32.
6645
64fffd65
AZ
66462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6647
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6649 and isinff multiarch implementations.
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6651 file.
6652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6653 file.
6654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6655 multiarch isinf for PowerPC32.
6656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6657 New file.
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6659 multiarch isinff for PowerPC32.
6660
8e4e7ba2
AZ
66612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6662
6663 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6664 alias when __isnan is defined.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6666 and isnanf multiarch implementations.
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6668 file.
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6670 file.
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6672 file.
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6674 file.
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6676 multiarch isnan for PowerPC32.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6678 New file.
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6680 New file.
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6682 multiarch isnanf for PowerPC32.
6683
ddba588e
AZ
66842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6685
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6687 and sqrtf multiarch implementations.
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6689 file.
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6691 file.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6693 multiarch sqrt for PowerPC32.
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6695 file.
6696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6697 file.
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6699 multiarch sqrtf for PowerPC32.
6700
0f96a2f0
AZ
67012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6702
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6704 and llroundf multiarch implementations.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6706 New file.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6708 New file.
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6710 New file.
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6712 file: multiarch llround for PowerPC32.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6714 file: multiarch llroundf for PowerPC32.
6715
c9b5d79e
AZ
67162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6717
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6719 multiarch PowerPC32 fpu implementations.
6720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6721 New file.
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6723 New file.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6725 multiarch llrint for PowerPC32.
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6727 New file.
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6729 New file.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6731 file.
6732
9cbb3aab
AZ
67332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6734
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6736
ea5a72f8
AZ
67372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6740 file.
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6742 file.
6743 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6744 file.
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6746 multiarch wordcopy for PPC32.
6747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6748 wordcopy objects.
6749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6750 (__libc_ifunc_impl_list): Likewise.
6751 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6752 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6753 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6754 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6755 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6756 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6757
93be09e7
AZ
67582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6759
6760 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6762 file.
6763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6764 file.
6765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6766 file.
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6768 multiarch wcscpy for PPC32.
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6770 multiarch objects.
6771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6772 (__libc_ifunc_impl_list): Likewise.
6773 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6774 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6775 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6776 sysdeps/powerpc/power6/wcscpy.c.
6777
bb04e529
AZ
67782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6779
6780 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6782 file.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6784 file.
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6786 file.
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6788 multiarch wcsrchr for PPC32.
6789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6790 multiarch objects.
6791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6792 (__libc_ifunc_impl_list): Likewise.
6793 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6794 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6795 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6796 sysdeps/powerpc/power6/wcsrchr.c.
6797
05b5cd1c
AZ
67982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799
6800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6801 file.
6802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6803 file.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6806 multiarch wcschr for PPc32.
6807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6808 multiarch objects.
6809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6810 (__libc_ifunc_impl_list): Likewise.
6811 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6812 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6813 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6814 sysdeps/powerpc/power6/wcschr.c.
6815
ba964147
AZ
68162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6817
6818 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6820 file.
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6822 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6823 file: multiarch strchr for PPC32.
6824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6825 multiarch objects.
6826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6827 (__libc_ifunc_impl_list): Likewise.
6828
31c81aaa
AZ
68292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6830
6831 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6832 name.
6833 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6834 file.
6835 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6836 file.
6837 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6838 multiarch strchrnul for PPC32.
6839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6840 multiarch objects.
6841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6842 (__libc_ifunc_impl_list): Likewise.
6843
0d0607d9
AZ
68442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6845
6846 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6847 file.
6848 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6849 multiarch strncasecmp for PPC32.
6850 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6851 file.
6852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6853 multiarch strncasecmp_l for PPC32.
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6855 strncasecmp multiarch objects.
6856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6857 (__libc_ifunc_impl_list): Likewise.
6858
4dfd5c86
AZ
68592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6860
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6862 file.
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6864 multiarch strncasecmp for PPC32.
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6866 New file.
6867 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6868 multiarch strcasecmp_l for PPC32.
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6870 multiarch objects.
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6872 (__libc_ifunc_impl_list): Likewise.
6873
a19e01a3
AZ
68742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6877 file.
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6879 file.
6880 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6881 multiarch strncmp for PPC32.
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6883 multiarch objects.
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6885 (__libc_ifunc_impl_list): Likewise.
6886
ae9cf7a2
AZ
68872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6888
6889 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6890 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6891 file.
6892 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6895 multiarch objects.
6896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6897 (__libc_ifunc_impl_list): Likewise.
6898
3148bb7d
AZ
68992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6902 file.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6904 file.
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6907 multiarch objects.
6908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6909 (__libc_ifunc_impl_list): Likewise.
6910
7af8b946
AZ
69112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6912
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6914 file.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6916 file.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6918 multiarch rawmemchr for PPC32.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6920 multiarch objects.
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6922 (__libc_ifunc_impl_list): Likewise.
6923
03a6aa6a
AZ
69242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6925
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6927 file.
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6929 file.
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6931 file: memrchr multiarch for PPC32.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6933 multiarch objects.
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6935 (__libc_ifunc_impl_list): Likewise.
6936
1c62e6d9
AZ
69372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6938
6939 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6941 file.
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6944 multiarch memchr for PPC32.
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6946 multiarch objects.
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6948 (__libc_ifunc_impl_list): Likewise.
6949
87da8bdb
AZ
69502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6951
6952 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6954 file.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6956 file.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6958 file: multiarch mempcpy for PPC32.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6960 multiarch objects.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6962 (__libc_ifunc_impl_list): Likewise.
6963
20ed4714
AZ
69642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6965
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6970 multiarch bzero for PPC32.
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6972 file.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6974 file.
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6976 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6977 file: multiarch memset for PPC32.
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6980 memset multiarch objects.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6982 (__libc_ifunc_impl_list): Likewise.
6983
ab3e3a46
AZ
69842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6985
6986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6987 file.
6988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6990 memcmp for PPC32.
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6993 multiarch objects.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6995 (__libc_ifunc_impl_list): Likewise.
6996
930de6f0
AZ
69972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6998
6999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7002 file.
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7004 file.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7006 file.
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7008 multiarch memcpy for PPC32.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7010 multiarch objects.
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7012 (__libc_ifunc_impl_list): Likewise.
7013
4c628e00
AZ
70142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7017 support multiarch for POWER/PPC32.
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7019 Likewise.
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7022 Implies file to make multiarch folder appers before the fpu and
7023 default folder for power4 configuration.
7024
f4479220
SP
70252013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7026
7027 * scripts/bench.pl: Append volatile keyword to type.
7028
8517800f
KK
70292013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7030
7031 * sysdeps/sh/sotruss-lib.c: New file.
7032 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7033
180138f1
AZ
70342013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035
7036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7037
bbf37bdc
JM
70382013-12-05 Joseph Myers <joseph@codesourcery.com>
7039
e47cc4e0
JM
7040 [BZ #6810]
7041 * math/w_tgamma.c: Include <errno.h>.
7042 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7043 * math/w_tgammaf.c: Include <errno.h>.
7044 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7045 * math/w_tgammal.c: Include <errno.h>.
7046 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7047 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7048 underflow. Add more tgamma tests.
7049 * math/auto-libm-test-out: Regenerated.
7050 * sysdeps/i386/fpu/libm-test-ulps: Update.
7051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7052
bbf37bdc
JM
7053 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7054 sin, sinh, tan, tanh, tgamma, y0 and y1.
7055 * math/auto-libm-test-out: Regenerated.
7056 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7057 (TEST_COND_x86): Likewise.
7058 (M_E2l): Remove macro.
7059 (M_E3l): Likewise.
7060 (M_2_SQRT_PIl): Likewise.
7061 (M_SQRT_PIl): Likewise.
7062 (M_1_DIV_El): Likewise.
7063 (log_test_data): Use AUTO_TESTS_f_f.
7064 (log10_test_data): Likewise.
7065 (log1p_test_data): Likewise.
7066 (log2_test_data): Likewise.
7067 (sin_test_data): Likewise.
7068 (sin_tonearest_test_data): Likewise.
7069 (sin_towardzero_test_data): Likewise.
7070 (sin_downward_test_data): Likewise.
7071 (sin_upward_test_data): Likewise.
7072 (sinh_test_data): Likewise.
7073 (sinh_tonearest_test_data): Likewise.
7074 (sinh_towardzero_test_data): Likewise.
7075 (sinh_downward_test_data): Likewise.
7076 (sinh_upward_test_data): Likewise.
7077 (tan_test_data): Likewise.
7078 (tan_tonearest_test_data): Likewise.
7079 (tan_towardzero_test_data): Likewise.
7080 (tan_downward_test_data): Likewise.
7081 (tan_upward_test_data): Likewise.
7082 (tanh_test_data): Likewise.
7083 (tgamma_test_data): Likewise.
7084 (y0_test_data): Likewise.
7085 (y1_test_data): Likewise.
7086 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7087 (special_real_inputs): Add pi/4.
7088 * sysdeps/i386/fpu/libm-test-ulps: Update.
7089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7090
eb5ad6b9
AZ
70912013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7092
7093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7094 "longjmp_target" static probes.
7095 (__longjmp): Rename to __longjmp_symbol.
7096 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7097 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7098 on which longjmp to generate.
7099 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7100 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7101 probe.
7102 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7103 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7104 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7105 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7106 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7107 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7109 __longjmp_symbol based on which __longjmp to generate.
7110 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7111 probe.
7112 (setjmp): Rename to setjmp_symbol.
7113 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7114 (_setjmp): Rename to _setjmp_symbol.
7115 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7116 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7117 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7118 which setjmp to generate.
7119 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7120 "longjmp_target" static probes.
7121
d136c6dc
SP
71222013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7123
9298ecba
SP
7124 * benchtests/README: Add note about output arguments.
7125 * benchtests/bench-sincos.c: Remove file.
7126 * benchtests/sincos-inputs: New file.
7127 * scripts/bench.pl: Identify output arguments and define
7128 static variables for them.
7129
232983e9
SP
7130 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7131
d136c6dc
SP
7132 [BZ #15941]
7133 * Makefile (INSTALL): Add install-plain.texi as the primary
7134 dependency.
7135 * manual/install-plain.texi: New file.
7136 * manual/install.texi: Include node directive only for
7137 non-plaintext output.
7138
699ff837
JM
71392013-12-04 Joseph Myers <joseph@codesourcery.com>
7140
ab07cea8
JM
7141 * stdlib/longlong.h: Update from GCC.
7142
699ff837
JM
7143 [BZ #6807]
7144 [BZ #15901]
7145 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7146 * math/w_j0f.c (y0f): Likewise.
7147 * math/w_j0l.c (__y0l): Likewise.
7148 * math/w_j1.c (y1): Likewise.
7149 * math/w_j1f.c (y1f): Likewise.
7150 * math/w_j1l.c (__y1l): Likewise
7151 * math/w_jn.c (yn): Likewise.
7152 * math/w_jnf.c (ynf): Likewise.
7153 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7154 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7155 value for Bessel function domain errors outside _SVID_ mode.
7156 Adjust sign of return value for yn (negative integer, 0).
7157 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7158 by zero in return for negative x and set sign appropriately for
7159 negative n.
7160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7161 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7162 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7163 expectations in error cases.
7164 (y1_test_data): Likewise.
7165 (yn_test_data): Likewise.
7166 * sysdeps/i386/fpu/libm-test-ulps: Update.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7168
5b118558
UW
71692013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7170
7171 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7172 "64" to "64-v1". Add "64-v2".
7173 (abi-64-options): Rename to ...
7174 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7175 (abi-64-condition): Rename to ...
7176 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7177 (abi-64-ld-soname): Rename to ...
7178 (abi-64-v1-ld-soname): ... this.
7179 (abi-64-v2-options): Define.
7180 (abi-64-v2-condition): Likewise.
7181 (abi-64-v2-ld-soname): Likewise.
7182 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7183 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7187
61cd8fe4
UW
71882013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7189 Alan Modra <amodra@gmail.com>
7190
7191 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7192 New versions for use with the ELFv2 ABI.
7193 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7194 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7195 declaration.
7196 (struct La_ppc64v2_retval): Likewise.
7197 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7198 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7199 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7200 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7201 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7202 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7203 Do not save or restore CR.
7204 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7205 (_dl_profile_resolve): Do no save or restore CR. Support extended
7206 return values for ELFv2 ABI. Fix location of FPR return registers.
7207 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7208 updated values for _CALL_ELF == 2.
7209 (La_regs, La_retval, int_retval): Likewise.
7210
8b8a692c
UW
72112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7212
7213 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7214 (FRAME_MIN_SIZE_PARM): Likewise.
7215 (FRAME_BACKCHAIN): Likewise.
7216 (FRAME_CR_SAVE): Likewise.
7217 (FRAME_LR_SAVE): Likewise.
7218 (FRAME_TOC_SAVE): Likewise.
7219 (FRAME_PARM_SAVE): Likewise.
7220 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7221 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7222 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7223 (call_mcount_parm_offset): New macro.
7224 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7225 (PROF): Use symbolic stack frame offsets.
7226 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7227 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7228 Redefine in terms of FRAME_MIN_SIZE.
7229 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7230 (_dl_profile_resolve): Likewise. Update comment.
7231 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7232 symbols stack frame offsets.
7233 (__sigsetjmp): Likewise.
7234 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7235 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7236 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7237 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7238
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7240 (FRAME_BACKCHAIN): Remove.
7241 (FRAME_CR_SAVE): Likewise.
7242 (FRAME_LR_SAVE): Likewise.
7243 (FRAME_COMPILER_DW): Likewise.
7244 (FRAME_LINKER_DW): Likewise.
7245 (FRAME_TOC_SAVE): Likewise.
7246 (FRAME_PARM_SAVE): Likewise.
7247 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7248 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7249 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7251 (CHECK_SP): Use symbolic stack frame offsets.
7252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7253 zone" instead of caller's parameter save area for temp storage.
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7255 Likewise. Also, use symbolic stack frame offsets.
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7257 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7258 our own stack frame instead of the caller's.
7259 (__socket): Use symbolic stack frame offsets.
7260
122b66de
UW
72612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7262 Alan Modra <amodra@gmail.com>
7263
7264 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7265 Define.
7266 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7267 PPC64_LOCAL_ENTRY_OFFSET): Define.
7268 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7269 New function.
7270 (elf_machine_fixup_plt): Call it.
7271 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7272 reloc arguments.
7273 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7274 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7275 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7276 r2 before calling target.
7277
696caf1d
UW
72782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7279 Alan Modra <amodra@gmail.com>
7280
7281 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7282 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7283 versions of macros to support ELFv2 ABI.
7284 (LOCALENTRY): New macro.
7285 (ENTRY, EALIGN): Use it.
7286 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7287 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7288 fall through into ENTRY entry point.
7289 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7290 Only define if _CALL_ELF != 2.
7291
7292 (elf_machine_matches_host): Verify ABI version matches.
7293 (RTLD_START): Use LOCALENTRY.
7294 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7295 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7296 (PLT_ENTRY_WORDS): New macro.
7297 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7298 (elf_machine_runtime_setup): Support ELFv2 ABI.
7299 (elf_machine_fixup_plt): Likewise.
7300 (elf_machine_plt_conflict): Likewise.
7301 (resolve_ifunc): Likewise.
7302 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7304 Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7306 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7308 (makecontext): Support ELFv2 ABI.
7309 * elf/elf.h (EF_PPC64_ABI): Define.
7310
d31beafa
UW
73112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7312
7313 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7314 New assembler macro.
7315 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7316 [ASSEMBLER] (ENTRY): ... but instead here ...
7317 [ASSEMBLER] (EALIGN): ... and here.
7318 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7319 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7320 [!ASSEMBLER] (ENTRY_2): Use it.
7321 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7322 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7323 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7324 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7325 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7327 Use PPC64_LOAD_FUNCPTR.
7328
b525166b
UW
73292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7330
7331 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7332
7ec07d9a
AM
73332013-12-04 Alan Modra <amodra@gmail.com>
7334
7335 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7336 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7337 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7338 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7339
7340 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7341 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7342 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7343 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7344 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7345 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7346
5162e7dd
UW
73472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7348
7349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7350 (__makecontext): Fix incorrect CFI when backtracing out of
7351 context created via makecontext.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7353 (__setcontext): Fix incorrect CFI during switch to new context.
7354 (__novec_setcontext): Likewise.
7355
19e3372b
OB
73562013-12-04 Ondřej Bílka <neleai@seznam.cz>
7357
7358 [BZ #4772]
7359 * time/strptime_l.c (__strptime_internal): Allow modifiers
7360 in strptime.
7361 * time/tst-strptime.c (day_tests): Add testcase.
7362
7363
ecaf142d
SP
73642013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7365
7366 * scripts/bench.pl: Skip over blank lines.
7367
fbf964ae
PE
73682013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7369
7370 [BZ #926]
7371 * manual/time.texi (Calendar Time): Clarify what timezone functions
7372 use.
7373
fa60a674
AZ
73742013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7375
7376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7377
d674f0ef
OB
73782013-12-04 Ondřej Bílka <neleai@seznam.cz>
7379
7380 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7381 implementation.
7382 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7383 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7384 * debug/memset_chk.c (__memset_chk): Likewise.
7385 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7386 * debug/strncpy_chk.c: Likewise.
7387
17dea188
JM
73882013-12-03 Joseph Myers <joseph@codesourcery.com>
7389
749008ff
JM
7390 [BZ #15268]
7391 [BZ #15425]
7392 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7393 (__ieee754_exp): For possibly underflowing results, check size of
7394 result and force underflow exception if required.
7395 * math/auto-libm-test-in: Add more tests of exp.
7396 * math/auto-libm-test-out: Regenerated.
7397 * sysdeps/i386/fpu/libm-test-ulps: Update.
7398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7399
17dea188
JM
7400 [BZ #16283]
7401 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7402 * math/w_exp2f.c (__exp2f): Likewise.
7403 * math/w_exp2l.c (__exp2l): Likewise.
7404 * math/auto-libm-test-in: Do not allow missing errno on exp2
7405 underflow.
7406 * math/auto-libm-test-out: Regenerated.
7407
b20de2c3
OB
74082013-12-03 Ondřej Bílka <neleai@seznam.cz>
7409
7410 [BZ #16274]
7411 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7412 handle filename validation.
7413 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7414 (do_open): Delete.
7415
d8e2dbe3
JM
74162013-12-03 Joseph Myers <joseph@codesourcery.com>
7417
34e16df5
JM
7418 [BZ #6786]
7419 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7420 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7421 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7422 <float.h>.
7423 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7425 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7427 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7428 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7429 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7430 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7431 Add more erfc tests.
7432 * math/auto-libm-test-out: Regenerated.
7433 * sysdeps/i386/fpu/libm-test-ulps: Update.
7434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7435
d8e2dbe3
JM
7436 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7437 exp2, expm1, j0 and j1.
7438 * math/auto-libm-test-out: Regenerated.
7439 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7440 (erfc_test_data): Likewise.
7441 (exp_test_data): Likewise.
7442 (exp_tonearest_test_data): Likewise.
7443 (exp_towardzero_test_data): Likewise.
7444 (exp_downward_test_data): Likewise.
7445 (exp_upward_test_data): Likewise.
7446 (exp10_test_data): Likewise.
7447 (exp2_test_data): Likewise.
7448 (expm1_test_data): Likewise.
7449 (j0_test_data): Likewise.
7450 (j1_test_data): Likewise.
7451 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7452 (input_flag_type): Add flag_xfail_rounding.
7453 (input_flags): Add xfail-rounding.
7454 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7455 (output_for_one_input_case): Handle flag_xfail_rounding.
7456 * sysdeps/i386/fpu/libm-test-ulps: Update.
7457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7458
18d14251
AJ
74592013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7460
3d2e6075 7461 [BZ #16289]
18d14251
AJ
7462 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7463 division by 0.
7464
520d437b
SP
74652013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7466
7467 [BZ #16195]
7468 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7469 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7470 (STAP_PROBE0): New macro.
7471 (STAP_PROBE1): Likewise.
7472 (STAP_PROBE2): Likewise.
7473 (STAP_PROBE3): Likewise.
7474 (STAP_PROBE4): Likewise.
7475
416e0145
OB
74762013-12-02 Ondřej Bílka <neleai@seznam.cz>
7477
7478 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7479
9d17796a
SE
74802013-12-02 Steve Ellcey <sellcey@mips.com>
7481
7482 * benchtests/Makefile (bench): Add sqrt.
7483 (LDLIBS-bench-sqrt): New.
7484 * benchtests/sqrt-input: New.
7485
f524d6a8
PS
74862013-12-02 Pavel Simerda <psimerda@redhat.com>
7487
639a0ef8
PS
7488 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7489 (GAIH_EAI): Likewise.
7490 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7491 (gaih_inet): Likewise.
7492 (getaddrinfo): Don't use GAIH_EAI.
7493
f524d6a8
PS
7494 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7495 (struct gaih): Remove definition.
7496
df3aedaf
SP
74972013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7498
7499 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7500 Use HERRNOP directly.
7501
1ab19dec
AZ
75022013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7503
b42ad38d 7504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7505
176b0c79
JM
75062013-11-30 Joseph Myers <joseph@codesourcery.com>
7507
7508 * math/gen-auto-libm-tests.c (test_functions): Add more
7509 single-argument functions.
7510 (special_fill_pi_2): New function.
7511 (special_fill_minus_pi_2): Likewise.
7512 (special_fill_pi_6): Likewise.
7513 (special_fill_minus_pi_6): Likewise.
7514 (special_fill_pi_3): Likewise.
7515 (special_fill_2pi_3): Likewise.
7516 (special_fill_e): Likewise.
7517 (special_fill_1_e): Likewise.
7518 (special_fill_e_minus_1): Likewise.
7519 (special_real_inputs): Add more special inputs.
7520 (output_for_one_input_case): Do not require ERANGE on underflow to
7521 zero if round-to-nearest result does not underflow to zero, unless
7522 exact results required.
7523 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7524 atan, atanh, cbrt, cos and cosh.
7525 * math/auto-libm-test-out: Regenerated.
7526 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7527 (acos_tonearest_test_data): Likewise.
7528 (acos_towardzero_test_data): Likewise.
7529 (acos_downward_test_data): Likewise.
7530 (acos_upward_test_data): Likewise.
7531 (acosh_test_data): Likewise.
7532 (asin_test_data): Likewise.
7533 (asin_tonearest_test_data): Likewise.
7534 (asin_towardzero_test_data): Likewise.
7535 (asin_upward_test_data): Likewise.
7536 (asinh_test_data): Likewise.
7537 (atan_test_data): Likewise.
7538 (atanh_test_data): Likewise.
7539 (cbrt_test_data): Likewise.
7540 (cos_test_data): Likewise.
7541 (cos_tonearest_test_data): Likewise.
7542 (cos_towardzero_test_data): Likewise.
7543 (cos_downward_test_data): Likewise.
7544 (cos_upward_test_data): Likewise.
7545 (cosh_test_data): Likewise.
7546 (cosh_tonearest_test_data): Likewise.
7547 (cosh_towardzero_test_data): Likewise.
7548 (cosh_downward_test_data): Likewise.
7549 (cosh_upward_test_data): Likewise.
7550 * sysdeps/i386/fpu/libm-test-ulps: Update.
7551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7552
ffb536d0
JM
75532013-11-29 Joseph Myers <joseph@codesourcery.com>
7554
2a77a467
JM
7555 [BZ #6787]
7556 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7557 * math/w_exp10f.c (__exp10f): Likewise.
7558 * math/w_exp10l.c (__exp10l): Likewise.
7559 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7560 errno settings in existing tests.
7561
ea3bc4e8
JM
7562 [BZ #14032]
7563 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7564 precision control set to double precision.
7565 * sysdeps/i386/fpu/w_sqrt.c: New file.
7566 * math/auto-libm-test-in: Add more tests.
7567 * math/auto-libm-test-out: Update.
7568
0712c9d8
JM
7569 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7570 (sqrt_test_tonearest): New function.
7571 (sqrt_towardzero_test_data): New variable.
7572 (sqrt_test_towardzero): New function.
7573 (sqrt_downward_test_data): New variable.
7574 (sqrt_test_downward): New function.
7575 (sqrt_upward_test_data): New variable.
7576 (sqrt_test_upward): New function.
7577 (main): Call the new functions.
7578
ffb536d0
JM
7579 * math/gen-auto-libm-tests.c: New file.
7580 * math/auto-libm-test-in: Likewise.
7581 * math/auto-libm-test-out: New generated file.
7582 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7583 variables.
7584 (%beautify): Add generated representations of zero.
7585 (top level): Set $auto_input and call parse_auto_input.
7586 (beautify): Remove trailing "f" from hex float constants.
7587 (parse_args): Handle XFAIL_TEST.
7588 (convert_condition): New function.
7589 (or_value): Likewise.
7590 (or_cond_value): Likewise.
7591 (generate_testfile): Handle AUTO_TESTS_* lines.
7592 (parse_auto_input): New function.
7593 * math/libm-test.inc (XFAIL_TEST): New macro.
7594 (ERRNO_UNCHANGED): Update value.
7595 (ERRNO_EDOM): Likewise.
7596 (ERRNO_ERANGE): Likewise.
7597 (IGNORE_RESULT): Likewise.
7598 (TEST_COND_flt_32): New macro.
7599 (TEST_COND_dbl_64): Likewise.
7600 (TEST_COND_ldbl_96_intel): Likewise.
7601 (TEST_COND_ldbl_96_m68k): Likewise.
7602 (TEST_COND_ldbl_128): Likewise.
7603 (TEST_COND_ldbl_128ibm): Likewise.
7604 (TEST_COND_long32): Likewise.
7605 (TEST_COND_long64): Likewise.
7606 (TEST_COND_before_rounding): Likewise.
7607 (TEST_COND_after_rounding): Likewise.
7608 (enable_test): Handle XFAIL_TEST flag.
7609 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7610 with finite results.
7611 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7612 auto-libm-test-out.
7613
acd98a8e
AK
76142013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7615 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7616
7617 [BZ #16214]
7618 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7619 __tls_get_addr_internal instead of __tls_get_offset in order to
7620 avoid GOT pointer dependency. Make rtld export
7621 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7622 __tls_get_addr since we are a __tls_get_offset platform.
7623 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7624 GOT pointer being set up before.
7625 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7626
3c1c46a6
JM
76272013-11-28 Joseph Myers <joseph@codesourcery.com>
7628
7475aef5
JM
7629 * manual/math.texi (Errors in Math Functions): Document accuracy
7630 goals.
7631
8bca7cd8
JM
7632 [BZ #15004]
7633 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7634 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7646 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7649
91a1f3fe
JM
7650 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7651 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7652 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7653 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7654 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7655 Likewise.
7656 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7657 Likewise.
7658 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7659 Likewise.
7660 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7661 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7662 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7663 atomic-feupdateenv and flt-rounds.
7664 * sysdeps/powerpc/nofpu/Versions (libc): Add
7665 __atomic_feholdexcept, __atomic_feclearexcept,
7666 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7667 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7668 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7669 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7670 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7671 here.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7673 Update.
7674
c5df7609
JM
7675 * manual/arith.texi (FP Exceptions): Document that exceptions may
7676 not be raised when matherr is used.
7677 (Math Error Reporting): Document overflow in directed rounding
7678 modes. Document that errno may not be set when finite values are
7679 returned on overflow. Document intent to set errno on underflow
7680 only for underflow to zero.
7681
3c1c46a6
JM
7682 [BZ #16271]
7683 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7684 round-to-nearest then adjust result for other rounding modes.
7685 * include/fenv.h (fegetround): Use libm_hidden_proto.
7686 * math/fegetround.c (fegetround): Use libm_hidden_def.
7687 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7688 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7689 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7690 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7691 Likewise.
7692 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7693 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7694 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7695 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7696
5a4c6d53
SP
76972013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7698
7699 [BZ #16077]
7700 * nss/Versions (libnss_files): Add
7701 _nss_files_gethostbyname3_r.
7702 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7703 New function.
7704 (HOST_DB_LOOKUP): Remove macro.
7705 (_nss_files_gethostbyname_r): Implement function without the
7706 HOST_DB_LOOKUP macro.
7707 (_nss_files_gethostbyname2_r): Likewise.
7708
897b98ba
OB
77092013-11-28 Ondřej Bílka <neleai@seznam.cz>
7710
7711 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7712
6f476861
UB
77132013-11-26 Uros Bizjak <ubizjak@gmail.com>
7714
7715 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7716 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7717 warning.
7718
bd12ab55
AZ
77192013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7720
7721 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7722 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7723 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7724 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7725 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7726 __fe_nomask_env_priv and attribute_hidden.
7727 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7728 (libc_feupdateenv_test_ppc): Likewise.
7729 (libc_feresetround_ppc): Likewise.
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7731 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7732 compat_symbol macro.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7734 (__fe_nomask_env): Likewise.
7735 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7736
52bb6543
OB
77372013-11-26 Ondřej Bílka <neleai@seznam.cz>
7738
7739 * string/Makefile: Remove ifunc tests.
7740 * string/test-string.h: Define TEST_IFUNC.
7741 * string/test-bcopy-ifunc.c: Remove.
7742 * string/test-bzero-ifunc.c: Likewise.
7743 * string/test-memccpy-ifunc.c: Likewise.
7744 * string/test-memchr-ifunc.c: Likewise.
7745 * string/test-memcmp-ifunc.c: Likewise.
7746 * string/test-memcpy-ifunc.c: Likewise.
7747 * string/test-memmem-ifunc.c: Likewise.
7748 * string/test-memmove-ifunc.c: Likewise.
7749 * string/test-mempcpy-ifunc.c: Likewise.
7750 * string/test-memrchr-ifunc.c: Likewise.
7751 * string/test-memset-ifunc.c: Likewise.
7752 * string/test-rawmemchr-ifunc.c: Likewise.
7753 * string/test-stpcpy-ifunc.c: Likewise.
7754 * string/test-stpncpy-ifunc.c: Likewise.
7755 * string/test-strcasecmp-ifunc.c: Likewise.
7756 * string/test-strcasestr-ifunc.c: Likewise.
7757 * string/test-strcat-ifunc.c: Likewise.
7758 * string/test-strchr-ifunc.c: Likewise.
7759 * string/test-strchrnul-ifunc.c: Likewise.
7760 * string/test-strcmp-ifunc.c: Likewise.
7761 * string/test-strcpy-ifunc.c: Likewise.
7762 * string/test-strcspn-ifunc.c: Likewise.
7763 * string/test-strlen-ifunc.c: Likewise.
7764 * string/test-strncasecmp-ifunc.c: Likewise.
7765 * string/test-strncat-ifunc.c: Likewise.
7766 * string/test-strncmp-ifunc.c: Likewise.
7767 * string/test-strncpy-ifunc.c: Likewise.
7768 * string/test-strnlen-ifunc.c: Likewise.
7769 * string/test-strpbrk-ifunc.c: Likewise.
7770 * string/test-strrchr-ifunc.c: Likewise.
7771 * string/test-strspn-ifunc.c: Likewise.
7772 * string/test-strstr-ifunc.c: Likewise.
7773
ab260039 77742013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7775
7776 * benchtests/Makefile: Remove ifunc tests.
7777 * benchtests/bench-string.h: Define TEST_IFUNC.
7778 * benchtests/bench-bcopy-ifunc.c: Remove.
7779 * benchtests/bench-bzero-ifunc.c: Likewise.
7780 * benchtests/bench-memccpy-ifunc.c: Likewise.
7781 * benchtests/bench-memchr-ifunc.c: Likewise.
7782 * benchtests/bench-memcmp-ifunc.c: Likewise.
7783 * benchtests/bench-memcpy-ifunc.c: Likewise.
7784 * benchtests/bench-memmem-ifunc.c: Likewise.
7785 * benchtests/bench-memmove-ifunc.c: Likewise.
7786 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7787 * benchtests/bench-memrchr-ifunc.c: Likewise.
7788 * benchtests/bench-memset-ifunc.c: Likewise.
7789 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7790 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7791 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7792 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7793 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7794 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7795 * benchtests/bench-strcat-ifunc.c: Likewise.
7796 * benchtests/bench-strchr-ifunc.c: Likewise.
7797 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7798 * benchtests/bench-strcmp-ifunc.c: Likewise.
7799 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7800 * benchtests/bench-strcpy-ifunc.c: Likewise.
7801 * benchtests/bench-strcspn-ifunc.c: Likewise.
7802 * benchtests/bench-strlen-ifunc.c: Likewise.
7803 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7804 * benchtests/bench-strncat-ifunc.c: Likewise.
7805 * benchtests/bench-strncmp-ifunc.c: Likewise.
7806 * benchtests/bench-strncpy-ifunc.c: Likewise.
7807 * benchtests/bench-strnlen-ifunc.c: Likewise.
7808 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7809 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7810 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7811 * benchtests/bench-strspn-ifunc.c: Likewise.
7812 * benchtests/bench-strstr-ifunc.c: Likewise.
7813
78142013-11-26 Ondřej Bílka <neleai@seznam.cz>
7815
ab260039
OB
7816 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7817
d1d9eaf4 78182013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7819
d1d9eaf4
OB
7820 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7821 * rt/aio.h: Likewise.
7822 * sysdeps/gnu/bits/utmp.h: Likewise.
7823 * sysdeps/gnu/bits/utmpx.h: Likewise.
7824 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7825 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7826 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7827 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7828 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7829 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7830 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7831 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7832 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7833 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7834 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7835 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7836 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7838 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7839 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7840 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7841 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7842 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7843 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7844 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7845 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7848 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7850 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7851 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7852 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7854 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7855 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7856 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7857 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7858 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7859 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7860 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7861 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7862 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7863 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7864 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7865 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7866
a7624ed9
CD
78672013-11-25 Carlos O'Donell <carlos@redhat.com>
7868
7869 [BZ #16245]
7870 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7871 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7872
63cfe52b
JM
78732013-11-25 Joseph Myers <joseph@codesourcery.com>
7874
7875 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7876 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7877 Likewise.
7878
41e8926a
AZ
78792013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7880
7881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7882 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7883 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7884 (__fesetround): Remove define.
7885 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7886 rounding and exceptions handling.
7887 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7888 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7889 (__fe_nomask_env): Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7891 __fegetround instead of fegetround.
7892 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7894
6851bd4d
RM
78952013-11-21 Roland McGrath <roland@hack.frob.com>
7896
070906ff
RM
7897 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7898 it's there.
7899
6851bd4d
RM
7900 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7901
84ae135d
MI
79022013-11-21 Meador Inge <meadori@codesourcery.com>
7903
7904 [BZ #11157]
7905 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7906 (encrypt_r): Likewise.
7907 * malloc/obstack.h (obstack_free): Likewise.
7908 * posix/unistd.h (encrypt): Likewise.
7909
daf75146
GM
79102013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7911
7912 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7913 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7914 DL_CALL_DT_FINI() that call the functions directly.
7915 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7916 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7917 * elf/dl-fini.c: Likewise.
7918
10ad46bc
OB
79192013-11-20 Ondřej Bílka <neleai@seznam.cz>
7920
7921 * malloc/hooks.c (memalign_check): Add alignment rounding.
7922 * malloc/malloc.c (_mid_memalign): New function.
7923 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7924 Implement by calling _mid_memalign.
7925 * manual/probes.texi (Memory Allocation Probes): Remove
7926 memory_valloc_retry and memory_pvalloc_retry.
7927
f3fd2628
SP
79282013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7929
4712799f
SP
7930 * locale/programs/locarchive.c (open_archive): Add const
7931 qualifier to ARCHIVEFNAME and copy default fname to
7932 DEFAULT_FNAME.
7933
0417b20f
SP
7934 [BZ #15601]
7935 * libio/tst-widetext.input: Rename Oriya to Odia.
7936 * locale/iso-639.def: Likewise.
7937
f3fd2628
SP
7938 * manual/probes.texi (Mathematical Function Probes): Add
7939 documentation for sin, cos, asin and acos probes.
7940 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7941 (__sin32): Add slowasin probe.
7942 (__cos32): Add slowacos probe.
7943 (__mpsin): Add slowsin probe.
7944 (__mpcos): Add slowcos probe.
7945
73c1ce4f
JM
79462013-11-19 Joseph Myers <joseph@codesourcery.com>
7947
7948 [BZ #15483]
7949 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7950 thread-local __sim_exceptions_thread and global
7951 __sim_exceptions_global.
7952 (__sim_disabled_exceptions): Change to thread-local
7953 __sim_disabled_exceptions_thread and global
7954 __sim_disabled_exceptions_global.
7955 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7956 and global __sim_round_mode_global.
7957 (__simulate_exceptions): Use thread-local floating-point state and
7958 set global state from it as needed.
7959 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7960 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7961 __sim_round_mode_thread.
7962 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7963 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7964 and global __sim_exceptions_global.
7965 (__sim_disabled_exceptions): Change to thread-local
7966 __sim_disabled_exceptions_thread and global
7967 __sim_disabled_exceptions_global.
7968 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7969 and global __sim_round_mode_global.
7970 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7971 (SIM_SET_GLOBAL): Likewise.
7972 * sysdeps/powerpc/soft-fp/sfp-machine.h
7973 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7974 __sim_round_mode_thread.
7975 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7976 __sim_disabled_exceptions_thread.
7977 (__sim_exceptions): Change to __sim_exceptions_thread.
7978 (__sim_disabled_exceptions): Change to
7979 __sim_disabled_exceptions_thread.
7980 (__sim_round_mode): Change to __sim_round_mode_thread.
7981 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7982 thread-local floating-point state and set global state from it as
7983 needed.
7984 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7985 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7986 (__sim_disabled_exceptions): Remove extern declaration.
7987 (feenableexcept): Use thread-local floating-point state and set
7988 global state from it as needed.
7989 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7990 extern declaration.
7991 (__sim_disabled_exceptions): Likewise.
7992 (__sim_round_mode): Likewise.
7993 (__fegetenv): Use thread-local floating-point state.
7994 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7995 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7996 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7997 floating-point state and set global state from it as needed.
7998 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7999 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8000 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8001 Likewise.
8002 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8003 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8004 Likewise.
8005 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8006 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8007 Use __sim_round_mode_thread.
8008 * math/test-fenv-tls.c: New file.
8009 * math/Makefile (tests): Add test-fenv-tls.
8010 ($(objpfx)test-fenv-tls): Depend on
8011 $(common-objpfx)nptl/libpthread.so.
8012
b5449b12
AS
80132013-11-19 Andreas Schwab <schwab@suse.de>
8014
8015 * locale/programs/locale.c (show_info): Decode wordarray elements.
8016 * locale/categories.def (LC_MONETARY): Add element for
8017 _NL_MONETARY_CRNCYSTR.
8018 * locale/C-monetary.c (conversion_rate): New variable.
8019 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8020 element.
8021
e186536b
CM
80222013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8023
8024 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8025 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8026
5c349950
PP
80272013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8028
8029 * elf/Makefile (tst-auxv): New test.
8030 * elf/tst-auxv.c: New
8031 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8032
699df45b
JM
80332013-11-18 Joseph Myers <joseph@codesourcery.com>
8034
8035 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8036 (hidden_proto): Caller changed.
8037 (hidden_tls_proto): New macro.
8038 (libc_hidden_tls_proto): Likewise.
8039 (rtld_hidden_tls_proto): Likewise.
8040 (libm_hidden_tls_proto): Likewise.
8041 (libresolv_hidden_tls_proto): Likewise.
8042 (librt_hidden_tls_proto): Likewise.
8043 (libdl_hidden_tls_proto): Likewise.
8044 (libnss_files_hidden_tls_proto): Likewise.
8045 (libnsl_hidden_tls_proto): Likewise.
8046 (libnss_nisplus_hidden_tls_proto): Likewise.
8047 (libutil_hidden_tls_proto): Likewise.
8048
b7589107
OB
80492013-11-18 Ondřej Bílka <neleai@seznam.cz>
8050
8051 [BZ #10253]
8052 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8053 (decompose_rpath): Defer expansion to fillin_rpath.
8054 (_dl_init_paths): Pass linkmap to fillin_rpath.
8055
250c23bd
RS
80562013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8057
8058 * benchtests/Makefile: Add strsep.
8059 * benchtests/bench-strsep.c: New file: strsep benchtest.
8060 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8061
a7931fcf
AS
80622013-11-18 Andreas Schwab <schwab@suse.de>
8063
8064 * locale/programs/locale.c (show_info) [case byte]: Check for
8065 '\377' instead of '\177'.
8066 * locale/C-monetary.c (not_available): Always use "\377".
8067 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8068 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8069 detect unavailable sign_posn locale elements.
8070 * locale/localeconv.c (__localeconv): For grouping and
8071 mon_grouping handle "\177" and "\377" like no grouping.
8072 (INT_ELEM): New macro. Use it to set all numeric members.
8073 * locale/programs/ld-monetary.c (monetary_read)
8074 <tok_mon_grouping>: Normalize single -1 to the empty string.
8075 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8076 Likewise.
8077
728dab0e
OB
80782013-11-07 Ondřej Bílka <neleai@seznam.cz>
8079
8080 [BZ #16055]
8081 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8082 when we match (nil).
8083 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8084
66294491
JM
80852013-11-16 Joseph Myers <joseph@codesourcery.com>
8086
ce665817
JM
8087 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8088 (NO_TEST_INLINE): Update value.
8089 (ERRNO_UNCHANGED): Likewise.
8090 (ERRNO_EDOM): Likewise.
8091 (ERRNO_ERANGE): Likewise.
8092 (IGNORE_RESULT): Likewise.
8093 (check_float_internal): Check signs of NaN results if
8094 TEST_NAN_SIGN used.
8095 (check_complex): Pass TEST_NAN_SIGN flag through to second
8096 check_float_internal call.
8097 (copysign_test_data): Add tests with quiet NaNs as second
8098 argument. Use TEST_NAN_SIGN.
8099 (fabs_test_data): Add test of negative quiet NaN argument. Use
8100 TEST_NAN_SIGN.
8101 (signbit_test_data): Add tests of quiet NaN argument.
8102 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8103
ee1466a9
JM
8104 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8105 $ignore_result.
8106 (parse_args): Handle function results specified as IGNORE.
8107 * math/libm-test.inc (IGNORE_RESULT): New macro.
8108 (check_float_internal): Do not check numerical result if flag
8109 IGNORE_RESULT set.
8110 (check_complex): Pass through IGNORE_RESULT to second
8111 check_float_internal call.
8112 (check_int): Do not check numerical result if flag IGNORE_RESULT
8113 set.
8114 (check_long): Likewise.
8115 (check_bool): Likewise.
8116 (check_longlong): Likewise.
8117 (lrint_test_data): Add tests of infinite and NaN arguments.
8118 (lrint_tonearest_test_data): Likewise.
8119 (lrint_towardzero_test_data): Likewise.
8120 (lrint_downward_test_data): Likewise.
8121 (lrint_upward_test_data): Likewise.
8122 (llrint_test_data): Likewise.
8123 (llrint_tonearest_test_data): Likewise.
8124 (llrint_towardzero_test_data): Likewise.
8125 (llrint_downward_test_data): Likewise.
8126 (llrint_upward_test_data): Likewise.
8127 (lround_test_data): Likewise.
8128 (llround_test_data): Likewise.
8129
14407b7e
JM
8130 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8131 (ERRNO_UNCHANGED): Update value.
8132 (ERRNO_EDOM): Likewise.
8133 (ERRNO_ERANGE): Likewise.
8134 (NO_TEST_INLINE_FLOAT): New macro.
8135 (NO_TEST_INLINE_DOUBLE): Likewise.
8136 (enable_test): New function.
8137 (RUN_TEST_f_f): Check enable_test before running test.
8138 (RUN_TEST_2_f): Likewise.
8139 (RUN_TEST_fff_f): Likewise.
8140 (RUN_TEST_c_f): Likewise.
8141 (RUN_TEST_f_f1): Likewise.
8142 (RUN_TEST_fF_f1): Likewise.
8143 (RUN_TEST_fI_f1): Likewise.
8144 (RUN_TEST_ffI_f1): Likewise.
8145 (RUN_TEST_c_c): Likewise.
8146 (RUN_TEST_cc_c): Likewise.
8147 (RUN_TEST_f_i): Likewise.
8148 (RUN_TEST_f_i_tg): Likewise.
8149 (RUN_TEST_ff_i_tg): Likewise.
8150 (RUN_TEST_f_b): Likewise.
8151 (RUN_TEST_f_b_tg): Likewise.
8152 (RUN_TEST_f_l): Likewise.
8153 (RUN_TEST_f_L): Likewise.
8154 (RUN_TEST_fFF_11): Likewise.
8155 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8156 conditionals.
8157 (cosh_test_data): Likewise.
8158 (exp_test_data): Likewise.
8159 (expm1_test_data): Likewise.
8160 (hypot_test_data): Likewise.
8161 (pow_test_data): Likewise.
8162 (sinh_test_data): Likewise.
8163 (tanh_test_data): Likewise.
8164 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8165 flags argument.
8166
ca07f197
JM
8167 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8168 tests with quiet NaN input and output.
8169 (acosh_test_data): Likewise.
8170 (asin_test_data): Likewise.
8171 (asinh_test_data): Likewise.
8172 (atan_test_data): Likewise.
8173 (atanh_test_data): Likewise.
8174 (atan2_test_data): Likewise.
8175 (cbrt_test_data): Likewise.
8176 (cos_test_data): Likewise.
8177 (cosh_test_data): Likewise.
8178 (erf_test_data): Likewise.
8179 (erfc_test_data): Likewise.
8180 (exp_test_data): Likewise.
8181 (exp10_test_data): Likewise.
8182 (exp2_test_data): Likewise.
8183 (expm1_test_data): Likewise.
8184 (hypot_test_data): Likewise.
8185 (j0_test_data): Likewise.
8186 (j1_test_data): Likewise.
8187 (jn_test_data): Likewise.
8188 (lgamma_test_data): Likewise.
8189 (log_test_data): Likewise.
8190 (log10_test_data): Likewise.
8191 (log1p_test_data): Likewise.
8192 (log2_test_data): Likewise.
8193 (pow_test_data): Likewise.
8194 (scalb_test_data): Likewise.
8195 (sin_test_data): Likewise.
8196 (sincos_test_data): Likewise.
8197 (sinh_test_data): Likewise.
8198 (tan_test_data): Likewise.
8199 (tanh_test_data): Likewise.
8200 (tgamma_test_data): Likewise.
8201 (y0_test_data): Likewise.
8202 (y1_test_data): Likewise.
8203 (yn_test_data): Likewise.
8204
66294491
JM
8205 [BZ #16167]
8206 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8207 argument being NaN and avoid computations with second argument in
8208 that case.
8209 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8210 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8211 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8212
1820b143
CL
82132013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8214
8215 * locale/iso-639.def: Add Chitwani Tharu (the).
8216
714bd261
AS
82172013-11-14 Andreas Schwab <schwab@suse.de>
8218
8219 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8220 word instead of empty string.
8221
7ab44563
AZ
82222013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8223
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8225 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8227 (__fe_nomask_env): Likewise.
8228
e8470ea2
SE
82292013-11-13 Steve Ellcey <sellcey@mips.com>
8230
8231 * benchtests/bench-timing.h: Include time.h.
8232
17c1d9f0
L
82332013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8234
8235 [BZ #15997]
8236 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8237 to 3.4.0 for x32.
8238 * sysdeps/unix/sysv/linux/configure: Regenerated.
8239
9310c284
JM
82402013-11-13 Joseph Myers <joseph@codesourcery.com>
8241
8242 [BZ #16151]
8243 * stdlib/strtod_l.c (round_and_return): Do not consider
8244 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8245 exponent one less than half the least subnormal exponent.
8246 * stdlib/test-strtod-round-data: Add more tests.
8247 * stdlib/tst-strtod-round.c (tests): Regenerated.
8248
7a2ad8cf
AZ
82492013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8250
8251 [BZ #14143]
8252 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8253 (__fe_mask_env): Likewise.
8254 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8255 libm_hidden_proto and add function prototype.
8256 (__fe_mask_env): Add function prototype.
8257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8258 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8260 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8262 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8263
50727aa7
MS
82642013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8265
b2f386c1 8266 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8267 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8268
a615be46
MS
82692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8270
8271 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8272 of htab_find_slot().
8273
7ddace62
DM
82742013-11-11 David S. Miller <davem@davemloft.net>
8275
8276 [BZ #16150]
8277 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8278 symbol in the non-vis3 case in static builds.
8279 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8280 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8281 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8282 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8283
9182aa67
JK
82842013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8285
8286 [BZ #387]
8287 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8288 it is empty.
8289
450a2e2d
AZ
82902013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8291
b2f386c1
SP
8292 * benchtests/Makefile: Add bench-strtod.
8293 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8294
8ec3f656
AS
82952013-11-11 Andreas Schwab <schwab@suse.de>
8296
8297 [BZ #16153]
8298 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8299 terminating NUL in key length.
8300
76a9b998
AZ
83012013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8302
8303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8304 Add artificial ODP entry for vDSO symbol for PPC64.
8305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8306 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8307
e4368156
OB
83082013-11-07 Ondřej Bílka <neleai@seznam.cz>
8309
8310 [BZ #15374]
8311 * nss/getent.c (services_keys): Recognize services starting with digit.
8312
8d6bb57c
DM
83132013-11-06 David S. Miller <davem@davemloft.net>
8314
8315 [BZ #15985]
8316 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8317 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8318
e256c421
WN
83192013-11-06 Will Newton <will.newton@linaro.org>
8320
8321 * manual/memory.texi (Malloc Examples): Remove register
8322 keyword from examples.
8323
f6e12daa 83242013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8325
f6e12daa 8326 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8327
9d880655
AS
83282013-11-04 Joseph Myers <joseph@codesourcery.com>
8329
fd2f9486 8330 [BZ #6981]
9d880655
AS
8331 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8332 depending on [__GCC_IEC_559 > 0].
8333 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8334 depending on [__GCC_IEC_559_COMPLEX > 0].
8335
ae129d3c
CL
83362013-11-03 Chris Leonard <cjl@sugarlabs.org>
8337
8338 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8339 to iso-639.def.
8340
4a15c2a4 83412013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8342
8343 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8344
8b35e35d
OB
83452013-11-01 Ondřej Bílka <neleai@seznam.cz>
8346
8347 [BZ #16112]
8348 * malloc/malloc (malloc_info): Do not handle first bin as
8349 special case.
8350
1d70fd6c
CL
83512013-11-01 Chris Leonard <cjl@sugarlabs.org>
8352
8353 * locale/iso-639.def: Add Central Nahuatl (nhn).
8354
8c5c2600
BH
83552013-11-01 Bruno Haible <bruno@clisp.org>
8356
8357 [BZ #7003]
8358 * manual/math.texi (BSD Random): Specify range upper bound as
8359 in POSIX.
8360
da5579c2
CL
83612013-10-31 Chris Leonard <cjl@sugarlabs.org>
8362
8363 * locale/iso-639.def: Add Meadow Mari (mhr).
8364
5d30d853
OB
83652013-10-31 Ondřej Bílka <neleai@seznam.cz>
8366
8367 [BZ #14752], [BZ #15763]
8368 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8369 Validate name.
8370 * rt/tst_shm.c: Add test for escaping directory.
8371
a4966c61
AS
83722013-10-31 Andreas Schwab <schwab@suse.de>
8373
8a43e768 8374 [BZ #15917]
a4966c61
AS
8375 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8376 followed by 'x' as part of digit sequence.
8377 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8378
28d708c4
MAP
83792013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8380
8381 [BZ #16037]
8382 * configure.ac: allow GNU Make 4.0 and greater.
8383 * configure: Regenerated.
8384
a56ee40b
WN
83852013-10-30 Will Newton <will.newton@linaro.org>
8386
8387 [BZ #16038]
8388 * malloc/hooks.c (memalign_check): Limit alignment to the
8389 maximum representable power of two.
8390 * malloc/malloc.c (__libc_memalign): Likewise.
8391 * malloc/tst-memalign.c (do_test): Add test for very
8392 large alignment values.
8393 * malloc/tst-posix_memalign.c (do_test): Likewise.
8394
c6e4925d
OB
83952013-10-30 Ondřej Bílka <neleai@seznam.cz>
8396
8397 [BZ #11087]
8398 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8399 (munmap_chunk): Likewise.
8400 (mremap_chunk): Likewise.
8401
84022013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8403
8a43e768 8404 [BZ #15799]
bbea82f7
OB
8405 * stdlib/div.c (div): Remove obsolete code.
8406 * stdlib/ldiv.c (ldiv): Likewise.
8407 * stdlib/lldiv.c (lldiv): Likewise.
8408
977f4b31
SP
84092013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8410
8411 [BZ #16071]
8412 * nss/nss_files/files-XXX.c (get_contents_ret): New
8413 enumerator.
8414 (get_contents): New function.
8415 (internal_getent): Use it. Expand size of LINEBUFLEN.
8416
cb8a6dbd
MF
84172013-10-30 Mike Frysinger <vapier@gentoo.org>
8418
8419 * configure.in: Moved to ...
8420 * configure.ac: ... here. Change reference to configure.in
8421 to configure.ac.
8422 * sysdeps/arm/preconfigure.ac: ... here.
8423 configure.in to configure.ac.
8424 * sysdeps/gnu/configure.in: Moved to ...
8425 * sysdeps/gnu/configure.ac: ... here.
8426 * sysdeps/i386/configure.in: Moved to ...
8427 * sysdeps/i386/configure.ac: ... here.
8428 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8429 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8430 * sysdeps/mach/configure.in: Moved to ...
8431 * sysdeps/mach/configure.ac: ... here.
8432 * sysdeps/mach/hurd/configure.in: Moved to ...
8433 * sysdeps/mach/hurd/configure.ac: ... here.
8434 * sysdeps/powerpc/configure.in: Moved to ...
8435 * sysdeps/powerpc/configure.ac: ... here.
8436 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8437 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8438 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8439 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8440 * sysdeps/s390/s390-32/configure.in: Moved to ...
8441 * sysdeps/s390/s390-32/configure.ac: ... here.
8442 * sysdeps/s390/s390-64/configure.in: Moved to ...
8443 * sysdeps/s390/s390-64/configure.ac: ... here.
8444 * sysdeps/sh/configure.in: Moved to ...
8445 * sysdeps/sh/configure.ac: ... here.
8446 * sysdeps/sparc/configure.in: Moved to ...
8447 * sysdeps/sparc/configure.ac: ... here.
8448 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8449 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8450 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8451 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8452 * sysdeps/x86_64/configure.in: Moved to ...
8453 * sysdeps/x86_64/configure.ac: ... here.
8454 * sysdeps/x86_64/preconfigure.in: Moved to ...
8455 * sysdeps/x86_64/preconfigure.ac: ... here.
8456 * aclocal.m4: Change reference to configure.in to configure.ac.
8457 * config.h.in: Likewise.
8458 * manual/install.texi: Likewise.
8459 * manual/maint.texi: Likewise.
8460 * Makefile: Likewise.
8461 * malloc/Makefile: Likewise.
8462 * nscd/Makefile: Likewise.
8463 * Makeconfig: Change reference to configure.in and
8464 preconfigure.in to configure.ac and preconfigure.ac
8465 respectively.
8466 * INSTALL: Regenerated.
8467 * configure: Likewise.
8468 * sysdeps/gnu/configure: Likewise.
8469 * sysdeps/i386/configure: Likewise.
8470 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8471 * sysdeps/mach/configure: Likewise.
8472 * sysdeps/mach/hurd/configure: Likewise.
8473 * sysdeps/powerpc/configure: Likewise.
8474 * sysdeps/powerpc/powerpc32/configure: Likewise.
8475 * sysdeps/powerpc/powerpc64/configure: Likewise.
8476 * sysdeps/s390/s390-32/configure: Likewise.
8477 * sysdeps/s390/s390-64/configure: Likewise.
8478 * sysdeps/sh/configure: Likewise.
8479 * sysdeps/sparc/configure: Likewise.
8480 * sysdeps/unix/sysv/linux/configure: Likewise.
8481 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8482 * sysdeps/x86_64/configure: Likewise.
8483 * sysdeps/x86_64/preconfigure: Likewise.
8484
36a4953a
AS
84852013-10-29 Andreas Schwab <schwab@suse.de>
8486
8487 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8488
c79a1204
SP
84892013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8490
dfa1b402
SP
8491 * benchtests/pow-inputs: Add new inputs.
8492
54f73d9c
SP
8493 * benchtests/exp-inputs: Add new inputs.
8494
c79a1204
SP
8495 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8496 conditional check for return value.
8497 (__cos32): Likewise.
8498
67beb545 84992013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8500
8501 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8502 to provide a boost for large inputs with word alignment.
8503 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8504 implementation based on optimized PPC64 strcpy.
8505 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8506 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8507 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8508 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8509
151659f6
OB
85102013-10-25 Ondřej Bílka <neleai@seznam.cz>
8511
482a077e 8512 [BZ #2801]
151659f6
OB
8513 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8514
10b0f26b
OB
85152013-10-25 Ondřej Bílka <neleai@seznam.cz>
8516
8517 [BZ #14876]
8518 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8519 * time/tst-strptime.c (day_tests): Add testcase.
8520
ca42d35e
OB
85212013-10-25 Ondřej Bílka <neleai@seznam.cz>
8522
482a077e 8523 [BZ #14029]
ca42d35e
OB
8524 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8525
52e6d801
FB
85262013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8527
8528 [BZ #16074]
8529 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8530 MAP_FAILED on error.
8531
7cbcdb36
SP
85322013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8533
8534 [BZ #16072]
8535 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8536 heap for large requests.
8537
894f3f10
AM
85382013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8539
8540 [BZ #9954]
8541 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8542 result if the result has no associated interface.
8543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8544 interface for all 127.X.Y.Z addresses.
8545
b85545a6
CL
85462013-10-24 Chris Leonard <cjl@sugarlabs.org>
8547
8548 * locale/iso-639.def: Add Ligurian (lij)
8549
d1f23d46
OB
85502013-10-21 Ondřej Bílka <neleai@seznam.cz>
8551
8552 [BZ #15825]
8553 * sunrpc/rpc_main.c: Document rpcgen -5.
8554
4db5b08f
MS
85552013-10-19 Michael Stahl <mstahl@redhat.com>
8556
8557 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8558
a471e96a
OB
85592013-10-19 Ondřej Bílka <neleai@seznam.cz>
8560
d1f23d46 8561 [BZ #10278]
a471e96a
OB
8562 * posix/glob.c: Match only directories when trailing slash is present.
8563 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8564 (main): Add testcase.
8565
45c30c61
OB
85662013-10-19 Ondřej Bílka <neleai@seznam.cz>
8567
8568 [BZ #15670]
8569 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8570
484c12fb
CD
85712013-10-18 Carlos O'Donell <carlos@redhat.com>
8572
3d7dc513
CD
8573 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8574 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8575 AUTH_DES and cindex for FIPS 140-2.
8576 (DES Encryption): Add cindex FIPS 46-3.
8577
484c12fb
CD
8578 * locale/locarchive.h (struct locarhandle): Add fname.
8579 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8580 if an optional argument was specified to --list-archive,
8581 otherwise NULL.
8582 * locale/programs/locarchive.c (show_archive_content): Take new
8583 argument fname and pass it via ah.fname to open_archive.
8584 * locale/programs/localedef.h: Update decl.
8585 (open_archive): If AH->fname is non-null, open that file
8586 rather than the default file name, and don't ignore ENOENT.
8587 (create_archive): Set AH.fname to NULL.
8588 (delete_locales_from_archive): Likewise.
8589 (add_locales_to_archive): Likewise.
8590 * locale/programs/locfile.c (write_all_categories): Likewise.
8591
3c8325fb
JM
85922013-10-18 Joseph Myers <joseph@codesourcery.com>
8593 Aldy Hernandez <aldyh@redhat.com>
8594
8595 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8596 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8597 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8598 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8599 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8600 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8601 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8602 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8603 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8604 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8605 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8606 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8607 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8608 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8609 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8610 Likewise.
8611 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8612 Likewise.
8613 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8614 Likewise.
8615 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8616 Likewise.
8617 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8618 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8619 Likewise.
8620 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8621 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8622 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8623 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8624 Likewise.
8625 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8626 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8627 * sysdeps/powerpc/preconfigure: Likewise.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8629 Likewise.
8630 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8631 Replace contents of file by #include of <fenv_libc.h>.
8632 * sysdeps/powerpc/soft-fp/sfp-machine.h
8633 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8634 and <sys/prctl.h>.
8635 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8637 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8638 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8639 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8640 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8644 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8645 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8646 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8648 Allow copysignl PLT reference to be missing.
8649
5abe0682
RS
86502013-10-18 Richard Sandiford <richard@codesourcery.com>
8651 Joseph Myers <joseph@codesourcery.com
8652
8653 [BZ #15948]
8654 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8655 single character.
8656 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8657
c7738d08
SP
86582013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8659
8660 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8661 * elf/tst-tls1.c: Likewise.
8662 * elf/tst-tls10.h: Likewise.
8663 * elf/tst-tls14.c: Likewise.
8664 * elf/tst-tls2.c: Likewise.
8665 * elf/tst-tls3.c: Likewise.
8666 * elf/tst-tls4.c: Likewise.
8667 * elf/tst-tls5.c: Likewise.
8668 * elf/tst-tls6.c: Likewise.
8669 * elf/tst-tls7.c: Likewise.
8670 * elf/tst-tls8.c: Likewise.
8671 * elf/tst-tls9.c: Likewise.
8672 * elf/tst-tlsmod1.c: Likewise.
8673 * elf/tst-tlsmod13.c: Likewise.
8674 * elf/tst-tlsmod13a.c: Likewise.
8675 * elf/tst-tlsmod14a.c: Likewise.
8676 * elf/tst-tlsmod16a.c: Likewise.
8677 * elf/tst-tlsmod16b.c: Likewise.
8678 * elf/tst-tlsmod2.c: Likewise.
8679 * elf/tst-tlsmod3.c: Likewise.
8680 * elf/tst-tlsmod4.c: Likewise.
8681 * elf/tst-tlsmod5.c: Likewise.
8682 * elf/tst-tlsmod6.c: Likewise.
8683
0bfcf2c7
OB
86842013-10-18 Ondřej Bílka <neleai@seznam.cz>
8685
8686 [BZ #12486]
8687 * malloc/malloc.c: remove checks for statistics.
8688
264aad1e
OB
86892013-10-17 Ondřej Bílka <neleai@seznam.cz>
8690
8691 [BZ #15277]
8692 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8693 * inet/tst-network.c: Add testcase.
8694
b957ced8
AS
86952013-10-17 Andreas Schwab <schwab@suse.de>
8696
8697 [BZ #15218]
8698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8699 to determine canonical name.
8700
c5d5d574
OB
87012013-10-17 Ondřej Bílka <neleai@seznam.cz>
8702
8703 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8704 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8727 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8728 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8761
e5c2c2d0
JM
87622013-10-17 Joseph Myers <joseph@codesourcery.com>
8763
8764 [BZ #16041]
8765 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8766 make result into a quiet NaN.
8767
51ca9e29
JM
87682013-10-16 Joseph Myers <joseph@codesourcery.com>
8769
8770 * soft-fp/adddf3.c: Fix horizontal whitespace.
8771 * soft-fp/addsf3.c: Likewise.
8772 * soft-fp/addtf3.c: Likewise.
8773 * soft-fp/divdf3.c: Likewise.
8774 * soft-fp/divsf3.c: Likewise.
8775 * soft-fp/divtf3.c: Likewise.
8776 * soft-fp/double.h: Likewise.
8777 * soft-fp/eqdf2.c: Likewise.
8778 * soft-fp/eqsf2.c: Likewise.
8779 * soft-fp/eqtf2.c: Likewise.
8780 * soft-fp/extenddftf2.c: Likewise.
8781 * soft-fp/extended.h: Likewise.
8782 * soft-fp/extendsfdf2.c: Likewise.
8783 * soft-fp/extendsftf2.c: Likewise.
8784 * soft-fp/extendxftf2.c: Likewise.
8785 * soft-fp/fixdfdi.c: Likewise.
8786 * soft-fp/fixdfsi.c: Likewise.
8787 * soft-fp/fixdfti.c: Likewise.
8788 * soft-fp/fixsfdi.c: Likewise.
8789 * soft-fp/fixsfsi.c: Likewise.
8790 * soft-fp/fixsfti.c: Likewise.
8791 * soft-fp/fixtfdi.c: Likewise.
8792 * soft-fp/fixtfsi.c: Likewise.
8793 * soft-fp/fixtfti.c: Likewise.
8794 * soft-fp/fixunsdfdi.c: Likewise.
8795 * soft-fp/fixunsdfsi.c: Likewise.
8796 * soft-fp/fixunsdfti.c: Likewise.
8797 * soft-fp/fixunssfdi.c: Likewise.
8798 * soft-fp/fixunssfsi.c: Likewise.
8799 * soft-fp/fixunssfti.c: Likewise.
8800 * soft-fp/fixunstfdi.c: Likewise.
8801 * soft-fp/fixunstfsi.c: Likewise.
8802 * soft-fp/fixunstfti.c: Likewise.
8803 * soft-fp/floatdidf.c: Likewise.
8804 * soft-fp/floatdisf.c: Likewise.
8805 * soft-fp/floatditf.c: Likewise.
8806 * soft-fp/floatsidf.c: Likewise.
8807 * soft-fp/floatsisf.c: Likewise.
8808 * soft-fp/floatsitf.c: Likewise.
8809 * soft-fp/floattidf.c: Likewise.
8810 * soft-fp/floattisf.c: Likewise.
8811 * soft-fp/floattitf.c: Likewise.
8812 * soft-fp/floatundidf.c: Likewise.
8813 * soft-fp/floatundisf.c: Likewise.
8814 * soft-fp/floatunditf.c: Likewise.
8815 * soft-fp/floatunsidf.c: Likewise.
8816 * soft-fp/floatunsisf.c: Likewise.
8817 * soft-fp/floatunsitf.c: Likewise.
8818 * soft-fp/floatuntidf.c: Likewise.
8819 * soft-fp/floatuntisf.c: Likewise.
8820 * soft-fp/floatuntitf.c: Likewise.
8821 * soft-fp/fmadf4.c: Likewise.
8822 * soft-fp/fmasf4.c: Likewise.
8823 * soft-fp/fmatf4.c: Likewise.
8824 * soft-fp/gedf2.c: Likewise.
8825 * soft-fp/gesf2.c: Likewise.
8826 * soft-fp/getf2.c: Likewise.
8827 * soft-fp/ledf2.c: Likewise.
8828 * soft-fp/lesf2.c: Likewise.
8829 * soft-fp/letf2.c: Likewise.
8830 * soft-fp/muldf3.c: Likewise.
8831 * soft-fp/mulsf3.c: Likewise.
8832 * soft-fp/multf3.c: Likewise.
8833 * soft-fp/negdf2.c: Likewise.
8834 * soft-fp/negsf2.c: Likewise.
8835 * soft-fp/negtf2.c: Likewise.
8836 * soft-fp/op-1.h: Likewise.
8837 * soft-fp/op-2.h: Likewise.
8838 * soft-fp/op-4.h: Likewise.
8839 * soft-fp/op-8.h: Likewise.
8840 * soft-fp/op-common.h: Likewise.
8841 * soft-fp/quad.h: Likewise.
8842 * soft-fp/single.h: Likewise.
8843 * soft-fp/soft-fp.h: Likewise.
8844 * soft-fp/sqrtdf2.c: Likewise.
8845 * soft-fp/sqrtsf2.c: Likewise.
8846 * soft-fp/sqrttf2.c: Likewise.
8847 * soft-fp/subdf3.c: Likewise.
8848 * soft-fp/subsf3.c: Likewise.
8849 * soft-fp/subtf3.c: Likewise.
8850 * soft-fp/truncdfsf2.c: Likewise.
8851 * soft-fp/trunctfdf2.c: Likewise.
8852 * soft-fp/trunctfsf2.c: Likewise.
8853 * soft-fp/trunctfxf2.c: Likewise.
8854 * soft-fp/unorddf2.c: Likewise.
8855 * soft-fp/unordsf2.c: Likewise.
8856 * soft-fp/unordtf2.c: Likewise.
8857
9ebb0332
JM
88582013-10-15 Joseph Myers <joseph@codesourcery.com>
8859
8860 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8861 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8862
4b1a6d8b
OB
88632013-10-15 Ondřej Bílka <neleai@seznam.cz>
8864
8865 * elf/dl-libc.c: Clear initfini list after freeing.
8866
1e145589
JM
88672013-10-14 Joseph Myers <joseph@codesourcery.com>
8868
8869 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8870 * soft-fp/addsf3.c: Likewise.
8871 * soft-fp/addtf3.c: Likewise.
8872 * soft-fp/divdf3.c: Likewise.
8873 * soft-fp/divsf3.c: Likewise.
8874 * soft-fp/divtf3.c: Likewise.
8875 * soft-fp/double.h: Likewise.
8876 * soft-fp/eqdf2.c: Likewise.
8877 * soft-fp/eqsf2.c: Likewise.
8878 * soft-fp/eqtf2.c: Likewise.
8879 * soft-fp/extenddftf2.c: Likewise.
8880 * soft-fp/extended.h: Likewise.
8881 * soft-fp/extendsfdf2.c: Likewise.
8882 * soft-fp/extendsftf2.c: Likewise.
8883 * soft-fp/extendxftf2.c: Likewise.
8884 * soft-fp/fixdfdi.c: Likewise.
8885 * soft-fp/fixdfsi.c: Likewise.
8886 * soft-fp/fixdfti.c: Likewise.
8887 * soft-fp/fixsfdi.c: Likewise.
8888 * soft-fp/fixsfsi.c: Likewise.
8889 * soft-fp/fixsfti.c: Likewise.
8890 * soft-fp/fixtfdi.c: Likewise.
8891 * soft-fp/fixtfsi.c: Likewise.
8892 * soft-fp/fixtfti.c: Likewise.
8893 * soft-fp/fixunsdfdi.c: Likewise.
8894 * soft-fp/fixunsdfsi.c: Likewise.
8895 * soft-fp/fixunsdfti.c: Likewise.
8896 * soft-fp/fixunssfdi.c: Likewise.
8897 * soft-fp/fixunssfsi.c: Likewise.
8898 * soft-fp/fixunssfti.c: Likewise.
8899 * soft-fp/fixunstfdi.c: Likewise.
8900 * soft-fp/fixunstfsi.c: Likewise.
8901 * soft-fp/fixunstfti.c: Likewise.
8902 * soft-fp/floatdidf.c: Likewise.
8903 * soft-fp/floatdisf.c: Likewise.
8904 * soft-fp/floatditf.c: Likewise.
8905 * soft-fp/floatsidf.c: Likewise.
8906 * soft-fp/floatsisf.c: Likewise.
8907 * soft-fp/floatsitf.c: Likewise.
8908 * soft-fp/floattidf.c: Likewise.
8909 * soft-fp/floattisf.c: Likewise.
8910 * soft-fp/floattitf.c: Likewise.
8911 * soft-fp/floatundidf.c: Likewise.
8912 * soft-fp/floatundisf.c: Likewise.
8913 * soft-fp/floatunsidf.c: Likewise.
8914 * soft-fp/floatunsisf.c: Likewise.
8915 * soft-fp/floatuntidf.c: Likewise.
8916 * soft-fp/floatuntisf.c: Likewise.
8917 * soft-fp/floatuntitf.c: Likewise.
8918 * soft-fp/fmadf4.c: Likewise.
8919 * soft-fp/fmasf4.c: Likewise.
8920 * soft-fp/fmatf4.c: Likewise.
8921 * soft-fp/gedf2.c: Likewise.
8922 * soft-fp/gesf2.c: Likewise.
8923 * soft-fp/getf2.c: Likewise.
8924 * soft-fp/ledf2.c: Likewise.
8925 * soft-fp/lesf2.c: Likewise.
8926 * soft-fp/letf2.c: Likewise.
8927 * soft-fp/muldf3.c: Likewise.
8928 * soft-fp/mulsf3.c: Likewise.
8929 * soft-fp/multf3.c: Likewise.
8930 * soft-fp/negdf2.c: Likewise.
8931 * soft-fp/negsf2.c: Likewise.
8932 * soft-fp/negtf2.c: Likewise.
8933 * soft-fp/op-1.h: Likewise.
8934 * soft-fp/op-2.h: Likewise.
8935 * soft-fp/op-4.h: Likewise.
8936 * soft-fp/op-8.h: Likewise.
8937 * soft-fp/op-common.h: Likewise.
8938 * soft-fp/quad.h: Likewise.
8939 * soft-fp/single.h: Likewise.
8940 * soft-fp/soft-fp.h: Likewise.
8941 * soft-fp/sqrtdf2.c: Likewise.
8942 * soft-fp/sqrtsf2.c: Likewise.
8943 * soft-fp/sqrttf2.c: Likewise.
8944 * soft-fp/subdf3.c: Likewise.
8945 * soft-fp/subsf3.c: Likewise.
8946 * soft-fp/subtf3.c: Likewise.
8947 * soft-fp/truncdfsf2.c: Likewise.
8948 * soft-fp/trunctfdf2.c: Likewise.
8949 * soft-fp/trunctfsf2.c: Likewise.
8950 * soft-fp/trunctfxf2.c: Likewise.
8951 * soft-fp/unorddf2.c: Likewise.
8952 * soft-fp/unordsf2.c: Likewise.
8953 * soft-fp/unordtf2.c: Likewise.
8954
17c48a60
OB
89552013-10-14 Ondřej Bílka <neleai@seznam.cz>
8956
8957 [BZ #15672]
8958 * misc/error.c (error_tail): Fix possible buffer overflow.
8959
cabba934
OB
89602013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8961
8962 [BZ #13028]
8963 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8964 address.
8965
94bf958a
PM
89662013-10-14 P. J. McDermott <pj@pehjota.net>
8967
8968 [BZ #832]
8969 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8970 testing pipefail option.
8971
71b4dea7
JM
89722013-10-12 Joseph Myers <joseph@codesourcery.com>
8973
8974 * soft-fp/double.h: Indent preprocessor directives inside #if.
8975 * soft-fp/extended.h: Likewise.
8976 * soft-fp/op-2.h: Likewise.
8977 * soft-fp/op-4.h: Likewise.
8978 * soft-fp/op-common.h: Likewise.
8979 * soft-fp/quad.h: Likewise.
8980 * soft-fp/single.h: Likewise.
8981 * soft-fp/soft-fp.h: Likewise.
8982
55602758
YC
89832013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8984
8985 * iconv/iconv_prog.c: Fix typos.
8986 * stdio-common/psiginfo-data.h: Likewise.
8987
9cd83302
RT
89882013-10-12 Reuben Thomas <rrt@sc3d.org>
8989
8990 [BZ #15764]
8991 * locale/setlocale.c: Fix typo.
8992
99fd9f47
JM
89932013-10-12 Joseph Myers <joseph@codesourcery.com>
8994
b7ea74f0
JM
8995 [BZ #16036]
8996 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8997 signaling NaN arguments.
8998 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8999 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9000
8a509447
JM
9001 [BZ #14910]
9002 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9003 unordered operands.
9004 * soft-fp/gesf2.c (__gesf2): Likewise.
9005 * soft-fp/getf2.c (__getf2): Likewise.
9006 * soft-fp/ledf2.c (__ledf2): Likewise.
9007 * soft-fp/lesf2.c (__lesf2): Likewise.
9008 * soft-fp/letf2.c (__letf2): Likewise.
9009
98998e9f
JM
9010 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9011 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9012 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9013 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9014 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9015 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9016 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9017 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9018 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9019 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9020 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9021 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9022 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9023 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9024 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9025 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9026 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9027 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9028 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9029 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9030 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9031 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9032 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9033 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9034 * soft-fp/floattidf.c (__floattidf): Likewise.
9035 * soft-fp/floattisf.c (__floattisf): Likewise.
9036 * soft-fp/floattitf.c (__floattitf): Likewise.
9037 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9038 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9039 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9040 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9041 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9042 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9043 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9044 * soft-fp/gesf2.c (__gesf2): Likewise.
9045 * soft-fp/getf2.c (__getf2): Likewise.
9046 * soft-fp/ledf2.c (__ledf2): Likewise.
9047 * soft-fp/lesf2.c (__lesf2): Likewise.
9048 * soft-fp/letf2.c (__letf2): Likewise.
9049
8edc4a11
JM
9050 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9051 Undefine and redefine.
9052 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9053 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9054 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9055 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9056 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9057 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9058 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9059 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9060 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9061 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9062 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9063 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9064 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9065 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9066 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9067
8399acaf
JM
9068 [BZ #16032]
9069 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9070 without decrementing exponent if mantissa >= that for the
9071 denominator, not >.
9072 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9073 denominator, not >. Decrement exponent in < case instead of
9074 incrementing in >= case.
9075 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9076 without decrementing exponent if mantissa >= that for the
9077 denominator, not >.
9078
99fd9f47
JM
9079 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9080 computing saturated result for unsigned overflow.
9081
10e1cf6b
SP
90822013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9083 Jeff Law <law@redhat.com>
9084
9085 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9086 (atan2Mp): Add systemtap probe marker.
9087 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9088 (__ieee754_log): Add systemtap probe marker.
9089 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9090 (atanMp): Add systemtap probe marker.
9091 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9092 (tanMp): Add systemtap probe marker.
9093 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9094 (__slowexp): Add systemtap probe marker.
9095 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9096 (__slowpow): Add systemtap probe marker.
9097 * manual/probes.texi: Document probes.
9098
3d110c7c
EB
90992013-10-11 Eric Biggers <ebiggers3@gmail.com>
9100
9101 [BZ #15362]
9102 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9103 written.
9104 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9105 written.
9106 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9107 written to buffer but not flushed.
9108 * libio/iofwrite_u.c: Likewise.
9109 * libio/iopadn.c: Return bytes returned even if EOF was
9110 encountered.
9111 * libio/iowpadn.c: Likewise.
9112 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9113 if _IO_padn does not write the whole buffer.
9114 [!COMPILE_WPRINTF] (PAD): Likewise.
9115
75b4202a
DM
91162013-10-10 David S. Miller <davem@davemloft.net>
9117
9118 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9119 directory block.
9120
6c6352e6
JM
91212013-10-10 Joseph Myers <joseph@codesourcery.com>
9122
33b853c3
JM
9123 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9124 instead of FSF address.
9125 * soft-fp/fixdfti.c: Likewise.
9126 * soft-fp/fixsfti.c: Likewise.
9127 * soft-fp/fixtfti.c: Likewise.
9128 * soft-fp/fixunsdfti.c: Likewise.
9129 * soft-fp/fixunssfti.c: Likewise.
9130 * soft-fp/fixunstfti.c: Likewise.
9131 * soft-fp/floattidf.c: Likewise.
9132 * soft-fp/floattisf.c: Likewise.
9133 * soft-fp/floattitf.c: Likewise.
9134 * soft-fp/floatuntidf.c: Likewise.
9135 * soft-fp/floatuntisf.c: Likewise.
9136 * soft-fp/floatuntitf.c: Likewise.
9137 * soft-fp/trunctfxf2.c: Likewise.
9138
6c6352e6
JM
9139 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9140 * soft-fp/fixdfti.c: Likewise.
9141 * soft-fp/fixsfti.c: Likewise.
9142 * soft-fp/fixtfti.c: Likewise.
9143 * soft-fp/fixunsdfti.c: Likewise.
9144 * soft-fp/fixunssfti.c: Likewise.
9145 * soft-fp/fixunstfti.c: Likewise.
9146 * soft-fp/floattidf.c: Likewise.
9147 * soft-fp/floattisf.c: Likewise.
9148 * soft-fp/floattitf.c: Likewise.
9149 * soft-fp/floatuntidf.c: Likewise.
9150 * soft-fp/floatuntisf.c: Likewise.
9151 * soft-fp/floatuntitf.c: Likewise.
9152 * soft-fp/trunctfxf2.c: Likewise.
9153
3bf78b71
DM
91542013-10-10 David S. Miller <davem@davemloft.net>
9155
9156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9157
6f10289e
JM
91582013-10-10 Joseph Myers <joseph@codsourcery.com>
9159
bd878fc0
JM
9160 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9161 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9162 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9163 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9164 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9165 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9166 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9167
6f10289e
JM
9168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9169 for NaNs before doing comparisons on argument.
9170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9171 Likewise.
9172
321e2684
WN
91732013-10-10 Will Newton <will.newton@linaro.org>
9174
9175 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9176 passed to _int_memalign does not overflow.
9177
40fefba1
TR
91782013-10-10 Torvald Riegel <triegel@redhat.com>
9179
9180 * scripts/bench.pl: Add include-sources directive.
9181 * benchtests/README: Update documentation.
9182
2ae21ed2
JM
91832013-10-10 Joseph Myers <joseph@codesourcery.com>
9184
dcc2dd3f
JM
9185 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9186 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9187 instead of FP_INIT_ROUNDMODE.
9188 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9189 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9190
2ae21ed2
JM
9191 [BZ #16034]
9192 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9193 copy class of input value.
9194 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9195 not handle exceptions.
9196 * soft-fp/negsf2.c (__negsf2): Likewise.
9197 * soft-fp/negtf2.c (__negtf2): Likewise.
9198 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9199
cb8f9562
JM
92002013-10-09 Joseph Myers <joseph@codesourcery.com>
9201
9202 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9203 semicolon. From Linux kernel.
9204
5b60c59d
AB
92052013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9206
9207 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9208
b86835ca
YC
92092013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9210
9211 [BZ #156]
9212 * manual/socket.texi: Added statement about buffer
9213 for gethostbyname2_r.
9214
e7044ea7
OB
92152013-10-08 Ondřej Bílka <neleai@seznam.cz>
9216
9217 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9218 Use .p2align directive instead, throughout.
9219 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9220 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9221 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9222 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9223 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9224 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9225 * sysdeps/x86_64/strchr.S: Likewise.
9226 * sysdeps/x86_64/strrchr.S: Likewise.
9227
09544cbc
SP
92282013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9229
88576635
SP
9230 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9231
e7b2d1dd
SP
9232 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9233
09544cbc
SP
9234 * sysdeps/generic/math_private.h (__mpsin1): Remove
9235 declaration.
9236 (__mpcos1): Likewise.
9237 (__mpsin): New argument __range_reduce.
9238 (__mpcos): Likewise.
9239 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9240 (slow): Use __mpsin and __mpcos.
9241 (slow1): Likewise.
9242 (slow2): Likewise.
9243 (sloww): Likewise.
9244 (sloww1): Likewise.
9245 (sloww2): Likewise.
9246 (bsloww): Likewise.
9247 (bsloww1): Likewise.
9248 (bsloww2): Likewise.
9249 (cslow2): Likewise.
9250 (csloww): Likewise.
9251 (csloww1): Likewise.
9252 (csloww2): Likewise.
9253 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9254 range_reduce. Merge in __mpsin1.
9255 (__mpcos): Likewise.
9256 (__mpsin1): Remove.
9257 (__mpcos1): Likewise.
9258
7602d070
JM
92592013-10-07 Joseph Myers <joseph@codesourcery.com>
9260
9261 * locale/loadlocale.c (_nl_intern_locale_data): Use
9262 LOCFILE_ALIGNED_P.
9263 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9264 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9265 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9266 obstack data is appropriately aligned.
9267 (obstack_int32_grow_fast): Likewise.
9268 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9269 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9270 (add_locale_uint32_array): Likewise.
9271
a357259b
SP
92722013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9273
9274 * benchtests/Makefile: Remove ARGLIST and RET variables.
9275 ($(objpfx)bench-%.c): Pass only function name to the script.
9276 * benchtests/README: Update documentation.
9277 * benchtests/acos-inputs: Add new directives.
9278 * benchtests/acosh-inputs: Likewise.
9279 * benchtests/asin-inputs: Likewise.
9280 * benchtests/asinh-inputs: Likewise.
9281 * benchtests/atan-inputs: Likewise.
9282 * benchtests/atanh-inputs: Likewise.
9283 * benchtests/cos-inputs: Likewise.
9284 * benchtests/cosh-inputs: Likewise.
9285 * benchtests/exp-inputs: Likewise.
9286 * benchtests/log-inputs: Likewise.
9287 * benchtests/pow-inputs: Likewise.
9288 * benchtests/rint-inputs: Likewise.
9289 * benchtests/sin-inputs: Likewise.
9290 * benchtests/sinh-inputs: Likewise.
9291 * benchtests/tan-inputs: Likewise.
9292 * benchtests/tanh-inputs: Likewise.
9293 * scripts/bench.pl: Add support for new directives.
9294
9ec1b13d
AM
92952013-10-07 Alan Modra <amodra@gmail.com>
9296
9297 * README: Fix careless merge.
9298
8b7d57cd
AM
92992013-10-05 Alan Modra <amodra@gmail.com>
9300
9301 * NEWS: Mention powerpc64le support and bugs fixed.
9302 * README: Both big-endian and little-endian powerpc64 supported.
9303
7b7bab13
ST
93042013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9305
9306 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9307 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9308 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9309 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9310
d39baad1
RA
93112013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9312
9313 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9314 match prototype.
9315
cd78f7e7
JM
93162013-10-04 Joseph Myers <joseph@codesourcery.com>
9317
29d73d86
JM
9318 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9319 Move -mhard-float appending from
9320 ports/sysdeps/powerpc/powerpc32/Makefile.
9321 [$(with-fp) = yes] (ASFLAGS): Likewise.
9322 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9323 * sysdeps/powerpc/nofpu: Move directory from
9324 ports/sysdeps/powerpc/nofpu.
9325 * sysdeps/powerpc/soft-fp: Move directory from
9326 ports/sysdeps/powerpc/soft-fp.
9327 * sysdeps/powerpc/powerpc32/405: Move directory from
9328 ports/sysdeps/powerpc/powerpc32/405.
9329 * sysdeps/powerpc/powerpc32/440: Move directory from
9330 ports/sysdeps/powerpc/powerpc32/440.
9331 * sysdeps/powerpc/powerpc32/464: Move directory from
9332 ports/sysdeps/powerpc/powerpc32/464.
9333 * sysdeps/powerpc/powerpc32/476: Move directory from
9334 ports/sysdeps/powerpc/powerpc32/476.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9336 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9338 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9340 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9342 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9344 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9345 * README: Update for powerpc-*-linux-gnu software floating point
9346 support in libc.
9347
e246b347
JM
9348 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9349 case to powerpc/powerpc32*.
9350 * sysdeps/unix/sysv/linux/configure: Regenerated.
9351
89c2003e
JM
9352 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9353 (_FPU_MASK_OM): Define as 0x04.
9354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9356 0x00c10080.
9357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9358 0x0000003c.
9359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9360
cd78f7e7
JM
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9362 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9363 getcontext_e500.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9365 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9366 setcontext_e500.
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9368 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9369 and setcontext_e500.
9370
c755294d
CL
93712013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9372
9373 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9374
e16d221c
SP
93752013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9376
9377 * manual/threads.texi (Default Thread Attributes): Fix typo.
9378
215c7d43
WN
93792013-10-04 Will Newton <will.newton@linaro.org>
9380
9381 * malloc/Makefile: Add tst-memalign.
9382 * malloc/tst-memalign.c: New file.
9383
27d0461b
WN
9384 * malloc/tst-posix_memalign.c: Add comments.
9385 (do_test): Add comments and call free on all potentially
9386 allocated pointers. Add space after cast.
9387
1bc92709
WN
9388 * malloc/tst-pvalloc.c: Add comments.
9389 (do_test): Add comments and call free on all potentially
9390 allocated pointers. Remove duplicate check for NULL pointer.
9391 Add space after cast.
9392
66a9be9d
WN
9393 * malloc/tst-valloc.c: Add comments.
9394 (do_test): Add comments and call free on all potentially
9395 allocated pointers. Remove duplicate check for NULL pointer.
9396 Add space after cast.
9397
4cb81307
AM
93982013-10-04 Alan Modra <amodra@gmail.com>
9399
9400 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9401 Use stdint types in rather than __attribute__((mode())).
9402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9403
f8e3e9f3
AM
94042013-10-04 Alan Modra <amodra@gmail.com>
9405
9406 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9407 Correct handling of unaligned relocs for little-endian.
9408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9409
8f9ebb08
AM
94102013-10-04 Alan Modra <amodra@gmail.com>
9411
9412 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9413 * configure: Regenerate.
9414 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9415 * shlib-versions: Likewise.
9416
0edf96c2
AM
94172013-10-04 Alan Modra <amodra@gmail.com>
9418
9419 * string/tester.c (test_memrchr): Increment reported test cycle.
9420
e0f7a380
AM
94212013-10-04 Alan Modra <amodra@gmail.com>
9422
9423 * string/test-memcpy.c (do_one_test): When reporting errors, print
9424 string address and don't overrun end of string.
9425
466b0393
AM
94262013-10-04 Alan Modra <amodra@gmail.com>
9427
9428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9429 insrdi. Make better use of reg selection to speed exit slightly.
9430 Schedule entry path a little better. Remove useless "are we done"
9431 checks on entry to main loop. Handle wrapping around zero address.
9432 Correct main loop count. Handle single left-over word from main
9433 loop inline rather than by using loop_small. Remove extra word
9434 case in loop_small caused by wrong loop count. Add little-endian
9435 support.
9436 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9438 cache hint.
9439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9440 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9441 support. Avoid rlwimi.
9442 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9443
3be87c77
AM
94442013-10-04 Alan Modra <amodra@gmail.com>
9445
9446 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9447 insrdi. Formatting.
3be87c77
AM
9448 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9450 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9451 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9452 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9453 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9454
759cfef3
AM
94552013-10-04 Alan Modra <amodra@gmail.com>
9456
9457 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9458 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9459 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9460 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9461 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9463 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9464 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9466 use of regs. Use power7 mtocrf. Tidy function tails.
9467
fe6e95d7
AM
94682013-10-04 Alan Modra <amodra@gmail.com>
9469
9470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9471 Formatting. Consistently use rXXX register defines or rN defines.
9472 Use early exit labels that avoid restoring unused non-volatile regs.
9473 Make cr field use more consistent with rWORDn compares. Rename
9474 regs used as shift registers for unaligned loop, using rN defines
9475 for short lifetime/multiple use regs.
9476 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9477 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9478 addi 1,1,64 to pop stack frame. Simplify return value code.
9479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9480
664318c3
AM
94812013-10-04 Alan Modra <amodra@gmail.com>
9482
9483 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9484 support. Correct typos, formatting. Optimize tail. Use insrdi
9485 rather than rlwimi.
9486 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9487 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9488 little-endian support. Correct typos.
9489 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9490 rather than rlwimi.
9491 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9492 in loop and entry code to keep "and." results.
9493 (strchr): Add little-endian support. Comment. Move cntlzd
9494 earlier in tail.
9495 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9496
43b84013
AM
94972013-10-04 Alan Modra <amodra@gmail.com>
9498
9499 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9500 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9502 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9503
8a7413f9
AM
95042013-10-04 Alan Modra <amodra@gmail.com>
9505
9506 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9507 (rTMP): Define as r11.
9508 (strcmp): Add little-endian support. Optimise tail.
9509 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9510 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9511 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9512 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9513 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9516
33ee81de
AM
95172013-10-04 Alan Modra <amodra@gmail.com>
9518
9519 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9520 little-endian support. Remove unnecessary "are we done" tests.
9521 Handle "s" wrapping around zero and extremely large "size".
9522 Correct main loop count. Handle single left-over word from main
9523 loop inline rather than by using small_loop. Correct comments.
9524 Delete "zero" tail, use "end_max" instead.
9525 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9526
db9b4570
AM
95272013-10-04 Alan Modra <amodra@gmail.com>
9528
9529 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9530 support. Don't branch over align.
9531 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9532 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9533 support. Rearrange tmp reg use to suit. Comment.
9534 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9535
f7c399cf
AM
95362013-10-04 Alan Modra <amodra@gmail.com>
9537
9538 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9539
0b2c2ace
AM
95402013-10-04 Alan Modra <amodra@gmail.com>
9541
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9543 conditional form of branch and link when obtaining pc.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9545
02f04a6c
AM
95462013-10-04 Alan Modra <amodra@gmail.com>
9547
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9549 HIWORD/LOWORD.
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9552
9b874b2f
AM
95532013-10-04 Alan Modra <amodra@gmail.com>
9554
9555 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9556 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9557 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9558 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9559 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9560 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9561 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9562 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9563 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9564 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9565
be1e5d31
AB
95662013-10-04 Anton Blanchard <anton@au1.ibm.com>
9567 Alistair Popple <alistair@ozlabs.au.ibm.com>
9568 Alan Modra <amodra@gmail.com>
9569
9570 [BZ #15723]
9571 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9572 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9573 _dl_hwcap access for little-endian.
9574 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9575 destroy vmx regs when saving unaligned.
9576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9577 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9578 destroy vmx regs when saving unaligned.
9579
fef13a78
AM
95802013-10-04 Alan Modra <amodra@gmail.com>
9581
9582 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9583 Don't use a union to pack hi/low value.
9584
76a66d51
AB
95852013-10-04 Anton Blanchard <anton@au1.ibm.com>
9586
9587 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9588 for little-endian.
9589 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9590 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9591 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9593 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9594
6a31fe7f
AM
95952013-10-04 Alan Modra <amodra@gmail.com>
9596
9597 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9598 constants to usual value for .cst8 section, and remove redundant
9599 high address load.
9600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9601 constant for 0x1p52. Load little-endian words of double from
9602 correct stack offsets.
9603
7b88401f
AM
96042013-10-04 Alan Modra <amodra@gmail.com>
9605
9606 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9607 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9608 words of double from correct stack offsets.
9609 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9610 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9611 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9614 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9615 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9616 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9617 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9618 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9620 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9621 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9622 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9623 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9624 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9625 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9626
9c008155
AM
96272013-10-04 Alan Modra <amodra@gmail.com>
9628
9629 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9630 64-bit int/double union.
9631 (_FPU_SETCW): Likewise.
9632 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9633 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9634
da13146d
AM
96352013-10-04 Alan Modra <amodra@gmail.com>
9636
9637 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9638 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9639
603e8410
AM
96402013-10-04 Alan Modra <amodra@gmail.com>
9641
9642 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9643 use vector int constants.
9644 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9645
4a28b3ca
AB
96462013-10-04 Anton Blanchard <anton@au1.ibm.com>
9647
9648 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9649 array with long long.
9650 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9651 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9652 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9653 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9654 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9655 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9656 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9657 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9658 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9659 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9660 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9661 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9662 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9663
2ca85d2b
AB
96642013-10-04 Anton Blanchard <anton@au1.ibm.com>
9665
9666 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9667 (__signbit): Likewise. Correct for little-endian.
9668 (__signbitl): Call __signbit.
9669 (lrint): Correct for little-endian.
9670 (lrintf): Call lrint.
9671
62a728ae
AM
96722013-10-04 Alan Modra <amodra@gmail.com>
9673
9674 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9675 union 32-bit int array member with 64-bit int array.
9676 (t515, tm256): Double rather than long double.
9677 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9678
32c301df
AM
96792013-10-04 Alan Modra <amodra@gmail.com>
9680
9681 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9682 Delete.
9683 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9685 version of math_ldbl.h.
9686
650ef4bd
AM
96872013-10-04 Alan Modra <amodra@gmail.com>
9688
9689 [BZ #15734], [BZ #15735]
9690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9691 all uses of ieee875 long double macros and unions. Simplify test
9692 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9693 ldbl_extract_mantissa value for ix,iy exponents. Properly
9694 normalize after ldbl_extract_mantissa, and don't add hidden bit
9695 already handled. Don't treat low word of ieee854 mantissa like
9696 low word of IBM long double and mask off bit when testing for
9697 zero.
9698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9699 all uses of ieee875 long double macros and unions. Simplify tests
9700 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9701 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9702 two1022, instead use their values. Recognise that tests for large
9703 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9704 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9705 Rewrite all uses of ieee875 long double macros and unions. Simplify
9706 test for 0.0L and nan. Correct negation.
9707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9708 ieee875 long double macros and unions. Correct output for large
9709 magnitude x. Correct absolute value calculation.
9710 (__erfcl): Likewise.
9711 * math/libm-test.inc: Add tests for errors discovered in IBM long
9712 double versions of fmodl, remainderl, erfl and erfcl.
9713
765714ca
AM
97142013-10-04 Alan Modra <amodra@gmail.com>
9715
9716 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9717 all uses of ieee854 long double macros and unions. Simplify tests
9718 for long doubles that are fully specified by the high double.
9719 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9720 Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9722 Remove dead code too.
9723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9724 (__ieee754_ynl): Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9728 Remove dead code too.
9729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9733 Simplify.
9734 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9735 Simplify.
9736 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9739 Comment on variable precision.
9740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9742 Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9747 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9748
4ebd120c
AM
97492013-10-04 Alan Modra <amodra@gmail.com>
9750
9751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9753 all uses of ieee854 long double macros and unions.
9754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9760 Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9767 Simplify sign and nan test too.
9768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9772 Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9775 Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9782
1b6adf88
AM
97832013-10-04 Alan Modra <amodra@gmail.com>
9784
9785 * stdio-common/printf_size.c (__printf_size): Don't use
9786 union ieee854_long_double in fpnum union.
9787 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9788 signbit macro to retrieve sign from long double.
9789 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9790 retrieve sign from long double.
9791 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9792 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9794 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9795 * math/test-misc.c (main): Don't use union ieee854_long_double.
9796
4cf69995
AM
97972013-10-04 Alan Modra <amodra@gmail.com>
9798
9799 [BZ #15680]
9800 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9801 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9802 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9803 calculation. Remove unnecessary test for denormal exponent.
9804 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9805 Correct handling of denormals. Avoid undefined shift behaviour.
9806 Correct normalisation of low mantissa when low double is denormal.
9807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9808 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9809 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9810 Correct normalisation of low mantissa. Test for overflow of high
9811 mantissa and normalise.
9812 (ldbl_nearbyint): Use more readable constant for two52.
9813 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9814 (__mpn_construct_long_double): Fix test for overflow of high
9815 mantissa and correct normalisation. Avoid undefined shift.
9816
9605ca6c
AM
98172013-10-04 Alan Modra <amodra@gmail.com>
9818
9819 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9820 (union ibm_extended_long_double): Define as an array of ieee754_double.
9821 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9823 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9824 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9832
975569d0
JM
98332013-10-03 Joseph Myers <joseph@codesourcery.com>
9834
d3d23756
JM
9835 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9836 page size instead of calling getpagesize.
9837
975569d0
JM
9838 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9839 (LOCFILE_ALIGN_MASK): Likewise.
9840 (LOCFILE_ALIGN_UP): Likewise.
9841 (LOCFILE_ALIGNED_P): Likewise.
9842 * locale/programs/ld-collate.c (collate_output): Use the new
9843 macros instead of __alignof__ (int32_t).
9844 * locale/weight.h (findidx): Likewise.
9845
b1fe1f2b
OB
98462013-10-03 Ondřej Bílka <neleai@seznam.cz>
9847
9848 [BZ #431]
9849 * manual/string.texi: Fix strncat and wcsncat.
9850
5f855e35
BM
98512013-10-03 Brooks Moses <bmoses@google.com>
9852
9853 [BZ #15915]
9854 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9855 * Makerules: ...here, and adjust associated comments.
9856
3cef6009
WN
98572013-10-02 Will Newton <will.newton@linaro.org>
9858
9859 * malloc/Makefile: Add tst-pvalloc.
9860 * malloc/tst-pvalloc.c: New file.
9861
7815420b
WN
98622013-10-02 Will Newton <will.newton@linaro.org>
9863
9864 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9865 improve test coverage.
9866
4868b204
WN
98672013-10-02 Will Newton <will.newton@linaro.org>
9868
9869 * malloc/Makefile: Add tst-posix_memalign.
9870 * malloc/tst-posix_memalign.c: New file.
9871
29c793b3
EB
98722013-10-01 Eric Blake <eblake@redhat.com>
9873
9874 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9875 Use __THROWNL rather than __THROW on static functions.
9876
fd967522
PM
98772013-09-30 Petr Machata <pmachata@redhat.com>
9878
9879 * elf/elf.h (R_AARCH64_ABS16): New macro.
9880 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9881 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9882 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9883 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9884 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9885 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9886 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9887 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9888 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9889 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9890 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9891 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9892 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9893 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9894 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9895 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9896 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9897 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9898 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9899 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9900 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9901 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9902 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9903 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9904 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9905 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9906 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9907 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9908 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9909 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9910 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9911 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9912 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9913 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9914 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9915 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9916 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9917 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9918 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9919 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9920 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9921 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9922 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9923 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9924 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9925 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9926 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9927 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9928 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9929 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9930 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9931 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9932 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9933 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9934 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9935 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9936 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9937 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9938 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9939 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9940 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9941 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9942 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9943 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9944 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9945 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9946 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9947 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9948 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9949 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9950 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9951 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9952 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9953 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9954 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9955 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9956 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9957 (R_AARCH64_TLSDESC_LDR): Likewise.
9958 (R_AARCH64_TLSDESC_ADD): Likewise.
9959 (R_AARCH64_TLSDESC_CALL): Likewise.
9960
b2179107
AS
99612013-09-30 Andreas Schwab <schwab@suse.de>
9962
9963 [BZ #15048]
9964 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9965 the nss database lookup.
9966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9968
47f28d0a
MF
99692013-09-28 Mike Frysinger <vapier@gentoo.org>
9970
9971 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9972
99732013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9974
9975 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9976 ${Bash-specific parameter/pattern/string} parameter expansion.
9977 * sysdeps/unix/make-syscalls.sh: Likewise.
9978
f4518a17
KK
99792013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9980
9981 * sysdeps/sh/stackguard-macros.h: New file.
9982
dc1a95c7
OB
99832013-09-26 Ondřej Bílka <neleai@seznam.cz>
9984
9985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9986 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9987 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9988 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9989 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9990 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9991
5ebbff8f
AZ
99922013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993
9994 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9995 Fix thread ID register.
9996
4fd2cf9f
JM
99972013-09-25 Joseph Myers <joseph@codesourcery.com>
9998
9999 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10000 [POSIX || UNIX98]: Require rather than permitting all symbols from
10001 <time.h>.
10002 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10003 element of struct sched_param.
10004 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10005 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10006 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10007 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10008 constant.
10009
12c22bc4
OL
100102013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10011
10012 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10013 argument calculation.
10014
a03d8ea7
JM
100152013-09-24 Joseph Myers <joseph@codesourcery.com>
10016
10017 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10018 Expect macro.
10019 [POSIX] (pthread_attr_t): Do not require type.
10020 [POSIX] (pthread_cond_t): Likewise.
10021 [POSIX] (pthread_condattr_t): Likewise.
10022 [POSIX] (pthread_key_t): Likewise.
10023 [POSIX] (pthread_mutex_t): Likewise.
10024 [POSIX] (pthread_mutexattr_t): Likewise.
10025 [POSIX] (pthread_once_t): Likewise.
10026 [POSIX] (pthread_t): Likewise.
10027 [POSIX-based standards] (pthread_atfork): Expect function.
10028
6055173a
JM
100292013-09-24 Joseph Myers <joseph@codesourcery.com>
10030 Richard Sandiford <richard@codesourcery.com>
10031
10032 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10033 (swap_endianness_p): New extern variable.
10034 (set_big_endian): New inline function.
10035 (maybe_swap_uint32): Likewise.
10036 (maybe_swap_uint32_array): Likewise.
10037 (maybe_swap_uint32_obstack): Likewise.
10038 * locale/programs/locfile.c: Include <stdbool.h>.
10039 (swap_endianness_p): New variable.
10040 (add_locale_uint32): Call maybe_swap_uint32.
10041 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10042 (write_locale_data): Call maybe_swap_uint32_array.
10043 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10044 maybe_swap_uint32.
10045 (obstack_int32_grow_fast): Likewise.
10046 (output_weightwc): Call maybe_swap_uint32_obstack.
10047 (collate_output): Likewise.
10048 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10049 (OPT_LITTLE_ENDIAN): Likewise.
10050 (options): Add --little-endian and --big-endian options.
10051 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10052 * locale/programs/locarchive.c: Include "locfile.h".
10053 (GET): New macro.
10054 (SET): Likewise.
10055 (INC): Likewise.
10056 (create_archive): Use the new macros to access fields of
10057 structures directly mapped from or written to locale archives.
10058 (oldlocrecentcmp): Likewise.
10059 (enlarge_archive): Likewise.
10060 (insert_name): Likewise.
10061 (add_alias): Likewise.
10062 (add_locale): Likewise.
10063 (delete_locales_from_archive): Likewise.
10064 (show_archive_content): Likewise.
10065 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10066 locale data.
10067
39bf0bb4
RM
100682013-09-24 Roland McGrath <roland@hack.frob.com>
10069
10070 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10071 http://www.gnu.org/doc/freemanuals.texi.
10072 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10073
f02eed10
WN
100742013-09-24 Will Newton <will.newton@linaro.org>
10075
10076 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10077 macro.
10078
a3a6c312
JM
100792013-09-23 Joseph Myers <joseph@codesourcery.com>
10080
10081 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10082 unsigned char.
10083
107375ac
MR
100842013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10085
10086 * manual/threads.texi (POSIX Threads): Fix a typo.
10087
141f3a77
SP
100882013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10089
303e567a
SP
10090 [BZ #14547]
10091 * string/tst-strcoll-overflow.c: New test case.
10092 * string/Makefile (xtests): Add tst-strcoll-overflow.
10093 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10094 cache if string sizes may cause integer overflow.
10095
141f3a77
SP
10096 [BZ #14547]
10097 * string/strcoll_l.c (coll_seq): New members rule, idx,
10098 save_idx and back_us.
10099 (get_next_seq_nocache): New function.
10100 (do_compare_nocache): New function.
10101 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10102 when malloc fails.
10103
c61b4d41
CD
101042013-09-23 Carlos O'Donell <carlos@redhat.com>
10105
0b1f8e35
CD
10106 [BZ #15754]
10107 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10108 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10109 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10110
c61b4d41
CD
10111 [BZ #15754]
10112 * elf/Makefile (tests): Add tst-ptrguard1.
10113 (tests-static): Add tst-ptrguard1-static.
10114 (tst-ptrguard1-ARGS): Define.
10115 (tst-ptrguard1-static-ARGS): Define.
10116 * elf/tst-ptrguard1.c: New file.
10117 * elf/tst-ptrguard1-static.c: New file.
10118 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10119 * sysdeps/i386/stackguard-macros.h: Likewise.
10120 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10121 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10122 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10123 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10124 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10125 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10126
101272013-09-23 Hector Marco <hecmargi@upv.es>
10128 Ismael Ripoll <iripoll@disca.upv.es>
10129 Carlos O'Donell <carlos@redhat.com>
10130
10131 [BZ #15754]
10132 * sysdeps/generic/stackguard-macros.h: Define
10133 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10134 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10135 Define __pointer_chk_guard_local.
10136 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10137 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10138
f5f4e7b4
VV
101392013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10140
10141 [BZ #15859]
10142 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10143
5bb43a43
AS
101442013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10145
10146 * include/string.h (__ffs): Declare as hidden.
10147 * string/ffs.c (__ffs): Define as hidden.
10148 * sysdeps/i386/ffs.c (__ffs): Likewise.
10149 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10150 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10151 * sysdeps/s390/ffs.c (__ffs): Likewise.
10152 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10153
3ea5be54
AO
101542013-09-20 Alexandre Oliva <aoliva@redhat.com>
10155
ffb89e53
AO
10156 * NEWS: Mention malloc probes.
10157
322dea08
AO
10158 * malloc/arena.c (new_heap): New memory_heap_new probe.
10159 (grow_heap): New memory_heap_more probe.
10160 (shrink_heap): New memory_heap_less probe.
10161 (heap_trim): New memory_heap_free probe.
10162 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10163 (systrim): New memory_sbrk_less probe.
10164 * manual/probes.texi: Document them.
10165
655673f3
AO
10166 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10167 * manual/probes.texi: Document it.
10168
35fed6f1
AO
10169 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10170 (__libc_realloc): Add memory_realloc_retry probe.
10171 (__libc_memalign): Add memory_memalign_retry probe.
10172 (__libc_valloc): Add memory_valloc_retry probe.
10173 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10174 (__libc_calloc): Add memory_calloc_retry probe.
10175 * manual/probes.texi: Document them.
10176
6999d38c
AO
10177 * malloc/arena.c (get_free_list): Add probe
10178 memory_arena_reuse_free_list.
10179 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10180 and memory_arena_reuse.
10181 (arena_get2) [!PER_THREAD]: Likewise.
10182 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10183 memory_arena_reuse_realloc.
10184 * manual/probes.texi: Document them.
10185
0653427f
AO
10186 * malloc/malloc.c (__libc_free): Add
10187 memory_mallopt_free_dyn_thresholds probe.
10188 (__libc_mallopt): Add multiple memory_mallopt probes.
10189 * manual/probes.texi: Document them.
10190
3ea5be54
AO
10191 * malloc/malloc.c: Include stap-probe.h.
10192 (__libc_mallopt): Add memory_mallopt probe.
10193 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10194 * manual/probes.texi: New.
10195 * manual/Makefile (chapters): Add probes.
10196 * manual/threads.texi: Set next node.
10197
e35696c3 101982013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10199
e35696c3
CL
10200 [BZ #15963, #13985]
10201 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10202 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10203 Add `Chinese' to `nan' entry name.
10204
4aafb73c
SP
102052013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10206
10207 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10208 (POLYNOMIAL): Likewise.
10209 (TAYLOR_SINCOS): Likewise.
10210 (TAYLOR_SLOW): Likewise.
10211 (__sin): Use TAYLOR_SINCOS.
10212 (__cos): Likewise.
10213 (slow): Use TAYLOR_SLOW.
10214 (sloww): Likewise.
10215 (bsloww): Likewise.
10216 (csloww): Likewise.
10217
d84f25c7
LD
102182013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10219
10220 * stdlib/strtod_l.c: Fix buffer overrun.
10221
5eea0404
SP
102222013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10223
7849ff93
SP
10224 * benchtests/Makefile (bench): Add sincos.
10225 * benchtests/bench-sincos.c: New file.
10226
cfa3c886
SP
10227 * math/libm-test.inc (cos_test_data): New test inputs.
10228 (sin_test_data): Likewise.
10229
b348e1e3
SP
10230 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10231 macro.
10232 (__sin): Use it.
10233 (__cos): Likewise.
10234 (slow1): Likewise.
10235 (slow2): Likewise.
10236 (sloww1): Likewise.
10237 (sloww2): Likewise.
10238 (bsloww1): Likewise.
10239 (bsloww2): Likewise.
10240 (cslow2): Likewise.
10241 (csloww1): Likewise.
10242 (csloww2): Likewise.
10243
6cce25f8
SP
10244 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10245 function.
10246 (__sin): Use it.
10247 (__cos): Likewise.
10248
5eea0404
SP
10249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10250 gotos.
10251 (__cos): Likewise.
10252
9c21573c
MR
102532013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10254
10255 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10256 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10257 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10258 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10259 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10260 * elf/cache.c (print_entry): Handle the new cache flags.
10261
24d22e65
JM
102622013-09-18 Joseph Myers <joseph@codesourcery.com>
10263 Aldy Hernandez <aldyh@redhat.com>
10264
10265 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10266 Change condition to [_SOFT_FLOAT].
10267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10279 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10282 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10283 declaration.
10284
d13ef066
JM
102852013-09-18 Joseph Myers <joseph@codesourcery.com>
10286
2e071de0
JM
10287 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10288 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10289 (__longjmp): Use LOAD_GP to load saved GPRs.
10290 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10291 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10292 (__sigsetjmp): Use SAVE_GP to save GPRs.
10293
d13ef066
JM
10294 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10295 Do not append -msoft-float.
10296 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10297
97a0650b
SP
102982013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10299
10300 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10301
11ca09e9
JM
103022013-09-17 Joseph Myers <joseph@codesourcery.com>
10303
10304 [BZ #15966]
10305 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10306 (_FPU_GETCW): Use initial "__" on variable and field names but not
10307 on macro parameter name.
10308 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10309 parentheses around reference to macro parameter.
10310
08ffcf34
RS
103112013-09-13 Richard Sandiford <richard@codesourcery.com>
10312
10313 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10314 prototype.
10315 (ctype_startup): Use uint32_t in cast and sizeof for
10316 ctype->charnames.
10317
ae7080d3
JL
103182013-09-11 Jia Liu <proljc@gmail.com>
10319
10320 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10321 __daddr_t_defined.
10322 [__FreeBSD__]: Likewise.
10323
5905e7b3
OB
103242013-09-11 Ondřej Bílka <neleai@seznam.cz>
10325
10326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10327 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10328 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10329 (strchr): Remove __strchr_sse42 ifunc selection.
10330 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10331 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10332
b987c776
WN
103332013-09-11 Will Newton <will.newton@linaro.org>
10334
10335 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10336 parameter to RES. Remove hardcoded 1000 value.
10337 * benchtests/bench-skeleton.c (main): Pass RES parameter
10338 to TIMING_INIT and multiply result by 1000.
10339
ddf985af
AZ
103402013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10341
10342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10343
ffdd3181
AS
103442013-09-11 Andreas Schwab <schwab@suse.de>
10345
10346 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10347 if not defined.
10348 (O_TMPFILE) [__USE_GNU]: Define.
10349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10350 Define.
10351
b73ed247
WN
103522013-09-11 Will Newton <will.newton@linaro.org>
10353
10354 [BZ #15857]
10355 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10356 does not overflow.
10357
55e17aad
WN
103582013-09-11 Will Newton <will.newton@linaro.org>
10359
10360 [BZ #15856]
10361 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10362 does not overflow.
10363
1159a193
WN
103642013-09-11 Will Newton <will.newton@linaro.org>
10365
10366 [BZ #15855]
10367 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10368 does not overflow.
10369
5905e7b3 103702013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10371
10372 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10373 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10377
cdfc721b
AM
103782013-09-10 Allan McRae <allan@archlinux.org>
10379
aa04af00
AM
10380 [BZ #15748]
10381 * manual/arith.texi (Parsing of Floats): Clarify
10382 cross-reference.
10383
cdfc721b
AM
10384 [BZ #15849]
10385 * manual/install.texi (Running make install): Mention
10386 --enable-pt-chown.
10387 * INSTALL: Regenerated.
10388
95e7cf29
MR
103892013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10390
10391 * csu/init-first.c (_init): Remove the !SHARED condition around
10392 FPU control word initialization.
10393 * elf/dl-support.c (_dl_fpu_control): New variable.
10394 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10395 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10396 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10397 * math/test-fpucw-static.c: New file.
10398 * math/test-fpucw-ieee.c: New file.
10399 * math/test-fpucw-ieee-static.c: New file.
10400 * math/Makefile (tests): Add `test-fpucw-ieee' and
10401 `$(tests-static)'.
10402 (tests-static): New variable.
10403 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10404 dependency to...
10405 [($(build-shared),yes)]
10406 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10407 ... this.
10408 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10409 New dependency.
10410
83e43bf0
AM
104112013-09-09 Allan McRae <allan@archlinux.org>
10412
a9f5ce09
AM
10413 [BZ #15939]
10414 * manual/string.texi (Collation Functions): Fix typo in
10415 strcoll example.
10416 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10417
34829bc2
AM
10418 [BZ #15893]
10419 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10420
3932737d
AM
10421 [BZ #15892]
10422 * libio/memstream.c (open_memstream): Fix memory leak.
10423 * libio/wmemstream.c (open_wmemstream): Likewise.
10424
83e43bf0
AM
10425 [BZ #15895]
10426 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10427
0c66b8e9
WN
104282013-09-09 Will Newton <will.newton@linaro.org>
10429
10430 * malloc/Makefile: Add tst-realloc to tests.
10431 * malloc/tst-realloc.c: New file.
10432
f6b00fd1
AM
104332013-09-09 Allan McRae <allan@archlinux.org>
10434
10435 [BZ #15844]
10436 * COPYING: Update from GNU website to fix FSF address.
10437 * COPYING.LIB: Likewise.
10438
eec55e16
DM
104392013-09-06 David S. Miller <davem@davemloft.net>
10440
10441 * po/zh_TW.po: Update Chinese (traditional) translation from
10442 translation project.
10443
1ecbb381
RS
104442013-09-06 Richard Sandiford <richard@codesourcery.com>
10445 Joseph Myers <joseph@codesourcery.com>
10446
10447 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10448 "localeinfo.h".
10449 (obstack_chunk_alloc): New macro.
10450 (obstack_chunk_free): Likewise.
10451 (record_offset): New function.
10452 (init_locale_data): Likewise.
10453 (align_locale_data): Likewise.
10454 (add_locale_empty): Likewise.
10455 (add_locale_raw_data): Likewise.
10456 (add_locale_raw_obstack): Likewise.
10457 (add_locale_string): Likewise.
10458 (add_locale_wstring): Likewise.
10459 (add_locale_uint32): Likewise.
10460 (add_locale_uint32_array): Likewise.
10461 (add_locale_char): Likewise.
10462 (start_locale_structure): Likewise.
10463 (end_locale_structure): Likewise.
10464 (start_locale_prelude): Likewise.
10465 (end_locale_prelude): Likewise.
10466 (write_locale_data): Take locale_file structure rather than an
10467 iovec.
10468 * locale/programs/locfile.h: Include "obstack.h".
10469 (struct locale_file): Change to store locale file contents instead
10470 of header.
10471 (init_locale_data): New prototype.
10472 (align_locale_data): Likewise.
10473 (add_locale_empty): Likewise.
10474 (add_locale_raw_data): Likewise.
10475 (add_locale_raw_obstack): Likewise.
10476 (add_locale_string): Likewise.
10477 (add_locale_wstring): Likewise.
10478 (add_locale_uint32): Likewise.
10479 (add_locale_uint32_array): Likewise.
10480 (add_locale_char): Likewise.
10481 (start_locale_structure): Likewise.
10482 (end_locale_structure): Likewise.
10483 (start_locale_prelude): Likewise.
10484 (end_locale_prelude): Likewise.
10485 (write_locale_data): Update prototype.
10486 * locale/programs/3level.h (struct TABLE): Remove result field.
10487 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10488 Use new locale_file interface.
10489 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10490 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10491 * locale/programs/ld-address.c (address_output): Use new
10492 locale_file interface.
10493 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10494 NO_ADD_LOCALE.
10495 (collate_finish): Don't call collseq_table_finalize.
10496 (collate_output): Use new locale_file interface.
10497 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10498 in file.
10499 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10500 (TABLE): Move defines earlier in file.
10501 (ELEMENT): Likewise.
10502 (DEFAULT): Likewise.
10503 (wctrans_table_add): Move macro and inline function earlier in
10504 file.
10505 (struct wctype_table): Move type earlier in file.
10506 (add_locale_wctype_table): New static prototype.
10507 (struct locale_ctype_t): Use logical types instead of struct iovec
10508 pointers for members.
10509 (ctype_output): Use new locale_file interface.
10510 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10511 new locale_file interface.
10512 (allocate_arrays): Update for use of new locale_file interface.
10513 * locale/programs/ld-identification.c (identification_output): Use
10514 new locale_file interface.
10515 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10516 * locale/programs/ld-messages.c (messages_output): Likewise.
10517 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10518 * locale/programs/ld-name.c (name_output): Likewise.
10519 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10520 * locale/programs/ld-paper.c (paper_output): Likewise.
10521 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10522 * locale/programs/ld-time.c (time_output): Likewise.
10523
e029e2e5
AZ
105242013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10525
10526 * benchtests/Makefile: Add memrchr benchmark.
10527 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10528 benchmark as memrchr.
10529 * benchtests/bench-memrchr-ifunc.c: New file.
10530 * benchtests/bench-memrchr.c: New file.
10531
bbf6e8e4
WN
105322013-09-06 Will Newton <will.newton@linaro.org>
10533
10534 * benchtests/Makefile (string-bench): Add memcpy.
10535
6c82a2f8
CD
105362013-09-05 Carlos O'Donell <carlos@redhat.com>
10537 Cong Wang <amwang@redhat.com>
10538
e732c5f0 10539 [BZ #15850]
6c82a2f8
CD
10540 * sysdeps/unix/sysv/linux/bits/in.h
10541 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10542 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10543 before __USE_KERNEL_IPV6_DEFS uses.
10544 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10545 IPPROTO_BEETPH.
10546 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10547 sockaddr_in6, or ipv6_mreq.
10548
5430fc65
AZ
105492013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10550
10551 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10552 memory access for final bytes in some large inputs.
10553 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10554
4660856c
AZ
105552013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10556
10557 * string/test-memrchr.c: New file.
10558 * string/test-memrchr-ifunc.c: New file.
10559 * string/Makefile: Add new memrchr testcase.
10560
bb8ea713
MF
105612013-09-05 Mike Frysinger <vapier@gentoo.org>
10562
10563 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10564 fanotify_init returns EPERM.
10565
b92a20b5
JM
105662013-09-04 Joseph Myers <joseph@codesourcery.com>
10567
10568 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10569 errors.
10570 (top level): Treat second token from macro or constant entries for
10571 allowed headers as allowed.
10572 * include/complex.h: Condition internal declarations on
10573 [!_ISOMAC].
10574 * include/fenv.h: Condition include of <stdbool.h> and internal
10575 declarations on [!_ISOMAC].
7447ccd9
CL
10576
105772013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10578
3e181dda 10579 [BZ #15923]
7447ccd9
CL
10580 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10581
3f2e46a4
JM
105822013-09-04 Joseph Myers <joseph@codesourcery.com>
10583
10584 * configure.in (--enable-versioning): Remove configure option.
10585 (libc_cv_asm_symver_directive): Remove configure test.
10586 (libc_cv_ld_version_script_option): Likewise.
10587 (VERSIONING): Remove variable and AC_SUBST.
10588 (DO_VERSIONING): Remove AC_DEFINE.
10589 * configure: Regenerated.
10590 * config.h.in (DO_VERSIONING): Remove macro.
10591 * Makerules [$(versioning) = yes]: Change conditionals to
10592 [$(build-shared) = yes].
10593 * config.make.in (versioning): Remove variable.
10594 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10595 [$(build-shared) = yes].
10596 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10597 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10598 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10599 [$(build-shared) = yes].
10600 * extra-lib.mk [$(versioning) = yes]: Likewise.
10601 * hurd/Makefile [$(versioning) = yes]: Likewise.
10602 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10603 [SHARED].
10604 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10605 [SHARED].
10606 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10607 [SHARED && !NO_HIDDEN].
10608 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10609 [SHARED].
10610 [SHARED && DO_VERSIONING]: Likewise..
10611 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10612 [$(build-shared) = yes].
10613 * manual/install.texi (--disable-versioning): Remove
10614 documentation.
10615 * INSTALL: Regenerated.
10616 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10617 to [SHARED].
10618 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10619 [$(build-shared) = yes].
10620 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10621 * sysdeps/i386/i686/multiarch/strstr-c.c
10622 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10623 [SHARED && !NO_HIDDEN].
10624 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10625 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10626 * sysdeps/powerpc/powerpc32/dl-machine.c
10627 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10628 * sysdeps/powerpc/powerpc32/sysdep.h
10629 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10630 to [SHARED && PIC && !NO_HIDDEN].
10631 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10632 conditional to [SHARED].
10633
44558701
WN
106342013-09-04 Will Newton <will.newton@linaro.org>
10635
10636 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10637 * benchtests/bench-string.h: Include bench-timing.h instead
10638 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10639 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10640 call to HP_TIMING_DIFF_INIT.
10641 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10642 instead of hp-timing.h macros.
10643 * benchtests/bench-memchr.c: Likewise.
10644 * benchtests/bench-memcmp.c: Likewise.
10645 * benchtests/bench-memcpy.c: Likewise.
10646 * benchtests/bench-memmem.c: Likewise.
10647 * benchtests/bench-memmove.c: Likewise.
10648 * benchtests/bench-memset.c: Likewise.
10649 * benchtests/bench-rawmemchr.c: Likewise.
10650 * benchtests/bench-strcasecmp.c: Likewise.
10651 * benchtests/bench-strcasestr.c: Likewise.
10652 * benchtests/bench-strcat.c: Likewise.
10653 * benchtests/bench-strchr.c: Likewise.
10654 * benchtests/bench-strcmp.c: Likewise.
10655 * benchtests/bench-strcpy.c: Likewise.
10656 * benchtests/bench-strcpy_chk.c: Likewise.
10657 * benchtests/bench-strlen.c: Likewise.
10658 * benchtests/bench-strncasecmp.c: Likewise.
10659 * benchtests/bench-strncat.c: Likewise.
10660 * benchtests/bench-strncmp.c: Likewise.
10661 * benchtests/bench-strncpy.c: Likewise.
10662 * benchtests/bench-strnlen.c: Likewise.
10663 * benchtests/bench-strpbrk.c: Likewise.
10664 * benchtests/bench-strrchr.c: Likewise.
10665 * benchtests/bench-strspn.c: Likewise.
10666 * benchtests/bench-strstr.c: Likewise.
10667
cae16d66
WN
106682013-09-04 Will Newton <will.newton@linaro.org>
10669
10670 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10671
ffa3cd7f
JM
106722013-09-03 Joseph Myers <joseph@codesourcery.com>
10673
10674 [BZ #15427]
10675 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10676 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10677 * math/libm-test.inc (lgamma_test_data): Add more tests.
10678 * sysdeps/i386/fpu/libm-test-ulps: Update.
10679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10680
8f02859f
OB
106812013-09-03 Ondřej Bílka <neleai@seznam.cz>
10682
10683 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10685 Add ifunc.
10686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10687 Add strcmp-sse2-unaligned
10688 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10689
18d43716
MF
106902013-09-02 Mike Frysinger <vapier@gentoo.org>
10691
10692 * Versions.def (libc): Add GLIBC_2.19.
10693
ac444012
MF
106942013-09-02 Mike Frysinger <vapier@gentoo.org>
10695
10696 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10697 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10698
b7835e32
JM
106992013-09-02 Joseph Myers <joseph@codesourcery.com>
10700
10701 [BZ #14155]
10702 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10703 intermediate calculations in recurrence.
10704 (__ieee754_ynf): Likewise.
10705 * math/libm-test.inc (jn_test_data): Do not allow spurious
10706 underflow exception. Add more tests.
10707 (yn_test_data): Add more tests.
10708 * sysdeps/i386/fpu/libm-test-ulps: Update.
10709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10710
8220f4f0
OB
107112013-09-02 Ondřej Bílka <neleai@seznam.cz>
10712
10713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10714
f24a6d08
OB
107152013-08-30 Ondřej Bílka <neleai@seznam.cz>
10716
10717 * csu/init-first.c: Fix then/than typos.
10718 * locale/programs/ld-collate.c: Likewise.
10719 * locale/programs/linereader.h: Likewise.
10720 * manual/charset.texi: Likewise.
10721 * manual/filesys.texi: Likewise.
10722 * manual/stdio.texi: Likewise.
10723 * manual/string.texi: Likewise.
10724 * stdlib/fmtmsg.c: Likewise.
10725 * sysdeps/i386/stpncpy.S: Likewise.
10726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10727 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10728 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10729 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10730
382466e0
OB
107312013-08-30 Ondřej Bílka <neleai@seznam.cz>
10732
10733 * elf/dl-open.c: Fix typos.
10734 * iconvdata/gbbig5.c: Likewise.
10735 * iconvdata/iso-2022-jp.c: Likewise.
10736 * iconv/gconv_int.h: Likewise.
10737 * iconv/loop.c: Likewise.
10738 * nis/rpcsvc/nis.h: Likewise.
10739 * resolv/ns_name.c: Likewise.
10740 * stdio-common/vfscanf.c: Likewise.
10741 * streams/stropts.h: Likewise.
10742 * sunrpc/rpc_thread.c: Likewise.
10743 * sysdeps/i386/strpbrk.S: Likewise.
10744 * sysdeps/ieee754/k_standard.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10747 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10748 * sysdeps/mach/hurd/profil.c: Likewise.
10749 * sysdeps/s390/dl-procinfo.h: Likewise.
10750 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10751 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10752 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10753 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10755
0186c6e9
OB
107562013-08-30 Ondřej Bílka <neleai@seznam.cz>
10757
10758 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10760
d4e16af1
OB
107612013-08-29 Ondřej Bílka <neleai@seznam.cz>
10762
10763 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10764 aix specific files.
10765 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10766 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10767 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10769 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10770 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10771 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10772 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10773
88335980
TS
107742013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10775 Roland McGrath <roland@hack.frob.com>
10776
10777 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10778 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10779
ed479b02
ST
107802013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10781
10782 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10783 __executable_start symbol instead of _start.
10784
f1cc4c86
TS
107852013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10786
d821f07c
TS
10787 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10788 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10789 Move macros to...
10790 * sysdeps/gnu/ldsodefs.h: ... this new file.
10791
c54290cf
TS
10792 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10793 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10794 instead of ELFOSABI_LINUX.
10795
0007fc9b 10796 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10797 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10798 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10799 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10800 Likewise.
10801 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10802 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10803 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10804 Likewise.
10805 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10806 (ibm_extended_long_double): Add ieee_nan member.
10807 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10808 (do_test): New function.
10809
f1cc4c86
TS
10810 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10811 TEST_TRUNC.
10812 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10813 functions, renamed from truncdfsf_test, trunctfsf_test,
10814 trunctfdf_test.
10815 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10816 functions.
10817 (do_test): Run all these.
10818
6f65e668
OB
108192013-08-29 Ondřej Bílka <neleai@seznam.cz>
10820
10821 * argp/argp-help.c: Fix typos.
10822 * argp/argp-parse.c: Likewise.
10823 * debug/backtracesyms.c: Likewise.
10824 * elf/elf.h: Likewise.
10825 * malloc/malloc.c: Likewise.
10826 * nis/nis_print.c: Likewise.
10827 * resolv/res_comp.c: Likewise.
10828 * stdlib/stdlib.h: Likewise.
10829 * sunrpc/clnt_tcp.c: Likewise.
10830 * sunrpc/clnt_udp.c: Likewise.
10831 * sunrpc/clnt_unix.c: Likewise.
10832 * sysdeps/unix/bsd/ptsname.c: Likewise.
10833 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10834 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10836 Likewise.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10838 Likewise.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10840 Likewise.
6f65e668
OB
10841 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10842
3a309239
SP
108432013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10844
10845 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10847
3b813b29
MF
108482013-08-27 Mike Frysinger <vapier@gentoo.org>
10849
10850 [BZ #15897]
10851 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10852 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10853 ($(objpfx)bug-dl-leaf): New rule.
10854 ($(objpfx)bug-dl-leaf.so): Likewise.
10855 ($(objpfx)bug-dl-leaf.out): Likewise.
10856 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10857 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10858 * dlfcn/bug-dl-leaf.c: New test.
10859 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10860 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10861 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10862 (dlclose): Likewise.
10863 (dlmopen): Likewise.
10864
8cc3269f
RM
108652013-08-27 Roland McGrath <roland@hack.frob.com>
10866
7f9d0034
RM
10867 * include/netdb.h [!_ISOMAC]:
10868 Don't include <tls.h>.
10869 (h_errno, __libc_h_errno): Move declaration and macros out of
10870 [_LIBC_REENTRANT].
10871
fb431262
RM
10872 * include/resolv.h [_RESOLV_H_]:
10873 Don't include <tls.h>.
10874 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10875 * resolv/res_libc.c: Don't include <tls.h>.
10876 (_res): Use __attribute__ ((nocommon)) in place of
10877 __attribute__ ((section (".bss"))).
10878
bd81123a
RM
10879 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10880 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10881
c4e42566
RM
10882 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10883
f890a59b
RM
10884 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10885 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10886
10887 * resolv/res_mkquery.c: Include <sys/time.h>.
10888
5d1f0a09
RM
10889 * inet/ifreq.c: Moved to ...
10890 * sysdeps/unix/ifreq.c: ... here.
10891 * inet/ifreq.c: New file, true stub version.
10892
6fcf28b3
RM
10893 * socket/sa_len.c: New file.
10894 * socket/Makefile (aux): Add it.
10895 * sysdeps/unix/sysv/linux/Makefile
10896 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10897 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10898 and #include <socket/sa_len.c>.
10899 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10900 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10901
e041fb8b
RM
10902 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10903 * bits/socket.h: ... here.
10904
8cc3269f
RM
10905 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10906 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10907 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10908
5d228a43
AS
109092013-08-27 Andreas Schwab <schwab@suse.de>
10910
45b8accc
AS
10911 [BZ #15736]
10912 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10913 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10914 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10915 * string/test-strcasecmp.c (test_main): Run tests in several
10916 locales.
10917 * string/test-strncasecmp.c (test_main): Likewise.
10918
5d228a43
AS
10919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10920 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10921 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10923 (__strncasecmp_ssse3) [PIC]: Likewise.
10924
59d112a4
RM
109252013-08-26 Roland McGrath <roland@hack.frob.com>
10926
53234cc3
RM
10927 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10928
59d112a4
RM
10929 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10930 instead of explicitly declaring xdecrypt.
10931 * nis/nss_nis/nis-publickey.c: Likewise.
10932
595aba70
SP
109332013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10934
10935 [BZ #15890]
10936 * nscd/aicache.c: Include res_hconf.h.
10937 (addhstaiX): Initialize res_hconf.
10938
ffabd393
AS
109392013-08-26 Andreas Schwab <schwab@suse.de>
10940
10941 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10942 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10943
e0a69f5c
SP
109442013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10945
10946 * nscd/aicache.c (addhstaiX): Fix indentation.
10947
8c12f01d
MF
109482013-08-25 Mike Frysinger <vapier@gentoo.org>
10949
10950 * configure.ac: Quote $build_pt_chown test.
10951 * configure: Regenerated.
10952
8fe89494
JM
109532013-08-23 Joseph Myers <joseph@codesourcery.com>
10954
10955 [BZ #15532]
10956 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10957 * math/s_cexpf.c (__cexpf): Likewise.
10958 * math/s_cexpl.c (__cexpl): Likewise.
10959 * math/libm-test.inc (cexp_test_data): Correct expected return
10960 value for NaN + i0. Add another test.
10961
75b181d6
DM
109622013-08-22 David S. Miller <davem@davemloft.net>
10963
10964 * po/ca.po: Update Catalan translation from translation project.
936241e4 10965 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10966
acd06bb1
JM
109672013-08-21 Joseph Myers <joseph@codesourcery.com>
10968
10969 [BZ #15797]
10970 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10971 is infinite, not alongside NaN test.
10972 * math/s_fdimf.c (__fdimf): Likewise.
10973 * math/s_fdiml.c (__fdiml): Likewise.
10974 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10975 errno is unchanged.
10976
c0c3f78a
OB
109772013-08-21 Ondřej Bílka <neleai@seznam.cz>
10978
10979 * argp/argp-help.c: Fix typos.
10980 * crypt/speeds.c: Likewise.
10981 * csu/check_fds.c: Likewise.
10982 * elf/dl-load.c: Likewise.
10983 * elf/dl-open.c: Likewise.
10984 * elf/reldep3.c: Likewise.
10985 * elf/reldep.c: Likewise.
10986 * elf/sprof.c: Likewise.
10987 * iconv/iconv_charmap.c: Likewise.
10988 * iconv/skeleton.c: Likewise.
10989 * iconv/strtab.c: Likewise.
10990 * io/lockf64.c: Likewise.
10991 * libio/libioP.h: Likewise.
10992 * resolv/gai_notify.c: Likewise.
10993 * resolv/ns_name.c: Likewise.
10994 * resolv/ns_samedomain.c: Likewise.
10995 * resolv/res_send.c: Likewise.
10996 * stdlib/random.c: Likewise.
10997 * sunrpc/rpc/xdr.h: Likewise.
10998 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10999 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11002 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11006 * sysdeps/mach/hurd/check_fds.c: Likewise.
11007 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11008 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11009 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11010 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11011 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11012 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11013 * sysdeps/pthread/aio_notify.c: Likewise.
11014 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11015 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11017 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11018 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11019
46ed1038
LD
110202013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11021
11022 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11023 version if bit_Slow_SSE4_2 is set.
11024 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11025 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11026
d400dcac
AZ
110272013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11028
11029 [BZ #15867]
11030 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11031 trampoline stack frame information.
11032 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11033 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11034 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11035 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11036 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11037 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11038 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11039 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11040 sa_flags value.
11041 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11042 interrupting a syscall and set with option SA_SIGINFO.
11043
42c8fdd8
JM
110442013-08-20 Joseph Myers <joseph@codesourcery.com>
11045
c980f2f4
JM
11046 [BZ #15531]
11047 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11048 argument is infinite.
11049 * math/s_cprojf.c (__cprojf): Likewise.
11050 * math/s_cprojl.c (__cprojl): Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11052 * math/libm-test.inc (cproj_test_data): Add more tests.
11053
0716c4fc
JM
11054 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11055
42c8fdd8
JM
11056 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11057 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11058 size. Use __ffs to determine corresponding shift.
11059
b31469d0
JM
110602013-08-20 Joseph Myers <joseph@codesourcery.com>
11061 Roland McGrath <roland@hack.frob.com>
11062
11063 * Makefile (INSTALL): Remove trailing blank lines from output of
11064 makeinfo.
11065
4e39af6e
AK
110662013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11067
11068 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11069 Align 32 bit compat elf_greg to 8 bytes.
11070
f315524e
AA
110712013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11072
11073 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11074
1326ba1a
SP
110752013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11076
11077 * string/strcoll_l.c (coll_seq): New structure.
11078 (get_next_seq_cached): New function.
11079 (get_next_seq): New function.
11080 (do_compare): New function.
11081 (STRCOLL): Use GNU style definition. Simplify implementation
11082 by using get_next_seq, get_next_seq_cached and do_compare.
11083
91ce4085
FW
110842013-08-16 Florian Weimer <fweimer@redhat.com>
11085
11086 [BZ #14699]
11087 CVE-2013-4237
11088 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11089 member.
11090 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11091 member.
11092 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11093 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11094 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11095 conditional.
11096 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11097 GETDENTS_64BIT_ALIGNED.
11098 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11099 * manual/filesys.texi (Reading/Closing Directory): Document
11100 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11101 strongly.
11102 * manual/conf.texi (Limits for Files): Add portability note to
11103 NAME_MAX, PATH_MAX.
11104 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11105
ca0a6bc4
AS
111062013-08-13 Andreas Schwab <schwab@suse.de>
11107
11108 [BZ #15749]
11109 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11110 of fabs.
11111 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11112 LDBL_MAX_EXP >= 16384]: Add tests for it.
11113
6c1fd795
DM
111142013-08-12 David S. Miller <davem@davemloft.net>
11115
11116 * version.h (RELEASE): Set to "development".
11117 (VERSION): Set to "2.18.90".
11118 * NEWS: Add 2.19 section.
11119
31ad488d
DM
111202013-08-03 David S. Miller <davem@davemloft.net>
11121
11122 * po/ko.po: Update Korean translation from translation project.
11123
db24e684
DM
111242013-08-01 David S. Miller <davem@davemloft.net>
11125
11126 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11127 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11128 Bilka.
11129
f723285b
DM
111302013-07-30 David S. Miller <davem@davemloft.net>
11131
11132 * po/fr.po: Update French translation from translation project.
11133
3cbc52db
DM
111342013-07-28 David S. Miller <davem@davemloft.net>
11135
30bbc0cc
DM
11136 * po/cs.po: Update Czech translation from translation project.
11137
3cbc52db
DM
11138 * po/sv.po: Update Swedish translation from translation project.
11139
d492e6d0
DM
111402013-07-27 David S. Miller <davem@davemloft.net>
11141
f1a7f492
DM
11142 * po/eo.po: Update Esperanto translation from translation project.
11143
90e62a4a
DM
11144 * po/vi.po: Update Vietnamese translation from translation project.
11145
d492e6d0
DM
11146 * po/de.po: Update German translation from translation project.
11147
d4baa62d
DM
111482013-07-26 David S. Miller <davem@davemloft.net>
11149
641aa7b4
DM
11150 * po/bg.po: Update Bulgarian translation from translation project.
11151
d4baa62d
DM
11152 * po/nl.po: Update Dutch translation from translation project.
11153 * po/pl.po: Update Polish translation from translation project.
11154 * po/ru.po: Update Russian translation from translation project.
11155
61a9dcb9
DM
111562013-07-24 David S. Miller <davem@davemloft.net>
11157
11158 * po/libc.pot: Update.
11159
7b1f8b58
AZ
111602013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11161
11162 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11163 variable page size.
11164 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11165 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11166 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11167
a8fc7a03
AK
111682013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11169
11170 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11171
e4608715
CD
111722013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11173 Andreas Schwab <schwab@suse.de>
11174 Roland McGrath <roland@hack.frob.com>
11175 Joseph Myers <joseph@codesourcery.com>
11176 Carlos O'Donell <carlos@redhat.com>
11177
11178 [BZ #15755]
11179 * config.h.in: Define HAVE_PT_CHOWN.
11180 * config.make.in (build-pt-chown): New variable.
11181 * configure.in (--enable-pt_chown): New configure option.
11182 * configure: Regenerate.
11183 * login/Makefile: Include Makeconfig. Build pt_chown only if
11184 build-pt-chown is enabled.
11185 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11186 pt_chown to fix pty ownership.
11187 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11188 CLOSE_ALL_FDS.
11189 * manual/install.texi (Configuring and compiling): Mention
11190 --enable-pt_chown. Add @findex for grantpt.
11191 * INSTALL: Regenerate.
11192
da2d62df
DM
111932013-07-20 David S. Miller <davem@davemloft.net>
11194
11195 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11196 difference between 32-bit and 64-bit.
11197
d7e06450
CD
111982013-07-15 Carlos O'Donell <carlos@redhat.com>
11199
11200 [BZ #15711]
11201 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11202 Avoid system header dependency with -ffreestanding.
11203 ($(objpfx)bits/syscall%d): Likewise.
11204
f959cfd7
DM
112052013-07-13 David S. Miller <davem@davemloft.net>
11206
11207 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11208 underflows from atanl/atan2l due to bug 15319.
11209 (casinh_test_data): Likewise.
11210
c61f8513
DM
112112013-07-07 David S. Miller <davem@davemloft.net>
11212
11213 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11214
72c90ed0
JA
112152013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11216
11217 * sysdeps/i386/fpu/libm-test-ulps: Update.
11218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11219
52dfbe13
SP
112202013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11221
11222 * configure.in (--enable-lock-elision): Fix message text.
11223 * INSTALL: Regenerate.
11224 * configure: Regenerate.
11225
3f169543
AZ
112262013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11227
11228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11229
521c6785
AJ
112302013-07-03 Andreas Jaeger <aj@suse.de>
11231
11232 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11233 define.
11234 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11235 (ptrace_peeksiginfo_args): Add.
11236 (__ptrace_peeksiginfo_flags): Add.
11237 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11240
d2cc15cb
AM
112412013-07-03 Allan McRae <allan@archlinux.org>
11242
11243 * sysdeps/i386/fpu/libm-test-ulps: Update.
11244
3aaeeca7
DM
112452013-07-02 David S. Miller <davem@davemloft.net>
11246
11247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11248
5314ed1a
MT
112492013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11250
11251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11252
67338156
JM
112532013-07-02 Joseph Myers <joseph@codesourcery.com>
11254
11255 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11257
1717da59
AK
112582013-07-02 Andi Kleen <ak@linux.intel.com>
11259
11260 * config.h.in (ENABLE_LOCK_ELISION): Add.
11261 * configure.in (--enable-lock-elision): Add option.
11262 * manual/install.texi: Document --enable lock elision.
11263 * configure: Regenerate
11264 * INSTALL: Regenerate.
11265
1c81621c
L
112662013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11267
11268 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11269 SSE4.2 strcasecmp for libc.a.
11270 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11271
77f01ab5
JM
112722013-07-02 Joseph Myers <joseph@codesourcery.com>
11273
11274 [BZ #13304]
11275 * soft-fp/op-common.h (_FP_FMA): New macro.
11276 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11277 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11278 (_FP_MUL_MEAT_1_imm): ... here.
11279 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11280 (_FP_MUL_MEAT_1_wide): ... here.
11281 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11282 (_FP_MUL_MEAT_1_hard): ... here.
11283 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11284 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11285 (_FP_MUL_MEAT_2_wide): ... here.
11286 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11287 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11288 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11289 (_FP_MUL_MEAT_2_gmp): ... here.
11290 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11291 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11292 (_FP_MUL_MEAT_4_wide): ... here.
11293 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11294 (_FP_MUL_MEAT_4_gmp): ... here.
11295 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11296 (_FP_WFRACBITS_DW_S): Likewise.
11297 (_FP_WFRACXBITS_DW_S): Likewise.
11298 (_FP_HIGHBIT_DW_S): Likewise.
11299 (FP_FMA_S): Likewise.
11300 (_FP_FRAC_HIGH_DW_S): Likewise.
11301 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11302 (_FP_WFRACBITS_DW_D): Likewise.
11303 (_FP_WFRACXBITS_DW_D): Likewise.
11304 (_FP_HIGHBIT_DW_D): Likewise.
11305 (FP_FMA_D): Likewise.
11306 (_FP_FRAC_HIGH_DW_D): Likewise.
11307 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11308 (_FP_WFRACBITS_DW_E): Likewise.
11309 (_FP_WFRACXBITS_DW_E): Likewise.
11310 (_FP_HIGHBIT_DW_E): Likewise.
11311 (FP_FMA_E): Likewise.
11312 (_FP_FRAC_HIGH_DW_E): Likewise.
11313 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11314 (_FP_WFRACBITS_DW_Q): Likewise.
11315 (_FP_WFRACXBITS_DW_Q): Likewise.
11316 (_FP_HIGHBIT_DW_Q): Likewise.
11317 (FP_FMA_Q): Likewise.
11318 (_FP_FRAC_HIGH_DW_Q): Likewise.
11319 * soft-fp/fmasf4.c: New file.
11320 * soft-fp/fmadf4.c: Likewise.
11321 * soft-fp/fmatf4.c: Likewise.
11322
6308fd9a
LD
113232013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11324
11325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11326 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11327 Silvermont.
11328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11329 macro.
11330 (index_Slow_SSE4_2): Likewise.
11331 (index_Prefer_PMINUB_for_stringop): Likewise.
11332 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11333 bit_Slow_SSE4_2 is set.
11334 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11336
89cd9569
RA
113372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11338
11339 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11340 rtld_global._dl_hwcap2.
11341 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11342 POWER8.
11343 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11344 POWER8 feature descriptions defined in _dl_hwcap2.
11345 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11346 string handling for POWER8 feature bits.
11347 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11348 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11349 _dl_powerpc_cap_flags.
11350 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11351 * sysdeps/powerpc/rtld-global-offsets.sym
11352 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11353 _dl_hwcap2 in the rtld_global_ro structure.
11354
1ae8bfe0
RA
113552013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11356
11357 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11358 hardware capabilities in support of AT_HWCAP2.
11359 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11360 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11361 GLRO(dl_hwcap2).
11362 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11363 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11364 explicitly the unknown a_type display mechanism is used.
11365 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11366 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11367 struct member.
11368 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11369 to macro prototype for AT_HWCAP2 support.
11370 * sysdeps/i386/dl-procinfo.h: Likewise.
11371 * sysdeps/s390/dl-procinfo.h: Likewise.
11372 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11373 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11374 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11375 return -1 for unknown a_type display fallback.
11376 * sysdeps/sparc/dl-procinfo.h: Likewise.
11377 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11378 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11379
8fbec010
JM
113802013-06-28 Joseph Myers <joseph@codesourcery.com>
11381
11382 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11383 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11384
0432680e
PY
113852013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11386
11387 [BZ #12492]
11388 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11389 mprotect making __stack_prot writable.
11390
ce61a2ad
NF
113912013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11392 Joseph Myers <joseph@codesourcery.com>
11393
11394 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11395 as being properly aligned.
11396
f91f1c0f
MR
113972013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11398
3d0f5d0c
MR
11399 * dlfcn/modstatic5.c: New file.
11400 * dlfcn/tststatic5.c: New file.
11401 * dlfcn/Makefile (tests): Add tststatic5.
11402 (tests-static): Likewise.
11403 (modules-names): Add modstatic5.
11404 (tststatic5-ENV): New variable.
11405 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11406
f91f1c0f
MR
11407 [BZ #15022]
11408 * elf/dl-support.c (_dl_main_map): New variable.
11409 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11410 (_dl_nns, _dl_load_adds): Set to 1.
11411 (_dl_initial_searchlist): Refer to _dl_main_map.
11412 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11413 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11414 call to _dl_get_origin.
11415 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11416 around call_map.
11417 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11418 * dlfcn/modstatic3.c: New file.
11419 * dlfcn/tststatic3.c: New file.
11420 * dlfcn/tststatic4.c: New file.
11421 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11422 (tests-static): Likewise.
11423 (modules-names): Add modstatic3.
11424 (tststatic3-ENV, tststatic4-ENV): New variables.
11425 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11426 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11427
cbe7d24b
JM
114282013-06-26 Joseph Myers <joseph@codesourcery.com>
11429
11430 * configure.in (CC): Require GCC version 4.4 or later.
11431 * configure: Regenerated.
11432 * manual/install.texi (Tools for Compilation): Update GCC version
11433 requirement.
11434 * INSTALL: Regenerated.
11435
11b8a0e1
LD
114362013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11437
11438 [BZ #15674]
bb5bb87c
L
11439 * string/test-memcmp.c (check2): New.
11440 (main): Call check2.
11441
11b8a0e1
LD
11442 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11443
b0037103
MR
114442013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11445
11446 [BZ #15022]
11447 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11448 over to...
11449 (dl_open_worker) [!SHARED]: ... here.
11450
c18c701d
RA
114512013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11452
11453 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11454
1d17fa5f
RH
114552013-06-25 Richard Henderson <rth@redhat.com>
11456
11457 * locale/programs/locarchive.c: Include <libc-internal.h>
11458
8fcb833a
JM
114592013-06-25 Joseph Myers <joseph@codesourcery.com>
11460
11461 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11462 trailing whitespace removed.
11463
17db6e8d
MF
114642013-06-24 Mike Frysinger <vapier@gentoo.org>
11465
11466 [BZ #10283]
17db6e8d
MF
11467 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11468 * locale/programs/locarchive.c: Include libc-mmap.h.
11469 (prepare_address_space): Take two new outputs (the mmap base and len).
11470 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11471 values.
11472 (create_archive): Declare new mmap base and len values for
11473 prepare_address_space, and store the result in ah.
11474 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11475 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11476 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11477 Declare new mmap base and len values for
11478 prepare_address_space, and store the result in new_ah.
11479 (open_archive): Declare new mmap base and len values for
11480 prepare_address_space, and store the result in ah.
11481 (close_archive): If ah->mmap_base is not NULL, use that and
11482 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11483 * sysdeps/generic/libc-mmap.h: New file.
11484
d605071e
MF
114852013-06-24 Mike Frysinger <vapier@gentoo.org>
11486
11487 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11488 (ALIGN_UP): Likewise.
11489 (PTR_ALIGN_DOWN): Likewise.
11490 (PTR_ALIGN_UP): Likewise.
11491
2f063a6e
RA
114922013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11493
11494 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11495 entry mapped to PPC_PLATFORM_POWER8.
11496 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11497 POWER8.
11498 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11499 (_dl_string_platform): Add case for exporting platform position for
11500 POWER8.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11502 search path to sysdeps/powerpc/powerpc32/power8 directory.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11504 search path to sysdeps/powerpc/powerpc64/power8 directory.
11505 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11506 power7 directories.
11507 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11508 power7 directories.
11509
a31ee4b3
SP
115102013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11511
a74ca98f
SP
11512 * INSTALL: Regenerate.
11513
a31ee4b3
SP
11514 * nscd/connections.c (nscd_init): Fix comment.
11515
695c378f
JM
115162013-06-22 Joseph Myers <joseph@codesourcery.com>
11517
d8412221
JM
11518 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11519
695c378f
JM
11520 [BZ #15667]
11521 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11522 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11523
d1d54715
MR
115242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11525
11526 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11527 DL_DST_REQ_STATIC.
11528 (DL_DST_REQ_STATIC): Remove macro.
11529
8fdda7af
JM
115302013-06-21 Joseph Myers <joseph@codesourcery.com>
11531
11532 [BZ #7006]
11533 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11534 with a shift of 0 bits.
11535
f3bc5e5a
MR
115362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11537
11538 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11539 $(tststatic-ENV).
11540
be09e8c9
KK
115412013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11542
11543 [BZ #15655]
11544 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11545
85c2e611
AZ
115462013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11547
11548 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11549 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11550 accepts -fno-tree-loop-distribute-patterns.
11551 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11552 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11553 recursive call.
11554 * string/memset.c (memset): Likewise.
11555 * string/test-memmove.c (simple_memmove): Disable loop transformation
11556 to library calls.
11557 * string/test-memset.c (simple_memset): Likewise.
11558 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11559 * benchtests/bench-memset.c (simple_memset): Likewise.
11560 * configure: Regenerated.
11561
c91e0825
JM
115622013-06-20 Joseph Myers <joseph@codesourcery.com>
11563
b8c792af
JM
11564 * math/test-misc.c (main): Ignore fesetround failure when failures
11565 of subsequent rounding tests would be ignored.
11566
c91e0825
JM
11567 [BZ #15654]
11568 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11569 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11570 * math/fegetenv.c (__fegetenv): Return 0.
11571 * math/fegetexcept.c (fegetexcept): Return 0.
11572 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11573 FE_TONEAREST.
11574 * math/feholdexcpt.c (feholdexcept): Return 0.
11575 * math/fesetenv.c (__fesetenv): Return 0.
11576 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11577 argument FE_TONEAREST.
11578 * math/feupdateenv.c (__feupdateenv): Return 0.
11579 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11580
bfcacbde
RM
115812013-06-18 Roland McGrath <roland@hack.frob.com>
11582
11583 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11584 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11585 ($(objpfx)rtld-%.os rules): Use them.
11586
e55a9b25
AZ
115872013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11588
11589 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11590 fields.
11591
346d65b3
RM
115922013-06-17 Roland McGrath <roland@hack.frob.com>
11593
12086fb4
RM
11594 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11595 length of target pattern, then descending length of dependency pattern.
11596 * configure.in (AWK): Require gawk 3.1.2 or newer.
11597 * manual/install.texi (Tools for Compilation): Say that we do.
11598 * configure: Regenerated.
11599
346d65b3
RM
11600 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11601 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11602 * scripts/sysd-rules.awk: ... this new script.
11603 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11604 than a glob-style pattern.
11605
1a846317
JM
116062013-06-17 Joseph Myers <joseph@codesourcery.com>
11607
11608 * math/test-misc.c (main): Do not treat incorrectly rounded
11609 conversions as failure unless ROUNDING_TESTS passes.
11610
8fc75e6f
JM
116112013-06-15 Joseph Myers <joseph@codesourcery.com>
11612
3711a167
JM
11613 [BZ #15631]
11614 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11615 restore exception state around main square root computation, then
11616 check for inexactness explicitly.
11617
8fc75e6f
JM
11618 * math/libm-test.inc (fma_test_data): Add another test.
11619
61dd6208
SP
116202013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11621
adf23d2c
SP
11622 * manual/threads.texi (Non-POSIX Extensions): New document
11623 node. Document pthread_getattr_default_np and
11624 pthread_setattr_default_np.
11625
61dd6208
SP
11626 * Versions.def (libpthread): Add GLIBC_2.18.
11627 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11629 Likewise.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11631 Likewise.
11632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11633 Likewise.
11634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11635 Likewise.
11636 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11637 Likewise.
11638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11639 Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11641 Likewise.
11642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11643 Likewise.
11644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11645 Likewise.
11646
d086fc7b
LD
116472013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11648
11649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11650 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11651
747ef469
SP
116522013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11653 H.J. Lu <hjl.tools@gmail.com>
11654
11655 [BZ #15627]
11656 * sysdeps/x86_64/rtld-memset.c: Remove file.
11657 * sysdeps/x86_64/rtld-memset.S: New file.
11658
1b2feed2
JM
116592013-06-14 Joseph Myers <joseph@codesourcery.com>
11660
11661 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11662 (test_in_one_mode): Take arguments for whether the rounding mode
11663 is supported for each floating-point type.
11664 (do_test): Pass new arguments to test_in_one_mode using
11665 ROUNDING_TESTS.
11666
a58ad3f8
RM
116672013-06-13 Roland McGrath <roland@hack.frob.com>
11668
11669 * posix/tst-waitid.c (do_test): Distinguish different instances of
11670 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11671 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11672 before entering the kernel for waitpid.
11673
c204ab28
SP
116742013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11675
11676 * NEWS: Fix note on clock function precision. Text by Roland
11677 McGrath.
11678
f4a29fba
RM
116792013-06-13 Roland McGrath <roland@hack.frob.com>
11680
11681 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11682 it into place only when and if the sanity check passes.
11683
1f24b9ad
JM
116842013-06-13 Joseph Myers <joseph@codesourcery.com>
11685
11686 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11687 output for whether conversion result is exact. Take argument
11688 indicating whether type is IBM long double.
11689 (round_for_all): Change need_exact field to ibm_ld.
11690 * stdlib/tst-strtod-round.c (struct exactness): New type.
11691 (struct test): Change bool ld_ok field to struct exactness exact.
11692 (TEST): Update all definitions for change to field.
11693 (tests): Regenerate array contents.
11694 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11695 field value. Check for IBM long double here.
11696 (do_test): Update calls to test_in_one_mode.
11697
58206c68
SP
116982013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11699
11700 [BZ #12515]
11701 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11702 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11703
2d6f4c5b 117042013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11705
11706 [BZ #15605]
11707 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11708 generated by the compiler on loop optimizations.
11709 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11710 general definitions.
11711
94f2c076
JM
117122013-06-12 Joseph Myers <joseph@codesourcery.com>
11713
11714 * math/bug-nextafter.c: Include <math-tests.h>.
11715 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11716 the relevant type.
11717 * math/bug-nexttoward.c: Include <math-tests.h>.
11718 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11719 the relevant type.
11720 * math/test-misc.c: Include <math-tests.h>.
11721 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11722 the relevant type.
11723
e0e50a0a
AJ
117242013-06-12 Andreas Jaeger <aj@suse.de>
11725
11726 * po/ia.po: Update Interlingua translation from translation
11727 project.
11728
25061094
SP
117292013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11730
11731 * include/fenv.h: Include stdbool.h.
11732 (struct rm_ctx): New structure.
11733 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11734 Define macro.
11735 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11736 (SET_RESTORE_ROUNDF): Likewise.
11737 (SET_RESTORE_ROUNDL): Likewise.
11738 (SET_RESTORE_ROUND_NOEX): Likewise.
11739 (SET_RESTORE_ROUND_NOEXF): Likewise.
11740 (SET_RESTORE_ROUND_NOEXL): Likewise.
11741 (SET_RESTORE_ROUND_53BIT): Likewise.
11742 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11743 (libc_feresetround_noexf_ctx): Likewise.
11744 (libc_feresetround_noexl_ctx): Likewise.
11745 (libc_feholdsetround_53bit_ctx): Likewise.
11746 (libc_feresetround_53bit_ctx): Likewise.
11747 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11748 (libc_feholdexcept_setround_sse_ctx): New function.
11749 (libc_fesetenv_sse_ctx): Likewise.
11750 (libc_feupdateenv_sse_ctx): Likewise.
11751 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11752 (libc_feholdexcept_setround_387_ctx): Likewise.
11753 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11754 (libc_feholdsetround_387_prec_ctx): Likewise.
11755 (libc_feholdsetround_387_ctx): Likewise.
11756 (libc_feholdsetround_387_53bit_ctx): Likewise.
11757 (libc_feholdsetround_sse_ctx): Likewise.
11758 (libc_feresetround_sse_ctx): Likewise.
11759 (libc_feresetround_387_ctx): Likewise.
11760 (libc_feupdateenv_387_ctx): Likewise.
11761 (libc_feholdexcept_setroundf_ctx): Define macro.
11762 (libc_fesetenvf_ctx): Likewise.
11763 (libc_feupdateenvf_ctx): Likewise.
11764 (libc_feholdsetroundf_ctx): Likewise.
11765 (libc_feresetroundf_ctx): Likewise.
11766 (libc_feholdexcept_setround_ctx): Likewise.
11767 (libc_fesetenv_ctx): Likewise.
11768 (libc_feupdateenv_ctx): Likewise.
11769 (libc_feholdsetround_ctx): Likewise.
11770 (libc_feresetround_ctx): Likewise.
11771 (libc_feholdexcept_setroundl_ctx): Likewise.
11772 (libc_feupdateenvl_ctx): Likewise.
11773 (libc_feholdsetroundl_ctx): Likewise.
11774 (libc_feresetroundl_ctx): Likewise.
11775 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11776 (libc_feresetround_53bit_ctx): Likewise.
11777
59b30555
SP
117782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11779
11780 * locale/iso-639.def: Convert to UTF-8.
11781
f1d73d30
JM
117822013-06-11 Joseph Myers <joseph@codesourcery.com>
11783
11784 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11785 (EXCEPTION_TESTS_double): Likewise.
11786 (EXCEPTION_TESTS_long_double): Likewise.
11787 (EXCEPTION_TESTS): Likewise.
11788 * math/libm-test.inc (test_exceptions): Only test exceptions if
11789 EXCEPTION_TESTS (FLOAT).
11790
94aca5e7
SP
117912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11792
11793 * benchtests/Makefile (string-bench): Add strcpy_chk and
11794 stpcpy_chk.
11795 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11796 * benchtests/bench-stpcpy_chk.c: New file.
11797 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11798 * benchtests/bench-strcpy_chk.c: New file.
11799 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11800 code.
11801 (do_test): Likewise.
11802
fac0c5f2
RA
118032013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11804
11805 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11806 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11807 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11808 with tabs where appropriate.
11809 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11810 dl-procinfo.h.
11811 [PPC_PLATFORM_PPC440]: Likewise.
11812 [PPC_PLATFORM_PPC464]: Likewise.
11813 [PPC_PLATFORM_PPC476]: Likewise.
11814 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11815 ppc464, and ppc476 platform strings merging from ports/
11816 dl-procinfo.h.
11817
f22bc486
AS
118182013-06-11 Andreas Schwab <schwab@suse.de>
11819
11820 [BZ #14991]
11821 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11822 (from_ucs4_idx): Regenerate.
11823 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11824 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11825 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11826 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11827 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11828 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11829 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11830 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11831 from FROM_LOOP and TO_LOOP specific macros.
11832 (BODY): Handle combining characters.
11833 * iconvdata/BIG5HKSCS.irreversible: Update.
11834 * iconvdata/BIG5HKSCS.precomposed: New file.
11835 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11836 characters.
11837 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11838
c1f75dc3
SP
118392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11840
4eacded2
SP
11841 * include/sys/time.h: Fix indentation and add copyright header.
11842
fec799f8
SP
11843 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11844 (do_test): Likewise.
11845 * string/test-memchr.c (do_one_test): Likewise.
11846 (do_test): Likewise.
11847 * string/test-memcmp.c (do_one_test): Likewise.
11848 (do_test): Likewise.
11849 * string/test-memcpy.c (do_one_test): Likewise.
11850 (do_test): Likewise.
11851 * string/test-memmem.c (do_one_test): Likewise.
11852 (do_test): Likewise.
11853 (do_random_tests): Likewise.
11854 * string/test-memmove.c (do_one_test): Likewise.
11855 (do_test): Likewise.
11856 * string/test-memset.c (do_one_test): Likewise.
11857 (do_test): Likewise.
11858 * string/test-rawmemchr.c (do_one_test): Likewise.
11859 (do_test): Likewise.
11860 * string/test-strcasecmp.c (do_one_test): Likewise.
11861 (do_test): Likewise.
11862 * string/test-strcasestr.c (do_one_test): Likewise.
11863 (do_test): Likewise.
11864 * string/test-strcat.c (do_one_test): Likewise.
11865 (do_test): Likewise.
11866 * string/test-strchr.c (do_one_test): Likewise.
11867 (do_test): Likewise.
11868 * string/test-strcmp.c (do_one_test): Likewise.
11869 (do_test): Likewise.
11870 * string/test-strcpy.c (do_one_test): Likewise.
11871 (do_test): Likewise.
11872 * string/test-string.h: Likewise.
11873 (test_init): Likewise.
11874 * string/test-strlen.c (do_one_test): Likewise.
11875 (do_test): Likewise.
11876 * string/test-strncasecmp.c (do_one_test): Likewise.
11877 (do_test): Likewise.
11878 * string/test-strncat.c (do_one_test): Likewise.
11879 (do_test): Likewise.
11880 * string/test-strncmp.c (do_one_test): Likewise.
11881 (do_test_limit): Likewise.
11882 (do_test): Likewise.
11883 * string/test-strncpy.c (do_one_test): Likewise.
11884 (do_test): Likewise.
11885 * string/test-strnlen.c (do_one_test): Likewise.
11886 (do_test): Likewise.
11887 * string/test-strpbrk.c (do_one_test): Likewise.
11888 (do_test): Likewise.
11889 * string/test-strrchr.c (do_one_test): Likewise.
11890 (do_test): Likewise.
11891 * string/test-strspn.c (do_one_test): Likewise.
11892 (do_test): Likewise.
11893 * string/test-strstr.c (do_one_test): Likewise.
11894 (do_test): Likewise.
11895
97020474
SP
11896 * benchtests/Makefile (string-bench): Add string benchmarks.
11897 * benchtests/bench-bcopy-ifunc.c: New file.
11898 * benchtests/bench-bcopy.c: New file.
11899 * benchtests/bench-bzero-ifunc.c: New file.
11900 * benchtests/bench-bzero.c: New file.
11901 * benchtests/bench-memccpy-ifunc.c: New file.
11902 * benchtests/bench-memccpy.c: New file.
11903 * benchtests/bench-memchr-ifunc.c: New file.
11904 * benchtests/bench-memchr.c: New file.
11905 * benchtests/bench-memcmp-ifunc.c: New file.
11906 * benchtests/bench-memcmp.c: New file.
11907 * benchtests/bench-memmem-ifunc.c: New file.
11908 * benchtests/bench-memmem.c: New file.
11909 * benchtests/bench-memmove-ifunc.c: New file.
11910 * benchtests/bench-memmove.c: New file.
11911 * benchtests/bench-mempcpy-ifunc.c: New file.
11912 * benchtests/bench-mempcpy.c: New file.
11913 * benchtests/bench-memset-ifunc.c: New file.
11914 * benchtests/bench-memset.c: New file.
11915 * benchtests/bench-rawmemchr-ifunc.c: New file.
11916 * benchtests/bench-rawmemchr.c: New file.
11917 * benchtests/bench-stpcpy-ifunc.c: New file.
11918 * benchtests/bench-stpcpy.c: New file.
11919 * benchtests/bench-stpncpy-ifunc.c: New file.
11920 * benchtests/bench-stpncpy.c: New file.
11921 * benchtests/bench-strcasecmp-ifunc.c: New file.
11922 * benchtests/bench-strcasecmp.c: New file.
11923 * benchtests/bench-strcasestr-ifunc.c: New file.
11924 * benchtests/bench-strcasestr.c: New file.
11925 * benchtests/bench-strcat-ifunc.c: New file.
11926 * benchtests/bench-strcat.c: New file.
11927 * benchtests/bench-strchr-ifunc.c: New file.
11928 * benchtests/bench-strchr.c: New file.
11929 * benchtests/bench-strchrnul-ifunc.c: New file.
11930 * benchtests/bench-strchrnul.c: New file.
11931 * benchtests/bench-strcmp-ifunc.c: New file.
11932 * benchtests/bench-strcmp.c: New file.
11933 * benchtests/bench-strcpy-ifunc.c: New file.
11934 * benchtests/bench-strcpy.c: New file.
11935 * benchtests/bench-strcspn-ifunc.c: New file.
11936 * benchtests/bench-strcspn.c: New file.
11937 * benchtests/bench-strlen-ifunc.c: New file.
11938 * benchtests/bench-strlen.c: New file.
11939 * benchtests/bench-strncasecmp-ifunc.c: New file.
11940 * benchtests/bench-strncasecmp.c: New file.
11941 * benchtests/bench-strncat-ifunc.c: New file.
11942 * benchtests/bench-strncat.c: New file.
11943 * benchtests/bench-strncmp-ifunc.c: New file.
11944 * benchtests/bench-strncmp.c: New file.
11945 * benchtests/bench-strncpy-ifunc.c: New file.
11946 * benchtests/bench-strncpy.c: New file.
11947 * benchtests/bench-strnlen-ifunc.c: New file.
11948 * benchtests/bench-strnlen.c: New file.
11949 * benchtests/bench-strpbrk-ifunc.c: New file.
11950 * benchtests/bench-strpbrk.c: New file.
11951 * benchtests/bench-strrchr-ifunc.c: New file.
11952 * benchtests/bench-strrchr.c: New file.
11953 * benchtests/bench-strspn-ifunc.c: New file.
11954 * benchtests/bench-strspn.c: New file.
11955 * benchtests/bench-strstr-ifunc.c: New file.
11956 * benchtests/bench-strstr.c: New file.
11957
c1f75dc3
SP
11958 * benchtests/Makefile: Disable parallel execution of targets.
11959 (string-bench): Add memcpy.
11960 (benchset): New variable to store a list of benchmark sets.
11961 (bench-func): Renamed from bench.
11962 (bench-set): New target.
11963 (bench): Depend on bench-func and bench-set.
11964 * benchtests/README: Add section on benchmark sets.
11965 * benchtests/bench-memcpy-ifunc.c: New file.
11966 * benchtests/bench-memcpy.c: New file.
11967 * benchtests/bench-string.h: New file.
11968
50fd745b
AS
119692013-06-11 Andreas Schwab <schwab@suse.de>
11970
11971 [BZ #15577]
11972 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11973 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11974 values in the triple.
11975 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11976 terminator in the group key.
11977
3ee7e9fe
AJ
119782013-06-11 Andreas Jaeger <aj@suse.de>
11979
11980 * po/zh_TW.po: Update Chinese (traditional) translation from
11981 translation project.
11982
89fb6835
SP
119832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11984
11985 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11986 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11987 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11988 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11989 (clock_getcpuclockid): Likewise.
11990 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11991 Add weak_alias and libc_hidden_def.
11992 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11993 * rt/clock_gettime.c (clock_gettime): Rename to
11994 __clock_gettime. Add weak_alias and libc_hidden_def.
11995 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11996 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11997 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11998 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11999 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12000 Likewise.
12001 * rt/clock_settime.c (clock_settime): Rename to
12002 __clock_settime. Add weak_alias and libc_hidden_def.
12003 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12004
0efa6f8b
JM
120052013-06-10 Joseph Myers <joseph@codesourcery.com>
12006
b8c61b4b
JM
12007 * mach/err_boot.sub: Remove trailing whitespace.
12008 * mach/err_ipc.sub: Likewise.
12009 * mach/err_mach.sub: Likewise.
12010
0efa6f8b
JM
12011 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12012 (ROUNDING_TESTS_double): Likewise.
12013 (ROUNDING_TESTS_long_double): Likewise.
12014 (ROUNDING_TESTS): Likewise.
12015 * math/libm-test.inc: Include <math-tests.h>.
12016 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12020
50b818bf
SP
120212013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12022
12023 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12024 of assigning.
12025
60d2f8f3
JM
120262013-06-08 Joseph Myers <joseph@codesourcery.com>
12027
4902d2c3
JM
12028 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12029 otherwise empty TRANS lines.
12030 * sysdeps/gnu/errlist.c: Regenerated.
12031
60d2f8f3
JM
12032 * catgets/gencat.c (error_print): Use (void) in function
12033 definition.
12034 * crypt/crypt_util.c (__init_des): Likewise.
12035 * crypt/speeds.c (Stop): Likewise.
12036 (main): Likewise.
12037 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12038 * inet/ruserpass.c (token): Likewise.
12039 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12040 * intl/localealias.c (extend_alias_table): Likewise.
12041 * intl/plural-exp.c (init_germanic_plural): Likewise.
12042 * libio/fcloseall.c (__fcloseall): Likewise.
12043 * libio/genops.c (_IO_flush_all): Likewise.
12044 (_IO_flush_all_linebuffered): Likewise.
12045 (_IO_cleanup): Likewise.
12046 (_IO_iter_begin): Likewise.
12047 (_IO_iter_end): Likewise.
12048 (_IO_list_lock): Likewise.
12049 (_IO_list_unlock): Likewise.
12050 (_IO_list_resetlock): Likewise.
12051 * libio/getchar.c (getchar): Likewise.
12052 * libio/getchar_u.c (getchar_unlocked): Likewise.
12053 * libio/getwchar.c (getwchar): Likewise.
12054 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12055 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12056 * login/getpt.c (__getpt): Likewise.
12057 * login/tst-utmp.c (main): Likewise.
12058 * malloc/hooks.c (__malloc_check_init): Likewise.
12059 * malloc/malloc.c (__malloc_stats): Likewise.
12060 * malloc/mtrace.c (tr_break): Likewise.
12061 (mtrace): Likewise.
12062 (muntrace): Likewise.
12063 * misc/fstab.c (endfsent): Likewise.
12064 * misc/getclktck.c (__getclktck): Likewise.
12065 * misc/getdtsz.c (__getdtablesize): Likewise.
12066 * misc/gethostid.c (gethostid): Likewise.
12067 * misc/getpagesize.c (__getpagesize): Likewise.
12068 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12069 (__get_nprocs): Likewise.
12070 (__get_phys_pages): Likewise.
12071 (__get_avphys_pages): Likewise.
12072 * misc/getttyent.c (getttyent): Likewise.
12073 (setttyent): Likewise.
12074 (endttyent): Likewise.
12075 * misc/getusershell.c (getusershell): Likewise.
12076 (endusershell): Likewise.
12077 (setusershell): Likewise.
12078 (initshells): Likewise.
12079 * misc/hsearch.c (__hdestroy): Likewise.
12080 * misc/sync.c (sync): Likewise.
12081 * misc/syslog.c (closelog_internal): Likewise.
12082 (closelog): Likewise.
12083 * misc/ttyslot.c (ttyslot): Likewise.
12084 * misc/vhangup.c (vhangup): Likewise.
12085 * posix/fork.c (__fork): Likewise.
12086 * posix/getegid.c (__getegid): Likewise.
12087 * posix/geteuid.c (__geteuid): Likewise.
12088 * posix/getgid.c (__getgid): Likewise.
12089 * posix/getpid.c (__getpid): Likewise.
12090 * posix/getppid.c (__getppid): Likewise.
12091 * posix/getuid.c (__getuid): Likewise.
12092 * posix/pause.c (pause): Likewise.
12093 * posix/setpgrp.c (setpgrp): Likewise.
12094 * posix/setsid.c (__setsid): Likewise.
12095 * posix/test-vfork.c (noop): Likewise.
12096 * resolv/gethnamaddr.c (_endhtent): Likewise.
12097 (_gethtent): Likewise.
12098 (ht_endhostent): Likewise.
12099 (gethostent): Likewise.
12100 (dns_service): Likewise.
12101 * stdlib/drand48.c (drand48): Likewise.
12102 * stdlib/lrand48.c (lrand48): Likewise.
12103 * stdlib/mrand48.c (mrand48): Likewise.
12104 * stdlib/rand.c (rand): Likewise.
12105 * stdlib/random.c (__random): Likewise.
12106 * stdlib/setenv.c (clearenv): Likewise.
12107 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12108 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12109 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12110 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12111 (__get_nprocs): Likewise.
12112 (__get_phys_pages): Likewise.
12113 (__get_avphys_pages): Likewise.
12114 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12115 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12116 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12117 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12118 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12119 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12120 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12121 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12122 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12123 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12124 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12125 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12126 * sysdeps/posix/clock.c (clock): Likewise.
12127 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12128 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12129 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12130 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12131 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12133 (__get_nprocs_conf): Likewise.
12134 (__get_phys_pages): Likewise.
12135 (__get_avphys_pages): Likewise.
12136 * time/clock.c (clock): Likewise.
12137 * time/tzset.c (__tzname_max): Likewise.
12138
2e09a79a
JM
121392013-06-07 Joseph Myers <joseph@codesourcery.com>
12140
12141 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12142 (__bswap_32): Do not use "register".
12143 * crypt/crypt.c (_ufc_doit_r): Likewise.
12144 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12145 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12146 * gmon/gmon.c (__monstartup): Likewise.
12147 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12148 * hurd/hurdmalloc.c (more_memory): Likewise.
12149 (malloc): Likewise.
12150 (free): Likewise.
12151 (realloc): Likewise.
12152 (malloc_fork_prepare): Likewise.
12153 (malloc_fork_parent): Likewise.
12154 (malloc_fork_child): Likewise.
12155 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12156 (_svcauth_des): Likewise.
12157 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12158 * inet/inet_net.c (inet_network): Likewise.
12159 * inet/inet_netof.c (inet_netof): Likewise.
12160 * inet/rcmd.c (__validuser2_sa): Likewise.
12161 * io/fts.c (fts_open): Likewise.
12162 (fts_load): Likewise.
12163 (fts_close): Likewise.
12164 (fts_read): Likewise.
12165 (fts_children): Likewise.
12166 (fts_build): Likewise.
12167 (fts_stat): Likewise.
12168 (fts_sort): Likewise.
12169 (fts_alloc): Likewise.
12170 (fts_lfree): Likewise.
12171 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12172 (_IO_file_xsgetn): Likewise.
12173 (_IO_file_xsgetn_mmap): Likewise.
12174 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12175 (_IO_cookie_write): Likewise.
12176 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12177 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12178 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12179 * malloc/obstack.c (_obstack_begin): Likewise.
12180 (_obstack_begin_1): Likewise.
12181 (_obstack_newchunk): Likewise.
12182 (_obstack_allocated_p): Likewise.
12183 (obstack_free): Likewise.
12184 (_obstack_memory_used): Likewise.
12185 * misc/getttyent.c (getttynam): Likewise.
12186 (getttyent): Likewise.
12187 (skip): Likewise.
12188 (value): Likewise.
12189 * misc/getusershell.c (initshells): Likewise.
12190 * misc/syslog.c (__vsyslog_chk): Likewise.
12191 * misc/ttyslot.c (ttyslot): Likewise.
12192 * nis/nis_hash.c (__nis_hash): Likewise.
12193 * posix/fnmatch_loop.c (FCT): Likewise.
12194 * posix/getconf.c (print_all): Likewise.
12195 (main): Likewise.
12196 * posix/getopt.c (exchange): Likewise.
12197 * posix/glob.c (globfree): Likewise.
12198 (prefix_array): Likewise.
12199 (__glob_pattern_type): Likewise.
12200 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12201 (NS_GET32): Likewise.
12202 (NS_PUT16): Likewise.
12203 (NS_PUT32): Likewise.
12204 * resolv/gethnamaddr.c (getanswer): Likewise.
12205 (gethostbyname2): Likewise.
12206 (gethostbyaddr): Likewise.
12207 (_gethtent): Likewise.
12208 (_gethtbyname2): Likewise.
12209 (_gethtbyaddr): Likewise.
12210 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12211 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12212 * resolv/res_init.c (__res_vinit): Likewise.
12213 (net_mask): Likewise.
12214 * resolv/res_mkquery.c (outchar): Likewise.
12215 (PRINT): Likewise.
12216 * stdio-common/printf_fp.c (outchar): Likewise.
12217 (PRINT): Likewise.
12218 * stdio-common/printf_fphex.c (outchar): Likewise.
12219 (PRINT): Likewise.
12220 * stdio-common/printf_size.c (outchar): Likewise.
12221 (PRINT): Likewise.
12222 * stdio-common/test_rdwr.c (main): Likewise.
12223 * stdio-common/tfformat.c (matches): Likewise.
12224 * stdio-common/vfprintf.c (outchar): Likewise.
12225 (printf_unknown): Likewise.
12226 (buffered_vfprintf): Likewise.
12227 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12228 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12229 (ReadFile): Likewise.
12230 * stdlib/qsort.c (SWAP): Likewise.
12231 (_quicksort): Likewise.
12232 * stdlib/setenv.c (__add_to_environ): Likewise.
12233 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12234 * stdlib/strtol_l.c (__strtol_l): Likewise.
12235 * stdlib/tst-strtod.c (main): Likewise.
12236 * stdlib/tst-strtol.c (main): Likewise.
12237 * stdlib/tst-strtoll.c (main): Likewise.
12238 * string/bits/string2.h (__strcmp_cc): Likewise.
12239 (__strcmp_cg): Likewise.
12240 (__strcspn_c1): Likewise.
12241 (__strcspn_c2): Likewise.
12242 (__strcspn_c3): Likewise.
12243 (__strspn_c1): Likewise.
12244 (__strspn_c2): Likewise.
12245 (__strspn_c3): Likewise.
12246 (__strsep_1c): Likewise.
12247 (__strsep_2c): Likewise.
12248 (__strsep_3c): Likewise.
12249 * string/memccpy.c (__memccpy): Likewise.
12250 * string/stpcpy.c (__stpcpy): Likewise.
12251 * string/strcmp.c (strcmp): Likewise.
12252 * string/strrchr.c (strrchr): Likewise.
12253 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12254 Likewise.
12255 * sysdeps/mach/hurd/getcwd.c
12256 (_hurd_canonicalize_directory_name_internal): Likewise.
12257 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12258 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12259 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12260 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12261 Likewise, in both definitions.
12262 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12263 definitions.
12264 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12265 64] (__bswap_64): Likewise.
12266 * time/test_time.c (main): Likewise.
12267 * time/tzfile.c (__tzfile_read): Likewise.
12268 (__tzfile_compute): Likewise.
12269 * time/tzset.c (__tzset_parse_tz): Likewise.
12270 (tzset_internal): Likewise.
12271 (compute_change): Likewise.
12272 * wcsmbs/wcscat.c (__wcscat): Likewise.
12273 * wcsmbs/wcschr.c (wcschr): Likewise.
12274 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12275 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12276 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12277 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12278 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12279 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12280 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12281 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12282 * wcsmbs/wmemset.c (wmemset): Likewise.
12283
9e54314b
JM
122842013-06-06 Joseph Myers <joseph@codesourcery.com>
12285
12286 * scripts/config.guess: Update to version 2013-05-16.
12287 * scripts/config.sub: Update to version 2013-04-24.
12288 * scripts/install-sh: Update to version 2011-11-20.07.
12289 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12290 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12291
350635a5
OB
122922013-06-06 Ondřej Bílka <neleai@seznam.cz>
12293
12294 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12295 * elf/sln.c: Likewise.
12296 * hurd/hurd/ioctl.h: Likewise.
12297 * hurd/hurdmalloc.c: Likewise.
12298 * hurd/xattr.c: Likewise.
12299 * include/shlib-compat.h: Likewise.
12300 * inet/ruserpass.c: Likewise.
12301 * libio/iofgets_u.c: Likewise.
12302 * libio/iofgetws_u.c: Likewise.
12303 * locale/programs/ld-identification.c: Likewise.
12304 * locale/programs/ld-time.c: Likewise.
12305 * mach/msg-destroy.c: Likewise.
12306 * nss/nss_files/files-netgrp.c: Likewise.
12307 * resolv/res_data.c: Likewise.
12308 * soft-fp/op-1.h: Likewise.
12309 * soft-fp/op-2.h: Likewise.
12310 * soft-fp/op-4.h: Likewise.
12311 * soft-fp/op-common.h: Likewise.
12312 * stdio-common/printf_fphex.c: Likewise.
12313 * stdlib/strtod_l.c: Likewise.
12314 * sunrpc/rpc/clnt.h: Likewise.
12315 * sysdeps/generic/framestate.c: Likewise.
12316 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12317 * sysdeps/i386/bsd-setjmp.S: Likewise.
12318 * sysdeps/i386/__longjmp.S: Likewise.
12319 * sysdeps/i386/setjmp.S: Likewise.
12320 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12321 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12322 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12338 * sysdeps/ieee754/support.c: Likewise.
12339 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12340 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12341 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12342 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12343 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12344 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12345 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12346 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12347 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12348 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12349 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12350 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12351 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12352 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12353 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12354 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12355 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12357
44a988af
OB
123582013-06-05 Ondřej Bílka <neleai@seznam.cz>
12359
25506f09 12360 * posix/transbug.c: Remove executable mode.
44a988af 12361
9c84384c
JM
123622013-06-05 Joseph Myers <joseph@codesourcery.com>
12363
12364 * crypt/speeds.c: Remove trailing whitespace.
12365 * dlfcn/default.c: Likewise.
12366 * elf/ifuncdep2.c: Likewise.
12367 * elf/ifuncmain1.c: Likewise.
12368 * elf/ifuncmain1vis.c: Likewise.
12369 * elf/testobj.h: Likewise.
12370 * elf/tst-stackguard1.c: Likewise.
12371 * gmon/sys/gmon.h: Likewise.
12372 * hurd/hurdmsg.c: Likewise.
12373 * hurd/new-fd.c: Likewise.
12374 * hurd/ports-get.c: Likewise.
12375 * iconvdata/ibm1008_420.c: Likewise.
12376 * inet/tst-getni1.c: Likewise.
12377 * inet/tst-getni2.c: Likewise.
12378 * libio/ioungetc.c: Likewise.
12379 * libio/wfiledoalloc.c: Likewise.
12380 * manual/libm-err-tab.pl: Likewise.
12381 * math/w_dremf.c: Likewise.
12382 * misc/ftruncate.c: Likewise.
12383 * posix/bug-glob2.c: Likewise.
12384 * posix/tst-pcre.c: Likewise.
12385 * posix/wait4.c: Likewise.
12386 * resolv/README: Likewise.
12387 * resolv/res_debug.h: Likewise.
12388 * resolv/tst-inet_ntop.c: Likewise.
12389 * setjmp/bug269-setjmp.c: Likewise.
12390 * soft-fp/extended.h: Likewise.
12391 * soft-fp/op-1.h: Likewise.
12392 * soft-fp/op-2.h: Likewise.
12393 * soft-fp/op-4.h: Likewise.
12394 * soft-fp/op-8.h: Likewise.
12395 * soft-fp/testit.c: Likewise.
12396 * stdio-common/bug16.c: Likewise.
12397 * stdlib/random.c: Likewise.
12398 * sunrpc/rpcsvc/rquota.x: Likewise.
12399 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12400 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12402 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12403 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12404 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12405 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12406 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12407 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12408 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12409 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12427 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12428 * sysdeps/ieee754/s_lib_version.c: Likewise.
12429 * sysdeps/mach/hurd/check_fds.c: Likewise.
12430 * sysdeps/mach/hurd/getsockname.c: Likewise.
12431 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12432 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12433 * sysdeps/powerpc/bits/link.h: Likewise.
12434 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12435 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12436 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12437 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12438 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12439 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12440 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12441 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12442 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12443 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12444 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12445 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12446 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12447 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12448 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12449 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12450 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12451 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12453 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12454 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12455 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12456 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12457 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12458 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12459 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12460 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12461 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12462 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12464 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12465 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12466 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12467 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12468 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12469 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12470 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12471 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12472 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12473 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12474 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12475 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12476 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12477 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12478 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12479 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12480 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12481 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12483 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12486 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12487 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12488 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12489 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12490 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12492 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12493 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12494 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12495 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12496 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12497 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12498 * sysdeps/powerpc/sysdep.h: Likewise.
12499 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12500 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12501 * sysdeps/sh/dl-trampoline.S: Likewise.
12502 * sysdeps/sh/memset.S: Likewise.
12503 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12504 * sysdeps/sh/strlen.S: Likewise.
12505 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12506 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12507 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12508 * sysdeps/sparc/sparc32/rem.S: Likewise.
12509 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12510 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12511 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12512 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12513 * sysdeps/sparc/sparc32/urem.S: Likewise.
12514 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12515 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12516 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12517 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12519 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12520 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12521 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12522 * sysdeps/unix/bsd/times.c: Likewise.
12523 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12524 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12530 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12531 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12532 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12533 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12534 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12535 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12536 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12537 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12538 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12539 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12540 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12541 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12542 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12543 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12544 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12545 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12546 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12547 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12548 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12549 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12550 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12551 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12552 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12553 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12554 * sysdeps/x86_64/strcspn.S: Likewise.
12555
869378a5
RA
125562013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12557
12558 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12559 generated file. Regenerate properly from gen-translit.pl.
12560 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12561 locale/C-translit.h.
12562
840e2943
AS
125632013-06-05 Andreas Schwab <schwab@suse.de>
12564
12565 [BZ #15100]
12566 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12567 week as 6 instead of -1.
12568 * time/tst-strptime.c (day_tests): Add test case.
12569
4c60cb0c
SP
125702013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12571
12572 * sysdeps/generic/math_private.h
12573 (libc_feholdexcept_setround_53bit): Replace with
12574 libc_feholdsetround_53bit.
12575 (libc_feupdateenv_53bit): Replace with
12576 libc_feresetround_53bit.
12577 (SET_RESTORE_ROUND_53BIT): Adjust.
12578
d180203e
SP
125792013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12580
96df079a
SP
12581 * string/test-strchrnul.c: Add copyright header.
12582
d180203e
SP
12583 * posix/tst-getaddrinfo4.c: Increase test timeout.
12584
8b0ccb2d
CD
125852013-06-03 Carlos O'Donell <carlos@redhat.com>
12586
12587 [BZ #15536]
12588 * math/libm-test.inc (MAX_EXP): Remove
12589 (MIN_EXP): Define.
12590 (ulp): Use MIN_EXP - MANT_DIG.
12591 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12592
3b3c4d40
CD
125932013-05-31 Carlos O'Donell <carlos@redhat.com>
12594
12595 * po/be.po: Revert last change.
12596 * po/zh_CN.po: Likewise.
12597 * po/header.pot: Likewise.
12598
fab7ce3f
JM
125992013-05-31 Joseph Myers <joseph@codesourcery.com>
12600
12601 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12602 link-libc-deps to empty as target-specific variable.
12603 * Makerules (link-libc-args): New variable.
12604 (libc-for-link): Likewise.
12605 (link-libc-deps): Likewise.
12606 (lib%.so): Depend on $(link-libc-deps). Link with
12607 $(link-libc-args).
12608 (build-module): Link with $(link-libc-args).
12609 (build-module-asneeded): Likewise.
12610 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12611 list of objects.
12612 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12613 target-specific variable.
12614 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12615 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12616 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12617 libc.
12618 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12619 libc and ld.so.
12620 ($(objpfx)libpcprofile.so): Likewise.
12621 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12622 libc_nonshared.a.
12623 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12624 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12625 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12626 $(link-libc-deps).
12627 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12628 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12629 * login/Makefile ($(objpfx)libutil.so): Likewise.
12630 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12631 * math/Makefile ($(objpfx)libm.so): Likewise.
12632 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12633 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12634 variable instead of depending directly on libc.
12635 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12636 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12637 $(link-libc-deps).
12638 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12639 libc.
12640 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12641 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12642 ($(objpfx)libanl.so): Likewise.
12643 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12644 ld.so.
12645 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12646 $(link-libc-deps).
12647 * sysdeps/i386/fpu/Makefile: Remove file.
12648 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12649 ($(objpfx)libm.so): Remove dependency on ld.so.
12650
eca5920c
PF
126512013-05-30 Patsy Franklin <pfrankli@redhat.com>
12652
12653 [BZ # 15553]
12654 * nis/yp_xdr.c (XDRMAXNAME): Define.
12655 (XDRMAXRECORD): Define.
12656 (xdr_domainname): Use XDRMAXNAME.
12657 (xdr_mapname): Likewise.
12658 (xdr_peername): Likewise.
12659 (xdr_keydat): Use XDRMAXRECORD.
12660 (xdr_valdat): Likewise.
12661
126622013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12663
12664 [BZ #14256]
12665 * manual/errno.texi (ESTALE): Update to account for more than
12666 just NFS file systems.
12667 * sysdeps/gnu/errlist.c: Regenerated.
12668
b9375348
SP
126692013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12670
12671 [BZ #15465]
12672 * elf/Makefile (tests): Add tst-null-argv.
12673 (modules-names): Add tst-null-argv-lib.
12674 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12675 (tst-null-argv-ENV): Set environment for tst-null-argv.
12676 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12677 (RTLD_PROGNAME): New macro.
12678 * elf/tst-null-argv.c: New test case.
12679 * elf/tst-null-argv-lib.c: Library for test case.
12680 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12681 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12682 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12683 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12684 * elf/dl-init.c (call_init): Likewise.
12685 (_dl_init): Likewise.
12686 * elf/dl-load.c (print_search_path): Likewise.
12687 (_dl_map_object): Likewise.
12688 * elf/dl-lookup.c (do_lookup_x): Likewise.
12689 (add_dependency): Likewise.
12690 (_dl_lookup_symbol_x): Likewise.
12691 (_dl_debug_bindings): Likewise.
12692 * elf/dl-open.c (_dl_show_scope): Likewise.
12693 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12694 * elf/dl-version.c (match_symbol): Likewise.
12695 (_dl_check_map_versions): Likewise.
12696 * elf/rtld.c (dl_main): Likewise.
12697 (print_unresolved): Use RTLD_PROGNAME.
12698 (print_missing_version): Likewise.
12699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12700 (elf_machine_rela): Likewise.
12701 * sysdeps/powerpc/powerpc32/dl-machine.c
12702 (__process_machine_rela): Likewise.
12703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12704 Likewise.
12705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12706 Likewise.
12707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12708 Likewise.
12709 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12710 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12711 Likewise.
12712 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12713 Likewise.
12714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12715
8a9f20c8
CD
127162013-05-28 Carlos O'Donell <carlos@redhat.com>
12717
12718 * po/be.po: Add descriptive title.
12719 * po/zh_CN.po: Likewise.
12720 * po/header.pot: Likewise.
12721
0e60d68e
MF
127222013-05-28 Mike Frysinger <vapier@gentoo.org>
12723
12724 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12725 error message.
12726 (enlarge_archive): Likewise.
12727
56b672e9
BN
127282013-05-28 Ben North <ben@redfrontdoor.org>
12729
12730 * manual/arith.texi (frexp): It is the magnitude of the return
12731 value which lies in [0.5, 1), not the return value itself.
12732
5e056687
AZ
127332013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12734
12735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12736
2b66ef5d
TS
127372013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12738
528c2405
TS
12739 * stdio-common/bug26.c (main): Correct fscanf template.
12740
07b4c13d
TS
12741 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12742 declare _dl_skip_args.
12743
ec9dd97c
TS
12744 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12745 Don't declare.
12746
2b66ef5d
TS
12747 * manual/platform.texi: Add missing @end deftypefun.
12748
4f8dfe27
JM
127492013-05-24 Joseph Myers <joseph@codesourcery.com>
12750
0323d086
JM
12751 [BZ #15529]
12752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12753 bit of mantissa of 2^16382.
12754 * math/libm-test.inc (hypot_test_data): Add more tests.
12755
dd4259b9
JM
12756 * math/libm-test.inc: Add drem and pow10 to list of tested
12757 functions.
12758 (pow10_test): New function.
12759 (drem_test): Likewise.
12760 (drem_test_tonearest): Likewise.
12761 (drem_test_towardzero): Likewise.
12762 (drem_test_downward): Likewise.
12763 (drem_test_upward): Likewise.
12764 (main): Call the new functions.
12765
4f8dfe27
JM
12766 * math/libm-test.inc (finite_test_data): Remove.
12767 (finite_test): Run tests from isfinite_test_data.
12768 (gamma_test_data): Remove.
12769 (gamma_test): Run tests from lgamma_test_data.
12770 * sysdeps/i386/fpu/libm-test-ulps: Update.
12771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12772
d116b7c4
AZ
127732013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12774
12775 * manual/platform.texi: Add PowerPC PPR function set documentation.
12776 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12777 implementation.
12778
e96e3767
CD
127792013-05-24 Carlos O'Donell <carlos@redhat.com>
12780
12781 * math/libm-test.inc (MAX_EXP): Define.
12782 (ULPDIFF): Define.
12783 (ulp): New function.
12784 (check_float_internal): Use ULPDIFF.
12785 (cpow_test): Disable failing test.
12786 (check_ulp): Test ulp() implemetnation.
12787 (main): Call check_ulp before starting tests.
12788
b679a606
JM
127892013-05-24 Joseph Myers <joseph@codesourcery.com>
12790
e8bdba36
JM
12791 * math/gen-libm-test.pl (generate_testfile): Do not handle
12792 START_DATA and END_DATA.
12793 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12794 END_DATA.
12795 (acos_tonearest_test_data): Likewise.
12796 (acos_towardzero_test_data): Likewise.
12797 (acos_downward_test_data): Likewise.
12798 (acos_upward_test_data): Likewise.
12799 (acosh_test_data): Likewise.
12800 (asin_test_data): Likewise.
12801 (asin_tonearest_test_data): Likewise.
12802 (asin_towardzero_test_data): Likewise.
12803 (asin_downward_test_data): Likewise.
12804 (asin_upward_test_data): Likewise.
12805 (asinh_test_data): Likewise.
12806 (atan_test_data): Likewise.
12807 (atanh_test_data): Likewise.
12808 (atan2_test_data): Likewise.
12809 (cabs_test_data): Likewise.
12810 (cacos_test_data): Likewise.
12811 (cacosh_test_data): Likewise.
12812 (carg_test_data): Likewise.
12813 (casin_test_data): Likewise.
12814 (casinh_test_data): Likewise.
12815 (catan_test_data): Likewise.
12816 (catanh_test_data): Likewise.
12817 (cbrt_test_data): Likewise.
12818 (ccos_test_data): Likewise.
12819 (ccosh_test_data): Likewise.
12820 (ceil_test_data): Likewise.
12821 (cexp_test_data): Likewise.
12822 (cimag_test_data): Likewise.
12823 (clog_test_data): Likewise.
12824 (clog10_test_data): Likewise.
12825 (conj_test_data): Likewise.
12826 (copysign_test_data): Likewise.
12827 (cos_test_data): Likewise.
12828 (cos_tonearest_test_data): Likewise.
12829 (cos_towardzero_test_data): Likewise.
12830 (cos_downward_test_data): Likewise.
12831 (cos_upward_test_data): Likewise.
12832 (cosh_test_data): Likewise.
12833 (cosh_tonearest_test_data): Likewise.
12834 (cosh_towardzero_test_data): Likewise.
12835 (cosh_downward_test_data): Likewise.
12836 (cosh_upward_test_data): Likewise.
12837 (cpow_test_data): Likewise.
12838 (cproj_test_data): Likewise.
12839 (creal_test_data): Likewise.
12840 (csin_test_data): Likewise.
12841 (csinh_test_data): Likewise.
12842 (csqrt_test_data): Likewise.
12843 (ctan_test_data): Likewise.
12844 (ctan_tonearest_test_data): Likewise.
12845 (ctan_towardzero_test_data): Likewise.
12846 (ctan_downward_test_data): Likewise.
12847 (ctan_upward_test_data): Likewise.
12848 (ctanh_test_data): Likewise.
12849 (ctanh_tonearest_test_data): Likewise.
12850 (ctanh_towardzero_test_data): Likewise.
12851 (ctanh_downward_test_data): Likewise.
12852 (ctanh_upward_test_data): Likewise.
12853 (erf_test_data): Likewise.
12854 (erfc_test_data): Likewise.
12855 (exp_test_data): Likewise.
12856 (exp_tonearest_test_data): Likewise.
12857 (exp_towardzero_test_data): Likewise.
12858 (exp_downward_test_data): Likewise.
12859 (exp_upward_test_data): Likewise.
12860 (exp10_test_data): Likewise.
12861 (exp2_test_data): Likewise.
12862 (expm1_test_data): Likewise.
12863 (fabs_test_data): Likewise.
12864 (fdim_test_data): Likewise.
12865 (finite_test_data): Likewise.
12866 (floor_test_data): Likewise.
12867 (fma_test_data): Likewise.
12868 (fma_towardzero_test_data): Likewise.
12869 (fma_downward_test_data): Likewise.
12870 (fma_upward_test_data): Likewise.
12871 (fmax_test_data): Likewise.
12872 (fmin_test_data): Likewise.
12873 (fmod_test_data): Likewise.
12874 (fpclassify_test_data): Likewise.
12875 (frexp_test_data): Likewise.
12876 (gamma_test_data): Likewise.
12877 (hypot_test_data): Likewise.
12878 (ilogb_test_data): Likewise.
12879 (isfinite_test_data): Likewise.
12880 (isgreater_test_data): Likewise.
12881 (isgreaterequal_test_data): Likewise.
12882 (isinf_test_data): Likewise.
12883 (isless_test_data): Likewise.
12884 (islessequal_test_data): Likewise.
12885 (islessgreater_test_data): Likewise.
12886 (isnan_test_data): Likewise.
12887 (isnormal_test_data): Likewise.
12888 (issignaling_test_data): Likewise.
12889 (isunordered_test_data): Likewise.
12890 (j0_test_data): Likewise.
12891 (j1_test_data): Likewise.
12892 (jn_test_data): Likewise.
12893 (ldexp_test_data): Likewise.
12894 (lgamma_test_data): Likewise.
12895 (lrint_test_data): Likewise.
12896 (lrint_tonearest_test_data): Likewise.
12897 (lrint_towardzero_test_data): Likewise.
12898 (lrint_downward_test_data): Likewise.
12899 (lrint_upward_test_data): Likewise.
12900 (llrint_test_data): Likewise.
12901 (llrint_tonearest_test_data): Likewise.
12902 (llrint_towardzero_test_data): Likewise.
12903 (llrint_downward_test_data): Likewise.
12904 (llrint_upward_test_data): Likewise.
12905 (log_test_data): Likewise.
12906 (log10_test_data): Likewise.
12907 (log1p_test_data): Likewise.
12908 (log2_test_data): Likewise.
12909 (logb_test_data): Likewise.
12910 (logb_downward_test_data): Likewise.
12911 (lround_test_data): Likewise.
12912 (llround_test_data): Likewise.
12913 (modf_test_data): Likewise.
12914 (nearbyint_test_data): Likewise.
12915 (nextafter_test_data): Likewise.
12916 (nexttoward_test_data): Likewise.
12917 (pow_test_data): Likewise.
12918 (pow_tonearest_test_data): Likewise.
12919 (pow_towardzero_test_data): Likewise.
12920 (pow_downward_test_data): Likewise.
12921 (pow_upward_test_data): Likewise.
12922 (remainder_test_data): Likewise.
12923 (remainder_tonearest_test_data): Likewise.
12924 (remainder_towardzero_test_data): Likewise.
12925 (remainder_downward_test_data): Likewise.
12926 (remainder_upward_test_data): Likewise.
12927 (remquo_test_data): Likewise.
12928 (rint_test_data): Likewise.
12929 (rint_tonearest_test_data): Likewise.
12930 (rint_towardzero_test_data): Likewise.
12931 (rint_downward_test_data): Likewise.
12932 (rint_upward_test_data): Likewise.
12933 (round_test_data): Likewise.
12934 (scalb_test_data): Likewise.
12935 (scalbn_test_data): Likewise.
12936 (scalbln_test_data): Likewise.
12937 (signbit_test_data): Likewise.
12938 (sin_test_data): Likewise.
12939 (sin_tonearest_test_data): Likewise.
12940 (sin_towardzero_test_data): Likewise.
12941 (sin_downward_test_data): Likewise.
12942 (sin_upward_test_data): Likewise.
12943 (sincos_test_data): Likewise.
12944 (sinh_test_data): Likewise.
12945 (sinh_tonearest_test_data): Likewise.
12946 (sinh_towardzero_test_data): Likewise.
12947 (sinh_downward_test_data): Likewise.
12948 (sinh_upward_test_data): Likewise.
12949 (sqrt_test_data): Likewise.
12950 (tan_test_data): Likewise.
12951 (tan_tonearest_test_data): Likewise.
12952 (tan_towardzero_test_data): Likewise.
12953 (tan_downward_test_data): Likewise.
12954 (tan_upward_test_data): Likewise.
12955 (tanh_test_data): Likewise.
12956 (tgamma_test_data): Likewise.
12957 (trunc_test_data): Likewise.
12958 (y0_test_data): Likewise.
12959 (y1_test_data): Likewise.
12960 (yn_test_data): Likewise.
12961 (significand_test_data): Likewise.
12962
b679a606
JM
12963 * math/gen-libm-test.pl (@functions): Remove variable.
12964 (generate_testfile): Don't handle START and END lines.
12965 * math/libm-test.inc (START): New macro.
12966 (END): Likewise.
12967 (END_COMPLEX): Likewise.
12968 (acos_test): Use END macro without arguments.
12969 (acos_test_tonearest): Likewise.
12970 (acos_test_towardzero): Likewise.
12971 (acos_test_downward): Likewise.
12972 (acos_test_upward): Likewise.
12973 (acosh_test): Likewise.
12974 (asin_test): Likewise.
12975 (asin_test_tonearest): Likewise.
12976 (asin_test_towardzero): Likewise.
12977 (asin_test_downward): Likewise.
12978 (asin_test_upward): Likewise.
12979 (asinh_test): Likewise.
12980 (atan_test): Likewise.
12981 (atanh_test): Likewise.
12982 (atan2_test): Likewise.
12983 (cabs_test): Likewise.
12984 (cacos_test): Use END_COMPLEX macro without arguments.
12985 (cacosh_test): Likewise.
12986 (carg_test): Use END macro without arguments.
12987 (casin_test): Use END_COMPLEX macro without arguments.
12988 (casinh_test): Likewise.
12989 (catan_test): Likewise.
12990 (catanh_test): Likewise.
12991 (cbrt_test): Use END macro without arguments.
12992 (ccos_test): Use END_COMPLEX macro without arguments.
12993 (ccosh_test): Likewise.
12994 (ceil_test): Use END macro without arguments.
12995 (cexp_test): Use END_COMPLEX macro without arguments.
12996 (cimag_test): Use END macro without arguments.
12997 (clog_test): Use END_COMPLEX macro without arguments.
12998 (clog10_test): Likewise.
12999 (conj_test): Likewise.
13000 (copysign_test): Use END macro without arguments.
13001 (cos_test): Likewise.
13002 (cos_test_tonearest): Likewise.
13003 (cos_test_towardzero): Likewise.
13004 (cos_test_downward): Likewise.
13005 (cos_test_upward): Likewise.
13006 (cosh_test): Likewise.
13007 (cosh_test_tonearest): Likewise.
13008 (cosh_test_towardzero): Likewise.
13009 (cosh_test_downward): Likewise.
13010 (cosh_test_upward): Likewise.
13011 (cpow_test): Use END_COMPLEX macro without arguments.
13012 (cproj_test): Likewise.
13013 (creal_test): Use END macro without arguments.
13014 (csin_test): Use END_COMPLEX macro without arguments.
13015 (csinh_test): Likewise.
13016 (csqrt_test): Likewise.
13017 (ctan_test): Likewise.
13018 (ctan_test_tonearest): Likewise.
13019 (ctan_test_towardzero): Likewise.
13020 (ctan_test_downward): Likewise.
13021 (ctan_test_upward): Likewise.
13022 (ctanh_test): Likewise.
13023 (ctanh_test_tonearest): Likewise.
13024 (ctanh_test_towardzero): Likewise.
13025 (ctanh_test_downward): Likewise.
13026 (ctanh_test_upward): Likewise.
13027 (erf_test): Use END macro without arguments.
13028 (erfc_test): Likewise.
13029 (exp_test): Likewise.
13030 (exp_test_tonearest): Likewise.
13031 (exp_test_towardzero): Likewise.
13032 (exp_test_downward): Likewise.
13033 (exp_test_upward): Likewise.
13034 (exp10_test): Likewise.
13035 (exp2_test): Likewise.
13036 (expm1_test): Likewise.
13037 (fabs_test): Likewise.
13038 (fdim_test): Likewise.
13039 (finite_test): Likewise.
13040 (floor_test): Likewise.
13041 (fma_test): Likewise.
13042 (fma_test_towardzero): Likewise.
13043 (fma_test_downward): Likewise.
13044 (fma_test_upward): Likewise.
13045 (fmax_test): Likewise.
13046 (fmin_test): Likewise.
13047 (fmod_test): Likewise.
13048 (fpclassify_test): Likewise.
13049 (frexp_test): Likewise.
13050 (gamma_test): Likewise.
13051 (hypot_test): Likewise.
13052 (ilogb_test): Likewise.
13053 (isfinite_test): Likewise.
13054 (isgreater_test): Likewise.
13055 (isgreaterequal_test): Likewise.
13056 (isinf_test): Likewise.
13057 (isless_test): Likewise.
13058 (islessequal_test): Likewise.
13059 (islessgreater_test): Likewise.
13060 (isnan_test): Likewise.
13061 (isnormal_test): Likewise.
13062 (issignaling_test): Likewise.
13063 (isunordered_test): Likewise.
13064 (j0_test): Likewise.
13065 (j1_test): Likewise.
13066 (jn_test): Likewise.
13067 (ldexp_test): Likewise.
13068 (lgamma_test): Likewise.
13069 (lrint_test): Likewise.
13070 (lrint_test_tonearest): Likewise.
13071 (lrint_test_towardzero): Likewise.
13072 (lrint_test_downward): Likewise.
13073 (lrint_test_upward): Likewise.
13074 (llrint_test): Likewise.
13075 (llrint_test_tonearest): Likewise.
13076 (llrint_test_towardzero): Likewise.
13077 (llrint_test_downward): Likewise.
13078 (llrint_test_upward): Likewise.
13079 (log_test): Likewise.
13080 (log10_test): Likewise.
13081 (log1p_test): Likewise.
13082 (log2_test): Likewise.
13083 (logb_test): Likewise.
13084 (logb_test_downward): Likewise.
13085 (lround_test): Likewise.
13086 (llround_test): Likewise.
13087 (modf_test): Likewise.
13088 (nearbyint_test): Likewise.
13089 (nextafter_test): Likewise.
13090 (nexttoward_test): Likewise.
13091 (pow_test): Likewise.
13092 (pow_test_tonearest): Likewise.
13093 (pow_test_towardzero): Likewise.
13094 (pow_test_downward): Likewise.
13095 (pow_test_upward): Likewise.
13096 (remainder_test): Likewise.
13097 (remainder_test_tonearest): Likewise.
13098 (remainder_test_towardzero): Likewise.
13099 (remainder_test_downward): Likewise.
13100 (remainder_test_upward): Likewise.
13101 (remquo_test): Likewise.
13102 (rint_test): Likewise.
13103 (rint_test_tonearest): Likewise.
13104 (rint_test_towardzero): Likewise.
13105 (rint_test_downward): Likewise.
13106 (rint_test_upward): Likewise.
13107 (round_test): Likewise.
13108 (scalb_test): Likewise.
13109 (scalbn_test): Likewise.
13110 (scalbln_test): Likewise.
13111 (signbit_test): Likewise.
13112 (sin_test): Likewise.
13113 (sin_test_tonearest): Likewise.
13114 (sin_test_towardzero): Likewise.
13115 (sin_test_downward): Likewise.
13116 (sin_test_upward): Likewise.
13117 (sincos_test): Likewise.
13118 (sinh_test): Likewise.
13119 (sinh_test_tonearest): Likewise.
13120 (sinh_test_towardzero): Likewise.
13121 (sinh_test_downward): Likewise.
13122 (sinh_test_upward): Likewise.
13123 (sqrt_test): Likewise.
13124 (tan_test): Likewise.
13125 (tan_test_tonearest): Likewise.
13126 (tan_test_towardzero): Likewise.
13127 (tan_test_downward): Likewise.
13128 (tan_test_upward): Likewise.
13129 (tanh_test): Likewise.
13130 (tgamma_test): Likewise.
13131 (trunc_test): Likewise.
13132 (y0_test): Likewise.
13133 (y1_test): Likewise.
13134 (yn_test): Likewise.
13135 (significand_test): Likewise.
13136
bae143d2
OB
131372013-05-24 Ondřej Bílka <neleai@seznam.cz>
13138
13139 [BZ #15381]
13140 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13141
9323d39b
EM
131422013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13143
d4ea44a0 13144 [BZ #14894]
9323d39b
EM
13145 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13146 __ppc_mdoio and __ppc_mdoom.
13147 * manual/platform.texi: Document new functions __ppc_yield,
13148 __ppc_mdoio and __ppc_mdoom.
13149
13e23af7
CD
131502013-05-22 Carlos O'Donell <carlos@redhat.com>
13151
13152 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13153 (main): Mention "tls" pseudo-hwcap is legacy.
13154 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13155
351fe550
JM
131562013-05-22 Joseph Myers <joseph@codesourcery.com>
13157
13158 * math/gen-libm-test.pl (parse_args): Output only string of
13159 arguments as text for test name, not full call or descriptions of
13160 tests for extra outputs.
13161 (generate_testfile): Do not pass function name to parse_args.
13162 Generate this_func variable from START.
13163 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13164 field to arg_str.
13165 (struct test_ff_f_data): Likewise.
13166 (test_ff_f_data_nexttoward): Likewise.
13167 (struct test_fi_f_data): Likewise.
13168 (struct test_fl_f_data): Likewise.
13169 (struct test_if_f_data): Likewise.
13170 (struct test_fff_f_data): Likewise.
13171 (struct test_c_f_data): Likewise.
13172 (struct test_f_f1_data): Likewise. Remove field extra_name.
13173 (struct test_fF_f1_data): Likewise.
13174 (struct test_ffI_f1_data): Likewise.
13175 (struct test_c_c_data): Rename test_name field to arg_str.
13176 (struct test_cc_c_data): Likewise.
13177 (struct test_f_i_data): Likewise.
13178 (struct test_ff_i_data): Likewise.
13179 (struct test_f_l_data): Likewise.
13180 (struct test_f_L_data): Likewise.
13181 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13182 and extra2_name.
13183 (COMMON_TEST_SETUP): New macro.
13184 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13185 (COMMON_TEST_CLEANUP): Likewise.
13186 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13187 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13188 macros.
13189 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13190 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13191 macros.
13192 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13193 (RUN_TEST_fff_f): Take argument string. Call new setup and
13194 cleanup macros.
13195 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13196 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13197 macros.
13198 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13199 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13200 macros.
13201 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13202 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13203 cleanup macros.
13204 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13205 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13206 cleanup macros.
13207 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13208 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13209 cleanup macros.
13210 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13211 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13212 macros.
13213 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13214 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13215 macros.
13216 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13217 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13218 macros.
13219 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13220 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13221 cleanup macros.
13222 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13223 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13224 cleanup macros.
13225 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13226 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13227 macros.
13228 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13229 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13230 cleanup macros.
13231 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13232 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13233 macros.
13234 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13235 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13236 macros.
13237 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13238 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13239 cleanup macros.
13240 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13241
85118d4d
EBM
132422013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13243
13244 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13245 to _sifields.sigfault.
13246 (si_addr_lsb): Define new macro.
13247 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13249 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13250
7a44c18f
CD
132512013-05-03 Carlos O'Donell <carlos at redhat.com>
13252
13253 [BZ #15441]
13254 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13255 returns -1.
13256 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13257 null return -1.
13258 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13259 loading the domain.
13260
b50a7181
JM
132612013-05-22 Joseph Myers <joseph@codesourcery.com>
13262
13263 * math/gen-libm-test.pl (parse_args): Do not include expected
13264 result in test name.
13265 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13266 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13267 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13268 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13269 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13271
051063c8
SP
132722013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13273
3ce9e010
SP
13274 * benchtests/Makefile: Sort function entries.
13275
051063c8
SP
13276 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13277 tanh, asinh, acosh, atanh.
13278 * benchtests/acos-inputs: New file.
13279 * benchtests/acosh-inputs: New file.
13280 * benchtests/asin-inputs: New file.
13281 * benchtests/asinh-inputs: New file.
13282 * benchtests/atanh-inputs: New file.
13283 * benchtests/cosh-inputs: New file.
13284 * benchtests/log-inputs: New file.
13285 * benchtests/sinh-inputs: New file.
13286 * benchtests/tanh-inputs: New file.
13287
47c22455
DL
132882013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13289
13290 [BZ #15339]
13291 * posix/tst-getaddrinfo4.c: New test.
13292 * posix/Makefile (tests): Add it.
13293
3d04f5db
SP
132942013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13295
13296 [BZ #15339]
13297 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13298 when no services were used.
13299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13300 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13301
d5dd6189
AS
133022013-05-21 Andreas Schwab <schwab@suse.de>
13303
13304 [BZ #15014]
13305 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13306 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13307 successful.
13308 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13309 redundant variable declarations and reallocation of buffer when
13310 parsing as IPv6 address. Always set NSS status when called from
13311 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13312 buffer too small. Correct computation of needed size.
13313 * nss/Makefile (tests): Add test-digits-dots.
13314 * nss/test-digits-dots.c: New test.
13315
fef94eab
SP
133162013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13317
13318 * benchtests/Makefile: Remove instructions for adding
13319 benchmark tests.
13320 * benchtests/README: New file to explain how to execute and
13321 enhance the benchmark tests.
13322
e39adf43
AS
133232013-05-21 Andreas Schwab <schwab@suse.de>
13324
13325 [BZ #15493]
13326 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13327 * setjmp/tst-sigsetjmp.c: New test.
13328
b2b671b6
OB
133292013-05-20 Ondřej Bílka <neleai@seznam.cz>
13330
13331 * sysdeps/x86_64/memset.S (memset): New implementation.
13332 (__bzero): Likewise.
13333 (__memset_tail): New function.
13334
2d48b41c
OB
133352013-05-20 Ondřej Bílka <neleai@seznam.cz>
13336
13337 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13338 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13339 __memcpy_sse2_unaligned ifunc selection.
13340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13341 Add memcpy-sse2-unaligned.S.
13342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13343 Add: __memcpy_sse2_unaligned.
13344
f16cc3eb
JM
133452013-05-19 Joseph Myers <joseph@codesourcery.com>
13346
3e694268
JM
13347 [BZ #15490]
13348 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13349 math_force_eval before restoring floating-point envrionment.
13350 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13352 Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13354 <math_private.h>.
13355 (__nearbyintl): Use math_force_eval before restoring
13356 floating-point environment.
13357 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13358
db62a907
JM
13359 * math/gen-libm-test.pl (special_functions): Remove.
13360 (parse_args): Don't handle TEST_extra. Handle functions with no
13361 return value.
13362 * math/libm-test.inc (struct test_sincos_data): Replace with
13363 struct test_fFF_11_data.
13364 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13365 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13366 (sincos_test_data): Change element type to struct
13367 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13368 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13369 RUN_TEST_LOOP_sincos.
13370 * math/README.libm-test: Don't mention special handling of
13371 individual functions.
13372 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13374 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13375 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13376 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13378
f16cc3eb
JM
13379 * math/gen-libm-test.pl (get_variable): Remove function.
13380 (parse_args): Don't show pointer parameters to call in test
13381 names. Use "extra output N" in test names for extra outputs
13382 rather than naming variables.
13383
3779b5b6
JM
133842013-05-18 Joseph Myers <joseph@codesourcery.com>
13385
2ee094ff
JM
13386 [BZ #15488]
13387 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13388 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13389 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13390 double tests.
13391 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13392 disable.
13393 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13394 check_long_double.
13395
3779b5b6
JM
13396 * math/gen-libm-test.pl (@tests): Remove variable.
13397 ($count): Likewise.
13398 (new_test): Remove function.
13399 (show_exceptions): New function.
13400 (special_functions): Use show_exceptions instead of new_test.
13401 (parse_args): Likewise.
13402 (generate_testfile): Pass only function name in generated call to
13403 print_max_error or print_complex_max_error.
13404 (get_ulps): Do not handle complex tests specially.
13405 (output_test): Rename to ...
13406 (get_all_ulps_for_test): ... this. Return a string rather than
13407 printing to a file. Require ulps to be present.
13408 (output_ulps): Generate arrays rather than #defines.
13409 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13410 (struct ulp_data): New type.
13411 (BUILD_COMPLEX_ULP): Remove macro.
13412 (compare_ulp_data): New function.
13413 (find_ulps): Likewise.
13414 (find_test_ulps): Likewise.
13415 (find_function_ulps): Likewise.
13416 (find_complex_function_ulps): Likewise.
13417 (print_max_error): Determine allowed ulps using
13418 find_function_ulps.
13419 (print_complex_max_error): Determine allowed ulps using
13420 find_complex_function_ulps.
13421 (check_float_internal): Determine max ulps using find_test_ulps.
13422 (check_float): Do not take max_ulp parameter. Update call to
13423 check_float_internal.
13424 (check_complex): Likewise.
13425 (check_int): Do not take max_ulp parameter.
13426 (check_long): Likewise.
13427 (check_bool): Likewise.
13428 (check_longlong): Likewise.
13429 (struct test_f_f_data): Remove max_ulp field.
13430 (struct test_ff_f_data): Likewise.
13431 (struct test_ff_f_data_nexttoward): Likewise.
13432 (struct test_fi_f_data): Likewise.
13433 (struct test_fl_f_data): Likewise.
13434 (struct test_if_f_data): Likewise.
13435 (struct test_fff_f_data): Likewise.
13436 (struct test_c_f_data): Likewise.
13437 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13438 (struct test_fF_f1_data): Likewise.
13439 (struct test_ffI_f1_data): Likewise.
13440 (struct test_c_c_data): Remove max_ulp field.
13441 (struct test_cc_c_data): Likewise.
13442 (struct test_f_i_data): Likewise.
13443 (struct test_ff_i_data): Likewise.
13444 (struct test_f_l_data): Likewise.
13445 (struct test_f_L_data): Likewise.
13446 (struct test_sincos_data): Likewise.
13447 (RUN_TEST_f_f): Do not handle ulps.
13448 (RUN_TEST_LOOP_f_f): Likewise.
13449 (RUN_TEST_2_f): Likewise.
13450 (RUN_TEST_LOOP_2_f): Likewise.
13451 (RUN_TEST_fff_f): Likewise.
13452 (RUN_TEST_LOOP_fff_f): Likewise.
13453 (RUN_TEST_c_f): Likewise.
13454 (RUN_TEST_LOOP_c_f): Likewise.
13455 (RUN_TEST_f_f1): Likewise.
13456 (RUN_TEST_LOOP_f_f1): Likewise.
13457 (RUN_TEST_fF_f1): Likewise.
13458 (RUN_TEST_LOOP_fF_f1): Likewise.
13459 (RUN_TEST_fI_f1): Likewise.
13460 (RUN_TEST_LOOP_fI_f1): Likewise.
13461 (RUN_TEST_ffI_f1): Likewise.
13462 (RUN_TEST_LOOP_ffI_f1): Likewise.
13463 (RUN_TEST_c_c): Likewise.
13464 (RUN_TEST_LOOP_c_c): Likewise.
13465 (RUN_TEST_cc_c): Likewise.
13466 (RUN_TEST_LOOP_cc_c): Likewise.
13467 (RUN_TEST_f_i): Likewise.
13468 (RUN_TEST_LOOP_f_i): Likewise.
13469 (RUN_TEST_f_i_tg): Likewise.
13470 (RUN_TEST_LOOP_f_i_tg): Likewise.
13471 (RUN_TEST_ff_i_tg): Likewise.
13472 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13473 (RUN_TEST_f_b): Likewise.
13474 (RUN_TEST_LOOP_f_b): Likewise.
13475 (RUN_TEST_f_b_tg): Likewise.
13476 (RUN_TEST_LOOP_f_b_tg): Likewise.
13477 (RUN_TEST_f_l): Likewise.
13478 (RUN_TEST_LOOP_f_l): Likewise.
13479 (RUN_TEST_f_L): Likewise.
13480 (RUN_TEST_LOOP_f_L): Likewise.
13481 (RUN_TEST_sincos): Likewise.
13482 (RUN_TEST_LOOP_sincos): Likewise.
13483
8269107f
JM
134842013-05-17 Joseph Myers <joseph@codesourcery.com>
13485
bb38759d
JM
13486 [BZ #15480]
13487 [BZ #15485]
13488 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13489 main case of finite arguments, set rounding mode to FE_TONEAREST
13490 and discard exceptions.
13491 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13492 exceptions.
13493 (remainder_tonearest_test_data): New variable.
13494 (remainder_test_tonearest): New function.
13495 (remainder_towardzero_test_data): New variable.
13496 (remainder_test_towardzero): New function.
13497 (remainder_downward_test_data): New variable.
13498 (remainder_test_downward): New function.
13499 (remainder_upward_test_data): New variable.
13500 (remainder_test_upward): New function.
13501 (main): Call the new test functions.
13502
a00bdcf0
JM
13503 * math/libm-test.inc (struct test_f_f1_data): Remove field
13504 extra_init.
13505 (struct test_fF_f1_data): Likewise.
13506 (struct test_ffI_f1_data): Likewise.
13507 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13508 based on value of EXTRA_EXPECTED.
13509 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13510 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13511 EXTRA_VAR based on value of EXTRA_EXPECTED.
13512 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13513 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13514 EXTRA_VAR based on value of EXTRA_EXPECTED.
13515 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13516 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13517 EXTRA_VAR based on value of EXTRA_EXPECTED.
13518 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13519 * math/gen-libm-test.pl (parse_args): Don't output initializers
13520 for extra output values.
13521
de407f79
JM
13522 * math/libm-test.inc (check_int): Expect result to be exactly
13523 equal to expected value and do not handle ulps.
13524 (check_long): Likewise.
13525 (check_longlong): Likewise.
13526
8269107f
JM
13527 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13528 exceptions.
13529 (cimag_test_data): Likewise.
13530 (conj_test_data): Likewise.
13531 (copysign_test_data): Likewise.
13532 (cproj_test_data): Likewise.
13533 (creal_test_data): Likewise.
13534 (fabs_test_data): Likewise.
13535 (fdim_test_data): Likewise.
13536 (finite_test_data): Likewise.
13537 (floor_test_data): Likewise.
13538 (fmax_test_data): Likewise.
13539 (fmin_test_data): Likewise.
13540 (fmod_test_data): Likewise.
13541 (fpclassify_test_data): Likewise.
13542 (frexp_test_data): Likewise.
13543 (ilogb_test_data): Likewise.
13544 (isfinite_test_data): Likewise.
13545 (isgreater_test_data): Likewise.
13546 (isgreaterequal_test_data): Likewise.
13547 (isinf_test_data): Likewise.
13548 (isless_test_data): Likewise.
13549 (islessequal_test_data): Likewise.
13550 (islessgreater_test_data): Likewise.
13551 (isnan_test_data): Likewise.
13552 (isnormal_test_data): Likewise.
13553 (issignaling_test_data): Likewise.
13554 (isunordered_test_data): Likewise.
13555 (ldexp_test_data): Likewise.
13556 (lrint_test_data): Likewise.
13557 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13558 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13559 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13560 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13561 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13562 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13563 test input.
13564 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13565 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13566 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13567 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13568 that test input.
13569 (lrint_downward_test_data): Test for "inexact" exceptions.
13570 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13571 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13572 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13573 test input.
13574 (lrint_upward_test_data): Test for "inexact" exceptions.
13575 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13576 test input.
13577 (llrint_test_data): Test for "inexact" exceptions.
13578 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13579 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13580 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13581 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13582 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13583 (llrint_downward_test_data): Test for "inexact" exceptions.
13584 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13585 (llrint_upward_test_data): Test for "inexact" exceptions.
13586 (logb_test_data): Likewise.
13587 (logb_downward_test_data): Likewise.
13588 (nextafter_test_data): Likewise.
13589 (nexttoward_test_data): Likewise.
13590 (remainder_test_data): Likewise.
13591 (remquo_test_data): Likewise.
13592 (scalbn_test_data): Likewise.
13593 (scalbln_test_data): Likewise.
13594 (signbit_test_data): Likewise.
13595 (sqrt_test_data): Likewise.
13596 (significand_test_data): Likewise.
13597
48a18de1
SP
135982013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13599
13600 [BZ #15424]
13601 * benchtests/bench-modf.c (struct args): Mark arg0 as
13602 volatile.
13603 * scripts/bench.pl: Mark members of struct args as volatile.
13604
13d3b41a
AZ
136052013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13606
68191c1d 13607 [BZ # 15497]
13d3b41a
AZ
13608 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13609 negative infinity on POWER6 or lower.
13610 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13611
2848b105
MR
136122013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13613
13614 [BZ #15442]
13615 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13616 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13617 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13618 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13619 (_FP_SETQNAN): New macro.
13620 (_FP_SETQNAN_SEMIRAW): Likewise.
13621 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13622 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13623 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13624 (FP_EXTEND): Use _FP_FRAC_SNANP.
13625 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13626 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13627 into account.
13628 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13629 New macro.
13630 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13631 Likewise.
13632
323e5cb7
JM
136332013-05-16 Joseph Myers <joseph@codesourcery.com>
13634
c58b274f
JM
13635 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13636 with DIVIDE_BY_ZERO_EXCEPTION.
13637 (gamma_test_data): Likewise.
13638 (lgamma_test_data): Likewise.
13639 (log_test_data): Likewise.
13640 (log10_test_data): Likewise.
13641 (log2_test_data): Likewise.
13642 (tgamma_test_data): Likewise.
13643
0ab34904
JM
13644 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13645 (acos_test_tonearest): Likewise.
13646 (acos_test_towardzero): Likewise.
13647 (acos_test_downward): Likewise.
13648 (acos_test_upward): Likewise.
13649 (acosh_test): Likewise.
13650 (asin_test): Likewise.
13651 (asin_test_tonearest): Likewise.
13652 (asin_test_towardzero): Likewise.
13653 (asin_test_downward): Likewise.
13654 (asin_test_upward): Likewise.
13655 (asinh_test): Likewise.
13656 (atan_test): Likewise.
13657 (atanh_test): Likewise.
13658 (atan2_test): Likewise.
13659 (cabs_test): Likewise.
13660 (cacos_test): Likewise.
13661 (cacosh_test): Likewise.
13662 (casin_test): Likewise.
13663 (casinh_test): Likewise.
13664 (catan_test): Likewise.
13665 (catanh_test): Likewise.
13666 (cbrt_test): Likewise.
13667 (ccos_test): Likewise.
13668 (ccosh_test): Likewise.
13669 (cexp_test): Likewise.
13670 (clog_test): Likewise.
13671 (clog10_test): Likewise.
13672 (cos_test): Likewise.
13673 (cos_test_tonearest): Likewise.
13674 (cos_test_towardzero): Likewise.
13675 (cos_test_downward): Likewise.
13676 (cos_test_upward): Likewise.
13677 (cosh_test): Likewise.
13678 (cosh_test_tonearest): Likewise.
13679 (cosh_test_towardzero): Likewise.
13680 (cosh_test_downward): Likewise.
13681 (cosh_test_upward): Likewise.
13682 (cpow_test): Likewise.
13683 (csin_test): Likewise.
13684 (csinh_test): Likewise.
13685 (csqrt_test): Likewise.
13686 (ctan_test): Likewise.
13687 (ctan_test_tonearest): Likewise.
13688 (ctan_test_towardzero): Likewise.
13689 (ctan_test_downward): Likewise.
13690 (ctan_test_upward): Likewise.
13691 (ctanh_test): Likewise.
13692 (ctanh_test_tonearest): Likewise.
13693 (ctanh_test_towardzero): Likewise.
13694 (ctanh_test_downward): Likewise.
13695 (ctanh_test_upward): Likewise.
13696 (erf_test): Likewise.
13697 (erfc_test): Likewise.
13698 (exp_test): Likewise.
13699 (exp_test_tonearest): Likewise.
13700 (exp_test_towardzero): Likewise.
13701 (exp_test_downward): Likewise.
13702 (exp_test_upward): Likewise.
13703 (exp10_test): Likewise.
13704 (exp2_test): Likewise.
13705 (expm1_test): Likewise.
13706 (fmod_test): Likewise.
13707 (gamma_test): Likewise.
13708 (hypot_test): Likewise.
13709 (j0_test): Likewise.
13710 (j1_test): Likewise.
13711 (jn_test): Likewise.
13712 (lgamma_test): Likewise.
13713 (log_test): Likewise.
13714 (log10_test): Likewise.
13715 (log1p_test): Likewise.
13716 (log2_test): Likewise.
13717 (logb_test_downward): Likewise.
13718 (pow_test): Likewise.
13719 (pow_test_tonearest): Likewise.
13720 (pow_test_towardzero): Likewise.
13721 (pow_test_downward): Likewise.
13722 (pow_test_upward): Likewise.
13723 (remainder_test): Likewise.
13724 (remquo_test): Likewise.
13725 (sin_test): Likewise.
13726 (sin_test_tonearest): Likewise.
13727 (sin_test_towardzero): Likewise.
13728 (sin_test_downward): Likewise.
13729 (sin_test_upward): Likewise.
13730 (sincos_test): Likewise.
13731 (sinh_test): Likewise.
13732 (sinh_test_tonearest): Likewise.
13733 (sinh_test_towardzero): Likewise.
13734 (sinh_test_downward): Likewise.
13735 (sinh_test_upward): Likewise.
13736 (sqrt_test): Likewise.
13737 (tan_test): Likewise.
13738 (tan_test_tonearest): Likewise.
13739 (tan_test_towardzero): Likewise.
13740 (tan_test_downward): Likewise.
13741 (tan_test_upward): Likewise.
13742 (tanh_test): Likewise.
13743 (tgamma_test): Likewise.
13744 (y0_test): Likewise.
13745 (y1_test): Likewise.
13746 (yn_test): Likewise.
13747
323e5cb7
JM
13748 * math/gen-libm-test.pl (adjust_arg): Remove function.
13749 (special_function): Remove argument $in_func. Only handle
13750 generating output for tables of tests, not inside functions.
13751 (parse_args): Likewise.
13752 (generate_testfile): Remove variable $in_func. Update call to
13753 parse_args.
13754 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13755 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13756 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13757 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13758 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13759 (MAX_VALUE_INIT): Rename macro to max_value.
13760 (MIN_VALUE_INIT): Rename macro to min_value.
13761 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13762 (plus_zero): Remove variable.
13763 (minus_zero): Likewise.
13764 (plus_infty): Likewise.
13765 (minus_infty): Likewise.
13766 (qnan_value): Likewise.
13767 (max_value): Likewise.
13768 (min_value): Likewise.
13769 (min_subnorm_value): Likewise.
13770
e054f494
RA
137712013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13772
13773 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13774 uint64_t or uint32_t usage.
13775 * crypt/sha256-block.c: Likewise.
13776 * crypt/sha256-crypt.c: Likewise.
13777 * crypt/sha256.c: Likewise.
13778 * crypt/sha512-block.c: Likewise.
13779 * crypt/sha512-crypt.c: Likewise.
13780 * crypt/sha512.c: Likewise.
13781 * debug/backtrace-tst.c: Likewise.
13782 * debug/pcprofiledump.c: Likewise.
13783 * elf/cache.c: Likewise.
13784 * elf/dl-cache.c: Likewise.
13785 * elf/dl-misc.c: Likewise.
13786 * elf/dl-profile.c: Likewise.
13787 * elf/dl-support.c: Likewise.
13788 * elf/ldconfig.c: Likewise.
13789 * elf/sprof.c: Likewise.
13790 * iconv/dummy-repertoire.c: Likewise.
13791 * iconv/iconv_charmap.c: Likewise.
13792 * iconv/skeleton.c: Likewise.
13793 * iconvdata/8bit-generic.c: Likewise.
13794 * iconvdata/cp737.h: Likewise.
13795 * iconvdata/cp775.h: Likewise.
13796 * iconvdata/ibm1008.h: Likewise.
13797 * iconvdata/ibm1025.h: Likewise.
13798 * iconvdata/ibm1046.h: Likewise.
13799 * iconvdata/ibm1097.h: Likewise.
13800 * iconvdata/ibm1112.h: Likewise.
13801 * iconvdata/ibm1122.h: Likewise.
13802 * iconvdata/ibm1123.h: Likewise.
13803 * iconvdata/ibm1124.h: Likewise.
13804 * iconvdata/ibm1129.h: Likewise.
13805 * iconvdata/ibm1130.h: Likewise.
13806 * iconvdata/ibm1132.h: Likewise.
13807 * iconvdata/ibm1133.h: Likewise.
13808 * iconvdata/ibm1137.h: Likewise.
13809 * iconvdata/ibm1140.h: Likewise.
13810 * iconvdata/ibm1141.h: Likewise.
13811 * iconvdata/ibm1142.h: Likewise.
13812 * iconvdata/ibm1143.h: Likewise.
13813 * iconvdata/ibm1144.h: Likewise.
13814 * iconvdata/ibm1145.h: Likewise.
13815 * iconvdata/ibm1146.h: Likewise.
13816 * iconvdata/ibm1147.h: Likewise.
13817 * iconvdata/ibm1148.h: Likewise.
13818 * iconvdata/ibm1149.h: Likewise.
13819 * iconvdata/ibm1153.h: Likewise.
13820 * iconvdata/ibm1154.h: Likewise.
13821 * iconvdata/ibm1155.h: Likewise.
13822 * iconvdata/ibm1156.h: Likewise.
13823 * iconvdata/ibm1157.h: Likewise.
13824 * iconvdata/ibm1158.h: Likewise.
13825 * iconvdata/ibm1160.h: Likewise.
13826 * iconvdata/ibm1161.h: Likewise.
13827 * iconvdata/ibm1162.h: Likewise.
13828 * iconvdata/ibm1163.h: Likewise.
13829 * iconvdata/ibm1164.h: Likewise.
13830 * iconvdata/ibm1166.h: Likewise.
13831 * iconvdata/ibm1167.h: Likewise.
13832 * iconvdata/ibm12712.h: Likewise.
13833 * iconvdata/ibm1390.h: Likewise.
13834 * iconvdata/ibm1399.h: Likewise.
13835 * iconvdata/ibm16804.h: Likewise.
13836 * iconvdata/ibm4517.h: Likewise.
13837 * iconvdata/ibm4899.h: Likewise.
13838 * iconvdata/ibm4909.h: Likewise.
13839 * iconvdata/ibm4971.h: Likewise.
13840 * iconvdata/ibm5347.h: Likewise.
13841 * iconvdata/ibm803.h: Likewise.
13842 * iconvdata/ibm856.h: Likewise.
13843 * iconvdata/ibm901.h: Likewise.
13844 * iconvdata/ibm902.h: Likewise.
13845 * iconvdata/ibm9030.h: Likewise.
13846 * iconvdata/ibm9066.h: Likewise.
13847 * iconvdata/ibm921.h: Likewise.
13848 * iconvdata/ibm922.h: Likewise.
13849 * iconvdata/ibm9448.h: Likewise.
13850 * iconvdata/isiri-3342.h: Likewise.
13851 * iconvdata/jis0201.h: Likewise.
13852 * include/link.h: Likewise.
13853 * include/netdb.h: Likewise.
13854 * inet/check_native.c: Likewise.
13855 * inet/check_pf.c: Likewise.
13856 * inet/getipv4sourcefilter.c: Likewise.
13857 * inet/getnameinfo.c: Likewise.
13858 * inet/getsourcefilter.c: Likewise.
13859 * inet/htonl.c: Likewise.
13860 * inet/setipv4sourcefilter.c: Likewise.
13861 * inet/setsourcefilter.c: Likewise.
13862 * inet/test-inet6_opt.c: Likewise.
13863 * inet/tst-network.c: Likewise.
13864 * locale/C-collate.c: Likewise.
13865 * locale/C-ctype.c: Likewise.
13866 * locale/C-time.c: Likewise.
13867 * locale/C-translit.h: Likewise.
13868 * locale/loadarchive.c: Likewise.
13869 * locale/programs/3level.h: Likewise.
13870 * locale/programs/charmap.c: Likewise.
13871 * locale/programs/charmap.h: Likewise.
13872 * locale/programs/ld-address.c: Likewise.
13873 * locale/programs/ld-collate.c: Likewise.
13874 * locale/programs/ld-ctype.c: Likewise.
13875 * locale/programs/ld-identification.c: Likewise.
13876 * locale/programs/ld-measurement.c: Likewise.
13877 * locale/programs/ld-messages.c: Likewise.
13878 * locale/programs/ld-monetary.c: Likewise.
13879 * locale/programs/ld-name.c: Likewise.
13880 * locale/programs/ld-numeric.c: Likewise.
13881 * locale/programs/ld-paper.c: Likewise.
13882 * locale/programs/ld-telephone.c: Likewise.
13883 * locale/programs/ld-time.c: Likewise.
13884 * locale/programs/linereader.c: Likewise.
13885 * locale/programs/locale.c: Likewise.
13886 * locale/programs/locarchive.c: Likewise.
13887 * locale/programs/locfile.h: Likewise.
13888 * locale/programs/repertoire.c: Likewise.
13889 * locale/programs/simple-hash.c: Likewise.
13890 * locale/programs/simple-hash.h: Likewise.
13891 * malloc/memusage.c: Likewise.
13892 * malloc/memusagestat.c: Likewise.
13893 * nis/nis_defaults.c: Likewise.
13894 * nis/nis_hash.c: Likewise.
13895 * nis/nis_print.c: Likewise.
13896 * nis/nis_xdr.c: Likewise.
13897 * nscd/connections.c: Likewise.
13898 * nscd/hstcache.c: Likewise.
13899 * nscd/nscd_gethst_r.c: Likewise.
13900 * nscd/nscd_getserv_r.c: Likewise.
13901 * nscd/nscd_helper.c: Likewise.
13902 * nscd/servicescache.c: Likewise.
13903 * nss/makedb.c: Likewise.
13904 * nss/nss_db/db-XXX.c: Likewise.
13905 * nss/nss_db/db-initgroups.c: Likewise.
13906 * nss/nss_db/db-netgrp.c: Likewise.
13907 * nss/nss_files/files-network.c: Likewise.
13908 * nss/nss_files/files-parse.c: Likewise.
13909 * posix/bug-regex5.c: Likewise.
13910 * posix/fnmatch_loop.c: Likewise.
13911 * posix/regcomp.c: Likewise.
13912 * posix/regexec.c: Likewise.
13913 * posix/tst-rfc3484-2.c: Likewise.
13914 * posix/tst-rfc3484-3.c: Likewise.
13915 * posix/tst-rfc3484.c: Likewise.
13916 * resolv/nss_dns/dns-canon.c: Likewise.
13917 * resolv/nss_dns/dns-network.c: Likewise.
13918 * resolv/res_init.c: Likewise.
13919 * resolv/res_mkquery.c: Likewise.
13920 * resolv/tst-aton.c: Likewise.
13921 * stdlib/cxa_atexit.c: Likewise.
13922 * stdlib/cxa_finalize.c: Likewise.
13923 * stdlib/gen-fpioconst.c: Likewise.
13924 * stdlib/strtol_l.c: Likewise.
13925 * string/tst-endian.c: Likewise.
13926 * sunrpc/auth_des.c: Likewise.
13927 * sunrpc/clnt_udp.c: Likewise.
13928 * sunrpc/rtime.c: Likewise.
13929 * sunrpc/svcauth_des.c: Likewise.
13930 * sunrpc/xdr.c: Likewise.
13931 * sunrpc/xdr_intXX_t.c: Likewise.
13932 * sunrpc/xdr_rec.c: Likewise.
13933 * sysdeps/generic/ldconfig.h: Likewise.
13934 * sysdeps/generic/ldsodefs.h: Likewise.
13935 * sysdeps/generic/memusage.h: Likewise.
13936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13946 * sysdeps/posix/getaddrinfo.c: Likewise.
13947 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13948 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13949 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13950 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13951 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13952 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13953 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13954 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13955 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13957 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13958 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13959 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13960 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13961 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13962 * sysdeps/x86_64/dl-tls.h: Likewise.
13963 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13964 * time/alt_digit.c: Likewise.
13965 * time/era.c: Likewise.
13966 * wcsmbs/tst-c16c32-1.c: Likewise.
13967
8c75f674
JM
139682013-05-16 Joseph Myers <joseph@codesourcery.com>
13969
13970 * math/libm-test.inc (struct test_sincos_data): New type.
13971 (RUN_TEST_LOOP_sincos): New macro.
13972 (sincos_test_data): New variable.
13973 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13974
e6e49e59
RH
139752013-05-16 Richard Henderson <rth@redhat.com>
13976
13977 * math/atest-exp2.c (LIMB64): New macro.
13978 (CONSTSZ): New macro.
13979 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13980 (hexdig): Move ...
13981 (print_mpn_fp): ... to function scope.
13982 (read_mpn_hex): Remove.
13983 (get_log2): Remove.
13984 (exp2_mpn): Use mp_log2.
13985 (main): Use mp_exp1.
13986
15c7c18d
JM
139872013-05-16 Joseph Myers <joseph@codesourcery.com>
13988
105a07df
JM
13989 * math/libm-test.inc: Remove comment about not testing "inexact"
13990 exceptions.
13991 (INEXACT_EXCEPTION): New macro.
13992 (NO_INEXACT_EXCEPTION): Likewise.
13993 (INVALID_EXCEPTION_OK): Update value.
13994 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13995 (OVERFLOW_EXCEPTION_OK): Likewise.
13996 (UNDERFLOW_EXCEPTION_OK): Likewise.
13997 (IGNORE_ZERO_INF_SIGN): Likewise.
13998 (ERRNO_UNCHANGED): Likewise.
13999 (ERRNO_EDOM): Likewise.
14000 (ERRNO_ERANGE): Likewise.
14001 (test_exceptions): Handle testing "inexact" exceptions.
14002 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14003 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14004 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14005 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14006 INEXACT_EXCEPTION.
14007 (rint_towardzero_test_data): Likewise.
14008 (rint_downward_test_data): Likewise.
14009 (rint_upward_test_data): Likewise.
14010
e9eee333
JM
14011 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14012 with OVERFLOW_EXCEPTION.
14013 (exp10_test_data): Likewise.
14014 (exp2_test_data): Likewise.
14015 (expm1_test_data): Likewise.
14016 (lgamma_test_data): Likewise.
14017 (pow_test_data): Likewise.
14018 (tgamma_test_data): Likewise.
14019 (yn_test_data): Remove duplicate test of overflow.
14020
1c38ff73
JM
14021 * math/libm-test.inc (struct test_cc_c_data): New type.
14022 (RUN_TEST_LOOP_cc_c): New macro.
14023 (cpow_test_data): New variable.
14024 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14025
15c7c18d
JM
14026 * math/libm-test.inc (struct test_f_L_data): New type.
14027 (RUN_TEST_LOOP_f_L): New macro.
14028 (llrint_test_data): New variable.
14029 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14030 (llrint_tonearest_test_data): New variable.
14031 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14032 (llrint_towardzero_test_data): New variable.
14033 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14034 (llrint_downward_test_data): New variable.
14035 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14036 (llrint_upward_test_data): New variable.
14037 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14038 (llround_test_data): New variable.
14039 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14040
f137ff13
PC
140412013-05-13 Peter Collingbourne <pcc@google.com>
14042
14043 * math/atest-exp2.c (get_log2): Remove const attribute.
14044
3608cb24
JM
140452013-05-15 Joseph Myers <joseph@codesourcery.com>
14046
14047 * math/libm-test.inc (struct test_f_l_data): New type.
14048 (RUN_TEST_LOOP_f_l): New macro.
14049 (lrint_test_data): New variable.
14050 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14051 (lrint_tonearest_test_data): New variable.
14052 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14053 (lrint_towardzero_test_data): New variable.
14054 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14055 (lrint_downward_test_data): New variable.
14056 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14057 (lrint_upward_test_data): New variable.
14058 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14059 (lround_test_data): New variable.
14060 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14061
39b1f617
PC
140622013-05-15 Peter Collingbourne <pcc@google.com>
14063
1deff3dc
PC
14064 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14065 (EXTRACT_WORDS64) Use where appropriate.
14066 (INSERT_WORDS64) Likewise.
14067
791f3ba0
PC
14068 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14069 constraints with x constraints.
14070 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14071
39b1f617
PC
14072 * malloc/obstack.c (_obstack_compat): Add initializer.
14073
12fba011
EM
140742013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14075
14076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14077 si_trapno and add si_addr_lsb to _sifields.sigfault.
14078 (si_trapno): Remove macro.
14079 (si_addr_lsb): Define new macro.
14080 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14081
d369f531
JM
140822013-05-15 Joseph Myers <joseph@codesourcery.com>
14083
b861c6c4
JM
14084 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14085 instead of TEST_f_l.
14086 (llrint_test_tonearest): Likewise.
14087 (llrint_test_towardzero): Likewise.
14088 (llrint_test_downward): Likewise.
14089 (llrint_test_upward): Likewise.
14090 (llround_test): Likewise.
14091
7abeee12
JM
14092 * math/libm-test.inc (struct test_f_i_data): Add comment.
14093 (RUN_TEST_LOOP_f_b): New macro.
14094 (RUN_TEST_LOOP_f_b_tg): Likewise.
14095 (finite_test_data): New variable.
14096 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14097 (isfinite_test_data): New variable.
14098 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14099 (isinf_test_data): New variable.
14100 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14101 (isnan_test_data): New variable.
14102 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14103 (isnormal_test_data): New variable.
14104 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14105 (issignaling_test_data): New variable.
14106 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14107 (signbit_test_data): New variable.
14108 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14109
cbe8c4d3
JM
14110 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14111 with INVALID_EXCEPTION.
14112 (acosh_test_data): Likewise.
14113 (asin_test_data): Likewise.
14114 (atanh_test_data): Likewise.
14115 (fmod_test_data): Likewise.
14116 (log_test_data): Likewise.
14117 (log10_test_data): Likewise.
14118 (log2_test_data): Likewise.
14119 (pow_test_data): Likewise.
14120 (sqrt_test_data): Likewise.
14121 (y0_test_data): Likewise.
14122 (y1_test_data): Likewise.
14123 (yn_test_data): Likewise.
14124
5575c0e5
JM
14125 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14126 function contents.
14127
d369f531
JM
14128 * math/libm-test.inc (struct test_ff_i_data): New type.
14129 (RUN_TEST_LOOP_ff_i_tg): New macro.
14130 (isgreater_test_data): New variable.
14131 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14132 (isgreaterequal_test_data): New variable.
14133 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14134 (isless_test_data): New variable.
14135 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14136 (islessequal_test_data): New variable.
14137 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14138 (islessgreater_test_data): New variable.
14139 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14140 (isunordered_test_data): New variable.
14141 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14142
781fd748
DM
141432013-05-14 David S. Miller <davem@davemloft.net>
14144
14145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14146
87aa21df
JM
141472013-05-14 Joseph Myers <joseph@codesourcery.com>
14148
5e908270
JM
14149 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14150
f71172e5
JM
14151 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14152 extra_test to int.
14153 (struct test_f_i_data): Change type of max_ulp to int.
14154
8cfa635a
JM
14155 * math/libm-test.inc (test_ffI_f1_data): New type.
14156 (RUN_TEST_LOOP_ffI_f1): New macro.
14157 (remquo_test_data): New variable.
14158 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14159
2bcb36b2
JM
14160 * setjmp/tst-setjmp-fp.c: New file.
14161 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14162 (link-libm): New variable.
14163 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14164
acbd839a
JM
14165 * math/libm-test.inc (struct test_f_i_data): New type.
14166 (RUN_TEST_LOOP_f_i): New macro.
14167 (RUN_TEST_LOOP_f_i_tg): Likewise.
14168 (fpclassify_test_data): New variable.
14169 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14170 (ilogb_test_data): New variable.
14171 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14172
e414d745
JM
14173 * math/libm-test.inc (scalbln_test): Correct function name in END
14174 call.
14175
d9c2a0fd
JM
14176 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14177 (RUN_TEST_LOOP_fI_f1): New macro.
14178 (frexp_test_data): New variable.
14179 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14180
9dc9095d
JM
14181 * math/libm-test.inc (struct test_fF_f1_data): New type.
14182 (RUN_TEST_LOOP_fF_f1): New macro.
14183 (modf_test_data): New variable.
14184 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14185
87aa21df
JM
14186 * math/libm-test.inc (struct test_f_f1_data): New type.
14187 (RUN_TEST_LOOP_f_f1): New macro.
14188 (gamma_test_data): New variable.
14189 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14190 (lgamma_test_data): New variable.
14191 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14192
141af660
CD
141932013-05-13 Carlos O'Donell <carlos@redhat.com>
14194
14195 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14196 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14197 (main): Comment "tls" pseudo-hwcap.
14198
6d33265c
JM
141992013-05-13 Joseph Myers <joseph@codesourcery.com>
14200
68fc074c
JM
14201 * math/libm-test.inc (struct test_fl_f_data): New type.
14202 (RUN_TEST_LOOP_fl_f): New variable.
14203 (scalbln_test_data): New variable.
14204 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14205
243216e1
JM
14206 * math/libm-test.inc (struct test_fi_f_data): New type.
14207 (RUN_TEST_LOOP_fi_f): New macro.
14208 (ldexp_test_data): New variable.
14209 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14210 (scalbn_test_data): New variable.
14211 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14212
6a1992e2
JM
14213 * math/libm-test.inc (struct test_c_f_data): New type.
14214 (RUN_TEST_LOOP_c_f): New macro.
14215 (cabs_test_data): New variable.
14216 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14217 (carg_test_data): New variable.
14218 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14219 (cimag_test_data): New variable.
14220 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14221 (creal_test_data): New variable.
14222 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14223
0e400df5
JM
14224 * math/libm-test.inc (struct test_if_f_data): New type.
14225 (RUN_TEST_LOOP_if_f): New macro.
14226 (jn_test_data): New variable.
14227 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14228 (yn_test_data): New variable.
14229 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14230
6d33265c
JM
14231 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14232
f98ece5f
AZ
142332013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14234
14235 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14236 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14237
0f7d347b
SP
142382013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14239
43fe811b
SP
14240 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14241 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14242 (bench-deps): Add bench-timing.h.
14243 * benchtests-bench-skeleton.c: Include bench-timing.h.
14244 (main): Use TIMING_* macros instead of clock_gettime.
14245 * benchtests/bench-timing.h: New file.
14246
0f7d347b
SP
14247 [BZ #14582]
14248 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14249 Renamed from _LIB_VERSION.
14250 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14251
601a3a5f
JM
142522013-05-12 Joseph Myers <joseph@codesourcery.com>
14253
4f184d30
JM
14254 * math/libm-test.inc (struct test_fff_f_data): New type.
14255 (RUN_TEST_LOOP_fff_f): New macro.
14256 (fma_test_data): New variable.
14257 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14258 (fma_towardzero_test_data): New variable.
14259 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14260 (fma_downward_test_data): New variable.
14261 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14262 (fma_upward_test_data): New variable.
14263 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14264
08198877
JM
14265 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14266 (struct test_c_c_data): New type.
14267 (RUN_TEST_LOOP_c_c): New macro.
14268 (cacos_test_data): New variable.
14269 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14270 (cacosh_test_data): New variable.
14271 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14272 (casin_test_data): New variable.
14273 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14274 (casinh_test_data): New variable.
14275 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14276 (catan_test_data): New variable.
14277 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14278 (catanh_test_data): New variable.
14279 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14280 (ccos_test_data): New variable.
14281 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14282 (ccosh_test_data): New variable.
14283 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14284 (cexp_test_data): New variable.
14285 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14286 (clog_test_data): New variable.
14287 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14288 (clog10_test_data): New variable.
14289 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14290 (conj_test_data): New variable.
14291 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14292 (cproj_test_data): New variable.
14293 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14294 (csin_test_data): New variable.
14295 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14296 (csinh_test_data): New variable.
14297 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14298 (csqrt_test_data): New variable.
14299 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14300 (ctan_test_data): New variable.
14301 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14302 (ctan_tonearest_test_data): New variable.
14303 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14304 (ctan_towardzero_test_data): New variable.
14305 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14306 (ctan_downward_test_data): New variable.
14307 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14308 (ctan_upward_test_data): New variable.
14309 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14310 (ctanh_test_data): New variable.
14311 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14312 (ctanh_tonearest_test_data): New variable.
14313 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14314 (ctanh_towardzero_test_data): New variable.
14315 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14316 (ctanh_downward_test_data): New variable.
14317 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14318 (ctanh_upward_test_data): New variable.
14319 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14320 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14321 of BUILD_COMPLEX.
14322
601a3a5f
JM
14323 * math/libm-test.inc (struct test_ff_f_data): New type.
14324 (struct test_ff_f_data_nexttoward): Likewise.
14325 (RUN_TEST_LOOP_2_f): New macro.
14326 (RUN_TEST_LOOP_ff_f): Likewise.
14327 (atan2_test_data): New variable.
14328 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14329 (copysign_test_data): New variable.
14330 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14331 (fdim_test_data): New variable.
14332 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14333 (fmax_test_data): New variable.
14334 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14335 (fmin_test_data): New variable.
14336 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14337 (fmod_test_data): New variable.
14338 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14339 (hypot_test_data): New variable.
14340 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14341 (nextafter_test_data): New variable.
14342 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14343 (nexttoward_test_data): New variable.
14344 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14345 (pow_test_data): New variable.
14346 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14347 (pow_tonearest_test_data): New variable.
14348 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14349 (pow_towardzero_test_data): New variable.
14350 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14351 (pow_downward_test_data): New variable.
14352 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14353 (pow_upward_test_data): New variable.
14354 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14355 (remainder_test_data): New variable.
14356 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14357 (scalb_test_data): New variable.
14358 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14359 * sysdeps/i386/fpu/libm-test-ulps: Update.
14360
74c57478
JM
143612013-05-11 Joseph Myers <joseph@codesourcery.com>
14362
8329e4da
JM
14363 * math/libm-test.inc (fma_test): Use max_value instead of local
14364 variable fltmax.
14365 (nextafter_test): Likewise.
14366
74c57478
JM
14367 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14368 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14369 (acos_downward_test_data): New variable.
14370 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14371 (acos_upward_test_data): New variable.
14372 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14373 (acosh_test_data): New variable.
14374 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14375 (asin_test_data): New variable.
14376 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14377 (asin_tonearest_test_data): New variable.
14378 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14379 (asin_towardzero_test_data): New variable.
14380 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14381 (asin_downward_test_data): New variable.
14382 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14383 (asin_upward_test_data): New variable.
14384 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14385 (asinh_test_data): New variable.
14386 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14387 (atan_test_data): New variable.
14388 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14389 (atanh_test_data): New variable.
14390 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14391 (cbrt_test_data): New variable.
14392 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14393 (ceil_test_data): New variable.
14394 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14395 (cos_test_data): New variable.
14396 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14397 (cos_tonearest_test_data): New variable.
14398 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14399 (cos_towardzero_test_data): New variable.
14400 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14401 (cos_downward_test_data): New variable.
14402 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14403 (cos_upward_test_data): New variable.
14404 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14405 (cosh_test_data): New variable.
14406 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14407 (cosh_tonearest_test_data): New variable.
14408 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14409 (cosh_towardzero_test_data): New variable.
14410 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14411 (cosh_downward_test_data): New variable.
14412 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14413 (cosh_upward_test_data): New variable.
14414 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14415 (erf_test_data): New variable.
14416 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14417 (erfc_test_data): New variable.
14418 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14419 (exp_test_data): New variable.
14420 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14421 (exp_tonearest_test_data): New variable.
14422 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14423 (exp_towardzero_test_data): New variable.
14424 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14425 (exp_downward_test_data): New variable.
14426 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14427 (exp_upward_test_data): New variable.
14428 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14429 (exp10_test_data): New variable.
14430 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14431 (exp2_test_data): New variable.
14432 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14433 (expm1_test_data): New variable.
14434 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14435 (fabs_test_data): New variable.
14436 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14437 (floor_test_data): New variable.
14438 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14439 (j0_test_data): New variable.
14440 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14441 (j1_test_data): New variable.
14442 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14443 (log_test_data): New variable.
14444 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14445 (log10_test_data): New variable.
14446 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14447 (log1p_test_data): New variable.
14448 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14449 (log2_test_data): New variable.
14450 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14451 (logb_test_data): New variable.
14452 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14453 (logb_downward_test_data): New variable.
14454 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14455 (nearbyint_test_data): New variable.
14456 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14457 (rint_test_data): New variable.
14458 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14459 (rint_tonearest_test_data): New variable.
14460 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14461 (rint_towardzero_test_data): New variable.
14462 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14463 (rint_downward_test_data): New variable.
14464 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14465 (rint_upward_test_data): New variable.
14466 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14467 (round_test_data): New variable.
14468 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14469 (sin_test_data): New variable.
14470 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14471 (sin_tonearest_test_data): New variable.
14472 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14473 (sin_towardzero_test_data): New variable.
14474 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14475 (sin_downward_test_data): New variable.
14476 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14477 (sin_upward_test_data): New variable.
14478 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14479 (sinh_test_data): New variable.
14480 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14481 (sinh_tonearest_test_data): New variable.
14482 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14483 (sinh_towardzero_test_data): New variable.
14484 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14485 (sinh_downward_test_data): New variable.
14486 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14487 (sinh_upward_test_data): New variable.
14488 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14489 (sqrt_test_data): New variable.
14490 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14491 (tan_test_data): New variable.
14492 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14493 (tan_tonearest_test_data): New variable.
14494 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14495 (tan_towardzero_test_data): New variable.
14496 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14497 (tan_downward_test_data): New variable.
14498 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14499 (tan_upward_test_data): New variable.
14500 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14501 (tanh_test_data): New variable.
14502 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14503 (tgamma_test_data): New variable.
14504 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14505 (trunc_test_data): New variable.
14506 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14507 (y0_test_data): New variable.
14508 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14509 (y1_test_data): New variable.
14510 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14511 (significand_test_data): New variable.
14512 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14513
7187d844
CG
145142013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14515
14516 [BZ #12387]
14517 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14518
f63fae73
PT
145192013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14520
14521 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14522
8a67a4b3
AJ
145232013-05-10 Andreas Jaeger <aj@suse.de>
14524
14525 [BZ #15448]
14526 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14527 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14528
51df539d
JM
145292013-05-10 Joseph Myers <joseph@codesourcery.com>
14530
14531 * math/gen-libm-test.pl (adjust_arg): New function.
14532 (special_functions): Handle generating output in both functions
14533 and arrays.
14534 (parse_args): Likewise.
14535 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14536 $in_func argument to parse_args.
14537 * math/libm-test.inc (struct test_f_f_data): New type.
14538 (IF_ROUND_INIT_): New macro.
14539 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14540 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14541 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14542 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14543 (ROUND_RESTORE_): Likewise.
14544 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14545 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14546 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14547 (ROUND_RESTORE_FE_UPWARD): Likewise.
14548 (RUN_TEST_LOOP_f_f): New macro.
14549 (acos_test_data): New variable.
14550 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14551 (acos_tonearest_test_data): New variable.
14552 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14553
5c637fe5
SP
145542013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14555
14556 * benchtests/bench-skeleton.c (startup): Fix coding style.
14557
ab2b9461
JM
145582013-05-10 Joseph Myers <joseph@codesourcery.com>
14559
14560 [BZ #6809]
14561 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14562 negative infinity argument.
14563 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14564 negative infinity argument.
14565 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14566 negative infinity argument.
14567 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14568 domain errors.
14569
4c0fe6fe
FW
145702013-05-10 Florian Weimer <fweimer@redhat.com>
14571
14572 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14573 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14574 * iconv/iconv_prog.c (main): Likewise.
14575 * locale/programs/charmap-dir.c (charmap_readdir)
14576 (fopen_uncompressed): Likewise.
14577 * locale/programs/locfile.c (siblings_uncached)
14578 (write_locale_data): Use lstat64 instead of lstat.
14579 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14580 stat.
14581
a3375d29
AJ
145822013-05-10 Andreas Jaeger <aj@suse.de>
14583
14584 [BZ #15395]
14585 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14586 localization.
14587 Include <locale.h>.
14588
36129722
CD
145892013-05-09 Carlos O'Donell <carlos@redhat.com>
14590
14591 * elf/dl-close.c (_dl_close_worker): Add comments.
14592
faa7f811
JM
145932013-05-09 Joseph Myers <joseph@codesourcery.com>
14594
ed41ffef
JM
14595 [BZ #15359]
14596 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14597 high part of pi/2.
14598 (__ieee754_rem_pio2l): Update comments.
14599
d0213cd0
JM
14600 [BZ #15429]
14601 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14602 high part of pi/2.
14603 (__ieee754_rem_pio2l): Update comments.
14604
0d3e777a
JM
14605 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14606 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14607
24f56066
JM
14608 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14609 M_PI_4l.
14610
faa7f811
JM
14611 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14612 (M_PI_34_LOG10El): Likewise.
14613 (M_PI2_LOG10El): Likewise.
14614 (M_PI4_LOG10El): Likewise.
14615 (M_PI_LOG10El): Likewise.
14616
e9a5e0fd
AZ
146172013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14618
14619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14620
d8cd06db
JM
146212013-05-08 Joseph Myers <joseph@codesourcery.com>
14622
a0d9f9d7
JM
14623 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14624 (MINUS_ZERO_INIT): Likewise.
14625 (PLUS_INFTY_INIT): Likewise.
14626 (MINUS_INFTY_INIT): Likewise.
14627 (QNAN_VALUE_INIT): Likewise.
14628 (MAX_VALUE_INIT): Likewise.
14629 (MIN_VALUE_INIT): Likewise.
14630 (MIN_SUBNORM_VALUE_INIT): Likewise.
14631 (plus_zero): Initialize with PLUS_ZERO_INIT.
14632 (minus_zero): Initialize with MINUS_ZERO_INIT.
14633 (plus_infty): Initialize with PLUS_INFTY_INIT.
14634 (minus_infty): Initialize with MINUS_INFTY_INIT.
14635 (qnan_value): Initialize with QNAN_VALUE_INIT.
14636 (max_value): Initialize with MAX_VALUE_INIT.
14637 (min_value): Initialize with MIN_VALUE_INIT.
14638 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14639
ae08db3b
JM
14640 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14641 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14642 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14643 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14644
f44bf14a
JM
14645 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14646 (RUN_TEST_2_f): Likewise.
14647 (RUN_TEST_ff_f): Likewise.
14648 (RUN_TEST_fi_f): Likewise.
14649 (RUN_TEST_fl_f): Likewise.
14650 (RUN_TEST_fff_f): Likewise.
14651 (RUN_TEST_c_f): Likewise.
14652 (RUN_TEST_f_f1): Likewise.
14653 (RUN_TEST_fF_f1): Likewise.
14654 (RUN_TEST_fI_f1): Likewise.
14655 (RUN_TEST_ffI_f1): Likewise.
14656 (RUN_TEST_c_c): Likewise.
14657 (RUN_TEST_cc_c): Likewise.
14658 (RUN_TEST_f_i): Likewise.
14659 (RUN_TEST_f_i_tg): Likewise.
14660 (RUN_TEST_ff_i_tg): Likewise.
14661 (RUN_TEST_f_b): Likewise.
14662 (RUN_TEST_f_b_tg): Likewise.
14663 (RUN_TEST_f_l): Likewise.
14664 (RUN_TEST_f_L): Likewise.
14665 (RUN_TEST_sincos): Likewise.
14666 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14667 whether to show exceptions. Do not include ");\n" in return
14668 value.
14669 (special_functions): Output call to RUN_TEST_sincos instead of
14670 check_float calls. Update calls to new_test.
14671 (parse_args): Output call to single RUN_TEST_* macro instead of
14672 check_* calls and other assignments. Update calls to new_test.
14673
d8cd06db
JM
14674 [BZ #2546]
14675 [BZ #2560]
14676 [BZ #5159]
14677 [BZ #15426]
14678 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14679 input to result for tgamma overflow.
14680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14681 (gamma_coeff): New variable.
14682 (NCOEFF): New macro.
14683 (gamma_positive): New function.
14684 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14685 underflow here. Use gamma_positive instead of exp (lgamma) for
14686 other arguments.
14687 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14688 (gamma_coeff): New variable.
14689 (NCOEFF): New macro.
14690 (gammaf_positive): New function.
14691 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14692 underflow here. Use gamma_positive instead of exp (lgamma) for
14693 other arguments.
14694 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14695 (gamma_coeff): New variable.
14696 (NCOEFF): New macro.
14697 (gammal_positive): New function.
14698 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14699 underflow here. Use gamma_positive instead of exp (lgamma) for
14700 other arguments.
14701 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14702 (gamma_coeff): New variable.
14703 (NCOEFF): New macro.
14704 (gammal_positive): New function.
14705 (__ieee754_gammal_r): Handle positive infinity, overflow and
14706 underflow here. Handle NaN the same as positive infinity. Remove
14707 check x < 0xffffffff for negative integers. Use gamma_positive
14708 instead of exp (lgamma) for other arguments.
14709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14710 (gamma_coeff): New variable.
14711 (NCOEFF): New macro.
14712 (gammal_positive): New function.
14713 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14714 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14718 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14719 * sysdeps/generic/math_private.h (__gamma_productf): New
14720 prototype.
14721 (__gamma_product): Likewise.
14722 (__gamma_productl): Likewise.
14723 * math/Makefile (libm-calls): Add gamma_product.
14724 * math/libm-test.inc (tgamma_test): Add more tests.
14725 * sysdeps/i386/fpu/libm-test-ulps: Update.
14726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14727
bb7cf681
OB
147282013-05-08 Ondřej Bílka <neleai@seznam.cz>
14729
14730 * benchtests/bench-skeleton.c (main): Preheat CPU.
14731
ba853947
AJ
147322013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14733
14734 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14735
8347c74c
RM
147362013-05-07 Roland McGrath <roland@hack.frob.com>
14737
14738 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14739 and _dl_skip_args_internal.
14740
e8dd4791
CD
147412013-05-07 Carlos O'Donell <carlos@redhat.com>
14742
14743 * manual/message.texi (Message Translation): Talk about users.
14744 Message to key mapping impacts design.
14745
c7405830
RM
147462013-05-06 Roland McGrath <roland@hack.frob.com>
14747
a9173057
RM
14748 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14749
976e2f03
RM
14750 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14751
9723ffc5
RM
14752 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14753 * sysdeps/wordsize-64/glob64.c: ... here.
14754
962e6658
RM
14755 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14756 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14757 New macros.
14758
ee586a6d
RM
14759 * debug/getlogin_r_chk.c: Moved to ...
14760 * login/getlogin_r_chk.c: ... here.
14761 * debug/Makefile (routines): Move getlogin_r_chk to ...
14762 * login/Makefile (routines): ... here.
14763 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14764 * login/Versions (libc: GLIBC_2.4): ... here.
14765
355f9165
RM
14766 * io/poll.c (__poll): Renamed from poll.
14767 Add libc_hidden_def.
14768 (poll): Define as weak alias.
14769
bd9ffde6
RM
14770 * debug/ptsname_r_chk.c: Moved to ...
14771 * login/ptsname_r_chk.c: ... here.
14772 * debug/Makefile (routines): Move ptsname_r_chk to ...
14773 * login/Makefile (routines): ... here.
14774 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14775 * login/Versions (libc: GLIBC_2.4): ... here.
14776
8fb16a04
RM
14777 * posix/getlogin.c: Moved to ...
14778 * login/getlogin.c: ... here.
14779 * posix/getlogin_r.c: Moved to ...
14780 * login/getlogin_r.c: ... here.
14781 * posix/getlogin_r.c: Moved to ...
14782 * login/getlogin_r.c: ... here.
14783 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14784 * login/Makefile (routines): ... here.
14785 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14786 * login/Versions (libc: GLIBC_2.0): ... here.
14787
b99b892f
RM
14788 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14789 (setrlimit): Define as weak alias.
14790
c7405830
RM
14791 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14792 Call __ names for open, ftruncate, and close.
14793 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14794 (truncate): Define as weak alias.
14795
5bf96de5
JM
147962013-05-06 Joseph Myers <joseph@codesourcery.com>
14797
9ea3513c
JM
14798 * math/gen-libm-test.pl (parse_args): Initialize x before each
14799 test of frexp, modf and remquo.
14800
5bf96de5
JM
14801 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14802 test signgam value.
14803
16e616a7
AZ
148042013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14805
14806 [BZ #15418]
14807 [BZ #15419]
14808 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14809 internal tests.
14810 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14811
d5e82754
RM
148122013-05-06 Roland McGrath <roland@hack.frob.com>
14813
14814 * elf/dl-writev.h: New file.
14815 * elf/dl-misc.c: Include it.
14816 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14817 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14818
a7548d41
JM
148192013-05-04 Joseph Myers <joseph@codesourcery.com>
14820
b7dab1e4
JM
14821 * math/libm-test.inc (noXFails): Remove variable.
14822 (noXPasses): Likewise.
14823 (BUILD_COMPLEX_INT): Remove macro.
14824 (print_screen): Remove xfail argument.
14825 (print_screen_max_error): Likewise.
14826 (update_stats): Likewise.
14827 (print_max_error): Likewise. Update calls to other affected
14828 functions.
14829 (print_complex_max_error): Likewise.
14830 (test_single_exception): Update calls to print_screen.
14831 (test_single_errno): Likewise.
14832 (check_float_internal): Remove xfail argument. Update calls to
14833 other affected functions.
14834 (check_float): Likewise.
14835 (check_complex): Likewise.
14836 (check_int): Likewise.
14837 (check_long): Likewise.
14838 (check_bool): Likewise.
14839 (check_longlong): Likewise.
14840 (main): Don't print noXFails and noXPasses.
14841 * math/gen-libm-test.pl (top level): Don't mention expected
14842 failure handling in comment.
14843 (new_test): Don't handle expected failures.
14844 (parse_args): Don't mention expected failure handling in comment.
14845 (generate_testfile): Don't handle expected failures.
14846 (parse_ulps): Likewise.
14847 (print_ulps_file): Likewise.
14848 (get_failure): Remove function.
14849 (output_test): Don't handle expected failures.
14850 * make/README.libm-test: Don't mention expected failure handling.
14851
a7548d41
JM
14852 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14853 (minus_zero): Likewise.
14854 (plus_infty): Likewise.
14855 (minus_infty): Likewise.
14856 (qnan_value): Likewise.
14857 (max_value): Likewise.
14858 (min_value): Likewise.
14859 (min_subnorm_value): Likewise.
14860 (initialize): Do not initialize those variables dynamically.
14861
60bfd54c
RM
148622013-05-03 Roland McGrath <roland@hack.frob.com>
14863
cc0e6ed8
RM
14864 * io/open.c (__open_2): Moved to ...
14865 * io/open_2.c: ... this new file.
14866 * io/open64.c (__open64_2): Moved to ...
14867 * io/open64_2.c: ... this new file.
14868 * io/openat.c (__openat_2): Moved to ...
14869 * io/openat_2.c: ... this new file.
14870 * io/openat64.c (__openat64_2): Moved to ...
14871 * io/openat64_2.c: ... this new file.
14872 * io/Makefile (routines): Add them.
14873 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14874 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14875 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14876 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14877 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14878 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14879 (__openat64): Add hidden_ver.
14880 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14881 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14882
60bfd54c
RM
14883 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14884 Separately conditionalize setting of GLRO(dl_sysinfo) so
14885 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14886 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14887
83e7640f
AZ
148882013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14889
14890 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14892 definition.
14893 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14894 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14895 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14896 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14897 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14898
d5dc2af3
JM
148992013-05-03 Joseph Myers <joseph@codesourcery.com>
14900
c31a5b1e
JM
14901 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14902 test signgam value.
14903
d5dc2af3
JM
14904 * math/libm-test.inc (hypot_test): Do not use
14905 IGNORE_ZERO_INF_SIGN.
14906
164fd39d
AJ
149072013-05-03 Andreas Jaeger <aj@suse.de>
14908
14909 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14910 Linux 3.9.
14911 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14912 (PF_MAX): Adjust for VSOCK change.
14913
8237f48c
AZ
149142013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14915
14916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14917
9df02941
CD
149182013-05-02 Carlos O'Donell <carlos@redhat.com>
14919
14920 [BZ #15264]
14921 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14922 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14923 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14924
d422395e
DM
149252013-05-02 David S. Miller <davem@davemloft.net>
14926
14927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14928
a07c5731
OB
149292013-05-01 Ondřej Bílka <neleai@seznam.cz>
14930
14931 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14932
1324e37f
RM
149332013-05-01 Roland McGrath <roland@hack.frob.com>
14934
14935 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14936
0695940b
RS
149372013-05-01 Richard Smith <richard@metafoo.co.uk>
14938
bb5f27ad 14939 [BZ #14952]
0695940b
RS
14940 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14941 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14942 Use __attribute__ ((__gnu_inline__)).
14943 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14944 Don't use __attribute__ ((__gnu_inline__)).
14945
10de07f5
JM
149462013-05-01 Joseph Myers <joseph@codesourcery.com>
14947
14948 [BZ #15423]
14949 * math/s_catan.c (__catan): Handle small real or imaginary part of
14950 input specially to avoid spurious underflow.
14951 * math/s_catanf.c (__catanf): Likewise.
14952 * math/s_catanh.c (__catanh): Likewise.
14953 * math/s_catanhf.c (__catanhf): Likewise.
14954 * math/s_catanhl.c (__catanhl): Likewise.
14955 * math/s_catanl.c (__catanl): Likewise.
14956 * math/libm-test.inc (catan_test): Add more tests.
14957 (catanh_test): Likewise.
14958 * sysdeps/i386/fpu/libm-test-ulps: Update.
14959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14960
cb4d5414
AZ
149612013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14962
14963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14964
caf84319
JM
149652013-04-30 Joseph Myers <joseph@codesourcery.com>
14966
14967 [BZ #15416]
14968 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14969 accurately for denominator in atan2.
14970 * math/s_catanf.c (__catanf): Likewise.
14971 * math/s_catanh.c (__catanh): Likewise.
14972 * math/s_catanhf.c (__catanhf): Likewise.
14973 * math/s_catanhl.c (__catanhl): Likewise.
14974 * math/s_catanl.c (__catanl): Likewise.
14975 * math/libm-test.inc (catan_test): Add more tests.
14976 (catanh_test): Likewise.
14977 * sysdeps/i386/fpu/libm-test-ulps: Update.
14978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14979
d569c6ee
SP
149802013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14981
6dbe713d
SP
14982 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14983
f0ee064b
SP
14984 * benchtests/Makefile (bench): Remove slow benchmarks.
14985 * benchtests/atan-inputs: Add slow benchmark inputs.
14986 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14987 (BENCH_FUNC): Accept variant offset.
14988 (VARIANT): Define.
14989 * benchtests/bench-skeleton.c (main): Run benchmark for each
14990 variant.
14991 * benchtests/cos-inputs: Add slow benchmark inputs.
14992 * benchtests/exp-inputs: Likewise.
14993 * benchtests/pow-inputs: Likewise.
14994 * benchtests/sin-inputs: Likewise.
14995 * benchtests/slowatan-inputs: Remove.
14996 * benchtests/slowatan.c: Remove.
14997 * benchtests/slowcos-inputs: Remove.
14998 * benchtests/slowcos.c: Remove.
14999 * benchtests/slowexp-inputs: Remove.
15000 * benchtests/slowexp.c: Remove.
15001 * benchtests/slowpow-inputs: Remove.
15002 * benchtests/slowpow.c: Remove.
15003 * benchtests/slowsin-inputs: Remove.
15004 * benchtests/slowsin.c: Remove.
15005 * benchtests/slowtan-inputs: Remove.
15006 * benchtests/slowtan.c: Remove.
15007 * benchtests/tan-inputs: Add slow benchmark inputs.
15008 * scripts/bench.pl: Parse comments and directives.
15009
d569c6ee
SP
15010 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15011 in CPPFLAGS.
15012 ($(objpfx)bench-%.c): Remove *-ITER.
15013 * benchtests/bench-modf.c: Remove definition of ITER.
15014 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15015 (main): Loop for DURATION seconds instead of fixed number of
15016 iterations.
15017 * scripts/bench.pl: Don't expect iterations in parameters.
15018
a6a242fe
RM
150192013-04-29 Roland McGrath <roland@hack.frob.com>
15020
15021 * io/fchdir.c (__fchdir): Renamed from fchdir.
15022 (fchdir): Define as weak alias.
15023
f2da7793
JM
150242013-04-29 Joseph Myers <joseph@codesourcery.com>
15025
15026 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15027 (ERRNO_EDOM): Likewise.
15028 (ERRNO_ERANGE): Likewise.
15029 (noErrnoTests): New variable.
15030 (init_max_error): Set errno to 0.
15031 (test_single_errno): New function.
15032 (test_errno): Likewise.
15033 (check_float_internal): Call test_errno. Set errno to 0.
15034 (check_complex): Refer to errno tests in comment.
15035 (check_int): Call test_errno. Set errno to 0.
15036 (check_long): Likewise.
15037 (check_bool): Likewise.
15038 (check_longlong): Likewise.
15039 (cos_test): Use ERRNO_* flags for errno tests instead of
15040 check_int.
15041 (expm1_test): Likewise.
15042 (fmod_test): Likewise.
15043 (ilogb_test): Likewise.
15044 (lgamma_test): Likewise.
15045 (pow_test): Likewise.
15046 (remainder_test): Likewise.
15047 (sin_test): Likewise.
15048 (tan_test): Likewise.
15049 (yn_test): Likewise.
15050 (initialize): Set errno to 0.
15051 (main): Print number of errno tests.
15052 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15053
b1a36ceb
AJ
150542013-04-29 Andreas Jaeger <aj@suse.de>
15055
c3ed8088
AJ
15056 [BZ #15084]
15057 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15058 and RES_USEVC.
15059
f1a24198
AJ
15060 [BZ #15085]
15061 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15062 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15063 unimplemented.
15064
9ce3b2cb
AJ
15065 [BZ #15380]
15066 * stdlib/random.c (__initstate): Return NULL if
15067 __initstate fails.
15068
f1a24198 15069 [BZ #15086]
b1a36ceb
AJ
15070 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15071 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15072 RES_SNGLKUPREOP.
15073
7e7b6f36
AZ
150742013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15075
15076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15077
4d14f449
JM
150782013-04-29 Joseph Myers <joseph@codesourcery.com>
15079
15080 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15081 of individual tests.
15082 (casin_test): Likewise.
15083 (casinh_test): Likewise.
15084
5b4217d7
JM
150852013-04-27 Joseph Myers <joseph@codesourcery.com>
15086
15087 [BZ #15409]
15088 * math/s_catan.c (__catan): Handle arguments with large real or
15089 imaginary part separately without squaring.
15090 * math/s_catanf.c (__catanf): Likewise.
15091 * math/s_catanh.c (__catanh): Likewise.
15092 * math/s_catanhf.c (__catanhf): Likewise.
15093 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15094 and redefine.
15095 (__catanhl): Handle arguments with large real or imaginary part
15096 separately without squaring.
15097 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15098 and redefine.
15099 (__catanl): Handle arguments with large real or imaginary part
15100 separately without squaring.
15101 * math/libm-test.inc (catan_test): Add more tests.
15102 (catanh_test): Likewise.
15103 * sysdeps/i386/fpu/libm-test-ulps: Update.
15104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15105
4220c3ef
AJ
151062013-04-27 Andreas Jaeger <aj@suse.de>
15107
15108 [BZ #15007]
15109 * stdlib/stdlib.h: Update guards for qecvt.
15110 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15111 <stdlib.h>.
15112
4721b2d1
AM
151132013-04-27 Allan McRae <allan@archlinux.org>
15114
15115 * sysdeps/i386/fpu/libm-test-ulps: Update.
15116
f0302940
JM
151172013-04-26 Joseph Myers <joseph@codesourcery.com>
15118
9457fd95
JM
15119 [BZ #15406]
15120 * math/s_catan.c: Include <float.h>.
15121 (__catan): Ensure underflow exception occurs for underflowed
15122 result.
15123 * math/s_catanf.c: Include <float.h>.
15124 (__catanf): Ensure underflow exception occurs for underflowed
15125 result.
15126 * math/s_catanh.c: Include <float.h>.
15127 (__catanh): Ensure underflow exception occurs for underflowed
15128 result.
15129 * math/s_catanhf.c: Include <float.h>.
15130 (__catanhf): Ensure underflow exception occurs for underflowed
15131 result.
15132 * math/s_catanhl.c: Include <float.h>.
15133 (__catanhl): Ensure underflow exception occurs for underflowed
15134 result.
15135 * math/s_catanl.c: Include <float.h>.
15136 (__catanl): Ensure underflow exception occurs for underflowed
15137 result.
15138 * math/libm-test.inc (catan_test): Add more tests.
15139 (catanh_test): Likewise.
15140
f0302940
JM
15141 [BZ #15405]
15142 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15143 underflowed result.
15144 * math/s_ccoshf.c (__ccoshf): Likewise.
15145 * math/s_ccoshl.c (__ccoshl): Likewise.
15146 * math/s_csin.c (__csin): Likewise.
15147 * math/s_csinf.c (__csinf): Likewise.
15148 * math/s_csinh.c (__csinh): Likewise.
15149 * math/s_csinhf.c (__csinhf): Likewise.
15150 * math/s_csinhl.c (__csinhl): Likewise.
15151 * math/s_csinl.c (__csinl): Likewise.
15152 * math/libm-test.inc (ccos_test): Add more tests.
15153 (ccosh_test): Likewise.
15154 (csin_test): Likewise.
15155 (csinh_test): Likewise.
15156
aa630f59
AZ
151572013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15158
15159 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15160 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15161 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15162 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15163 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15164 powerpc/power5+/fpu folders.
15165 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15166
15167
1b835983
MT
151682013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15169
15170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15171
73709b26
JM
151722013-04-25 Joseph Myers <joseph@codesourcery.com>
15173
15174 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15175 additions to variable.
15176 [$(config-machine) = x86_64] (modules-names): Likewise.
15177 ($(objpfx)tst-audit3): Remove dependency.
15178 ($(objpfx)tst-audit3.out): Likewise.
15179 ($(objpfx)tst-audit4): Likewise.
15180 ($(objpfx)tst-audit4.out): Likewise.
15181 ($(objpfx)tst-audit5): Likewise.
15182 ($(objpfx)tst-audit5.out): Likewise.
15183 ($(objpfx)tst-audit6): Likewise.
15184 ($(objpfx)tst-audit6.out): Likewise.
15185 ($(objpfx)tst-audit7): Likewise.
15186 ($(objpfx)tst-audit7.out): Likewise.
15187 (tst-audit3-ENV): Remove variable.
15188 (tst-audit4-ENV): Likewise.
15189 (tst-audit5-ENV): Likewise.
15190 (tst-audit6-ENV): Likewise.
15191 (tst-audit7-ENV): Likewise.
15192 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15193 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15194 addition to variable.
15195 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15196 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15197 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15198 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15199 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15200 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15201 tst-audit3, tst-audit4 and tst-audit5.
15202 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15203 tst-audit6 and tst-audit7.
15204 [$(subdir) = elf] (modules-names): Add audit modules for those
15205 tests.
15206 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15207 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15208 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15209 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15210 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15211 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15212 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15213 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15214 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15215 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15216 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15217 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15218 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15219 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15220 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15221 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15222 Likewise.
15223 [$(subdir) = elf && $(config-cflags-avx) = yes]
15224 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15225 [$(subdir) = elf && $(config-cflags-avx) = yes]
15226 (CFLAGS-tst-auditmod4a.c): Likewise.
15227 [$(subdir) = elf && $(config-cflags-avx) = yes]
15228 (CFLAGS-tst-auditmod4b.c): Likewise.
15229 [$(subdir) = elf && $(config-cflags-avx) = yes]
15230 (CFLAGS-tst-auditmod6b.c): Likewise.
15231 [$(subdir) = elf && $(config-cflags-avx) = yes]
15232 (CFLAGS-tst-auditmod6c.c): Likewise.
15233 [$(subdir) = elf && $(config-cflags-avx) = yes]
15234 (CFLAGS-tst-auditmod7b.c): Likewise.
15235 * elf/tst-audit3.c: Move to ...
15236 * sysdeps/x86_64/tst-audit3.c: ... here.
15237 * elf/tst-audit4.c: Move to ...
15238 * sysdeps/x86_64/tst-audit4.c: ... here.
15239 * elf/tst-audit5.c: Move to ...
15240 * sysdeps/x86_64/tst-audit5.c: ... here.
15241 * elf/tst-audit6.c: Move to ...
15242 * sysdeps/x86_64/tst-audit6.c: ... here.
15243 * elf/tst-audit7.c: Move to ...
15244 * sysdeps/x86_64/tst-audit7.c: ... here.
15245 * elf/tst-auditmod3a.c: Move to ...
15246 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15247 * elf/tst-auditmod3b.c: Move to ...
15248 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15249 * elf/tst-auditmod4a.c: Move to ...
15250 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15251 * elf/tst-auditmod4b.c: Move to ...
15252 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15253 * elf/tst-auditmod5a.c: Move to ...
15254 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15255 * elf/tst-auditmod5b.c: Move to ...
15256 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15257 * elf/tst-auditmod6a.c: Move to ...
15258 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15259 * elf/tst-auditmod6b.c: Move to ...
15260 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15261 * elf/tst-auditmod6c.c: Move to ...
15262 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15263 * elf/tst-auditmod7a.c: Move to ...
15264 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15265 * elf/tst-auditmod7b.c: Move to ...
15266 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15267
1ef74943
PP
152682013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15269
15270 [BZ #15366]
15271 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15272 define unconditionally.
15273 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15274 define unconditionally.
15275 (INT8_C, INT16_C, etc.): Likewise.
15276
93fd48c5
MR
152772013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15278
ae9552cf
MR
15279 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15280 __ehdr_start with hidden visibility.
15281
93fd48c5
MR
15282 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15283
418601aa
CD
152842013-04-24 Carlos O'Donell <carlos@redhat.com>
15285
15286 * math/libm-test.inc (cos_test): Use accurate hex constants.
15287 (sincost_test): Likewise.
15288
2f38fbfe
JM
152892013-04-24 Joseph Myers <joseph@codesourcery.com>
15290
5e221800
JM
15291 * math/libm-test.inc (catan_test): Add more tests.
15292 (catanh_test): Likewise.
15293
77f143fd
JM
15294 * math/s_catanf.c (__catanf): Use suffixed floating-point
15295 constants.
15296 * math/s_catanhf.c (__catanhf): Likewise.
15297 * math/s_catanhl.c (__catanhl): Likewise.
15298 * math/s_catanl.c (__catanl): Likewise.
15299
2f38fbfe
JM
15300 [BZ #15394]
15301 * math/s_catan.c (__catan): Calculate imaginary part of result
15302 with log1p not log unless computing log of number close to 0.
15303 * math/s_catanf.c (__catanf): Likewise.
15304 * math/s_catanl.c (__catanl): Likewise.
15305 * math/s_catanh.c (__catanh): Calculate real part of result with
15306 log1p not log unless computing log of number close to 0.
15307 * math/s_catanhf.c (__catanhf): Likewise.
15308 * math/s_catanhl.c (__catanhl): Likewise.
15309 * math/libm-test.inc (catan_test): Add more tests.
15310 (catanh_test): Likewise.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15313
45d69176
SP
153142013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15315
15316 * benchtests/Makefile: Mention files in which fast and slow
15317 paths of math functions are implemented.
15318
87f51853
RM
153192013-04-23 Roland McGrath <roland@hack.frob.com>
15320
15321 * sysdeps/posix/timespec_get.c: New file.
15322
3c026539
AZ
153232013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15324
15325 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15326 POWER.
15327 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15328 for POWER.
15329 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15330 powerpc/power5/fpu folders.
15331 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15332 * benchtests/Makefile: Add modf testcase.
15333 * benchtests/bench-modf.c: New file: Benchmark test for mo
15334
ff491d14
SP
153352013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15336
15337 [BZ #14888]
15338 * time/Makefile (tests): Add tst-strptime-whitespace.
15339 * time/strptime_l.c (get_number): Use ISSPACE.
15340 (__strptime_internal): Likewise.
15341 * time/tst-strptime-whitespace.c: New test case.
15342
7ed3f4e8
AS
153432013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15344
15345 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15346 member.
15347 (_nss_files_init): Set it here.
15348
5c95f7b6
HC
153492013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15350
15351 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15352 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15353 unsigned.
15354
d34c9158
JBG
153552013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15356
15357 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15358
2169712d
SP
153592013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15360
15361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15362 size just once.
15363
29c5de99
DM
153642013-04-21 David S. Miller <davem@davemloft.net>
15365
15366 * po/ru.po: Update Russion translation from translation project.
15367
ccdad15d
AC
153682013-04-17 Adam Conrad <adconrad@0c3.net>
15369
15370 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15371 and setfsgid.
15372
0f122b8d
CD
153732013-04-17 Carlos O'Donell <carlos@redhat.com>
15374
5c5b07da 15375 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15376 * configure: Regenerate.
5c5b07da 15377 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15378 Add example to error message.
15379 * sysdeps/i386/configure: Regenerate.
15380
037714dd
SP
153812013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15382
15383 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15384 slowtan.
15385 * benchtests/cos-inputs: New file.
15386 * benchtests/slowcos-inputs: New file.
15387 * benchtests/slowcos.c: New file.
15388 * benchtests/slowtan-inputs: New file.
15389 * benchtests/slowtan.c: New file.
15390 * benchtests/tan-inputs: New file.
15391
e913141d
RM
153922013-04-16 Roland McGrath <roland@hack.frob.com>
15393
15394 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15395 considered kosher.
15396
a2964074
SP
153972013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15398
4856bcd2
SP
15399 * benchtests/Makefile: Include cppflags-iterator.mk to add
15400 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15401
a2964074
SP
15402 * Makefile.in (bench-clean): New target.
15403 * benchtests/Makefile (bench-clean): Likewise.
15404
9fbf9aca
DH
154052013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15406
15407 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15408
207d1e2a
TS
154092013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15410
15411 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15412
306dfba9
AS
154132013-04-15 Andreas Schwab <schwab@suse.de>
15414
15415 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15416 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15417 * nscd/pwdcache.c (cache_addpw): Likewise.
15418 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15419 more than recsize.
15420
206a6699
SP
154212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15422
15423 * benchtests/Makefile (bench): Write all output to
15424 bench-out.tmp together.
15425
0582f6b3
AS
154262013-04-15 Andreas Schwab <schwab@suse.de>
15427
15428 * nscd/nscd.c (main): Don't fork again after closing files.
15429
acb4325f
SP
154302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15431
5cb26d0a
SP
15432 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15433
acb4325f
SP
15434 * benchtests/Rules (bench-deps): Collect dependencies into a
15435 single variable. Add Makefile to dependencies.
15436 ($(objpfx)bench-%.c): Depend on bench-deps.
15437
47792506
RM
154382013-04-12 Roland McGrath <roland@hack.frob.com>
15439 Xavier Roche <roche+kml2@exalead.com>
15440
15441 [BZ #15361]
15442 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15443 just that it's a file descriptor.
15444 * manual/llio.texi (Synchronizing AIO Operations): Update description
15445 for EBADF error from aio_fsync.
15446
8fc1bee5
SP
154472013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15448
15449 * Rules (bench): Move target definition...
15450 * benchtests/Makefile: ... here.
15451
aba5e333
CD
154522013-04-11 Carlos O'Donell <carlos@redhat.com>
15453
15454 * math/libm-test.inc (cos_test): Fix PI/2 test.
15455 (sincos_test): Likewise.
15456 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15457 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15458
273cdee8
AS
154592013-04-11 Andreas Schwab <schwab@suse.de>
15460
6ecec3b6
AS
15461 [BZ #13988]
15462 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15463 accept exponent character only when digits were seen.
15464 * stdio-common/Makefile (tests): Add bug26.
15465 * stdio-common/bug26.c: New file.
15466
273cdee8
AS
15467 [BZ #14293]
15468 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15469 non-freeable.
15470
8da491f5
SP
154712013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15472
01dc6df9
SP
15473 * Makeconfig (rtld-prefix): Define built linker prefix.
15474 * Rules (run-bench): Use it.
15475 * math/Makefile (run-regen-ulps): Likewise.
15476
8da491f5
SP
15477 * Rules (bench): Remove eval.
15478
abe7f530
SP
154792013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15480 Roland McGrath <roland@hack.frob.com>
15481 Ondrej Bilka <neleai@seznam.cz>
15482
15483 [BZ #15346]
15484 * time/getdate.c: Include ctype.h and alloca.h.
15485 (__getdate_r): Trim leading and trailing spaces of input.
15486 * time/tst-getdate.c (tests): Add tests with leading and
15487 trailing spaces.
15488
61c23e62
RM
154892013-04-08 Roland McGrath <roland@hack.frob.com>
15490
15491 [BZ #14280]
15492 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15493 when computing value.
15494
7208a313
CD
154952013-04-06 Carlos O'Donell <carlos@redhat.com>
15496
085b2d41
CD
15497 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15498 Use testrun.sh to run libm tests.
15499
7208a313
CD
15500 [BZ #15309]
15501 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15502
872c0acd
MM
155032013-04-06 Marko Myllynen <myllynen@redhat.com>
15504
15505 [BZ #15264]
15506 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15507
26510bdd
CD
155082013-04-06 Carlos O'Donell <carlos@redhat.com>
15509
15510 * Makefile.in (regen-ulps): New target.
15511 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15512 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15513 [ifneq (no,$(PERL)] (regen-ulps): New target.
15514 [ifeq (no,$(PERL)] (regen-ulps): New target.
15515 * math/libm-test.inc (ulps_file_name): Define.
15516 (output_dir): New variable.
15517 (options): Add "output-dir" option.
15518 (parse_opt): Handle 'o' case.
15519 (main): If output_dir is non-NULL use it as a prefix
15520 otherwise use "".
15521 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15522
a01f19c8
CD
155232013-04-06 Carlos O'Donell <carlos@redhat.com>
15524
15525 [BZ #10060, #10062]
15526 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15527 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15528 fail configure if __sync_val_compare_and_swap is not inlined.
15529 * sysdeps/i386/configure: Regenerate.
15530 * configure.in: Build for i686 when configured for i386.
15531 * configure: Regenerate.
15532 * README: Remove i386 reference.
15533
b7a329a5
CD
155342013-04-06 Carlos O'Donell <carlos@redhat.com>
15535
15536 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15537 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15538
bf0f50df
TS
155392013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15540
ee091edf
TS
15541 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15542 (lmsnanval): New variables.
15543 (F): Add conversion tests.
15544 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15545 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15546
a8b792d6
TS
15547 * stdio-common/tstdiomisc.c (F): Properly collect individual
15548 tests' results.
15549
a1cbf437
TS
15550 [BZ #14686, #15336]
15551 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15552 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15553 Instead, use input NaN values or generate a qNaN by arithmetic
15554 operation. Also fix bugs to comply with the standard.
15555 * math/libm-test.inc (remainder_test): Add more tests.
15556
8b43a0c9
TS
15557 [BZ #15335, #15342]
15558 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15560 input NaN values or generate a qNaN by arithmetic operation.
15561
d91da4ce
TS
15562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15563 unreachable code.
15564
bf0f50df
TS
15565 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15566 definitions.
15567
05e166c8
JM
155682013-04-03 Joseph Myers <joseph@codesourcery.com>
15569
15570 [BZ #14478]
15571 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15572 underflowed result.
15573 * math/s_cexpf.c (__cexpf): Likewise.
15574 * math/s_cexpl.c (__cexpl): Likewise.
15575 * math/libm-test.inc (cexp_test): Add more tests.
15576
1cef1b19
AS
155772013-04-03 Andreas Schwab <schwab@suse.de>
15578
15579 [BZ #15330]
15580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15581 order arrays from heap if bigger than alloca cutoff.
15582
74d87055
TS
155832013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15584
15585 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15586 (SNAN_TESTS_double): Refer to GCC PR56831.
15587 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15588 GCC PR56828.
15589
d755bba4
SP
155902013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15591
90d5d5bb
SP
15592 * Rules (bench): Move bench.out after the run is complete.
15593
73e0cd5d
SP
15594 * Rules (bench): Echo currently running benchmark.
15595
64aabd4b
SP
15596 * benchtests/Makefile (bench): Add atan and slowatan.
15597 * benchtests/atan-inputs: New file.
15598 * benchtests/slowatan-inputs: New file.
15599 * benchtests/slowatan.c: New file.
15600
c871eccd
SP
15601 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15602 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15603 its value.
15604
d755bba4
SP
15605 [BZ #15305]
15606 * sysdeps/unix/sysv/linux/kernel-features.h
15607 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15608 __ASSUME_XFS_RESTRICTED_CHOWN.
15609 * sysdeps/unix/sysv/linux/pathconf.c
15610 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15611 Save and restore errno.
15612
52ce4860
JM
156132013-04-02 Joseph Myers <joseph@codesourcery.com>
15614
15615 [BZ #15327]
15616 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15617 arguments using __kernel_casinh.
15618 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15619 arguments using __kernel_casinhf.
15620 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15621 arguments using __kernel_casinhl.
15622 * math/libm-test.inc (cacosh_test): Add more tests.
15623 * sysdeps/i386/fpu/libm-test-ulps: Update.
15624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15625
81f311c2
SP
156262013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15627
e7906a47
SP
15628 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15630
92e3664b
SP
15631 * bench/Makefile (bench): Add sin and slowsin.
15632 * benchtests/sin-inputs: New file.
15633 * benchtests/slowsin-inputs: New file.
15634 * benchtests/slowsin.c: New file.
15635
81f311c2
SP
15636 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15637 (bench): Add slowexp and slowpow.
15638 (exp-ITER): Increase iterations.
15639 (pow-ITER): Likewise.
15640 * benchtests/exp-inputs: Change input.
15641 * benchtests/pow-inputs: Likewise.
15642 * benchtests/slowexp-inputs: New file.
15643 * benchtests/slowexp.c: New file.
15644 * benchtests/slowpow-inputs: New file.
15645 * benchtests/slowpow.c: New file.
15646
ab0f1aa9
AZ
156472013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15648
15649 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15650 instructions.
15651 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15652 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15653 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15654 * benchtests/Makefile: Add rint benchtest.
15655 * benchtests/rint-inputs: Input for rint benchtest.
15656
57267616
TS
156572013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15658
15659 * Versions.def (libm): Add GLIBC_2.18.
15660 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15661 hidden libm prototypes.
15662 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15663 * math/Makefile (libm-calls): Add s_issignaling.
15664 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15665 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15666 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15667 declaration.
15668 * math/math.h [__USE_GNU] (issignaling): New macro.
15669 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15670 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15672 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15675 * manual/arith.texi (issignaling): New section.
15676 * manual/libm-err-tab.pl (@all_functions): Update comment.
15677 * math/gen-libm-test.pl (parse_args): Apply special handling for
15678 issignaling.
15679 * math/libm-test.inc (print_float, issignaling_test): New
15680 functions.
15681 (check_float_internal): Add issignaling checks.
15682 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15683 default definition.
15684 * sysdeps/powerpc/math-tests.h: New file.
15685 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15686 tests.
15687 * math/test-snan.c (TEST_FUNC): Likewise.
15688
6142896d
DM
156892013-03-30 David S. Miller <davem@davemloft.net>
15690
15691 * po/de.po: Update from translation team.
15692
ccc8cadf
JM
156932013-03-30 Joseph Myers <joseph@codesourcery.com>
15694
15695 [BZ #10357]
15696 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15697 imaginary part less than 1.0 and real part less than 0.5
15698 specially.
15699 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15700 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15701 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15702 (cacos_test): Add more tests.
15703 (casin_test): Likewise.
15704 (casinh_test): Likewise.
15705 * sysdeps/i386/fpu/libm-test-ulps: Update.
15706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15707
0f6a8d4b
SP
157082013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15709
0d1029de
SP
15710 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15711 ONE with its value.
15712
c2d94018
SP
15713 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15714 (__pow_mp): Replace ONE and MONE with their values.
15715 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15716 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15717 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15718 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15719 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15720 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15721
27ec37f1
SP
15722 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15723
a64d7e0e
SP
15724 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15725 (__pow_mp): Replace ZERO and MZERO with their values.
15726 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15728 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15730 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15731 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15732 (__sqr): Likewise.
15733
d26dd3eb
SP
15734 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15735
0f6a8d4b
SP
15736 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15737
e57b0c61
RM
157382013-03-28 Roland McGrath <roland@hack.frob.com>
15739
15740 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15741 Declare with __attribute__ ((weak)).
15742 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15743 Call __call_tls_dtors only if it's not NULL.
15744
356b3480
RM
157452013-03-28 Roland McGrath <roland@hack.frob.com>
15746
288f7d79
RM
15747 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15748 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15749 magic __ehdr_start linker symbol if it's defined.
15750 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15751 them up here if it was already done.
15752
dc0a0263
RM
15753 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15754 (_dl_aux_init): Use const in cast when setting it.
15755 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15756 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15757 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15758
3d3436ae
RM
15759 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15760 Declare them here.
15761 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15762 * csu/libc-tls.c: Nor here.
15763 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15764
356b3480
RM
15765 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15766 (__libc_message): Never call vsyslog.
15767
b0f1246a
AM
157682013-03-28 Alan Modra <amodra@gmail.com>
15769
15770 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15771 Define as empty.
15772 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15773 Likewise.
15774
fbbe2b9a
AZ
157752013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15776
15777 [BZ #15214]
15778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15779 underflow.
15780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15781
1728ab37
SP
157822013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15783
7a86be6e
SP
15784 [BZ #15304]
15785 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15786 Don't add gid passed as argument.
15787
1728ab37
SP
15788 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15789
3a7182a1
JM
157902013-03-27 Joseph Myers <joseph@codesourcery.com>
15791
15792 [BZ #15307]
15793 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15794 imaginary part between 1.0 and 1.5 and real part less than 0.5
15795 specially.
15796 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15797 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15798 * math/libm-test.inc (cacos_test): Add more tests.
15799 (casin_test): Likewise.
15800 (casinh_test): Likewise.
15801 * sysdeps/i386/fpu/libm-test-ulps: Update.
15802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15803
6f2e90e7
SP
158042013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15805
5739f705
SP
15806 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15807 constants.
15808 (norm): Likewise.
15809 (denorm): Likewise.
15810 (__dbl_mp): Likewise.
15811 (add_magnitudes): Likewise.
15812 (sub_magnitudes): Likewise.
15813 (__add): Likewise.
15814 (__sub): Likewise.
15815 (__mul): Likewise.
15816 (__sqr): Likewise.
15817 (__inv): Likewise.
15818 (__dvd): Likewise.
15819
e375e83d
SP
15820 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15821 commented code.
15822 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15823 (__dubcos): Likewise.
15824 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15825 (__ieee754_acos): Likewise.
15826 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15827 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15828 (__exp1): Likewise.
15829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15831 (log1): Likewise.
15832 (my_log2): Likewise.
15833 (checkint): Likewise.
15834 * sysdeps/ieee754/dbl-64/e_remainder.c
15835 (__ieee754_remainder): Likewise.
15836 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15838 (bsloww): Likewise.
15839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15840
6f2e90e7
SP
15841 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15842 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15843 MANTISSA_STORE_T to store computations on mantissa. Use
15844 macros for rounding and division.
15845 (denorm): Likewise.
15846 (__dbl_mp): Likewise.
15847 (add_magnitudes): Likewise.
15848 (sub_magnitudes): Likewise.
15849 (__mul): Likewise.
15850 (__sqr): Likewise.
15851 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15852 powers of two in terms of TWOPOW macro.
15853 (mp_no): Make type of mantissa as MANTISSA_T.
15854 [!RADIXI]: Define RADIXI.
15855 [!TWO52]: Define TWO52.
15856 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15857
fce14d4e
AZ
158582013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15859
15860 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15861 llroundl symbol when building for PPC32.
15862
9ad027fb
MW
158632013-03-24 Mark H Weaver <mhw@netris.org>
15864
15865 * manual/arith.texi (Normalization Functions): Fix prototypes for
15866 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15867
e42a38dd
AZ
158682013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15869
15870 [BZ #13889]
15871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15872 high value to check if expl overflow.
15873 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15874 to check for underflow and overflow.
15875 * math/libm-test.inc: Add exp test.
15876
2e0fb521
DL
158772013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15878
15879 [BZ #11120]
15880 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15881 with NOT_IN_libc.
15882
b5784d95
AZ
158832013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15884
15885 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15886 symbol.
15887
5aa4a1a1
TS
158882013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15889
bdef0be7
TS
15890 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15891 wrap blocks consisting of several statements.
15892
5aa4a1a1
TS
15893 * sysdeps/generic/math-tests.h: New file.
15894 * sysdeps/i386/fpu/math-tests.h: Likewise.
15895 * math/test-snan.c: Include it.
15896 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15897
98c48fe5
JM
158982013-03-21 Joseph Myers <joseph@codesourcery.com>
15899
15900 [BZ #15285]
15901 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15902 (__ieee754_j0l): Do not improve calculations using cos of twice
15903 input for inputs above LDBL_MAX / 2.0L.
15904 (__ieee754_y0l): Likewise.
15905 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15906 (__ieee754_j1l): Do not improve calculations using cos of twice
15907 input for inputs above LDBL_MAX / 2.0L.
15908 (__ieee754_y1l): Likewise.
15909 * math/libm-test.inc (j0_test): Add another test.
15910 (j1_test): Likewise.
15911 (y0_test): Likewise.
15912 (y1_test): Likewise.
15913 * sysdeps/i386/fpu/libm-test-ulps: Update.
15914
3775a8bc
SP
159152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15916
15917 * Rules ($(objpfx)bench-%.c): Include code from a C source
15918 file.
15919
0a1b2ae6
JM
159202013-03-21 Joseph Myers <joseph@codesourcery.com>
15921
15922 [BZ #15287]
15923 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15924 imaginary part 1.0 and real part less than 0.5 specially.
15925 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15926 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15927 * math/libm-test.inc (cacos_test): Add more tests.
15928 (casin_test): Likewise.
15929 (casinh_test): Likewise.
15930 * sysdeps/i386/fpu/libm-test-ulps: Update.
15931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15932
b33d4ce4
SP
159332013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15934
15935 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15936 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15937
bef0b507
JM
159382013-03-20 Joseph Myers <joseph@codesourcery.com>
15939
15940 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15941 * config.make.in (config-cflags-sse4): Remove variable.
15942 (config-cflags-avx): Likewise.
15943 (config-cflags-sse2avx): Likewise.
15944 (config-cflags-novzeroupper): Likewise.
15945 (config-asflags-i686): Likewise.
15946 (have-mfma4): Likewise.
15947 (have-as-vis3): Likewise.
15948 (MIG): Likewise.
15949 * configure.in (MIG): Do not AC_SUBST.
15950 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15951 (libc_cv_cc_sse4): Do not AC_SUBST.
15952 (libc_cv_cc_avx): Likewise.
15953 (libc_cv_cc_sse2avx): Likewise.
15954 (libc_cv_cc_novzeroupper): Likewise.
15955 (libc_cv_cc_fma4): Likewise.
15956 (libc_cv_as_i686): Likewise.
15957 (libc_cv_sparc_as_vis3): Likewise.
15958 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15959 LIBC_CONFIG_VAR.
15960 (config-asflags-i686): Likewise.
15961 (config-cflags-avx): Likewise.
15962 (config-cflags-sse2avx): Likewise.
15963 (have-mfma4): Likewise.
15964 (config-cflags-novzeroupper): Likewise.
15965 * sysdeps/mach/configure.in (MIG): Likewise.
15966 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15967 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15968 LIBC_CONFIG_VAR.
15969 (config-cflags-avx): Likewise.
15970 (config-cflags-sse2avx): Likewise.
15971 (have-mfma4): Likewise.
15972 (config-cflags-novzeroupper): Likewise.
15973 * configure: Regenerated.
15974 * sysdeps/i386/configure: Likewise.
15975 * sysdeps/mach/configure: Likewise.
15976 * sysdeps/sparc/configure: Likewise.
15977 * sysdeps/x86_64/configure: Likewise.
15978
912cc4b3
RM
159792013-03-20 Roland McGrath <roland@hack.frob.com>
15980
15981 [BZ #14812]
15982 * locale/programs/localedef.c (options): Put N_ translation marker
15983 on argument names, not just descriptions.
15984
04eed2b0
MS
159852013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15986
15987 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15988
a065ceff
OB
159892013-03-20 Ondřej Bílka <neleai@seznam.cz>
15990
9bb2a810 15991 [BZ #14176]
a065ceff
OB
15992 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15993
a600e5ce
RM
159942013-03-19 Roland McGrath <roland@hack.frob.com>
15995
15996 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15997 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15998 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15999 [!BEFORE_ABORT] (before_abort): New function.
16000 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16001 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16002 (writev_for_fatal): New function.
16003 (WRITEV_FOR_FATAL): New macro; call that.
16004 (backtrace_and_maps): New function.
16005 (BEFORE_ABORT): New macro; call that.
16006 (struct str_list): Type removed.
16007 (__libc_message, __libc_fatal): Functions removed.
16008 Include <sysdeps/posix/libc_fatal.c> instead.
16009
6b18bea6
JM
160102013-03-19 Joseph Myers <joseph@codesourcery.com>
16011
16012 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16013 constants.
16014 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16015 double constants.
16016
aaa8cb4b
AS
160172013-03-19 Andreas Schwab <schwab@suse.de>
16018
44673770
AS
16019 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16020 * sysdeps/gnu/configure: Regenerate.
16021
aaa8cb4b
AS
16022 * configure.in: Substitute libc_cv_rtlddir.
16023 * configure: Regenerate.
16024 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16025 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16026 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16027 * elf/Makefile (install-others, CFLAGS-interp.c)
16028 (ldso_install, common-ldd-rewrite): Likewise.
16029 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16030 $(inst_slibdir)/$(rtld-installed-name).
16031 * scripts/rellns-sh: Add -p option.
16032 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16033 for source.
16034
d3cfc668
SP
160352013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16036
16037 * manual/nptl.texi: Renamed to ...
16038 * manual/threads.texi: ... this.
16039 * manual/Makefile (chapters): Update.
16040
0e2b9cdd
RM
160412013-03-18 Roland McGrath <roland@hack.frob.com>
16042
16043 [BZ #14812]
16044 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16045 on argument names, not just descriptions.
0e2b9cdd
RM
16046 * malloc/memusagestat.c (options): Likewise.
16047 * nss/getent.c (options): Likewise.
63270c24
RM
16048
160492013-03-18 Benno Schulenberg <bensberg@justemail.net>
16050
16051 [BZ #14812]
16052 * iconv/iconv_prog.c (options): Put N_ translation marker
16053 on argument names, not just descriptions.
16054 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16055
b2e1393c
OB
160562013-03-18 Ondrej Bilka <neleai@seznam.cz>
16057
16058 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16059 implementation which is faster on all x86_64 architectures.
16060 Tested on AMD, Intel Nehalem, SNB, IVB.
16061 * sysdeps/x86_64/strnlen.S: Likewise.
16062
16063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16064 Remove all multiarch strlen and strnlen versions.
16065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16066 Remove strlen and strnlen related parts.
16067
16068 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16069 Inline strlen part.
16070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16071
16072 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16073 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16074 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16075 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16076 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16077 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16078
ec4ff04d
CD
160792013-03-17 Carlos O'Donell <carlos@redhat.com>
16080
16081 * manual/memory.texi (Malloc Tunable Parameters):
16082 Sort parameters alphabetically. Add comments for missing entries.
16083
cd18e90a
DM
160842013-03-17 David S. Miller <davem@davemloft.net>
16085
16086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16087
2a185d32
JM
160882013-03-16 Joseph Myers <joseph@codesourcery.com>
16089
d2f9799e
JM
16090 [BZ #15283]
16091 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16092 for arguments at most half maximum finite value.
16093 * math/libm-test.inc (j0_test): Add more tests.
16094 (j1_test): Likewise.
16095 (y0_test): Likewise.
16096 (y1_test): Likewise.
16097 * sysdeps/i386/fpu/libm-test-ulps: Update.
16098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16099
2a185d32
JM
16100 [BZ #14155]
16101 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16102 1 / x and functions P and Q for arguments above 0x1p256L.
16103 (__ieee754_y0l): Likewise.
16104 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16105 (__ieee754_y1l): Likewise.
16106 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16107 (j1_test): Likewise.
16108 (y0_test): Likewise.
16109 (y1_test): Likewise.
16110
6cbec759
TS
161112013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16112
16113 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16114 variable.
16115
bc16e260
RM
161162013-03-15 Roland McGrath <roland@hack.frob.com>
16117
aefc9b8c
RM
16118 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16119 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16120 zero since it's initialized to EXEC_PAGESIZE.
16121
bc16e260
RM
16122 * sysdeps/unix/sysv/linux/ldsodefs.h
16123 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16124 * sysdeps/generic/ldsodefs.h: ... here.
16125
a57da955
TS
161262013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16127
af00a34d
TS
16128 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16129
495ded2c
TS
16130 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16131 math/test-snan.c.
16132 * math/test-snan.c: Renamed from
16133 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16134 * math/Makefile (tests): Add test-snan.
16135 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16136 test-powerpc-snan.
16137
777b0332
TS
16138 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16139 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16140 functions.
16141 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16142 __builtin_nan family of functions.
16143 * math/libm-test.inc (initialize): Initialize qnan_value with
16144 __builtin_nan family of functions.
16145 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16146 Remove variables.
16147 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16148 Remove functions.
16149 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16150 storage class. Initialize qNaN_var and sNaN_var with
16151 __builtin_nan and __builtin_nans families of functions,
16152 respectively.
16153
64d063b8
TS
16154 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16155 (sqrt_test): Remove duplicate test with qNaN input.
16156 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16157 (round_test, signbit_test, significand_test): Note missing +/-Inf
16158 as well as qNaN tests.
16159
67e971f1
TS
16160 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16161 qNaN_var. Fix a few strings, too.
16162 * math/libm-test.inc (nan_value): Rename to qnan_value.
16163 * math/gen-libm-test.pl (%beautify): Adjust to that.
16164 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16165 * math/test-misc.c (main): Likewise.
16166 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16167 to __qnan_bytes, and __qnan_union, respectively.
16168 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16169 Likewise.
16170 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16171 and lqnanval, respectively.
16172 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16173 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16174 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16175 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16176
64487e12
TS
16177 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16178 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16179 doubles.
16180
e015e27b
TS
16181 * math/test-misc.c (main): Fix copy'n'pastos.
16182 * misc/tst-efgcvt.c (special): Likewise.
16183
a57da955
TS
16184 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16185 Remove declarations.
16186
1e380345
SP
161872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16188
16189 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16190 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16191 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16192 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16193
ef26eece
AZ
161942013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16195
16196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16197 macro to return vdso values correctly in IFUNC implementations.
16198 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16199 Optimization by using IFUNC.
16200
8cfdb7e0
SP
162012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16202 Richard Henderson <rth@redhat.com>
16203 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16204
16205 * Makefile.in (bench): New target.
16206 * NEWS: Mention the benchmark framework.
16207 * Rules (bench): Likewise.
16208 (binaries-bench): Generate binaries for functions to
16209 benchmark.
16210 * benchtests/Makefile: New makefile for benchmark tests.
16211 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16212 programs.
16213 * benchtests/exp-inputs: New input file for EXP function.
16214 * benchtests/pow-inputs: New input file for POW function.
16215 * scripts/bench.pl: New script to generate source files for
16216 benchmark programs.
16217
bcda9880
SP
162182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16219
d22ca8cd
SP
16220 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16222 computations on mantissa. Use macros for rounding and
16223 division.
16224 (denorm): Likewise.
16225 (__dbl_mp): Likewise.
16226 (add_magnitudes): Likewise.
16227 (sub_magnitudes): Likewise.
16228 (__mul): Likewise.
16229 (__sqr): Likewise.
16230 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16231 powers of two in terms of TWOPOW macro.
16232 (mp_no): Make type of mantissa as MANTISSA_T.
16233 [!RADIXI]: Define RADIXI.
16234 [!TWO52]: Define TWO52.
16235 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16236
bcda9880
SP
16237 * manual/nptl.texi (cindex): Modify threads to pthreads.
16238
06d5adfb
JM
162392013-03-15 Joseph Myers <joseph@codesourcery.com>
16240
16241 * sysdeps/x86_64/preconfigure: Regenerated.
16242
41c7328e
JM
162432013-03-14 Joseph Myers <joseph@codesourcery.com>
16244
16245 [BZ #14155]
16246 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16247 0x1p28 and above.
16248 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16249 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16250 0x1p28 and above.
16251 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16252 * math/libm-test.inc (j0_test): Do not allow one spurious
16253 underflow exception.
16254 (y1_test): Likewise.
16255
e25cfa60
SP
162562013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16257
0409959c
SP
16258 * manual/Makefile (chapters): Add nptl.
16259 * manual/debug.texi (Debugging Support): Add link to Threads
16260 chapter.
16261 * manual/nptl.texi: New file.
16262
e25cfa60
SP
16263 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16264
58a1335e
PB
162652013-03-14 Petr Baudis <pasky@ucw.cz>
16266
16267 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16268 for non-NULL pointer before the memory validity test. Pointed
16269 out by Holger Brunck <holger.brunck@keymile.com>.
16270
9dc7c64f
AS
162712013-03-13 Andreas Schwab <schwab@suse.de>
16272
16273 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16274 instead of .os.
16275
54206aa6
JM
162762013-03-13 Joseph Myers <joseph@codesourcery.com>
16277
16278 * timezone/zic.c: Update from tzcode 2013b.
16279
e98cdb38
CD
162802013-03-12 Carlos O'Donell <carlos@redhat.com>
16281
16282 * manual/install.texi (Configuring and compiling):
16283 Mention i686 and i586.
16284 * INSTALL: Regenerate.
16285
9967e003
RM
162862013-03-12 Roland McGrath <roland@hack.frob.com>
16287
16288 * sysdeps/init_array/elf-init.c: New file.
16289 * csu/elf-init.c
16290 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16291 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16292
16293 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16294 __gmon_start__ as global, but as static with a .preinit_array pointer.
16295 * sysdeps/init_array/gmon-start.c: New file. Use that.
16296 * sysdeps/init_array/crti.S: New file, empty except for comments.
16297 * sysdeps/init_array/crtn.S: Likewise.
16298
e6b5a293 162992013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16300
16301 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16302 definining bcopy.
80f844c9
OB
16303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16304 Remove Prefer_SSE_for_memop.
16305 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16306 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16307 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16309 memset-x86-64.
80f844c9 16310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16311 Remove bzero, memset ifunc support.
80f844c9
OB
16312 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16313 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16314 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16315 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16316
fb6b0fcb
AS
163172013-03-11 Andreas Schwab <schwab@suse.de>
16318
16319 [BZ #15234]
16320 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16321 by SHLIB_COMPAT.
16322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16323 (GLIBC_2.16): Remove pthread_atfork.
16324
3e6bd4b1
PP
163252013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16326
16327 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16328 (ptestcases.h): Likewise.
16329
222d7f00
RM
163302013-03-08 Roland McGrath <roland@hack.frob.com>
16331
16332 * Makeconfig ($(common-objpfx)config.status): Depend on
16333 sysdeps/*/preconfigure{,.in} too.
16334
1ba4f030
JM
163352013-03-08 Joseph Myers <joseph@codesourcery.com>
16336
a222d91a
JM
16337 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16338 (__free_hook): Use void * instead of __malloc_ptr_t.
16339 (__malloc_hook): Likewise.
16340 (__realloc_hook): Likewise.
16341 (__memalign_hook): Likewise.
16342 (__after_morecore_hook): Likewise.
16343 * malloc/arena.c (save_malloc_hook): Likewise.
16344 (save_free_hook): Likewise.
16345 * malloc/hooks.c (malloc_hook_ini): Likewise.
16346 (realloc_hook_ini): Likewise.
16347 (memalign_hook_ini): Likewise.
16348 * malloc/malloc.c (malloc_hook_ini): Likewise.
16349 (realloc_hook_ini): Likewise.
16350 (memalign_hook_ini): Likewise.
16351 (__free_hook): Likewise.
16352 (__malloc_hook): Likewise.
16353 (__realloc_hook): Likewise.
16354 (__memalign_hook): Likewise.
16355 (__libc_malloc): Likewise.
16356 (__libc_free): Likewise.
16357 (__libc_realloc): Likewise.
16358 (__libc_memalign): Likewise.
16359 (__libc_valloc): Likewise.
16360 (__libc_pvalloc): Likewise.
16361 (__libc_calloc): Likewise.
16362 (__posix_memalign): Likewise.
16363 * malloc/morecore.c (__sbrk): Likewise.
16364 (__default_morecore): Likewise.
16365
5cc45e10
JM
16366 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16367
dd54b864
JM
16368 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16369 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16370 __malloc_ptrdiff_t.
16371
1ba4f030
JM
16372 * malloc/malloc.h (__malloc_size_t): Remove macro.
16373 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16374 __malloc_size_t.
16375 (old_memalign_hook): Likewise.
16376 (old_realloc_hook): Likewise.
16377 (struct hdr): Likewise.
16378 (flood): Likewise.
16379 (mallochook): Likewise.
16380 (memalignhook): Likewise.
16381 (reallochook): Likewise.
16382 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16383 (tr_old_realloc_hook): Likewise.
16384 (tr_old_memalign_hook): Likewise.
16385 (tr_mallochook): Likewise.
16386 (tr_reallochook): Likewise.
16387 (tr_memalignhook): Likewise.
16388
edf66e57
AZ
163892013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16390
16391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16392 default_ldbl_pack and using as default implementation.
16393 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16394 implementation.
16395 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16396 redundant definition.
16397 (ldbl_insert_mantissa): Likewise.
16398 (ldbl_canonicalize): Likewise.
16399 (ldbl_nearbyint): Likewise.
16400 (ldbl_pack): Rename to ldbl_pack_ppc.
16401 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16402 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16403 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16404
6d9145d8
SP
164052013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16406
16407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16408 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16409 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16410 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16412 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16413 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16414 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16415
4dd4e157
AJ
164162013-03-07 Andreas Jaeger <aj@suse.de>
16417
16418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16419 bits/mman-linux.h.
16420
adbb8027
SP
164212013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16422
ce544b5b
SP
16423 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16424 Include mpa.h and declare __MPEXP.
16425 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16427 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16430 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16431 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16432
4cc149fd
SP
16433 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16434 (__slowpow): Use long double EXPL and LOGL functions to
16435 compute POW.
16436 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16437 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16438 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16439 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16440 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16441 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16442
e6ebd4a7
SP
16443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16444 intermediate variable to calculate exponent.
16445 (__sqr): Likewise.
16446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16447 Likewise.
16448 (__sqr): Likewise.
16449
82a9811d
SP
16450 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16451 [!NO__SQR]: Define __sqr.
16452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16453 and NO__SQR. Remove all code except __mul and __sqr. Include
16454 sysdeps/ieee754/dbl-64/mpa.c.
16455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16456
adbb8027
SP
16457 [BZ #12723]
16458 * posix/Makefile (tests): Add tst-pathconf.
16459 * posix/tst-pathconf.c: New test case.
16460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16461 _PC_PIPE_BUF.
16462 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16463
39120df9
PF
164642013-03-06 Patsy Franklin <pfrankli@redhat.com>
16465
16466 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16467
67525cb8
AJ
164682013-03-06 Andreas Jaeger <aj@suse.de>
16469
664a9ce4
AJ
16470 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16471 definition via __MAP_ANONYMOUS.
16472
8e39047d
AJ
16473 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16474 it's not part of Linux headers.
16475
67525cb8
AJ
16476 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16477 (MAP_HUGE_MASK): Define.
16478
16479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16480 Define.
16481 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16483 Define.
16484 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16485 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16486 Define.
16487 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16489 Define.
16490 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16491
16492 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16493 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16494 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16495 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16496 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16497 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16498
16499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16500 Handle f2fs.
16501
16502 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16503 Handle f2fs and efivarfs.
16504
16505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16506 f2fs.
16507
16508 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16509 (EFIVARFS_MAGIC): Add.
16510 (F2FS_LINK_MAX): Add.
16511
e1b42695
PP
165122013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16513
16514 * stdio-common/vfprintf.c: Replace __builtin_expect with
16515 __glibc_unlikely.
16516
2d67d91a
JM
165172013-03-06 Joseph Myers <joseph@codesourcery.com>
16518
16519 [BZ #13550]
16520 * sysdeps/generic/bp-sym.h: Remove file.
16521 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16523 <bp-sym.h> and <bp-asm.h>.
16524 (__longjmp): Don't use BP_SYM.
16525 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16526 and <bp-asm.h>.
16527 (memcpy): Don't use BP_SYM.
16528 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16529 <bp-sym.h> and <bp-asm.h>.
16530 (memcpy): Don't use BP_SYM.
16531 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16532 <bp-asm.h>.
16533 (memcpy): Don't use BP_SYM.
16534 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16535 <bp-asm.h>.
16536 (memset): Don't use BP_SYM.
16537 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16538 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16539 (__bzero): Don't use BP_SYM.
16540 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16541 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16542 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16543 <bp-sym.h> and <bp-asm.h>.
16544 (memcmp): Don't use BP_SYM. Remove comment about bounded
16545 pointers.
16546 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16547 <bp-sym.h> and <bp-asm.h>.
16548 (memcpy): Don't use BP_SYM.
16549 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16550 <bp-sym.h> and <bp-asm.h>.
16551 (memset): Don't use BP_SYM.
16552 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16553 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16554 (__bzero): Don't use BP_SYM.
16555 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16556 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16557 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16558 <bp-sym.h> and <bp-asm.h>.
16559 (strncmp): Don't use BP_SYM. Remove comment about bounded
16560 pointers.
16561 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16562 <bp-sym.h> and <bp-asm.h>.
16563 (memcpy): Don't use BP_SYM.
16564 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16565 <bp-sym.h> and <bp-asm.h>.
16566 (memset): Don't use BP_SYM.
16567 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16568 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16569 (__bzero): Don't use BP_SYM.
16570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16573 <bp-sym.h> and <bp-asm.h>.
16574 (__memchr): Don't use BP_SYM.
16575 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16576 <bp-sym.h> and <bp-asm.h>.
16577 (memcmp): Don't use BP_SYM. Remove comment about bounded
16578 pointers.
16579 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16580 <bp-sym.h> and <bp-asm.h>.
16581 (memcpy): Don't use BP_SYM.
16582 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16583 <bp-sym.h> and <bp-asm.h>.
16584 (__mempcpy): Don't use BP_SYM.
16585 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16586 <bp-sym.h> and <bp-asm.h>.
16587 (__memrchr): Don't use BP_SYM.
16588 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16589 <bp-sym.h> and <bp-asm.h>.
16590 (memset): Don't use BP_SYM.
16591 (__bzero): Likewise.
16592 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16593 <bp-sym.h> and <bp-asm.h>.
16594 (__rawmemchr): Don't use BP_SYM.
16595 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16596 <bp-sym.h> and <bp-asm.h>.
16597 (__STRCMP): Don't use BP_SYM.
16598 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16599 <bp-sym.h> and <bp-asm.h>.
16600 (strchr): Don't use BP_SYM.
16601 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16602 <bp-sym.h> and <bp-asm.h>.
16603 (__strchrnul): Don't use BP_SYM.
16604 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16605 <bp-sym.h> and <bp-asm.h>.
16606 (strlen): Don't use BP_SYM.
16607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16608 <bp-sym.h> and <bp-asm.h>.
16609 (strncmp): Don't use BP_SYM. Remove comment about bounded
16610 pointers.
16611 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16612 <bp-sym.h> and <bp-asm.h>.
16613 (__strnlen): Don't use BP_SYM.
16614 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16615 <bp-sym.h> and <bp-asm.h>.
16616 (__GI__setjmp): Don't use BP_SYM.
16617 (_setjmp): Likewise.
16618 (__sigsetjmp): Likewise.
16619 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16620 (L(start_addresses)): Don't use BP_SYM.
16621 (_start): Likewise.
16622 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16623 <bp-asm.h>.
16624 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16625 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16626 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16627 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16628 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16629 <bp-asm.h>.
16630 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16631 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16632 about bounded pointers.
16633 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16634 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16635 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16636 <bp-asm.h>.
16637 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16638 about bounded pointers. Remove GKM FIXME comments.
16639 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16640 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16641 <bp-asm.h>.
16642 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16643 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16644 Remove GKM FIXME comments.
16645 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16646 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16647 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16648 <bp-asm.h>.
16649 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16650 about bounded pointers. Remove GKM FIXME comment.
16651 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16652 and <bp-asm.h>.
16653 (strncmp): Don't use BP_SYM. Remove comment about bounded
16654 pointers.
16655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16656 <bp-sym.h> and <bp-asm.h>.
16657 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16659 <bp-sym.h> and <bp-asm.h>.
16660 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16661 comment.
16662
cdcf361f
PP
166632013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16664
16665 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16666 call free(NULL).
16667
3c4a2b15
DM
166682013-03-05 David S. Miller <davem@davemloft.net>
16669
16670 * po/es.po: Update from translation team.
16671
cdcf361f 166722013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16673
16674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16675 <bits/mman-linux.h>.
16676 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16677 is fine.
16678 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16679 <bits/mman-linux.h> to end of file.
16680 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16681 is fine.
16682 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16683 <bits/mman-linux.h> to end of file.
16684 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16685 is fine.
16686 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16687 <bits/mman-linux.h> to end of file.
16688
16689 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16690 (MCL_CURRENT, MCL_FUTURE): Define here.
16691
5f67c04f
AK
166922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16693
8a4473cc 16694 [BZ #15232]
5f67c04f
AK
16695 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16696 attribute_hidden.
16697 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16698
c3e94a95
AK
166992013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16700
16701 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16702 fourth parameter needed for rt_sigprocmask syscall.
16703 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16704 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16705 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16706 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16707 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16708 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16709
cfb6382a
JM
167102013-03-04 Joseph Myers <joseph@codesourcery.com>
16711
16712 [BZ #13550]
16713 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16714 comment about bounded pointers.
16715 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16716 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16717
539d8e01
AJ
167182013-03-04 Andreas Jaeger <aj@suse.de>
16719
16720 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16721 common definitions.
16722
16723 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16724 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16725 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16727 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16729
2e167a70 167302013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16731
16732 [BZ #15055]
16733 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16734 __ieee754_sqrl instead of __sqrl.
16735
68508633
JM
167362013-03-01 Joseph Myers <joseph@codesourcery.com>
16737
16738 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16739 * sysdeps/powerpc/fpu_control.h: ... here.
16740 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16741 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16742 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16743 * sysdeps/powerpc/bits/mathinline.h: ... here.
16744
7775448e
RM
167452013-03-01 Roland McGrath <roland@hack.frob.com>
16746
16747 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16748 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16749 to just [NEED_DL_SYSINFO_DSO].
16750 * elf/dl-support.c: Likewise.
16751 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16752 * elf/rtld.c (dl_main): Likewise.
16753 * elf/setup-vdso.h (setup_vdso): Likewise.
16754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16755 * sysdeps/unix/sysv/linux/dl-sysdep.c
16756 (_dl_discover_osversion): Likewise.
16757
4e9b5995
CD
167582013-03-01 Carlos O'Donell <carlos@redhat.com>
16759
16760 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16761 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16762
e23872c8
SP
167632013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16764
e5c74c63
SP
16765 * NEWS: Mention libm performance improvements and non-x86 PI
16766 futex support.
16767
e23872c8
SP
16768 * csu/libc-start.c (__pthread_initialize_minimal): Change
16769 function arguments.
16770 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16771
b5510883
JM
167722013-02-28 Joseph Myers <joseph@codesourcery.com>
16773
16774 [BZ #13550]
16775 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16776 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16777 <bp-sym.h> and <bp-asm.h>.
16778 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16779 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16780 and <bp-asm.h>.
16781 (memcpy): Don't use BP_SYM.
16782 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16783 <bp-asm.h>.
16784 (__mpn_add_n): Don't use BP_SYM.
16785 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16786 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16787 and <bp-asm.h>.
16788 (__mpn_addmul_1): Don't use BP_SYM.
16789 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16790 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16791 <bp-sym.h>.
16792 (_setjmp): Don't use BP_SYM.
16793 (__novmx_setjmp): Likewise.
16794 (__GI__setjmp): Likewise.
16795 (__vmx_setjmp): Likewise.
16796 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16797 <bp-sym.h>.
16798 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16799 (__bzero): Don't use BP_SYM.
16800 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16801 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16802 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16803 <bp-sym.h> and <bp-asm.h>.
16804 (memcpy): Don't use BP_SYM.
16805 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16806 <bp-sym.h> and <bp-asm.h>.
16807 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16811 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16812 <bp-asm.h>.
16813 (__mpn_lshift): Don't use BP_SYM.
16814 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16815 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16816 <bp-asm.h>.
16817 (memset): Don't use BP_SYM.
16818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16820 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16821 <bp-asm.h>.
16822 (__mpn_mul_1): Don't use BP_SYM.
16823 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16824 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16825 <bp-sym.h> and <bp-asm.h>.
16826 (memcmp): Don't use BP_SYM.
16827 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16828 <bp-sym.h> and <bp-asm.h>.
16829 (memcpy): Don't use BP_SYM.
16830 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16831 <bp-sym.h> and <bp-asm.h>.
16832 (memset): Don't use BP_SYM.
16833 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (strncmp): Don't use BP_SYM.
16836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16837 <bp-sym.h> and <bp-asm.h>.
16838 (memcpy): Don't use BP_SYM.
16839 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16840 <bp-sym.h> and <bp-asm.h>.
16841 (memset): Don't use BP_SYM.
16842 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16843 <bp-sym.h> and <bp-asm.h>.
16844 (__memchr): Don't use BP_SYM.
16845 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16846 <bp-sym.h> and <bp-asm.h>.
16847 (memcmp): Don't use BP_SYM.
16848 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16849 <bp-sym.h> and <bp-asm.h>.
16850 (memcpy): Don't use BP_SYM.
16851 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16852 <bp-sym.h> and <bp-asm.h>.
16853 (__mempcpy): Don't use BP_SYM.
16854 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__memrchr): Don't use BP_SYM.
16857 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16858 <bp-sym.h> and <bp-asm.h>.
16859 (memset): Don't use BP_SYM.
16860 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16861 <bp-sym.h> and <bp-asm.h>.
16862 (__rawmemchr): Don't use BP_SYM.
16863 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16864 <bp-sym.h> and <bp-asm.h>.
16865 (__STRCMP): Don't use BP_SYM.
16866 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16867 <bp-sym.h> and <bp-asm.h>.
16868 (strchr): Don't use BP_SYM.
16869 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16870 <bp-sym.h> and <bp-asm.h>.
16871 (__strchrnul): Don't use BP_SYM.
16872 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16873 <bp-sym.h> and <bp-asm.h>.
16874 (strlen): Don't use BP_SYM.
16875 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16876 <bp-sym.h> and <bp-asm.h>.
16877 (strncmp): Don't use BP_SYM.
16878 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16879 <bp-sym.h> and <bp-asm.h>.
16880 (__strnlen): Don't use BP_SYM.
16881 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16882 <bp-asm.h>.
16883 (__mpn_rshift): Don't use BP_SYM.
16884 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16885 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16886 <bp-sym.h> and <bp-asm.h>.
16887 (__sigsetjmp): Don't use BP_SYM.
16888 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16889 (L(start_addresses)): Don't use BP_SYM.
16890 (_start): Likewise.
16891 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16892 <bp-asm.h>.
16893 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16894 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16895 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16896 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16897 <bp-asm.h>.
16898 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16899 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16900 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16901 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16902 <bp-asm.h>.
16903 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16904 comments.
16905 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16906 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16907 <bp-asm.h>.
16908 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16909 FIXME comments.
16910 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16911 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16912 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16913 <bp-asm.h>.
16914 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16915 comment.
16916 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16917 and <bp-asm.h>.
16918 (strncmp): Don't use BP_SYM,
16919 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16920 <bp-asm.h>.
16921 (__mpn_sub_n): Don't use BP_SYM.
16922 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16923 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16924 and <bp-asm.h>.
16925 (__mpn_submul_1): Don't use BP_SYM.
16926 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16931 <bp-sym.h> and <bp-asm.h>.
16932 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16933 comment.
16934
8d19fe64
SP
169352013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16936
16937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16938 Use ZK to minimize writes to Z.
16939 (sub_magnitudes): Simplify code a bit.
16940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16941 Use ZK to minimize writes to Z.
16942 (sub_magnitudes): Simplify code a bit.
16943
85bd816a
RM
169442013-02-27 Roland McGrath <roland@hack.frob.com>
16945
16946 * csu/gmon-start.c: Add special exception to license text.
16947
b5977bf2
RH
169482013-02-27 Richard Henderson <rth@redhat.com>
16949
16950 * scripts/config.guess: Update from config.git.
16951 * scripts/config.sub: Likewise.
16952
11d6e2f2
SP
169532013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16954
09c14ed2
SP
16955 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16956
a688864e
SP
16957 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16958
6295157a
SP
16959 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16960
b8de2202
SP
16961 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16962
11d6e2f2
SP
16963 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16964
7e80ddb8
RM
169652013-02-26 Roland McGrath <roland@hack.frob.com>
16966
16967 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16968 [$(build-shared = yes].
7e80ddb8 16969
7da6d9ed
SP
169702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16971
45f05884
SP
16972 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16973 (__mul): Reduce iterations for calculating mantissa.
16974
2236d359
SP
16975 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16976 MPTWO.
16977 (__mpranred): Likewise.
16978
7da6d9ed
SP
16979 [BZ #15160]
16980 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16981 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16982
b7688c42
PE
169832013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16984
16985 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16986 Define __attribute__.
16987
53a5c423
SP
169882013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16989
16990 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16991 unused.
16992 * posix/regex_internal.h (__attribute): Remove.
16993 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16994 (re_string_context_at): Likewise.
16995 (bitset_not): Use __attribute__ and mark function as possibly
16996 unused.
16997 (bitset_merge): Likewise.
16998 (bitset_mask): Likewise.
16999 (re_string_char_size_at): Likewise.
17000 (re_string_wchar_at): Likewise.
17001 (re_string_elem_size_at): Likewise.
17002
60f5a8b5
SP
170032013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17004
2a983a2e
SP
17005 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17006 code.
17007 (cc32): Likewise.
17008
e69804d1
SP
17009 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17010 (__acr): Likewise.
17011 (__cpy): Likewise.
17012 (norm): Likewise.
17013 (denorm): Likewise.
17014 (__dbl_mp): Likewise.
17015 (add_magnitudes): Likewise.
17016 (sub_magnitudes): Likewise.
17017 (__mul): Likewise.
17018 (__inv): Likewise.
17019
2f22a1e8
SP
17020 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17021 style.
17022
8930ddc7
SP
17023 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17024 style.
17025
dc60cb11
SP
17026 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17027 code.
17028
60f5a8b5
SP
17029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17030 up changes with default code.
17031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17032 Likewise.
17033
b4d1fd33
AM
170342013-02-24 Allan McRae <allan@archlinux.org>
17035
faf6f8bc
AM
17036 * manual/socket.texi (The Internet Namespace): Order menu items
17037 to match that in the file.
17038
b4d1fd33
AM
17039 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17040 node listing of the info page menu.
17041
2366713d
JM
170422013-02-21 Joseph Myers <joseph@codesourcery.com>
17043
17044 [BZ #13550]
17045 * sysdeps/i386/bp-asm.h: Remove file.
17046 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17047 (PARMS): Do not use macros from bp-asm.h.
17048 (S1): Likewise.
17049 (S2): Likewise.
17050 (SIZE): Likewise.
17051 (__mpn_add_n): Do not use BP_SYM
17052 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17053 "bp-asm.h".
17054 (PARMS): Do not use macros from bp-asm.h.
17055 (S1): Likewise.
17056 (SIZE): Likewise.
17057 (__mpn_addmul_1): Do not use BP_SYM
17058 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17059 "bp-asm.h".
17060 (PARMS): Do not use macros from bp-asm.h.
17061 (SIGMSK): Likewise.
17062 (_setjmp): Likewise. Do not use BP_SYM.
17063 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17064 "bp-asm.h".
17065 (PARMS): Do not use macros from bp-asm.h.
17066 (SIGMSK): Likewise.
17067 (setjmp): Likewise. Do not use BP_SYM.
17068 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17069 "bp-asm.h".
17070 (PARMS): Do not use macros from bp-asm.h.
17071 (__frexp): Do not use BP_SYM.
17072 (frexp): Likewise.
17073 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17074 "bp-asm.h".
17075 (PARMS): Do not use macros from bp-asm.h.
17076 (__frexpf): Do not use BP_SYM.
17077 (frexpf): Likewise.
17078 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17079 "bp-asm.h".
17080 (PARMS): Do not use macros from bp-asm.h.
17081 (__frexpl): Do not use BP_SYM.
17082 (frexpl): Likewise.
17083 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17084 "bp-asm.h".
17085 (PARMS): Do not use macros from bp-asm.h.
17086 (__remquo): Do not use BP_SYM.
17087 (remquo): Likewise.
17088 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17089 "bp-asm.h".
17090 (PARMS): Do not use macros from bp-asm.h.
17091 (__remquof): Do not use BP_SYM.
17092 (remquof): Likewise.
17093 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17094 "bp-asm.h".
17095 (PARMS): Do not use macros from bp-asm.h.
17096 (__remquol): Do not use BP_SYM.
17097 (remquol): Likewise.
17098 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17099 "bp-asm.h".
17100 (PARMS): Do not use macros from bp-asm.h.
17101 (DEST): Likewise.
17102 (SRC): Likewise.
17103 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17104 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17105 "bp-asm.h".
17106 (PARMS): Do not use macros from bp-asm.h.
17107 (strlen): Do not use BP_SYM.
17108 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17109 "bp-asm.h".
17110 (PARMS): Do not use macros from bp-asm.h.
17111 (S1): Likewise.
17112 (S2): Likewise.
17113 (SIZE): Likewise.
17114 (__mpn_add_n): Do not use BP_SYM.
17115 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17116 "bp-asm.h".
17117 (PARMS): Do not use macros from bp-asm.h.
17118 (S1): Likewise.
17119 (SIZE): Likewise.
17120 (__mpn_addmul_1): Do not use BP_SYM.
17121 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17122 weak_alias.
17123 (bzero): Likewise.
17124 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17125 "bp-asm.h".
17126 (PARMS): Do not use macros from bp-asm.h.
17127 (S): Likewise.
17128 (SIZE): Likewise.
17129 (__mpn_lshift): Do not use BP_SYM.
17130 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17131 "bp-asm.h".
17132 (PARMS): Do not use macros from bp-asm.h.
17133 (DEST): Likewise.
17134 (SRC): Likewise.
17135 (LEN): Likewise.
17136 (memcpy): Likewise. Do not use BP_SYM.
17137 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17138 libc_hidden_def and weak_alias.
17139 (mempcpy): Do not use BP_SYM in weak_alias.
17140 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17141 "bp-asm.h".
17142 (PARMS): Do not use macros from bp-asm.h.
17143 (DEST): Likewise.
17144 (LEN): Likewise.
17145 [!BZERO_P] (CHR): Likewise.
17146 (memset): Likewise. Do not use BP_SYM.
17147 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17148 "bp-asm.h".
17149 (PARMS): Do not use macros from bp-asm.h.
17150 (S1): Likewise.
17151 (SIZE): Likewise.
17152 (__mpn_mul_1): Do not use BP_SYM.
17153 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17154 "bp-asm.h".
17155 (PARMS): Do not use macros from bp-asm.h.
17156 (S): Likewise.
17157 (SIZE): Likewise.
17158 (__mpn_rshift): Do not use BP_SYM.
17159 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17160 "bp-asm.h".
17161 (PARMS): Do not use macros from bp-asm.h.
17162 (STR): Likewise.
17163 (CHR): Likewise.
17164 (strchr): Likewise. Do not use BP_SYM.
17165 (index): Do not use BP_SYM in weak_alias.
17166 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17167 "bp-asm.h".
17168 (PARMS): Do not use macros from bp-asm.h.
17169 (DEST): Likewise.
17170 (SRC): Likewise.
17171 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17172 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17173 "bp-asm.h".
17174 (PARMS): Do not use macros from bp-asm.h.
17175 (strlen): Do not use BP_SYM.
17176 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17177 "bp-asm.h".
17178 (PARMS): Do not use macros from bp-asm.h.
17179 (S1): Likewise.
17180 (S2): Likewise.
17181 (SIZE): Likewise.
17182 (__mpn_sub_n): Do not use BP_SYM.
17183 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17184 "bp-asm.h".
17185 (PARMS): Do not use macros from bp-asm.h.
17186 (S1): Likewise.
17187 (SIZE): Likewise.
17188 (__mpn_submul_1): Do not use BP_SYM.
17189 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17190 "bp-asm.h".
17191 (PARMS): Do not use macros from bp-asm.h.
17192 (S1): Likewise.
17193 (S2): Likewise.
17194 (SIZE): Likewise.
17195 (__mpn_add_n): Do not use BP_SYM.
17196 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17197 weak_alias.
17198 (bzero): Likewise.
17199 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17200 "bp-asm.h".
17201 (PARMS): Do not use macros from bp-asm.h.
17202 (BLK2): Likewise.
17203 (LEN): Likewise.
17204 (memcmp): Do not use BP_SYM.
17205 (bcmp): Do not use BP_SYM in weak_alias.
17206 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17207 "bp-asm.h".
17208 (PARMS): Do not use macros from bp-asm.h.
17209 (DEST): Likewise.
17210 (SRC): Likewise.
17211 (LEN): Likewise.
17212 (memcpy): Likewise. Do not use BP_SYM.
17213 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17214 "bp-asm.h".
17215 (PARMS): Do not use macros from bp-asm.h.
17216 (DEST): Likewise.
17217 (SRC): Likewise.
17218 (LEN): Likewise.
17219 (memmove): Likewise. Do not use BP_SYM.
17220 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17221 "bp-asm.h".
17222 (PARMS): Do not use macros from bp-asm.h.
17223 (DEST): Likewise.
17224 (SRC): Likewise.
17225 (LEN): Likewise.
17226 (__mempcpy): Likewise. Do not use BP_SYM.
17227 (mempcpy): Do not use BP_SYM in weak_alias.
17228 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17229 "bp-asm.h".
17230 (PARMS): Do not use macros from bp-asm.h.
17231 (DEST): Likewise.
17232 (LEN): Likewise.
17233 [!BZERO_P] (CHR): Likewise.
17234 (memset): Likewise. Do not use BP_SYM.
17235 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17236 "bp-asm.h".
17237 (PARMS): Do not use macros from bp-asm.h.
17238 (STR2): Likewise.
17239 (strcmp): Do not use BP_SYM.
17240 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17241 "bp-asm.h".
17242 (PARMS): Do not use macros from bp-asm.h.
17243 (STR): Likewise.
17244 (DELIM): Likewise.
17245 [USE_AS_STRTOK_R] (SAVE): Likewise.
17246 (FUNCTION): Likewise. Do not use BP_SYM.
17247 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17248 aliases.
17249 (strtok_r): Likewise.
17250 (__GI___strtok_r): Likewise.
17251 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17252 (PARMS): Do not use macros from bp-asm.h.
17253 (S): Likewise.
17254 (SIZE): Likewise.
17255 (__mpn_lshift): Do not use BP_SYM.
17256 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17257 (PARMS): Do not use macros from bp-asm.h.
17258 (STR): Likewise.
17259 (CHR): Likewise.
17260 (__memchr): Do not use BP_SYM.
17261 (memchr): Do not use BP_SYM in weak_alias.
17262 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17263 (PARMS): Do not use macros from bp-asm.h.
17264 (BLK2): Likewise.
17265 (LEN): Likewise.
17266 (memcmp): Do not use BP_SYM.
17267 (bcmp): Do not use BP_SYM in weak_alias.
17268 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17269 (PARMS): Do not use macros from bp-asm.h.
17270 (S1): Likewise.
17271 (SIZE): Likewise.
17272 (__mpn_mul_1): Do not use BP_SYM.
17273 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17274 "bp-asm.h".
17275 (PARMS): Do not use macros from bp-asm.h.
17276 (STR): Likewise.
17277 (CHR): Likewise.
17278 (__rawmemchr): Do not use BP_SYM.
17279 (rawmemchr): Do not use BP_SYM in weak_alias.
17280 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17281 (PARMS): Do not use macros from bp-asm.h.
17282 (S): Likewise.
17283 (SIZE): Likewise.
17284 (__mpn_rshift): Do not use BP_SYM.
17285 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17286 (PARMS): Do not use macros from bp-asm.h.
17287 (SIGMSK): Likewise.
17288 (__sigsetjmp): Likewise. Do not use BP_SYM.
17289 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17290 (_start): Do not use BP_SYM.
17291 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17292 (PARMS): Do not use macros from bp-asm.h.
17293 (DEST): Likewise.
17294 (SRC): Likewise.
17295 (__stpcpy): Likewise. Do not use BP_SYM.
17296 (stpcpy): Do not use BP_SYM in weak_alias.
17297 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17298 "bp-asm.h".
17299 (PARMS): Do not use macros from bp-asm.h.
17300 (DEST): Likewise.
17301 (SRC): Likewise.
17302 (LEN): Likewise.
17303 (__stpncpy): Likewise. Do not use BP_SYM.
17304 (stpncpy): Do not use BP_SYM in weak_alias.
17305 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17306 (PARMS): Do not use macros from bp-asm.h.
17307 (STR): Likewise.
17308 (CHR): Likewise.
17309 (strchr): Likewise. Do not use BP_SYM.
17310 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17311 "bp-asm.h".
17312 (PARMS): Do not use macros from bp-asm.h.
17313 (STR): Likewise.
17314 (CHR): Likewise.
17315 (__strchrnul): Likewise. Do not use BP_SYM.
17316 (strchrnul): Do not use BP_SYM in weak_alias.
17317 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17318 "bp-asm.h".
17319 (PARMS): Do not use macros from bp-asm.h.
17320 (STOP): Likewise.
17321 (strcspn): Do not use BP_SYM.
17322 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
17327 (strpbrk): Likewise. Do not use BP_SYM.
17328 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17329 "bp-asm.h".
17330 (PARMS): Do not use macros from bp-asm.h.
17331 (STR): Likewise.
17332 (CHR): Likewise.
17333 (strrchr): Likewise. Do not use BP_SYM.
17334 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17335 (PARMS): Do not use macros from bp-asm.h.
17336 (SKIP): Likewise.
17337 (strspn): Do not use BP_SYM.
17338 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17339 (PARMS): Do not use macros from bp-asm.h.
17340 (STR): Likewise.
17341 (DELIM): Likewise.
17342 (SAVE): Likewise.
17343 (FUNCTION): Likewise. Do not use BP_SYM.
17344 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17345 aliases.
17346 (strtok_r): Likewise.
17347 (__GI___strtok_r): Likewise.
17348 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17349 (PARMS): Do not use macros from bp-asm.h.
17350 (S1): Likewise.
17351 (S2): Likewise.
17352 (SIZE): Likewise.
17353 (__mpn_sub_n): Do not use BP_SYM.
17354 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17355 "bp-asm.h".
17356 (PARMS): Do not use macros from bp-asm.h.
17357 (S1): Likewise.
17358 (SIZE): Likewise.
17359 (__mpn_submul_1): Do not use BP_SYM.
17360 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17361 <bp-sym.h>.
17362 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17363 and <bp-asm.h>.
17364 (PARMS): Do not use macros from bp-asm.h.
17365 (FLAGS): Likewise.
17366 (PTID): Likewise.
17367 (TLS): Likewise.
17368 (CTID): Likewise.
17369 (__clone): Do not use BP_SYM.
17370 (clone): Do not use BP_SYM in weak_alias.
17371 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17372 and <bp-asm.h>.
17373 (PARMS): Do not use macros from bp-asm.h.
17374 (LEN): Likewise.
17375 (__mmap64): Do not use BP_SYM.
17376 (mmap64): Do not use BP_SYM in weak_alias.
17377 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17378 <bp-sym.h> and <bp-asm.h>.
17379 (PARMS): Do not use macros from bp-asm.h.
17380 (__posix_fadvise64_l64): Do not use BP_SYM.
17381 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17382 (PARMS): Do not use macros from bp-asm.h.
17383 (NSOPS): Likewise.
17384 (semtimedop): Do not use BP_SYM.
17385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17386 and <bp-asm.h>.
17387
582a3cff
AM
173882013-02-21 Allan McRae <allan@archlinux.org>
17389
17390 * manual/message.texi (Charset conversion in gettext):
17391 Move @end statement to beginning of line.
17392
bab8a695
SP
173932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17394
80945231
SP
17395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17396 static.
17397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17398 Likewise.
17399
bab8a695
SP
17400 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17401 (denorm): Likewise.
17402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17404
e21d7aa7
AK
174052013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17406
17407 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17408 tail-call to the resolved function if pltexit isn't needed.
17409
4c7a4263
SP
174102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17411
17412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17413 or Y being zero as being unlikely.
17414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17415 Likewise.
17416
41f49342
CD
174172013-02-20 Carlos O'Donell <carlos@redhat.com>
17418
17419 * manual/nss.texi (System Databases and Name Service Switch):
17420 Remove frobnicate @pxref.
17421
50022a93
TS
174222013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17423
17424 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17425 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17426
08cbd996
PM
174272013-02-20 Petr Machata <pmachata@redhat.com>
17428
17429 * elf/elf.h (R_ARM_TARGET1): New macro.
17430 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17431 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17432 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17433 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17434 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17435 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17436 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17437 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17438 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17439 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17440 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17441 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17442 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17443 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17444 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17445 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17446 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17447 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17448 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17449 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17450 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17451 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17452 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17453 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17454 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17455 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17456 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17457 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17458 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17459 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17460 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17461 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17462 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17463 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17464 (R_ARM_THM_GOT_BREL12): Likewise.
17465 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17466 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17467 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17468 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17469 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17470 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17471 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17472 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17473 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17474
c7b275d6
TS
174752013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17476
17477 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17478 __attribute_used__ to __attribute__ ((unused)).
17479
20cd7fb3
SP
174802013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17481
17482 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17483 powerpc mpa.c.
17484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17485 comment formatting.
17486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17487
92945b52
JM
174882013-02-19 Joseph Myers <joseph@codesourcery.com>
17489
17490 [BZ #13550]
17491 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17492 Remove macro.
17493 (ENTER): Remove both macro definitions.
17494 (LEAVE): Likewise.
17495 (CHECK_BOUNDS_LOW): Likewise.
17496 (CHECK_BOUNDS_HIGH): Likewise.
17497 (CHECK_BOUNDS_BOTH): Likewise.
17498 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17499 (RETURN_BOUNDED_POINTER): Likewise.
17500 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17501 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17502 (POP_ERRNO_LOCATION_RETURN): Likewise.
17503 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17504 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17505 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17506 macros.
17507 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17508 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17509 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17510 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17511 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17512 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17513 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17514 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17515 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17516 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17517 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17518 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17520 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17521 removed macros.
17522 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17523 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17524 macros.
17525 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17526 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17527 * sysdeps/i386/i586/memset.S (memset): Likewise.
17528 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17529 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17530 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17531 macros.
17532 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17533 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17534 Change uses of L(2) to L(out).
17535 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17536 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17537 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17538 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17539 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17540 removed macros.
17541 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17542 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17543 macros.
17544 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17545 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17546 (RETURN): Do not use macro LEAVE.
17547 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17548 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17549 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17550 * sysdeps/i386/i686/memset.S (memset): Likewise.
17551 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17552 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17553 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17554 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17555 Likewise.
17556 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17557 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17558 L(1_2) and L(1_3) into L(1).
17559 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17560 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17561 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17562 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17563 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17564 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17565 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17566 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17567 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17568 macros.
17569 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17570 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17571 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17572 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17573 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17574 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17575 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17576 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17577 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17578 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17579 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17580 * sysdeps/i386/strspn.S (strspn): Likewise.
17581 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17582 conditional code.
17583 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17584 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17585 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17586 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17587 L(1_3) into L(1_1).
17588 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17589 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17590 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17591 macros.
17592 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17593
2389741a
JJ
175942013-02-19 Jakub Jelinek <jakub@redhat.com>
17595
17596 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17597 macro.
17598
2016b3cd
SP
175992013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17600
e4f22324
SP
17601 * math/atest-exp.c (exp_mpn): Remove ROUND.
17602 * math/atest-exp2.c (exp_mpn): Likewise.
17603 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17604
2016b3cd
SP
17605 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17606 * stdlib/tst-tls-atexit-lib.c: Likewise.
17607 * stdlib/tst-tls-atexit.c: Likewise.
17608
4be9b544
MF
176092013-02-18 Mike Frysinger <vapier@gentoo.org>
17610
17611 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17612 and __attribute_alloc_size__.
17613
2f62b9ee
MF
176142013-02-18 Mike Frysinger <vapier@gentoo.org>
17615
17616 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17617 __attribute_alloc_size__.
17618 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17619 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17620
6ff444c4
MF
176212013-02-18 Mike Frysinger <vapier@gentoo.org>
17622
17623 * include/programs/xmalloc.h: New file.
17624 * catgets/gencat.c: Include it.
17625 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17626 * elf/pldd.c: Likewise.
17627 * iconv/iconv_charmap.c: Likewise.
17628 * iconv/iconvconfig.c: Likewise.
17629 * iconv/strtab.c: Likewise.
17630 * locale/programs/locale.c: Likewise.
17631 * locale/programs/localedef.h: Likewise.
17632 * locale/programs/simple-hash.c: Likewise.
17633 * nscd/nscd.h: Likewise.
17634 * nss/makedb.c: Likewise.
17635 * sysdeps/generic/ldconfig.h: Likewise.
17636
be179c8a
SP
176372013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17638
ba384f6e
SP
17639 * Versions.def: Add GLIBC_2.18.
17640 * include/link.h (struct link_map): New member l_tls_dtor_count.
17641 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17642 (__call_tls_dtors): Likewise.
17643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17644 __cxa_thread_atexit_impl.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17646 Likewise.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17648 Likewise.
17649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17650 Likewise.
17651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17652 Likewise.
17653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17655 Likewise.
17656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17657 Likewise.
17658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17660 Likewise.
17661 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17662 (tests): Add test case tst-tls-atexit.
17663 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17664 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17665 (GLIBC_PRIVATE): Add __call_tls_dtors.
17666 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17667 for libstdc++.
17668 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17669 * stdlib/tst-tls-atexit.c: New test case.
17670 * stdlib/tst-tls-atexit-lib.c: New test case.
17671
ffaa74cf 17672 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17673
be179c8a
SP
17674 * elf/Versions (ld): Add _dl_find_dso_for_object.
17675 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17676 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17677 (dl_open_worker): Use _dl_find_dso_for_object.
17678 * elf/dl-sym.c (do_sym): Likewise.
17679 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17680
f78b5caa
AK
176812013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17682
17683 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17684 Syntactic changes only.
17685 (_dl_runtime_profile): Do a tail-call to the resolved function.
17686
29691210
JM
176872013-02-17 Joseph Myers <joseph@codesourcery.com>
17688
17689 [BZ #13550]
17690 * sysdeps/x86_64/bp-asm.h: Remove file.
17691 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17692 <bp-sym.h> and <bp-asm.h>.
17693 (__clone): Do not use BP_SYM.
17694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17695 <bp-sym.h> and <bp-asm.h>.
17696 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17697 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17698 "bp-asm.h".
17699 (_setjmp): Do not use BP_SYM.
17700 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17701 "bp-asm.h".
17702 (setjmp): Do not use BP_SYM.
17703 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17704 libc_hidden_def.
17705 (mempcpy): Do not use BP_SYM in weak_alias.
17706 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17707 "bp-asm.h".
17708 (strchr): Do not use BP_SYM.
17709 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17710 "bp-asm.h".
17711 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17712 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17713 (_start): Do not use BP_SYM.
17714 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17715 "bp-asm.h".
17716 (strcat): Do not use BP_SYM.
17717 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17718 "bp-asm.h".
17719 (STRCMP): Do not use BP_SYM.
17720 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17721 "bp-asm.h".
17722 (STRCPY): Do not use BP_SYM.
17723 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17724 "bp-asm.h".
17725 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17726 "bp-asm.h".
17727 (FUNCTION): Do not use BP_SYM.
17728 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17729 weak_alias.
17730 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17731
f238fd19
AJ
177322013-02-17 Andreas Jaeger <aj@suse.de>
17733
17734 * time/Versions: Sort entries.
17735 * string/Versions: Likewise.
17736 * resolv/Versions: Likewise.
17737 * posix/Versions: Likewise.
17738 * iconv/Versions: Likewise.
17739 * elf/Versions: Likewise.
17740 * wcsmbs/Versions: Likewise.
17741
bd07f23c 177422013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17743
22af19f9
SP
17744 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17745 loop termination condition.
17746
4709fe76
SP
17747 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17748 variable to calculate EZ.
17749 (__sqr): Likewise.
2d0e0f29
SP
17750
17751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17752 the lower precision input.
17753
daaa7713
JM
177542013-02-15 Joseph Myers <joseph@codesourcery.com>
17755
17756 [BZ #13550]
17757 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17758 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17759 (run-via-rtld-prefix): Do not handle %-bp tests.
17760 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17761 (all-object-suffixes): Remove .ob.
17762 (bppfx): Remove variable.
17763 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17764 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17765 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17766 [$(build-bounded) = yes] (libtype.ob): Likewise.
17767 * Makerules (elide-routines.ob): Remove variable.
17768 (do-tests-clean): Do not handle *-bp.out.
17769 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17770 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17771 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17772 (tests): Do not include $(tests-bp.out).
17773 (xtests): Do not include $(xtests-bp.out).
17774 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17775 [$(build-bounded) = yes] ($(addprefix
17776 $(objpfx),$(binaries-bounded))): Remove rule.
17777 ($(objpfx)%-bp.out): Remove rule.
17778 * config.make.in (build-bounded): Remove variable.
17779 * crypt/Makefile [$(build-bounded) = yes]
17780 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17781 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17782 append to variable.
17783 [$(build-bounded) = yes] (install-lib): Likewise.
17784 [$(build-bounded) = yes] (generated): Likewise.
17785 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17786 Remove rule.
17787 * intl/Makefile [$(build-bounded) = yes]
17788 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17789 * math/Makefile [$(build-bounded) = yes]
17790 ($(tests:%=$(objpfx)%-bp): Likewise.
17791 * misc/Makefile [$(build-bounded) = yes]
17792 ($(objpfx)tst-tsearch-bp): Likewise.
17793 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17794 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17795 Remove dependency.
17796 * string/Makefile (o-objects.ob): Remove variable.
17797 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17798 (CFLAGS-.ob): Remove variable.
17799 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17800 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17801 both definitions of variable.
17802 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17803 (ASFLAGS-.ob): Remove variable.
17804
e97ed6dd
JM
178052013-02-14 Joseph Myers <joseph@codesourcery.com>
17806
2bdd4ca6
JM
17807 [BZ #13550]
17808 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17809 Remove __BOUNDED_POINTERS__ from condition.
17810 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17811 * string/bits/string2.h [!__NO_STRING_INLINES &&
17812 !__BOUNDED_POINTERS__]: Likewise.
17813 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17814 Likewise.
17815 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17816 Remove conditional code.
17817 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17818 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17819 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17820 condition.
17821
e97ed6dd
JM
17822 [BZ #13550]
17823 * csu/libc-start.c: Do not include <bp-sym.h>.
17824 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17825 * elf/dl-open.c: Do not include <bp-sym.h>.
17826 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17827 * math/fegetenv.c: Do not include <bp-sym.h>.
17828 (fegetenv): Do not use BP_SYM in versioned symbols.
17829 * nptl/sysdeps/pthread/bits/libc-lockP.h
17830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17831 <bp-sym.h>.
17832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17833 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17835 (__pthread_mutex_destroy): Likewise.
17836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17837 (__pthread_mutex_lock): Likewise.
17838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17839 (__pthread_mutex_trylock): Likewise.
17840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17841 (__pthread_mutex_unlock): Likewise.
17842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17843 (__pthread_mutexattr_init): Likewise.
17844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17845 (__pthread_mutexattr_destroy): Likewise.
17846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17847 (__pthread_mutexattr_settype): Likewise.
17848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17849 (__pthread_rwlock_init): Likewise.
17850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17851 (__pthread_rwlock_destroy): Likewise.
17852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17853 (__pthread_rwlock_rdlock): Likewise.
17854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17855 (__pthread_rwlock_tryrdlock): Likewise.
17856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17857 (__pthread_rwlock_wrlock): Likewise.
17858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17859 (__pthread_rwlock_trywrlock): Likewise.
17860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17861 (__pthread_rwlock_unlock): Likewise.
17862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17863 (__pthread_key_create): Likewise.
17864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17865 (__pthread_setspecific): Likewise.
17866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17867 (__pthread_getspecific): Likewise.
17868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17869 Likewise.
17870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17871 (_pthread_cleanup_push_defer): Likewise.
17872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17873 (_pthread_cleanup_pop_restore): Likewise.
17874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17875 (pthread_setcancelstate): Likewise.
17876 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17877 <bp-sym.h>.
17878 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17879 (memchr): Do not use BP_SYM in weak_alias.
17880 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17881 (fegetenv): Do not use BP_SYM in versioned symbols.
17882 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17883 (fesetenv): Do not use BP_SYM in versioned symbols.
17884 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17885 (feupdateenv): Do not use BP_SYM in versioned symbols.
17886 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17887 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17888 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17889 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17890 (open64): Do not use BP_SYM in weak_alias.
17891 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17892 (fegetenv): Do not use BP_SYM in versioned symbols.
17893 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17894 (fesetenv): Do not use BP_SYM in versioned symbols.
17895 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17896 (feupdateenv): Do not use BP_SYM in versioned symbols.
17897 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17898 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17899 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17900 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17901 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17902 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17903 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17904 <bp-sym.h>.
17905 (__libc_start_main): Do not use BP_SYM.
17906
d6752ccd
SP
179072013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17908
cb57ce60
SP
17909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17910 redundant return line.
17911 (norm): Likewise.
17912 (denorm): Likewise.
17913 (dbl_mp): Likewise.
17914 (sub_magnitudes): Likewise.
17915 (__add): Likewise.
17916 (__sub): Likewise.
17917 (__mul): Likewise.
17918 (__inv): Likewise.
17919 (__dvd): Likewise.
17920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17921 (norm): Likewise.
17922 (denorm): Likewise.
17923 (dbl_mp): Likewise.
17924 (sub_magnitudes): Likewise.
17925 (__add): Likewise.
17926 (__sub): Likewise.
17927 (__mul): Likewise.
17928 (__inv): Likewise.
17929 (__dvd): Likewise.
17930
f414520d
SP
17931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17932 instead of __mul.
17933 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17934 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17935 (cc32): Likewise.
17936
d6752ccd
SP
17937 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17938 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17940 of __mul for squares.
17941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17942 function
17943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17944 Likewise.
17945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17947
70d9946a
JM
179482013-02-13 Joseph Myers <joseph@codesourcery.com>
17949
17950 [BZ #13550]
17951 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17952 code.
17953 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17954 prototype or function definition. Rename ubp_* variables and
17955 parameters. Remove argv definitions conditional on
17956 [__BOUNDED_POINTERS__].
17957 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17958 * elf/dl-runtime.c (_dl_fixup): Likewise.
17959 * include/set-hooks.h (RUN_HOOK): Likewise.
17960 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17961 definition.
17962 * string/strcpy.c (strcpy): Do not use __unbounded.
17963 * sysdeps/generic/frame.h (struct layout): Likewise.
17964 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17965 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17966 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17967 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17968 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17969 (__backtrace): Likewise.
17970 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17971 use __ptrvalue.
17972 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17973 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17974 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17975 Likewise.
17976 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17977 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17978 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17979 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17980 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17981 Do not use __unbounded.
17982 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17983 Rename __unboundedrlimits parameter to rlimits in prototype.
17984 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17985 Do not use __unbounded.
17986 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17987 not use __ptrvalue.
17988 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17989 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17990 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17991 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17992 __ptrvalue or __unbounded.
17993 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17994 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17995 use __unbounded.
17996 (__new_msgctl): Do not use __ptrvalue.
17997 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17998 __unbounded.
17999 (__libc_msgrcv): Do not use __ptrvalue.
18000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18001 startup_info): Do not use __unbounded.
18002 (__libc_start_main): Likewise. Rename ubp_* variables and
18003 parameters. Remove argv definitions conditional on
18004 [__BOUNDED_POINTERS__].
18005 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18006 __ptrvalue.
18007 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18008 use __unbounded.
18009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18010 or __ptrvalue.
18011 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18012 use __unbounded.
18013 (__new_shmctl): Do not use __ptrvalue.
18014 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18015 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18016 Likewise.
18017 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18019 (__libc_sigaction): Likewise.
18020 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18021 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18022 Likewise.
18023 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18024
cc7834d6
OB
180252013-02-13 Ondřej Bílka <neleai@seznam.cz>
18026
ffb1ec7b 18027 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18028
18029 * string/mempcpy.c: Implement by calling memcpy.
18030
bdf02814
SP
180312013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18032
c2af38aa
SP
18033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18034
4e92d59e
SP
18035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18036 evaluation.
18037
909279a5
SP
18038 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18039 values in the mantissa.
18040
bdf02814
SP
18041 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18042 minimize writes to Z.
18043 (sub_magnitudes): Simplify code a bit.
18044
cd525923
RM
180452013-02-12 Roland McGrath <roland@hack.frob.com>
18046
18047 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18048 from the message. The linker prefixes all warnings with that already.
18049
7e2f0d2d
AS
180502013-02-12 Andreas Schwab <schwab@suse.de>
18051
a445af0b
AS
18052 [BZ #15078]
18053 * posix/regexec.c (extend_buffers): Add parameter min_len.
18054 (check_matching): Pass minimum needed length.
18055 (clean_state_log_if_needed): Likewise.
18056 (get_subexp): Likewise.
18057 * posix/Makefile (tests): Add bug-regex34.
18058 (bug-regex34-ENV): Define.
18059 * posix/bug-regex34.c: New file.
18060
7e2f0d2d
AS
18061 [BZ #11561]
18062 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18063 elements compare against the byte sequence of it, not its name.
18064 * posix/Makefile (tests): Add bug-regex35.
18065 (bug-regex35-ENV): Define.
18066 * posix/bug-regex35.c: New file.
18067
a175b684
TV
180682013-02-11 Tom de Vries <tom@codesourcery.com>
18069
18070 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18071 comment.
18072 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18073 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18074 (CHECK_EOL): Add undef.
18075
310998fe 180762013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18077
18078 * bits/stdlib-bsearch.h: New file.
18079 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18080 * stdlib/stdlib.h: Likewise.
41eda41d 18081
8ded91fb
RM
180822013-02-11 Roland McGrath <roland@hack.frob.com>
18083
18084 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18085 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18086 declaration.
18087 * manual/search.texi (Array Search Function): Add missing const in
18088 lfind prototype.
18089 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18090 declaration to use rlim_t.
18091 (Basic Scheduling Functions): Remove erroneous const from
18092 sched_getparam prototype. Remove erroneous * from
18093 sched_get_priority_max and sched_get_priority_min prototypes.
18094 (Resource Usage): Fix summary @comment on vtimes to refer to
18095 sys/vtimes.h rather than vtimes.h.
18096 Add missing *s in vtimes prototype.
18097 (Limits on Resources): Fix ulimit prototype to return long int.
18098 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18099 prototypes to use long int rather than double.
18100 (BSD Random): Fix initstate and setstate to use char *, not void *.
18101 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18102 prototype to make second argument 'struct aiocb64 *const[]'.
18103 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18104 (Status of AIO Operations): Remove erroneous const in aio_return and
18105 aio_return64 prototypes.
18106 (Synchronizing I/O): Fix sync prototype to return void.
18107 * manual/startup.texi (Suboptions): Remove an erroneous const in
18108 getsubopt prototype.
18109 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18110 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18111 use size_t rather than int.
18112 (Scanning All Users): Likewise for getpwent_r.
18113 (Setting Groups): Add missing const to setgroups prototype.
18114 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18115 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18116 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18117 'const void *' rather than 'const char *'.
18118 (Host Address Functions): Likewise for inet_ntop.
18119 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18120 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18121 ssize_t for return value.
18122 (Sending Data): Likewise for send, sendto, sendmsg.
18123 (Socket Option Functions): Add a missing const in setsockopt prototype.
18124 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18125 use wchar_t for the argument.
18126 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18127 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18128 take no arguments.
18129 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18130 double/float/long double for second argument.
18131 Fix return types of significand, significandf, significandl.
18132 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18133 argument in fchmod prototype.
18134 (File Owner): Use uid_t and gid_t in fchown prototype.
18135 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18136 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18137 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18138 use 'const struct dirent **' as argument types to CMP function pointer
18139 argument.
18140 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18141 (File Times): Fix summary magic @comment for struct utimbuf and utime
18142 to refer to utime.h, not time.h.
18143 * manual/string.texi (Argz Functions): Add missing const in
18144 argz_extract and argz_next prototypes.
18145 (Finding Tokens in a String): Likewise for basename.
18146 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18147 (Copying and Concatenation): Fix typo in wmemmove prototype.
18148 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18149 (Signal Stack): Remove erroneous const in sigstack prototype.
18150 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18151 prototype.
18152 (Simple Calendar Time): Likewise for stime.
18153 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18154 prototype.
18155 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18156 say sys/sysctl.h instead.
18157 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18158 and vsyslog prototypes.
18159
fe77fe6d
TV
181602013-02-11 Tom de Vries <tom@codesourcery.com>
18161
18162 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18163 Remove.
18164
3a09b620
RM
181652013-02-11 Roland McGrath <roland@hack.frob.com>
18166
18167 * misc/sys/mman.h: Fix typo in mremap comment.
18168
550a0b89
RM
181692013-02-08 Roland McGrath <roland@hack.frob.com>
18170
18171 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18172 the '\0' terminator.
18173
a2da1673
JM
181742013-02-08 Joseph Myers <joseph@codesourcery.com>
18175
18176 [BZ #13550]
18177 * debug/segfault.c: Don't include <bp-checks.h>.
18178 * sysdeps/generic/bp-checks.h: Remove file.
18179 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18180 (__GETDENTS): Don't use CHECK_N.
18181 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18182 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18183 (__getgroups): Don't use CHECK_N.
18184 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18185 (setgroups): Don't use CHECK_N.
18186 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18187 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18188 (__libc_msgrcv): Don't use CHECK_N.
18189 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18190 (__libc_msgsnd): Don't use CHECK_N.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18192 <bp-checks.h>.
18193 (__libc_pread): Don't use CHECK_N.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18195 include <bp-checks.h>.
18196 (__libc_pread64): Don't use CHECK_N.
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18198 include <bp-checks.h>.
18199 (__libc_pwrite): Don't use CHECK_N.
18200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18201 include <bp-checks.h>.
18202 (__libc_pwrite64): Don't use CHECK_N.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18204 <bp-checks.h>.
18205 (__libc_pread): Don't use CHECK_N.
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18207 include <bp-checks.h>.
18208 (__libc_pread64): Don't use CHECK_N.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18210 include <bp-checks.h>.
18211 (__libc_pwrite): Don't use CHECK_N.
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18213 include <bp-checks.h>.
18214 (__libc_pwrite64): Don't use CHECK_N.
18215 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18216 (do_pread): Don't use CHECK_N.
18217 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18218 (do_pread64): Don't use CHECK_N.
18219 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18220 (do_pwrite): Don't use CHECK_N.
18221 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18222 (do_pwrite64): Don't use CHECK_N.
18223 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18224 (__libc_readv): Don't use CHECK_N.
18225 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18226 (semop): Don't use CHECK_N.
18227 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18228 <bp-checks.h>.
18229 (semtimedop): Don't use CHECK_N.
18230 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18231 (__libc_pread): Don't use CHECK_N.
18232 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18233 <bp-checks.h>.
18234 (__libc_pread64): Don't use CHECK_N.
18235 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18236 <bp-checks.h>.
18237 (__libc_pwrite): Don't use CHECK_N.
18238 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18239 <bp-checks.h>.
18240 (__libc_pwrite64): Don't use CHECK_N.
18241 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18242 <bp-checks.h>.
18243 (__libc_msgrcv): Don't use CHECK_N.
18244 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18245 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18246 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18247 (__libc_writev): Don't use CHECK_N.
18248
b84660a8
RM
182492013-02-08 Roland McGrath <roland@hack.frob.com>
18250
7f3e75f8
RM
18251 * string/strcpy.c: Removed unused variable.
18252
b84660a8
RM
18253 * Makeconfig (+sysdep-includes): Define with := rather than =.
18254 Use an existing include/ subdir of each sysdeps dir before it.
18255
471514d3
CD
182562013-02-08 Carlos O'Donell <carlos@redhat.com>
18257
18258 * nscd/connection.c (register_traced_file): Comment function.
18259 [HAVE_INOTIFY] (union __inev): Define.
18260 [HAVE_INOTIFY] (inotify_check_files): New function.
18261 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18262 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18263 clear_db_cache.
18264 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18265
b2d3c3be
CD
182662013-02-08 Carlos O'Donell <carlos@redhat.com>
18267
18268 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18269 loaded if not already and that a failure is permanent.
18270
b39949d2
CD
182712013-02-08 Carlos O'Donell <carlos@redhat.com>
18272
ddacd1db 18273 [BZ #15006]
b39949d2
CD
18274 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18275 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18276
b2c9eff4
JM
182772013-02-08 Joseph Myers <joseph@codesourcery.com>
18278
f3aae3f3
JM
18279 [BZ #13550]
18280 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18281 (CHECK_1_NULL_OK): Likewise.
18282 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18283 (__fxstat): Do not use CHECK_1.
18284 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18285 <bp-checks.h>.
18286 (___fxstat64): Do not use CHECK_1.
18287 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18288 <bp-checks.h>.
18289 (__fxstatat): Do not use CHECK_1.
18290 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18291 <bp-checks.h>.
18292 (__fxstatat64): Do not use CHECK_1.
18293 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18294 <bp-checks.h>.
18295 (__fxstat): Do not use CHECK_1.
18296 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18297 <bp-checks.h>.
18298 (__fxstatat): Do not use CHECK_1.
18299 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18300 <bp-checks.h>.
18301 (__getresgid): Do not use CHECK_1.
18302 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18303 <bp-checks.h>.
18304 (__getresuid): Do not use CHECK_1.
18305 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18306 <bp-checks.h>.
18307 (__lxstat): Do not use CHECK_1.
18308 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18309 <bp-checks.h>.
18310 (__old_msgctl): Do not use CHECK_1.
18311 (__new_msgctl): Likewise.
18312 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18313 <bp-checks.h>.
18314 (__new_setrlimit): Do not use CHECK_1.
18315 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18316 <bp-checks.h>.
18317 (__old_shmctl): Do not use CHECK_1.
18318 (__new_shmctl): Likewise.
18319 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18320 <bp-checks.h>.
18321 (__xstat): Do not use CHECK_1.
18322 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18323 (__lxstat): Do not use CHECK_1.
18324 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18325 <bp-checks.h>.
18326 (___lxstat64): Do not use CHECK_1.
18327 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18328 (__old_msgctl): Do not use CHECK_1.
18329 (__new_msgctl): Likewise.
18330 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18331 <bp-checks.h>.
18332 (__gettimeofday): Do not use CHECK_1.
18333 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18334 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18335 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18336 <bp-checks.h>.
18337 (__gettimeofday): Do not use CHECK_1.
18338 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18339 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18340 (__new_shmctl): Do not use CHECK_1.
18341 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18342 <bp-checks.h>.
18343 (do_sigtimedwait): Do not use CHECK_1.
18344 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18345 <bp-checks.h>.
18346 (do_sigwaitinfo): Do not use CHECK_1.
18347 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18348 <bp-checks.h>.
18349 (msgctl): Do not use CHECK_1.
18350 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18351 <bp-checks.h>.
18352 (shmctl): Do not use CHECK_1.
18353 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18354 (ustat): Do not use CHECK_1.
18355 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18356 <bp-checks.h>.
18357 (__fxstat): Do not use CHECK_1.
18358 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18359 <bp-checks.h>.
18360 (__fxstatat): Do not use CHECK_1.
18361 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18362 <bp-checks.h>.
18363 (__lxstat): Do not use CHECK_1.
18364 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18365 <bp-checks.h>.
18366 (__xstat): Do not use CHECK_1.
18367 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18368 (__xstat): Do not use CHECK_1.
18369 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18370 (___xstat64): Do not use CHECK_1.
18371
b2c9eff4
JM
18372 [BZ #13550]
18373 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18374 definitions.
18375 (CHECK_BOUNDS_HIGH): Likewise.
18376 * string/strcpy.c: Do not include <bp-checks.h>.
18377 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18378
f1d70dad
RM
183792013-02-07 Roland McGrath <roland@hack.frob.com>
18380
18381 * nscd/nscd-client.h (__nscd_drop_map_ref):
18382 Add __attribute__ ((unused)).
18383 * nis/nss-nisplus.h (niserr2nss): Likewise.
18384
18385 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18386 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18387
18388 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18389 Remove inline keyword.
18390 * include/rounding-mode.h (round_away): Likewise.
18391 * libio/wfileops.c (adjust_wide_data): Likewise.
18392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18393 (__m128i_strloadu_tolower): Likewise.
18394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18395 (__m128i_strloadu_tolower): Likewise.
18396 * time/mktime.c (ydhms_diff): Likewise.
18397 * locale/elem-hash.h (elem_hash): Likewise.
18398 * locale/setlocale.c (setdata): Likewise.
18399 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18400 (re_string_wchar_at): Likewise.
18401 (bitset_not, bitset_merge, bitset_mask): Likewise.
18402 [!(__GNUC__ > 3)] (inline): Remove macro.
18403 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18404 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18405 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18406 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18407 * string/memcmp.c (memcmp_bytes): Likewise.
18408 * locale/programs/locarchive.c (compute_hashval): Likewise.
18409 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18410 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18411 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18412 * nss/getent.c (print_rpc, print_protocols): Likewise.
18413 (print_passwd, print_group, print_aliases): Likewise.
18414 * nis/nss-nisplus.h (niserr2nss): Likewise.
18415 * nscd/connections.c (restart_p): Likewise.
18416 Change return type to bool.
18417
eab55bfb
RM
184182013-02-05 Roland McGrath <roland@hack.frob.com>
18419
7bd642f5
RM
18420 * Makeconfig (all-Depend-files): Add existing
18421 $(sorted-subdirs:=/Depend) files.
18422 (all-subdirs): Remove nss.
18423 * sysdeps/unix/inet/Subdirs: Add it here instead.
18424 * hesiod/Depend: New file.
18425
573c29b2
RM
18426 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18427 instead of calling alloca.
18428
b2e25af0
RM
18429 * io/lseek.c (__lseek): Rename to __libc_lseek.
18430 Define __lseek as an alias.
18431
eab55bfb
RM
18432 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18433
9a0d1941
CD
184342013-02-04 Carlos O'Donell <carlos@redhat.com>
18435
18436 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18437 else clause and remove check for non-standard endianness.
18438
b83bbec4
DM
184392013-02-04 David S. Miller <davem@davemloft.net>
18440
18441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18442
6277fdab
JM
184432013-02-04 Joseph Myers <joseph@codesourcery.com>
18444
18445 [BZ #13550]
18446 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18447 (__ubp_memchr): Remove prototype.
18448 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18449 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18450 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18451 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18452 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18453 Remove alias.
18454 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18455 (__ubp_memchr): Likewise.
18456 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18457 (__ubp_memchr): Likewise.
18458 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18459 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18460 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18461 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18462 CHECK_STRING.
18463 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18464 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18465 (__getcwd): Do not use CHECK_STRING.
18466 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18467 <bp-checks.h>.
18468 (__real_chown): Do not use CHECK_STRING.
18469 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18470 <bp-checks.h>.
18471 (fchownat): Do not use CHECK_STRING.
18472 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18473 CHECK_STRING.
18474 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18475 <bp-checks.h>.
18476 (__lchown): Do not use CHECK_STRING.
18477 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18478 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18479 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18480 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18482 include <bp-checks.h>.
18483 (truncate64): Do not use CHECK_STRING.
18484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18485 <bp-checks.h>.
18486 (__real_chown): Do not use CHECK_STRING.
18487 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18488 <bp-checks.h>.
18489 (__lchown): Do not use CHECK_STRING.
18490 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18491 <bp-checks.h>.
18492 (__chown): Do not use CHECK_STRING.
18493 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18494 <bp-checks.h>.
18495 (truncate64): Do not use CHECK_STRING.
18496 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18497 Likewise.
18498 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18499 (__xmknod): Do not use CHECK_STRING.
18500 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18501 <bp-checks.h>.
18502 (__xmknodat): Do not use CHECK_STRING.
18503 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18504 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18505
903ae060
AS
185062013-02-04 Andreas Schwab <schwab@suse.de>
18507
18508 [BZ #14142]
18509 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18510 * include/netdb.h: Likewise for h_errno.
18511 * elf/tst-stackguard1.c: Include <tls.h>.
18512
542f9466
JK
185132013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18514
18515 * elf/link.h (struct link_map): Extend the l_addr comment.
18516 * include/link.h (struct link_map): Likewise.
18517
e782a927
JM
185182013-02-01 Joseph Myers <joseph@codesourcery.com>
18519
18520 [BZ #13550]
18521 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18522 (BOUNDED_1): Remove macro.
18523 * debug/backtrace.c: Don't include <bp-checks.h>.
18524 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18525 (__backtrace): Likewise.
18526 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18527 <bp-checks.h>.
18528 (__backtrace): Don't use BOUNDED_1.
18529 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18530 <bp-checks.h>.
18531 (__backtrace): Don't use BOUNDED_1.
18532 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18533 (__backtrace): Don't use BOUNDED_1.
18534 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18535 (shmat): Don't use BOUNDED_N.
18536
8cf28c5e
JM
185372013-01-31 Joseph Myers <joseph@codesourcery.com>
18538
3a7ac8a0
JM
18539 [BZ #13550]
18540 * sysdeps/generic/bp-start.h: Remove file.
18541 * csu/libc-start.c: Don't include <bp-start.h>.
18542 (LIBC_START_MAIN): Set up __environ directly instead of using
18543 INIT_ARGV_and_ENVIRON.
18544 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18545 <bp-start.h>.
18546
f3499f95
JM
18547 [BZ #13550]
18548 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18549 definitions.
18550 (CHECK_FCNTL): Likewise.
18551 (CHECK_N_PAGES): Likewise.
18552
32a45bea
JM
18553 [BZ #13550]
18554 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18555 definitions.
18556 (CHECK_SIGSET_NULL_OK): Likewise.
18557 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18558 <bp-checks.h>.
18559 (sigpending): Don't use CHECK_SIGSET.
18560 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18561 <bp-checks.h>.
18562 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18563 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18564 <bp-checks.h>.
18565 (do_sigsuspend): Don't use CHECK_SIGSET.
18566 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18567 use CHECK_SIGSET.
18568 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18569 (do_sigwait): Don't use CHECK_SIGSET.
18570 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18571 use CHECK_SIGSET.
18572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18573 include <bp-checks.h>.
18574 (sigpending): Don't use CHECK_SIGSET.
18575 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18576 include <bp-checks.h>.
18577 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18578 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18579 <bp-checks.h>.
18580 (sigpending): Don't use CHECK_SIGSET.
18581 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18582 <bp-checks.h>.
18583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18584
2e8a5c8c
JM
18585 [BZ #13550]
18586 * sysdeps/generic/bp-semctl.h: Remove file.
18587 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18588 <bp-checks.h> and <bp-semctl.h>.
18589 (__old_semctl): Don't use CHECK_SEMCTL.
18590 (__new_semctl): Likewise.
18591 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18592 and <bp-semctl.h>.
18593 (__old_semctl): Don't use CHECK_SEMCTL.
18594 (__new_semctl): Likewise.
18595 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18596 <bp-checks.h> and <bp-semctl.h>.
18597 (__old_semctl): Don't use CHECK_SEMCTL.
18598 (__new_semctl): Likewise.
18599 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18600 <bp-checks.h> and <bp-semctl.h>.
18601 (semctl): Don't use CHECK_SEMCTL.
18602
c2d54929
JM
18603 [BZ #13550]
18604 * Makerules (elide-bp-thunks): Remove variable.
18605 (elide-routines.oS): Don't use $(elide-bp-thunks).
18606 (elide-routines.os): Likewise.
18607 (elide-routines.o): Likewise.
18608 (elide-routines.op): Likewise.
18609 (elide-routines.og): Likewise.
18610 (objects): Don't use $(bp-thunks).
18611 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18612 include.
18613 (common-generated): Do not add s-proto-bp.d.
18614 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18615 (int): Likewise.
18616 (typ): Likewise.
18617 Do not generate makefile rules for bounded-pointer thunks.
18618 * sysdeps/generic/bp-thunks.h: Remove file.
18619 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18620 * sysdeps/unix/s-proto-bp.S: Likewise.
18621
8cf28c5e
JM
18622 [BZ #15062]
18623 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18624 parts of result separately when argument is not close to line from
18625 -i to i and one part of argument is small.
18626 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18627 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18628 * math/libm-test.inc (cacos_test): Add more tests.
18629 (casin_test): Likewise.
18630 (casinh_test): Likewise.
18631 * sysdeps/i386/fpu/libm-test-ulps: Update.
18632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18633
c4e33b8d
DM
186342013-01-31 David S. Miller <davem@davemloft.net>
18635
18636 * po/de.po: Update from translation team.
18637
3b60b421
MK
186382013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18639
18640 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18641
bb931195
TS
186422013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18643
b5a5da23
TS
18644 * configure.in (_AC_PROG_CC_C89): New definition.
18645 * configure: Regenerate.
18646
bb931195
TS
18647 * configure.in (AC_PROG_CPP): New definition.
18648 * configure: Regenerate.
18649
8c53a12c
JM
186502013-01-23 Joseph Myers <joseph@codesourcery.com>
18651
18652 * debug/tst-backtrace.h: New file.
18653 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18654 (ret): Remove variable.
18655 (x): Likewise.
18656 (FAIL): Remove macro.
18657 (NO_INLINE): Likewise.
18658 (fn1): Use match function instead of strstr.
18659 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18660 (ret): Remove variable.
18661 (x): Likewise.
18662 (FAIL): Remove macro.
18663 (NO_INLINE): Likewise.
18664 (fn): Use match function instead of strstr.
18665 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18666 (ret): Remove variable.
18667 (x): Likewise.
18668 (FAIL): Remove macro.
18669 (NO_INLINE): Likewise.
18670 (handle_signal): Use match function instead of strstr.
18671 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18672 (ret): Remove variable.
18673 (x): Likewise.
18674 (FAIL): Remove macro.
18675 (NO_INLINE): Likewise.
18676 (handle_signal): Use match function instead of strstr.
18677
4858fa2a
RM
186782013-01-23 Roland McGrath <roland@hack.frob.com>
18679
18680 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18681
bae8e7f5
DM
186822013-01-23 David S. Miller <davem@davemloft.net>
18683
18684 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18685 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18686 argument of CAS if possible.
18687 * sysdeps/sparc/sparc64/bits/atomic.h
18688 (__arch_compare_and_exchange_val_32_acq): Likewise.
18689 (__arch_compare_and_exchange_val_64_acq): Likewise.
18690
9cbbc4ae
PT
186912013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18692
18693 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18694 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18695 Include <limits.h>.
67b3f58c 18696 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18697
5655a0b5
AC
186982013-01-23 Adam Conrad <adconrad@0c3.net>
18699
18700 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18701 (LDFLAGS-tst-array5): Likewise.
18702
052aff95
JM
187032013-01-23 Joseph Myers <joseph@codesourcery.com>
18704
18705 [BZ #15036]
18706 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18707 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18708 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18709 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18710
7c1e01aa
DM
187112013-01-21 David S. Miller <davem@davemloft.net>
18712
18713 * sysdeps/sparc/backtrace.c: New file.
18714 * sysdeps/sparc/sparc32/backtrace.h: New file.
18715 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18716 * sysdeps/sparc/sparc64/backtrace.h: New file.
18717 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18718 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18719 -funwind-tables.
18720
ab087e0a
AS
187212013-01-21 Andreas Schwab <schwab@suse.de>
18722
18723 [BZ #15020]
18724 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18725 closed its stdout.
18726
ed689c2f
AS
187272013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18728
18729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18730 "mpa2.h".
18731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18732
31d470ac
JM
187332013-01-18 Joseph Myers <joseph@codesourcery.com>
18734 Mark Mitchell <mark@codesourcery.com>
18735 Tom de Vries <tom@codesourcery.com>
18736 Paul Pluzhnikov <ppluzhnikov@google.com>
18737
18738 * debug/tst-backtrace2.c: New file.
18739 * debug/tst-backtrace3.c: Likewise.
18740 * debug/tst-backtrace4.c: Likewise.
18741 * debug/tst-backtrace5.c: Likewise.
18742 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18743 (CFLAGS-tst-backtrace3.c): Likewise.
18744 (CFLAGS-tst-backtrace4.c): Likewise.
18745 (CFLAGS-tst-backtrace5.c): Likewise.
18746 (LDFLAGS-tst-backtrace2): Likewise.
18747 (LDFLAGS-tst-backtrace3): Likewise.
18748 (LDFLAGS-tst-backtrace4): Likewise.
18749 (LDFLAGS-tst-backtrace5): Likewise.
18750 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18751 tst-backtrace4 and tst-backtrace5.
18752
90567f30 187532013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18754 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18755
18756 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18757 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18758 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18759 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18761 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18762 "+r" and remove output regs list as redundant. Add explicit inline
18763 asm to specify register of return val to work around compiler codegen
18764 bug. Remove (int) cast on return value. Add return type parameter to
18765 use in macro so that this macro does not truncate return value for
18766 64-bit values.
18767 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18768 pass to INTERNAL_VSYSCALL_NCS.
18769 (INLINE_VSYSCALL): Add 'long int' as return type to
18770 INTERNAL_VSYSCALL_NCS macro invocation.
18771 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18772 INTERNAL_VSYSCALL_NCS macro invocation.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18774
d3b9ea61
SP
187752013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18776
0b57daeb
SP
18777 [BZ #14496]
18778 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18779 Fix application of SIMD FP exception mask.
18780
caa99d06
SP
18781 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18782 mp_no from a power of two.
18783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18784 __mpexp_twomm1. Use __pow_mp.
18785
d3b9ea61
SP
18786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18787 multiplication.
18788
1dbaee3c
DM
187892013-01-17 David S. Miller <davem@davemloft.net>
18790
18791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18792
728d7b43
JM
187932013-01-17 Joseph Myers <joseph@codesourcery.com>
18794
18795 [BZ #15023]
18796 * include/complex.h: Condition contents on [!_COMPLEX_H].
18797 (__kernel_casinhf): New prototype.
18798 (__kernel_casinh): Likewise.
18799 (__kernel_casinhl): Likewise.
18800 * math/Makefile (libm_calls): Add k_casinh.
18801 * math/k_casinh.c: New file.
18802 * math/k_casinhf.c: Likewise.
18803 * math/k_casinhl.c: Likewise.
18804 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18805 finite nonzero arguments.
18806 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18807 finite nonzero arguments.
18808 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18809 finite nonzero arguments.
18810 * math/s_casinh.c: Do not include <float.h>.
18811 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18812 * math/s_casinhf.c: Do not include <float.h>.
18813 (__casinhf): Move code for finite nonzero arguments to
18814 k_casinhf.c.
18815 * math/s_casinhl.c: Do not include <float.h>.
18816 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18817 redefine.
18818 (__casinhl): Move code for finite nonzero arguments to
18819 k_casinhl.c.
18820 * math/libm-test.inc (cacos_test): Add more tests.
18821 * sysdeps/i386/fpu/libm-test-ulps: Update.
18822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18823
2a26ef3a
PT
188242013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18825
18826 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18827 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18828 [!HAVE_MREMAP]: Remove [defined linux] case.
18829 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18830
a897655d
SP
188312013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18832
18833 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18834
881ebe89 188352013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18836
18837 * elf/elf.h (R_386_SIZE32): New relocation.
18838 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18839 R_386_SIZE32.
18840 (elf_machine_rela): Likewise.
18841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18842 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18843
59981e9b
JM
188442013-01-17 Joseph Myers <joseph@codesourcery.com>
18845
18846 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18847 (FP_FAST_FMA): Do not define.
18848 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18849 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18850 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18851 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18852 !_SOFT_FLOAT]: Likewise.
18853 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18854 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18855 value.
18856 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18857 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18858 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18859 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18860 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18861 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18862 file.
18863
cfa8054f
AS
188642013-01-16 Andreas Schwab <schwab@suse.de>
18865
18866 [BZ #14327]
18867 * include/stdlib.h (__mktemp): Add declaration.
18868 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18869 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18870
dd930cc5
SP
188712013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18872
881ebe89
SP
18873 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18874 definitions.
18875 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18876 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18877 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18878 definitions here.
18879 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18880 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18881 definitions.
18882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18883 and ONE.
18884 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18885 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18886 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18887 definitions.
18888 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18889 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18890 definitions.
18891 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18892
dd930cc5
SP
18893 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18894
c19a9f89
DM
188952013-01-15 David S. Miller <davem@davemloft.net>
18896
1aa61767
DM
18897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18898 trunc{,f} to libm-sysdep_routes.
18899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18901 file.
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18904 file.
18905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18906 file.
18907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18912 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18913 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18914 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18915
c42d5e98
DM
18916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18917 nearbyint{,f} to libm-sysdep_routes.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18920 New file.
18921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18922 file.
18923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18924 New file.
18925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18926 file.
18927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18930 file.
18931 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18932 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18933 file.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18935 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18936 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18937
c19a9f89
DM
18938 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18939 libc_feholdexcept and libc_fesetenv.
18940
357679d2
MF
189412013-01-15 Mike Frysinger <vapier@gentoo.org>
18942
18943 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18944
65a82e3d
DM
189452013-01-14 David S. Miller <davem@davemloft.net>
18946
8b954ab9
DM
18947 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18948 (SPARC_ASM_VIS2_IFUNC): Likewise.
18949 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18951 use of 'siam' instruction.
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18953 Likewise.
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18955 Likewise.
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18957 Likewise.
18958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18963 file.
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18965 file.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18967 file.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18969 file.
18970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18975 new VIS2 routines.
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18979 Likewise.
18980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18985 routines to libm-sysdep_routines.
18986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18987
65a82e3d
DM
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18989 fdim/fdimf to libm-sysdep_routines.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18991 file.
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18994 file.
18995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18998 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18999 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19000 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19001 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19002
e34ab705
SP
190032013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19004
2a91b573
SP
19005 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19006 to optimize copies.
19007
1066a534
SP
19008 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19011
e34ab705
SP
19012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19013 local variable MPTWO.
19014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19015 Likewise.
19016
aba5e596
MF
190172013-01-13 Mike Frysinger <vapier@gentoo.org>
19018
19019 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19020 GLOB_NOESCAPE.
19021
e557e9e5
MF
190222013-01-13 Mike Frysinger <vapier@gentoo.org>
19023
19024 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19025
0428cec9
MF
190262013-01-13 Mike Frysinger <vapier@gentoo.org>
19027
19028 * manual/pattern.texi (glob_t): Document gl_flags.
19029 (glob64_t): Likewise.
19030
8794a964
DM
190312013-01-11 David S. Miller <davem@davemloft.net>
19032
66438c3f
RM
19033 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19034 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19035 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19036 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19037 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19038 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19039 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19040 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19041 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19042 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19043 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19044 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19045 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19046
4ae4244d
DM
19047 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19048 sparc V9 rather than using V8 code.
19049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19051
8794a964
DM
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19053 Move to...
19054 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19055 Here.
19056
6270516e
RM
190572013-01-11 Roland McGrath <roland@hack.frob.com>
19058
19059 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19060 not in the main loop.
19061 * configure: Regenerated.
19062
6a57d931
JM
190632013-01-11 Joseph Myers <joseph@codesourcery.com>
19064
19065 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19066 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19067 to just #else.
19068 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19069 [!__GLIBC_HAVE_LONG_LONG] case.
19070 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19071 condition to just #else.
19072 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19073 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19074 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19075 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19076 unconditional.
19077 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19078 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19079 #elif condition to just #else.
19080 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19081 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19082 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19083 #elif condition to just #else.
19084
0e8529e9
SE
190852013-01-11 Steve Ellcey <sellcey@mips.com>
19086
19087 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19088 (EF_MIPS_ARCH_64): Fix value.
19089 (EF_MIPS_ARCH_32R2): New.
19090 (EF_MIPS_ARCH_64R2): New.
19091
740b3dbe
L
190922013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19093
19094 * Makeconfig (+link-pie-before-libc): New.
19095 (+link-pie-after-libc): Likewise.
19096 (+link-pie-tests): Likewise.
19097 (+link-pie): Rewritten.
19098 (link-before-libc): Remove $(config-LDFLAGS).
19099 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19100 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19101 (config-LDFLAGS): Renamed to ...
19102 (rtld-LDFLAGS): This.
19103 (rtld-tests-LDFLAGS): New macro.
19104 (link-libc-rpath-link): Likewise.
19105 (link-libc-tests-rpath-link): Likewise.
19106 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19107 (link-libc): Prepand $(link-libc-rpath-link).
19108 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19109 (test-program-prefix): New macro.
19110 (test-via-rtld-prefix): Likewise.
19111 (test-program-cmd): Likewise.
19112 (host-test-program-cmd): Likewise.
19113 * Makefile ($(common-objpfx)testrun.sh): Replace
19114 $(run-program-prefix) with $(test-program-prefix).
19115 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19116 $(rtld-LDFLAGS).
19117 ($(common-objpfx)shlib.lds): Likewise.
19118 (build-module-helper): Likewise.
19119 ($(common-objpfx)format.lds): Likewise.
19120 * Rules (binaries-pie-tests): New.
19121 (binaries-pie-notests): Likewise.
19122 (binaries-pie): Rewritten.
19123 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19124 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19125 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19126 (make-test-out): Replace $(host-built-program-cmd) with
19127 $(host-test-program-cmd).
19128 * config.make.in (build-hardcoded-path-in-tests): New variable.
19129 * configure.in (--enable-hardcoded-path-in-tests): New configure
19130 option.
19131 (hardcoded_path_in_tests): New AC_SUBST.
19132 * configure: Regenerated.
19133 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19134 $(built-program-cmd) with $(test-program-cmd).
19135 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19136 (test_program_cmd): This.
19137 * elf/Makefile ($(objpfx)order.out): Run test with
19138 $(test-program-prefix).
19139 ($(objpfx)order2.out): Likewise.
19140 ($(objpfx)tst-initorder.out): Likewise.
19141 ($(objpfx)tst-initorder2.out): Likewise.
19142 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19143 $(test-program-cmd).
19144 ($(objpfx)tst-array1-static.out): Likewise.
19145 ($(objpfx)tst-array2.out): Likewise.
19146 ($(objpfx)tst-array3.out): Likewise.
19147 ($(objpfx)tst-array4.out): Likewise.
19148 ($(objpfx)tst-array5.out): Likewise.
19149 ($(objpfx)tst-array5-static.out): Likewise.
19150 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19151 $(test-program-cmd).
19152 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19153 $(run-program-prefix) with $(test-program-prefix).
19154 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19155 (test_program_prefix): This.
19156 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19157 $(run-program-prefix) with $(test-program-prefix).
19158 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19159 (test_program_prefix): This.
19160 * iconvdata/tst-tables.sh: Likewise.
19161 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19162 $(run-program-prefix) with $(test-program-prefix).
19163 ($(objpfx)tst-translit.out): Likewise.
19164 ($(objpfx)tst-gettext2.out): Likewise.
19165 ($(objpfx)tst-gettext4.out): Likewise.
19166 ($(objpfx)tst-gettext6.out): Likewise.
19167 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19168 (test_program_prefix): This.
19169 * intl/tst-gettext2.sh: Likewise.
19170 * intl/tst-gettext4.sh Likewise.
19171 * intl/tst-gettext6.sh: Likewise.
19172 * intl/tst-translit.sh: Likewise.
19173 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19174 with $(test-program-cmd).
19175 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19176 $(run-program-prefix) with $(test-program-prefix).
19177 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19178 (test_program_prefix): This.
19179 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19180 $(run-program-prefix) with $(test-program-prefix).
19181 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19182 (test_program_prefix): This.
19183 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19184 * posix/Makefile ($(objpfx)globtest.out): Replace
19185 $(run-via-rtld-prefix) and $(test-wrapper) with
19186 $(test-program-prefix) and $(test-via-rtld-prefix).
19187 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19188 $(test-program-prefix).
19189 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19190 $(host-test-program-cmd).
19191 (tst-spawn-ARGS): Likewise.
19192 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19193 $(test-program-prefix).
19194 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19195 (test_via_rtld_prefix): This.
19196 (test_wrapper): Renamed to ...
19197 (test_program_prefix): This.
19198 (run_program_prefix): Replaced by test_program_prefix.
19199 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19200 (test_program_prefix): This.
19201 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19202 with $(host-test-program-cmd).
19203 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19204 $(run-program-prefix) with $(test-program-prefix).
19205 ($(objpfx)tst-printf.out): Likewise.
19206 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19207 $(test-program-cmd).
19208 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19209 (test_program_prefix): This.
19210 * stdio-common/tst-unbputc.sh: Likewise.
19211 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19212 $(run-program-prefix) with $(test-program-prefix).
19213 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19214 (test_program_prefix): This.
19215 * string/Makefile ($(objpfx)tst-svc.out): Replace
19216 $(built-program-cmd) with $(test-program-cmd).
19217
c6fe55cf
AJ
192182013-01-11 Andreas Jaeger <aj@suse.de>
19219
19220 [BZ #15003]
19221 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19222 value. Sync with Linux 3.7.
19223
9e6919c8
DM
192242013-01-10 David S. Miller <davem@davemloft.net>
19225
19226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19227 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19228 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19229
1c9f1a02
RM
192302013-01-10 Roland McGrath <roland@hack.frob.com>
19231
19232 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19233 never set.
19234 * configure: Regenerated.
19235
b9de2dde
DM
192362013-01-10 David S. Miller <davem@davemloft.net>
19237
19238 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19239 sparc V9 rather than using V8 code.
19240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19242
e7f68ef4
RM
192432013-01-10 Roland McGrath <roland@hack.frob.com>
19244
19245 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19246 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19247 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19248 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19249 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19250 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19251 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19252 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19253 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19254 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19255 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19256 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19257 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19258 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19259 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19260 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19261 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19262 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19263 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19264 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19265 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19266 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19267 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19268 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19269 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19270 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19271 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19272
5a47cc9c
DM
192732013-01-10 David S. Miller <davem@davemloft.net>
19274
19275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19276
4cf8f209
L
192772013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19278
19279 * posix/Makefile (tests-static): New variable.
19280 (tests): Add $(tests-static).
19281 (tst-exec-static-ARGS): New variable.
19282 (tst-spawn-static-ARGS): Likewise.
19283 * posix/tst-exec-static.c: New file.
19284 * posix/tst-spawn-static.c: Likewise.
19285 * posix/tst-exec.c: Support run directly.
19286 * posix/tst-spawn.c: Likewise.
19287
fed0faa1
JM
192882013-01-10 Joseph Myers <joseph@codesourcery.com>
19289
828beb13
JM
19290 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19291 long.
19292 * math/bits/mathcalls.h (llrint): Likewise.
19293 (llround): Likewise.
19294 * stdlib/stdlib.h (struct drand48_data): Likewise.
19295 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19296 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19297 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19298 Likewise.
19299 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19300 Likewise.
19301 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19302 (elf_greg_t): Likewise.
19303 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19304 (__jmp_buf): Likewise.
19305 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19306 definitions.
19307 (llrint): Likewise, for all definitions.
19308 (llrintl): Likewise.
19309
fed0faa1
JM
19310 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19311 Remove [__GNUC__] condition.
19312 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19313 condition to just [__USE_ISOC99].
19314 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19315
1a20cb20
L
193162013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19317
19318 [BZ #14200]
19319 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19320 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19321 defined.
19322 (_POSIX_V6_ILP32_OFF32): Likewise.
19323 (_XBS5_ILP32_OFF32): Likewise.
19324 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19325 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19326
751b85f7
SP
193272013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19328
7490eb81
SP
19329 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19330
751b85f7
SP
19331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19332 doubles __mpexp_twomm1. Adjust usage.
19333 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19334 Remove.
19335
988197f0
AS
193362013-01-10 Andreas Schwab <schwab@suse.de>
19337
19338 [BZ #14964]
19339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19340 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19341
e83d7298
DM
193422013-01-09 David S. Miller <davem@davemloft.net>
19343
034ed64b 19344 [BZ #15003]
e83d7298
DM
19345 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19346 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19347 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19348 TCP_FASTOPEN): Define.
19349 (tcp_repair_opt): New structure.
19350 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19351 enum values.
19352 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19353 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19354 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19355 (tcp_cookie_transactions): New structure.
19356
d5e0b9bd
AB
193572013-01-09 Anton Blanchard <anton@samba.org>
19358
19359 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19360 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19361 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19362 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19363
0c07e3ea
JM
193642013-01-09 Joseph Myers <joseph@codesourcery.com>
19365
19366 * include/features.h (__USE_ANSI): Remove.
19367
232f7002
RM
193682013-01-09 Roland McGrath <roland@hack.frob.com>
19369
ad98e30c
RM
19370 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19371
232f7002
RM
19372 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19373
950c99ca
SP
193742013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19375
b5792741
SP
19376 * sysdeps/s390/fpu/libm-test-ulps: Update.
19377
47cf2278
SP
19378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19379
950c99ca
SP
19380 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19381 (__acr): Likewise.
19382 (__cpy): Likewise.
19383 (norm): Likewise.
19384 (denorm): Likewise.
19385 (__mp_dbl): Likewise.
19386 (__dbl_mp): Likewise.
19387 (add_magnitudes): Likewise.
19388 (sub_magnitudes): Likewise.
19389 (__add): Likewise.
19390 (__sub): Likewise.
19391 (__mul): Likewise.
19392 (__inv): Likewise.
19393 (__dvd): Likewise.
19394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19395 (__acr): Likewise.
19396 (__cpy): Likewise.
19397 (norm): Likewise.
19398 (denorm): Likewise.
19399 (__mp_dbl): Likewise.
19400 (__dbl_mp): Likewise.
19401 (add_magnitudes): Likewise.
19402 (sub_magnitudes): Likewise.
19403 (__add): Likewise.
19404 (__sub): Likewise.
19405 (__mul): Likewise.
19406 (__inv): Likewise.
19407 (__dvd): Likewise.
19408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19409 (__acr): Likewise.
19410 (__cpy): Likewise.
19411 (norm): Likewise.
19412 (denorm): Likewise.
19413 (__mp_dbl): Likewise.
19414 (__dbl_mp): Likewise.
19415 (add_magnitudes): Likewise.
19416 (sub_magnitudes): Likewise.
19417 (__add): Likewise.
19418 (__sub): Likewise.
19419 (__mul): Likewise.
19420 (__inv): Likewise.
19421 (__dvd): Likewise.
19422
eede9df9
JM
194232013-01-08 Joseph Myers <joseph@codesourcery.com>
19424
19425 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19426 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19427 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19428 2 && __USE_EXTERN_INLINES]: Likewise.
19429
c40ea3d9
AJ
194302013-01-08 Andreas Jaeger <aj@suse.de>
19431
19432 [BZ# 14985]
19433 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19434 Remove.
19435 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19436 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19437
2ccdea26
AB
194382013-01-07 Anton Blanchard <anton@samba.org>
19439
19440 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19441 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19442 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19443 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19444 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19445 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19446 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19447 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19449 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19450 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19451 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19452 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19454 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19455 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19456 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19457 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19458 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19459 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19461 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19463 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19464 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19465 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19466 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19467 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19468 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19469 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19470 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19473 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19474 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19478 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19480 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19481 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19482 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19483
a9708fed
JM
194842013-01-07 Joseph Myers <joseph@codesourcery.com>
19485
375607b9
JM
19486 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19487 (__MALLOC_PMT): Likewise.
19488 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19489 [__GNUC__], only on [_LIBC].
19490 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19491 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19492 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19493 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19494 forward declaration.
19495 (realloc_hook_ini): Likewise.
19496 (memalign_hook_ini): Likewise.
19497 (__libc_memalign): Do not use __MALLOC_PMT in variable
19498 declaration.
19499 (__libc_valloc): Likewise.
19500 (__libc_pvalloc): Likewise.
19501 (__libc_calloc): Likewise.
19502 (__posix_memalign): Likewise.
19503
a9708fed
JM
19504 [BZ #14996]
19505 * math/s_casinh.c: Include <float.h>.
19506 (__casinh): Do not do computation with squaring and square root
19507 for large arguments.
19508 * math/s_casinhf.c: Include <float.h>.
19509 (__casinhf): Do not do computation with squaring and square root
19510 for large arguments.
19511 * math/s_casinhl.c: Include <float.h>.
19512 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19513 (__casinhl): Do not do computation with squaring and square root
19514 for large arguments.
19515 * math/libm-test.inc (casin_test): Add more tests.
19516 (casinh_test): Likewise.
19517 * sysdeps/i386/fpu/libm-test-ulps: Update.
19518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19519
afec409a
L
195202013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19521
19522 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19523 (__x86_64_raw_data_cache_size): Likewise.
19524 (__x86_64_data_cache_size_half): Likewise.
19525 (__x86_64_raw_data_cache_size_half): Likewise.
19526 (__x86_64_shared_cache_size): Likewise.
19527 (__x86_64_raw_shared_cache_size): Likewise.
19528 (__x86_64_shared_cache_size_half): Likewise.
19529 (__x86_64_raw_shared_cache_size_half): Likewise.
19530 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19531 to ...
19532 (__x86_data_cache_size): This.
19533 (__x86_64_raw_data_cache_size): Renamed to ...
19534 (__x86_raw_data_cache_size): This.
19535 (__x86_64_data_cache_size_half): Renamed to ...
19536 (__x86_data_cache_size_half): This.
19537 (__x86_64_raw_data_cache_size_half): Renamed to ...
19538 (__x86_raw_data_cache_size_half): This.
19539 (__x86_64_shared_cache_size): Renamed to ...
19540 (__x86_shared_cache_size): This.
19541 (__x86_64_raw_shared_cache_size): Renamed to ...
19542 (__x86_raw_shared_cache_size): This.
19543 (__x86_64_shared_cache_size_half): Renamed to ...
19544 (__x86_shared_cache_size_half): This.
19545 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19546 (__x86_raw_shared_cache_size_half): This.
19547 * sysdeps/x86_64/memcpy.S: Updated.
19548 * sysdeps/x86_64/memset.S: Likewise.
19549 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19551 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19552
0b3986d0
DM
195532013-01-04 David S. Miller <davem@davemloft.net>
19554
19555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19556
e47686e9
AS
195572013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19558
d643bac1
AS
19559 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19560 1 to avoid redefinition warning.
19561 (__USE_GNU): Don't define.
19562 (init_signaling_nan): Protoize.
19563
e47686e9
AS
19564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19565
b18decba
SP
195662013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19567
fffb407f
SP
19568 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19570 (__cpymn): Likewise.
19571 (norm): Remove commented code.
19572 (denorm): Likewise.
19573 (__mp_dbl): Likewise.
19574 (__inv): Likewise.
19575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19576 (__cpymn): Likewise.
19577 (norm): Remove commented code.
19578 (denorm): Likewise.
19579 (__mp_dbl): Likewise.
19580 (__inv): Likewise.
19581
b18decba
SP
19582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19583 mp_no value for 1.0 and 2.0.
19584 (norm): Use RADIXI instead of radixi.d.
19585 (denorm): Likewise.
19586 (__mul): Use 0.0 instead of zero.d.
19587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19588 mp_no value for 1.0 and 2.0.
19589 (norm): Use RADIXI instead of radixi.d.
19590 (denorm): Likewise.
19591 (__mul): Use 0.0 instead of zero.d.
19592
cdc1c96f
JM
195932013-01-04 Joseph Myers <joseph@codesourcery.com>
19594
19595 [BZ #14994]
19596 * math/s_casinh.c (__casinh): Reduce finite argument to first
19597 quadrant then set signs of results at the end.
19598 * math/s_casinhf.c (__casinhf): Likewise.
19599 * math/s_casinhl.c (__casinhl): Likewise.
19600 * math/libm-test.inc (casin_test): Add more tests.
19601 (casinh_test): Likewise.
19602 * sysdeps/i386/fpu/libm-test-ulps: Update.
19603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19604
302913e1
SP
196052013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19606
6420d207
SP
19607 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19608
a9e48ab4
SP
19609 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19610
b7837264
SP
19611 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19612 declarations.
19613 (denorm): Likewise.
19614 (__mp_dbl): Likewise.
19615 (__inv): Likewise.
19616
f8af25d2
SP
19617 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19618 and adjust the header comment.
19619
302913e1
SP
19620 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19621 variable name from declaration.
19622
5d7dd1ca
L
196232013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19624
19625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19626 Initialize COMMON_CPUID_INDEX_7 element.
19627 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19628 (CPUID_RTM): Likewise.
19629 (HAS_RTM): Likewise.
19630 (COMMON_CPUID_INDEX_7): New enum.
19631
2f5f40f4
AS
196322013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19633
19634 [BZ #14981]
19635 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19636 size is zero, record memory as freed.
19637
4056f4a0
AJ
196382013-01-03 Andreas Jaeger <aj@suse.de>
19639
19640 * po/ia.po: Add new Interlingua translation.
19641
ab15736f 196422012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19643
19644 * locale/programs/localedef.c: Fix description of '--posix' flag.
19645
568035b7
JM
196462013-01-02 Joseph Myers <joseph@codesourcery.com>
19647
e6898b8d
JM
19648 * NEWS: Update dates in second copyright notice.
19649 * README: Update copyright dates in example.
19650 * manual/libc.texinfo: Update copyright dates.
19651 * scripts/test-installation.pl: Update copyright date in --version
19652 output.
19653
0e2f9562
JM
19654 * hurd/ctty-input.c: Fix copyright notice formatting.
19655 * hurd/ctty-output.c: Likewise.
19656 * hurd/dtable.c: Likewise.
19657 * hurd/hurd-raise.c: Likewise.
19658 * hurd/hurdprio.c: Likewise.
19659 * hurd/msgportdemux.c: Likewise.
19660 * misc/sys/file.h: Likewise.
19661 * misc/sys/ioctl.h: Likewise.
19662 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19663 * sysdeps/mach/hurd/chdir.c: Likewise.
19664 * sysdeps/mach/hurd/fchdir.c: Likewise.
19665 * sysdeps/mach/hurd/rename.c: Likewise.
19666 * sysdeps/mach/hurd/rmdir.c: Likewise.
19667 * sysdeps/mach/hurd/seekdir.c: Likewise.
19668 * sysdeps/mach/hurd/setsid.c: Likewise.
19669 * sysdeps/posix/wait3.c: Likewise.
19670
568035b7
JM
19671 * All files with FSF copyright notices: Update copyright dates
19672 using scripts/update-copyrights.
19673 * intl/plural.c: Regenerated.
19674 * locale/programs/charmap-kw.h: Likewise.
19675 * locale/programs/locfile-kw.h: Likewise.
19676
da08f647
SP
196772013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19678
0f5477af
SP
19679 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19680 four values.
19681
44e0d4c2
SP
19682 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19683 calculation loop and add branch prediction.
19684
4d55b4e5
SP
19685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19686 check access beyond bounds of m1np.
19687
da08f647
SP
19688 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19689 MPTWO.
19690 (__inv): Remove local variable MPTWO to use the global
19691 constant.
19692 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19693 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19694 variable MPTWO.
19695 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19696 MP3HALFS static const.
19697
8e051029
DM
196982013-01-01 David S. Miller <davem@davemloft.net>
19699
19700 * po/ca.po: Update from translation team.
19701
f4cf5f2d
JM
197022013-01-01 Joseph Myers <joseph@codesourcery.com>
19703
19704 * scripts/update-copyrights: New file.
19705 * Makeconfig: Reformat copyright notice.
19706 * ctype/ctype.h: Likewise.
19707 * debug/swprintf_chk.c: Likewise.
19708 * elf/dl-cache.c: Likewise.
19709 * elf/dl-debug.c: Likewise.
19710 * elf/dl-object.c: Likewise.
19711 * grp/initgroups.c: Likewise.
19712 * hurd/Makefile: Likewise.
19713 * hurd/hurd/signal.h: Likewise.
19714 * hurd/hurdfault.c: Likewise.
19715 * hurd/hurdioctl.c: Likewise.
19716 * hurd/hurdlookup.c: Likewise.
19717 * hurd/intr-msg.c: Likewise.
19718 * iconv/gconv_open.c: Likewise.
19719 * libio/swprintf.c: Likewise.
19720 * locale/lc-ctype.c: Likewise.
19721 * locale/nl_langinfo.c: Likewise.
19722 * mach/Machrules: Likewise.
19723 * mach/Makefile: Likewise.
19724 * malloc/obstack.h: Likewise.
19725 * manual/Makefile: Likewise.
19726 * manual/tsort.awk: Likewise.
19727 * misc/bits/stab.def: Likewise.
19728 * nis/nis_print_group_entry.c: Likewise.
19729 * nis/nis_table.c: Likewise.
19730 * nis/nss_compat/compat-pwd.c: Likewise.
19731 * nis/nss_compat/compat-spwd.c: Likewise.
19732 * po/Makefile: Likewise.
19733 * posix/fnmatch.c: Likewise.
19734 * posix/regex.h: Likewise.
19735 * resolv/Makefile: Likewise.
19736 * resolv/nss_dns/dns-network.c: Likewise.
19737 * resolv/res_hconf.c: Likewise.
19738 * scripts/gen-sorted.awk: Likewise.
19739 * soft-fp/soft-fp.h: Likewise.
19740 * stdio-common/printf.h: Likewise.
19741 * stdlib/monetary.h: Likewise.
19742 * stdlib/random.c: Likewise.
19743 * stdlib/random_r.c: Likewise.
19744 * sysdeps/generic/Makefile: Likewise.
19745 * sysdeps/gnu/Makefile: Likewise.
19746 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19769 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19770 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19774 * sysdeps/mach/hurd/errnos.awk: Likewise.
19775 * sysdeps/mach/hurd/fork.c: Likewise.
19776 * sysdeps/mach/hurd/getcwd.c: Likewise.
19777 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19778 * sysdeps/mach/hurd/mmap.c: Likewise.
19779 * sysdeps/mach/hurd/utimes.c: Likewise.
19780 * sysdeps/mach/hurd/xmknod.c: Likewise.
19781 * sysdeps/posix/profil.c: Likewise.
19782 * sysdeps/posix/readdir_r.c: Likewise.
19783 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19784 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19785 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19786 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19788 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19789 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19790 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19792 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19793 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19794 * sysdeps/pthread/lio_listio.c: Likewise.
19795 * sysdeps/sparc/dl-procinfo.h: Likewise.
19796 * sysdeps/unix/i386/sysdep.S: Likewise.
19797 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19798 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19799 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19800 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19802 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19803 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19804 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19805 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19806 * sysdeps/wordsize-32/divdi3.c: Likewise.
19807 * time/sys/time.h: Likewise.
19808 * wcsmbs/Makefile: Likewise.
19809
0549fbba
DM
198102013-01-01 David S. Miller <davem@davemloft.net>
19811
a141f1a7
DM
19812 * po/fr.po: Update from translation team.
19813
0549fbba
DM
19814 * catgets/gencat.c: Update copyright year.
19815 * csu/version.c: Likewise.
19816 * debug/catchsegv.sh: Likewise.
19817 * debug/pcprofiledump.c: Likewise.
19818 * debug/xtrace.sh: Likewise.
19819 * elf/ldconfig.c: Likewise.
19820 * elf/ldd.bash.in: Likewise.
19821 * elf/pldd.c: Likewise.
19822 * elf/sotruss.ksh: Likewise.
19823 * elf/sprof.c: Likewise.
19824 * iconv/iconv_prog.c: Likewise.
19825 * iconv/iconvconfig.c: Likewise.
19826 * locale/programs/locale.c: Likewise.
19827 * locale/programs/localedef.c: Likewise.
19828 * login/programs/pt_chown.c: Likewise.
19829 * malloc/memusage.sh: Likewise.
19830 * malloc/memusagestat.c: Likewise.
19831 * malloc/mtrace.pl: Likewise.
19832 * nscd/nscd.c: Likewise.
19833 * nss/getent.c: Likewise.
19834 * nss/makedb.c: Likewise.
19835 * posix/getconf.c: Likewise.
19836
18ea052c
SP
198372012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19838
19839 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19840 numbers.
19841
9c89fca6
MF
198422012-12-30 Mike Frysinger <vapier@gentoo.org>
19843
19844 * math/bits/mathcalls.h (modf): Use __nonnull.
19845
085ec079
SP
198462012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19847
19848 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19849 (split): Use macro CN instead of the bare value.
19850 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19851 could be used.
19852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19853 instead of the bare value.
19854 (power1): Likewise.
19855
6d9f97e1
SP
198562012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19857
d63f73be
SP
19858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19859 __ATAN_TWOM.
19860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19861
6d9f97e1
SP
19862 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19863 their values.
19864 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19866 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19867 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19868
4c4febf5
AJ
198692012-12-28 Andreas Jaeger <aj@suse.de>
19870
af5843ef
AJ
19871 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19872 values are from Linux 3.7.
19873
4c4febf5
AJ
19874 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19875 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19876
99136f82
SP
198772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19878
2f216c3c 19879 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19880 TRUE case.
19881
99136f82
SP
19882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19883 (norm): Likewise.
19884 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19885 variables with preprocessor constants.
19886 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19887 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19888 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19889
7fffbdff
BH
198902012-12-27 Bruno Haible <bruno@clisp.org>
19891
19892 [BZ #14317]
19893 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19894 only if needed.
19895
b76eb5f0
SP
198962012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19897
31a7fe5c
SP
19898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19899 and use variable directly.
19900 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19901
b76eb5f0
SP
19902 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19903 MPONE.
19904 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19906 variable MPONE.
19907 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19909 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19910 include directive. Remove local variable MPONE.
19911 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19912 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19913 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19914
2c8bfe7d
DM
199152012-12-25 David S. Miller <davem@davemloft.net>
19916
19917 * version.h (RELEASE): Set to "development".
19918 (VERSION): Set to "2.17.90".
19919 * NEWS: Add 2.18 section.
19920
147d03b0
DM
199212012-12-21 David S. Miller <davem@davemloft.net>
19922
19923 * po/hr.po: Update from translation team.
19924
a8ebb2b9
AK
199252012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19926
19927 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19928
95b4f1b6
SE
199292012-12-19 Steve Ellcey <sellcey@mips.com>
19930
b2d94007 19931 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19932
cedb2a90
MS
199332012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19934
19935 * manual/contrib.texi (Contributors): Spelling correction.
19936
bbf527d6
DM
199372012-12-15 David S. Miller <davem@davemloft.net>
19938
19939 * po/ru.po: Update from translation team.
19940
bc38c906
DM
199412012-12-13 David S. Miller <davem@davemloft.net>
19942
85429b1a
DM
19943 * NEWS: Mention IFUNC testsuite enhancements.
19944
d283e353
DM
19945 * po/pl.po: Update from translation team.
19946 * po/bg.po: Likewise.
19947
bc38c906
DM
19948 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19949 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19950
a181b0d7
DM
199512012-12-11 David S. Miller <davem@davemloft.net>
19952
4641d57e
DM
19953 * po/sv.po: Update from translation team.
19954
f7bc6495
DM
19955 * po/vi.po: Update from translation team.
19956
6fc9048f
DM
19957 * po/cs.po: Update from translation team.
19958
a181b0d7
DM
19959 * po/de.po: Update from translation team.
19960 * po/eo.po: Likewise.
19961 * po/nl.po: Likewise.
19962
f70bfe80
SP
199632012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19964
3c8b4190
SP
19965 [BZ #14246]
19966 * manual/argp.texi (Argp Helper Functions): Move node to follow
19967 Argp Parsing State.
19968
f70bfe80
SP
19969 [BZ #14872]
19970 * manual/conf.texi (Limits on File System Capacity): Mention if
19971 terminating null is included in the max size.
19972
188f0adf
AJ
199732012-12-10 Andreas Jaeger <aj@suse.de>
19974
19975 * po/cs.po: Update from translation team.
19976
56e7d3ad
SP
199772012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19978
19979 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19980 void pointer and cast to uintptr_t.
19981 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19982 path.
19983 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19984 * sysdeps/s390/s390-64/memset.S: Likewise.
19985
76f2d2ea 199862012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19987
19988 [BZ #14833]
19989 * menual/message.texi (Message Translation): Fix typos.
19990 (Helper programs for gettext): Likewise.
19991
67cbf9a2
AS
199922012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19993
19994 [BZ #14898]
19995 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19996 Change to -1.
19997
682d0e9a
DM
199982012-12-07 David S. Miller <davem@davemloft.net>
19999
20000 * po/libc.pot: Update.
20001
573cd484
RH
200022012-12-07 Richard Henderson <rth@redhat.com>
20003
7e9da188 20004 [BZ #10114]
573cd484
RH
20005 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20006 normal/normal case to before the switch.
20007 (_FP_DIV): Likewise.
20008
e933a943
MF
200092012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20010 Mike Frysinger <vapier@gentoo.org>
20011
20012 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20013 check for __NR_fadvise64_64.
20014
82123268
CM
200152012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20016
20017 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20018 0, not just to plain "0" as a statement.
20019 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20020 with cw.
20021
d9814526
JM
200222012-12-06 Joseph Myers <joseph@codesourcery.com>
20023
20024 * NEWS: Use sourceware.org in Bugzilla URL.
20025
7728c574
SP
200262012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20027
f16946dd
SP
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20029 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20030
5704bbcb
SP
20031 * stdio-common/tst-put-error.c (do_test): Add newline to the
20032 padded test to ensure flush.
20033
17aa0516
JL
200342012-12-05 Jeff Law <law@redhat.com>
20035
20036 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20037
363313b5
JM
200382012-12-05 Joseph Myers <joseph@codesourcery.com>
20039
effbd42a
JM
20040 * README: Don't refer to ports add-on as distributed separately.
20041 Mention AArch64 in list of systems supported in the ports add-on.
20042
87600365
JM
20043 * LICENSES: Add more non-FSF copyright and license notices.
20044
a0d7066a
JM
20045 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20046 ((unused)).
20047
66ca5a5b
JM
20048 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20049
363313b5
JM
20050 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20051 10000 as width of padded output.
20052
b37984ad
JM
200532012-12-04 Joseph Myers <joseph@codesourcery.com>
20054
9003570a
JM
20055 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20056
b37984ad
JM
20057 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20058 variable LX with __attribute__ ((unused)).
20059 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20060 Likewise.
20061 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20062 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20063 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20064 with __attribute__ ((unused)).
20065
c8df52ec
DM
200662012-12-04 David S. Miller <davem@abraco.davemloft.net>
20067
20068 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20069
b3b099af
JM
200702012-12-04 Joseph Myers <joseph@codesourcery.com>
20071
c33aa6e3
JM
20072 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20073 (CFLAGS-nldbl-acos.c): New variable.
20074 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20140 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20141 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20142 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20143 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20144 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20145 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20146 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20147 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20148 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20149 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20150 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20151 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20152 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20153 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20154 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20155 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20156 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20157 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20158 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20159 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20160 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20161 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20162 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20163 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20164 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20165 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20166 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20167 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20168 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20169 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20170 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20171
20f0018d
JM
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20173 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20174
b3b099af
JM
20175 [BZ #14914]
20176 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20177 whole low double instead of just low 47 bits when splitting values
20178 into two parts.
20179
029264d1
AM
201802012-12-03 Allan McRae <allan@archlinux.org>
20181
20182 * manual/stdio.texi (Predefined Printf Handlers): Remove
20183 @hsep and @vsep usage.
20184
c9d6789e
MF
201852012-12-03 Mike Frysinger <vapier@gentoo.org>
20186
20187 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20188 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20189
4b7634a5
JL
201902012-12-03 Jeff Law <law@redhat.com>
20191
20192 * time/sys/time.h (settimeofday): Do not mark TV argument
20193 as __nonnull.
20194
eb6cbd24
MF
201952012-12-01 Mike Frysinger <vapier@gentoo.org>
20196
20197 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20198 when currently writing and seek to current position when not.
20199 * libio/Makefile (tests): Remove bug-fclose1.
20200 * libio/bug-fclose1.c: Delete.
20201
f638872a
JM
202022012-12-01 Joseph Myers <joseph@codesourcery.com>
20203
20204 * manual/arith.texi (feenableexcept): Fix typo.
20205 (fedisableexcept): Likewise.
20206
48085d14
RM
202072012-11-30 Roland McGrath <roland@hack.frob.com>
20208
20209 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20210 second, differently-typed declaration, rather than a cast.
20211
1a538b9f
SP
202122012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20213
20214 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20215 * include/rpc/svc.h: ... here.
20216
d07f2ff1 202172012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20218
20219 [BZ #13013]
20220 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20221 depending n and resplen2 to catch cases where answer
20222 equals answerp2.
20223
c93ec1f0
CD
202242012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20225
20226 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20227 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20228
37db69de
MF
202292012-11-29 Mike Frysinger <vapier@gentoo.org>
20230
20231 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20232
e10c4e4f
RM
202332012-11-29 Roland McGrath <roland@hack.frob.com>
20234
20235 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20236
2af1b328
JL
202372012-11-28 Jeff Law <law@redhat.com>
20238
20239 [BZ #13761]
20240 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20241 dataset_temporary. Track alloca usage into alloca_used.
20242 If dataset is large allocate and release it via malloc/free.
20243
111db5b1
FW
202442012-06-04 Florian Weimer <fweimer@redhat.com>
20245
f06cc227 20246 [BZ #14197]
111db5b1
FW
20247 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20248
dd694abd
DM
202492012-11-28 David S. Miller <davem@davemloft.net>
20250
20251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20252
9984dd01
JM
202532012-11-28 Joseph Myers <joseph@codesourcery.com>
20254
20255 [BZ #14803]
20256 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20257 of pi/2 rounded to nearest to 64 bits.
20258 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20259 nearest to 64 bits.
20260 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20261 bits.
20262
14bc93a9
JL
202632012-11-28 Jeff Law <law@redhat.com>
20264 Martin Osvald <mosvald@redhat.com>
20265
20266 [BZ #14889]
20267 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20268 * sunrpc/svc.c: Include time.h.
20269 (__svc_accept_failed): New function.
20270 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20271 any reason other than EINTR, call __svc_accept_failed.
20272 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20273 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20274
e3c6aa3a
AS
202752012-11-28 Andreas Schwab <schwab@suse.de>
20276
20277 * scripts/abilist.awk: Also handle indirect functions in .opd
20278 section.
20279
1bead169
JM
202802012-11-28 Joseph Myers <joseph@codesourcery.com>
20281
20282 [BZ #13881]
20283 * sysdeps/x86/fpu/powl_helper.c: New file.
20284 * sysdeps/x86/fpu/Makefile: Likewise.
20285 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20286 (p3): New object.
20287 (__ieee754_powl): Use __powl_helper for finite arguments except
20288 integer exponents below 8.
20289 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20290 (p3): New object.
20291 (__ieee754_powl): Use __powl_helper for finite arguments except
20292 integer exponents below 8.
20293 * math/libm-test.inc (pow_test): Add more tests and enable some
20294 previously disabled tests.
20295 * sysdeps/i386/fpu/libm-test-ulps: Update.
20296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20297
0817d63d
SP
202982012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20299 Carlos O'Donell <carlos_odonell@mentor.com>
20300
20301 * nss/makedb.c (is_prime): Assert that input is odd and greater
20302 than 4. Note that fact in a comment too.
20303 (next_prime): Add 4 to input.
20304
de2fd463
SP
203052012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20306
20307 [BZ #11741]
20308 * libio/Makefile (tests): Add test case tst-fwrite-error.
20309 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20310 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20311 * libio/tst-fwrite-error.c: New test case.
20312
c515fb51
L
203132012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20314
20315 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20316 before casting to void *.
20317 * include/libc-internal.h (__pointer_type): New macro.
20318 (__integer_if_pointer_type_sub): Likewise.
20319 (__integer_if_pointer_type): Likewise.
20320 (cast_to_integer): Likewise.
20321 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20322 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20323 before casting to atomic64_t.
20324 (atomic_exchange_acq): Likewise.
20325 (__arch_exchange_and_add_body): Likewise.
20326 (__arch_add_body): Likewise.
20327 (atomic_add_negative): Likewise.
20328 (atomic_add_zero): Likewise.
20329
4cf77aa9
JM
203302012-11-26 Joseph Myers <joseph@codesourcery.com>
20331
20332 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20333 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20334 (add_fdes): Likewise.
20335 (linear_search_fdes): Likewise.
20336 (binary_search_unencoded_fdes): Likewise.
20337
d260b3b4
AS
203382012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20339
20340 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20341
67060746
AC
203422012-11-24 Adam Conrad <adconrad@0c3.net>
20343
20344 * configure.in: Autodetect C++ header directories.
20345 * configure: Regenerated.
20346
800938a1
MF
203472012-11-23 Mike Frysinger <vapier@gentoo.org>
20348
20349 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20350
4e6e34e6
AS
203512012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20352
20353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20354
7c7feb47
JM
203552012-11-22 Joseph Myers <joseph@codesourcery.com>
20356
7184dcdf
JM
20357 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20358 LDBL_MANT_DIG == 106]: Disable some tests.
20359 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20360 Likewise.
20361 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20362 Likewise.
20363
0a42601f
JM
20364 [BZ #14871]
20365 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20366 input for small inputs. Return +/- pi/2 for large inputs.
20367 * math/libm-test.inc (atan_test): Add more tests.
20368
79c9b9fe
JM
20369 * sysdeps/generic/unwind-dw2-fde-glibc.c
20370 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20371 __attribute__ ((unused)).
20372
c60d3bf2
JM
20373 [BZ #14645]
20374 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20375 x * y if x and y are nonzero and z is zero.
20376
ef1e0867
JM
20377 [BZ #14811]
20378 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20379 nonzero exponents with absolute value below 0x1p-117 to +/-
20380 0x1p-117.
20381
1468ded3
JM
20382 [BZ #14869]
20383 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20384 up arguments below 2**-450, not just those below 2**-500.
20385 * math/libm-test.inc (hypot_test): Add another test.
20386
8e27e3cc
JM
20387 [BZ #14868]
20388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20389 Return a+b for ratio over 2**120, not 2**60.
20390 * math/libm-test.inc (hypot_test): Add another test.
20391
c9c0279b
JM
20392 * math/libm-test.inc (clog_test): Use
20393 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20394 (clog10_test): Likewise.
20395
7c7feb47
JM
20396 [BZ #6778]
20397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20398
fff1530e
AS
203992012-11-22 Andreas Schwab <schwab@suse.de>
20400
20401 * sysdeps/i386/fpu/libm-test-ulps: Update.
20402
94558d30
PT
204032012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20404
20405 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20406 printf output with newline.
20407
7e1be741
L
204082012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20409
6bfea974
L
20410 [BZ #14865]
20411 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20412 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20413 -z nodlopen, -z initfirst and -z execstack support.
20414 * configure: Regenerated.
20415
7e1be741
L
20416 * elf/elf.h (DF_1_NODIRECT): New macro.
20417 (DF_1_IGNMULDEF): Likewise.
20418 (DF_1_NOKSYMS): Likewise.
20419 (DF_1_NOHDR): Likewise.
20420 (DF_1_EDITED): Likewise.
20421 (DF_1_NORELOC): Likewise.
20422 (DF_1_SYMINTPOSE): Likewise.
20423 (DF_1_GLOBAUDIT): Likewise.
20424 (DF_1_SINGLETON): Likewise.
20425 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20426 DT_1_SUPPORTED_MASK bits.
20427 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20428
105ce2ce
CD
204292012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20430
20431 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20432
123be9de
TS
204332012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20434
d072f3f7
TS
20435 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20436 macro.
20437
123be9de
TS
20438 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20439 (sendmmsg): Move declarations...
20440 * socket/sys/socket.h: ... here.
20441 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20442 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20443 include it from...
20444 * socket/recvmmsg.c: ... this new file.
20445 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20446 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20447 definition of __sendmmsg hidden.
20448 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20449 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20450 Move ENOSYS stub into and include it from...
20451 * socket/sendmmsg.c: ... this new file.
20452 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20453 (sysdep_routines): Move recvmmsg and sendmmsg...
20454 * socket/Makefile (routines): ... here.
20455 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20456 (GLIBC_PRIVATE): Add __sendmmsg.
20457 * include/sys/socket.h (__sendmmsg): Add declarations.
20458 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20459 sendmmsg.
20460
cf9a5d18
JM
204612012-11-20 Joseph Myers <joseph@codesourcery.com>
20462
20463 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20464 variable I1 with __attribute__ ((unused)).
20465 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20466
ecd4caf9
JM
204672012-11-19 Joseph Myers <joseph@codesourcery.com>
20468
be14d48f
JM
20469 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20470 DUMMY variables with __attribute__ ((unused)).
20471
ecd4caf9
JM
20472 * bits/byteswap.h: Include <bits/types.h>.
20473 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20474
986cab95
PT
204752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20476
20477 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20478 string_t. Do not manually set errno.
20479 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20480 length with __strnlen. Make sure to both set errno and return it on
20481 failure.
20482
6d33cc9d
DM
204832012-11-19 David S. Miller <davem@davemloft.net>
20484
20485 With help from Joseph Myers.
20486 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20487 very large arguments properly.
20488 * math/libm-test.inc (atan_test): New tests.
20489 (atan2_test): New tests.
20490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20492
ee663277
JM
204932012-11-19 Joseph Myers <joseph@codesourcery.com>
20494
877f2d8e
JM
20495 [BZ #14856]
20496 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20497 Define to 3.
20498
116fc08a
JM
20499 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20500 [POSIX] (EADDRNOTAVAIL): Likewise.
20501 [POSIX] (EAFNOSUPPORT): Likewise.
20502 [POSIX] (EALREADY): Likewise.
20503 [POSIX] (ECONNABORTED): Likewise.
20504 [POSIX] (ECONNREFUSED): Likewise.
20505 [POSIX] (ECONNRESET): Likewise.
20506 [POSIX] (EDESTADDRREQ): Likewise.
20507 [POSIX] (EDQUOT): Likewise.
20508 [POSIX] (EHOSTUNREACH): Likewise.
20509 [POSIX] (EIDRM): Likewise.
20510 [POSIX] (EISCONN): Likewise.
20511 [POSIX] (ELOOP): Likewise.
20512 [POSIX] (EMULTIHOP): Likewise.
20513 [POSIX] (ENETDOWN): Likewise.
20514 [POSIX] (ENETUNREACH): Likewise.
20515 [POSIX] (ENOBUFS): Likewise.
20516 [POSIX] (ENODATA): Likewise.
20517 [POSIX] (ENOLINK): Likewise.
20518 [POSIX] (ENOMSG): Likewise.
20519 [POSIX] (ENOPROTOOPT): Likewise.
20520 [POSIX] (ENOSR): Likewise.
20521 [POSIX] (ENOSTR): Likewise.
20522 [POSIX] (ENOTCONN): Likewise.
20523 [POSIX] (ENOTSOCK): Likewise.
20524 [POSIX] (EOPNOTSUPP): Likewise.
20525 [POSIX] (EOVERFLOW): Likewise.
20526 [POSIX] (EPROTO): Likewise.
20527 [POSIX] (EPROTONOSUPPORT): Likewise.
20528 [POSIX] (EPROTOTYPE): Likewise.
20529 [POSIX] (ESTALE): Likewise.
20530 [POSIX] (ETIME): Likewise.
20531 [POSIX] (ETXTBSY): Likewise.
20532 [POSIX] (EWOULDBLOCK): Likewise.
20533 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20534 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20535 [POSIX] (SEEK_CUR): Likewise.
20536 [POSIX] (SEEK_END): Likewise.
20537 [POSIX || UNIX98] (mode_t): Do not require.
20538 [POSIX] (off_t): Likewise.
20539 [POSIX] (pid_t): Likewise.
20540 [POSIX] (sys/stat.h): Do not allow header.
20541 [POSIX] (unistd.h): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20543 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20545 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20546 require.
20547 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20548 sigevent): Specify elements.
20549 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20550 entry.
20551 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20552 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20553
a483863f
JM
20554 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20555 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20556 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20557 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20558 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20559 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20560 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20561 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20563 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20564 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20565 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20566 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20567 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20568 Likewise.
20569 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20570 Likewise.
20571 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20572 Likewise.
20573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20574 Likewise.
20575 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20576 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20577 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20578 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20580 Specify lower bound on value.
20581 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20587 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20588 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20589 value.
20590 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20591 as optional.
20592 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20608 entry.
20609 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20610 optional.
20611 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20617 Likewise.
20618 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20621 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20622 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20623 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20624 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20625 as optional.
20626 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20627 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20628 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20629 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20630 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20631 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20632 specify as optional.
20633 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20634 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20635 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20636 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20637 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20638 [XPG3] (NL_LANGMAX): Likewise.
20639 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20640 [POSIX || XPG3] (NL_NMAX): Likewise.
20641 [POSIX || XPG3] (NL_SETMAX): Likewise.
20642 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20643 [XPG3] (NZERO): Likewise.
20644 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20645 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20646 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20647 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20648 (REG_ERANGE): Expect.
20649 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20650 optional-constant.
20651 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20652 Use (void) in prototype.
20653 [POSIX] (*_t): Allow.
20654 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20655 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20656 (WRDE_BADVAL): Expect.
20657
5ba924e3
JM
20658 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20659 expect.
20660 [XPG3 || XPG4] (O_RSYNC): Likewise.
20661 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20662 Likewise.
20663 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20664 [XPG3 || XPG4] (sigqueue): Likewise.
20665 [XPG3 || XPG4] (sigtimedwait): Likewise.
20666 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20667 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20668 [XPG3 || XPG4] (vsnprintf): Likewise.
20669 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20670 Likewise.
20671 [XPG3 || XPG4] (blksize_t): Likewise.
20672 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20673 Likewise.
20674 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20675 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20676 [XPG3 || XPG4] (struct itimerspec): Likewise.
20677 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20678 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20679 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20680 [XPG3 || XPG4] (clockid_t): Likewise.
20681 [XPG3 || XPG4] (timer_t): Likewise.
20682 [XPG3 || XPG4] (clock_getres): Likewise.
20683 [XPG3 || XPG4] (clock_gettime): Likewise.
20684 [XPG3 || XPG4] (clock_settime): Likewise.
20685 [XPG3 || XPG4] (nanosleep): Likewise.
20686 [XPG3 || XPG4] (timer_create): Likewise.
20687 [XPG3 || XPG4] (timer_delete): Likewise.
20688 [XPG3 || XPG4] (timer_gettime): Likewise.
20689 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20690 [XPG3 || XPG4] (timer_settime): Likewise.
20691 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20692 [XPG3 || XPG4] (getlogin_r): Likewise.
20693 [XPG3 || XPG4] (pread): Likewise.
20694 [XPG3 || XPG4] (pthread_atfork): Likewise.
20695 [XPG3 || XPG4] (pwrite): Likewise.
20696
ee663277
JM
20697 [BZ #14835]
20698 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20699 <bits/siginfo.h>.
20700
942caa16
PT
207012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20702
e19af380
PT
20703 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20704 finalizing MALLSTREAM.
20705
942caa16
PT
20706 * sysdeps/mach/hurd/syncfs.c: New file.
20707
cfde9b46
SP
207082012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20709
20710 [BZ #14719]
20711 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20712 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20713 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20714 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20715 (_nss_dns_gethostbyname4_r): Likewise.
20716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20717 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20718
f6da27e5
PH
207192012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20720
20721 [BZ #13763]
20722 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20723
6665d4a2
SM
207242012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20725
1f51ee92
SM
20726 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20727 * elf/cache.c (print_entry): Print ",AArch64" for
20728 FLAG_AARCH64_LIB64
20729
6665d4a2
SM
20730 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20731 * elf/cache.c (print_entry): Print ",hard-float" for
20732 FLAG_ARM_LIBHF.
20733
05b227bd
DM
207342012-11-18 David S. Miller <davem@davemloft.net>
20735
20736 With help from Joseph Myers.
20737 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20738 cutoff to 2**-13.
20739 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20740 cutoff to 2**-25.
20741 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20742 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20743 small.
20744 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20745 * math/libm-test.inc (y0_test): New tests.
20746 (y1_test): New tests.
20747 * sysdeps/i386/fpu/libm-test-ulps: Update.
20748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20750
786b0b67
AS
207512012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20752
20753 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20754 64-bit targets.
20755 * configure: Regenerated.
20756
8e18b86d
DM
207572012-11-17 David S. Miller <davem@davemloft.net>
20758
20759 [BZ #14811]
20760 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20761 nonzero exponents with absolute value below 0x1p-128 to +/-
20762 0x1p-128.
20763
531f1ae0
JM
207642012-11-17 Joseph Myers <joseph@codesourcery.com>
20765
12df29e2
JM
20766 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20767
150dc1a0
JM
20768 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20769
531f1ae0
JM
20770 * posix/getconf-speclist.c: New file.
20771 * posix/posix-envs.def: Likewise.
20772 * posix/confstr.c (START_ENV_GROUP): New macro.
20773 (END_ENV_GROUP): Likewise.
20774 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20775 (KNOWN_PRESENT_ENV_STRING): Likewise.
20776 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20777 (UNKNOWN_ENVIRONMENT): Likewise.
20778 (confstr): Include posix-envs.def instead of handling
20779 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20780 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20781 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20782 (END_ENV_GROUP): Likewise.
20783 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20784 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20785 (UNKNOWN_ENVIRONMENT): Likewise.
20786 (__sysconf): Include posix-envs.def instead of handling associated
20787 cases directly here.
20788 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20789 preprocessing getconf-speclist.c rather than running getconf or
20790 generating empty file.
20791
a93f9cbc
PT
207922012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20793
20794 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20795
d64d9f87
AL
207962012-11-16 Andrej Lajovic <natrij@gmail.com>
20797
20798 [BZ #14672]
20799 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20800
447885eb
DM
208012012-11-16 David S. Miller <davem@davemloft.net>
20802
20803 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20804 smaller than LDBL_EPSILON/2.0L, just return xm1.
20805
bcbf9830
L
208062012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20807
20808 * elf/tst-array1.c (init): Set constructor priority to 1000.
20809 (fini): Set destructor priority to 1000.
20810 * elf/tst-array2dep.c: Likewise.
20811
2b766585
SP
208122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20813
20814 [BZ #11741]
20815 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20816 (_IO_new_file_xsputn): Also return EOF if none of the input
20817 data was written when overflow failed.
20818 * libio/iopadn.c (_IO_padn): Likewise.
20819 * libio/iowpadn.c (_IO_wpadn): Likewise.
20820 * stdio-common/tst-put-error.c: Add copyright notice.
20821 (do_test): Add case for printing padded string.
20822 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20823 _IO_padn returned error.
20824 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20825 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20826 return EOF.
20827
b1848fde
SP
208282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20829
20830 * libio/libioP.h: Add comment note that the references to C++
20831 bits are now obsolete.
20832
2fd89785
MS
208332012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20834
20835 * math/libm-test.inc (check_complex): Use asprintf.
20836
e3ea5409
JM
208372012-11-14 Joseph Myers <joseph@codesourcery.com>
20838
20839 * debug/pcprofiledump.c (print_version): Update copyright year.
20840 * malloc/memusagestat.c (print_version): Likewise.
20841
2e64d265
L
208422012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20843
20844 [BZ #14831]
20845 * elf/Makefile (tests): Add tst-audit8.
20846 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20847 ($(objpfx)tst-audit8.out): New target.
20848 (tst-audit8-ENV): New variable.
20849 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20850 audit if l_reloc_result is NULL.
20851 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20852 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20853 * elf/tst-audit8.c: New file.
20854
c485e4d2
MS
208552012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20856
20857 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20858 * misc/Makefile (CFLAGS-select.c): Define.
20859 * posix/Makefile (CFLAGS-pause.c): Define.
20860
3a0d900a
DM
208612012-11-13 David S. Miller <davem@davemloft.net>
20862
20863 * crypt/Makefile: Move test targets after toplevel Rules
20864 inclusion. Grab any necessary sysdep routines when linking.
20865 * crypt/md5.c (md5_process_block): Remove define, we will always
20866 name it __md5_process_block.
20867 (md5_finish_ctx): Update md5_process_block call.
20868 (md5_stream): Likewise.
20869 (md5_process_bytes): Likewise.
20870 (md5_process_block): Rename to __md5_process_block and move to ...
20871 * crypt/md5-block.c: ... here.
20872 * crypt/sha256.c (sha256_process_block): Move to ...
20873 * crypt/sha256-block.c: ... here.
20874 * crypt/sha512.c (sha512_process_block): Move to ...
20875 * crypt/sha512-block.c: ... here.
20876 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20877 path.
20878 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20879 * sysdeps/sparc/sparc64/multiarch/Makefile
20880 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20881 crypt subdir.
20882 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20883 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20884 multiarch changes.
20885 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20886 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20887 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20888 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20889 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20890 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20891 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20892 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20893 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20894 file.
20895 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20896 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20897 file.
20898 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20899
8ca89318
JM
209002012-11-13 Joseph Myers <joseph@codesourcery.com>
20901
e27d476a
JM
20902 * timezone/tzselect.ksh: Update from tzcode git revision
20903 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20904 * timezone/zdump.c: Likewise.
20905 * timezone/zic.c: Likewise.
20906 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20907 in TZVERSION setting, not $(PKGVERSION).
20908 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20909 REPORT_BUGS_TO settings.
20910
8ca89318
JM
20911 [BZ #14838]
20912 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20913 macro.
20914
47594329
MS
209152012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20916
20917 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20918 detection to immediately after _FP_ROUND().
20919 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20920 bits are 0.
20921
640ac3f1
DM
209222012-11-11 David S. Miller <davem@davemloft.net>
20923
20924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20925 inttypes.h
20926 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20927 __close rather than their public counterparts.
20928
3d2577bb
JM
209292012-11-10 Joseph Myers <joseph@codesourcery.com>
20930
20931 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20932 file.
20933 [UNIX98] (sem_timedwait): Do not expect.
20934 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20935 [XPG4 || UNIX98] (sockatmark): Do not expect.
20936 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20937 (clock_getcpuclockid): Do not expect.
20938 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20939 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20940 Do not expect.
20941 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20942 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20943 [UNIX98] (vwscanf): Likewise.
20944 [UNIX98] (vswscanf): Likewise.
20945
fb1ae1ee
JM
209462012-11-09 Joseph Myers <joseph@codesourcery.com>
20947
9ec6f8bd
JM
20948 * timezone/version.h: Remove file.
20949 * timezone/README: Do not refer to version.h.
20950 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20951 $(objpfx)version.h.
20952 ($(objpfx)zdump.o): Likewise.
c3f81911 20953 ($(objpfx)version.h): New target.
9ec6f8bd 20954
0aa8f8a1
JM
20955 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20956 2012i.
20957 * timezone/README: Don't mention modification to tzselect.ksh.
20958 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20959 work on unmodified tzselect.ksh. Substitute version numbers in
20960 tzselect.ksh.
20961
4e87147f
JM
20962 * Makefile (format-me): Remove.
20963 (INSTALL): Adjust indentation. Use commands directly instead of
20964 using $(format-me).
20965
8b748aed
JM
20966 * aclocal.m4 (ACX_PKGVERSION): New macro.
20967 (ACX_BUGURL): Likewise.
20968 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20969 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20970 (REPORT_BUGS_TO): Likewise.
20971 * configure: Regenerated.
20972 * config.h.in (PKGVERSION): New macro.
20973 (REPORT_BUGS_TO): Likewise.
20974 * config.make.in (PKGVERSION): New variable.
20975 (PKGVERSION_TEXI): Likewise.
20976 (REPORT_BUGS_TO): Likewise.
20977 (REPORT_BUGS_TEXI): Likewise.
20978 * Makefile (format-me): Use -I$(common-objpfx)manual.
20979 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20980 ($(common-objpfx)manual/%): New target.
20981 (manual/%): Remove target.
20982 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20983 (print_version): Use PKGVERSION.
20984 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20985 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20986 and REPORT_BUGS_TO.
20987 ($(objpfx)xtrace): Likewise.
20988 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20989 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20990 (print_version): Use PKGVERSION.
20991 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20992 (do_version): Use PKGVERSION.
20993 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20994 REPORT_BUGS_TO.
20995 (common-ldd-rewrite): Likewise.
20996 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20997 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20998 (print_version): Use PKGVERSION.
20999 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21000 * elf/pldd.c (argp_program_bug_address): Remove variable.
21001 (more_help): New function.
21002 (argp): Use more_help.
21003 (print_version): Use PKGVERSION.
21004 * elf/sln.c (main): Use PKGVERSION.
21005 (usage): Use REPORT_BUGS_TO.
21006 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21007 (top level): Use PKGVERSION.
21008 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21009 (print_version): Use PKGVERSION.
21010 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21011 (print_version): Use PKGVERSION.
21012 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21013 (print_version): Use PKGVERSION.
21014 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21015 (print_version): Use PKGVERSION.
21016 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21017 (print_version): Use PKGVERSION.
21018 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21019 (print_version): Use PKGVERSION.
21020 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21021 and BUGURL.
21022 ($(objpfx)memusage): Likewise.
21023 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21024 (do_version): Use PKGVERSION.
21025 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21026 (print_version): Use PKGVERSION.
21027 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21028 ($PKGVERSION): New variable.
21029 ($REPORT_BUGS_TO): Likewise.
21030 (usage): Use $REPORT_BUGS_TO.
21031 (top level): Use $PKGVERSION.
21032 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21033 ($(objpfx)pkgvers.texi): New rule.
21034 ($(objpfx)stamp-pkgvers): Likewise.
21035 * manual/install.texi: Include pkgvers.texi.
21036 (--with-pkgversion): Document new configure option.
21037 (--with-bugurl): Likewise.
21038 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21039 than necessarily for this particular distribution. Use
21040 REPORT_BUGS_TO for where to report bugs.
21041 * INSTALL: Regenerated.
21042 * manual/libc.texinfo: Include pkgvers.texi.
21043 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21044 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21045 (print_version): Use PKGVERSION.
21046 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21047 (print_version): Use PKGVERSION.
21048 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21049 (print_version): Use PKGVERSION.
21050 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21051 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21052 macro.
21053 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21054 (print_version): Use PKGVERSION.
21055 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21056 (print_version): Use PKGVERSION.
21057 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21058 and PKGVERSION.
21059
92e4b6a9
JM
21060 * timezone/checktab.awk: Update from tzcode 2012i.
21061 * timezone/ialloc.c: Likewise.
21062 * timezone/private.h: Likewise.
21063 * timezone/scheck.c: Likewise.
21064 * timezone/tzfile.h: Likewise.
21065 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21066 (TZVERSION): Hardcode tzcode version number.
21067 * timezone/zdump.c: Update from tzcode 2012i.
21068 * timezone/zic.c: Likewise.
21069 * timezone/version.h: New file.
21070 * timezone/README: Describe version.h. Update upstream location.
21071
9bde902c
JM
21072 [BZ #14824]
21073 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21074 (mktemp): Enable declaration.
21075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21079 Likewise.
21080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21081 Likewise.
21082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21083 Likewise.
21084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21085 Likewise.
21086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21087 Likewise.
21088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21089 Likewise.
21090
fb1ae1ee
JM
21091 [BZ #14821]
21092 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21093 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21094 for copies of such integer values.
21095 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21096 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21097
2c1adbcb
AJ
210982012-11-09 Andreas Jaeger <aj@suse.de>
21099
21100 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21101 definitions and declarations that are provided by
21102 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21103
d0f8457e
AK
211042012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21105
3a235abb 21106 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21107 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21108 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21109 definition.
21110
57241e26
MS
211112012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21112
21113 * elf/elf.h: Update comment before AArch64 relocations.
21114
60e8270d
DM
211152012-11-07 David S. Miller <davem@davemloft.net>
21116
21117 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21118 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21119 (__start_context): Declare.
21120 (__makecontext_ret): Delete.
21121 (__makecontext): Hook up __start_context instead of
21122 __makecontext_ret.
21123 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21124 (sysdep_routines): Add __start_context when in stdlib.
21125
0fbb0fbc
JM
211262012-11-07 Joseph Myers <joseph@codesourcery.com>
21127
21128 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21129 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21130 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21131 hardcoded "nm".
21132 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21133 (READELF): New variable. Use it instead of hardcoded "readelf".
21134
eb48db7e
L
211352012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21136
21137 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21138 * sysdeps/x86/Makefile: Here.
21139 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21140 * sysdeps/x86/tst-xmmymm.sh: This.
21141
05bcf62a
JM
211422012-11-07 Joseph Myers <joseph@codesourcery.com>
21143
c4b6cf53
JM
21144 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21145 expectations.
21146 [UNIX98] (pthread_barrier_t): Do not expect.
21147 [UNIX98] (pthread_barrierattr_t): Likewise.
21148 [UNIX98] (pthread_spinlock_t): Likewise.
21149 [UNIX98] (pthread_barrier_destroy): Likewise.
21150 [UNIX98] (pthread_barrier_init): Likewise.
21151 [UNIX98] (pthread_barrier_wait): Likewise.
21152 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21153 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21154 [UNIX98] (pthread_barrierattr_init): Likewise.
21155 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21156 [UNIX98] (pthread_getcpuclockid): Likewise.
21157 [UNIX98] (pthread_mutex_timedlock): Likewise.
21158 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21159 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21160 [UNIX98] (pthread_sigmask): Likewise.
21161 [UNIX98] (pthread_spin_destroy): Likewise.
21162 [UNIX98] (pthread_spin_init): Likewise.
21163 [UNIX98] (pthread_spin_lock): Likewise.
21164 [UNIX98] (pthread_spin_trylock): Likewise.
21165 [UNIX98] (pthread_spin_unlock): Likewise.
21166 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21167 Do not expect.
21168 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21169 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21170 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21171 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21172 [XPG3 || XPG4] (pthread_key_t): Likewise.
21173 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21174 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21175 [XPG3 || XPG4] (pthread_once_t): Likewise.
21176 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21177 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21178 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21179 [XPG3 || XPG4] (pthread_t): Likewise.
21180
cbe6e120
JM
21181 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21182 not expect.
21183 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21184
1b126443
JM
21185 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21186 Change function return type to int.
21187
b961a573
JM
21188 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21189 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21190 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21191 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21192 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21193 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21194 [!POSIX] (posix_madvise): Likewise.
21195 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21196 && !UNIX98].
21197 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21198 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21199 (mode_t): Likewise.
21200 (posix_mem_offset): Likewise.
21201 (posix_typed_mem_get_info): Likewise.
21202 (posix_typed_mem_open): Likewise.
21203
9e188909
JM
21204 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21205 Change condition to [XOPEN2K8].
21206
05bcf62a
JM
21207 * conform/conformtest.pl: Preprocess allow-header data with -x c
21208 instead of from stdin.
21209 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21210 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21211 [C99-based standards] (cerfc): Likewise.
21212 [C99-based standards] (cexp2): Likewise.
21213 [C99-based standards] (cexpm1): Likewise.
21214 [C99-based standards] (clog10): Likewise.
21215 [C99-based standards] (clog1p): Likewise.
21216 [C99-based standards] (clog2): Likewise.
21217 [C99-based standards] (clgamma): Likewise.
21218 [C99-based standards] (ctgamma): Likewise.
21219 [C99-based standards] (cerff): Likewise.
21220 [C99-based standards] (cerfcf): Likewise.
21221 [C99-based standards] (cexp2f): Likewise.
21222 [C99-based standards] (cexpm1f): Likewise.
21223 [C99-based standards] (clog10f): Likewise.
21224 [C99-based standards] (clog1pf): Likewise.
21225 [C99-based standards] (clog2f): Likewise.
21226 [C99-based standards] (clgammaf): Likewise.
21227 [C99-based standards] (ctgammaf): Likewise.
21228 [C99-based standards] (cerfl): Likewise.
21229 [C99-based standards] (cerfcl): Likewise.
21230 [C99-based standards] (cexp2l): Likewise.
21231 [C99-based standards] (cexpm1l): Likewise.
21232 [C99-based standards] (clog10l): Likewise.
21233 [C99-based standards] (clog1pl): Likewise.
21234 [C99-based standards] (clog2l): Likewise.
21235 [C99-based standards] (clgammal): Likewise.
21236 [C99-based standards] (ctgammal): Likewise.
21237 * conform/data/inttypes.h-data [C99-based standards]: Include
21238 stdint.h-data. Remove all expectations for stdint.h contents.
21239 [C99-based standards] (PRI*): Do not allow.
21240 [C99-based standards] (SCN*): Likewise.
21241 [C99-based standards] (*_t): Likewise.
21242 [C99-based-standards] (PRId8): Expect macro.
21243 [C99-based-standards] (PRIi8): Likewise.
21244 [C99-based-standards] (PRIo8): Likewise.
21245 [C99-based-standards] (PRIu8): Likewise.
21246 [C99-based-standards] (PRIx8): Likewise.
21247 [C99-based-standards] (PRIX8): Likewise.
21248 [C99-based-standards] (SCNd8): Likewise.
21249 [C99-based-standards] (SCNi8): Likewise.
21250 [C99-based-standards] (SCNo8): Likewise.
21251 [C99-based-standards] (SCNu8): Likewise.
21252 [C99-based-standards] (SCNx8): Likewise.
21253 [C99-based-standards] (PRIdLEAST8): Likewise.
21254 [C99-based-standards] (PRIiLEAST8): Likewise.
21255 [C99-based-standards] (PRIoLEAST8): Likewise.
21256 [C99-based-standards] (PRIuLEAST8): Likewise.
21257 [C99-based-standards] (PRIxLEAST8): Likewise.
21258 [C99-based-standards] (PRIXLEAST8): Likewise.
21259 [C99-based-standards] (SCNdLEAST8): Likewise.
21260 [C99-based-standards] (SCNiLEAST8): Likewise.
21261 [C99-based-standards] (SCNoLEAST8): Likewise.
21262 [C99-based-standards] (SCNuLEAST8): Likewise.
21263 [C99-based-standards] (SCNxLEAST8): Likewise.
21264 [C99-based-standards] (PRIdFAST8): Likewise.
21265 [C99-based-standards] (PRIiFAST8): Likewise.
21266 [C99-based-standards] (PRIoFAST8): Likewise.
21267 [C99-based-standards] (PRIuFAST8): Likewise.
21268 [C99-based-standards] (PRIxFAST8): Likewise.
21269 [C99-based-standards] (PRIXFAST8): Likewise.
21270 [C99-based-standards] (SCNdFAST8): Likewise.
21271 [C99-based-standards] (SCNiFAST8): Likewise.
21272 [C99-based-standards] (SCNoFAST8): Likewise.
21273 [C99-based-standards] (SCNuFAST8): Likewise.
21274 [C99-based-standards] (SCNxFAST8): Likewise.
21275 [C99-based-standards] (PRId16): Likewise.
21276 [C99-based-standards] (PRIi16): Likewise.
21277 [C99-based-standards] (PRIo16): Likewise.
21278 [C99-based-standards] (PRIu16): Likewise.
21279 [C99-based-standards] (PRIx16): Likewise.
21280 [C99-based-standards] (PRIX16): Likewise.
21281 [C99-based-standards] (SCNd16): Likewise.
21282 [C99-based-standards] (SCNi16): Likewise.
21283 [C99-based-standards] (SCNo16): Likewise.
21284 [C99-based-standards] (SCNu16): Likewise.
21285 [C99-based-standards] (SCNx16): Likewise.
21286 [C99-based-standards] (PRIdLEAST16): Likewise.
21287 [C99-based-standards] (PRIiLEAST16): Likewise.
21288 [C99-based-standards] (PRIoLEAST16): Likewise.
21289 [C99-based-standards] (PRIuLEAST16): Likewise.
21290 [C99-based-standards] (PRIxLEAST16): Likewise.
21291 [C99-based-standards] (PRIXLEAST16): Likewise.
21292 [C99-based-standards] (SCNdLEAST16): Likewise.
21293 [C99-based-standards] (SCNiLEAST16): Likewise.
21294 [C99-based-standards] (SCNoLEAST16): Likewise.
21295 [C99-based-standards] (SCNuLEAST16): Likewise.
21296 [C99-based-standards] (SCNxLEAST16): Likewise.
21297 [C99-based-standards] (PRIdFAST16): Likewise.
21298 [C99-based-standards] (PRIiFAST16): Likewise.
21299 [C99-based-standards] (PRIoFAST16): Likewise.
21300 [C99-based-standards] (PRIuFAST16): Likewise.
21301 [C99-based-standards] (PRIxFAST16): Likewise.
21302 [C99-based-standards] (PRIXFAST16): Likewise.
21303 [C99-based-standards] (SCNdFAST16): Likewise.
21304 [C99-based-standards] (SCNiFAST16): Likewise.
21305 [C99-based-standards] (SCNoFAST16): Likewise.
21306 [C99-based-standards] (SCNuFAST16): Likewise.
21307 [C99-based-standards] (SCNxFAST16): Likewise.
21308 [C99-based-standards] (PRId32): Likewise.
21309 [C99-based-standards] (PRIi32): Likewise.
21310 [C99-based-standards] (PRIo32): Likewise.
21311 [C99-based-standards] (PRIu32): Likewise.
21312 [C99-based-standards] (PRIx32): Likewise.
21313 [C99-based-standards] (PRIX32): Likewise.
21314 [C99-based-standards] (SCNd32): Likewise.
21315 [C99-based-standards] (SCNi32): Likewise.
21316 [C99-based-standards] (SCNo32): Likewise.
21317 [C99-based-standards] (SCNu32): Likewise.
21318 [C99-based-standards] (SCNx32): Likewise.
21319 [C99-based-standards] (PRIdLEAST32): Likewise.
21320 [C99-based-standards] (PRIiLEAST32): Likewise.
21321 [C99-based-standards] (PRIoLEAST32): Likewise.
21322 [C99-based-standards] (PRIuLEAST32): Likewise.
21323 [C99-based-standards] (PRIxLEAST32): Likewise.
21324 [C99-based-standards] (PRIXLEAST32): Likewise.
21325 [C99-based-standards] (SCNdLEAST32): Likewise.
21326 [C99-based-standards] (SCNiLEAST32): Likewise.
21327 [C99-based-standards] (SCNoLEAST32): Likewise.
21328 [C99-based-standards] (SCNuLEAST32): Likewise.
21329 [C99-based-standards] (SCNxLEAST32): Likewise.
21330 [C99-based-standards] (PRIdFAST32): Likewise.
21331 [C99-based-standards] (PRIiFAST32): Likewise.
21332 [C99-based-standards] (PRIoFAST32): Likewise.
21333 [C99-based-standards] (PRIuFAST32): Likewise.
21334 [C99-based-standards] (PRIxFAST32): Likewise.
21335 [C99-based-standards] (PRIXFAST32): Likewise.
21336 [C99-based-standards] (SCNdFAST32): Likewise.
21337 [C99-based-standards] (SCNiFAST32): Likewise.
21338 [C99-based-standards] (SCNoFAST32): Likewise.
21339 [C99-based-standards] (SCNuFAST32): Likewise.
21340 [C99-based-standards] (SCNxFAST32): Likewise.
21341 [C99-based-standards] (PRId64): Likewise.
21342 [C99-based-standards] (PRIi64): Likewise.
21343 [C99-based-standards] (PRIo64): Likewise.
21344 [C99-based-standards] (PRIu64): Likewise.
21345 [C99-based-standards] (PRIx64): Likewise.
21346 [C99-based-standards] (PRIX64): Likewise.
21347 [C99-based-standards] (SCNd64): Likewise.
21348 [C99-based-standards] (SCNi64): Likewise.
21349 [C99-based-standards] (SCNo64): Likewise.
21350 [C99-based-standards] (SCNu64): Likewise.
21351 [C99-based-standards] (SCNx64): Likewise.
21352 [C99-based-standards] (PRIdLEAST64): Likewise.
21353 [C99-based-standards] (PRIiLEAST64): Likewise.
21354 [C99-based-standards] (PRIoLEAST64): Likewise.
21355 [C99-based-standards] (PRIuLEAST64): Likewise.
21356 [C99-based-standards] (PRIxLEAST64): Likewise.
21357 [C99-based-standards] (PRIXLEAST64): Likewise.
21358 [C99-based-standards] (SCNdLEAST64): Likewise.
21359 [C99-based-standards] (SCNiLEAST64): Likewise.
21360 [C99-based-standards] (SCNoLEAST64): Likewise.
21361 [C99-based-standards] (SCNuLEAST64): Likewise.
21362 [C99-based-standards] (SCNxLEAST64): Likewise.
21363 [C99-based-standards] (PRIdFAST64): Likewise.
21364 [C99-based-standards] (PRIiFAST64): Likewise.
21365 [C99-based-standards] (PRIoFAST64): Likewise.
21366 [C99-based-standards] (PRIuFAST64): Likewise.
21367 [C99-based-standards] (PRIxFAST64): Likewise.
21368 [C99-based-standards] (PRIXFAST64): Likewise.
21369 [C99-based-standards] (SCNdFAST64): Likewise.
21370 [C99-based-standards] (SCNiFAST64): Likewise.
21371 [C99-based-standards] (SCNoFAST64): Likewise.
21372 [C99-based-standards] (SCNuFAST64): Likewise.
21373 [C99-based-standards] (SCNxFAST64): Likewise.
21374 [C99-based-standards] (PRIdMAX): Likewise.
21375 [C99-based-standards] (PRIiMAX): Likewise.
21376 [C99-based-standards] (PRIoMAX): Likewise.
21377 [C99-based-standards] (PRIuMAX): Likewise.
21378 [C99-based-standards] (PRIxMAX): Likewise.
21379 [C99-based-standards] (PRIXMAX): Likewise.
21380 [C99-based-standards] (SCNdMAX): Likewise.
21381 [C99-based-standards] (SCNiMAX): Likewise.
21382 [C99-based-standards] (SCNoMAX): Likewise.
21383 [C99-based-standards] (SCNuMAX): Likewise.
21384 [C99-based-standards] (SCNxMAX): Likewise.
21385 [C99-based-standards] (PRIdPTR): Likewise.
21386 [C99-based-standards] (PRIiPTR): Likewise.
21387 [C99-based-standards] (PRIoPTR): Likewise.
21388 [C99-based-standards] (PRIuPTR): Likewise.
21389 [C99-based-standards] (PRIxPTR): Likewise.
21390 [C99-based-standards] (PRIXPTR): Likewise.
21391 [C99-based-standards] (SCNdPTR): Likewise.
21392 [C99-based-standards] (SCNiPTR): Likewise.
21393 [C99-based-standards] (SCNoPTR): Likewise.
21394 [C99-based-standards] (SCNuPTR): Likewise.
21395 [C99-based-standards] (SCNxPTR): Likewise.
21396 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21397 allow.
21398 * conform/data/stdint.h-data: Update comments to clarify
21399 requirements.
21400 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21401 type.
21402 [C99-based standards] (INT8_MAX): Likewise.
21403 [C99-based standards] (INT16_MIN): Likewise.
21404 [C99-based standards] (INT16_MAX): Likewise.
21405 [C99-based standards] (INT32_MIN): Likewise.
21406 [C99-based standards] (INT32_MAX): Likewise.
21407 [C99-based standards] (INT64_MIN): Likewise.
21408 [C99-based standards] (INT64_MAX): Likewise.
21409 [C99-based standards] (UINT8_MAX): Likewise.
21410 [C99-based standards] (UINT16_MAX): Likewise.
21411 [C99-based standards] (UINT32_MAX): Likewise.
21412 [C99-based standards] (UINT64_MAX): Likewise.
21413 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21414 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21415 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21416 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21417 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21418 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21419 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21420 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21421 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21422 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21423 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21424 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21425 [C99-based standards] (INT_FAST8_MIN): Likewise.
21426 [C99-based standards] (INT_FAST8_MAX): Likewise.
21427 [C99-based standards] (INT_FAST16_MIN): Likewise.
21428 [C99-based standards] (INT_FAST16_MAX): Likewise.
21429 [C99-based standards] (INT_FAST32_MIN): Likewise.
21430 [C99-based standards] (INT_FAST32_MAX): Likewise.
21431 [C99-based standards] (INT_FAST64_MIN): Likewise.
21432 [C99-based standards] (INT_FAST64_MAX): Likewise.
21433 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21434 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21435 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21436 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21437 [C99-based standards] (INTPTR_MIN): Likewise.
21438 [C99-based standards] (INTPTR_MAX): Likewise.
21439 [C99-based standards] (UINTPTR_MAX): Likewise.
21440 [C99-based standards] (INTMAX_MIN): Likewise.
21441 [C99-based standards] (INTMAX_MAX): Likewise.
21442 [C99-based standards] (UINTMAX_MAX): Likewise.
21443 [C99-based standards] (PTRDIFF_MIN): Likewise.
21444 [C99-based standards] (PTRDIFF_MAX): Likewise.
21445 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21446 [C99-based standards] (SIZE_MAX): Likewise.
21447 [C99-based standards] (WCHAR_MAX): Likewise.
21448 [C99-based standards] (WINT_MAX): Likewise.
21449 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21450 constraint on value.
21451 [C99-based standards] (WCHAR_MIN): Likewise.
21452 [C99-based standards] (WINT_MIN): Likewise.
21453 [C99-based standards] (*_t): Allow.
21454 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21455 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21456 Include math.h-data and complex.h-data. Remove all expectations
21457 of math.h and complex.h contents.
21458 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21459 at end of line.
21460 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21461 (struct tm): Expect tag.
21462 [C99-based-standards] (wcstof): Expect function.
21463 [C99-based-standards] (wcstold): Likewise.
21464 [C99-based-standards] (wcstoll): Likewise.
21465 [C99-based-standards] (wcstoull): Likewise.
21466 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21467 macro-int-constant. Specify type.
21468 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21469 constraint on value.
21470 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21471 Specify type.
21472 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21473 Specify value.
21474 [ISO C standards]: Do not allow headers.
21475 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21476 wcs[abcdefghijklmnopqrstuvwxyz]*.
21477 [ISO C standards] (*_t): Do not allow.
21478 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21479 Expect function.
21480 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21481 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21482 Specify type.
21483 [ISO C standards]: Do not allow headers.
21484 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21485 is[abcdefghijklmnopqrstuvwxyz]*.
21486 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21487 to[abcdefghijklmnopqrstuvwxyz]*.
21488 [ISO C standards] (*_t): Do not allow.
21489 * conform/data/stdalign.h-data: New file.
21490 * conform/data/stdbool.h-data: Likewise.
21491 * conform/data/stdnoreturn.h-data: Likewise.
21492
7514feb8
RM
214932012-11-07 Roland McGrath <roland@hack.frob.com>
21494
21495 [BZ #14815]
21496 * manual/filesys.texi (Directory Entries): Typo fix.
21497 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21498
19b2ecfc
MS
214992012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21500
21501 * elf/elf.h (EM_AARCH64): New macro.
21502 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21503 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21504 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21505 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21506 (R_AARCH64_TLSDESC): Likewise.
21507 (NT_ARM_TLS): Likewise.
21508 (NT_ARM_HW_BREAK): Likewise.
21509 (NT_ARM_HW_WATCH): Likewise.
21510
60e235ee
JM
215112012-11-07 Joseph Myers <joseph@codesourcery.com>
21512
21513 [BZ #14811]
21514 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21515 (__ieee754_powl): Saturate nonzero exponents with absolute value
21516 below 0x1p-79 to +/- 0x1p-79.
21517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21518 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21519 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21520 nonzero exponents with absolute value below 0x1p-32 to +/-
21521 0x1p-32.
21522 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21523 (__ieee754_powl): Saturate nonzero exponents with absolute value
21524 below 0x1p-79 to +/- 0x1p-79.
21525 * math/libm-test.inc (pow_test): Add more tests.
21526
0ab234b7
AK
215272012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21528
21529 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21530 _dl_s390_cap_flags with kernel. Increase string length.
21531 (_dl_s390_platforms): Add z196 and zEC12.
21532
45832f74
JM
215332012-11-07 Joseph Myers <joseph@codesourcery.com>
21534
21535 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21536 Change XOPEN21K to XOPEN2K.
21537
19218757
MK
215382012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21539
21540 * string/memmove.c: Use memcpy when possible.
21541
c5f45721
AJ
215422012-11-06 Andreas Jaeger <aj@suse.de>
21543
21544 * po/eo.po: Update from translation team.
21545
82477c28
JM
215462012-11-06 Joseph Myers <joseph@codesourcery.com>
21547
21548 [BZ #14793]
21549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21550 exponent and small x and y exponents, scale x or y up. Increase
21551 by 2 the exponent used in scaling up.
21552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21554 * math/libm-test.inc (fma_test): Add more tests.
21555 (fma_test_towardzero): Likewise.
21556 (fma_test_downward): Likewise.
21557 (fma_test_upward): Likewise.
21558
99252c8c
JM
215592012-11-05 Joseph Myers <joseph@codesourcery.com>
21560
acfa885f
JM
21561 [BZ #14805]
21562 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21563 fenv_t *.
21564
99252c8c
JM
21565 [BZ #14801]
21566 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21567 namespace for names of struct fields.
21568 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21569 fenv_t fields.
21570 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21571 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21572
d6d98dea
ST
215732012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21574
21575 [BZ #3665]
21576 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21577
e10bb107
TS
215782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21579
21580 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21581 PTR_DEMANGLE.
21582
21583 [BZ #5246]
21584 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21585 PTR_DEMANGLE.
21586
a0c2940d
JM
215872012-11-04 Joseph Myers <joseph@codesourcery.com>
21588
21589 [BZ #14797]
21590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21591 definitely overflow as x * y not x * y + z.
21592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21594 * math/libm-test.inc (fma_test): Add more tests.
21595 (fma_test_towardzero): Likewise.
21596 (fma_test_downward): Likewise.
21597 (fma_test_upward): Likewise.
21598
b830319d
TS
215992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21600
21601 [BZ #157]
21602
21603 * include/stub-tag.h: Remove file.
21604 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21605 '#include' of it.
21606 * manual/maint.texi (Porting): Don't reference it.
21607 * Makerules ($(objpfx)stubs): Likewise.
21608 * dirent/closedir.c: Don't include <stub-tag.h>.
21609 * dirent/dirfd.c: Likewise.
21610 * dirent/fdopendir.c: Likewise.
21611 * dirent/getdents.c: Likewise.
21612 * dirent/getdents64.c: Likewise.
21613 * dirent/opendir.c: Likewise.
21614 * dirent/readdir.c: Likewise.
21615 * dirent/readdir64.c: Likewise.
21616 * dirent/readdir64_r.c: Likewise.
21617 * dirent/readdir_r.c: Likewise.
21618 * dirent/rewinddir.c: Likewise.
21619 * dirent/seekdir.c: Likewise.
21620 * dirent/telldir.c: Likewise.
21621 * gmon/profil.c: Likewise.
21622 * grp/setgroups.c: Likewise.
21623 * inet/if_index.c: Likewise.
21624 * io/access.c: Likewise.
21625 * io/chdir.c: Likewise.
21626 * io/chmod.c: Likewise.
21627 * io/chown.c: Likewise.
21628 * io/close.c: Likewise.
21629 * io/dup.c: Likewise.
21630 * io/dup2.c: Likewise.
21631 * io/dup3.c: Likewise.
21632 * io/euidaccess.c: Likewise.
21633 * io/faccessat.c: Likewise.
21634 * io/fchdir.c: Likewise.
21635 * io/fchmod.c: Likewise.
21636 * io/fchmodat.c: Likewise.
21637 * io/fchown.c: Likewise.
21638 * io/fchownat.c: Likewise.
21639 * io/fcntl.c: Likewise.
21640 * io/flock.c: Likewise.
21641 * io/fstatfs.c: Likewise.
21642 * io/fstatfs64.c: Likewise.
21643 * io/fstatvfs.c: Likewise.
21644 * io/fstatvfs64.c: Likewise.
21645 * io/futimens.c: Likewise.
21646 * io/fxstat.c: Likewise.
21647 * io/fxstat64.c: Likewise.
21648 * io/fxstatat.c: Likewise.
21649 * io/fxstatat64.c: Likewise.
21650 * io/getcwd.c: Likewise.
21651 * io/isatty.c: Likewise.
21652 * io/lchmod.c: Likewise.
21653 * io/lchown.c: Likewise.
21654 * io/link.c: Likewise.
21655 * io/linkat.c: Likewise.
21656 * io/lseek.c: Likewise.
21657 * io/lseek64.c: Likewise.
21658 * io/lxstat64.c: Likewise.
21659 * io/mkdir.c: Likewise.
21660 * io/mkdirat.c: Likewise.
21661 * io/mkfifo.c: Likewise.
21662 * io/mkfifoat.c: Likewise.
21663 * io/open.c: Likewise.
21664 * io/open64.c: Likewise.
21665 * io/openat.c: Likewise.
21666 * io/openat64.c: Likewise.
21667 * io/pipe.c: Likewise.
21668 * io/pipe2.c: Likewise.
21669 * io/poll.c: Likewise.
21670 * io/posix_fadvise.c: Likewise.
21671 * io/posix_fadvise64.c: Likewise.
21672 * io/posix_fallocate.c: Likewise.
21673 * io/posix_fallocate64.c: Likewise.
21674 * io/read.c: Likewise.
21675 * io/readlink.c: Likewise.
21676 * io/readlinkat.c: Likewise.
21677 * io/rmdir.c: Likewise.
21678 * io/sendfile.c: Likewise.
21679 * io/sendfile64.c: Likewise.
21680 * io/statfs.c: Likewise.
21681 * io/statfs64.c: Likewise.
21682 * io/statvfs.c: Likewise.
21683 * io/statvfs64.c: Likewise.
21684 * io/symlink.c: Likewise.
21685 * io/symlinkat.c: Likewise.
21686 * io/ttyname.c: Likewise.
21687 * io/ttyname_r.c: Likewise.
21688 * io/umask.c: Likewise.
21689 * io/unlink.c: Likewise.
21690 * io/unlinkat.c: Likewise.
21691 * io/utime.c: Likewise.
21692 * io/utimensat.c: Likewise.
21693 * io/write.c: Likewise.
21694 * io/xmknod.c: Likewise.
21695 * io/xmknodat.c: Likewise.
21696 * io/xstat.c: Likewise.
21697 * io/xstat64.c: Likewise.
21698 * login/getpt.c: Likewise.
21699 * login/grantpt.c: Likewise.
21700 * login/unlockpt.c: Likewise.
21701 * math/e_acoshl.c: Likewise.
21702 * math/e_acosl.c: Likewise.
21703 * math/e_asinl.c: Likewise.
21704 * math/e_atan2l.c: Likewise.
21705 * math/e_atanhl.c: Likewise.
21706 * math/e_coshl.c: Likewise.
21707 * math/e_expl.c: Likewise.
21708 * math/e_fmodl.c: Likewise.
21709 * math/e_gammal_r.c: Likewise.
21710 * math/e_hypotl.c: Likewise.
21711 * math/e_j0l.c: Likewise.
21712 * math/e_j1l.c: Likewise.
21713 * math/e_jnl.c: Likewise.
21714 * math/e_lgammal_r.c: Likewise.
21715 * math/e_log10l.c: Likewise.
21716 * math/e_log2l.c: Likewise.
21717 * math/e_logl.c: Likewise.
21718 * math/e_powl.c: Likewise.
21719 * math/e_rem_pio2l.c: Likewise.
21720 * math/e_sinhl.c: Likewise.
21721 * math/e_sqrtl.c: Likewise.
21722 * math/fclrexcpt.c: Likewise.
21723 * math/fedisblxcpt.c: Likewise.
21724 * math/feenablxcpt.c: Likewise.
21725 * math/fegetenv.c: Likewise.
21726 * math/fegetexcept.c: Likewise.
21727 * math/fegetround.c: Likewise.
21728 * math/feholdexcpt.c: Likewise.
21729 * math/fesetenv.c: Likewise.
21730 * math/fesetround.c: Likewise.
21731 * math/feupdateenv.c: Likewise.
21732 * math/fgetexcptflg.c: Likewise.
21733 * math/fraiseexcpt.c: Likewise.
21734 * math/fsetexcptflg.c: Likewise.
21735 * math/ftestexcept.c: Likewise.
21736 * math/k_cosl.c: Likewise.
21737 * math/k_rem_pio2l.c: Likewise.
21738 * math/k_sinl.c: Likewise.
21739 * math/k_tanl.c: Likewise.
21740 * math/s_asinhl.c: Likewise.
21741 * math/s_atanl.c: Likewise.
21742 * math/s_cbrtl.c: Likewise.
21743 * math/s_erfl.c: Likewise.
21744 * math/s_expm1l.c: Likewise.
21745 * math/s_log1pl.c: Likewise.
21746 * math/s_tanhl.c: Likewise.
21747 * misc/acct.c: Likewise.
21748 * misc/brk.c: Likewise.
21749 * misc/chflags.c: Likewise.
21750 * misc/chroot.c: Likewise.
21751 * misc/fchflags.c: Likewise.
21752 * misc/fgetxattr.c: Likewise.
21753 * misc/flistxattr.c: Likewise.
21754 * misc/fremovexattr.c: Likewise.
21755 * misc/fsetxattr.c: Likewise.
21756 * misc/fsync.c: Likewise.
21757 * misc/ftruncate.c: Likewise.
21758 * misc/futimes.c: Likewise.
21759 * misc/futimesat.c: Likewise.
21760 * misc/getdomain.c: Likewise.
21761 * misc/getdtsz.c: Likewise.
21762 * misc/gethostid.c: Likewise.
21763 * misc/gethostname.c: Likewise.
21764 * misc/getloadavg.c: Likewise.
21765 * misc/getpagesize.c: Likewise.
21766 * misc/getsysstats.c: Likewise.
21767 * misc/getxattr.c: Likewise.
21768 * misc/gtty.c: Likewise.
21769 * misc/ioctl.c: Likewise.
21770 * misc/lgetxattr.c: Likewise.
21771 * misc/listxattr.c: Likewise.
21772 * misc/llistxattr.c: Likewise.
21773 * misc/lremovexattr.c: Likewise.
21774 * misc/lsetxattr.c: Likewise.
21775 * misc/lutimes.c: Likewise.
21776 * misc/madvise.c: Likewise.
21777 * misc/mincore.c: Likewise.
21778 * misc/mlock.c: Likewise.
21779 * misc/mlockall.c: Likewise.
21780 * misc/mmap.c: Likewise.
21781 * misc/mprotect.c: Likewise.
21782 * misc/msync.c: Likewise.
21783 * misc/munlock.c: Likewise.
21784 * misc/munlockall.c: Likewise.
21785 * misc/munmap.c: Likewise.
21786 * misc/preadv.c: Likewise.
21787 * misc/preadv64.c: Likewise.
21788 * misc/ptrace.c: Likewise.
21789 * misc/pwritev.c: Likewise.
21790 * misc/pwritev64.c: Likewise.
21791 * misc/readv.c: Likewise.
21792 * misc/reboot.c: Likewise.
21793 * misc/remap_file_pages.c: Likewise.
21794 * misc/removexattr.c: Likewise.
21795 * misc/revoke.c: Likewise.
21796 * misc/select.c: Likewise.
21797 * misc/setdomain.c: Likewise.
21798 * misc/setegid.c: Likewise.
21799 * misc/seteuid.c: Likewise.
21800 * misc/sethostid.c: Likewise.
21801 * misc/sethostname.c: Likewise.
21802 * misc/setregid.c: Likewise.
21803 * misc/setreuid.c: Likewise.
21804 * misc/setxattr.c: Likewise.
21805 * misc/sstk.c: Likewise.
21806 * misc/stty.c: Likewise.
21807 * misc/swapoff.c: Likewise.
21808 * misc/swapon.c: Likewise.
21809 * misc/sync.c: Likewise.
21810 * misc/syncfs.c: Likewise.
21811 * misc/syscall.c: Likewise.
21812 * misc/truncate.c: Likewise.
21813 * misc/ualarm.c: Likewise.
21814 * misc/usleep.c: Likewise.
21815 * misc/ustat.c: Likewise.
21816 * misc/utimes.c: Likewise.
21817 * misc/vhangup.c: Likewise.
21818 * misc/writev.c: Likewise.
21819 * posix/_exit.c: Likewise.
21820 * posix/alarm.c: Likewise.
21821 * posix/execve.c: Likewise.
21822 * posix/fexecve.c: Likewise.
21823 * posix/fork.c: Likewise.
21824 * posix/fpathconf.c: Likewise.
21825 * posix/getaddrinfo.c: Likewise.
21826 * posix/getegid.c: Likewise.
21827 * posix/geteuid.c: Likewise.
21828 * posix/getgid.c: Likewise.
21829 * posix/getgroups.c: Likewise.
21830 * posix/getlogin.c: Likewise.
21831 * posix/getlogin_r.c: Likewise.
21832 * posix/getpgid.c: Likewise.
21833 * posix/getpid.c: Likewise.
21834 * posix/getppid.c: Likewise.
21835 * posix/getresgid.c: Likewise.
21836 * posix/getresuid.c: Likewise.
21837 * posix/getsid.c: Likewise.
21838 * posix/getuid.c: Likewise.
21839 * posix/glob64.c: Likewise.
21840 * posix/nanosleep.c: Likewise.
21841 * posix/pathconf.c: Likewise.
21842 * posix/pause.c: Likewise.
21843 * posix/posix_madvise.c: Likewise.
21844 * posix/pread.c: Likewise.
21845 * posix/pread64.c: Likewise.
21846 * posix/pwrite.c: Likewise.
21847 * posix/pwrite64.c: Likewise.
21848 * posix/sched_getaffinity.c: Likewise.
21849 * posix/sched_getp.c: Likewise.
21850 * posix/sched_gets.c: Likewise.
21851 * posix/sched_primax.c: Likewise.
21852 * posix/sched_primin.c: Likewise.
21853 * posix/sched_rr_gi.c: Likewise.
21854 * posix/sched_setaffinity.c: Likewise.
21855 * posix/sched_setp.c: Likewise.
21856 * posix/sched_sets.c: Likewise.
21857 * posix/sched_yield.c: Likewise.
21858 * posix/setgid.c: Likewise.
21859 * posix/setlogin.c: Likewise.
21860 * posix/setpgid.c: Likewise.
21861 * posix/setresgid.c: Likewise.
21862 * posix/setresuid.c: Likewise.
21863 * posix/setsid.c: Likewise.
21864 * posix/setuid.c: Likewise.
21865 * posix/sleep.c: Likewise.
21866 * posix/spawni.c: Likewise.
21867 * posix/sysconf.c: Likewise.
21868 * posix/times.c: Likewise.
21869 * posix/wait.c: Likewise.
21870 * posix/wait3.c: Likewise.
21871 * posix/wait4.c: Likewise.
21872 * posix/waitpid.c: Likewise.
21873 * resolv/gai_sigqueue.c: Likewise.
21874 * resource/getpriority.c: Likewise.
21875 * resource/getrlimit.c: Likewise.
21876 * resource/getrusage.c: Likewise.
21877 * resource/nice.c: Likewise.
21878 * resource/setpriority.c: Likewise.
21879 * resource/setrlimit.c: Likewise.
21880 * resource/ulimit.c: Likewise.
21881 * rt/aio_cancel.c: Likewise.
21882 * rt/aio_fsync.c: Likewise.
21883 * rt/aio_read.c: Likewise.
21884 * rt/aio_sigqueue.c: Likewise.
21885 * rt/aio_suspend.c: Likewise.
21886 * rt/aio_write.c: Likewise.
21887 * rt/clock_getres.c: Likewise.
21888 * rt/clock_gettime.c: Likewise.
21889 * rt/clock_nanosleep.c: Likewise.
21890 * rt/clock_settime.c: Likewise.
21891 * rt/lio_listio.c: Likewise.
21892 * rt/mq_close.c: Likewise.
21893 * rt/mq_getattr.c: Likewise.
21894 * rt/mq_notify.c: Likewise.
21895 * rt/mq_open.c: Likewise.
21896 * rt/mq_receive.c: Likewise.
21897 * rt/mq_send.c: Likewise.
21898 * rt/mq_setattr.c: Likewise.
21899 * rt/mq_timedreceive.c: Likewise.
21900 * rt/mq_timedsend.c: Likewise.
21901 * rt/mq_unlink.c: Likewise.
21902 * rt/shm_open.c: Likewise.
21903 * rt/shm_unlink.c: Likewise.
21904 * rt/timer_create.c: Likewise.
21905 * rt/timer_delete.c: Likewise.
21906 * rt/timer_getoverr.c: Likewise.
21907 * rt/timer_gettime.c: Likewise.
21908 * rt/timer_settime.c: Likewise.
21909 * setjmp/__longjmp.c: Likewise.
21910 * setjmp/setjmp.c: Likewise.
21911 * signal/kill.c: Likewise.
21912 * signal/killpg.c: Likewise.
21913 * signal/raise.c: Likewise.
21914 * signal/sigaction.c: Likewise.
21915 * signal/sigaltstack.c: Likewise.
21916 * signal/sigblock.c: Likewise.
21917 * signal/sigignore.c: Likewise.
21918 * signal/sigintr.c: Likewise.
21919 * signal/signal.c: Likewise.
21920 * signal/sigpause.c: Likewise.
21921 * signal/sigpending.c: Likewise.
21922 * signal/sigqueue.c: Likewise.
21923 * signal/sigreturn.c: Likewise.
21924 * signal/sigset.c: Likewise.
21925 * signal/sigsetmask.c: Likewise.
21926 * signal/sigstack.c: Likewise.
21927 * signal/sigsuspend.c: Likewise.
21928 * signal/sigtimedwait.c: Likewise.
21929 * signal/sigvec.c: Likewise.
21930 * signal/sigwait.c: Likewise.
21931 * signal/sigwaitinfo.c: Likewise.
21932 * signal/sysv_signal.c: Likewise.
21933 * socket/accept.c: Likewise.
21934 * socket/accept4.c: Likewise.
21935 * socket/bind.c: Likewise.
21936 * socket/connect.c: Likewise.
21937 * socket/getpeername.c: Likewise.
21938 * socket/getsockname.c: Likewise.
21939 * socket/getsockopt.c: Likewise.
21940 * socket/isfdtype.c: Likewise.
21941 * socket/listen.c: Likewise.
21942 * socket/recv.c: Likewise.
21943 * socket/recvfrom.c: Likewise.
21944 * socket/recvmsg.c: Likewise.
21945 * socket/send.c: Likewise.
21946 * socket/sendmsg.c: Likewise.
21947 * socket/sendto.c: Likewise.
21948 * socket/setsockopt.c: Likewise.
21949 * socket/shutdown.c: Likewise.
21950 * socket/sockatmark.c: Likewise.
21951 * socket/socket.c: Likewise.
21952 * socket/socketpair.c: Likewise.
21953 * stdio-common/ctermid.c: Likewise.
21954 * stdio-common/cuserid.c: Likewise.
21955 * stdio-common/remove.c: Likewise.
21956 * stdio-common/rename.c: Likewise.
21957 * stdio-common/renameat.c: Likewise.
21958 * stdio-common/tempname.c: Likewise.
21959 * stdlib/getcontext.c: Likewise.
21960 * stdlib/makecontext.c: Likewise.
21961 * stdlib/setcontext.c: Likewise.
21962 * stdlib/swapcontext.c: Likewise.
21963 * stdlib/system.c: Likewise.
21964 * streams/fattach.c: Likewise.
21965 * streams/fdetach.c: Likewise.
21966 * streams/getmsg.c: Likewise.
21967 * streams/getpmsg.c: Likewise.
21968 * streams/putmsg.c: Likewise.
21969 * streams/putpmsg.c: Likewise.
21970 * sysdeps/unix/bsd/getpt.c: Likewise.
21971 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21972 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21973 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21975 Likewise.
21976 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21977 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21978 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21979 * sysvipc/msgctl.c: Likewise.
21980 * sysvipc/msgget.c: Likewise.
21981 * sysvipc/msgrcv.c: Likewise.
21982 * sysvipc/msgsnd.c: Likewise.
21983 * sysvipc/semctl.c: Likewise.
21984 * sysvipc/semget.c: Likewise.
21985 * sysvipc/semop.c: Likewise.
21986 * sysvipc/semtimedop.c: Likewise.
21987 * sysvipc/shmat.c: Likewise.
21988 * sysvipc/shmctl.c: Likewise.
21989 * sysvipc/shmdt.c: Likewise.
21990 * sysvipc/shmget.c: Likewise.
21991 * termios/tcdrain.c: Likewise.
21992 * termios/tcflow.c: Likewise.
21993 * termios/tcflush.c: Likewise.
21994 * termios/tcgetattr.c: Likewise.
21995 * termios/tcgetpgrp.c: Likewise.
21996 * termios/tcsendbrk.c: Likewise.
21997 * termios/tcsetattr.c: Likewise.
21998 * termios/tcsetpgrp.c: Likewise.
21999 * time/adjtime.c: Likewise.
22000 * time/clock.c: Likewise.
22001 * time/getitimer.c: Likewise.
22002 * time/gettimeofday.c: Likewise.
22003 * time/setitimer.c: Likewise.
22004 * time/settimeofday.c: Likewise.
22005 * time/stime.c: Likewise.
22006 * time/time.c: Likewise.
22007
220082012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22009
a20492cf
PT
22010 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22011 /usr/old/bin.
22012
72e182e3
PT
22013 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22014 instead of spaces.
22015 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22016
fbeafede
JM
220172012-11-03 Joseph Myers <joseph@codesourcery.com>
22018
5b5b04d6
JM
22019 [BZ #14796]
22020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22021 FE_TONEAREST before applying Dekker multiplication and Knuth
22022 addition. Clear inexact exceptions and check for exact zero
22023 results afterwards.
22024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22025 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22027 * math/libm-test.inc (fma_test): Add more tests.
22028 (fma_test_towardzero): Likewise.
22029 (fma_test_downward): Likewise.
22030 (fma_test_upward): Likewise.
22031 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22032 function.
22033 (libc_fesetround): New macro.
22034 (libc_fesetroundf): Likewise.
22035 (libc_fesetroundl): Likewise.
22036 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22037 function.
22038 (libc_fesetround_387): Likewise.
22039 (libc_fesetroundf): New macro.
22040 (libc_fesetround): Likewise.
22041 (libc_fesetroundl): Likewise.
22042 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22043 function.
22044 (libc_fesetroundf): New macro.
22045 (libc_fesetround): Likewise.
22046 (libc_fesetroundl): Likewise.
22047 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22048 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22049 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22050 libm_hidden_ver.
22051 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22052 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22053 libm_hidden_def.
22054 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22055 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22056 libm_hidden_ver.
22057 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22058 libm_hidden_def.
22059
fbeafede
JM
22060 [BZ #3439]
22061 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22062 integer constant usable in #if and use that to give value to enum
22063 constant.
22064 (FE_DIVBYZERO): Likewise.
22065 (FE_UNDERFLOW): Likewise.
22066 (FE_OVERFLOW): Likewise.
22067 (FE_INVALID): Likewise.
22068 (FE_INVALID_SNAN): Likewise.
22069 (FE_INVALID_ISI): Likewise.
22070 (FE_INVALID_IDI): Likewise.
22071 (FE_INVALID_ZDZ): Likewise.
22072 (FE_INVALID_IMZ): Likewise.
22073 (FE_INVALID_COMPARE): Likewise.
22074 (FE_INVALID_SOFTWARE): Likewise.
22075 (FE_INVALID_SQRT): Likewise.
22076 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22077 (FE_TONEAREST): Likewise.
22078 (FE_TOWARDZERO): Likewise.
22079 (FE_UPWARD): Likewise.
22080 (FE_DOWNWARD): Likewise.
22081 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22082 (FE_DIVBYZERO): Likewise.
22083 (FE_OVERFLOW): Likewise.
22084 (FE_UNDERFLOW): Likewise.
22085 (FE_INEXACT): Likewise.
22086 (FE_TONEAREST): Likewise.
22087 (FE_DOWNWARD): Likewise.
22088 (FE_UPWARD): Likewise.
22089 (FE_TOWARDZERO): Likewise.
22090 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22091 (FE_UNDERFLOW): Likewise.
22092 (FE_OVERFLOW): Likewise.
22093 (FE_DIVBYZERO): Likewise.
22094 (FE_INVALID): Likewise.
22095 (FE_TONEAREST): Likewise.
22096 (FE_TOWARDZERO): Likewise.
22097 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22098 (FE_OVERFLOW): Likewise.
22099 (FE_UNDERFLOW): Likewise.
22100 (FE_DIVBYZERO): Likewise.
22101 (FE_INEXACT): Likewise.
22102 (FE_TONEAREST): Likewise.
22103 (FE_TOWARDZERO): Likewise.
22104 (FE_UPWARD): Likewise.
22105 (FE_DOWNWARD): Likewise.
22106 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22107 (FE_DIVBYZERO): Likewise.
22108 (FE_OVERFLOW): Likewise.
22109 (FE_UNDERFLOW): Likewise.
22110 (FE_INEXACT): Likewise.
22111 (FE_TONEAREST): Likewise.
22112 (FE_DOWNWARD): Likewise.
22113 (FE_UPWARD): Likewise.
22114 (FE_TOWARDZERO): Likewise.
22115
105ca950
CM
221162012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22117
22118 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22119
a542b389
AS
221202012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22121
22122 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22123 commands. Quote $PWD.
22124 (blacklist_exports): Don't use remove_newlines. Replace "declare
22125 -x" by "export".
22126 (remove_newlines): Remove.
22127
f62c8abc
L
221282012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22129
22130 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22131 * stdlib/stdlib.h (atof): Moved to ...
22132 * include/bits/stdlib-float.h: Here. New file.
22133 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22134 * stdlib/bits/stdlib-float.h: New file.
22135 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22136 -mno-sse -mno-mmx.
22137 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22138 <xmmintrin.h>.
22139
0155d5b2
JM
221402012-11-02 Joseph Myers <joseph@codesourcery.com>
22141
a68d0680
JM
22142 * conform/conformtest.pl (@headers): Add fenv.h.
22143 * conform/data/fenv.h-data: New file.
22144 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22145 include of <math/fenv.h>.
22146
caf7f573
JM
22147 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22148 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22149 && !UNIX98]. Enables tests for XOPEN2K8.
22150 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22151 POSIX2008]: Likewise.
22152
6c073ad6
JM
22153 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22154 (struct rusage): Do not expect type or its members.
22155
0155d5b2
JM
22156 [BZ #3439]
22157 * math/math.h (FP_NAN): Define macro to integer constant usable in
22158 #if and use that to give value to enum constant.
22159 (FP_INFINITE): Likewise.
22160 (FP_ZERO): Likewise.
22161 (FP_SUBNORMAL): Likewise.
22162 (FP_NORMAL): Likewise.
22163
b5dcacb4
AS
221642012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22165
22166 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22167 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22168 arguments.
22169
f7934be8
RM
221702012-11-02 Roland McGrath <roland@hack.frob.com>
22171
22172 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22173 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22174 autoconf-time if not.
22175 * configure.in: Remove AC_PREREQ.
22176
d7d08bde
TMQMF
221772012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22178
22179 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22180 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22181 of the internal implementation.
22182
dcdae19a
JM
221832012-11-02 Joseph Myers <joseph@codesourcery.com>
22184
22185 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22186 except include of <misc/sys/syslog.h>.
22187
d6cffd3e
AS
221882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22189
22190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22191 function returns with a NULL context exit with zero.
22192
b3563932
TMQMF
221932012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22194
22195 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22196
b288a93d
L
221972012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22198
22199 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22200 (run_program_cmd): This.
22201 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22202 (tst_langinfo): New variable. Use it.
22203
a2421a68
SAS
222042012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22205
22206 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22207 floating point opcodes.
22208
6f796e1b
TS
222092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22210
7402596b
TS
22211 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22212 variable.
22213
d0d4f868
TS
22214 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22215
6f796e1b
TS
22216 * sysdeps/mach/hurd/powerpc: Remove directory.
22217 * sysdeps/mach/powerpc: Likewise.
22218
4da224a2
AS
222192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22220
22221 * scripts/check-local-headers.sh: Ignore c++ headers.
22222
341dd673
TS
222232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22224
22225 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22226 __libc_cleanup_region_start argument.
22227
473611b2
JM
222282012-11-01 Joseph Myers <joseph@codesourcery.com>
22229
22230 [BZ #14784]
22231 [BZ #14785]
22232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22233 x * y using scaling, not as x * y + z.
22234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22236 * math/libm-test.inc (fma_test): Add more tests.
22237 (fma_test_towardzero): Likewise.
22238 (fma_test_downward): Likewise.
22239 (fma_test_upward): Likewise.
22240
4078da3d
TS
222412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22242
22243 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22244
903252aa
JM
222452012-10-31 Joseph Myers <joseph@codesourcery.com>
22246
22247 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22248 New variable.
22249
cbc818d0
TS
222502012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22251
22252 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22253
5a03cb1e
AS
222542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22255
22256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22257 Fix sort order.
22258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22259 Likewise.
22260
90aff2ff
TMQMF
222612012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22262
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22264 Fix the order of the list for glibc 2.17.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22266 Likewise.
22267
1818fcb7
AS
222682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22269
22270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22271
ef82f4da
JM
222722012-10-31 Joseph Myers <joseph@codesourcery.com>
22273
16a0e2ec
JM
22274 [BZ #14610]
22275 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22276 for low part of x being zero before using __atanl (y).
22277 * math/libm-test.inc (atan2_test): Add another test.
22278
0eb69512
JM
22279 * manual/install.texi (Configuring and compiling): Document
22280 general use of test-wrapper and test-wrapper-env.
22281 * INSTALL: Regenerated.
22282
ef82f4da
JM
22283 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22284 (__fma): Do not extract and scale down low bits on after-rounding
22285 systems when result rounded to normal precision would have normal
22286 exponent.
22287 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22288 (__fmal): Do not extract and scale down low bits on after-rounding
22289 systems when result rounded to normal precision would have normal
22290 exponent.
22291 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22292 (__fmal): Do not extract and scale down low bits on after-rounding
22293 systems when result rounded to normal precision would have normal
22294 exponent.
22295 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22296 macro.
22297 (fma_test): Add more tests.
22298 (fma_test_towardzero): Likewise.
22299 (fma_test_downward): Likewise.
22300 (fma_test_upward): Likewise.
22301
954ef0d9
L
223022012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22303
22304 * sysdeps/i386/tininess.h: Renamed to ...
22305 * sysdeps/x86/tininess.h: This.
22306 * sysdeps/x86_64/tininess.h: Removed.
22307
df61ffb2
JM
223082012-10-30 Joseph Myers <joseph@codesourcery.com>
22309
22310 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22311 input. Use $(build-program-cmd).
22312 ($(objpfx)tst-array1-static.out): Likewise.
22313 ($(objpfx)tst-array2.out): Likewise.
22314 ($(objpfx)tst-array3.out): Likewise.
22315 ($(objpfx)tst-array4.out): Likewise.
22316 ($(objpfx)tst-array5.out): Likewise.
22317 ($(objpfx)tst-array5-static.out): Likewise.
22318
01767843
CM
223192012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22320
47cc1490
CM
22321 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22322 if defined.
22323
01767843
CM
22324 * nss/nsswitch.h (nss_interface_function): Provide new
22325 macro for use with NSS functions.
22326 * grp/initgroups.c: Use new macro.
22327 * nss/getXXbyYY.c: Likewise.
22328 * nss/getXXbyYY_r.c: Likewise.
22329 * nss/getXXent.c: Likewise.
22330 * nss/getXXent_r.c: Likewise.
22331 * sysdeps/posix/getaddrinfo.c: Likewise.
22332
8321aa97
AJ
223332012-10-30 Andreas Jaeger <aj@suse.de>
22334
22335 * po/ru.po: Update Russion translation from translation project.
22336
2a27fd6d
JM
223372012-10-30 Joseph Myers <joseph@codesourcery.com>
22338
8627a232
JM
22339 [BZ #14152]
22340 [BZ #14783]
22341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22342 result and shift together with sticky bit instead of replicating
22343 round-to-nearest rounding.
22344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22346 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22347 missing underflow exceptions.
22348 (fma_test_towardzero): Add more tests.
22349 (fma_test_downward): Likewise.
22350 (fma_test_upward): Likewise.
22351
2a27fd6d
JM
22352 [BZ #14047]
22353 * sysdeps/generic/tininess.h: New file.
22354 * sysdeps/i386/tininess.h: Likewise.
22355 * sysdeps/sh/tininess.h: Likewise.
22356 * sysdeps/x86_64/tininess.h: Likewise.
22357 * stdlib/tst-strtod-underflow.c: Likewise.
22358 * stdlib/tst-tininess.c: Likewise.
22359 * stdlib/strtod_l.c: Include <tininess.h>.
22360 (round_and_return): Do not set errno for exact underflow cases.
22361 Force an underflow exception when setting errno for underflow.
22362 Determine underflow based on rounding to normal precision if
22363 TININESS_AFTER_ROUNDING.
22364 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22365 ERANGE for exact underflow cases.
22366 * stdlib/Makefile (tests): Add tst-tininess and
22367 tst-strtod-underflow.
22368 ($(objpfx)tst-tininess): Use $(link-libm).
22369 ($(objpfx)tst-strtod-underflow): Likewise.
22370
e7170363
AJ
223712012-10-30 Andreas Jaeger <aj@suse.de>
22372
e5088dc6
AJ
22373 [BZ#14767]
22374 * elf/Makefile (tests): Remove conditional for have-initfini-array
22375 since this is now always required and the variable does not exist
22376 anymore.
22377 (tests-static): Likewise.
22378 (modules-names): Likewise.
22379
e7170363 22380 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22381
22382 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22383 merged with constructor/destructor.
22384 (init_array): Likewise.
22385 * elf/tst-array2dep.c (fini_array): Likewise.
22386 (init_array): Likewise.
22387
60457d8a
MF
223882012-10-29 Mike Frysinger <vapier@gentoo.org>
22389
22390 * manual/message.texi: Delete @cartouche tags.
22391
8bece752
PT
223922012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22393
94ce799f
PT
22394 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22395 EOPNOTSUPP.
22396 * sysdeps/mach/hurd/fsync.c: Likewise.
22397
8bece752
PT
22398 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22399 [_POSIX_REALTIME_SIGNALS]: Change condition to
22400 [_POSIX_REALTIME_SIGNALS > 0].
22401
86ebe6b1
AJ
224022012-10-27 Andreas Jaeger <aj@suse.de>
22403
22404 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22405 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22407 [__WORDSIZE != 64]: Likewise.
22408
54399c08
L
224092012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22410
22411 * iconvdata/tst-table.sh: Remove ${SHELL}.
22412 * iconvdata/tst-tables.sh: Likewise.
22413
e2211bed
DM
224142012-10-25 David S. Miller <davem@davemloft.net>
22415
22416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22417 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22418 of strtoull.
22419
f303f97c
DM
22420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22421 ifunc-impl-list.c
22422 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22423 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22424 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22425 file.
22426
1e9d84cd
RM
224272012-10-25 Roland McGrath <roland@hack.frob.com>
22428
22429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22430 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22431 __getdirentries.
22432
df381762
JM
224332012-10-25 Joseph Myers <joseph@codesourcery.com>
22434 Jim Blandy <jimb@codesourcery.com>
22435
22436 * scripts/cross-test-ssh.sh: New file.
22437 * manual/install.texi (Configuring and compiling): Document use of
22438 cross-test-ssh.sh.
22439 * INSTALL: Regenerated.
22440
bff64913
PT
224412012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22442
22443 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22444 EOPNOTSUPP.
22445
25fe8932
JM
224462012-10-25 Joseph Myers <joseph@codesourcery.com>
22447
22448 * Makeconfig (run-program-prefix): Fix comment.
22449
cc1290d0
JM
224502012-10-24 Joseph Myers <joseph@codesourcery.com>
22451 Jim Blandy <jimb@codesourcery.com>
22452
22453 * Makeconfig (test-wrapper): New variable,
22454 (test-wrapper-env): Likewise.
22455 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22456 (run-built-tests): Define to yes.
22457 (run-program-prefix): Use $(test-wrapper).
22458 (built-program-cmd): Likewise.
22459 * Rules (make-test-out): Use $(test-wrapper-env) and
22460 $(host-built-program-cmd).
22461 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22462 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22463 tst-pathopt.sh.
22464 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22465 $(test-wrapper-env) to tst-rtld-load-self.sh.
22466 ($(objpfx)order2.out): Use $(test-wrapper).
22467 ($(objpfx)tst-initorder.out): Likewise.
22468 ($(objpfx)tst-initorder2.out): Likewise.
22469 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22470 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22471 (test_wrapper_env): New variable. Use it to run ld.so.
22472 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22473 Use it to run ld.so.
22474 (test_wrapper_env): Likewise.
22475 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22476 $(test-wrapper) to run-iconv-test.sh.
22477 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22478 (ICONV): Use $test_wrapper.
22479 * posix/Makefile ($(objpfx)globtest.out): Pass
22480 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22481 globtest.sh, not $(run-program-prefix).
22482 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22483 (test_wrapper): Likewise.
22484 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22485 set together with run_via_rtld_prefix.
22486 (run_program_prefix): Define in terms of test_wrapper and
22487 run_via_rtld_prefix.
22488
6e6249d0
RM
224892012-10-24 Roland McGrath <roland@hack.frob.com>
22490
22491 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22492 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22493 Targets removed.
22494
22495 [BZ #14743]
22496 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22497 Declare __clock_getres, __clock_gettime, __clock_settime,
22498 __clock_nanosleep, and __clock_getcpuclockid.
22499 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22500 Remove librt_hidden_def (clock_gettime).
22501 * sysdeps/unix/clock_gettime.c: Likewise.
22502 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22504 * rt/clock_getres.c: Define __clock_getres as an alias.
22505 * sysdeps/posix/clock_getres.c: Likewise.
22506 * rt/clock_settime.c: Define __clock_settime as an alias.
22507 * sysdeps/unix/clock_settime.c: Likewise.
22508 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22509 * sysdeps/unix/clock_nanosleep.c: Likewise.
22510 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22511 * rt/clock-compat.c: New file.
22512 * rt/Makefile (librt-routines): Add clock-compat and move
22513 $(clock-routines) to ...
22514 (routines): ... here, new variable.
22515 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22516 Don't add get_clockfreq here.
22517 * rt/Versions (libc: GLIBC_2.17): New version set.
22518 Add clock_* symbols here.
22519 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22521 (GLIBC_2.17): Add clock_* symbols.
22522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22526 Likewise.
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22528 Likewise.
22529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22533 * NEWS: Mention the move.
22534
22535 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22536 Use __open, __read, __close rather than their public counterparts.
22537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22538 (__get_clockfreq_via_cpuinfo): Likewise.
22539 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22540 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22541
22542 * config.h.in (HAVE_IFUNC): New #undef.
22543 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22544 was successful.
22545 * configure: Regenerated.
22546
0cae3f4b
MF
225472012-10-24 Mike Frysinger <vapier@gentoo.org>
22548
22549 * configure.in: Move READELF check to start of file.
22550 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22551 libc_cv_asm_gnu_indirect_function in the process.
22552 * configure: Regenerated.
22553
8175a253
MF
225542012-10-24 Mike Frysinger <vapier@gentoo.org>
22555
22556 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22557 send the output to /dev/null.
22558 (libc_cv_cc_with_libunwind): Likewise.
22559 (libc_cv_as_noexecstack): Likewise.
22560 * configure: Regenerate.
22561
0708a7d1
JM
225622012-10-24 Joseph Myers <joseph@codesourcery.com>
22563
10b40d85
JM
22564 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22565
0708a7d1
JM
22566 * posix/globtest.sh (TMPDIR): Do not set.
22567 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22568 (testout): Likewise.
22569
9fddec1a
AJ
225702012-10-24 Andreas Jaeger <aj@suse.de>
22571
3a8db22f
AJ
22572 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22573 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22574 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22575 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22576 posix_fadvise64, posix_fallocate64.
22577
9fddec1a
AJ
22578 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22579 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22580 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22581 Likewise.
22582 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22583 Likewise.
22584 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22585
22586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22587 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22588 <bits/fcntl-linux.h>.
22589 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22590
22591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22592 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22593 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22594 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22595 [__WORDSIZE != 64]: Likewise.
22596
ebfd1bbd
JM
225972012-10-23 Joseph Myers <joseph@codesourcery.com>
22598
03ac099f
JM
22599 * Makeconfig (run-built-tests): New variable.
22600 * Rules [$(cross-compiling) = yes]: Change condition to
22601 [$(run-built-tests) = no].
22602 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22603 to [$(run-built-tests) = yes].
22604 * elf/Makefile [$(cross-compiling) = no]: Likewise
22605 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22606 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22607 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22608 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22609 * io/Makefile [$(cross-compiling) = no]: Likewise.
22610 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22611 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22612 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22613 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22614 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22615 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22616 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22617 * string/Makefile [$(cross-compiling) = no]: Likewise.
22618
ebfd1bbd
JM
22619 * posix/Makefile ($(objpfx)globtest.out): Pass
22620 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22621 $(rtld-installed-name).
22622 * posix/globtest.sh (elf_objpfx): Remove variable.
22623 (rtld_installed_name): Likewise.
22624 (library_path): Likewise.
22625 (run_program_prefix): New variable. Use for running globtest
22626 binary.
22627
166bca24
JB
226282012-10-23 Jim Blandy <jimb@codesourcery.com>
22629 Joseph Myers <joseph@codesourcery.com>
22630
22631 * Makeconfig (host-built-program-cmd): New variable.
22632 * elf/Makefile (tst-stackguard1-ARGS): Use
22633 $(host-built-program-cmd).
22634 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22635 (tst-spawn-ARGS): Likewise.
22636 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22637
88866099
JM
226382012-10-23 Joseph Myers <joseph@codesourcery.com>
22639 Jim Blandy <jimb@codesourcery.com>
22640
22641 * Makeconfig (run-via-rtld-prefix): New variable.
22642 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22643 (built-program-cmd): Likewise.
22644
b4b4c296
AJ
226452012-10-22 Andreas Jaeger <aj@suse.de>
22646
22647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22648 __O_RSYNC if it exists, otherwise to O_SYNC.
22649
6fb54a22
JB
226502012-10-22 Jim Blandy <jimb@codesourcery.com>
22651 Joseph Myers <joseph@codesourcery.com>
22652
22653 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22654 /dev/null.
22655 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22656 from /dev/null
22657 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22658 /dev/null.
22659
481b90b9
AJ
226602012-10-22 Andreas Jaeger <aj@suse.de>
22661
2a0e2669
AJ
22662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22663 Define always.
22664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22665
76e38f9a
AJ
22666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22667 bits/fcntl-linux.h.
22668
7cd37b43
AJ
22669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22670 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22671
481b90b9
AJ
22672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22673 to __O_LARGEFILE.
22674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22675 to __O_LARGEFILE.
22676
aba75984
JB
226772012-10-21 Jim Blandy <jimb@codesourcery.com>
22678 Joseph Myers <joseph@codesourcery.com>
22679
22680 * config.make.in (NM): New variable.
22681
88d4247f
AJ
226822012-10-21 Andreas Jaeger <aj@suse.de>
22683
22684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22685 definitions and declarations that are provided by
22686 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22687
f2eed205
L
226882012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22689
22690 [BZ #14683]
22691 * elf/Makefile (tests-static): Add tst-leaks1-static.
22692 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22693 ($(objpfx)tst-leaks1-static): New rule.
22694 ($(objpfx)tst-leaks1-static-mem): Likewise.
22695 (tst-leaks1-static-ENV): New macro.
22696 * elf/dl-open.c (dl_open_worker): Check the main application
22697 only if SHARED is defined.
22698 * elf/tst-leaks1-static.c: New file.
22699
335e6931
AJ
227002012-10-20 Andreas Jaeger <aj@suse.de>
22701
22702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22703 generic values for Linux.
22704 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22705 and declarations that are provided by <bits/fcntl-linux.h> and
22706 include <bits/fcntl-linux.h>.
22707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22709
ac5c94d3
RM
227102012-10-20 Roland McGrath <roland@hack.frob.com>
22711
22712 * io/fcntl.h: Move include of <bits/types.h> to the top and
22713 include it unconditionally.
22714
de54b33a
L
227152012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22716
228cfb01
L
22717 * wcsmbs/Makefile (tests-ifunc): New variable.
22718 (tests): Add $(tests-ifunc).
22719 * wcsmbs/test-wcschr-ifunc.c: New file.
22720 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22721 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22722 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22723 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22724 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22725
69f07e5f
L
22726 * string/Makefile (tests-ifunc): New variable.
22727 (tests): Add $(tests-ifunc).
22728 * string/test-memccpy.c (TEST_NAME): New macro.
22729 * string/test-memchr.c (TEST_NAME): Likewise.
22730 * string/test-memcmp.c (TEST_NAME): Likewise.
22731 * string/test-memcpy.c (TEST_NAME): Likewise.
22732 * string/test-memmem.c (TEST_NAME): Likewise.
22733 * string/test-memmove.c (TEST_NAME): Likewise.
22734 * string/test-memset.c (TEST_NAME): Likewise.
22735 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22736 * string/test-stpcpy.c (TEST_NAME): Likewise.
22737 * string/test-stpncpy.c (TEST_NAME): Likewise.
22738 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22739 * string/test-strcasestr.c (TEST_NAME): Likewise.
22740 * string/test-strcat.c (TEST_NAME): Likewise.
22741 * string/test-strchr.c (TEST_NAME): Likewise.
22742 * string/test-strcmp.c(TEST_NAME): Likewise.
22743 * string/test-strcpy.c (TEST_NAME): Likewise.
22744 * string/test-strcspn.c (TEST_NAME): Likewise.
22745 * string/test-strlen.c (TEST_NAME): Likewise.
22746 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22747 * string/test-strncmp.c (TEST_NAME): Likewise.
22748 * string/test-strncpy.c (TEST_NAME): Likewise.
22749 * string/test-strnlen.c (TEST_NAME): Likewise.
22750 * string/test-strpbrk.c (TEST_NAME): Likewise.
22751 * string/test-strrchr.c (TEST_NAME): Likewise.
22752 * string/test-strspn.c (TEST_NAME): Likewise.
22753 * string/test-strstr.c (TEST_NAME): Likewise.
22754 * string/test-bcopy-ifunc.c: New file.
22755 * string/test-bzero-ifunc.c: Likewise.
22756 * string/test-memccpy-ifunc.c: Likewise.
22757 * string/test-memchr-ifunc.c: Likewise.
22758 * string/test-memcmp-ifunc.c: Likewise.
22759 * string/test-memcpy-ifunc.c: Likewise.
22760 * string/test-memmem-ifunc.c: Likewise.
22761 * string/test-memmove-ifunc.c: Likewise.
22762 * string/test-mempcpy-ifunc.c: Likewise.
22763 * string/test-memset-ifunc.c: Likewise.
22764 * string/test-rawmemchr-ifunc.c: Likewise.
22765 * string/test-stpcpy-ifunc.c: Likewise.
22766 * string/test-stpncpy-ifunc.c: Likewise.
22767 * string/test-strcasecmp-ifunc.c: Likewise.
22768 * string/test-strcasestr-ifunc.c: Likewise.
22769 * string/test-strcat-ifunc.c: Likewise.
22770 * string/test-strchr-ifunc.c: Likewise.
22771 * string/test-strchrnul-ifunc.c: Likewise.
22772 * string/test-strcmp-ifunc.c: Likewise.
22773 * string/test-strcpy-ifunc.c: Likewise.
22774 * string/test-strcspn-ifunc.c: Likewise.
22775 * string/test-strlen-ifunc.c: Likewise.
22776 * string/test-strncasecmp-ifunc.c: Likewise.
22777 * string/test-strncat-ifunc.c: Likewise.
22778 * string/test-strncmp-ifunc.c: Likewise.
22779 * string/test-strncpy-ifunc.c: Likewise.
22780 * string/test-strnlen-ifunc.c: Likewise.
22781 * string/test-strpbrk-ifunc.c: Likewise.
22782 * string/test-strrchr-ifunc.c: Likewise.
22783 * string/test-strspn-ifunc.c: Likewise.
22784 * string/test-strstr-ifunc.c: Likewise.
22785
de54b33a
L
22786 * debug/Makefile (tests-ifunc): New variable.
22787 (tests): Add $(tests-ifunc).
22788 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22789 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22790 * debug/test-stpcpy_chk-ifunc.c: New file.
22791 * debug/test-strcpy_chk-ifunc.c: Likewise.
22792
88481c16
SP
227932012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22794
22795 [BZ #13601]
22796 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22797 header is not read in.
22798
135948bd
JM
227992012-10-19 Joseph Myers <joseph@codesourcery.com>
22800
89f1c388
JM
22801 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22802 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22803 directly. Pass built executable to script as
22804 $(built-program-cmd).
22805 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22806 $testprogram without using LD_LIBRARY_PATH and $ldso.
22807
e40a0d21
JM
22808 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22809 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22810 $(rtld-installed-name).
22811 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22812 (rtld_installed_name): Likewise.
22813 (library_path): Likewise.
22814 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22815 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22816 $(run-program-prefix) to tst-tables.sh.
22817 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22818 it to run tst-table-from and tst-table-to.
22819 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22820 Pass it to tst-table.sh.
22821 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22822 $(run-program-prefix) to tst-gettext.sh.
22823 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22824 tst-translit.sh.
22825 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22826 tst-gettext2.sh.
22827 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22828 to run tst-gettext.
22829 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22830 to run tst-gettext2.
22831 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22832 to run tst-translit.
22833 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22834 $(run-program-prefix) to tst-mtrace.sh.
22835 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22836 to run tst-mtrace.
22837 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22838 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22839 $(rtld-installed-name).
22840 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22841 (rtld_installed_name): Likewise.
22842 (run_program_prefix): New variable. Use it to run wordexp-test.
22843
728e272a
JM
22844 * Makeconfig (ARCH): Remove all definitions.
22845 (machine): Likewise.
22846 [ARCH]: Remove conditional code.
22847 [!objdir]: Give error.
22848 [!objdir] (objpfx): Remove.
22849 [!objdir] (common-objpfx): Likewise.
22850 [!objdir] (common-objdir): Likewise.
22851 * configure.in (config_makefile): Remove. Hardcode Makefile in
22852 AC_CONFIG_FILES call.
22853 * configure: Regenerated.
22854
d528cdcf
JM
22855 [BZ #13888]
22856 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22857 or TMPDIR.
22858 (testout): Likewise.
22859
135948bd
JM
22860 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22861 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22862 $(rtld-installed-name).
22863 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22864 (rtld_installed_name): Likwise.
22865 (runit): Remove function.
22866 (run_getconf): New variable, Use it for running getconf binary.
22867
38c78296
L
228682012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22869
22870 [BZ #14716]
22871 * string/test-memmem.c (check_result): New function.
22872 (do_one_test): Use it.
22873 (check1): New function.
22874 (test_main): Use it.
22875
d077f65f
MT
228762012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22877
22878 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22879
ced52c71
JM
228802012-10-18 Joseph Myers <joseph@codesourcery.com>
22881
22882 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22883 (_G_LSEEK64): Likewise.
22884 (_G_MMAP64): Likewise.
22885 (_G_FSTAT64): Likewise.
22886 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22887 (_G_LSEEK64): Likewise.
22888 (_G_MMAP64): Likewise.
22889 (_G_FSTAT64): Likewise.
22890 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22891 unconditional. Call __mmap64 directly.
22892 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22893 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22894 __lseek64 directly.
22895 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22896 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22897 __mmap64 directly.
22898 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22899 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22900 __lseek64 directly.
22901 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22902 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22903 __lseek64 directly.
22904 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22905 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22906 __lseek64 directly.
22907 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22908 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22909 __fxstat64 directly.
22910 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22911 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22912 unconditional.
22913 (freopen64) [!_G_OPEN64]: Remove conditional code.
22914 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22915 unconditional.
22916 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22917 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22918 unconditional.
22919 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22920 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22921 unconditional.
22922 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22923 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22924 unconditional.
22925 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22926 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22927 unconditional.
22928 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22929 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22930 unconditional.
22931 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22932 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22933 unconditional.
22934 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22935
b741de23
SP
229362012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22937
22938 [BZ #12140]
22939 * manual/memory.texi (Malloc Tunable Parameters): Add note
22940 about free list pointers overwriting some perturb bytes.
22941 Wording suggested by Roland McGrath.
22942
f9b9d9c9
JM
229432012-10-17 Joseph Myers <joseph@codesourcery.com>
22944
22945 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22946 (lgamma_test): Likewise.
22947 (tgamma_test): Likewise.
22948
172a631a
FW
229492012-10-16 Florian Weimer <fweimer@redhat.com>
22950
22951 [BZ #14700]
22952 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22953 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22954
e9f37252
MK
229552012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22956
22957 * NEWS: Mention BZ #14716.
22958 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22959 when removing AVAILABLE1_USES_J macro.
22960
d394eb74
L
229612012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22962
22963 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22964 (__bswap_64): __uint64_t for unsigned 64-bit int.
22965
ca38dc17
AS
229662012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22967
22968 * include/string.h (memmem): Declare libc hidden alias.
22969 * string/memmem.c (memmem): Define libc hidden alias.
22970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22971 __read, __close instead of open, read, close.
22972
9a387d1f
L
229732012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22974
ac49ecaf
L
22975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22976 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22977 global and hidden.
22978 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22979 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22980 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22981 Likewise.
22982 (__rawmemchr_sse2): Likewise.
22983 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22984 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22985 (__strchr_sse2): Likewise.
22986 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22987 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22988 (__strcasecmp_sse2): Likewise.
22989 (__strncasecmp_sse2): Likewise.
22990 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22991 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22992 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22993 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22994 (__strrchr_sse2): Likewise.
22995 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22996 ifunc-impl-list.c.
22997 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22998 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22999 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23000 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23001 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23002 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23003 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23004 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23005 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23006 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23007 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23008 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23009 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23010 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23011 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23012 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23013 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23014 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23015 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23016 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23017 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23018 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23019 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23020 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23021 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23022 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23023 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23024 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23025 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23026 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23027
b090e8ea
L
23028 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23029 global and hidden.
23030 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23031 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23032 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23033 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23034 Likewise.
23035 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23036 Likewise.
23037 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23038 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23039 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23040 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23041 ifunc-impl-list.c.
23042 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23043 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23044 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23045 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23046 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23047 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23048 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23049 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23050 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23051 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23052 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23053 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23054 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23055 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23056 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23057 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23058 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23059 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23060 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23061 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23062 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23063 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23064 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23065 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23066 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23067 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23068 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23069 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23070 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23071 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23072 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23073 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23074 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23075 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23076 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23077 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23078 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23079 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23080 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23081 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23082 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23083
11dd4af6
L
23084 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23085 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23086 * include/ifunc-impl-list.h: New file.
23087 * misc/ifunc-impl-list.c: Likewise.
23088 * misc/Makefile (routines): Add ifunc-impl-list.
23089 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23090 * string/test-string.h: Include <ifunc-impl-list.h>.
23091 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23092 impl_array): New variables.
23093 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23094 are defined.
23095 (test_init): Call __libc_ifunc_impl_list to initialize
23096 func_list if TEST_IFUNC and TEST_NAME are defined.
23097
9a387d1f
L
23098 * string/Makefile (strop-tests): Add bcopy and bzero.
23099 * string/test-bcopy.c: New file.
23100 * string/test-bzero.c: Likewise.
23101 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23102 defined.
23103 * string/test-memset.c: Support bzero test if TEST_BZERO is
23104 defined.
23105 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23106 __libc_memmove.
23107 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23108 __libc_memset.
23109 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23110 of memset.
23111
472371b9
JM
231122012-10-10 Joseph Myers <joseph@codesourcery.com>
23113
1e4a9536
JM
23114 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23115 * configure: Regenerated.
23116
d173d12e
JM
23117 * Makeconfig (+link-static-before-libc): Don't include
23118 $(link-static-libc).
23119
472371b9
JM
23120 * libio/libio.h (_IO_pos_t): Remove.
23121
89a3ad0b
AO
231222012-10-10 Alexandre Oliva <aoliva@redhat.com>
23123
23124 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23125 McGrath.
23126
e7451425
AO
231272012-10-10 Alexandre Oliva <aoliva@redhat.com>
23128
23129 * crypt/crypt-entry.c: Include fips-private.h.
23130 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23131 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23132 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23133 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23134
4ba74a35
AO
231352012-10-10 Alexandre Oliva <aoliva@redhat.com>
23136
23137 * crypt/crypt-private.h: Include stdbool.h.
23138 (_ufc_setup_salt_r): Return bool.
23139 * crypt/crypt-entry.c: Include errno.h.
23140 (__crypt_r): Return NULL with EINVAL for bad salt.
23141 * crypt/crypt_util.c (bad_for_salt): New.
23142 (_ufc_setup_salt_r): Check that salt is long enough and within
23143 the specified alphabet.
23144 * crypt/badsalttest.c: New file.
23145 * crypt/Makefile (tests): Add it.
23146 ($(objpfx)badsalttest): New.
23147
f96f1242
MK
231482012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23149
23150 * NEWS: Add entry for BZ #14602.
23151
0e8e0c1c
JM
231522012-10-09 Joseph Myers <joseph@codesourcery.com>
23153
23154 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23155 type-generic.
23156 * math/libm-test.inc: Update comment listing what functions and
23157 macros are tested.
23158 (isgreater_test): New function.
23159 (isgreaterequal_test): Likewise.
23160 (isless_test): Likewise.
23161 (islessequal_test): Likewise.
23162 (islessgreater_test): Likewise.
23163 (isunordered_test): Likewise.
23164 (main): Call the new functions.
23165
273edc5e
RM
231662012-10-09 Roland McGrath <roland@hack.frob.com>
23167
b8493de0
RM
23168 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23169 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23170 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23171 * sysdeps/i386/configure: Regenerated.
23172 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23173 * sysdeps/mach/configure: Regenerated.
23174 * sysdeps/mach/hurd/configure: Regenerated.
23175 * sysdeps/powerpc/configure: Regenerated.
23176 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23177 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23178 * sysdeps/s390/s390-32/configure: Regenerated.
23179 * sysdeps/s390/s390-64/configure: Regenerated.
23180 * sysdeps/sh/configure: Regenerated.
23181 * sysdeps/sparc/configure: Regenerated.
23182 * sysdeps/unix/sysv/linux/configure: Regenerated.
23183 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23184 * sysdeps/x86_64/configure: Regenerated.
23185
273edc5e
RM
23186 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23187 defined. Don't check if MAP is NULL.
23188
c8450f70
JM
231892012-10-09 Joseph Myers <joseph@codesourcery.com>
23190
23191 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23192 (_G_stat64): Likewise.
23193 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23194 (_G_stat64): Likewise.
23195 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23196 instead of struct _G_stat64.
23197 * libio/fileops.c (mmap_remap_check): Likewise.
23198 (decide_maybe_mmap): Likewise.
23199 (_IO_new_file_seekoff): Likewise.
23200 (_IO_file_stat): Likewise.
23201 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23202 _G_off64_t.
23203 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23204 instead of struct _G_stat64.
23205 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23206
57e605ba
MK
232072012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23208
23209 [BZ #14602]
23210 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23211 Replace with ...
23212 (CHECK_EOL): New macro.
23213 (two_way_short_needle): Check beginning of haystack for EOL. Use
23214 CHECK_EOL.
23215 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23216 Replace with CHECK_EOL.
23217 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23218 Replace with CHECK_EOL.
23219
ef1bb361
JM
232202012-10-08 Joseph Myers <joseph@codesourcery.com>
23221
23222 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23223 type-generic.
23224 * math/libm-test.inc: Update comment listing what functions and
23225 macros are tested.
23226 (finite_test): New function.
23227 (isinf_test): Likewise.
23228 (isnan_test): Likewise.
23229 (fpclassify_test): Test subnormal input.
23230 (isfinite_test): Likewise.
23231 (isnormal_test): Likewise.
23232 (main): Call the new functions.
23233
55f11534
JN
232342012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23235
23236 [BZ #14660]
23237 * Makerules (%.dynsym): Force C locale when running
23238 $(OBJDUMP) --dynamic-syms.
23239
1ab29350
AS
232402012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23241
23242 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23243 <stdint.h>.
23244
f1ecb7ef
DM
232452012-10-06 David S. Miller <davem@davemloft.net>
23246
23247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23248 upper 32-bits of the length value in %o2 since we use branch-on-register
23249 tests which consider the entire 64-bit register.
23250
5d41d91a
L
232512012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23252
23253 * string/test-strstr.c (check2): Add a test for page boundary.
23254
3baddb72
DM
232552012-10-05 David S. Miller <davem@davemloft.net>
23256
23257 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23258 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23259 file.
23260 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23261 sysdep_routines.
23262 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23263 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23264 and bzero when HWCAP_SPARC_CRYPTO is present.
23265
9cee5585
L
232662012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23267
d7e0dab9
L
23268 [BZ #14602]
23269 * string/test-strstr.c (check2): New function.
23270 (test_main): Call check2.
23271
03759f47
L
23272 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23273 and bug-strchr1.
23274 * string/bug-strcasestr1.c (do_test): Moved to ...
23275 * string/test-strcasestr.c (check1): Here. New function.
23276 (do_one_test): Break out result checking code into ...
23277 (check_result): This. New function.
23278 (do_one_test): Call check_result.
23279 (test_main): Call check1.
23280 * string/bug-strchr1.c (do_test): Moved to ...
23281 * string/test-strchr.c (check1): Here. New function.
23282 (do_one_test): Break out result checking code into ...
23283 (check_result): This. New function.
23284 (do_one_test): Call check_result.
23285 (test_main): Call check1.
23286 * string/bug-strstr1.c (main): Moved to ...
046f153e 23287 * string/test-strstr.c (check1): Here. New function.
03759f47
L
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-strcasestr1.c: Removed.
23293 * string/bug-strchr1.c: Likewise.
23294 * string/bug-strstr1.c: Likewise.
23295
53cea63e
L
23296 * elf/Makefile (dl-routines): Add hwcaps.
23297 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23298 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23299 (_dl_important_hwcaps): Moved to ...
23300 * elf/dl-hwcaps.c: Here. New file.
23301 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23302
9cee5585 23303 [BZ #14557]
bb859b06
L
23304 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23305 if IS_IN_rtld isn't defined.
23306
9cee5585
L
23307 * elf/dl-support.c (_dl_sysinfo_map): New.
23308 Include "get-dynamic-info.h" and "setup-vdso.h".
23309 (_dl_non_dynamic_init): Call setup_vdso.
23310 * elf/dynamic-link.h: Don't include <assert.h>.
23311 (elf_get_dynamic_info): Moved to ...
23312 * elf/get-dynamic-info.h: Here. New file.
23313 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23314 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23315 * elf/setup-vdso.h: Here. New file.
23316 * elf/rtld.c: Include "setup-vdso.h".
23317 (dl_main): Call setup_vdso.
23318
23c31b76
JM
233192012-10-05 Joseph Myers <joseph@codesourcery.com>
23320
28234b07
JM
23321 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23322 creal in comment listing functions tested. List finite, isinf,
23323 isnan, isless, islessequal, isgreater, isgreaterequal,
23324 islessgreater, isunordered, lgamma_r and pow10 as functions and
23325 macros not tested. Mention which functions not tested are aliases
23326 for other functions. Fix typo. Note that signs of NaNs are not
23327 tested.
23328
23c31b76
JM
23329 * scripts/config.guess: Update from config.git.
23330 * scripts/config.sub: Likewise.
23331
9043e228
RM
233322012-10-04 Roland McGrath <roland@hack.frob.com>
23333
23334 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23335 * misc/madvise.c (madvise): Renamed to __madvise.
23336 Make madvise a weak alias.
23337 * include/sys/mman.h: Declare __madvise.
23338 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23339 * sysdeps/unix/syscalls.list
23340 (madvise): Make __madvise the strong name, and madvise a weak alias.
23341 * sysdeps/unix/sysv/linux/syscalls.list
23342 (madvise, mmap): Remove redundant entries.
23343 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23344 * malloc/malloc.c (mtrim): Likewise.
23345 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23346
f57f8055
RM
233472012-10-03 Roland McGrath <roland@hack.frob.com>
23348
23349 * sysdeps/mach/hurd/dl-cache.c: File removed.
23350 * config.h.in (USE_LDCONFIG): New #undef.
23351 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23352 * configure: Regenerated.
23353 * elf/Makefile (dl-routines): Add dl-cache only under
23354 [$(use-ldconfig) = yes].
23355 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23356 cache on [USE_LDCONFIG].
23357 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23358 [USE_LDCONFIG].
23359 * elf/rtld.c (dl_main): Likewise.
23360
5bb0c10a
PT
233612012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23362
23363 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23364 _SC_LEVEL4_CACHE_LINESIZE.
23365
010188c6
RM
233662012-10-03 Roland McGrath <roland@hack.frob.com>
23367
23368 * sysdeps/unix/bsd/confstr.h: File removed.
23369
b6c5ec07
AO
233702012-10-02 Alexandre Oliva <aoliva@redhat.com>
23371
23372 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23373 sys/sdt-config.h.
23374
408223d4
RM
233752012-10-02 Roland McGrath <roland@hack.frob.com>
23376
23377 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23378 Make 'mapoff' field ElfW(Off) rather than off_t.
23379
bb9510dc
DL
233802012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23381
fc997c6e
DL
23382 * nscd/Makefile: Remove nscd-cflags and all its users.
23383 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23384 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23385
bb9510dc
DL
23386 [BZ #10631]
23387 * malloc.c (malloc_printerr): Clarify error message.
23388
05699367
L
233892012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23390
23391 [BZ #14648]
23392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23393 Set bit_FMA_Usable if FMA is supported.
23394 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23395 macro.
23396 (bit_FMA4_Usable): Updated.
23397 (index_FMA_Usable): New macro.
23398 (CPUID_FMA): Likewise
23399 (HAS_FMA): Defined with bit_FMA_Usable.
23400
51367701
RM
234012012-10-01 Roland McGrath <roland@hack.frob.com>
23402
23403 * bits/types.h (__swblk_t): Type removed.
23404 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23405 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23407 (__SWBLK_T_TYPE): Likewise.
23408 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23409 (__SWBLK_T_TYPE): Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23411 (__SWBLK_T_TYPE): Likewise.
23412 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23413 (__SWBLK_T_TYPE): Likewise.
23414
4d57bf63 234152012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23416 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23417
23418 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23419 (xdr_mapname): Use YPMAXMAP as maxsize.
23420 (xdr_peername): Use YPMAXPEER as maxsize.
23421 (xdr_keydat): Use YPAXRECORD as maxsize.
23422 (xdr_valdat): Use YPMAXRECORD as maxsize.
23423
93c65d43
RM
234242012-10-01 Roland McGrath <roland@hack.frob.com>
23425
497a03d6
RM
23426 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23427
93c65d43
RM
23428 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23429 * csu/init-first.c: ... here.
23430 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23431 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23432 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23433 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23434 * sysdeps/i386/init-first.c: File removed.
23435 * sysdeps/sh/init-first.c: File removed.
23436
bec749fd
JM
234372012-10-01 Joseph Myers <joseph@codesourcery.com>
23438
23439 [BZ #14645]
23440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23441 if x * y might underflow to zero and z is zero.
23442 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23444 * math/libm-test.inc (min_subnorm_value): New variable.
23445 (fma_test): Add more tests.
23446 (fma_test_towardzero): Likewise.
23447 (fma_test_downward): Likewise
23448 (fma_test_upward): Likewise.
23449 (initialize): Set min_subnorm_value.
23450
8ec5b013
JM
234512012-09-29 Joseph Myers <joseph@codesourcery.com>
23452
23453 [BZ #14638]
23454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23455 0 + 0.
23456 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23457 mode for addition resulting in exact zero.
23458 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23460 exact 0 + 0.
23461 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23463 * math/libm-test.inc (fma_test): Add more tests.
23464 (fma_test_towardzero): New function.
23465 (fma_test_downward): Likewise.
23466 (fma_test_upward): Likewise.
23467 (main): Call the new functions.
23468
b1fa802e
DM
234692012-09-28 David S. Miller <davem@davemloft.net>
23470
23471 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23472
d3b9fd9e
RM
234732012-09-28 Roland McGrath <roland@hack.frob.com>
23474
ea4d37b3
RM
23475 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23476 instead of SIGALRM.
23477
ac51c949
RM
23478 * sysdeps/gnu/_G_config.h: Moved to ...
23479 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23480 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23481 * sysdeps/generic/_G_config.h: ... here.
23482
28c195f7
RM
23483 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23484
848917f9
RM
23485 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23486
6bacf05b
RM
23487 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23488 Conditionalize target on [libnss_test1.so-version].
23489
91363dbb
RM
23490 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23491
cc87f7d8
RM
23492 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23493 (elfobjdir): Move out of conditionals.
23494
b1c608fe
RM
23495 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23496 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23497 (__nss_lookup_function): Conditionalize label remove_from_tree on
23498 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23499
1d9a6d96
DM
235002012-09-28 David S. Miller <davem@davemloft.net>
23501
23502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23503 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23504 file.
23505 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23506 sysdep_routines.
23507 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23509 when HWCAP_SPARC_CRYPTO is present.
23510
72581615
PT
235112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23512
23513 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23514
715a900c
JL
235152012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23516
23517 [BZ #6530]
23518 * stdio-common/vfprintf.c (process_string_arg): Revert
23519 2000-07-22 change.
23520
235212011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23522
23523 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23524 for testcase.
23525 * stdio-common/tst-sprintf.c: Include <locale.h>
23526 (main): Test sprintf's handling of incomplete multibyte
23527 characters.
23528
9bac1d86
L
235292012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23530
23531 * elf/dl-runtime.c (VERSYMIDX): Removed.
23532 * elf/dl-version.c (VERSYMIDX): Likewise.
23533 * elf/do-rel.h (VERSYMIDX): Likewise.
23534 (VALIDX): Likewise.
23535 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23536 * elf/rtld.c (VALIDX): Likewise.
23537 (ADDRIDX): Likewise.
9bac1d86
L
23538 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23539 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23540 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23541 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23542 (VALIDX): Likewise.
23543 (ADDRIDX): Likewise.
9bac1d86 23544
b31606c0
PT
235452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23546
23547 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23548
11541177
JL
235492012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23550
23551 [BZ #11438]
23552 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23553 to global scope.
23554 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23555 addresses are in the same scope as 192.0.2/24.
23556 * posix/gai.conf: Document new scope table defaults.
23557
adb26fae
SP
235582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23559
23560 [BZ #5298]
23561 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23562 for ftell. Compute offsets from write pointers instead.
23563 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23564
4573c6b0
SP
235652012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23566
23567 [BZ #14543]
23568 * libio/Makefile (tests): New test case tst-fseek.
23569 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23570 combination works in wide mode.
23571 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23572 state when the external buffer state changes.
23573
aa9bbfe6
DM
235742012-09-27 David S. Miller <davem@davemloft.net>
23575
23576 [BZ #14376]
23577 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23578 pass reloc->r_addend in as the 'high' argument to
23579 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23580
784421e7
DM
23581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23582
c39bc8b8
PT
235832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23584
23585 * rt/tst-aio2.c: Include <pthread.h>.
23586 * rt/tst-aio3.c: Likewise.
23587
1ccc2399
SE
235882012-09-27 Steve Ellcey <sellcey@mips.com>
23589
23590 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23591
31ed4153
L
235922012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23593
25f5f885
L
23594 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23595 contents on [SHARED].
31ed4153 23596
b7bfe116
MP
235972012-09-26 Marek Polacek <polacek@redhat.com>
23598
23599 [BZ #14530]
23600 [BZ #13741]
23601 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23602 for C++ and GCC <4.3 as well as for non GCC compilers.
23603
43c4edba
MT
236042012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23605
23606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23607
6a1bf82f
RM
236082012-09-25 Roland McGrath <roland@hack.frob.com>
23609
23610 * Makefile.in (all, install): Declare with .PHONY.
23611 Reported by Michael Hope <michael.hope@linaro.org>.
23612
8ad11b9a
TMQMF
236132012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23614
23615 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23616 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23617 system header.
23618 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23619 Likewise.
23620 (sydep_routines): Add the new and the internal functions.
23621 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23622 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23624 (GLIBC_2.17): Add the new function.
23625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23626 (GLIBC_2.17): Likewise.
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23628 (GLIBC_2.17): Likewise.
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23630 (GLIBC_2.17): Likewise.
23631 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23632
7e2fca8d
AM
236332012-09-25 Alan Modra <amodra@gmail.com>
23634
23635 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23636 Add release barrier before setting once_control to say
23637 initialisation is done. Add hints on lwarx. Use macro in
23638 place of isync.
23639 (clear_once_control): Add release barrier.
23640
b87c4b24
JM
236412012-09-25 Joseph Myers <joseph@codesourcery.com>
23642
d032e0d2
JM
23643 [BZ #13629]
23644 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23645 specially.
23646 * math/s_clog10.c (__clog10): Likewise.
23647 * math/s_clog10f.c (__clog10f): Likewise.
23648 * math/s_clog10l.c (__clog10l): Likewise.
23649 * math/s_clogf.c (__clogf): Likewise.
23650 * math/s_clogl.c (__clogl): Likewise.
23651 * math/Makefile (libm-calls): Add x2y2m1.
23652 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23653 (__x2y2m1): Likewise.
23654 (__x2y2m1l): Likewise.
23655 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23656 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23659 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23660 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23661 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23662 * sysdeps/i386/fpu/libm-test-ulps: Update.
23663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23664
b87c4b24
JM
23665 [BZ #14621]
23666 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23667 int as type of variable DEPTH.
23668 (glob): Use size_t instead of int as type of variables NEWCOUNT
23669 and OLD_PATHC.
23670
6d3bf199
LD
236712012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23672
22bf5c17
LD
23673 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23674 Add s_sincosf-sse2.
23675 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23676 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23677 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23678 macros for using routine as __sincosf_ia32.
23679 Use macro for function declaration and weak_alias.
23680 * sysdeps/i386/fpu/libm-test-ulps: Update.
23681
23682 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23684
23685 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23686 subnormal argument.
23687 * math/s_cexpf.c (__cexpf): Likewise.
23688 * math/s_csinf.c (__csinf): Likewise.
23689 * math/s_csinhf.c (__csinhf): Likewise.
23690 * math/s_ctanf.c (__ctanf): Likewise.
23691 * math/s_ctanhf.c (__ctanhf): Likewise.
23692 * math/s_ccosh.c (__ccoshf): Likewise.
23693 * math/s_cexp.c (__cexpl): Likewise.
23694 * math/s_csin.c (__csin): Likewise.
23695 * math/s_csinh.c (__csinh): Likewise.
23696 * math/s_ctan.c (__ctan): Likewise.
23697 * math/s_ctanh.c (ctanh): Likewise.
23698 * math/s_ccoshl.c (__ccoshl): Likewise.
23699 * math/s_cexpl.c (__cexpl): Likewise.
23700 * math/s_csinl.c (__csinl): Likewise.
23701 * math/s_csinhl.c (__csinhl): Likewise.
23702 * math/s_ctanl.c (__ctanl): Likewise.
23703 * math/s_ctanhl.c (__ctanhl): Likewise.
23704
203e5603
JM
237052012-09-25 Joseph Myers <joseph@codesourcery.com>
23706
23707 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23708 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23709 (_IO_off_t): Define to __off_t, not _G_off_t.
23710 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23711 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23712 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23713 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23714 type of __dummy and __dummy2 fields.
23715 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23716 (_G_ssize_t): Likewise.
23717 (_G_off_t): Likewise.
23718 (_G_pid_t): Likewise.
23719 (_G_uid_t): Likewise.
23720 (_G_wchar_t): Likewise.
23721 (_G_wint_t): Likewise.
23722 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23723 (_G_ssize_t): Likewise.
23724 (_G_off_t): Likewise.
23725 (_G_pid_t): Likewise.
23726 (_G_uid_t): Likewise.
23727 (_G_wchar_t): Likewise.
23728 (_G_wint_t): Likewise.
23729 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23730 (_G_ssize_t): Likewise.
23731 (_G_off_t): Likewise.
23732 (_G_pid_t): Likewise.
23733 (_G_uid_t): Likewise.
23734 (_G_wchar_t): Likewise.
23735 (_G_wint_t): Likewise.
23736
9fab36eb
SP
237372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23738
23739 * malloc/arena.c: Include malloc-sysdep.h.
23740 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23741 is sufficient to shrink the heap or an unmap is needed.
23742 * sysdeps/generic/malloc-sysdep.h: New file. Define
23743 new function check_may_shrink_heap.
23744 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23745 new function check_may_shrink_heap.
23746
2b4f00d1
SP
237472012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23748
23749 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23750 comments.
23751
9a9028b1
DL
237522012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23753
57c69bef
DL
23754 * catgets/test-gencat.sh: Add "set -e".
23755 * elf/tst-pathopt.sh: Likewise.
23756 * grp/tst_fgetgrent.sh: Likewise.
23757 * iconvdata/run-iconv-test.sh: Likewise.
23758 * intl/tst-gettext.sh: Likewise.
23759 * intl/tst-gettext2.sh: Likewise.
23760 * intl/tst-gettext4.sh: Likewise.
23761 * intl/tst-gettext6.sh: Likewise.
23762 * intl/tst-translit.sh: Likewise.
23763 * io/ftwtest-sh: Likewise.
23764 * libio/test-freopen.sh: Likewise.
23765 * malloc/tst-mtrace.sh: Likewise.
23766 * posix/globtest.sh: Likewise.
23767 * posix/tst-getconf.sh: Likewise.
23768 * posix/wordexp-tst.sh: Likewise.
23769 * stdio-common/tst-printf.sh: Likewise.
23770 * stdio-common/tst-unbputc.sh: Likewise.
23771 * stdlib/tst-fmtmsg.sh: Likewise.
23772 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23773 * catgets/Makefile: Do not specify -e option when running
23774 testsuite shell scripts.
23775 * elf/Makefile: Likewise.
23776 * grp/Makefile: Likewise.
23777 * iconvdata/Makefile: Likewise.
23778 * intl/Makefile: Likewise.
23779 * io/Makefile: Likewise.
23780 * libio/Makefile: Likewise.
23781 * malloc/Makefile: Likewise.
23782 * posix/Makefile: Likewise.
23783 * stdio-common/Makefile: Likewise.
23784 * stdlib/Makefile: Likewise.
23785 * sysdeps/x86_64/Makefile: Likewise.
23786
9a9028b1
DL
23787 * io/ftwtest-sh: Add copyright header.
23788 * posix/globtest.sh: Likewise.
23789 * posix/tst-getconf.sh: Likewise.
23790 * posix/wordexp-tst.sh: Likewise.
23791 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23792
ced6f16e
L
237932012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23794
94b32c39
L
23795 [BZ #13679]
23796 * Makeconfig (+link): Defined as $(+link-static) if
23797 $(build-shared) isn't yes.
23798 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23799 isn't yes.
23800 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23801
189e935b
L
23802 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23803
ced6f16e
L
23804 [BZ #14562]
23805 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23806 new chunk size with MALLOC_ALIGN_MASK.
23807
a9f8e53a
JM
238082012-09-24 Joseph Myers <joseph@codesourcery.com>
23809
23810 [BZ #5044]
23811 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23812 <rounding-mode.h>.
23813 (__printf_fphex): Determine rounding using get_rounding_mode and
23814 round_away.
23815 * stdio-common/tst-printf-round.c (struct hex_test): New
23816 structure.
23817 (hex_tests): New variable.
23818 (test_hex_in_one_mode): New function.
23819 (do_test): Also run tests for hex float output.
23820
43153109
JM
238212012-09-21 Joseph Myers <joseph@codesourcery.com>
23822
23823 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23824 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23825 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23826 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23827 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23828 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23829 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23830 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23831
8a26625d
JM
238322012-09-20 Joseph Myers <joseph@codesourcery.com>
23833
23834 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23835 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23836 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23837 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23838
f3fd569c
DL
238392012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23840
23841 [BZ #14579]
23842 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23843 mode only.
23844 * elf/tst-rtld-load-self.sh: New test.
23845 * elf/Makefile: Run it.
23846
63bbedd4
JM
238472012-09-18 Joseph Myers <joseph@codesourcery.com>
23848
23849 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23850 (tst-writev-ENV): Remove.
23851 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23852
626f8b6a
CM
238532012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23854
23855 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23856
b7aaa4d6
JM
238572012-09-17 Joseph Myers <joseph@codesourcery.com>
23858
23859 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23860 unconditional.
23861 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23862 Likewise.
23863 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23864 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23865 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23866 Likewise.
23867
65513990
L
238682012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23869
23870 [BZ #14587]
23871 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23872 * config.make.in (have-cpp-asm-debuginfo): Removed.
23873 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23874 * configure: Regenerated.
23875
784761be
JM
238762012-09-14 Joseph Myers <joseph@codesourcery.com>
23877
23878 [BZ #5044]
23879 * stdio-common/printf_fp.c: Include <stdbool.h> and
23880 <rounding-mode.h>.
23881 (___printf_fp): Determine rounding using get_rounding_mode and
23882 round_away.
23883 * stdio-common/tst-printf-round.c: New file.
23884 * stdio-common/Makefile (tests): Add tst-printf-round.
23885 (link-libm): New variable.
23886 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23887
9503345f
L
238882012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23889
23890 [BZ #14576]
23891 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23892 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23893 Likewise.
23894 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23895 Likewise.
23896
ad35fc00
JM
238972012-09-13 Joseph Myers <joseph@codesourcery.com>
23898
23899 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23900 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23901 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23902 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23903
6c9b0f68
JM
239042012-09-12 Joseph Myers <joseph@codesourcery.com>
23905
23906 [BZ #14518]
23907 * include/rounding-mode.h: New file.
23908 * sysdeps/generic/get-rounding-mode.h: Likewise.
23909 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23910 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23911 (MAX_VALUE): New macro.
23912 (MIN_VALUE): Likewise.
23913 (overflow_value): New function.
23914 (underflow_value): Likewise.
23915 (round_and_return): Use overflow_value and underflow_value to
23916 determine return values in overflow and underflow cases. Use
23917 round_away to determine rounding depending on rounding mode.
23918 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23919 determine return values in overflow and underflow cases.
23920 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23921 (struct test_results): New structure.
23922 (struct test): Use struct test_results to store expected results
23923 for all rounding modes.
23924 (TEST): Include expected results for all rounding modes.
23925 (test_in_one_mode): New function.
23926 (do_test): Use test_in_one_mode to compute and check results.
23927 Check results for all rounding modes.
23928 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23929 $(link-libm).
23930
19fcedd5
AM
239312012-12-09 Allan McRae <allan@archlinux.org>
23932
1e9d84cd 23933 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23934
8bbfd2f1
JM
239352012-09-11 Joseph Myers <joseph@codesourcery.com>
23936
23937 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23938 (_G_int32_t): Likewise.
23939 (_G_uint16_t): Likewise.
23940 (_G_uint32_t): Likewise.
23941 (_G_HAVE_BOOL): Likewise.
23942 (_G_HAVE_ATEXIT): Likewise.
23943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23944 (_G_HAVE_IO_FILE_OPEN): Likewise.
23945 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23946 (_G_int32_t): Likewise.
23947 (_G_uint16_t): Likewise.
23948 (_G_uint32_t): Likewise.
23949 (_G_HAVE_BOOL): Likewise.
23950 (_G_HAVE_ATEXIT): Likewise.
23951 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23952 (_G_HAVE_IO_FILE_OPEN): Likewise.
23953 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23954 (_G_int32_t): Likewise.
23955 (_G_uint16_t): Likewise.
23956 (_G_uint32_t): Likewise.
23957 (_G_HAVE_BOOL): Likewise.
23958 (_G_HAVE_ATEXIT): Likewise.
23959 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23960 (_G_HAVE_IO_FILE_OPEN): Likewise.
23961
b1dc5912
L
239622012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23963
23964 * csu/libc-tls.c: Update copyright years.
23965
0e886ef9
JM
239662012-09-10 Joseph Myers <joseph@codesourcery.com>
23967
28361c5e
JM
23968 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23969 [!_G_USING_THUNKS]: Remove conditional code.
23970 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23971 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23972
0e886ef9
JM
23973 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23974 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23975 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23976 (_G_VTABLE_LABEL_PREFIX): Likewise.
23977 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23978 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23979 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23980 (_G_VTABLE_LABEL_PREFIX): Likewise.
23981 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23982 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23983 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23984 (_G_VTABLE_LABEL_PREFIX): Likewise.
23985 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23986
bcba7aa2
L
239872012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23988
23989 * libio/Makefile: Include ../Makeconfig before tests.
23990 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23991 only if $(build-shared) is yes.
23992
06585ee8
L
23993 * iconv/gconv_db.c: Update copyright years.
23994
80ccd52c
LD
239952012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23996
23997 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23998 unwind info if defined PIC. Fix special cases description.
23999 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24000
24001 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24002 DP_HI_MASK entry.
24003 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24004
691bc9c1
L
240052012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24006
3d9b46b3
L
24007 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24008
de2139a9
L
24009 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24010 is NULL.
24011
5ca78dd0
L
24012 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24013 (LDLIBS-tst-chk4): This.
24014 (LDFLAGS-tst-chk5): Renamed to ...
24015 (LDLIBS-tst-chk5): This.
24016 (LDFLAGS-tst-chk6): Renamed to ...
24017 (LDLIBS-tst-chk6): This.
24018 (LDFLAGS-tst-lfschk4): Renamed to ...
24019 (LDLIBS-tst-lfschk4): This.
24020 (LDFLAGS-tst-lfschk5): Renamed to ...
24021 (LDLIBS-tst-lfschk5): This.
24022 (LDFLAGS-tst-lfschk6): Renamed to ...
24023 (LDLIBS-tst-lfschk6): This.
24024
691bc9c1
L
24025 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24026 on $(common-objpfx)soversions.mk.
24027
65cafb1c
JM
240282012-09-07 Joseph Myers <joseph@codesourcery.com>
24029
24030 [BZ #10014]
24031 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24032 example host name.
24033
c78ab094
SP
240342012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24035
24036 * malloc/arena.c (arena_get_retry): New function that gets
24037 another arena for the caller to try its request on.
24038 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24039 current arena cannot fulfill the request.
24040 (__libc_memalign): Likewise.
24041 (__libc_memalign): Likewise.
24042 (__libc_pvalloc): Likewise.
24043 (__libc_calloc): Likewise.
24044
01f49f59
JT
240452012-09-05 John Tobey <john.tobey@gmail.com>
24046
24047 [BZ #13542]
24048 * manual/arith.texi (Operations on Complex): Fix description
24049 of carg branch cut.
24050
4c23fed5
JM
240512012-09-06 Joseph Myers <joseph@codesourcery.com>
24052
1d3c8572
JM
24053 [BZ #10014]
24054 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24055 host name.
24056
4c23fed5
JM
24057 [BZ #10038]
24058 * manual/memory.texi (Memory): Make order of menu items match
24059 order of sections.
24060
04570aaa
L
240612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24062
24063 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24064 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24065 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24066
b80af2f4
L
240672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24068
24069 * csu/libc-tls.c (static_dtv): Renamed to ...
24070 (_dl_static_dtv): This. Make it global.
24071 (_dl_initial_dtv): Removed.
24072 (__libc_setup_tls): Updated.
24073 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24074 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24075 DL_INITIAL_DTV.
24076
2abe9f15
PM
240772012-09-06 Petr Machata <pmachata@redhat.com>
24078
24079 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24080 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24081 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24082 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24083
0948c3af
L
240842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24085
24086 [BZ #14545]
24087 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24088 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24089 freeing dtv[-1].
24090
a5055ad1
L
240912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24092
24093 [BZ #14544]
24094 * Makeconfig (link-static-before-libc): Replace $(+prector)
24095 with $(+prectorT).
24096 (link-static-after-libc): Replace $(+postctor) with
24097 $(+postctorT).
24098 (link-bounded): Replace $(+prector)/$(+postctor) with
24099 $(+prectorT)/$(+postctorT).
24100 (+prectorT): New macro.
24101 (+postctorT): Likewise.
24102
ed8c2ecd
JM
241032012-09-06 Joseph Myers <joseph@codesourcery.com>
24104
24105 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24106 (round_str): Handle values above the maximum for IBM long double
24107 as inexact.
24108 * stdlib/tst-strtod-round.c (tests): Regenerated.
24109
14c996c8
AK
241102012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24111
24112 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24113 assembler flag.
24114 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24115 zarch_nohighgprs around the zarch optimized routines.
24116 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24117 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24119 for zarch.
24120
430d6ce6
DM
241212012-09-05 David S. Miller <davem@davemloft.net>
24122
24123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24124
ff04dda4
DM
24125 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24126 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24127 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24128 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24129 entries.
24130
24d4e01b
AO
241312012-09-05 Alexandre Oliva <aoliva@redhat.com>
24132
24133 * malloc/arena.c: Fold copyright years.
24134 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24135
61d58174
AO
241362012-09-05 Alexandre Oliva <aoliva@redhat.com>
24137
24138 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24139
20196a5e
AO
241402012-09-05 Alexandre Oliva <aoliva@redhat.com>
24141
24142 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24143
5c447383
AO
241442012-09-05 Alexandre Oliva <aoliva@redhat.com>
24145
24146 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24147 change internal state upon failure.
24148
fad64255
AO
241492012-09-05 Alexandre Oliva <aoliva@redhat.com>
24150
24151 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24152 * malloc/memusage.c (mmap): Likewise.
24153 (mmap64, mremap): Likewise. Adjust name in comment.
24154
1ffb8c90
SP
241552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24156
24157 * libio/fileops.c: Fix typos in comments.
24158 * libio/oldfileops.c: Likewise.
24159 * libio/wfileops.c: Likewise.
24160
6ef9cc37
SP
241612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24162
24163 [BZ #1349]
24164 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24165 (tst-malloc-usable-ENV): Set environment for test case.
24166 * malloc/hooks.c (malloc_check_get_size): New function to get
24167 requested size.
24168 * malloc/malloc.c (musable): Use malloc_check_get_size.
24169 * malloc/tst-malloc-usable.c: New test case.
24170
4d038ae3
AS
241712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24172
24173 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24174
c4e85184
AM
241752012-09-05 Allan McRae <allan@archlinux.org>
24176
b9dafc56 24177 [BZ #13966]
c4e85184
AM
24178 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24179 determine header location.
24180 * configure: Regenerated.
24181
e1343020
AS
241822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24183
24184 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24185 float format.
24186 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24187 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24188 format.
e1343020
AS
24189 (test): Regenerate.
24190
0a9f1987
DM
241912012-09-04 David S. Miller <davem@davemloft.net>
24192
24193 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24194 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24195 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24196
29237804
FW
241972012-09-04 Florian Weimer <fweimer@redhat.com>
24198
24199 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24200 failures.
24201
edb3cb88
FW
24202 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24203
60160d83
JM
242042012-09-04 Joseph Myers <joseph@codesourcery.com>
24205
24206 [BZ #9914]
24207 * libio/iogetdelim.c: Include <limits.h>.
24208 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24209 + len + 1 would overflow.
24210
bcd6c8dc
AJ
242112012-09-03 Andreas Jaeger <aj@suse.de>
24212
24213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24214 * sysdeps/i386/fpu/libm-test-ulps: Update.
24215
4ffffbd2
LD
242162012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24217
24218 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24219 Add s_sinf-sse2, s_conf-sse2.
24220
24221 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24222 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24223 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24224 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24225
24226 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24227 for using routine as __sinf_ia32.
24228 Use macro for function declaration and weak_alias.
24229 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24230 for using routine as __cosf_ia32.
24231 Use macro for function declaration and weak_alias.
24232
24233 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24234 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24235
24236 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24237 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24239
24240 * math/libm-test.inc (cos_test): Add more test cases.
24241 (sin_test): Likewise.
24242 (sincos_test): Likewise.
24243
511fa286
AK
242442012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24245
24246 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24247 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24248 hidden.
24249 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24250
5f30cfec
L
242512012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24252
24253 [BZ #14538]
24254 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24255 first element of the GOT.
24256 (elf_machine_load_address): Return the difference between
24257 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24258
0786794f
AM
242592012-09-01 Allan McRae <allan@archlinux.org>
24260
5f30cfec
L
24261 [BZ #13412]
24262 * configure.in (AWK): Require gawk version 3.0 or later.
24263 * configure: Regenerated.
0786794f 24264
26889eac
JM
242652012-09-01 Joseph Myers <joseph@codesourcery.com>
24266
24267 * sysdeps/unix/sysv/linux/kernel-features.h
24268 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24269 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24270 [__NR_clock_getres]: Make code unconditional.
24271 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24272 (clock_getcpuclockid): Remove code left unreachable by removal of
24273 conditionals.
24274 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24275 code unconditional.
24276 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24277 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24278 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24279 Make code unconditional.
24280 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24281 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24282 * sysdeps/unix/sysv/linux/clock_settime.c
24283 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24284 conditional code.
24285 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24286 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24287
d22e28b0
L
242882012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24289
24290 [BZ #14476]
24291 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24292 scripts/test-installation.pl.
24293
24294 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24295 and $ld_so_version if it is set.
24296
050af9c4
SP
242972012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24298
24299 [BZ #14516]
24300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24301 failure if reading from procfs failed.
24302 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24303
ad845c0b
JM
243042012-08-27 Joseph Myers <joseph@codesourcery.com>
24305
24306 * sysdeps/unix/sysv/linux/kernel-features.h
24307 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24308 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24309 Remove conditional code.
24310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24311 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24312 Remove conditional code.
24313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24314 * sysdeps/unix/sysv/linux/i386/fxstat.c
24315 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24317 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24318 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24320 * sysdeps/unix/sysv/linux/i386/lxstat.c
24321 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24323 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24324 Remove conditional code.
24325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24326 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24327 Remove conditional code.
24328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24329 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24330 <kernel-features.h>.
24331 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24332 Remove.
24333 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24334 Remove conditional code.
24335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24336 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24337 Remove conditional.
24338
5dbf56af
MF
243392012-08-27 Mike Frysinger <vapier@gentoo.org>
24340
24341 [BZ #5400]
24342 * NEWS: Add fixed bug number.
24343
d6e70f43
JM
243442012-08-27 Joseph Myers <joseph@codesourcery.com>
24345
7efb4737
JM
24346 [BZ #14519]
24347 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24348 underflowing exponent in case of negative sign.
24349 * stdlib/tst-strtod-round-data: Add more tests.
24350 * stdlib/tst-strtod-round.c (tests): Regenerated.
24351
af92131a
JM
24352 [BZ #3479]
24353 * stdlib/strtod_l.c (NDIG): Remove.
24354 (HEXNDIG): Likewise.
24355 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24356 smallest representable value.
24357 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24358 lie within an exact representation of 1/2 ulp of the result.
24359 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24360 unconditionally.
24361 (TENS_P9_IDX): Define unconditionally.
24362 (TENS_P9_SIZE): Likewise.
24363 (TENS_P10_IDX): Likewise.
24364 (TENS_P10_SIZE): Likewise.
24365 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24366 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24367 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24368 entries for 10^2^13 and 10^2^14.
24369 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24370 (TENS_P13_IDX): Define.
24371 (TENS_P13_SIZE): Likewise.
24372 (TENS_P14_IDX): Likewise.
24373 (TENS_P14_SIZE): Likewise.
24374 (_fpioconst_pow10): Change array size to
24375 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24376 unconditional.
24377 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24378 1024]: Add entries for 10^2^13 and 10^2^14.
24379 [LAST_POW10 > _LAST_POW10]: Remove #error.
24380 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24381 (_fpioconst_pow10): Change array size to
24382 FPIOCONST_POW10_ARRAY_SIZE.
24383 * stdlib/gen-fpioconst.c: New file.
24384 * stdlib/gen-tst-strtod-round.c: Likewise.
24385 * stdlib/tst-strtod-round-data: Likewise.
24386 * stdlib/tst-strtod-round.c: Likewise.
24387 * stdlib/Makefile (tests): Add tst-strtod-round.
24388
d6e70f43
JM
24389 [BZ #14459]
24390 * stdlib/strtod_l.c: Include <stdint.h>.
24391 (NDEBUG): Do not define.
24392 (round_and_return): Change EXPONENT parameter to type intmax_t.
24393 Rearrange calculations to avoid internal overflow possibilities.
24394 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24395 Rearrange calculations to avoid internal overflow possibilities.
24396 Assert that number fits inside MPNSIZE limbs.
24397 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24398 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24399 calculations and add assertions to avoid internal overflow
24400 possibilities. Add casts to avoid signed/unsigned operations.
24401 * stdlib/tst-strtod-overflow.c: New file.
24402 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24403
1f529f7d
MP
244042012-08-25 Marek Polacek <polacek@redhat.com>
24405
24406 * time/time.h: Fix some typos in comments.
24407
59a629f1
RM
244082012-08-23 Roland McGrath <roland@hack.frob.com>
24409
24410 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24411 * posix/tst-rfc3484-2.c: Likewise.
24412 * posix/tst-rfc3484-3.c: Likewise.
24413
d3bafbc9
SM
244142012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24415
24416 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24417 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24418
4efcc022
JM
244192012-08-23 Joseph Myers <joseph@codesourcery.com>
24420
24421 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24422 #include of fxstatat64.c.
24423
3cc3ef96
RM
244242012-08-22 Roland McGrath <roland@hack.frob.com>
24425
f04e2132
RM
24426 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24427 * shadow/getspent_r.c: Likewise.
24428 * shadow/getspnam.c: Likewise.
24429 * shadow/getspnam_r.c: Likewise.
24430 * gshadow/getsgent.c: Likewise.
24431 * gshadow/getsgent_r.c: Likewise.
24432 * gshadow/getsgnam.c: Likewise.
24433 * gshadow/getsgnam_r.c: Likewise.
24434 * inet/getnetbyad.c: Likewise.
24435 * inet/getnetbyad_r.c: Likewise.
24436 * inet/getnetbynm.c: Likewise.
24437 * inet/getnetbynm_r.c: Likewise.
24438 * inet/getnetent.c: Likewise.
24439 * inet/getnetent_r.c: Likewise.
24440 * inet/getproto.c: Likewise.
24441 * inet/getproto_r.c: Likewise.
24442 * inet/getprtent.c: Likewise.
24443 * inet/getprtent_r.c: Likewise.
24444 * inet/getprtname.c: Likewise.
24445 * inet/getprtname_r.c: Likewise.
24446 * inet/getrpcbyname.c: Likewise.
24447 * inet/getrpcbyname_r.c: Likewise.
24448 * inet/getrpcbynumber.c: Likewise.
24449 * inet/getrpcbynumber_r.c: Likewise.
24450 * inet/getrpcent.c: Likewise.
24451 * inet/getrpcent_r.c: Likewise.
24452 * inet/getaliasent.c: Likewise.
24453 * inet/getaliasent_r.c: Likewise.
24454 * inet/getaliasname.c: Likewise.
24455 * inet/getaliasname_r.c: Likewise.
24456 * nscd/getgrgid_r.c: Likewise.
24457 * nscd/getgrnam_r.c: Likewise.
24458 * nscd/gethstbyad_r.c: Likewise.
24459 * nscd/gethstbynm3_r.c: Likewise.
24460 * nscd/getpwnam_r.c: Likewise.
24461 * nscd/getpwuid_r.c: Likewise.
24462 * nscd/getsrvbynm_r.c: Likewise.
24463 * nscd/getsrvbypt_r.c: Likewise.
24464 * nscd/gai.c: Likewise.
24465
c53d909c
RM
24466 * configure.in (build_nscd): New substituted variable, set
24467 by --disable-build-nscd and defaults to $use_nscd.
24468 * configure: Regenerated.
24469 * config.make.in (build-nscd): New substituted variable.
24470 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24471 Change conditional to require [$(build-nscd) = yes] as well.
24472 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24473
3cc3ef96
RM
24474 [BZ# 13696]
24475 * configure.in (use_nscd): New substituted variable, set by
24476 --disable-nscd. If enabled, define USE_NSCD.
24477 * configure: Regenerated.
24478 * config.h.in: Add USE_NSCD.
24479 * config.make.in (use-nscd): New substituted variable.
24480 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24481 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24482 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24483 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24484 (CFLAGS-getgrnam_r.c): Likewise.
24485 (CFLAGS-initgroups.c): Likewise.
24486 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24487 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24488 Variables removed.
24489 * inet/getnetgrent_r.c
24490 (nscd_setnetgrent): New function, broken out of ...
24491 (setnetgrent): ... here. Call it.
24492 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24493 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24494 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24495 * nscd/Makefile (routines, aux): Move definitions after include of
24496 Makeconfig. Conditionalize on [$(use-nscd) != no].
24497 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24498 Conditionalize on [USE_NSCD].
24499 (is_nscd, nscd_init_cb): Likewise.
24500 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24501 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24502 * nss/nss_db/db-init.c: Likewise.
24503 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24504 [USE_NSCD].
24505 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24506 (make_request): Use it.
24507 (cache_valid_p): New function.
24508 (__check_pf): Use it.
24509 * NEWS: Add item for --disable-nscd.
24510
07e51550
DL
245112012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24512
24513 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24514 to support sed >= 4.2.1-20-ga9bf076.
24515 * configure: Regenerated.
24516
35a5b08b
RM
245172012-08-22 Roland McGrath <roland@hack.frob.com>
24518
24519 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24520 Conditionalize whole body on [IREL].
24521
8479f23a
JL
245222012-08-22 Jeff Law <law@redhat.com>
24523
24524 [BZ #14505]
24525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24526 if the family is PF_UNSPEC.
24527
48da0b21
MF
245282012-08-22 Mike Frysinger <vapier@gentoo.org>
24529
24530 * Makerules (lib-version): Rename from V.
24531 (install-lib-nosubdir): Change V to lib-version.
24532
15d0da8c
WS
245332012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24534
24535 [BZ #14252]
24536 * powerpc32/power6/wcschr.c: New file.
24537 * powerpc32/power6/wcscpy.c: New file.
24538 * powerpc32/power6/wcsrchr.c: New file.
24539 * powerpc64/power6/wcschr.c: New file.
24540 * powerpc64/power6/wcscpy.c: New file.
24541 * powerpc64/power6/wcsrchr.c: New file.
24542
bcca0895
MK
245432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24544
24545 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24546 (two_way_short_needle): Use it.
5a4aaa33
RM
24547 * string/strstr.c (AVAILABLE1_USES_J): Define.
24548 * string/strcasestr.c: Likewise.
99677e57
MK
24549
24550 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24551 array references.
24552 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24553
400726de
MK
24554 [BZ #11607]
24555 * NEWS: Add an entry.
24556 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24557 define their defaults.
24558 (two_way_short_needle): Detect end-of-string on-the-fly.
24559 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24560 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24561 * string/bug-strcasestr1.c: New test.
24562 * string/Makefile: Run it.
24563
20a71f2c
MK
245642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24565
24566 [BZ #11607]
24567 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24568 the first character.
24569
21ad0558
RM
245702012-08-21 Roland McGrath <roland@hack.frob.com>
24571
24572 * csu/elf-init.c (__libc_csu_irel): Function removed.
24573 * csu/libc-start.c (apply_irel): New function.
24574 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24575
0e1d9911
JM
245762012-08-21 Joseph Myers <joseph@codesourcery.com>
24577
24578 * sysdeps/unix/sysv/linux/kernel-features.h
24579 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24580 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24581 <kernel-features.h>.
24582 [__NR_fadvise64_64]: Make code unconditional.
24583 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24584 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24585 !__NR_fadvise64_64)]: Likewise.
24586 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24587 !__NR_fadvise64_64))]: Likewise.
24588 [__NR_fadvise64]: Make code unconditional.
24589 [!__NR_fadvise64]: Remove conditional code.
24590 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24591 <kernel-features.h>.
24592 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24593 unconditional.
24594 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24595 conditional code.
24596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24597 not include <kernel-features.h>.
24598 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24599 unconditional.
24600 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24601 conditional code.
24602 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24603 include <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
14a50c9d
WS
246092012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24610
24611 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24612 slight instruction rearrangements per scrollpipe analysis.
24613 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24614
c0f4faf0
RM
246152012-08-20 Roland McGrath <roland@hack.frob.com>
24616
696da859
RM
24617 * manual/syslog.texi (syslog; vsyslog, closelog):
24618 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24619 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24620
c0f4faf0
RM
24621 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24622 DSOCAPS to match condition on defining it.
24623
348363b2
JM
246242012-08-20 Joseph Myers <joseph@codesourcery.com>
24625
a35cbf28
JM
24626 * sysdeps/unix/sysv/linux/kernel-features.h
24627 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24629 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24630 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24632 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24633 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24635 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24636 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24637
445f7ecd
JM
24638 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24639 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24640
348363b2
JM
24641 * sysdeps/unix/sysv/linux/kernel-features.h
24642 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24643 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24644 unconditional.
24645 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24646 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24647 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24648 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24649 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24650 Make code unconditional.
24651 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24652 (__mmap64) [!__NR_mmap2]: Likewise.
24653 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24654 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24655 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24656 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24657 [__NR_mmap2]: Make code unconditional.
24658 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24659 (__mmap64) [!__NR_mmap2]: Likewise.
24660
bc5bc0e5
AK
246612012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24662
24663 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24664
88d506de
AJ
246652012-08-18 Andreas Jaeger <aj@suse.de>
24666
24667 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24668
493387d2
MF
246692012-08-18 Mike Frysinger <vapier@gentoo.org>
24670
24671 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24672 * include/unistd.h (__have_sock_cloexec): Likewise.
24673 (__have_pipe2): Likewise.
24674 (__have_dup3): Likewise.
24675
a277af22
MF
246762012-08-18 Mike Frysinger <vapier@gentoo.org>
24677
24678 [BZ #9685]
24679 * include/unistd.h (__have_pipe2): Change define into an extern int.
24680 (__have_dup3): Likewise.
24681 * socket/have_sock_cloexec.c: Include fcntl.h.
24682 (__have_pipe2): New variable.
24683 (__have_dup3): Likewise.
24684
fdab8fd3
MF
246852012-08-17 Mike Frysinger <vapier@gentoo.org>
24686
24687 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24688
31035e80
MP
246892012-08-17 Marek Polacek <polacek@redhat.com>
24690
24691 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24692 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24693
3bd9e993
RM
246942012-08-17 Roland McGrath <roland@hack.frob.com>
24695
c91c505f
RM
24696 * configure.in: Add AC_SUBST for sysheaders.
24697 * configure: Regenerated.
24698 * config.make.in (sysheaders): New substituted variable.
24699
7c6f9d53
RM
24700 * sysdeps/unix/mkfifo.c: Moved ...
24701 * sysdeps/posix/mkfifo.c: ... here.
24702 * sysdeps/unix/mkfifoat.c: Moved ...
24703 * sysdeps/posix/mkfifoat.c: ... here.
24704
24705 * sysdeps/unix/utime.c: Moved ...
24706 * sysdeps/posix/utime.c: ... here.
24707
24708 * sysdeps/unix/time.c: Moved ...
24709 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24710 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24711 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24712
24713 * sysdeps/unix/nice.c: Moved ...
24714 * sysdeps/posix/nice.c: ... here.
24715
24716 * sysdeps/unix/alarm.c: Moved ...
24717 * sysdeps/posix/alarm.c: ... here.
24718
3bd9e993
RM
24719 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24720
d1f09384
JL
247212012-08-17 Jeff Law <law@redhat.com>
24722
24723 * intl/Makefile (codeset_mo): New variable.
24724 ($(codeset_mo)): New target.
24725 (tst-codeset.out): Depend on that. Remove explicit rule.
24726 (tst-gettext3.out, tst-gettext5.out): Likewise.
24727 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24728 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24729 * intl/tst-codeset.sh: Remove.
24730 * intl/tst-gettext3.sh: Likewise.
24731 * intl/tst-gettext5.sh: Likewise.
24732
2ae1ae5c
RM
247332012-08-17 Roland McGrath <roland@hack.frob.com>
24734
c31fdb83
RM
24735 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24736 * sysdeps/unix/syscalls.list: ... here.
24737
a0844057
RM
24738 * sysdeps/posix/getaddrinfo.c
24739 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24740 (gaiconf_init, gaiconf_reload): Use them.
24741 [!_STATBUF_ST_NSEC]
24742 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24743 Define using time_t rather than struct timespec.
24744
750c1f2a
RM
24745 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24746 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24747 Macros removed.
24748 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24749 [!NO_THREADS].
24750 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24751 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24752 Likewise.
24753
2ae1ae5c
RM
24754 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24755 __libc_cleanup_push argument.
24756
e66a42f5
RM
24757 * bits/param.h: New file.
24758 * misc/sys/param.h: New file.
24759 * include/sys/param.h: New file.
24760 * misc/Makefile (headers): Add bits/param.h.
24761 * sysdeps/generic/sys/param.h: File removed.
24762 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24763 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24764 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24765 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24766
b7c08a66
RM
24767 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24768 last change.
24769
b2e1c562
RM
24770 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24771 [_IO_MTSAFE_IO].
24772 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24773 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24774 New macros.
24775
c75ccd4c
RM
24776 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24777 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24778 rather than -D_IO_MTSAFE_IO conditionally.
24779 * stdio-common/Makefile (CPPFLAGS): Likewise.
24780 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24781 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24782 Use $(libio-mtsafe).
24783 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24784 of -D_IO_MTSAFE_IO.
24785 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24786 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24787 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24788 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24789 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24790 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24791 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24792 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24793 (CFLAGS-fread_u_chk.c): Likewise.
24794 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24795 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24796 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24797 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24798 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24799 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24800 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24801 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24802 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24803
24804 * libio/Makefile: Test [$(libc-reentrant) = yes]
24805 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24806
24807 * Makeconfig
24808 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24809 * sysdeps/pthread/configure: File removed.
24810 * sysdeps/pthread/Makeconfig: New file.
24811 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24812 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24813
d9195db8
GB
248142012-08-16 Gary Benson <gbenson@redhat.com>
24815
24816 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24817 unmapping the first object in a namespace.
24818
86466cd9
RM
248192012-08-16 Roland McGrath <roland@hack.frob.com>
24820
24821 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24822 (__internal_setnetgrent): ... this. Add internal_function to
24823 definition. Add libc_hidden_def.
24824 (setnetgrent): Update caller.
24825 (internal_endnetgrent): Renamed to ...
24826 (__internal_endnetgrent): ... this. Add internal_function to
24827 definition. Add libc_hidden_def.
24828 (endnetgrent): Update caller.
24829 (internal_getnetgrent_r): Renamed to ...
24830 (__internal_getnetgrent_r): ... this. Add internal_function to
24831 definition. Add libc_hidden_def.
24832 (__getnetgrent_r): Update caller.
24833 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24834
c3c8283c
JM
248352012-08-16 Joseph Myers <joseph@codesourcery.com>
24836
24837 * stdlib/longlong.h: Update from GCC.
24838
db1ee0a8
RM
248392012-08-16 Roland McGrath <roland@hack.frob.com>
24840
24841 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24842 on _QL, which is set by umul_ppmm but never used.
24843 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24844 variables, which are set by GMP macros but never used.
24845 * stdio-common/_itowa.c (_itowa): Likewise.
24846 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24847 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24848
30f69637
CD
248492012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24850
24851 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24852 struct La_sh_regs is not constant.
24853 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24854 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24855 and struct La_sparc64_regs are not constant.
24856
93a78ac4
JM
248572012-08-16 Joseph Myers <joseph@codesourcery.com>
24858
24859 * sysdeps/unix/sysv/linux/kernel-features.h
24860 (__ASSUME_POSIX_TIMERS): Remove.
24861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24863 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24864 Make code unconditional.
24865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24866 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24867 Make code unconditional.
24868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24869 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24870 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24871 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24872 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24873 Make code unconditional.
24874 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24875 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24876 (__libc_missing_posix_timers): Remove.
24877
dd924cd7
RM
248782012-08-15 Roland McGrath <roland@hack.frob.com>
24879
4b4f2771
RM
24880 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24881 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24882
601c888b
RM
24883 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24884
176790a7
RM
24885 * elf/dl-sym.c: Include <stdlib.h>.
24886
329bc018
RM
24887 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24888 constants, which avoids warnings in 32-bit builds.
24889
e04e272d
RM
24890 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24891 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24892
952bf94a
RM
24893 * misc/lseek.c: File moved to ...
24894 * io/lseek.c: ... here.
24895
7c99b50a
RM
24896 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24897
dd924cd7
RM
24898 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24899 shifting LEN more than 31 bits at once.
24900
b3f479a8
LD
249012012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24902
24903 [BZ #14195]
8c4ae0d4
RM
24904 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24905 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24906 * string/test-strncasecmp.c (check1): Renamed to...
24907 (bz12205): ...this.
24908 (bz14195): Add new testcase for two empty input strings and N > 0.
24909 (test_main): Call new testcase, adapt for renamed function.
24910
9c55864e
AJ
249112012-08-15 Andreas Jaeger <aj@suse.de>
24912
24913 [BZ #14090]
24914 * crypt/md5test2.c: New test, based on test supplied by Serge
24915 Belyshev <belyshev@depni.sinp.msu.ru>.
24916 * crypt/Makefile (xtests): Add md5test-giant..
24917 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24918
02dcb6c5
PE
249192012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24920
24921 [BZ #14090]
24922 * crypt/md5.c (md5_process_block): Don't assume the buffer
24923 length is less than 2**32.
24924 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24925 length is less than 2**64.
24926
a3f95dcc
RM
249272012-08-15 Roland McGrath <roland@hack.frob.com>
24928
be75d758
RM
24929 * string/str-two-way.h: Include <sys/param.h>.
24930 (MAX): Macro removed.
24931
7312ca90
RM
24932 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24933 Move #define and #undef of memmove to just before and after
24934 including <string.h>.
24935
9a0a5486
RM
24936 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24937 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24938 and after including <string.h>. Move declarations of
24939 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24940 to before #include "string/memmove.c".
24941
67cc348d
RM
24942 * include/dirent.h: Declare __getdirentries.
24943
a3f95dcc
RM
24944 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24945 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24946
ca98e171
MF
249472012-08-14 Mike Frysinger <vapier@gentoo.org>
24948
24949 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24950 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24951 * sysdeps/i386/configure: Regenerated.
24952 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24953 STABS_CURRENT_FILE, and STABS_FUN.
24954 (END): Remove call to STABS_FUN_END.
24955 (STABS_CURRENT_FILE1): Delete.
24956 (STABS_CURRENT_FILE): Likewise.
24957 (STABS_FUN): Likewise.
24958 (STABS_FUN_END): Likewise.
24959 (STABS_FUN2): Likewise.
24960 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24961 * sysdeps/x86_64/configure: Regenerated.
24962
5908bf46
RM
249632012-08-14 Roland McGrath <roland@hack.frob.com>
24964
24965 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24966 * elf/dl-lookup.c: Likewise.
5908bf46 24967
f2c05b9e
JM
249682012-08-14 Joseph Myers <joseph@codesourcery.com>
24969
24970 * sysdeps/unix/sysv/linux/kernel-features.h
24971 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24972 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24973 unconditionally.
24974 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24975 unconditionally.
24976 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24977 condition on __ASSUME_CLONE_THREAD_FLAGS.
24978
e11f5155
AJ
249792012-08-14 Andreas Jaeger <aj@suse.de>
24980
24981 * sysdeps/i386/fpu/libm-test-ulps: Update.
24982
51a9ba86
MK
249832012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24984
2fdd4f78
AJ
24985 * include/atomic.h (atomic_exchange_and_add): Split into ...
24986 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24987 New atomic macros.
51a9ba86 24988
ba6cba9e
MT
249892012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24990
24991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24992
42443a47
JL
249932012-08-13 Jeff Law <law@redhat.com>
24994
24995 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24996 null byte in the output string.
24997
121dce05
JM
249982012-08-10 Joseph Myers <joseph@codesourcery.com>
24999
25000 * sysdeps/unix/sysv/linux/kernel-features.h
25001 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25002 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25003 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25004 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25005 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25006 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25007 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25008
bf51f568
JL
250092012-08-09 Jeff Law <law@redhat.com>
25010
25011 [BZ #13939]
25012 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25013 When avoid_arena is set, don't retry in the that arena. Pick the
25014 next one, whatever it might be.
25015 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25016 (arena_lock): Pass in new parameter to arena_get2.
25017 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25018 arena_get2.
25019 (__libc_malloc): Unify retrying after main arena failure with
25020 __libc_memalign version.
25021 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25022
f85fa270
L
250232012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25024
25025 [BZ #14166]
25026 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25027 to __redirect_strstr.
25028 (__strstr_sse42): Use typeof __redirect_strstr.
25029 (__strstr_ia32): Likewise.
25030 (__libc_strstr): New prototype.
25031 (strstr): Renamed to ...
25032 (__libc_strstr): This.
25033 (strstr): New strong alias of __libc_strstr.
25034 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25035 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25036 __redirect_time.
25037 Include <time.h>.
25038 (__libc_time): New prototype.
25039 (time_ifunc): Replace time with __libc_time.
25040 (time): New strong alias and hidden definition of __libc_time.
25041 (__GI_time): Remove strong alias.
25042 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25043 Include <stddef.h>.
25044 (memmove): Redefined to __redirect_memmove.
25045 (__memmove_sse2): Use typeof __redirect_memmove.
25046 (__memmove_ssse3): Likewise.
25047 (__memmove_ssse3_back): Likewise.
25048 (__libc_memmove): New prototype.
25049 (memmove): Renamed to ...
25050 (__libc_memmove): This.
25051 (memmove): New strong alias of __libc_memmove.
25052
33b4a91e
MS
250532012-08-08 Mark Salter <msalter@redhat.com>
25054
25055 * elf/elf.h
25056 (R_MN10300_TLS_GD): Define.
25057 (R_MN10300_TLS_LD): Likewise.
25058 (R_MN10300_TLS_LDO): Likewise.
25059 (R_MN10300_TLS_GOTIE): Likewise.
25060 (R_MN10300_TLS_IE): Likewise.
25061 (R_MN10300_TLS_LE): Likewise.
25062 (R_MN10300_TLS_DTPMOD): Likewise.
25063 (R_MN10300_TLS_DTPOFF): Likewise.
25064 (R_MN10300_TLS_TPOFF): Likewise.
25065 (R_MN10300_SYM_DIFF): Likewise.
25066 (R_MN10300_ALIGN): Likewise.
25067 (R_MN10300_NUM): Update.
25068
b36137f1
JM
250692012-08-08 Joseph Myers <joseph@codesourcery.com>
25070
25071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25072 Remove.
25073
cdd915fd
RM
250742012-08-08 Roland McGrath <roland@hack.frob.com>
25075
a2433aac
RM
25076 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25077
cdd915fd
RM
25078 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25079 sysdeps/unix -> sysdeps/posix move.
25080 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25081
bf9b740a
AM
250822012-08-07 Allan McRae <allan@archlinux.org>
25083
25084 [BZ #14303]
25085 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25086 (SUNOS_CPP): Likewise.
25087 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25088 not found.
25089 (open_input): Call CPP using execvp.
25090
93df14ee
JM
250912012-08-07 Joseph Myers <joseph@codesourcery.com>
25092
25093 * sysdeps/unix/sysv/linux/kernel-features.h
25094 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25095 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25096 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25097 (__ASSUME_WAITID_SYSCALL): Likewise.
25098 * sysdeps/unix/sysv/linux/dl-execstack.c
25099 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25100 code unconditional.
25101 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25102 conditional code.
25103 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25104 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25105 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25106 code.
25107 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25108 unconditional.
25109 [__ASSUME_WAITID_SYSCALL]: Likewise.
25110 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25111
d34689de
RM
251122012-08-07 Roland McGrath <roland@hack.frob.com>
25113
a281decc
RM
25114 * sysdeps/unix/closedir.c: Renamed to ...
25115 * sysdeps/posix/closedir.c: ... here.
25116 * sysdeps/unix/dirfd.c: Renamed to ...
25117 * sysdeps/posix/dirfd.c: ... here.
25118 * sysdeps/unix/dirstream.h: Renamed to ...
25119 * sysdeps/posix/dirstream.h: ... here.
25120 * sysdeps/unix/fdopendir.c: Renamed to ...
25121 * sysdeps/posix/fdopendir.c: ... here.
25122 * sysdeps/unix/opendir.c: Renamed to ...
25123 * sysdeps/posix/opendir.c: ... here.
25124 * sysdeps/unix/readdir.c: Renamed to ...
25125 * sysdeps/posix/readdir.c: ... here.
25126 * sysdeps/unix/readdir_r.c: Renamed to ...
25127 * sysdeps/posix/readdir_r.c: ... here.
25128 * sysdeps/unix/rewinddir.c: Renamed to ...
25129 * sysdeps/posix/rewinddir.c: ... here.
25130 * sysdeps/unix/seekdir.c: Renamed to ...
25131 * sysdeps/posix/seekdir.c: ... here.
25132 * sysdeps/unix/telldir.c: Renamed to ...
25133 * sysdeps/posix/telldir.c: ... here.
25134 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25135 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25136 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25137 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25138
22895b47
RM
25139 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25140 * bits/fcntl.h: ... here.
25141
707a53b6
RM
25142 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25143 not 0.
25144 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25145 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25146 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25147 (struct flock): Move l_start, l_len to the beginning.
25148 Use __pid_t for l_pid.
25149 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25150 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25151 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25152 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25153 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25154 [__USE_LARGEFILE64] (struct flock64): New type.
25155 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25156
f0bd3e25
RM
25157 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25158 * bits/dirent.h: ... here.
25159
d34689de
RM
25160 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25161 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25162
6dad2c06
JM
251632012-08-07 Joseph Myers <joseph@codesourcery.com>
25164
25165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25166 Change from 2.6.0 to 2.6.16.
25167 * sysdeps/unix/sysv/linux/configure: Regenerated.
25168 * sysdeps/unix/sysv/linux/kernel-features.h
25169 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25170 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25171 version.
25172 (__ASSUME_UTIMES): Likewise.
25173 (__ASSUME_CLONE_STOPPED): Remove.
25174 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25175 architectures, not kernel version.
25176 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25177 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25178 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25179 (__ASSUME_WAITID_SYSCALL): Likewise.
25180 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25181 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25182 * README: State 2.6.16 as minimum Linux kernel version. Do not
25183 refer to older versions.
25184
03af9520
RM
251852012-08-06 Roland McGrath <roland@hack.frob.com>
25186
8e49df1d
RM
25187 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25188 Define alphasort64 as an alias.
25189 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25190 Define versionsort64 as an alias.
25191 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25192 Define scandir64 as an alias.
25193 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25194 Define scandirat64 as an alias.
25195 * dirent/alphasort64.c (alphasort64):
25196 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25197 * dirent/versionsort64.c: Likewise.
25198 * dirent/scandir64.c: Likewise.
25199 * dirent/scandirat64.c: Likewise.
25200 * sysdeps/wordsize-64/alphasort.c: File removed.
25201 * sysdeps/wordsize-64/alphasort64.c: File removed.
25202 * sysdeps/wordsize-64/scandir.c: File removed.
25203 * sysdeps/wordsize-64/scandir64.c: File removed.
25204 * sysdeps/wordsize-64/scandirat.c: File removed.
25205 * sysdeps/wordsize-64/scandirat64.c: File removed.
25206 * sysdeps/wordsize-64/versionsort.c: File removed.
25207 * sysdeps/wordsize-64/versionsort64.c: File removed.
25208 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25209 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25210 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25211 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25212 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25213 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25214 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25215 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25216
25217 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25219 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25221 [defined __arch64__ || defined __sparcv9]
25222 (__INO_T_MATCHES_INO64_T): New macro.
25223 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25224 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25225 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25226 * sysdeps/unix/sysv/linux/bits/dirent.h
25227 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25228 (_DIRENT_MATCHES_DIRENT64): New macro.
25229
03af9520
RM
25230 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25231 Define lockf64 as an alias.
25232 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25233 Define fseeko64 as an alias.
25234 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25235 Define ftello64 as an alias.
25236 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25237 Define _IO_fgetpos64 and fgetpos64 as aliases.
25238 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25239 Define _IO_fsetpos64 and fsetpos64 as aliases.
25240 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25241 Conditionalize body on this.
25242 * libio/fseeko64.c: Likewise.
25243 * libio/ftello64.c: Likewise.
25244 * libio/iofgetpos64.c: Likewise.
25245 * libio/iofsetpos64.c: Likewise.
25246 * sysdeps/wordsize-64/lockf.c: File removed.
25247 * sysdeps/wordsize-64/lockf64.c: File removed.
25248 * sysdeps/wordsize-64/fseeko.c: File removed.
25249 * sysdeps/wordsize-64/fseeko64.c: File removed.
25250 * sysdeps/wordsize-64/ftello.c: File removed.
25251 * sysdeps/wordsize-64/ftello64.c: File removed.
25252 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25253 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25254 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25255 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25256 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25257 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25258 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25259 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25260 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25261 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25264 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25265 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25266
25267 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25269 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25271 [defined __arch64__ || defined __sparcv9]
25272 (__OFF_T_MATCHES_OFF64_T): New macro.
25273 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25274 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25276 (__OFF_T_MATCHES_OFF64_T): New macro.
25277
c5757acd
L
252782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25279
25280 * stdlib/secure-getenv.c (__secure_getenv): Replace
25281 GLIBC_2_16 with GLIBC_2_17.
25282
3a31811e
L
252832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25284
25285 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25286 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25287
faa2bccb
DM
252882012-08-03 David S. Miller <davem@davemloft.net>
25289
25290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25291
85fe1997
JM
252922012-08-03 Joseph Myers <joseph@codesourcery.com>
25293
25294 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25295 Remove.
25296 (__ASSUME_CORRECT_SI_PID): Likewise.
25297 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25298 (__ASSUME_TMPFS_NAME): Likewise.
25299 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25300 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25301 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25302 (HAVE_AUX_SECURE): Make definition unconditional.
25303 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25304 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25305
4f75b7a0
RM
253062012-08-03 Roland McGrath <roland@hack.frob.com>
25307
25308 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25309 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25310 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25311 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25312 __eloop_threshold instead of SYMLOOP_MAX.
25313
25314 * sysdeps/generic/eloop-threshold.h: New file.
25315 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25316 of MAXSYMLINKS.
25317 * elf/chroot_canon.c (chroot_canon): Likewise.
25318
7aab07e4
JM
253192012-08-03 Joseph Myers <joseph@codesourcery.com>
25320
25321 [BZ #13717]
25322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25323 Change to 2.6.0 everywhere.
25324 * sysdeps/unix/sysv/linux/configure: Regenerated.
25325 * sysdeps/unix/sysv/linux/kernel-features.h
25326 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25327 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25328 kernel versions.
25329 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25330 (__ASSUME_FUTEX_REQUEUE): Remove.
25331 (__ASSUME_STATFS64): Define unconditionally.
25332 (__ASSUME_AT_SECURE): Likewise.
25333 (__ASSUME_CORRECT_SI_PID): Likewise.
25334 (__ASSUME_TGKILL): Define without depending on kernel version for
25335 i386.
25336 (__ASSUME_UTIMES): Likewise.
25337 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25338 kernel version.
25339 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25340 (__ASSUME_TMPFS_NAME): Likewise.
25341 * README: Update reference to Linux kernel versions.
25342
b67e9372
MP
253432012-08-02 Marek Polacek <polacek@redhat.com>
25344
1f529f7d 25345 [BZ# 14150]
b67e9372
MP
25346 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25347 libc_cv_asm_type_prefix with %.
25348 * configure: Regenerated.
d2441631
RM
25349 * include/libc-symbols.h: Remove comment about
25350 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25351 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25352 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25353 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25354 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25355 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25356 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25357 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25358 * elf/tst-unique2mod1.c: Likewise.
25359 * elf/tst-unique1mod2.c: Likewise.
25360 * elf/tst-unique1mod1.c: Likewise.
25361 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25362 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25363 Replace ASM_TYPE_DIRECTIVE with .type.
25364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25365 * sysdeps/i386/sysdep.h: Likewise.
25366 * sysdeps/x86_64/sysdep.h: Likewise.
25367 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25369 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25370 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25371 * sysdeps/powerpc/powerpc32/sysdep.h:
25372 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25373 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25374 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25375 * sysdeps/i386/fpu/e_powf.S: Likewise.
25376 * sysdeps/i386/fpu/e_expl.S: Likewise.
25377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25378 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25379 * sysdeps/i386/fpu/e_pow.S: Likewise.
25380 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25382 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25383 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25384 * sysdeps/i386/fpu/e_log2.S: Likewise.
25385 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25386 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25387 * sysdeps/i386/fpu/e_powl.S: Likewise.
25388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25389 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25390 * sysdeps/i386/fpu/e_logl.S: Likewise.
25391 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25392 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25393 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25394 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25395 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25396 * sysdeps/i386/fpu/e_log.S: Likewise.
25397 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25398 * sysdeps/i386/fpu/e_logf.S: Likewise.
25399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25400 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25401 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25402 * sysdeps/i386/fpu/e_log10.S: Likewise.
25403 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25404 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25405 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25406 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25408 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25409 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25410 * sysdeps/i386/i686/strtok.S: Likewise.
25411 * sysdeps/i386/i386-mcount.S: Likewise.
25412 * sysdeps/i386/strtok.S: Likewise.
25413 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25414 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25415 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25416 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25417 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25418 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25419 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25420 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25421 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25422 * sysdeps/x86_64/_mcount.S: Likewise.
25423 * sysdeps/x86_64/strtok.S: Likewise.
25424 * sysdeps/sh/_mcount.S: Likewise.
25425
2747bf9a
RM
254262012-08-01 Roland McGrath <roland@hack.frob.com>
25427
25428 * libio/iofopen.c: Include <fcntl.h>.
25429 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25430 (_IO_fopen64, fopen64): Define as aliases.
25431 * libio/iofopen64.c: Include <fcntl.h>.
25432 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25433 Conditionalize body on this.
25434 * sysdeps/wordsize-64/iofopen.c: File removed.
25435 * sysdeps/wordsize-64/iofopen64.c: File removed.
25436
3fb791b8
MP
254372012-08-01 Marek Polacek <polacek@redhat.com>
25438
25439 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25440 Use dlfcn directly instead of a variable.
25441 (binfmt-subdir): Do not define.
25442 (dlfcn): Likewise.
25443
a9f1039f
JM
254442012-08-01 Joseph Myers <joseph@codesourcery.com>
25445
23bddc06
JM
25446 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25447 Remove all definitions.
25448 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25449 <kernel-features.h>.
25450 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25451 (miss_F_GETOWN_EX): Remove all definitions.
25452 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25453 macro definition.
25454 [!__ASSUME_FCNTL64]: Remove conditional code.
25455 [__ASSUME_FCNTL64]: Make code unconditional.
25456 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25457 <kernel-features.h>.
25458 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25459 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25460 (lockf64) [__NR_fcntl64]: Make code unconditional.
25461 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25462
a9f1039f
JM
25463 * sysdeps/unix/sysv/linux/kernel-features.h
25464 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25465 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25466 Make code unconditional.
25467 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25468 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25470 [__NR_vfork]: Make code unconditional.
25471 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25472 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25474 [__NR_vfork]: Make code unconditional.
25475 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25476 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25477
09c0ee5f
RM
254782012-08-01 Roland McGrath <roland@hack.frob.com>
25479
48aec5b9
RM
25480 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25481 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25482
cd97c966
RM
25483 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25484 Define mkstemp64 as an alias.
3f55550c
RM
25485 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25486 Define mkstemps64 as an alias.
cd97c966
RM
25487 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25488 Define mkostemp64 as an alias.
b8625cfc
RM
25489 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25490 Define mkostemps64 as an alias.
cd97c966
RM
25491 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25492 Conditionalize body on this.
25493 * misc/mkostemp64.c: Likewise.
b8625cfc 25494 * misc/mkostemps64.c: Likewise.
3f55550c 25495 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25496 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25497 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25498 * sysdeps/wordsize-64/mkostemp.c: File removed.
25499 * sysdeps/wordsize-64/mkstemp.c: File removed.
25500 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25501 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25502 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25503 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25504
09c0ee5f
RM
25505 [BZ #14138]
25506 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25507 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25508 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25509 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25510
25511 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25512 compat_symbol macros from <shlib-compat.h> rather than the underlying
25513 default_symbol_version and symbol_version macros, so that DEFAULT
25514 lines in shlib-versions are respected.
25515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25516
7e66ee51
FW
255172012-08-01 Florian Weimer <fweimer@redhat.com>
25518
25519 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25520 Declare with warn_unused_result.
25521 (setgid, setregid, setegid, setresgid): Likewise.
25522 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25523 Likewise.
25524 * WUR-REPORT: Remove set*id functions.
25525
d2a54255
PT
255262012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25527
25528 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25529
7ecdb005
RM
255302012-07-31 Roland McGrath <roland@hack.frob.com>
25531
b4180a5e 25532 [BZ #10191]
789bd351
RM
25533 * include/sys/socket.h (__libc_accept, __libc_accept4):
25534 Add attribute_hidden.
25535 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25536
40ce302d
RM
25537 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25538 use of PTR_MANGLE.
25539 * inet/getnetgrent_r.c (setup): Likewise.
25540
7ecdb005
RM
25541 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25542
e2eabb2c
DM
255432012-07-31 David S. Miller <davem@davemloft.net>
25544
25545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25546
d0419dbf
JM
255472012-07-31 Joseph Myers <joseph@codesourcery.com>
25548
25549 [BZ #13629]
25550 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25551 value between 1.0 and 2.0 and smaller part has absolute value less
25552 than 1.0.
25553 * math/s_clog10.c (__clog10): Likewise.
25554 * math/s_clog10f.c (__clog10f): Likewise.
25555 * math/s_clog10l.c (__clog10l): Likewise.
25556 * math/s_clogf.c (__clogf): Likewise.
25557 * math/s_clogl.c (__clogl): Likewise.
25558 * math/libm-test.inc (clog_test): Add more tests.
25559 (clog10_test): Likewise.
25560 * sysdeps/i386/fpu/libm-test-ulps: Update.
25561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25562
2bc13872
FW
255632012-07-31 Florian Weimer <fweimer@redhat.com>
25564
25565 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25566 Exit with zero in case no suitable GID is found, and write a
25567 message to standard error.
25568
bea9b193
RM
255692012-07-30 Roland McGrath <roland@hack.frob.com>
25570
25571 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25572 rather than to 1.
25573 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25574 (MAXPATHLEN): Removed.
25575 (NOGROUP, NODEV): New macros.
25576 (setbit, clrbit, isset, isclr): New macros.
25577 (howmany, roundup, powerof2): New macros.
25578 (DEV_BSIZE): New macro.
25579
25580 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25581 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25582
25583 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25584 definition on [!__NO_LONG_DOUBLE_MATH].
25585
25586 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25587 PTR_MANGLE and PTR_DEMANGLE.
25588
25589 * socket/accept4.c (accept4): Rename to __libc_accept4.
25590 Define accept4 as a weak alias.
25591
25592 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25593 on [_DIRENT_HAVE_D_TYPE].
25594 * io/ftw.c (ftw_dir): Likewise.
25595
25596 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25597
25598 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25599
25600 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25601 Use the BSD numbers rather than the arbitrary ones we had.
25602 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25603 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25604 (SIGXCPU, SIGXFSZ): New macros.
25605 (_NSIG): Now 32.
25606
25607 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25608 initializer on [_LIBC_REENTRANT].
25609
25610 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25611 definitions inside [_POSIX_MAPPED_FILES].
25612
25613 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25614
25615 * dirent/opendir.c: Include <fcntl.h>.
25616
25617 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25618 (__libc_getspecific): Likewise.
25619 (__libc_key_create): Likewise.
25620
25621 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25622 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25623 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25624 (tmpfile64): Define as alias.
25625 * sysdeps/wordsize-64/tmpfile.c: File removed.
25626 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25627 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25628 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25629
25630 * stdio-common/vfscanf.c: Include <stdbool.h>.
25631 * nss/makedb.c: Likewise.
25632 * stdio-common/_i18n_number.h: Likewise.
25633 * argp/argp-help.c: Likewise.
25634 * posix/wordexp.c: Likewise.
25635 * sysdeps/posix/spawni.c: Likewise.
25636 * nss/nss_files/files-initgroups.c: Likewise.
25637 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25638 * nss/nss_files/files-initgroups.c: Likewise.
25639 * nss/nss_db/db-netgrp.c: Likewise.
25640 * nss/nss_db/db-initgroups.c: Likewise.
25641 * io/fchmodat.c: Include <sys/stat.h>.
25642
25643 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25644 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25645
25646 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25647 [HAVE_MMAP].
25648
25649 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25650 Add multiple inclusion protection.
25651
e5abc686
DM
256522012-07-27 David S. Miller <davem@davemloft.net>
25653
25654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25655
815e6fa3
GB
256562012-07-27 Gary Benson <gbenson@redhat.com>
25657
25658 [BZ #14298]
25659 * elf/rtld.c: Include <stap-probe.h>.
25660 (dl_main): Added static probes "init_start" and "init_complete".
25661 * elf/dl-load.c: Include <stap-probe.h>.
25662 (lose): Take new parameter "nsid".
25663 Added static probe "map_failed".
25664 (_dl_map_object_from_fd): Pass namespace id to lose.
25665 Added static probe "map_start".
25666 (open_verify): Pass namespace id to lose.
25667 * elf/dl-open.c: Include <stap-probe.h>.
25668 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25669 and "reloc_complete".
25670 * elf/dl-close.c: Include <stap-probe.h>.
25671 (_dl_close_worker): Added static probes "unmap_start" and
25672 "unmap_complete".
25673 * elf/rtld-debugger-interface.txt: New file documenting the above.
25674
9f98c16c
RM
256752012-07-26 Roland McGrath <roland@hack.frob.com>
25676
25677 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25678 rather than a string variable.
25679 * sunrpc/rpc_main.c (h_output): Likewise.
25680 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25681
f3c22df3
PT
256822012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25683
25684 * inet/check_native.c: New file.
25685
3129cfc6
JM
256862012-07-26 Joseph Myers <joseph@codesourcery.com>
25687
da865e95
JM
25688 [BZ #13629]
25689 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25690 if larger part has absolute value 1.0.
25691 * math/s_clog10.c (__clog10): Likewise.
25692 * math/s_clog10f.c (__clog10f): Likewise.
25693 * math/s_clog10l.c (__clog10l): Likewise.
25694 * math/s_clogf.c (__clogf): Likewise.
25695 * math/s_clogl.c (__clogl): Likewise.
25696 * math/libm-test.inc (clog_test): Add more tests.
25697 (clog10_test): Likewise.
25698 * sysdeps/i386/fpu/libm-test-ulps: Update.
25699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25700
3129cfc6
JM
25701 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25702 (pltexit): Likewise.
25703 (La_regs): Likewise.
25704 (La_retval): Likewise.
25705 (int_retval): Likewise.
25706 Update #error for removed macros to refer only to definitions in
25707 tst-audit.h.
25708 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25709 macro.
25710 (pltexit): Likewise.
25711 (La_regs): Likewise.
25712 (La_retval): Likewise.
25713 (int_retval): Likewise.
25714 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25715 macro.
25716 (pltexit): Likewise.
25717 (La_regs): Likewise.
25718 (La_retval): Likewise.
25719 (int_retval): Likewise.
25720 * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
25739 macro.
25740 (pltexit): Likewise.
25741 (La_regs): Likewise.
25742 (La_retval): Likewise.
25743 (int_retval): Likewise.
25744 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25745 macro definitions in tst-audit.h.
25746 * sysdeps/i386/tst-audit.h: New file.
25747 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25748 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25749 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25750 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25751 * sysdeps/sh/tst-audit.h: Likewise.
25752 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25753 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25754 * sysdeps/x86_64/tst-audit.h: Likewise.
25755
bfc07087
AJ
257562012-07-26 Andreas Jaeger <aj@suse.de>
25757
b1b2aaf8
AJ
25758 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25759 ptrace.
25760
25761 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25762 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25763 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25764 PTRACE_O_MASK.
25765 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25766 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25767 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25768
bfc07087
AJ
25769 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25770 value.
25771
25772 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25773 _sigsys.
25774 (si_call_addr, si_syscall, si_arch): Define new macro.
25775 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25776 _sigsys.
25777 (si_call_addr, si_syscall, si_arch): Define new marcro.
25778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25779 _sigsys.
25780 (si_call_addr, si_syscall, si_arch): Define new macro.
25781 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25782 _sigsys.
25783 (si_call_addr, si_syscall, si_arch): Define new macro.
25784
89b4b02f
JM
257852012-07-25 Joseph Myers <joseph@codesourcery.com>
25786
25787 [BZ #13717]
25788 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25789 Change to 2.4.21 where previously 2.4.1.
25790 * sysdeps/unix/sysv/linux/configure: Regenerated.
25791 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25792 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25793 Linux kernel version.
25794 (__ASSUME_STD_AUXV): Remove.
25795 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25796 kernel version.
25797 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25798 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25799 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25800 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25801 (__ASSUME_NETLINK_SUPPORT): Likewise.
25802 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25803 (__no_netlink_support): Remove conditional definition.
25804 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25805 Remove.
25806 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25807 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25808 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25809 (if_nameindex_ioctl): Remove.
25810 (if_nameindex_netlink): Do not handle __no_netlink_support.
25811 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25812 code.
25813 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25814 Remove conditional code.
25815 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25816 code.
25817 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25818 unconditional.
25819 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25820 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25821 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25822 Remove.
25823 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25824 [!__ASSUME_STD_AUXV]: Remove conditional code.
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25826 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25827 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25829 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25830 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25831 code.
25832 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25834 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25835 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25836 conditional code.
25837 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25839 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25840 code.
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25842 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25843 conditional code.
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25845 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25846 code unconditional.
25847 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25848 conditional code.
25849 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25850 unconditional.
25851 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25852 conditional code.
25853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25854 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25855 unconditional.
25856 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25857 conditional code.
25858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25859 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25860 code unconditional.
25861 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25862 conditional code.
25863 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25864 unconditional.
25865 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25866 conditional code.
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25868 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25869 code unconditional.
25870 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25871 conditional code.
25872 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25873 unconditional.
25874 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25875 conditional code.
25876
842a39cd
AS
258772012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25878
25879 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25880 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25881 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25882 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25883 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25884 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25885 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25886 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25887 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25888 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25889 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25890 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25891 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25892 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25893 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25894 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25895 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25896 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25897 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25899 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25900 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25902
84b3fd84
FW
259032012-07-25 Florian Weimer <fweimer@redhat.com>
25904
25905 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25906 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25907 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25908 Introduce __libc_secure_getenv.
0c7936d5
FW
25909 * stdlib/Versions (2.17): Add secure_getenv
25910 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25911 * stdlib/secure-getenv.c: Rename __secure_getenv to
25912 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25913 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25914 * stdlib/tst-secure-getenv.c: New.
25915 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25916 * manual/startup.texi (Environment Access): Document
25917 secure_getenv.
84b3fd84
FW
25918 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25919 __libc_secure_getenv.
25920 * inet/ruserpass.c (ruserpass): Likewise.
25921 * malloc/mtrace.c (mtrace): Likewise.
25922 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25923 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25924 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25925 * sysdeps/posix/tempname.c: Likewise. Evaluate
25926 HAVE_SECURE_GETENV.
25927 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25928 __secure_getenv to __libc_secure_getenv.
84b3fd84 25929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25931 Likewise.
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25933 Likewise.
25934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25936 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25941
56e49b71
JM
259422012-07-25 Joseph Myers <joseph@codesourcery.com>
25943
25944 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25945 (struct La_i86_retval): Likewise.
25946 (struct La_x86_64_regs): Likewise.
25947 (struct La_x86_64_retval): Likewise.
25948 (struct La_x32_regs): Likewise.
25949 (struct La_x32_retval): Likewise.
25950 (struct La_ppc32_regs): Likewise.
25951 (struct La_ppc32_retval): Likewise.
25952 (struct La_ppc64_regs): Likewise.
25953 (struct La_ppc64_retval): Likewise.
25954 (struct La_sh_regs): Likewise.
25955 (struct La_sh_retval): Likewise.
25956 (struct La_s390_32_regs): Likewise.
25957 (struct La_s390_32_retval): Likewise.
25958 (struct La_s390_64_regs): Likewise.
25959 (struct La_s390_64_retval): Likewise.
25960 (struct La_sparc32_regs): Likewise.
25961 (struct La_sparc32_retval): Likewise.
25962 (struct La_sparc64_regs): Likewise.
25963 (struct La_sparc64_retval): Likewise.
25964 (struct audit_ifaces): Remove architecture-specific pltenter and
25965 pltexit members.
25966 * sysdeps/i386/ldsodefs.h: New file.
25967 * sysdeps/powerpc/ldsodefs.h: Likewise.
25968 * sysdeps/s390/ldsodefs.h: Likewise.
25969 * sysdeps/sh/ldsodefs.h: Likewise.
25970 * sysdeps/sparc/ldsodefs.h: Likewise.
25971 * sysdeps/x86_64/ldsodefs.h: Likewise.
25972
354691b7
MP
259732012-07-25 Marek Polacek <polacek@redhat.com>
25974
25975 [BZ #6808]
25976 * math/libm-test.inc (yn_test): Add another test.
25977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25978 to ERANGE when the result is +-Inf.
25979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25980 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25981 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25982 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25983
bf9e2071
JM
259842012-07-24 Joseph Myers <joseph@codesourcery.com>
25985
25986 * conform/data/time.h-data (NULL): Use macro-constant. Require
25987 equal to 0.
25988 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25989 clock_t.
25990 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25991
57633811
TS
259922012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25993
25994 * configure.in <sysdeps resolving>: Correct printing
25995 Implies_before.
25996 * configure: Regenerate.
25997
c23c33b0
TS
259982012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25999
26000 * math/w_ilogb.c: Include <limits.h>.
26001 * math/w_ilogbl.c: Likewise.
26002
b5982523
JM
260032012-07-20 Joseph Myers <joseph@codesourcery.com>
26004
26005 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26006 va_copy. Document allowing for unavailable va_copy only as
26007 pre-C99 compatibility.
26008 * manual/string.texi (Copying and Concatenation): Use va_copy
26009 instead of __va_copy in concat example.
26010
ac4ea442
PT
260112012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26012
26013 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26014 (__sendto): Use create_address_port. Initialize APORT and deallocate
26015 it if not null.
26016
f98eafbd
PT
26017 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26018 with O_NOLINK passed to __file_name_lookup.
26019
898c7aab
PT
26020 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26021 with O_NOLINK passed to __file_name_lookup.
26022
0ced335a
PT
26023 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26024 negative N or less than NGIDS.
26025
b3404dbd
PT
26026 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26027 type to string_t. Set ERANGE as errno and return it if NAME is not big
26028 enough. Use memcpy instead of strncpy.
26029
0f48659e
JM
260302012-07-20 Joseph Myers <joseph@codesourcery.com>
26031
26032 * elf/Makefile (check-data): Remove.
26033 (localplt.data): New vpath directive.
26034 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26035 instead of $(check-data).
26036 * scripts/data/localplt-generic.data: Move to ...
26037 * sysdeps/generic/localplt.data: ... here.
26038 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26039 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26040 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26042 ... here.
26043 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26045 ... here.
26046 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26048 ... here.
26049 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26051 ... here.
26052 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26054 ... here.
26055 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26057 ... here.
26058
d37cbdaa
AZ
260592012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26060
26061 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26062 PPC32 and PPC64 files.
26063 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26064 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26065
46f85fc2
AK
260662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26067
26068 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26069 __makecontext_ret to ...
26070 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26071 ... here and call exit if uc_link is NULL. New file.
26072 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26073 __makecontext_ret.S.
26074 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26075 __makecontext_ret to ...
26076 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26077 ... here and call exit if uc_link is NULL. New file.
26078 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26079 __makecontext_ret.S.
26080
08f43f9b
AK
260812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26082
26083 * elf/elf.h (R_390_IRELATIVE): New definition.
26084 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26085 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26086 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26087 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26088 (elf_machine_lazy_rel): Likewise.
26089 * sysdeps/s390/dl-irel.h: New file.
26090 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26091 * sysdeps/s390/s390-64/memset.S: New asm code.
26092 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26093 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26094 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26095 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26096 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26097 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26099 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26100 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26101 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26102 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26103 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26104 * sysdeps/s390/s390-32/memset.S: New asm code.
26105 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26106
3b05db33
MP
261072012-07-17 Marek Polacek <polacek@redhat.com>
26108
26109 [BZ #14349]
26110 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26111 * sysdeps/s390/s390-64/configure.in: Likewise.
26112 * sysdeps/sparc/configure.in: Likewise.
26113 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26114 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26115 * sysdeps/i386/configure.in: Likewise.
26116 * sysdeps/x86_64/configure.in: Likewise.
26117 * sysdeps/sh/configure.in: Likewise.
26118 * sysdeps/s390/s390-32/configure: Regenerated.
26119 * sysdeps/s390/s390-64/configure: Likewise.
26120 * sysdeps/x86_64/configure: Likewise.
26121 * sysdeps/sh/configure: Likewise.
26122 * sysdeps/powerpc/powerpc64/configure: Likewise.
26123 * sysdeps/powerpc/powerpc32/configure: Likewise.
26124 * sysdeps/sparc/configure: Likwise.
26125 * sysdeps/i386/configure: Likewise.
26126
a66877c6
MP
26127 * elf/dl-open.c: Comment fixes.
26128
cfc82fd8
JM
261292012-07-17 Joseph Myers <joseph@codesourcery.com>
26130
bd29910a
JM
26131 * Makefile [CXX] (check-data): Remove.
26132 [CXX] (c++-types.data): New vpath directive.
26133 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26134 vpath. Do not allow for C++ type data being missing.
26135 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26136 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26137 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26138 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26139 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26140 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26141 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26143 ... here.
26144 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26146 ... here.
26147 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26149 ... here.
26150 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26152 ... here.
26153 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26155 ... here.
26156 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26158 ... here.
26159 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26161 ... here.
26162 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26164
cfc82fd8
JM
26165 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26166 definitions to architecture-specific files.
26167 (TLS_IE): Likewise.
26168 (TLS_LD): Likewise.
26169 (TLS_GD): Likewise.
26170 * sysdeps/i386/tls-macros.h: New file.
26171 * sysdeps/powerpc/tls-macros.h: Likewise.
26172 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26173 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26174 * sysdeps/sh/tls-macros.h: Likewise.
26175 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26176 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26177 * sysdeps/x86_64/tls-macros.h: Likewise.
26178
f7db3170
TS
261792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26180
07cbfc23
TS
26181 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26182 zero value for regular exit case.
26183
f7db3170
TS
26184 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26185 (__start_context): Preserve zero value for regular exit case.
26186
dc97c227
TS
261872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26188 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26189
26190 * manual/setjmp.texi (setcontext): Clarify normal process
26191 termination when uc_link is the null pointer.
26192 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26193 exit call.
26194
d0cd7d02
AS
261952012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26196
26197 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26198 preprocessor. Test for each exception mask separately.
26199
dd318934
AJ
262002012-07-16 Andreas Jaeger <aj@suse.de>
26201
26202 * po/ru.po: Update from translation team.
26203
8048311a
JM
262042012-07-15 Joseph Myers <joseph@codesourcery.com>
26205
26206 * conform/data/string.h-data (NULL): Use macro-constant. Require
26207 equal to 0.
26208 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26209 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26210 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26211 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26213
b637d46e
AJ
262142012-07-13 Andreas Jaeger <aj@suse.de>
26215
26216 * po/fr.po: Update from translation team.
26217
541428fe
MP
262182012-07-12 Marek Polacek <polacek@redhat.com>
26219
26220 [BZ #14173]
26221 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26222 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26223 loop condition.
26224
ec332e94
JM
262252012-07-12 Joseph Myers <joseph@codesourcery.com>
26226
26227 [BZ #13717]
26228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26229 Change to 2.4.1 where previously 2.4.0.
26230 * sysdeps/unix/sysv/linux/configure: Regenerated.
26231 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26232 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26233 version.
26234 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26235 (__ASSUME_AT_CLKTCK): Remove.
26236 (__ASSUME_AT_PAGESIZE): Likewise.
26237 (__ASSUME_AT_XID): Likewise.
26238 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26239 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26240 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26241 unconditionally.
26242 (HAVE_AUX_PAGESIZE): Likewise.
26243 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26244 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26245 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26246
7b6e99be
JB
262472012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26248
26249 [BZ #14307]
26250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26251 the temporary buffer used to invoke __gethostbyname2_r,
26252 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26253 host_data / struct gaih_addrtuple.
26254 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26255 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26256 header file nss/nsswitch.h.
26257 * nss/nsswitch.h (global scope): Add definition of implementation
26258 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26259 resolv/nss_dns/dns-host.c).
26260
608404eb
AJ
262612012-07-11 Andreas Jaeger <aj@suse.de>
26262
26263 * po/fr.po: Update from translation team.
26264
71220aca
AJ
26265 * po/sv.po: Update from translation team
26266 * po/fr.po: Another update from translation team.
26267
28cfe843
AZ
262682012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26269
26270 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26271 for subnormals or multiply small sinh result by itself.
26272 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26274
6b90f981
DM
262752012-07-11 David S. Miller <davem@davemloft.net>
26276
26277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26278
c6825772
AS
262792012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26280
26281 [BZ #14347]
26282 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26283 (INTERNAL_MARK): Shift it here.
26284
7b8e0d49
MP
262852012-07-10 Marek Polacek <polacek@redhat.com>
26286
26287 [BZ #14151]
26288 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26289 libc_cv_asm_global_directive with .globl.
26290 * configure: Regenerated.
26291 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26292 with .globl.
26293 * sysdeps/i386/configure: Regenerated.
26294 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26295 with .globl.
26296 * sysdeps/x86_64/configure: Regenerated.
26297 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26298 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26299 * elf/tst-unique2mod2.c: Likewise.
26300 * elf/tst-unique2mod1.c: Likewise.
26301 * elf/tst-unique1mod2.c: Likewise.
26302 * elf/tst-unique1mod1.c: Likewise.
26303 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26304 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26305 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26306 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26307 * sysdeps/mach/sysdep.h: Likewise.
26308 * sysdeps/i386/sysdep.h: Likewise.
26309 * sysdeps/i386/i386-mcount.S: Likewise.
26310 * sysdeps/x86_64/_mcount.S: Likewise.
26311 * sysdeps/x86_64/sysdep.h: Likewise.
26312 * sysdeps/sh/_mcount.S: Likewise.
26313 * sysdeps/sh/sysdep.h: Likewise.
26314 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26315 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26316 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26317 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26318 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26319 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26320 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26321 * locale/localeinfo.h: Likewise.
26322 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26323 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26324
6c55cda3
RM
263252012-07-09 Roland McGrath <roland@hack.frob.com>
26326
26327 [BZ #14336]
26328 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26329 system".
26330 * manual/message.texi (The Uniforum approach): Likewise.
26331 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26332 (glibc iconv Implementation): Likewise.
26333
638a572e
JM
263342012-07-09 Joseph Myers <joseph@codesourcery.com>
26335
26336 [BZ #14337]
26337 * math/s_clog.c (__clog): Avoid scaling a value down where that
26338 could result in underflow.
26339 * math/s_clog10.c (__clog10): Likewise.
26340 * math/s_clog10f.c (__clog10f): Likewise.
26341 * math/s_clog10l.c (__clog10l): Likewise.
26342 * math/s_clogf.c (__clogf): Likewise.
26343 * math/s_clogl.c (__clogl): Likewise.
26344 * math/libm-test.inc (clog_test): Add more tests.
26345 (clog10_test): Likewise.
26346 * sysdeps/i386/fpu/libm-test-ulps: Update.
26347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26348
261f4859
AS
263492012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26350
0abaf3e4
AS
26351 [BZ #14283]
26352 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26353 by 7 not 8 to examine high bit of fractional part.
26354
261f4859
AS
26355 [BZ #14042]
26356 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26357 for call to __mcount_internal.
26358 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26359 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26360 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26361
f17ac40d
JM
263622012-07-06 Joseph Myers <joseph@codesourcery.com>
26363
9ad63c23
JM
26364 [BZ #14154]
26365 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26366 approximation for values within 0x1p-13f of an odd multiple of
26367 pi/4.
26368 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26369 exception. Add more tests.
26370 * sysdeps/i386/fpu/libm-test-ulps: Update.
26371
f17ac40d
JM
26372 [BZ #6778]
26373 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26374 inputs and return -1 for them. Do not check for +Inf in case not
26375 reachable for +Inf.
26376 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26377 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26378 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26379 and return -1 for them. Do not check for +Inf in case not
26380 reachable for +Inf.
26381 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26382 define.
26383 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26384 and return -1 for them. Do not check for +Inf in case not
26385 reachable for +Inf.
26386 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26387 spurious underflow.
26388 * sysdeps/i386/fpu/libm-test-ulps: Update.
26389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26390
fb21f89b
MF
263912012-07-06 Mike Frysinger <vapier@gentoo.org>
26392
26393 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26394
cdfe2c5e
JM
263952012-07-05 Joseph Myers <joseph@codesourcery.com>
26396
26397 [BZ #14157]
26398 [BZ #14331]
26399 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26400 could result in spurious underflow. Scale down values above
26401 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26402 * math/s_csqrtf.c (__csqrtf): Likewise.
26403 * math/s_csqrtl.c (__csqrtl): Likewise.
26404 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26405 spurious underflow.
26406 * sysdeps/i386/fpu/libm-test-ulps: Update.
26407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26408
70d35b67
AS
264092012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26410
704bc459
AS
26411 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26412 xopen-msg.sed.
26413 * catgets/xopen-msg.awk: New file.
26414 * catgets/xopen-msg.sed: Removed.
26415
70d35b67
AS
26416 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26417 po2text.sed.
26418 * intl/po2test.awk: New file.
26419 * intl/po2test.sed: Removed.
26420
ca61cf32
JM
264212012-07-04 Joseph Myers <joseph@codesourcery.com>
26422
26423 [BZ #14328]
26424 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26425 or multiply small sinh result by itself.
26426 * math/s_ctanf.c (__ctanf): Likewise.
26427 * math/s_ctanh.c (__ctanh): Likewise.
26428 * math/s_ctanhf.c (__ctanhf): Likewise.
26429 * math/s_ctanhl.c (__ctanhl): Likewise.
26430 * math/s_ctanl.c (__ctanl): Likewise.
26431 * math/libm-test.inc (ctan_test_tonearest): New function.
26432 (ctan_test_towardzero): Likewise.
26433 (ctan_test_downward): Likewise.
26434 (ctan_test_upward): Likewise.
26435 (ctanh_test_tonearest): Likewise.
26436 (ctanh_test_towardzero): Likewise.
26437 (ctanh_test_downward): Likewise.
26438 (ctanh_test_upward): Likewise.
26439 (main): Call these new functions.
26440 * sysdeps/i386/fpu/libm-test-ulps: Update.
26441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26442
ca48a46a
MF
264432012-07-03 Mike Frysinger <vapier@gentoo.org>
26444
26445 * .gitignore: Delete /ports entry.
26446
9d63d37d
AJ
264472012-07-03 Andreas Jaeger <aj@suse.de>
26448
26449 * po/bg.po: Update from translation team.
26450 * po/cs.po: Likewise.
26451 * po/de.po: Likewise.
26452 * po/hr.po: Likewise.
26453 * po/nl.pl: Likewise.
26454 * po/pl.po: Likewise.
26455 * po/vi.po: Likewise.
26456
370ca3d2
JM
264572012-07-03 Joseph Myers <joseph@codesourcery.com>
26458
95f5a9a8
JM
26459 * Makeconfig [!+link] (+link-before-libc): New variable.
26460 [!+link] (+link-after-libc): Likewise.
26461 [!+link] (+link-tests): Likewise.
26462 [!+link] (+link): Define in terms of $(+link-before-libc) and
26463 $(+link-after-libc).
26464 [!+link-static] (+link-static-before-libc): New variable.
26465 [!+link-static] (+link-static-after-libc): Likewise.
26466 [!+link-static] (+link-static-tests): Likewise.
26467 [!+link-static] (+link-static): Define in terms of
26468 $(+link-static-before-libc) and $(+link-static-after-libc).
26469 [build-shared] (link-libc-before-gnulib): New variable.
26470 [build-shared] (link-libc-tests): Likewise.
26471 [build-shared] (link-libc): Define in terms of
26472 $(link-libc-before-gnulib).
26473 [!build-shared] (link-libc-tests): New variable.
26474 (link-libc-static-tests): New variable.
26475 [!gnulib] (gnulib-arch): New variable.
26476 [!gnulib] (gnulib-tests): Likewise.
26477 [!gnulib] (static-gnulib-arch): Likewise.
26478 [!gnulib] (static-gnulib-tests): Likewise.
26479 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26480 Define with "=" instead of ":=".
26481 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26482 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26483 * Rules (binaries-all-notests): New variable.
26484 (binaries-all-tests): Likewise.
26485 (binaries-static-notests): Likewise.
26486 (binaries-static-tests): Likewise.
26487 (binaries-all): Define using $(binaries-all-notests) and
26488 $(binaries-all-tests).
26489 (binaries-static): Define using $(binaries-static-notests) and
26490 $(binaries-static-tests).
26491 (binaries-shared-tests): New variable.
26492 (binaries-shared-notests): Likewise.
26493 (binaries-shared): Remove variable.
26494 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26495 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26496 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26497 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26498 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26499 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26500 * elf/Makefile (sln-modules): New variable.
26501 (extra-objs): Add $(sln-modules:=.o).
26502 (ldconfig-modules): Add static-stubs.
26503 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26504 * elf/static-stubs.c: New file.
26505
7a845b2c
JM
26506 [BZ #14283]
26507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26508 by 7 not 8 to examine high bit of fractional part. Use volatile
26509 variables when splitting into final array of floats if
26510 __FLT_EVAL_METHOD__ != 0.
26511 * math/libm-test.inc (cos_test): Add another test.
26512 (sin_test): Likewise.
26513 * sysdeps/i386/fpu/libm-test-ulps: Update.
26514
e2283f38
JM
26515 [BZ #14273]
26516 * math/libm-test.inc (cosh_test): Add more tests.
26517
370ca3d2
JM
26518 * version.h (RELEASE): Set to "development".
26519 (VERSION): Set to "2.16.90".
26520
ee9247c3
CD
265212012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26522
26523 * NEWS: Update copyright. Remove last-updated date.
26524 Mention math library bug fixes and timezone data changes.
26525 * README: Mention GNU/Hurd, x32, and HPPA support status.
26526
4648c381
TS
265272012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26528
26529 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26530
aac78a43
AJ
265312012-06-27 Andreas Jaeger <aj@suse.de>
26532
26533 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26534
ed3dbfad
AJ
265352012-06-25 Andreas Jaeger <aj@suse.de>
26536
26537 * sysdeps/s390/fpu/libm-test-ulps: Update.
26538
4d0ee855
AS
265392012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26540 Thomas Schwinge <thomas@codesourcery.com>
26541
26542 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26543 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26545 fanotify_mark.
26546
af1bce34
TS
265472012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26548
a9fa33ba
TS
26549 * sysdeps/mach/start.c: Remove file.
26550 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26551 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26552 * sysdeps/sh/init-first.c: Likewise.
26553
58f902b8
TS
26554 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26555 registers for frame unwinding purposes, add CFI directives.
26556 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26557 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26558 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26559 Likewise.
26560
1518f58b
TS
26561 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26562 __fortify_fail returning.
26563 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26564
db9b5059
TS
26565 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26566 sysdeps/sh/____longjmp_chk.S.
26567 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26568 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26569 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26570 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26571
967705fe
TS
26572 * sysdeps/sh/abort-instr.h: New file.
26573 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26574 process in case exit returns.
26575
a9def8c4
TS
26576 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26577 initialize the GOT register before use.
26578
2a649725
TS
26579 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26580 calculation of ARGC > 4.
26581
af1bce34
TS
26582 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26583 meaningful names to some local labels.
26584
d230f50a
KK
265852012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26586 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26587
26588 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26589 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26590 (__arch_compare_and_exchange_val_16_acq): Likewise.
26591 (__arch_compare_and_exchange_val_32_acq): Likewise.
26592 (atomic_exchange_and_add): Fix gUSA sequence.
26593 (atomic_add): Likewise.
26594 (atomic_add_negative): Likewise.
26595 (atomic_add_zero): Likewise.
26596 (atomic_bit_test_set): Likewise.
26597
0479b305
AS
265982012-06-22 Andreas Schwab <schwab@redhat.com>
26599
26600 [BZ #13579]
26601 * include/link.h (struct link_map): Add l_free_initfini.
26602 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26603 l_initfini.
26604 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26605 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26606 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26607 set.
26608
0e3933b9
CD
266092012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26610
26611 * configure.in: Use AC_LANG_SOURCE.
26612 * configure: Regenerate.
26613
4248b1b1
RM
266142012-06-22 Roland McGrath <roland@hack.frob.com>
26615
26616 * configure.in (libc_cv_localstatedir): New substituted variable.
26617 * configure: Regenerated.
26618 * config.make.in (localstatedir): New variable, substituted from
26619 libc_cv_localstatedir.
26620 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26621 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26622 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26623 * sysdeps/gnu/configure: Regenerated.
26624
006dd861
JL
266252012-06-21 Jeff Law <law@redhat.com>
26626
26627 [BZ #14277]
26628 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26629 free. Simplify list management for _LIBC case.
26630
79662d42
JM
266312012-06-21 Joseph Myers <joseph@codesourcery.com>
26632
b7abb4bf
JM
26633 [BZ #14273]
26634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26635 Clear sign bit of 64-bit integer value before comparing against
26636 overflow value.
26637
79662d42
JM
26638 * sysdeps/mach/configure: Regenerated.
26639
1f150908
L
266402012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26641
26642 [BZ #14278]
26643 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26644
28363bbf
JL
266452012-06-21 Jeff Law <law@redhat.com>
26646
26647 [BZ #13882]
26648 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26649 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26650 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26651 * elf/dl-open.c (dl_open_worker): Likewise.
26652
09615db4
CD
266532012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26654
26655 * scripts/list-sources.sh: Scan PORTS for translations.
26656 * po/libc.pot: Regenerated.
26657
2174c6dd
AJ
266582012-06-21 Andreas Jaeger <aj@suse.de>
26659
26660 [BZ #12194]
26661 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26662 warning.
26663 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26664 * bits/byteswap-16.h (__bswap_16): Likewise.
26665 * bits/byteswap.h (__bswap_constant_16): Likewise.
26666
3ee947b1
L
266672012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26668
26669 [BZ #14117]
a2f34833
L
26670 * sysdeps/i386/fpu_control.h: Removed.
26671 * sysdeps/x86_64/fpu_control.h: Moved to ...
26672 * sysdeps/x86/fpu_control.h: Here.
26673
3ee947b1
L
26674 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26675 (_FPU_SETCW): Likewise.
26676
ed1825f8
L
266772012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26678
25f1282a
L
26679 [BZ #14117]
26680 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26681 * sysdeps/x86/fpu/bits/mathinline.h: This.
26682 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26683
ed1825f8
L
26684 [BZ #14050]
26685 [BZ #14117]
26686 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26687 functions if __x86_64__ is defined.
26688
36d54b74
CLT
266892012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26690
26691 * string/endian.h: Add !__ASSEMBLER__ condition for including
26692 conversion interfaces.
26693
10285c21
JM
266942012-06-15 Joseph Myers <joseph@codesourcery.com>
26695
26696 [BZ #14241]
26697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26698 of ABS(x) in calculating zero to negative powers other than odd
26699 integers.
26700 * math/libm-test.inc (pow_test): Add more tests.
26701
06c5abbd
AJ
267022012-06-15 Andreas Jaeger <aj@suse.de>
26703
26704 * manual/contrib.texi (Contributors): Update entry of Liubov
26705 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26706 Machado Filho.
26707
a3aeac40
CH
267082012-06-15 Cyril Hrubis <metan@ucw.cz>
26709
26710 * string/string.h: Add __wur to GNU version of strerror_r.
26711
49bdf4c1
L
267122012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26713
26714 [BZ #14229]
26715 * string/Makefile (tests): Add tst-strtok_r.
26716 * string/tst-strtok_r.c: New file.
26717 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26718 RAX_LP/RDX_LP on SAVE_PTR.
26719
834f9b8d
RM
267202012-06-14 Roland McGrath <roland@hack.frob.com>
26721
26722 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26723
75fa1921
JM
267242012-06-14 Joseph Myers <joseph@codesourcery.com>
26725
26726 * libm_test.inc (csqrt_test): Allow more spurious underflow
26727 exceptions.
26728 (j0_test): Likewise.
26729 (j1_test): Likewise.
26730 (y0_test): Likewise.
26731 (y1_test): Likewise.
26732
771766df
CD
267332012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26734
26735 * po/Makefile (libc.pot): Use UTF-8 charset.
26736
ceb9e56b
PP
267372012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26738
26739 [BZ #14210]
26740 Suppress sign-conversion warning from FD_SET.
26741 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26742 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26743 not unsigned long int.
26744 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26745
ddb28975
L
267462012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26747
26748 [BZ #14050]
26749 [BZ #14117]
26750 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26751 __extern_always_inline instead of __extern_inline.
26752 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26753 (__signbit): Likewise.
26754 (__signbitl): Support C++ namespace.
26755 (lrintf): New inline function.
26756 (lrint): Likewise.
26757 (llrintf): Likewise.
26758 (llrint): Likewise.
26759 (fmaxf): Likewise.
26760 (fmax): Likewise.
26761 (fminf): Likewise.
26762 (fmin): Likewise.
26763 (rint): Likewise.
26764 (rintf): Likewise.
26765 (ceil): Likewise.
26766 (ceilf): Likewise.
26767 (floor): Likewise.
26768 (floorf): Likewise.
26769 (nearbyint): Likewise.
26770 (nearbyintf): Likewise.
26771
d7b4fb26
TS
267722012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26773
26774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26775 non-default versions.
26776
eb55f5c2
RM
267772012-06-11 Roland McGrath <roland@hack.frob.com>
26778
26779 [BZ #14218]
26780 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26781
366af02c
TS
267822012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26783
99ff6e5c
TS
26784 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26785 (FE_UPWARD, FE_DOWNWARD): Don't define.
26786 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26787 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26788
366af02c
TS
26789 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26790 reading it.
26791 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26792 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26793
793ea851
KK
267942012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26795
26796 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26798 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26799 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26800
a728a38f
L
268012012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26802
26803 [BZ #14117]
c08010c7
L
26804 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26805 * sysdeps/i386/fpu/Implies: New file.
26806 * sysdeps/x86_64/fpu/Implies: Likewise.
26807 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26808 * sysdeps/x86/fpu/bits/fenv.h: This.
26809
a728a38f
L
26810 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26811 __SSE_MATH__.
26812
6e230d11
SP
268132012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26814
26815 [BZ #14134]
26816 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26817 character 0xffff that matches the last element of the
26818 conversion table.
26819
1b671feb
AZ
268202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26821
26822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26823 fmodl commit.
26824
6043738b
AZ
268252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26826
26827 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26828 values higher than 25.6283.
26829
34ae0b32
AZ
268302012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26831
26832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26833 subnormal exponent extraction and add some __builtin_expect.
26834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26835 Fix for subnormal mantissa calculation.
26836
1214ec8f
MF
268372012-06-04 Mike Frysinger <vapier@gentoo.org>
26838
26839 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26840 cpu2 is -1 and errno is not ENOSYS.
26841
f3d1f93c
L
268422012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26843
26844 [BZ #14117]
0e4a3cd7
L
26845 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26846 * sysdeps/x86/bits/string.h: This.
26847 * sysdeps/x86_64/bits/string.h: Removed.
26848
6704c645
L
26849 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26850 if not compiling for x86-64, but compiling for >= i486.
26851
48495318
L
26852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26853 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26854
14adcbfc
L
26855 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26856 New macro from Linux kernel 3.4.0.
26857 (FP_XSTATE_MAGIC2): Likewise.
26858 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26859 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26860 (struct _fpx_sw_bytes): New struct.
26861 (struct _xsave_hdr): Likewise.
26862 (struct _ymmh_state): Likewise.
26863 (struct _xstate): Likewise.
26864
68e408ab
L
26865 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26866 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26867 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26868 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26869 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26870 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26871
f3d1f93c
L
26872 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26873 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26874 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26875 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26876 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26877 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26878
d9dc34cd
TMQMF
268792012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26880
26881 [BZ #13743]
26882 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26883 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26884 (sysdep_headers): Include sys/platform/ppc.h.
26885 * sysdeps/powerpc/test-gettimebase.c: Test for
26886 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26887 * manual/Makefile (appendices): Include platform.texi.
26888 * manual/contrib.texi (Contributors): Update @node pointers.
26889 * manual/maint.texi (Maintenance): Likewise.
26890 (Platform): New node.
26891 * manual/platform.texi: New file. Document the new features.
26892
4af3879c
SP
268932012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26894 Jakub Jelinek <jakub@redhat.com>
26895
26896 [BZ #14188]
26897 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26898 where __builtin_expect is unavailable.
26899
2fd6ff13
DM
269002012-06-03 David S. Miller <davem@davemloft.net>
26901
26902 * stdlib/longlong.h: Updated from GCC.
26903
173f7220
AS
269042012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26905
26906 [BZ #14042]
26907 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26908 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26909 __mcount_internal.
26910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26911 (GLIBC_2.16): Likewise.
26912
f34a1c6f
L
269132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26914
26915 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26916
88a4576f
JM
269172012-06-01 Joseph Myers <joseph@codesourcery.com>
26918
ea32bcdd
JM
26919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26920 (default-abi): New variable.
26921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26922 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26923 variable.
26924 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26925 Likewise.
26926 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26927 Likewise.
26928 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26929 Likewise.
26930
88a4576f
JM
26931 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26932 definition. Document in comment.
26933
402fe938
DM
269342012-06-01 David S. Miller <davem@davemloft.net>
26935
26936 * stdlib/longlong.h: Updated from GCC.
26937
3553723f
L
269382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26939
26940 [BZ #14117]
3bd872c4
L
26941 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26942 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26943 sys/debugreg.h sys/io.h here.
26944 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26945 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26946 sys/io.h.
26947 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26948 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26949 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26950 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26951 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26952 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26953
3553723f
L
26954 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26955 Define only if __x86_64__ is defined.
26956
4842e4fe
JM
269572012-06-01 Joseph Myers <joseph@codesourcery.com>
26958
c5bfe3d5
JM
26959 [BZ #14048]
26960 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26961 Use int64_t for variable i.
26962 * math/libm-test.inc (fmod_test): Add more tests.
26963
4842e4fe
JM
26964 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26965 z computation is not scheduled after fetestexcept.
26966 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26967 Use math_force_eval instead of asm to ensure calculation scheduled
26968 before exception test.
26969 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26970 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26971
efb73488
AJ
269722012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26973
26974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26975 computation is not scheduled after fetestexcept.
26976
29bcce7c
L
269772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26978
26979 [BZ #14117]
26980 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26981 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26982
73a68f94
AZ
269832012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26984
26985 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26986 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26987
67b6df78
L
269882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26989
edf2933a 26990 [BZ #14117]
ebc64a18
L
26991 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26992 <bits/wordsize.h>.
26993 (__WCHAR_MIN): Support __WORDSIZE == 64.
26994 (__WCHAR_MAX): Likewise.
26995
edf2933a
L
26996 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26997 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26998
57c6cf40
L
26999 [BZ #14183]
27000 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27001 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27002
67b6df78 27003 [BZ #14117]
8eb6281e
L
27004 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27005 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27006
aac639f4
L
27007 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27008 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27009
67b6df78
L
27010 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27011 Defined to 1 if __x86_64__ isn't defined.
27012 (_STAT_VER_LINUX_OLD): New.
27013 (st_atime): Remove duplicate.
27014 (st_mtime): Likewise.
27015 (st_ctime): Likewise.
27016
1c2cfe81
DM
270172012-05-31 David S. Miller <davem@davemloft.net>
27018
27019 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27020 entries.
27021
5be8418c
AS
270222012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27023
e7725326
AS
27024 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27025 gen-libm-test.pl.
27026
5be8418c
AS
27027 [BZ #14132]
27028 * elf/dl-reloc.c: Include <_itoa.h>.
27029 (_dl_reloc_bad_type): Remove use of INTUSE.
27030 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27031 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27032 * stdio-common/psiginfo.c (psiginfo): Likewise.
27033 * stdio-common/psignal.c (psignal): Likewise.
27034 * string/strsignal.c (strsignal): Likewise.
27035 * include/signal.h (_sys_siglist): Declare hidden proto.
27036 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27037 INTVARDEF with libc_hidden_data_def.
27038 * stdio-common/itoa-udigits.c: Likewise.
27039 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27040 (_itoa_lower_digits_internal): Remove declaration.
27041 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27042 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27043 (_sys_sigabbrev_internal): Remove aliases.
27044 (_sys_siglist): Define hidden alias.
27045
507352f1
MT
270462012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27047
27048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27049 bits/sysctl.h.
27050
42bbb1c3
L
270512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27052
27053 [BZ #14117]
6bd784b6
L
27054 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27055 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27056
8bca20f0
L
27057 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27058 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27059 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27060 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27062 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27063
f9e890a9
L
27064 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27066 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27067
471101a1
L
27068 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27069 with __addr.
27070 (insw): Likewise.
27071 (insl): Likewise.
27072 (outsb): Likewise.
27073 (outsw): Likewise.
27074 (outsl): Likewise.
27075
6451c862
L
27076 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27077 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27078 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27079
a254b8c9
L
27080 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27081 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27082 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27083 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27084 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27085 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27086
b8dfdd92
L
27087 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27088 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27089
578cd270
L
27090 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27091 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27092
de662f5f
L
27093 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27094 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27095 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27096
25653439
L
27097 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27098 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27099 to ...
27100 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27101
6bad24a0
L
27102 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27103 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27104 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27105
42bbb1c3
L
27106 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27107 for x86-64.
27108 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27109
2d10d547
JM
271102012-05-31 Joseph Myers <joseph@codesourcery.com>
27111
27112 * math/math.h (M_El): Use two more decimal places.
27113 (M_LOG2El): Likewise.
27114 (M_LOG10El): Likewise.
27115 (M_LN2l): Likewise.
27116 (M_LN10l): Likewise.
27117 (M_PIl): Likewise.
27118 (M_PI_2l): Likewise.
27119 (M_PI_4l): Likewise.
27120 (M_1_PIl): Likewise.
27121 (M_2_PIl): Likewise.
27122 (M_2_SQRTPIl): Likewise.
27123 (M_SQRT2l): Likewise.
27124 (M_SQRT1_2l): Likewise.
27125
f230c29b
DM
271262012-05-31 David S. Miller <davem@davemloft.net>
27127
27128 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27129 values between float registers.
27130 * sysdeps/sparc/sparc64/memset.S: Likewise.
27131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27132
fed806c3
MF
271332012-05-31 Mike Frysinger <vapier@gentoo.org>
27134
27135 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27136 -D_FORTIFY_SOURCE=1.
27137 (CPPFLAGS-tst-longjmp_chk.c): Define.
27138 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27139 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27140 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27141 CFLAGS-tst-wchar-h.c.
27142
30917259
MP
271432012-05-31 Marek Polacek <polacek@redhat.com>
27144
27145 [BZ #14132]
27146 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27147 __endmntent_internal): Remove declaration.
27148 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27149 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27150 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27151
1c58d5dc
DM
271522012-05-30 David S. Miller <davem@davemloft.net>
27153
27154 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27155 (___Q_simulate_exceptions): Use real FP ops rather than writing
27156 into the %fsr.
27157 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27158 Likewise.
27159
7dc00e0d
L
271602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27161
27162 [BZ #14117]
0bd53985
L
27163 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27164 * sysdeps/x86/bits/xtitypes.h: This.
27165
3a257e66
L
27166 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27167 * sysdeps/x86/bits/wordsize.h: This.
27168
62f62904
L
27169 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27170 * sysdeps/x86/bits/huge_vall.h: This.
27171
404fe9d9
L
27172 * sysdeps/i386/bits/select.h: Removed.
27173 * sysdeps/x86_64/bits/select.h: Renamed to ...
27174 * sysdeps/x86/bits/select.h: This.
27175
d48d0446
L
27176 * sysdeps/i386/bits/setjmp.h: Removed.
27177 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27178 * sysdeps/x86/bits/setjmp.h: This.
27179
7dc00e0d
L
27180 * sysdeps/i386/bits/mathdef.h: Removed.
27181 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27182 * sysdeps/x86/bits/mathdef.h: This.
27183
03277f8f
AS
271842012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27185
27186 [BZ #14132]
27187 * include/sys/socket.h (__connect_internal)
27188 (__libc_sa_len_internal): Remove declaration.
27189 (__connect, __libc_sa_len): Declare hidden_proto.
27190 (SA_LEN): Remove use of INTUSE.
27191 * socket/connect.c: Add libc_hidden_def.
27192 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27193 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27194 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27195 alias.
27196 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27197 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27198 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27199 of adding _internal alias.
27200
13764867
L
272012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27202
27203 [BZ #14117]
6bd97696
L
27204 * sysdeps/i386/bits/link.h: Removed.
27205 * sysdeps/i386/bits/linkmap.h: Likewise.
27206 * sysdeps/x86_64/bits/link.h: Renamed to ...
27207 * sysdeps/x86/bits/link.h: This.
27208 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27209 * sysdeps/x86/bits/linkmap.h: This.
27210
f726f0bb
L
27211 * sysdeps/i386/bits/endian.h: Removed.
27212 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27213 * sysdeps/x86/bits/endian.h: This.
27214
13764867
L
27215 * sysdeps/i386/bits/byteswap.h: Removed.
27216 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27217 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27218 * sysdeps/x86/bits/byteswap.h: This.
27219 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27220 * sysdeps/x86/bits/byteswap-16.h: This.
27221 * sysdeps/i386/Implies: Add x86.
27222 * sysdeps/x86_64/Implies: Likewise.
27223
ae251b0b
DM
272242012-05-30 David S. Miller <davem@davemloft.net>
27225
27226 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27227 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27228 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27229 (FP_TRAPPING_EXCEPTIONS): Define.
27230 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27231 (FP_TRAPPING_EXCEPTIONS): Define.
27232 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27233 subnormals only when inexact has been signalled or underflow
27234 exceptions are enabled.
27235 (_FP_PACK_CANONICAL): Likewise.
27236
d5c90867
L
272372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27238
27239 [BZ #14183]
27240 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27241 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27242
63f1549e
RH
272432012-05-30 Richard Henderson <rth@twiddle.net>
27244
8d8f2279
RH
27245 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27246 with #ifndef NOT_IN_libc.
27247
63f1549e
RH
27248 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27249 marked to avoid plt entry.
27250
0ab0291b
L
272512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27252
27253 [BZ #14112]
27254 * Makeconfig (default-abi): New macro.
27255 (abi-includes): Likewise.
27256 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27257 $(abi-$(default-abi)-lib-soname) for soname if defined.
27258 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27259 abi-variants.
27260 * Makefile (installed-stubs): Likewise.
27261 * include/stubs-biarch.h: Removed.
27262 * scripts/lib-names.awk: Only handle one library at a time.
27263 * scripts/soversions.awk: Remove WORDSIZE support.
27264 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27265 entries.
27266 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27267 Removed.
27268 (syscall-list-default-condition): Likewise.
27269 (syscall-list-default-condition): Likewise.
27270 (syscall-list-includes): Likewise.
27271 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27272 syscall-list-* with abi-*. Handle undefined abi-variants.
27273 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27274 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27275 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27276 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27277 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27278 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27279 Removed.
27280 (syscall-list-32-options): Likewise.
27281 (syscall-list-32-condition): Likewise.
27282 (syscall-list-64-options): Likewise.
27283 (syscall-list-64-condition): Likewise.
27284 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27285 macro.
27286 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27287 Renamed to ...
27288 (abi-*): This.
27289 (abi-64-ld-soname): New macro.
27290 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27291 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27292 Renamed to ...
27293 (abi-*): This.
27294 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27295 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27296
4da0431d
JM
272972012-05-30 Joseph Myers <joseph@codesourcery.com>
27298
3a85279c
JM
27299 * sysdeps/unix/sysv/linux/kernel-features.h
27300 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27301 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27302 include <kernel-features.h>.
27303 [!__NR_ftruncate64]: Remove conditional code.
27304 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27305 [__NR_ftruncate64]: Make code unconditional.
27306 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27307 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27308 include <kernel-features.h>.
27309 [!__NR_ftruncate64]: Remove conditional code.
27310 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27311 [__NR_ftruncate64]: Make code unconditional.
27312 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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
4da0431d
JM
27326 * configure.in (libc_cv_fpie): Weaken to a compile test using
27327 LIBC_TRY_CC_OPTION.
27328 * configure: Regenerated.
27329
11ef492c
AK
273302012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27331
27332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27336 Refreshed.
27337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27343 Refreshed.
27344
d66ef399
DM
273452012-05-27 David S. Miller <davem@davemloft.net>
27346
27347 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27348 (___Q_zero): New.
27349 (__Q_simulate_exceptions): Return void. Change to simulate
27350 exceptions by writing into the %fsr.
27351 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27352 (__Qp_handle_exceptions): Likewise.
27353 (numbers): Delete.
27354 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27355 __Qp_handle_exceptions.
27356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27357 __Qp_handle_exceptions.
27358 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27359 as unused and give dummy FP_RND_NEAREST initializer.
27360 (FP_INHIBIT_RESULTS): Define.
27361 (___Q_simulate_exceptions): Update declaration.
27362 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27363 formatting.
27364 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27365 as unused and give dummy FP_RND_NEAREST initializer.
27366 (__Qp_handle_exceptions): Update declaration.
27367 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27368 formatting.
27369
04fb54b5
TS
273702012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27371
27372 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27373 the temporary FPU control word.
27374 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27375 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27376 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27377 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27378 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27379 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27380 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27381 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27382 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27383 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27384 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27385
3f99608f
KK
273862012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27387
27388 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27389 fields.
27390
65a4de4e
CLT
273912012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27392
27393 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27394 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27395 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27396 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27397 Likewise.
27398 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27399 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27400 Likewise.
27401
15749d40
UD
274022012-05-27 Ulrich Drepper <drepper@gmail.com>
27403
27404 * po/h.po: Update from translation team.
27405
25dbcb27
AS
274062012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27407
3d3f8e55
AS
27408 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27409
25dbcb27
AS
27410 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27411 handling of denormals.
27412 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27413 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27414 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27415 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27419 Likewise.
27420
7ad47a80 274212012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27422
27423 [BZ #14152]
27424 * math/libm-test.inc (fma_test): Don't always expect underflow
27425 exception.
27426
9c6ea9fa
SP
274272012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27428
27429 [BZ #12416]
27430 * elf/tst-execstack.c: Include stackinfo.h.
27431 (do_test): Adjust test case to ensure that pthread_getattr_np
27432 behaviour remains the same after marking stack executable.
27433
a8239222
JM
274342012-05-25 Joseph Myers <joseph@codesourcery.com>
27435
27436 * sysdeps/unix/sysv/linux/kernel-features.h
27437 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27438 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27439 kernel-features.h.
27440 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27441 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27442 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27443 kernel-features.h.
27444 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27445 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27446
918b5606
L
274472012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27448
27449 * configure.in: Define the default includes to being none.
27450 * configure: Regenerated.
27451
3a097cc7
RM
274522012-05-25 Roland McGrath <roland@hack.frob.com>
27453
8422c9a5
RM
27454 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27455 * sysdeps/x86_64/setjmp.S: Likewise.
27456 * sysdeps/i386/bsd-setjmp.S: Likewise.
27457 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27458 * sysdeps/i386/setjmp.S: Likewise.
27459 * sysdeps/i386/__longjmp.S: Likewise.
27460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27461 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27462
3a097cc7
RM
27463 * include/stap-probe.h: New file.
27464 * configure.in: Handle --enable-systemtap.
27465 * configure: Regenerated.
27466 * config.h.in (USE_STAP_PROBE): New #undef.
27467 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27468 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27469 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27470
21708942
JM
274712012-05-25 Joseph Myers <joseph@codesourcery.com>
27472
27473 [BZ #13717]
27474 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27475 to 2.4.0 where earlier.
27476 * sysdeps/unix/sysv/linux/configure: Regenerated.
27477 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27478 <kernel-features.h>.
27479 [__ASSUME_32BITUIDS]: Make code unconditional.
27480 [!__ASSUME_32BITUIDS]: Remove conditional code.
27481 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27482 <kernel-features.h>.
27483 [__ASSUME_32BITUIDS]: Make code unconditional.
27484 [!__ASSUME_32BITUIDS]: Remove conditional code.
27485 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27486 [__ASSUME_32BITUIDS]: Make code unconditional.
27487 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27488 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27489 <kernel-features.h>.
27490 [__ASSUME_32BITUIDS]: Make code unconditional.
27491 [!__ASSUME_32BITUIDS]: Remove conditional code.
27492 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27493 <kernel-features.h>.
27494 [__ASSUME_32BITUIDS]: Make code unconditional.
27495 [!__ASSUME_32BITUIDS]: Remove conditional code.
27496 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27497 <kernel-features.h>.
27498 [__ASSUME_32BITUIDS]: Make code unconditional.
27499 [!__ASSUME_32BITUIDS]: Remove conditional code.
27500 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
27529 <kernel-features.h>.
27530 [__NR_setresgid] (__setresgid): Do not declare.
27531 [__ASSUME_32BITUIDS]: Make code unconditional.
27532 [!__ASSUME_32BITUIDS]: Remove conditional code.
27533 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27534 <kernel-features.h>.
27535 [__NR_setresuid] (__setresuid): Do not declare.
27536 [__ASSUME_32BITUIDS]: Make code unconditional.
27537 [!__ASSUME_32BITUIDS]: Remove conditional code.
27538 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27539 <kernel-features.h>.
27540 [__ASSUME_32BITUIDS]: Make code unconditional.
27541 [!__ASSUME_32BITUIDS]: Remove conditional code.
27542 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27543 <kernel-features.h>.
27544 [__ASSUME_32BITUIDS]: Make code unconditional.
27545 [!__ASSUME_32BITUIDS]: Remove conditional code.
27546 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27547 <kernel-features.h>.
27548 [__ASSUME_32BITUIDS]: Make code unconditional.
27549 [!__ASSUME_32BITUIDS]: Remove conditional code.
27550 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
27579 (__ASSUME_SETRESUID_SYSCALL): Remove.
27580 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27581 (__ASSUME_32BITUIDS): Likewise.
27582 (__ASSUME_LDT_WORKS): Likewise.
27583 (__ASSUME_O_DIRECTORY): Likewise.
27584 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27585 architecture but not kernel version.
27586 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27587 (__ASSUME_MMAP2_SYSCALL): Likewise.
27588 (__ASSUME_STAT64_SYSCALL): Likewise.
27589 (__ASSUME_IPC64): Likewise.
27590 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27591 <kernel-features.h>.
27592 [__ASSUME_32BITUIDS]: Make code unconditional.
27593 [!__ASSUME_32BITUIDS]: Remove conditional code.
27594 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27595 <kernel-features.h>.
27596 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27597 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27598 132096]: Remove conditional code.
27599 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27601 <kernel-features.h>.
27602 [__ASSUME_32BITUIDS]: Make code unconditional.
27603 [!__ASSUME_32BITUIDS]: Remove conditional code.
27604 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27605 <kernel-features.h>.
27606 [__ASSUME_32BITUIDS]: Make code unconditional.
27607 [!__ASSUME_32BITUIDS]: Remove conditional code.
27608 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27609 <kernel-features.h>.
27610 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27611 unconditional.
27612 (__setresgid): Do not declare.
27613 [__ASSUME_32BITUIDS]: Make code unconditional.
27614 [!__ASSUME_32BITUIDS]: Remove conditional code.
27615 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27616 <kernel-features.h>.
27617 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27618 unconditional.
27619 (__setresuid): Do not declare.
27620 [__ASSUME_32BITUIDS]: Make code unconditional.
27621 [!__ASSUME_32BITUIDS]: Remove conditional code.
27622 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27623 <kernel-features.h>.
27624 [__ASSUME_32BITUIDS]: Make code unconditional.
27625 [!__ASSUME_32BITUIDS]: Remove conditional code.
27626 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27627 <kernel-features.h>.
27628 [__ASSUME_32BITUIDS]: Make code unconditional.
27629 [!__ASSUME_32BITUIDS]: Remove conditional code.
27630
a386f1cc
RH
276312012-05-25 Richard Henderson <rth@twiddle.net>
27632
27633 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27634 dl_hwcap to ifunc resolver.
27635 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27636 elf_ifunc_invoke.
27637 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27638 dl_hwcap to ifunc resolver.
27639 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27640
b6550497
JM
276412012-05-24 Joseph Myers <joseph@codesourcery.com>
27642
27643 [BZ #14153]
27644 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27645 for |x| <= 2**-26, not 2**-57.
27646 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27647 exception.
27648
b0bc23a1
JL
276492012-05-24 Jeff Law <law@redhat.com>
27650
27651 * stdio-common/Makefile (tests): Add bug25.
27652 * stdio-common/bug25.c: New test.
27653
347c92e9
L
276542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27655
27656 [BZ #13576]
27657 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27658 multiple of MALLOC_ALIGNMENT in size.
27659 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27660
6bcc8b3f
JM
276612012-05-24 Joseph Myers <joseph@codesourcery.com>
27662
27663 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27664 Require >= 256.
27665 (FILENAME_MAX): Use macro-int-constant.
27666 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27667 (_IOFBF): Use macro-int-constant.
27668 (_IOLBF): Likewise.
27669 (_IONBF): Likewise.
27670 (SEEK_CUR): Likewise.
27671 (SEEK_END): Likewise.
27672 (SEEK_SET): Likewise.
27673 (TMP_MAX): Likewise.
27674 (EOF): Use macro-int-constant. Require < 0.
27675 (NULL): Use macro-constant. Require == 0.
27676 (stdin): Require type to be FILE *.
27677 (stdout): Likewise.
27678 (stderr): Likewise.
27679 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27680 macro-int-constant.
27681 (EXIT_SUCCESS): Likewise.
27682 (NULL): Use macro-constant. Require == 0.
27683 (RAND_MAX): Use macro-int-constant.
27684 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27685 [C99-based standards] (strtof): Require function.
27686 [C99-based standards] (strtold): Likewise.
27687 [C99-based standards] (strtoll): Likewise.
27688 [C99-based standards] (strtoull): Likewise.
27689 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27690 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27691 [ISO || ISO99 || ISO11] (math.h): Likewise.
27692 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27693 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27695
d18ea0c5
AS
276962012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27697
27698 [BZ #14132]
56d25bb8
AS
27699 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27700 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27701 * intl/dgettext.c (DCGETTEXT): Likewise.
27702 * intl/gettext.c (DCGETTEXT): Likewise.
27703 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27704 * posix/regex_internal.h (gettext): Likewise.
27705 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27706 Remove declaration.
27707 * include/argz.h (__argz_count_internal)
27708 (__argz_stringify_internal): Remove declaration.
27709 (__argz_count, __argz_stringify): Declare hidden proto.
27710 * intl/dcgettext.c: Remove use of INTDEF.
27711 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27712 * string/argz-stringify.c: Likewise.
27713 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27714 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27715 Declare hidden proto.
d18ea0c5
AS
27716 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27717 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27718 Declare hidden proto.
27719 * include/stdio.h (__asprintf_internal): Don't declare.
27720 (__asprintf): Don't define as macro. Declare hidden proto.
27721 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27722 (__fsetlocking): Declare hidden proto.
27723 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27724 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27725 hidden proto.
27726 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27727 (_IO_setlinebuf): Remove use of INTUSE.
27728 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27729 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27730 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27731 Remove declaration.
27732 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27733 (_IO_do_flush): Remove use of INTUSE.
27734 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27735 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27736 (_IO_adjust_column, _IO_least_wmarker)
27737 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27738 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27739 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27740 (_IO_default_doallocate, _IO_wdefault_doallocate)
27741 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27742 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27743 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27744 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27745 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27746 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27747 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27748 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27749 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27750 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27751 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27752 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27753 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27754 proto.
27755 (_IO_flush_all_internal, _IO_adjust_column_internal)
27756 (_IO_default_uflow_internal, _IO_default_finish_internal)
27757 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27758 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27759 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27760 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27761 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27762 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27763 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27764 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27765 (_IO_file_close_internal, _IO_file_close_it_internal)
27766 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27767 (_IO_file_init_internal, _IO_file_attach_internal)
27768 (_IO_file_fopen_internal, _IO_file_read_internal)
27769 (_IO_file_sync_internal, _IO_file_seek_internal)
27770 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27771 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27772 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27773 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27774 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27775 (_IO_list_all_internal, _IO_link_in_internal)
27776 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27777 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27778 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27779 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27780 (_IO_do_write_internal, _IO_padn_internal)
27781 (_IO_getline_info_internal, _IO_getline_internal)
27782 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27783 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27784 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27785 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27786 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27787 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27788 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27789 with libc_hidden_ver, remove use of INTUSE.
27790 * libio/genops.c: Likewise.
27791 * libio/freopen.c: Likewise.
27792 * libio/freopen64.c: Likewise.
27793 * libio/iofclose.c: Likewise.
27794 * libio/iofdopen.c: Likewise.
27795 * libio/iofflush.c: Likewise.
27796 * libio/iofflush_u.c: Likewise.
27797 * libio/iofgets.c: Likewise.
27798 * libio/iofgets_u.c: Likewise.
27799 * libio/iofopen.c: Likewise.
27800 * libio/iofopncook.c: Likewise.
27801 * libio/iofread.c: Likewise.
27802 * libio/iofread_u.c: Likewise.
27803 * libio/ioftell.c: Likewise.
27804 * libio/iofwrite.c: Likewise.
27805 * libio/iogetline.c: Likewise.
27806 * libio/iogets.c: Likewise.
27807 * libio/iogetwline.c: Likewise.
27808 * libio/iopadn.c: Likewise.
27809 * libio/iopopen.c: Likewise.
27810 * libio/ioseekoff.c: Likewise.
27811 * libio/ioseekpos.c: Likewise.
27812 * libio/iosetbuffer.c: Likewise.
27813 * libio/iosetvbuf.c: Likewise.
27814 * libio/ioungetc.c: Likewise.
27815 * libio/ioungetwc.c: Likewise.
27816 * libio/iovdprintf.c: Likewise.
27817 * libio/iovsprintf.c: Likewise.
27818 * libio/iovsscanf.c: Likewise.
27819 * libio/memstream.c: Likewise.
27820 * libio/obprintf.c: Likewise.
27821 * libio/oldfileops.c: Likewise.
27822 * libio/oldiofclose.c: Likewise.
27823 * libio/oldiofdopen.c: Likewise.
27824 * libio/oldiofopen.c: Likewise.
27825 * libio/oldiopopen.c: Likewise.
27826 * libio/oldstdfiles.c: Likewise.
27827 * libio/putc.c: Likewise.
27828 * libio/setbuf.c: Likewise.
27829 * libio/setlinebuf.c: Likewise.
27830 * libio/stdfiles.c: Likewise.
27831 * libio/strops.c: Likewise.
27832 * libio/vasprintf.c: Likewise.
27833 * libio/vscanf.c: Likewise.
27834 * libio/vsnprintf.c: Likewise.
27835 * libio/vswprintf.c: Likewise.
27836 * libio/wfiledoalloc.c: Likewise.
27837 * libio/wfileops.c: Likewise.
27838 * libio/wgenops.c: Likewise.
27839 * libio/wmemstream.c: Likewise.
27840 * libio/wstrops.c: Likewise.
27841 * libio/__fpurge.c: Likewise.
27842 * libio/__fsetlocking.c: Likewise.
27843 * assert/assert.c: Likewise.
27844 * debug/fgets_chk.c: Likewise.
27845 * debug/fgets_u_chk.c: Likewise.
27846 * debug/fread_chk.c: Likewise.
27847 * debug/fread_u_chk.c: Likewise.
27848 * debug/gets_chk.c: Likewise.
27849 * debug/obprintf_chk.c: Likewise.
27850 * debug/vasprintf_chk.c: Likewise.
27851 * debug/vdprintf_chk.c: Likewise.
27852 * debug/vsnprintf_chk.c: Likewise.
27853 * debug/vsprintf_chk.c: Likewise.
27854 * malloc/mtrace.c: Likewise.
27855 * misc/error.c: Likewise.
27856 * misc/syslog.c: Likewise.
27857 * stdio-common/asprintf.c: Likewise.
27858 * stdio-common/fxprintf.c: Likewise.
27859 * stdio-common/getw.c: Likewise.
27860 * stdio-common/isoc99_fscanf.c: Likewise.
27861 * stdio-common/isoc99_scanf.c: Likewise.
27862 * stdio-common/isoc99_vfscanf.c: Likewise.
27863 * stdio-common/isoc99_vscanf.c: Likewise.
27864 * stdio-common/isoc99_vsscanf.c: Likewise.
27865 * stdio-common/printf-prs.c: Likewise.
27866 * stdio-common/printf_fp.c: Likewise.
27867 * stdio-common/printf_fphex.c: Likewise.
27868 * stdio-common/printf_size.c: Likewise.
27869 * stdio-common/putw.c: Likewise.
27870 * stdio-common/scanf.c: Likewise.
27871 * stdio-common/sprintf.c: Likewise.
27872 * stdio-common/tmpfile.c: Likewise.
27873 * stdio-common/vfprintf.c: Likewise.
27874 * stdio-common/vfscanf.c: Likewise.
27875 * stdlib/strfmon_l.c: Likewise.
27876 * sunrpc/openchild.c: Likewise.
27877 * sunrpc/xdr_stdio.c: Likewise.
27878 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27879 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27880
d6c33fda
RM
278812012-05-24 Roland McGrath <roland@hack.frob.com>
27882
c1487492
RM
27883 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27884
27885 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27886 in the third column, to generate for the shared library an IFUNC
27887 that uses _dl_vdso_vsym.
27888 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27889 * Makeconfig (object-suffixes-noshared): New variable.
27890
27891 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27892 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27893 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27894 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27895
d6c33fda
RM
27896 [BZ #14132]
27897 * include/sys/time.h (__gettimeofday): Remove macro.
27898 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27899 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27900 Remove INTDEF.
27901 (__gettimeofday): Add libc_hidden_def.
27902 (gettimeofday): Add libc_hidden_weak.
27903 * sysdeps/mach/gettimeofday.c: Likewise.
27904 * sysdeps/posix/gettimeofday.c: Likewise.
27905 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27906 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27908 (__gettimeofday_internal): Remove strong_alias.
27909 (__gettimeofday): Add libc_hidden_def.
27910 (gettimeofday): Add libc_hidden_weak.
27911 * sysdeps/unix/syscalls.list (gettimeofday):
27912 Remove __gettimeofday_internal alias.
27913
b5a2bbe6
L
279142012-05-24 Daniel Jacobowitz <drow@false.org>
27915 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 [BZ #12495]
27918 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27919 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27920 (largebin_index_32_big): New.
27921 (largebin_index): Use it for 16-byte alignment.
27922 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27923 correction with front_misalign.
27924
cfba4fda
L
279252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27926
7f907421
L
27927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27929 Likewise.
27930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27931 Likewise.
27932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27933 Likewise.
27934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27935 Likewise.
27936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27937 Likewise.
27938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27939 Likewise.
27940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27941 Likewise.
27942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27943 Likewise.
27944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27945 Likewise.
27946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27947 Likewise.
27948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27949 Likewise.
27950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27951 Likewise.
27952
cfba4fda
L
27953 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27954 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27955
80bad0cc
JM
279562012-05-24 Joseph Myers <joseph@codesourcery.com>
27957
7a25eb06
JM
27958 [BZ #10846]
27959 [BZ #14036]
27960 * math/libm-test.inc (exp_test): Add test from bug 14036.
27961 (pow_test): Add test from bug 10846.
27962
795405f9
JM
27963 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27964 and other flags.
27965 (special_function): Do not include flags in test name.
27966 (parse_args): Likewise.
27967 * sysdeps/i386/fpu/libm-test-ulps: Update.
27968 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27969 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27970 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27972
80bad0cc
JM
27973 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27974 exceptions.
27975 * math/libm-test.inc ("Philosophy"): Update comment about
27976 exception testing.
27977 (UNDERFLOW_EXCEPTION): New macro.
27978 (UNDERFLOW_EXCEPTION_OK): Likewise.
27979 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27980 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27981 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27982 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27983 (INVALID_EXCEPTION_OK): Update value.
27984 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27985 (OVERFLOW_EXCEPTION_OK): Likewise.
27986 (IGNORE_ZERO_INF_SIGN): Likewise.
27987 (test_exceptions): Handle underflow exceptions.
27988 (acos_test): Update for underflow exception expectations.
27989 (cexp_test): Likewise.
27990 (clog_test): Likewise.
27991 (clog10_test): Likewise.
27992 (csqrt_test): Likewise.
27993 (ctan_test): Likewise.
27994 (ctanh_test): Likewise.
27995 (exp_test): Likewise.
27996 (exp10_test): Likewise.
27997 (exp2_test): Likewise.
27998 (expm1_test): Likewise.
27999 (fma_test): Likewise.
28000 (j0_test): Likewise.
28001 (jn_test): Likewise.
28002 (nexttoward_test): Likewise.
28003 (pow_test): Likewise.
28004 (scalbn_test): Likewise.
28005 (scalbln_test): Likewise.
28006 (tan_test): Likewise.
28007 (y1_test): Likewise.
28008 * sysdeps/i386/fpu/libm-test-ulps: Update.
28009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28010
9e0e3d0b
DM
280112012-05-23 David S. Miller <davem@davemloft.net>
28012
28013 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28014 (__libc_sigaction): Remove unused local variables.
28015
ccd0a08f
L
280162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28017
28018 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28019
62bdf9a6
PE
280202012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28021
f8591f80
PE
28022 mktime: avoid signed integer overflow
28023 * time/mktime.c (__mktime_internal): Do not mishandle the case
28024 where diff == INT_MIN.
28025
94c7d826
PE
28026 mktime: simplify computation of average
28027 * time/mktime.c (ranged_convert): Use new time_t_avg function
28028 instead of rolling our own (probably-slower) code.
28029
ce73d683
PE
28030 mktime: do not assume signed right shift propagates sign bit
28031 * time/mktime.c (isdst_differ): New static function.
28032 (__mktime_internal): No need to normalize tm_isdst now.
28033 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28034 tm_isdst values.
28035
72a22e59
PE
28036 mktime: merge another wrapv change from gnulib
28037 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28038 from some compilers.
28039
68605433
PE
28040 mktime: remove incorrect attempt at unusual arithmetics
28041 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28042 The code didn't really work on such machines anyway.
28043 (TYPE_MINIMUM): Assume two's complement.
28044 (twos_complement_arithmetic): Verify that long_int and time_t
28045 are two's complement (or unsigned, in the latter case).
28046
03cf7fe3
PE
28047 mktime: check signed shifts on long_int and time_t, too
28048 * time/mktime.c (SHR): Check that shifts work as desired
28049 on the types long_int and time_t too, as SHR is used on
28050 such types.
28051
f04dfbc2
PE
28052 mktime: do not assume 'long' is wide enough
28053 * time/mktime.c (verify): Move decl up.
28054 (long_int): New type.
28055 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28056 to remove assumption in the code that 'long' is wide enough to
28057 store year values. This assumption is not true on x32 and on
28058 some non-glibc platforms.
28059
62bdf9a6
PE
28060 mktime: merge wrapv change from gnulib
28061 * time/mktime.c (WRAPV): New macro.
28062 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28063 (guess_time_tm, __mktime_internal): Do not assume that signed
28064 integer overflow wraps around; modern compilers generate code
28065 where this assumption is no longer valid.
28066
5e292e4f
L
280672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28068
28069 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28070 Replace "jmp L(pseudo_end)" with "ret".
28071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28072 Likewise.
28073
8caf8c87
AJ
280742012-05-23 Andreas Jaeger <aj@suse.de>
28075
28076 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28077 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28078
1a09dc56
AJ
280792012-05-23 Andreas Jaeger <aj@suse.de>
28080 Maximilian Attems <max@stro.at>
28081
28082 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28083 New macros.
28084
1c87aba0
L
280852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28086
28087 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28088 code so that pseudo_end is just ret and the stack pointer is
28089 correct also for static library in error case.
28090
40e45bd5
JM
280912012-05-23 Joseph Myers <joseph@codesourcery.com>
28092
c2670533
JM
28093 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28094 move to syscalls.list.
28095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28099
40e45bd5
JM
28100 * manual/install.texi (Running make install): Do not mention Linux
28101 kernel version for which pt_chown is not needed.
28102 (Linux): Do not mention problems with nscd with 2.0 kernels.
28103 * INSTALL: Regenerated.
28104
be08eda5
AJ
281052012-05-23 Andreas Jaeger <aj@suse.de>
28106
28107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28108 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28109 macro.
28110 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28112 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28114 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28116 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28118 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28120 * sysdeps/unix/sysv/linux/bits/in.h
28121 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28122
a6a056bb
RM
281232012-05-22 Roland McGrath <roland@hack.frob.com>
28124
28125 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28126 (PREPARE_VERSION): Just use assert instead, it will be elided
28127 under [NDEBUG] anyway.
28128
c9009328
L
281292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28130
28131 * sysdeps/unix/sysv/linux/Makefile: Include
28132 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28133 (sysdep_routines): Remove sysctl.
c9009328
L
28134 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28135 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28136 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28137 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28138 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28139
73338355
AJ
281402012-05-22 Andreas Jaeger <aj@suse.de>
28141
28142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28143 that pseudo_end is just ret and the stack pointer is correct also
28144 for static library in error case.
28145
d44638b0
PP
281462012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28147
28148 [BZ #14122]
28149 * nss/nsswitch.c (defconfig_entries): New variable.
28150 (__nss_database_lookup): Don't leak defconfig entries.
28151 (nss_parse_service_list): Don't leak on error paths.
28152 (free_database_entries): New function.
28153 (free_defconfig): New function.
28154 (free_mem): Move common code to free_database_entries.
28155
31a39bd8
L
281562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28157
da0331a8
L
28158 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28159 Add arch_prctl.
28160 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28161
31a39bd8
L
28162 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28163 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28165 New macro.
28166 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28167 (INTERNAL_SYSCALL_TYPES): Likewise.
28168 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28169 (LOAD_REGS_TYPES_[1-6]): Likewise.
28170 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28171 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28172
45470df3
AZ
281732012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28174
28175 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28176 copysignl for GLIBC_2_0.
28177 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28178 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28180 logbl for GLIBC_2_0.
28181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28182 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28183
98a61bcb
L
281842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28185
a4f6e481
L
28186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28187 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28188
f63d5db6
L
28189 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28190 Use "neg %eax".
28191
98a61bcb
L
28192 * time/mktime.c: Update copyright years.
28193
95770f14
PE
281942012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28195
6226efbd
PE
28196 mktime: merge comment-quoting-style change from gnulib
28197 * time/mktime.c: Quote 'like this' in comments.
28198 The GNU coding standards suggest that we no longer quote `like this',
28199 as "`" and "'" are typically rendered asymmetrically nowadays.
28200 The typical gnulib style is to quote 'like this' when quoting
28201 code, and "like this" when quoting English.
28202
b99e4f78
PE
28203 * time/mktime.c (compile-command): Add "-I.".
28204
643e01e6
PE
28205 mktime: merge mktime-internal.h change from gnulib
28206 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28207
2554247d
PE
28208 mktime: merge time_r change from gnulib
28209 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28210
826dd0ab
PE
28211 mktime: merge DEBUG change from gnulib
28212 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28213 case system <time.h> has a #define.
28214
bd83aabe
PE
28215 mktime: merge <sys/types.h> change from gnulib
28216 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28217 since <time.t> is now guaranteed to define time_t.
28218
95770f14
PE
28219 mktime: merge HAVE_CONFIG_H change from gnulib
28220 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28221
5e1a27a9
L
282222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28223
0e44a77e
L
28224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28225 Use "neg %eax".
28226
5e1a27a9
L
28227 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28228 __rlim_t cast.
28229 (struct rusage): Use anonymous union to pad each field to
28230 __syscall_slong_t.
28231
46259bec
DM
282322012-05-21 David S. Miller <davem@davemloft.net>
28233
28234 * Makefules (o-iterator): Remove .s cases.
28235 (compile-command.s): Delete.
28236 (COMPILE.s): Delete.
28237 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28238
59f0c22e
JM
282392012-05-21 Joseph Myers <joseph@codesourcery.com>
28240
28241 * configure.in (libc_cv_predef_stack_protector): Only consider
28242 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28243 * configure: Regenerated.
28244
20c07380
L
282452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28246
bbb3154b
L
28247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28248 New macro. Use R*LP on int and pointer.
28249 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28250 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28251 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28252 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28253
20c07380
L
28254 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28255 [__WORDSIZE_TIME64_COMPAT32] instead of
28256 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28257 (struct utmp): Likewise.
28258 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28259 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28260 Renamed to ...
28261 (__WORDSIZE_TIME64_COMPAT32): This.
28262 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28263 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28264 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28265 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28266 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28267 (__WORDSIZE_TIME64_COMPAT32): New macro.
28268
d8d1017e
AJ
282692012-05-21 Andreas Jaeger <aj@suse.de>
28270
28271 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28272 only if [SHARED]. Add prototype for __wcschr_ia32.
28273
6c7fb145
RM
282742012-05-21 Roland McGrath <roland@hack.frob.com>
28275
28276 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28277 of %rbp unmolested in the jmp_buf while mangling the low bits.
28278 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28279 unmolested high bits of %rbp while demangling the low bits.
28280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28281
66274218
AJ
282822012-05-21 Andreas Jaeger <aj@suse.de>
28283
07c58f8f
AJ
28284 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28285 * sunrpc/svc_simple.c: Use it for registerrpc.
28286 * sunrpc/xcrypt.c: Use it for passwd2des.
28287
66274218
AJ
28288 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28289
61f65140
L
282902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28291
28292 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28293 Don't define if [__SYSCALL_WORDSIZE != 32].
28294 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28295 New macro.
28296
5fefb436
AJ
282972012-05-21 Bruno Haible <bruno@clisp.org>
28298 Andreas Jaeger <aj@suse.de>
28299
28300 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28301 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28302 inptr and inend for must_buffer_ch.
28303 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28304 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28305 * stdio-common/Makefile (tests): Remove bug15.
28306 (bug15-ENV): Remove macro.
28307 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28308 anymore.
28309
d8e272ab
AJ
283102012-05-19 Andreas Jaeger <aj@suse.de>
28311 Roland McGrath <roland@hack.frob.com>
28312
28313 * manual/contrib.texi: Completely rewritten. It contains now an
28314 alphabetical list of contributors and their contributions.
28315
4a56a162
RH
283162012-05-21 Richard Henderson <rth@twiddle.net>
28317
28318 * misc/getauxval.c (__getauxval): Use unsigned long int.
28319 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28320 (getauxval): Use unsigned long int.
28321
d024d23c
L
283222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28323
28324 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28325
cbc00a03
RM
283262012-05-21 Roland McGrath <roland@hack.frob.com>
28327
28328 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28329 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28330 __alignof__ (long double).
28331
478143fa
AZ
283322012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28333
28334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28335
c7683a6d
RH
283362012-05-20 Richard Henderson <rth@twiddle.net>
28337
28338 * misc/getauxval.c: New file.
28339 * misc/sys/auxv.h: New file.
28340 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28341 (routines): Add getauxval.
28342 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28343 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28344 * elf/dl-sysdep.c (_dl_auxv): Remove.
28345 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28346 * elf/dl-support.c (_dl_auxv): New variable.
28347 (_dl_aux_init): Initialize it.
28348 * manual/startup.texi (Auxiliary Vector): New node.
28349 * sysdeps/generic/bits/hwcap.h: New file.
28350 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28351 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28352 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28353 * sysdeps/sparc/sysdep.h: ... here. Include it.
28354 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28355 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28357 Update.
c7683a6d
RH
28358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28366
a6f1845d
AZ
283672012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28368
28369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28370
cbcbe830
DM
283712012-05-19 David S. Miller <davem@davemloft.net>
28372
28373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28374
e0b16cc2
JM
283752012-05-19 Joseph Myers <joseph@codesourcery.com>
28376
28377 [BZ #14123]
28378 * math/s_ccosh.c: Include <float.h>
28379 (__ccosh): Avoid internal overflow calculating sinh and cosh
28380 values before multiplying by sin and cos values.
28381 * math/s_ccoshf.c: Likewise.
28382 * math/s_ccoshl.c: Likewise.
28383 * math/s_csin.c: Likewise.
28384 * math/s_csinf.c: Likewise.
28385 * math/s_csinl.c: Likewise.
28386 * math/s_csinh.c: Likewise.
28387 * math/s_csinhf.c: Likewise.
28388 * math/s_csinhl.c: Likewise.
28389 * math/libm-test.inc (ccos_test): Add more tests.
28390 (ccosh_test): Likewise.
28391 (csin_test): Likewise.
28392 (csinh_test): Likewise.
28393 * sysdeps/i386/fpu/libm-test-ulps: Update.
28394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28395
6ad13e08
L
283962012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28397
f66f0ce8
L
28398 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28399 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28400
6ad13e08
L
28401 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28402
b1d072a7
JM
284032012-05-19 Joseph Myers <joseph@codesourcery.com>
28404
28405 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28406 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28407 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28408 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28409 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28410 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28411 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28412 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28413 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28414 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28415 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28416 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28417 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28418 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28419 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28420 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28421 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28422 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28423 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28424 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28425 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28426 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28427 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28428 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28429 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28430 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28431 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28432 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28433 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28434 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28435 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28436
9eae47cb
AJ
284372012-05-18 Andreas Jaeger <aj@suse.de>
28438
28439 * csu/.gitignore: Delete.
28440
bb07f69f
L
284412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28442
28443 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28444 (timex): Use __syscall_slong_t.
28445
e6bdb741
AJ
284462012-05-18 Andreas Jaeger <aj@suse.de>
28447 Carlos O'Donell <carlos_odonell@mentor.com>
28448
28449 * manual/install.texi (Configuring and compiling): Update
28450 description about files modified in the source directory.
d6c33fda 28451 * INSTALL: Regenerated.
e6bdb741 28452
1b74487e
L
284532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28456 value. Use "or" to set return value to -1.
28457 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28458 negate return value.
28459
a88b64b9
TMQMF
284602012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28461
28462 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28463 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28464 failure if the compiler has Graphite support disabled.
28465 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28466 Likewise.
28467 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28468 CFLAGS-memmove.c): Likewise.
28469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28470 Likewise.
28471
3707636e
L
284722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28473
610b8622
L
28474 * sysdeps/x86_64/x32/_itoa.h: New file.
28475
7cd195df
L
28476 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28477 getdents system call only if kernel and user dirents have the
28478 same d_ino and d_off.
28479
94b07d20
L
28480 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28481 LLONG_MAX != LONG_MAX.
28482 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28483 (_fitoa_word): Likewise.
28484
18298070
L
28485 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28486 years.
28487 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28488 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28489 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28490
553c7ea4
L
28491 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28492 include <bits/wordsize.h>. Check __x86_64__ instead of
28493 __WORDSIZE.
28494 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28495 if __x86_64__ is defined. Use anonymous union on fpstate.
28496
3707636e
L
28497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28498 anonymous union.
28499
b53ef01a
AS
285002012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28501
37fb1dc0
AS
28502 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28503 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28504 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28505 Refer to _rtld_local_ro instead of _rtld_global_ro.
28506 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28507 Likewise.
28508 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28509 Likewise.
28510 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28511 Likewise.
28512 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28513 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28514 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28515
b53ef01a
AS
28516 * sysdeps/powerpc/powerpc32/dl-machine.c
28517 (__elf_machine_runtime_setup) [PROF]: Don't reference
28518 _dl_prof_resolve.
28519
7a185db2
AJ
285202012-05-18 Andreas Jaeger <aj@suse.de>
28521
28522 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28523 function only available for GCCs before 3.4 since GCC 3.4
28524 introduced a builtin.
28525 (lrint): Likewise.
28526 (llrintf): Likewise.
28527 (llrint): Likewise.
28528 (fmaxf): Likewise.
28529 (fmax): Likewise.
28530 (fminf): Likewise.
28531 (fmin): Likewise.
28532 (rint): Likewise.
28533 (rintf): Likewise.
28534 (nearbyint): Likewise.
28535 (nearbyintf): Likewise.
28536 (ceil): Likewise.
28537 (ceilf): Likewise.
28538 (floor): Likewise.
28539 (floorf): Likewise.
28540
3e5aef87
L
285412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28542
428bd707
L
28543 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28544 on both fields and cast pointer to __syscall_ulong_t.
28545
3e5aef87
L
28546 * bits/types.h (__fsword_t): New type.
28547 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28548 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28550 (__FSWORD_T_TYPE): Likewise.
28551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28552 (__FSWORD_T_TYPE): Likewise.
28553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28554 (__FSWORD_T_TYPE): Likewise.
28555 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28556 (__FSWORD_T_TYPE): Likewise.
28557 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28558 __SWORD_TYPE with __fsword_t.
28559 (statfs64): Likewise.
28560
1ba7c3dc
DM
285612012-05-17 David S. Miller <davem@davemloft.net>
28562
28563 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28564
59910343
AJ
285652012-05-17 Andreas Jaeger <aj@suse.de>
28566
28567 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28568 warning.
28569
2e4c1e9e
L
285702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28571
28572 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28573
de7f5ce7
AJ
285742012-05-17 Andreas Jaeger <aj@suse.de>
28575
28576 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28577 when it is used.
28578
286abc3d
CM
285792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28580
28581 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28582
477cc68e
L
285832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28584
28585 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28586 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28587
1a0994f5
CD
285882012-05-17 Andreas Jaeger <aj@suse.de>
28589 Carlos O'Donell <carlos_odonell@mentor.com>
28590
28591 [BZ #14059]
28592 * sysdeps/x86_64/multiarch/init-arch.h
28593 (bit_YMM_Usable): Rename to...
28594 (bit_AVX_Usable): ... this.
28595 (bit_FMA4_Usable): New macro.
28596 (bit_XMM_state): New macro.
28597 (bit_YMM_state): New macro.
28598 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28599 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28600 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28601 (CPUID_OSXSAVE): New macro.
28602 (CPUID_AVX): New macro.
28603 (CPUID_FMA4): New macro.
28604 (index_YMM_Usable): Rename to...
28605 (index_AVX_Usable): ... this.
28606 (HAS_AVX): Use HAS_ARCH_FEATURE.
28607 (HAS_FMA4): Likewise.
28608 (HAS_YMM_USABLE): Remove.
28609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28610 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28611 are present.
28612 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28613 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28614 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28615 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28616 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28617
0af797de
CM
286182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28619
28620 * math/libm-test.c: Support platforms without multiple rounding modes.
28621 * math/bug-nextafter.c: Support platforms without FP exceptions.
28622 * math/bug-nexttoward.c: Likewise.
28623 * math/test-fenv.c: Likewise.
28624 * math/test-misc.c: Likewise.
28625 * stdlib/bug-getcontext.c: Likewise.
28626
e39745ff
AJ
286272012-05-17 Andreas Jaeger <aj@suse.de>
28628
28629 * manual/examples/search.c (critter_cmp): Change signature to
28630 avoid warnings.
28631 * manual/string.texi (Collation Functions): Likewise.
28632
48970aba
L
286332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28634
28635 * bits/types.h: Fold copyright years.
28636 * bits/typesizes.h: Likewise.
28637 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28641 * time/time.h: Likewise.
28642
bedee953
PP
286432012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28644
28645 [BZ #208]
28646 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28647 in instead of returning them. Return void.
28648 (__libc_mallinfo): Accumulate over all arenas.
28649 (__malloc_stats): Adjust for change in int_mallinfo interface.
28650
61653dfb
RM
286512012-05-16 Roland McGrath <roland@hack.frob.com>
28652
30b99d79
RM
28653 [BZ #10375]
28654 * configure.in (NM): Add AC_CHECK_TOOL for it.
28655 (libc_extra_cflags): New substituted variable.
28656 Check for -fstack-protector being used implicitly.
28657 * configure: Regenerated.
28658 * config.make.in (config-extra-cflags): New variable,
28659 gets @libc_extra_cflags@.
28660 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28661
61653dfb
RM
28662 [BZ #10375]
28663 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28664 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28665 * configure: Regenerated.
28666 * config.make.in (CPPUNDEFS): New substituted variable.
28667 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28668 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28669 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28670
661768bb
L
286712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28672
28673 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28674 (mq_attr): Use __syscall_slong_t.
28675
d4261567
L
286762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28677
28678 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28679 Check __x86_64__ instead of __WORDSIZE.
28680 (_STAT_VER_LINUX): Likewise.
28681 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28682 __syscall_ulong_t and __syscall_slong_t.
28683 (stat64): Likewise.
28684
cf3ff365
L
286852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28686
28687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28688
76cf3e4d
L
286892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28690
28691 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28692
a637753a
L
286932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28694
28695 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28696 __syscall_ulong_t.
28697
d5e05119
L
28698 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28699 include <bits/wordsize.h>. Check __x86_64__ instead of
28700 __WORDSIZE.
28701 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28702 defined.
28703 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28704
f62ee380
L
28705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28706 include <bits/wordsize.h>. Check __x86_64__ instead of
28707 __WORDSIZE.
28708 (user_regs_struct): Use "__extension__ unsigned long long"
28709 instead of "unsigned long" if __x86_64__ is defined.
28710 (user): Likewise. Pad after pointer field if __ILP32__ is
28711 defined.
28712
4e124ced
JM
287132012-05-16 Joseph Myers <joseph@codesourcery.com>
28714
6a3951a0
JM
28715 * configure.in (makeinfo): Require version 4.5 or later. Allow
28716 versions 5 to 9.
28717 * configure: Regenerated.
28718 * manual/install.texi (texinfo): Increase version requirement to
28719 4.5 or later.
28720 * INSTALL: Regenerated.
28721
4e124ced
JM
28722 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28723
953ca31a
L
287242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28725
28726 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28727
617aca05
L
28728 * sysdeps/x86_64/x32/ffs.c: New file.
28729
5762f7ae
L
28730 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28731 __syscall_ulong_t.
28732 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28733 defined. Use __syscall_ulong_t.
28734 (shminfo): Use __syscall_ulong_t.
28735 (shm_info): Likewise.
28736
a26b6856
L
28737 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28738 __syscall_ulong_t.
28739
cb2b9ef7
L
28740 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28741 <bits/wordsize.h>.
28742 (msgqnum_t): Use __syscall_ulong_t.
28743 (msglen_t): Likewise.
28744 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28745 __syscall_ulong_t.
28746
34683bb0
L
28747 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28748 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28749
84a68786
L
28750 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28751
48baa5f1
L
28752 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28753 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28754
180be88b
L
28755 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28756 __syscall_slong_t.
28757
5e90c8ad
L
28758 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28759 include <bits/wordsize.h>. Check __x86_64__ instead of
28760 __WORDSIZE.
28761
23dfb58b
L
28762 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28763 "unsigned long long int" if __x86_64__ is defined.
28764 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28765
ce5d54b0
L
28766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28767 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28768 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28769
13dc9eac
L
28770 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28771 <stdint.h>.
28772 (GET_PC): Cast to uintptr_t first.
28773 (GET_FRAME): Likewise.
28774 (GET_STACK): Likewise.
28775
a7895d15
L
28776 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28777 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28778 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28779 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28780 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28781 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28783 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28784 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28788 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28791 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28792 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28795 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28796 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28797 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28798 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28799 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28800 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28801 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28802 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28803 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28804 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28805
656416c9
AS
288062012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28807
5bd66283
AS
28808 * Makerules (+depfiles): Also collect depfiles from .oS in
28809 $(extra-objs).
28810 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28811 .oS, $(libnldbl-routines)).
28812
656416c9
AS
28813 * Makerules (native-compile-mkdep-flags): Define.
28814 * sunrpc/Makefile (extra-objs): Add $(addprefix
28815 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28816 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28817 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28818 calling $(make-target-directory).
28819
a46f2169
L
288202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28821
28822 * bits/types.h (__snseconds_t): Removed.
28823 * time/time.h (struct timespec): Replace __snseconds_t with
28824 __syscall_slong_t.
28825 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28826 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28827 Likewise.
28828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28829 (__SNSECONDS_T_TYPE): Likewise.
28830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28831 (__SNSECONDS_T_TYPE): Likewise.
28832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28833 (__SNSECONDS_T_TYPE): Likewise.
28834
6af6528b
L
288352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28836
28837 * sysdeps/mach/hurd/bits/typesizes.h
28838 (__SYSCALL_SLONG_TYPE): New macro.
28839 (__SYSCALL_ULONG_TYPE): Likewise.
28840
de986b56
L
288412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28842
28843 * bits/types.h (__syscall_slong_t): New type.
28844 (__syscall_ulong_t): Likewise.
28845
28846 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28847 (__SYSCALL_ULONG_TYPE): Likewise.
28848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28849 (__SYSCALL_SLONG_TYPE): Likewise.
28850 (__SYSCALL_ULONG_TYPE): Likewise.
28851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28852 (__SYSCALL_SLONG_TYPE): Likewise.
28853 (__SYSCALL_ULONG_TYPE): Likewise.
28854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28855 (__SYSCALL_SLONG_TYPE): Likewise.
28856 (__SYSCALL_ULONG_TYPE): Likewise.
28857
85736dc7
L
288582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28859
28860 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28861 Add sigaltstack-offsets.sym.
28862 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28863 <sigaltstack-offsets.h>.
28864 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28865 longjmp_msg pointer.
28866 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28867 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28868 signal stack.
28869 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28870
cc03b296
JM
288712012-05-15 Joseph Myers <joseph@codesourcery.com>
28872
a9538892
JM
28873 * elf/stackguard-macros.h: Remove file.
28874 * sysdeps/generic/stackguard-macros.h: New file.
28875 * sysdeps/i386/stackguard-macros.h: Likewise.
28876 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28877 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28878 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28879 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28880 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28881 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28882 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28883 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28884 <elf/stackguard-macros.h>.
28885
cc03b296
JM
28886 [BZ #14109]
28887 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28888 __aligned__ in attribute.
28889 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28890 (gregset_t): Likewise.
28891
93171016
L
288922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28893
28894 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28895 * sysdeps/x86_64/64/Implies-after: Here. New file.
28896 * sysdeps/x86_64/x32/Implies-after: New file.
28897
d86813a0
L
288982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28899
28900 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28901 and access return value for _dl_profile_fixup. Use R10_LP to
28902 load frame size.
28903
2953ec75
L
289042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28907
3b550e9e
L
289082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28909
28910 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28911 * sysdeps/x86_64/x32/sysdep.h: New file.
28912
eda41706
L
289132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28914
28915 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28916 * sysdeps/x86_64/setjmp.S: Likewise.
28917
9ea01d93
AZ
289182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28919
28920 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28921 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28922 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28923 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28924 remove unused global constant.
28925
02a91938
CM
289262012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28927
28928 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28929 include of <not-cancel.h>.
28930
6540185f
RM
289312012-05-15 Roland McGrath <roland@hack.frob.com>
28932
28933 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28934
509072a0
AJ
289352012-05-15 Jeff Law <law@redhat.com>
28936 Andreas Jaeger <aj@suse.de>
28937
28938 [BZ #13594]
28939 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28940 out from...
28941 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28942 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28943 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28944 code changing __hst_map_handle.map.
28945
ba75122d
RM
289462012-05-15 Roland McGrath <roland@hack.frob.com>
28947
28948 * configure.in (sysnames): Look for Implies-before and Implies-after
28949 files.
28950 * configure: Regenerated.
28951
890d8bd8
L
289522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28953
28954 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28955 8-byte data alignment with LP_SIZE alignment.
28956
f6ee6623
L
289572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28958
28959 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28960 into R10_LP.
28961
ea2626f6
L
289622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28963
28964 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28965
085f715e
L
289662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28967
28968 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28969 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28971 Likewise.
28972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28973
be8498fc
L
289742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28975
28976 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28977 (stackinfo_sub_sp): Likewise.
28978
70bc83b9
L
289792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28980
28981 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28982 RAX_LP.
28983
9bc0b730
L
289842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28985
28986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28987 into R*_LP.
28988
6d2850e7
L
289892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28992 sizes into R*_LP.
28993
3cb84561
L
289942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28995
28996 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28997
54e2ed81
L
289982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28999
29000 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29001 into R11_LP and load __x86_64_shared_cache_size_half into
29002 R8_LP.
29003
8a17f349
L
290042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29005
29006 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29007 R8_LP.
29008
777b1eea
AZ
290092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29010
29011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29012 logb for POWER7.
29013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29014 logbf for POWER7.
29015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29016 logbl for POWER7.
29017 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29018 powerpc32/power7/fpu/s_logb.c via #include.
29019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29020 powerpc32/power7/fpu/s_logbf.c via #include.
29021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29022 powerpc32/power7/fpu/s_logbl.c via #include.
29023
d20d4ac2
JM
290242012-05-15 Joseph Myers <joseph@codesourcery.com>
29025
29026 * README.libm: Remove file.
29027
6cdef1ab
L
290282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29029
29030 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29031 count for x32. Use R*_LP and omit operand-size suffix.
29032
0b254d8f
L
290332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29034
29035 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29036 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29037 * sysdeps/x86_64/x32/shlib-versions: New file.
29038
ceb809dc
RM
290392012-05-14 Roland McGrath <roland@hack.frob.com>
29040
29041 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29042 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29043 Use _dl_fatal_printf instead.
29044
37f1abd4
JM
290452012-05-14 Joseph Myers <joseph@codesourcery.com>
29046
29047 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29048 set if not set by the user. Do not allow for being unset.
29049 * sysdeps/unix/sysv/linux/configure: Regenerated.
29050
11de3a33
L
290512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29052
29053 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29054 the `q' suffix from lea and replace .quad with ASM_ADDR.
29055
e02f153a
L
290562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29057
29058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29059 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29060 instead of $17.
29061 (PTR_DEMANGLE): Likewise.
29062
520ae0fd
L
290632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29066 (LP_OP): Likewise.
29067 (ASM_ADDR): Likewise.
29068 (RAX_LP): Likewise.
29069 (RBP_LP): Likewise.
29070 (RBX_LP): Likewise.
29071 (RCX_LP): Likewise.
29072 (RDI_LP): Likewise.
29073 (RSI_LP): Likewise.
29074 (RSP_LP): Likewise.
29075 (R8_LP): Likewise.
29076 (R9_LP): Likewise.
29077 (R10_LP): Likewise.
29078 (R10_LP): Likewise.
29079 (R11_LP): Likewise.
29080 (R12_LP): Likewise.
29081 (R13_LP): Likewise.
29082 (R14_LP): Likewise.
29083 (R15_LP): Likewise.
29084
b985be81
L
290852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29086
29087 * sysdeps/x86_64/x32/dl-machine.h: New file.
29088
6a4888ff
AJ
290892012-05-14 Andreas Jaeger <aj@suse.de>
29090
29091 * manual/Makefile (subdir): Remove export of subdir.
29092 (all): Remove target.
29093 (.PHONY): Remove all from list.
29094 (mkinstalldirs): Remove.
29095 (.PHONY): Remove installdirs from list.
29096 ($(inst_infodir)/libc.info): Use make-target-directory.
29097 (installdirs): Remove.
29098 (subdir_%): Remove.
29099 (glibc-targets): Remove.
29100 (lib): Remove.
29101 (stubs): Remove.
29102 ($(objpfx)stubs ../po/manual.pot): Remove.
29103 ($(objpfx)stamp%): Remove.
29104 (make-target-directory): Remove.
29105 (subdir_install): Remove.
29106 (routines): Remove.
29107 (aux): Remove.
29108 (sources): Remove.
29109 (objects): Remove.
29110 (headers): Remove.
29111
29112 [BZ #13750]
29113 * manual/.gitignore: Remove, it's not needed anymore.
29114 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29115 all files in it.
29116 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29117 directory.
29118 (texis): Renamed to $(objpfx)texis.
29119 (texis-path): New, contains path to generated files.
29120 (chapters.%): Use texis-path for complete path, add extra argument
29121 libc-texinfo.sh.
29122 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29123 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29124 (summary,texi, stamp-summary): Use complete path of
29125 files. Generate files in build dir.
29126 (dir-add.texi): Build in build dir.
29127 (libm-err.texi,stamp-libm-err): Likewise.
29128 (version.texi, stamp-version): Likewise.
29129 (.%c.texi): Likewise.
29130 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29131 (mostlyclean): Remove target.
29132 (realclean): Remove target.
29133 (generated): Add new variable with contents from mostlyclean and
29134 realclean, remove entries duplicated in common-mostlyclean, add
29135 stamp-libm-err and stamp-version.
29136 (generated-dirs): Add libc directory.
29137 ($(inst_infodir)/libc.info): Install files from build dir.
29138
29139 * manual/install.texi (Configuring and compiling): Adjust since
29140 the info files are not part of the tar ball anymore.
29141
7ac77294
AJ
291422012-05-14 Andreas Jaeger <aj@suse.de>
29143
29144 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29145 variable.
29146
ffb7875d
JM
291472012-05-14 Joseph Myers <joseph@codesourcery.com>
29148
29149 [BZ #13717]
29150 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29151 to 2.2.0 where earlier.
29152 * sysdeps/unix/sysv/linux/configure: Regenerated.
29153 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29154 Remove conditional code.
29155 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29156 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29157 Remove conditional code.
29158 [!__NR_lchown]: Likewise.
29159 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29160 [__NR_lchown]: Likewise.
29161 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29162 comment referencing __ASSUME_LCHOWN_SYSCALL.
29163 * sysdeps/unix/sysv/linux/i386/sigaction.c
29164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29166 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29167 Remove conditional code.
29168 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29169 (__protocol_available): Remove #if 0 code.
29170 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29171 conditional code.
29172 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29173 * sysdeps/unix/sysv/linux/kernel-features.h
29174 (__ASSUME_GETCWD_SYSCALL): Don't define.
29175 (__ASSUME_REALTIME_SIGNALS): Likewise.
29176 (__ASSUME_PREAD_SYSCALL): Likewise.
29177 (__ASSUME_PWRITE_SYSCALL): Likewise.
29178 (__ASSUME_POLL_SYSCALL): Likewise.
29179 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29180 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29181 non-SPARC.
29182 (__ASSUME_SIOCGIFNAME): Don't define.
29183 (__ASSUME_MSG_NOSIGNAL): Likewise.
29184 (__ASSUME_SENDFILE): Define unconditionally.
29185 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29186 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29187 conditional code.
29188 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29189 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29190 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29191 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29192 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29193 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29194 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29196 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29199 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29205 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29211 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29219 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29220 Remove conditional code.
29221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29222 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29223 Remove conditional code.
29224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29225 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29226 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29227 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29228 Remove conditional code.
29229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29230 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29231 Remove conditional code.
29232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29233 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29234 Remove conditional code.
29235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29236 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29237 Remove conditional code.
29238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29239 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29240 Remove conditional code.
29241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29242 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29243 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29245 * sysdeps/unix/sysv/linux/sigaction.c
29246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29248 * sysdeps/unix/sysv/linux/sigpending.c
29249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29251 * sysdeps/unix/sysv/linux/sigprocmask.c
29252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29254 * sysdeps/unix/sysv/linux/sigsuspend.c
29255 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29256 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29257 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29258 (__libc_missing_rt_sigs): Remove.
29259 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29260 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29261 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29262 Remove conditional code.
29263 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29264 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29265 return 1.
29266 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29267 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29268 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29269 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29270
1bfb7291
AJ
292712012-05-14 Andreas Jaeger <aj@suse.de>
29272
caae5a81
AJ
29273 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29274 it's not used in glibc.
29275 (__coshm1): Likewise.
29276 (__acosh1p): Likewise.
29277 (__sgn): Likewise.
29278
1bfb7291
AJ
29279 * manual/string.texi (Copying and Concatenation): Add missing
29280 variable in concat example.
29281 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29282
c044d724
L
292832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29284
144c5467 29285 [BZ #14103]
c044d724
L
29286 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29287 __builtin_clzl with __builtin_clzll.
29288
2523c62b
L
292892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29290
29291 [BZ #14104]
29292 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29293 libc_freeres_ptr.
29294
d7bb4c42
LD
292952012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29296
29297 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29298 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29299 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29300 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29301
9dc4e1fb
MF
293022012-05-14 Mike Frysinger <vapier@gentoo.org>
29303
29304 * NEWS: Update ia64 info.
29305
c7df0112
AS
293062012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29307
29308 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29309 used as bcopy.
29310
dc70356c
TS
293112012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29312
29313 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29314 * sysdeps/unix/syscalls.list (dup3): Likewise.
29315 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29316 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29317
9fb1a21f
L
293182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29319
29320 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29321 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29322
4822a2a5
L
293232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29324
29325 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29326 thread pointer.
29327 (TLS_IE): Use mov/add instead of movq/addq to load thread
29328 pointer.
29329 (TLS_GD_PREFIX): New.
29330 (TLS_GD): Use it.
29331
842b81d6
DM
293322012-05-11 David S. Miller <davem@davemloft.net>
29333
29334 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29335 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29336 (_FPU_SETCW): Likewise.
29337
1cf463cd
L
293382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29341 is 32-byte aligned.
29342
60cc4a18
AS
293432012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29344
29345 [BZ #11837]
29346 * iconvdata/gb18030.c: Update tables.
29347 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29348 characters specially.
29349 (BODY for TO_LOOP): Add encoding of missing ranges.
29350
febb44a4
TS
293512012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29352
29353 [BZ #13673]
29354 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29355 * sysdeps/mach/hurd/dup3.c: Likewise.
29356 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29357 * sysdeps/powerpc/memmove.c:: Likewise.
29358
0a10fb9e
L
293592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29360
29361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29362 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29363
df8a552f
L
293642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29365
29366 * elf/elf.h (R_X86_64_RELATIVE64): New.
29367 (R_X86_64_NUM): Updated.
29368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29369 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29370 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29371 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29372 tst-quad1pie tst-quad2pie
29373 (modules-names): Add tst-quadmod1 tst-quadmod2.
29374 ($(objpfx)tst-quad1): New dependency.
29375 ($(objpfx)tst-quad2): Likewise.
29376 ($(objpfx)tst-quad1pie): Likewise.
29377 ($(objpfx)tst-quad2pie): Likewise.
29378 * sysdeps/x86_64/tst-quad1.c: New file.
29379 * sysdeps/x86_64/tst-quad1pie.c: New file.
29380 * sysdeps/x86_64/tst-quad2.c: Likewise.
29381 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29382 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29383 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29384 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29385 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29386
f34d6f84
ST
293872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29388
f42d41d1
ST
29389 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29390 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29391 * streams/stropts.h (t_scalar_t): Define type.
29392
3c3571fc
ST
29393 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29394 (_PATH_PRESERVE): Set to "/var/lib".
29395 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29396
61f06bd3
ST
29397 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29398 instead of int.
29399
918d4d71
ST
29400 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29401 if __dir_mkfile succeeded.
29402
f34d6f84
ST
29403 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29404 checking for _hurd_dtablesize. Unlock it right after having
29405 finished _hurd_dtable allocation.
29406
10589b4a
TS
294072012-05-10 Thomas Schwinge <thomas@schwinge.name>
29408
674cdbc7
TS
29409 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29410 * sysdeps/mach/hurd/configure: Regenerated.
29411 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29412 special-casing to...
29413 * sysdeps/gnu/configure.in: ... this new file.
29414 * sysdeps/unix/sysv/linux/configure: Regenerated.
29415 * sysdeps/gnu/configure: New generated file.
29416
8e41b99f
TS
29417 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29418 for Linux: use nsec instead of usec, as well as:
29419 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29420 members of type struct timespec.
29421 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29422 New macros.
29423 (struct stat64): Likewise.
29424 (_STATBUF_ST_NSEC): New macro.
29425 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29426
10589b4a
TS
29427 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29428 __strtoul_internal rather than strtoul.
29429
63643c85
PT
294302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29431
29432 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29433 and reject them.
29434
3faebe6a
ST
294352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29436
29437 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29438 which preserves existing values.
29439 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29440
c6474b07
PT
294412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29442
29443 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29444 TIMEOUT values. Return EINVAL for NFDS values either negative or
29445 greater than FD_SETSIZE.
29446
1043890b
ST
294472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29448
29449 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29450 allocated, call __vm_protect to finish enabling the existing space, and
29451 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29452 allocate the remainder.
29453
37ed8b9b
PT
294542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29455
29456 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29457 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29458
db653660
ST
294592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29460
37ed8b9b
PT
29461 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29462 sysdeps/mach/hurd/readlink.c.
b29d4053 29463
db653660
ST
29464 * posix/tst-sysconf.c (posix_options): Only use
29465 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29466 _POSIX_SYNCHRONIZED_IO when they are defined
29467 * sysdeps/mach/hurd/bits/posix_opt.h:
29468 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29469 (_XOPEN_REALTIME): Undefine macro.
29470 (_XOPEN_REALTIME_THREADS): Undefine macro.
29471 (_XOPEN_SHM): Undefine macro.
29472 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29473 macro to -1.
29474 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29475 macro to -1.
29476 (_POSIX_ASYNC_IO): Undefine macro.
29477 (_POSIX_PRIORITIZED_IO): Undefine macro.
29478 (_POSIX_SPIN_LOCKS): Define macro to -1.
29479
ee16e894
ST
29480 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29481 SA_NODEFER, SA_RESETHAND.
29482 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29483 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29484 F_DUPFD_CLOEXEC.
29485
6103ae3b
TS
294862012-05-10 Thomas Schwinge <thomas@schwinge.name>
29487
29488 * elf/Makefile (pldd-modules): Define unconditionally.
29489
80b4e5f3
TS
294902012-05-10 Thomas Schwinge <thomas@schwinge.name>
29491
29492 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29493
edadcbd6
ST
294942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29495
29496 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29497 Return ENOENT when name is empty.
29498 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29499
80694780
TS
295002012-05-10 Thomas Schwinge <thomas@schwinge.name>
29501
1792c087
TS
29502 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29503
80694780
TS
29504 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29505
6b645f0d
ST
295062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29507
80694780
TS
29508 Fix mlock in all cases except non-readable pages.
29509 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29510 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29511
6b645f0d
ST
29512 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29513 (__mkdir): When path is `/', just fail with EEXIST.
29514 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29515
e468f8a3
TS
295162012-05-10 Thomas Schwinge <thomas@schwinge.name>
29517
29518 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29519 <sys/uio.h> (for writev).
29520 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29521 and <sys/param.h> (for MIN).
29522
a4186cff
PT
295232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29524
29525 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29526 REQUESTED_TIME. Properly set the remaining time and return EINTR
29527 if interrupted.
29528
510bbf14
TS
295292012-05-10 Thomas Schwinge <thomas@schwinge.name>
29530
29531 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29532 Depend on against $(link-rpcuserlibs).
29533
5d5722e8
ST
295342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29535
a4186cff
PT
29536 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29537 (__libc_stack_end): Do not use attribute_relro.
29538 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29539 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29540 to libthread-provided value.
a4186cff
PT
29541 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29542 attribute_relro.
5d5722e8 29543
37233df9
TS
295442012-05-10 Thomas Schwinge <thomas@schwinge.name>
29545
be971a2b
TS
29546 [BZ #3748]
29547 * bits/libc-lock.h (__libc_once_get): New macro.
29548 * sysdeps/mach/bits/libc-lock.h: Likewise.
29549 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29551 instead of using implementation details.
29552
37233df9
TS
29553 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29554 * libio/freopen.c: Likewise.
29555 * libio/freopen64.c: Likewise.
29556 * misc/syslog.c: Likewise.
29557 * nscd/connections.c: Likewise.
29558 * nscd/netgroupcache.c: Likewise.
29559 * sysdeps/posix/getcwd.c: Likewise.
29560
38de94a5
RM
295612012-05-10 Roland McGrath <roland@hack.frob.com>
29562
29563 * math/w_ilogbf.c: Add #include <limits.h>.
29564
67530489
ST
295652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29566
a4186cff 29567 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29568 path instead of returning without unlocking.
29569
67530489
ST
29570 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29571 immediate-write ioctls.
29572 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29573
5aa3a74a
TS
295742012-05-10 Thomas Schwinge <thomas@schwinge.name>
29575
18bad2ae
TS
29576 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29577 __builtin_frame_address instead of making assumptions about the
29578 location of the return address relative to DATA. Force early load of
29579 the return address.
29580 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29581 __builtin_frame_address.
29582
5aa3a74a
TS
29583 dup3 for GNU Hurd.
29584 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29585 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29586 implement dup3 and do some further code clean-ups.
29587 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29588 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29589
ecd0de9a
ST
295902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29591
cd9fa985
ST
29592 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29593
a4186cff
PT
29594 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29595 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29596 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29597 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29598 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29599 d->port.lock.
802ca5a5 29600
a4186cff
PT
29601 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29602 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29603 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29604
bcf55240
TS
296052012-05-10 Thomas Schwinge <thomas@schwinge.name>
29606
6960eb42
TS
29607 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29608 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29609 definitions.
29610
eb43375f
TS
29611 accept4 for GNU Hurd.
29612 * include/sys/socket.h (__libc_accept4): New prototype.
29613 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29614 to implement __libc_accept4.
29615 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29616 __libc_accept4.
29617 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29618
bcf55240
TS
29619 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29620 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29621 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29622 signal-defines.sym.
29623
6178c55b
ST
296242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29625
a4186cff 29626 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29627
6f080c2f
TS
296282012-05-10 Thomas Schwinge <thomas@schwinge.name>
29629
29630 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29631 assertion on O_CLOEXEC flag.
29632 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29633 * hurd/intern-fd.c: Likewise.
29634 * hurd/port2fd.c: Likewise.
29635
bcfe3a54
ST
296362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29637
29638 [BZ #3906]
29639 * bits/in.h (IPV6_PKTINFO): Define new macro.
29640 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29641
89c9aa49
AZ
296422012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29643
29644 [BZ #13954]
29645 [BZ #13955]
29646 [BZ #13956]
29647 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29649 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29650 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29652 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29653 * math/libm-test.inc (logb_test) : Additional logb tests.
29654
021db4be
AJ
296552012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29656 Andreas Jaeger <aj@suse.de>
29657
29658 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29659 * configure: Regenerated.
29660 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29661 * config.make.in (link-obsolete-rpc): New substituted variable.
29662 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29663 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29664 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29665 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29666 so that libc.a contains the symbols.
29667 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29668 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29669 * sunrpc/auth_none.c: Likewise.
29670 * sunrpc/auth_unix.c: Likewise.
29671 * sunrpc/authdes_prot.c: Likewise.
29672 * sunrpc/authuxprot.c: Likewise.
29673 * sunrpc/clnt_gen.c: Likewise.
29674 * sunrpc/clnt_perr.c: Likewise.
29675 * sunrpc/clnt_raw.c: Likewise.
29676 * sunrpc/clnt_simp.c: Likewise.
29677 * sunrpc/clnt_tcp.c: Likewise.
29678 * sunrpc/clnt_udp.c: Likewise.
29679 * sunrpc/clnt_unix.c: Likewise.
29680 * sunrpc/des_crypt.c: Likewise.
29681 * sunrpc/des_soft.c: Likewise.
29682 * sunrpc/get_myaddr.c: Likewise.
29683 * sunrpc/key_call.c: Likewise.
29684 * sunrpc/key_prot.c: Likewise.
29685 * sunrpc/netname.c: Likewise.
29686 * sunrpc/pm_getmaps.c: Likewise.
29687 * sunrpc/pm_getport.c: Likewise.
29688 * sunrpc/pmap_clnt.c: Likewise.
29689 * sunrpc/pmap_prot.c: Likewise.
29690 * sunrpc/pmap_prot2.c: Likewise.
29691 * sunrpc/pmap_rmt.c: Likewise.
29692 * sunrpc/publickey.c: Likewise.
29693 * sunrpc/rpc_cmsg.c: Likewise.
29694 * sunrpc/rpc_common.c: Likewise.
29695 * sunrpc/rpc_dtable.c: Likewise.
29696 * sunrpc/rpc_prot.c: Likewise.
29697 * sunrpc/rpc_thread.c: Likewise.
29698 * sunrpc/rtime.c: Likewise.
29699 * sunrpc/svc.c: Likewise.
29700 * sunrpc/svc_auth.c: Likewise.
29701 * sunrpc/svc_raw.c: Likewise.
29702 * sunrpc/svc_run.c: Likewise.
29703 * sunrpc/svc_tcp.c: Likewise.
29704 * sunrpc/svc_udp.c: Likewise.
29705 * sunrpc/svc_unix.c: Likewise.
29706 * sunrpc/svcauth_des.c: Likewise.
29707 * sunrpc/xcrypt.c: Likewise.
29708 * sunrpc/xdr.c: Likewise.
29709 * sunrpc/xdr_array.c: Likewise.
29710 * sunrpc/xdr_float.c: Likewise.
29711 * sunrpc/xdr_intXX_t.c: Likewise.
29712 * sunrpc/xdr_mem.c: Likewise.
29713 * sunrpc/xdr_rec.c: Likewise.
29714 * sunrpc/xdr_ref.c: Likewise.
29715 * sunrpc/xdr_sizeof.c: Likewise.
29716 * sunrpc/xdr_stdio.c: Likewise.
29717
b5c086a2
RM
297182012-05-10 Roland McGrath <roland@hack.frob.com>
29719
29720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29721 change. Update copyright years.
29722
6d74dd09
JM
297232012-05-10 Joseph Myers <joseph@codesourcery.com>
29724
29725 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29726
28e72501
MK
297272012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29728 Joseph Myers <joseph@codesourcery.com>
29729 Paul Pluzhnikov <ppluzhnikov@google.com>
29730
29731 [BZ #14012]
29732 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29733 requiring rpcgen.
29734 [cross-compiling] (extra-libs): Likewise.
29735 [cross-compiling] (extra-libs-others): Likewise.
29736 [cross-compiling] (librpcsvc-routines): Likewise.
29737 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29738 [cross-compiling] (omit-deps): Likewise.
29739 (sunrpc-CPPFLAGS): New variable.
29740 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29741 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29742 (cross-rpcgen-objs): New variable.
29743 (extra-objs): Append $(cross-rpcgen-objs).
29744 ($(cross-rpcgen-objs)): New rule.
29745 ($(objpfx)cross-rpcgen): Likewise.
29746 (rpcgen-cmd): Define to use $(built-program-file). Expand
29747 comment.
29748 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29749 ($(objpfx)x%.stmp): Likewise.
29750 * sunrpc/proto.h [IS_IN_build] (_): Define.
29751 [IS_IN_build] (_libc_intl_domainname): Likewise.
29752
c8c59454
L
297532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29754
29755 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29756 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29757 and R_X86_64_TPOFF64.
29758
6f27cd16
JM
297592012-05-10 Joseph Myers <joseph@codesourcery.com>
29760
29761 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29762 sysdeps/unix/sysv/syscalls.list.
29763 (stime): Likewise.
29764 (utime): Likewise.
29765 * sysdeps/unix/sysv/syscalls.list: Remove file.
29766
02467e1c
PE
297672012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29768
29769 [BZ #3440]
29770 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29771 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29772 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29773 (__LC_IDENTIFICATION): Make these macros useful in #if
29774 expressions, as required by C99.
29775
da392631
AS
297762012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29777
29778 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29779 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29780 after this.
29781
8115f29b
L
297822012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29783
29784 * stdlib/longlong.h: Updated from GCC.
29785
bdd74070
AJ
297862012-05-09 Andreas Jaeger <aj@suse.de>
29787
edfe0dbe
AJ
29788 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29789 default is first entry.
29790 (run_mode): Set type.
29791 (main): Remove informal message about syslog.
29792 (options): Fix typo.
29793
bcfe3a54
ST
29794 [BZ #14053]
29795 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29796 to asm.
bcfe3a54
ST
29797 (lrint): Likewise.
29798 (llrintf): Likewise.
29799 (llrint): Likewise.
29800 (rint): Likewise.
29801 (rintf): Likewise.
29802 (nearbyint): Likewise.
29803 (nearbyintf): Likewise.
bdd74070 29804
91d8d69e
AJ
298052012-05-09 Andreas Jaeger <aj@suse.de>
29806 Pedro Alves <palves@redhat.com>
29807
29808 * nscd/nscd.c (run_mode): Use enum.
29809 (main): Cleanup coding style issue.
29810
bb90b80b
AJ
298112012-05-09 Alexandre Oliva <aoliva@redhat.com>
29812 Andreas Jaeger <aj@suse.de>
29813
bcfe3a54
ST
29814 * nscd/nscd.c (go_background): Replaced with...
29815 (run_mode): ... this.
bb90b80b 29816 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29817 (options): Add -F --foreground.
29818 (main): Implement it.
29819 (parse_opt): Parse it.
bb90b80b 29820
1a4b75a1
AJ
298212012-05-09 Andreas Jaeger <aj@suse.de>
29822
29823 [BZ #14083]
29824 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29825 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29826 -Wconversion warning.
29827 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29828 Likewise.
29829
b1cc2472
JM
298302012-05-09 Joseph Myers <joseph@codesourcery.com>
29831
29832 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29833 == 0.
29834 (LC_ALL): Use macro-int-constant.
29835 (LC_COLLATE): Likewise.
29836 (LC_CTYPE): Likewise.
29837 (LC_MESSAGES): Likewise.
29838 (LC_MONETARY): Likewise.
29839 (LC_NUMERIC): Likewise.
29840 (LC_TIME): Likewise.
29841 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29842 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29844 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29845 Specify type.
29846 [C99-based standards] (float_t): Expect type.
29847 [C99-based standards] (double_t): Expect type.
29848 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29849 type.
29850 [C99-based standards] (HUGE_VALL): Likewise.
29851 [C99-based standards] (INFINITY): Likewise.
29852 [C99-based standards] (NAN): Likewise.
29853 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29854 [C99-based standards] (FP_NAN): Likewise.
29855 [C99-based standards] (FP_NORMAL): Likewise.
29856 [C99-based standards] (FP_SUBNORMAL): Likewise.
29857 [C99-based standards] (FP_ZERO): Likewise.
29858 [C99-based standards] (FP_FAST_FMA): Use
29859 optional-macro-int-constant. Specify type. Require == 1.
29860 [C99-based standards] (FP_FAST_FMAF): Likewise.
29861 [C99-based standards] (FP_FAST_FMAL): Likewise.
29862 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29863 [C99-based standards] (FP_ILOGBNAN): Likewise.
29864 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29865 Specify type.
29866 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29867 [C99-based standards] (math_errhandling): Specify type.
29868 [ISO99 || ISO11] (signgam): Do not allow.
29869 [non-C99-based standards] (copysignf): Do not allow.
29870 [non-C99-based standards] (exp2f): Likewise.
29871 [non-C99-based standards] (log2f): Likewise.
29872 [non-C99-based standards] (modff): Allow.
29873 [non-C99-based standards] (erff): Do not allow.
29874 [non-C99-based standards] (erfcf): Likewise.
29875 [non-C99-based standards] (gammaf): Likewise.
29876 [non-C99-based standards] (hypotf): Likewise.
29877 [non-C99-based standards] (j0f): Likewise.
29878 [non-C99-based standards] (j1f): Likewise.
29879 [non-C99-based standards] (jnf): Likewise.
29880 [non-C99-based standards] (lgammaf): Likewise.
29881 [non-C99-based standards] (tgammaf): Likewise.
29882 [non-C99-based standards] (y0f): Likewise.
29883 [non-C99-based standards] (y1f): Likewise.
29884 [non-C99-based standards] (ynf): Likewise.
29885 [non-C99-based standards] (isnanf): Likewise.
29886 [non-C99-based standards] (acoshf): Likewise.
29887 [non-C99-based standards] (asinhf): Likewise.
29888 [non-C99-based standards] (atanhf): Likewise.
29889 [non-C99-based standards] (cbrtf): Likewise.
29890 [non-C99-based standards] (expm1f): Likewise.
29891 [non-C99-based standards] (ilogbf): Likewise.
29892 [non-C99-based standards] (log1pf): Likewise.
29893 [non-C99-based standards] (logbf): Likewise.
29894 [non-C99-based standards] (nextafterf): Likewise.
29895 [non-C99-based standards] (remainderf): Likewise.
29896 [non-C99-based standards] (rintf): Likewise.
29897 [non-C99-based standards] (scalbf): Likewise.
29898 [non-C99-based standards] (copysignl): Likewise.
29899 [non-C99-based standards] (exp2l): Likewise.
29900 [non-C99-based standards] (log2l): Likewise.
29901 [non-C99-based standards] (modfl): Allow.
29902 [non-C99-based standards] (erfl): Do not allow.
29903 [non-C99-based standards] (erfcl): Likewise.
29904 [non-C99-based standards] (gammal): Likewise.
29905 [non-C99-based standards] (hypotl): Likewise.
29906 [non-C99-based standards] (j0l): Likewise.
29907 [non-C99-based standards] (j1l): Likewise.
29908 [non-C99-based standards] (jnl): Likewise.
29909 [non-C99-based standards] (lgammal): Likewise.
29910 [non-C99-based standards] (tgammal): Likewise.
29911 [non-C99-based standards] (y0l): Likewise.
29912 [non-C99-based standards] (y1l): Likewise.
29913 [non-C99-based standards] (ynl): Likewise.
29914 [non-C99-based standards] (isnanl): Likewise.
29915 [non-C99-based standards] (acoshl): Likewise.
29916 [non-C99-based standards] (asinhl): Likewise.
29917 [non-C99-based standards] (atanhl): Likewise.
29918 [non-C99-based standards] (cbrtl): Likewise.
29919 [non-C99-based standards] (expm1l): Likewise.
29920 [non-C99-based standards] (ilogbl): Likewise.
29921 [non-C99-based standards] (log1pl): Likewise.
29922 [non-C99-based standards] (logbl): Likewise.
29923 [non-C99-based standards] (nextafterl): Likewise.
29924 [non-C99-based standards] (remainderl): Likewise.
29925 [non-C99-based standards] (rintl): Likewise.
29926 [non-C99-based standards] (scalbl): Likewise.
29927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29928 [non-C99-based standards] (FP_*): Do not allow.
29929 [C99-based standards] (FP_*): Change to
29930 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29931 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29932 allow.
29933 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29934 (SIG_ERR): Likewise.
29935 [X/Open-based standards] (SIG_HOLD): Likewise.
29936 (SIG_IGN): Likewise.
29937 (SIGABRT): Use macro-int-constant. Specify type. Require
29938 positive value.
29939 (SIGFPE): Likewise.
29940 (SIGILL): Likewise.
29941 (SIGINT): Likewise.
29942 (SIGSEGV): Likewise.
29943 (SIGTER): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29959 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29960 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29962 [X/Open-based standards] (SIGTRAP): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29967 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29968 allow.
29969
b9f1922d
IW
299702012-05-08 Ian Wienand <ianw@vmware.com>
29971
29972 [BZ #14080]
29973 * time/tzset.c (__tzset_parse_tz): Update default rules for
29974 daylight time changes in the Energy Policy Act of 2005.
29975
1db86e88
AJ
299762012-05-09 Andreas Jaeger <aj@suse.de>
29977
29978 [BZ #13983]
29979 * elf/ldconfig.c (parse_conf): Change string to make clear that
29980 ldconfig only issued a warning if ld.so.conf does not exist.
29981
dee4a4e3
DM
299822012-05-08 David S. Miller <davem@davemloft.net>
29983
ee0db190
DM
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29985 movxtod instead of popping the value on the stack.
29986
dee4a4e3
DM
29987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29988
6a43ec98
CD
299892012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29990
29991 * config.h.in: Add HAVE_ARM_PCS_VFP.
29992
05c2c961
RMG
299932012-05-08 Roland Mc Grath <roland@hack.frob.com>
29994
bcfe3a54
ST
29995 [BZ #13979]
29996 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29997 checking but the checks are disabled for any reason.
05c2c961 29998
4b30f61a
L
299992012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30000
30001 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30002 and ELF64_R_TYPE with ELFW(R_TYPE).
30003
eee2bc67
JM
300042012-05-08 Joseph Myers <joseph@codesourcery.com>
30005
7ea5391a
JM
30006 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30007 (ulimit): Likewise.
30008
eee2bc67
JM
30009 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30010 (settimeofday): Likewise.
30011
abb66a67
MF
300122012-05-08 Mike Frysinger <vapier@gentoo.org>
30013
30014 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30015 a struct th_u2 inside the union, and move tu_block/tu_code into
30016 a new th_u3 union of tu_block/tu_code inside of that. Move
30017 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30018 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30019 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30020 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30021 (th_stuff): Change to th_u1.tu_stuff.
30022 (th_data): Define.
30023 (th_msg): Change to th_u1.th_u2.tu_data.
30024
7f18b530
DM
300252012-05-07 David S. Miller <davem@davemloft.net>
30026
05760585
DM
30027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30028
7f18b530
DM
30029 [BZ #14074]
30030 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30031 (SETUP_PIC_REG): Use it.
30032 (SETUP_PIC_REG_LEAF): Use it.
30033
495fd99f
JM
300342012-05-07 Joseph Myers <joseph@codesourcery.com>
30035
30036 [BZ #13885]
30037 [BZ #13923]
30038 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30039 USE_AS_EXPM1L.
30040 (EXPL_FINITE): Likewise.
30041 (FLDLOG): Likewise.
30042 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30043 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30044 e_expl.S.
30045 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30046 USE_AS_EXPM1L.
30047 (EXPL_FINITE): Likewise.
30048 (FLDLOG): Likewise.
30049 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30050 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30051 e_expl.S.
30052 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30053 test of -max_value argument for long double.
30054 * sysdeps/i386/fpu/libm-test-ulps: Update.
30055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30056
6693d694
DM
300572012-05-06 David S. Miller <davem@davemloft.net>
30058
30059 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30060 quad soft-float symbols whose references which are compiler
30061 generated.
30062 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30063
6c23e11c
JM
300642012-05-06 Joseph Myers <joseph@codesourcery.com>
30065
d8b82cad
JM
30066 [BZ #13884]
30067 [BZ #13914]
30068 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30069 USE_AS_EXP10L.
30070 (EXPL_FINITE): Likewise.
30071 (FLDLOG): Likewise.
30072 (c0): Likewise.
30073 (c1): Likewise.
30074 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30075 Adjust comments for base varying.
30076 (__expl_finite): Change alias to EXPL_FINITE.
30077 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30078 e_expl.S.
30079 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30080 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30081 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30082 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30083 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30084 USE_AS_EXP10L.
30085 (EXPL_FINITE): Likewise.
30086 (FLDLOG): Likewise.
30087 (c0): Likewise.
30088 (c1): Likewise.
30089 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30090 Adjust comments for base varying.
30091 (__expl_finite): Change alias to EXPL_FINITE.
30092 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30093 tests for bugs.
30094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30095
6c23e11c
JM
30096 [BZ #14064]
30097 * math/libm-test.inc (check_float_internal): Correct ulp
30098 calculation for subnormal expected results.
30099
29ba805c
AJ
301002012-05-06 Andreas Jaeger <aj@suse.de>
30101
30102 * Makeconfig (+math-flags): New, set to -frounding-math.
30103 (+cflags): Add +math-flags so that all of glibc gets compiled with
30104 it.
30105
30106 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30107
7b17aeda
JM
301082012-05-05 Joseph Myers <joseph@codesourcery.com>
30109
5779f134
JM
30110 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30111 Disable one test.
30112
41498f4d
JM
30113 [BZ #13787]
30114 [BZ #13922]
30115 [BZ #14036]
30116 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30117 (__ieee754_expl): Allow for and saturate large arguments.
30118 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30119 (u_threshold): Likewise.
30120 (__exp): Call __ieee754_exp before checking for overflow and
30121 underflow.
30122 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30123 (u_threshold): Likewise.
30124 (__expf): Call __ieee754_expf before checking for overflow and
30125 underflow.
30126 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30127 (u_threshold): Likewise.
30128 (__expl): Call __ieee754_expl before checking for overflow and
30129 underflow.
30130 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30131 (__ieee754_expl): Allow for and saturate large arguments.
30132 * math/libm-test.inc (exp_test): Add another test. Do not allow
30133 missing overflow exception on overflow.
30134 (expm1_test): Do not allow missing overflow exception on overflow.
30135
6698b8bf
JM
30136 * sysdeps/i386/fpu/e_expl.c: Move to ...
30137 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30138 rather than using inline asm.
30139 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30140 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30141 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30142
7b17aeda
JM
30143 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30144 (nice): Likewise.
30145 (poll): Likewise.
30146 (signal): Likewise.
30147 (time): Likewise.
30148 (times): Likewise.
30149
f7c85819
JM
301502012-05-04 Joseph Myers <joseph@codesourcery.com>
30151
30152 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30153 sysdeps/unix/common/syscalls.list.
30154 (fchmod): Likewise.
30155 (fchown): Likewise.
30156 (ftruncate): Likewise.
30157 (getrusage): Likewise.
30158 (gettimeofday): Likewise.
30159 (setpgid): Likewise.
30160 (setregid): Likewise.
30161 (setreuid): Likewise.
30162 (sigaction): Likewise.
30163 (truncate): Likewise.
30164 (vhangup): Likewise.
30165 * sysdeps/unix/common/syscalls.list: Remove file.
30166 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30167 * sysdeps/unix/sysv/linux/Implies: Likewise.
30168
336270d0
L
301692012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30170
30171 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30173 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30174 Moved to ...
30175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30176 Here.
30177 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30178 to ...
30179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30180 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30181 to ...
30182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30183 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30184 to ...
30185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30186 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30187 to ...
30188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30189 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30190 to ...
30191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30192 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30193 to ...
30194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30195 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30196 to ...
30197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30198 Here.
30199 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30200 to ...
30201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30202 Here.
30203 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30204 to ...
30205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30206 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30207 Moved to ...
30208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30209 Here.
30210 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30211 to ...
30212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30213
d128e450
JM
302142012-05-04 Joseph Myers <joseph@codesourcery.com>
30215
fa8ee516
JM
30216 * sysdeps/unix/common/bits/dirent.h: Remove file.
30217 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30218
d128e450
JM
30219 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30220 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30221 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30222 * sysdeps/unix/bsd/isatty.c: Likewise.
30223 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30224 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30225 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30226
ff8faaf0 302272012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30228
62881be4 30229 [BZ #13563]
31dc8730
AZ
30230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30231 long double comparison inaccuracies.
30232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30234
6fef930c
AS
302352012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30236
30237 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30239
8f203e6c
JM
302402012-05-04 Joseph Myers <joseph@codesourcery.com>
30241
30242 [BZ #14049]
30243 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30244 nonzero digits before rounding a hex value.
30245 * stdlib/tst-strtod.c (tests): Add another test.
30246
5197d9c2
AK
302472012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30248
30249 * sysdeps/s390/fpu/libm-test-ulps: Update.
30250
f0c1dedf
AJ
302512012-05-03 Andreas Jaeger <aj@suse.de>
30252
30253 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30254 does not get optimized out.
30255 (malloc_opt_barrier): New.
30256
a65ef2ae 302572012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30258 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30259
2b942cb7 30260 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30261 intermediate file deletion.
2b942cb7 30262 (generated): Add .symlist files.
a65ef2ae 30263
54b71e02
JM
302642012-05-03 Joseph Myers <joseph@codesourcery.com>
30265
30266 [BZ #13775]
30267 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30268 Redirect under this condition.
30269 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30270 [__USE_GNU] (__dprintf_chk): Not under this condition.
30271 [__USE_GNU] (__vdprintf_chk): Likewise.
30272 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30273 under this condition.
30274 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30275 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30276 [__USE_XOPEN2K8] (vdprintf): Likewise.
30277 [__USE_GNU] (__dprintf_chk): Not under this condition.
30278 [__USE_GNU] (__vdprintf_chk): Likewise.
30279 [__USE_GNU] (dprintf): Likewise.
30280 [__USE_GNU] (vdprintf): Likewise.
30281
d3dfcc41
RM
302822012-05-03 Roland McGrath <roland@hack.frob.com>
30283
30284 * elf/Makefile (common-generated): Set this instead of generated for
30285 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30286 $(all-built-dso)-derived lists.
30287
7ac30cc5
AJ
302882012-05-03 Andreas Jaeger <aj@suse.de>
30289
0c51e550
AJ
30290 * sysdeps/i386/fpu/libm-test-ulps: Update.
30291
7ac30cc5
AJ
30292 * FAQ: Removed.
30293 * FAQ.in: Likewise.
30294 * scripts/gen-FAQ.pl: Likewise.
30295 * manual/install.texi (Installation): Point to online location of
30296 FAQ.
30297 * Makefile (files-for-dist): Remove FAQ.
30298 (FAQ): Remove.
30299
d4c2917f
AM
303002012-05-02 Allan McRae <allan@archlinux.org>
30301
30302 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30303 (LDFLAGS-reldepmod5.so): Likewise.
30304 (LDFLAGS-reldep6mod1.so): Likewise.
30305 (LDFLAGS-reldep6mod4.so): Likewise.
30306 (LDFLAGS-reldep8mod3.so): Likewise.
30307 (LDFLAGS-unload4mod1.so): Likewise.
30308 (LDFLAGS-unload4mod2.so): Likewise.
30309 (LDFLAGS-tst-initorder): Likewise.
30310 (LDFLAGS-tst-initordera2.so): Likewise.
30311 (LDFLAGS-tst-initordera3.so): Likewise.
30312 (LDFLAGS-tst-initordera4.so): Likewise.
30313 (LDFLAGS-tst-initorderb2.so): Likewise.
30314 (LDFLAGS-noload): Likewise.
30315 (LDFLAGS-next): Likewise.
30316 (LDFLAGS-order2mod1.so): Likewise.
30317 (LDFLAGS-order2mod2.so): Likewise.
30318 (LDFLAGS-tst-initorder2): Likewise.
30319 (LDFLAGS-tst-initorder2a.so): Likewise.
30320 (LDFLAGS-tst-initorder2b.so): Likewise.
30321 (LDFLAGS-tst-initorder2c.so): Likewise.
30322 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30323
d77f993f
DM
303242012-05-02 David S. Miller <davem@davemloft.net>
30325
30326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30327
171a70b4
PP
303282012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30329
30330 [BZ #14055]
30331 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30332
0be196ad
AJ
303332012-05-02 Andreas Jaeger <aj@suse.de>
30334
30335 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30336 since we manipulate rounding mode.
30337 (CPPFLAGS-test-idouble.c): Likewise.
30338 (CPPFLAGS-test-ifloat.c): Likewise.
30339 (CFLAGS-test-ldouble.c): Likewise.
30340 (CFLAGS-test-double.c): Likewise.
30341 (CFLAGS-test-float.c): Likewise.
30342 (CFLAGS-test-misc.c): Likewise.
30343 (CFLAGS-test-test-fenv.c): Likewise.
30344
4f9d04aa
AZ
303452012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30346
2b942cb7
RM
30347 [BZ #2550]
30348 [BZ #2570]
30349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30350 comparisons to determine direction to adjust input.
4f9d04aa 30351
82a79e7d
RM
303522012-05-01 Roland McGrath <roland@hack.frob.com>
30353
f5a01ca9
RM
30354 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30355 output to the target.
30356
90fe4186
RM
30357 * scripts/localplt.awk: New file.
30358 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30359 (check-localplt-CFLAGS): Variable removed.
30360 ($(all-built-dso:=.jmprel)): New static pattern rule.
30361 (generated): Add those targets.
30362 (localplt-built-dso): New variable.
30363 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30364
30365 * elf/check-localplt.c: File removed.
30366
82397ed6
RM
30367 * scripts/check-execstack.awk: New file.
30368 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30369 (check-execstack-CFLAGS): Variable removed.
30370 ($(objpfx)check-execstack.h): Target removed.
30371 ($(objpfx)execstack-default): New target.
30372 (generated): Add that instead of check-execstack.h.
30373 ($(all-built-dso:=.phdr)): New static pattern rule.
30374 (generated): Add those targets.
30375 * elf/check-execstack.c: File removed.
30376
82a79e7d
RM
30377 * scripts/check-textrel.awk: New file.
30378 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30379 (check-textrel-CFLAGS): Variable removed.
30380 (all-built-dso): Use := to define.o
30381 ($(all-built-dso:=.dyn)): New static pattern rule.
30382 (generated): Add those targets.
30383 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30384 * config.make.in (READELF): New substituted variable.
30385 * elf/check-textrel.c: File removed.
30386
62fde54f 303872012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30388
615605c9
JM
30389 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30390 allow.
30391 * conform/data/ctype.h-data [C99-based standards] (isblank):
30392 Expect function.
30393 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30394 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30396 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30397 Specify type. Require positive value.
30398 (EILSEQ): Likewise.
30399 (ERANGE): Likewise.
30400 [ISO || POSIX] (EILSEQ): Do not expect.
30401 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30402 Specify type. Require positive value.
30403 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30442 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30446 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30447 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30448 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30449 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30450 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30461 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30462 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30463 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30464 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30465 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30466 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30467 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30468 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30469 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30470 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30471 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30472 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30473 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30474 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30475 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30476 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30477 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30478 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30479 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30480 Require >= 2.
30481 (FLT_ROUNDS): Expect as macro, not constant.
30482 (FLT_MANT_DIG): Use macro-int-constant.
30483 (DBL_MANT_DIG): Likewise.
30484 (LDBL_MANT_DIG): Likewise.
30485 (FLT_DIG): Likewise.
30486 (DBL_DIG): Likewise.
30487 (LDBL_DIG): Likewise.
30488 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30489 (DBL_MIN_EXP): Likewise.
30490 (LDBL_MIN_EXP): Likewise.
30491 (FLT_MAX_EXP): Use macro-int-constant.
30492 (DBL_MAX_EXP): Likewise.
30493 (LDBL_MAX_EXP): Likewise.
30494 (FLT_MAX_10_EXP): Likewise.
30495 (DBL_MAX_10_EXP): Likewise.
30496 (LDBL_MAX_10_EXP): Likewise.
30497 (FLT_MAX): Use macro-constant.
30498 (DBL_MAX): Likewise.
30499 (LDBL_MAX): Likewise.
30500 (FLT_EPSILON): Use macro-constant. Give upper bound.
30501 (DBL_EPSILON): Likewise.
30502 (LDBL_EPSILON): Likewise.
30503 (FLT_MIN): Likewise.
30504 (DBL_MIN): Likewise.
30505 (LDBL_MIN): Likewise.
30506 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30507 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30508 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30509 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30510 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30511 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30512 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30513 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30514 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30515 [ISO11] (FLT_TRUE_MIN): Likewise.
30516 [ISO11] (LDBL_TRUE_MIN): Likewise.
30517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30518 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30519 (SCHAR_MIN): Use macro-int-constant. Specify type.
30520 (SCHAR_MAX): Likewise.
30521 (UCHAR_MAX): Likewise.
30522 (CHAR_MIN): Likewise.
30523 (CHAR_MAX): Likewise.
30524 (MB_LEN_MAX): Use macro-int-constant.
30525 (SHRT_MIN): Use macro-int-constant. Specify type.
30526 (SHRT_MAX): Likewise.
30527 (USHRT_MAX): Likewise.
30528 (INT_MAX): Likewise.
30529 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30530 bound negative.
30531 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30532 bound with "U".
30533 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30534 bound with "L".
30535 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30536 bound negative. Suffix upper bound with "L".
30537 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30538 bound with "UL".
30539 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30540 Specify type.
30541 [C99-based standards] (LLONG_MAX): Likewise.
30542 [C99-based standards] (ULLONG_MAX): Likewise.
30543 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30544 == 0.
30545 [ISO11] (max_align_t): Require type.
30546 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30547
c9140a62
JM
30548 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30549 from $CFLAGS, without defining away __attribute__ calls.
30550 (checknamespace): Use $CFLAGS_namespace.
30551
9af0bf29
JM
30552 * conform/conformtest.pl (@keywords): Only include C99 keywords
30553 for standards based on C99 or C11.
30554
343222a2
JM
30555 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30556 Disable tests.
30557 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30558 UNIX98]: Likewise.
30559
661f8cf0
JM
30560 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30561 usability of symbols in #if.
30562
ee74b9cb
JM
30563 * conform/conformtest.pl: If macro or constant types start
30564 "promoted:", expect the symbol to be of the following type
30565 promoted by the integer promotions.
62fde54f 30566
aafc49b3
JM
30567 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30568 in one place. Also handle "macro-constant".
30569
fefdf574
JM
30570 * conform/conformtest.pl: Only accept expected macro values with
30571 "==". Parse all "macro" lines in one place.
30572 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30573
f2d922fe
JM
30574 * conform/conformtest.pl: Handle braced types on "constant" lines
30575 instead of handling "typed-constant".
30576 * conform/data/signal.h-data: Use "constant" instead of
30577 "typed-constant".
30578
d22956c9
JM
30579 * conform/conformtest.pl: Handle "optional-" at start of lines in
30580 one place rather than duplicating several cases. Handle each
30581 format of "macro" line with initial "optional-".
30582
028e2e38
JM
30583 * conform/conformtest.pl: Only accept expected constant or
30584 optional-constant values with "==". Parse all "constant" lines in
30585 one place. Parse all "optional-constant" lines in one place.
30586 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30587 * conform/data/fmtmsg.h-data: Likewise.
30588 * conform/data/netinet/in.h-data: Likewise.
30589 * conform/data/tar.h-data: Likewise.
30590 * conform/data/limits.h-data: Use "==" form on "constant" and
30591 "optional-constant" lines.
30592
1b8f2850
JM
30593 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30594 Use -std=c99 for XOPEN2K.
30595 (@knownproblems): Remove.
30596 (newtoken): Don't check %isknown.
30597
a05a144b
JM
30598 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30599 Do not expect macro.
30600 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30612 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30613 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30630 [XPG3] (acosh): Likewise.
30631 [XPG3] (asinh): Likewise.
30632 [XPG3] (atanh): Likewise.
30633 [XPG3] (cbrt): Likewise.
30634 [XPG3] (expm1): Likewise.
30635 [XPG3] (ilogb): Likewise.
30636 [XPG3] (log1p): Likewise.
30637 [XPG3] (logb): Likewise.
30638 [XPG3] (nextafter): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30641 [XPG3] (remainder): Likewise.
30642 [XPG3] (rint): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30650 [UNIX98 || XOPEN2K] (scalb): Expect.
30651 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30652 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30788
73c5ebe3
JM
30789 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30790 _XOPEN_SOURCE_EXTENDED for XPG4.
30791
39c33b6c
JM
30792 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30793
62fde54f
JM
30794 * Makeconfig (localtime): Remove variable.
30795 (inst_localtime-file): Likewise.
30796
0741d64c
AS
307972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30798
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30800 Update.
30801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30802 Update.
30803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30804 Update.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30806 Update.
30807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30808 Update.
30809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30810 Update.
30811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30812 Update.
30813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30814 Update.
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30816 Update.
30817
7cb029ee
JM
308182012-05-01 Joseph Myers <joseph@codesourcery.com>
30819
30820 [BZ #2550]
30821 [BZ #2570]
30822 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30823 comparisons to determine direction to adjust input.
30824 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30825 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30826 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30827 Likewise.
30828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30829 Likewise.
30830 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30831 Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30834 Likewise.
30835 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30836 Likewise.
30837 * math/libm-test.inc (nexttoward_test): Add more tests.
30838
412bd966
AS
308392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30840
30841 [BZ #14040]
30842 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30843 in version GLIBC_2.1, not GLIBC_2.0.
30844 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30845 Likewise.
30846
9568c0c2
JM
308472012-04-30 Joseph Myers <joseph@codesourcery.com>
30848
adfbc8ac
JM
30849 [BZ #13942]
30850 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30851 (1 - x) * (1 + x).
30852 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30853 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30854 * math/libm-test.inc (acos_test): Add more tests.
30855 (asin_test): Likewise.
30856 * sysdeps/i386/fpu/libm-test-ulps: Update.
30857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30858
5ba3cc69
JM
30859 [BZ #14034]
30860 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30861 of square root.
30862 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30863 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30864 * math/libm-test.inc (acos_test_tonearest): New function.
30865 (acos_test_towardzero): Likewise.
30866 (acos_test_downward): Likewise.
30867 (acos_test_upward): Likewise.
30868 (asin_test_tonearest): Likewise.
30869 (asin_test_towardzero): Likewise.
30870 (asin_test_downward): Likewise.
30871 (asin_test_upward): Likewise.
30872 (main): Call the new functions.
30873 * sysdeps/i386/fpu/libm-test-ulps: Update.
30874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30875
9568c0c2
JM
30876 [BZ #13884]
30877 [BZ #13924]
30878 * math/e_exp10.c: Include <float.h>.
30879 (__ieee754_exp10): Handle underflow here rather than multiplying
30880 large negative argument by M_LN10.
30881 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30882 of __ieee754_expf.
30883 * math/e_exp10l.c: Include <float.h>.
30884 (__ieee754_exp10l): Handle underflow here rather than multiplying
30885 large negative argument by M_LN10l.
30886 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30887 spurious overflow exception on underflow.
30888
5ac3ea17
MP
308892012-04-29 Marek Polacek <polacek@redhat.com>
30890
30891 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30892 (__fortify_function): New macro.
30893 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30894 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30895 __extern_always_inline.
30896 * libio/bits/stdio2.h: Likewise.
30897 * libio/bits/stdio.h: Likewise.
30898 * string/string.h: Likewise.
30899 * string/bits/string3.h: Likewise.
30900 * include/stdio.h: Likewise.
30901 * stdlib/bits/stdlib.h: Likewise.
30902 * stdlib/stdlib.h: Likewise.
30903 * rt/bits/mqueue2.h: Likewise.
30904 * rt/mqueue.h: Likewise.
30905 * posix/bits/unistd.h: Likewise.
30906 * posix/unistd.h: Likewise.
30907 * io/bits/poll2.h: Likewise.
30908 * io/bits/fcntl2.h: Likewise.
30909 * io/fcntl.h: Likewise.
30910 * io/sys/poll.h: Likewise.
30911 * misc/bits/syslog.h: Likewise.
30912 * misc/bits/syslog-ldbl.h: Likewise.
30913 * misc/sys/syslog.h: Likewise.
30914 * socket/bits/socket2.h: Likewise.
30915 * socket/sys/socket.h: Likewise.
30916 * debug/tst-chk1.c: Likewise.
30917 * wcsmbs/bits/wchar2.h: Likewise.
30918 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30919 * wcsmbs/wchar.h: Likewise.
30920
ecf0ebfb
AJ
309212012-04-29 Andreas Jaeger <aj@suse.de>
30922
30923 * Makerules (tests): Remove enable-check-abi protection.
30924 (check-abi-warn): Remove.
30925 (check-abi-%): Remove check-abi-warn usage.
30926
30927 * configure.in: Remove check-abi configure option.
30928 * configure: Regenerated.
30929 * config.make.in (enable-check-abi): Remove.
30930
6d5c57fa
AS
309312012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30932
24c5d07e 30933 [BZ #14033]
ded5180a
AS
30934 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30935 double functions to double *_finite functions.
30936
7e0d315d
AS
30937 [BZ #13941]
30938 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30939 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30940 LDBL_MIN_EXP.
30941 * stdio-common/Makefile (tests): Add tst-sprintf3.
30942 * stdio-common/tst-sprintf3.c: New file.
30943
6d5c57fa
AS
30944 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30945 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30946
0749ff8b
JM
309472012-04-28 Joseph Myers <joseph@codesourcery.com>
30948
30949 * conform/conformtest.pl: Remove duplicate typed-constant
30950 handling.
30951
8dbd5d7b
DM
309522012-04-28 David S. Miller <davem@davemloft.net>
30953
30954 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30955 (check-abi-%): Remove AWK script prerequisite and explicit
30956 abilist directory.
30957 (check-abi): Rewrite to just diff the symlist with the abilist.
30958 (config-tls, config-abi-config): Delete, no longer used.
30959 (update-abi-%): Remove AWK script and explicit abilist directory.
30960 (update-abi): Rewrite to simply compare and conditionally copy the
30961 symlist and the sysdep abilist file. Remove update-abi-config
30962 checks.
30963 * abilist/ld.abilist: Remove.
30964 * abilist/libBrokenLocale.abilist: Remove.
30965 * abilist/libanl.abilist: Remove.
30966 * abilist/libcrypt.abilist: Remove.
30967 * abilist/libdl.abilist: Remove.
30968 * abilist/librt.abilist: Remove.
30969 * abilist/libthread_db.abilist: Remove.
30970 * abilist/libutil.abilist: Remove.
30971 * scripts/extract-abilist.awk: Remove.
30972 * scripts/merge-abilist.awk: Remove.
30973 * sysdeps/generic/libcidn.abilist: New file.
30974 * sysdeps/generic/libnss_compat.abilist: New file.
30975 * sysdeps/generic/libnss_db.abilist: New file.
30976 * sysdeps/generic/libnss_dns.abilist: New file.
30977 * sysdeps/generic/libnss_files.abilist: New file.
30978 * sysdeps/generic/libnss_hesiod.abilist: New file.
30979 * sysdeps/generic/libnss_nis.abilist: New file.
30980 * sysdeps/generic/libnss_nisplus.abilist: New file.
30981 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30982 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30983 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30984 file.
30985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30986 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30987 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30988 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30989 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30990 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30991 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30992 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30993 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30994 file.
30995 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30996 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30997 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30998 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30999 file.
31000 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31001 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31002 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31003 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31004 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31005 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31006 file.
31007 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31008 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31009 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31010 file.
31011 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31013 New file.
31014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31015 New file.
31016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31017 New file.
31018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31019 New file.
31020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31021 New file.
31022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31023 New file.
31024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31025 New file.
31026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31027 New file.
31028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31029 New file.
31030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31031 New file.
31032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31033 New file.
31034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31035 New file.
31036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31037 New file.
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31039 file.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31041 New file.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31043 New file.
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31045 file.
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31047 New file.
31048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31049 New file.
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31051 file.
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31053 New file.
31054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31055 New file.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31057 New file.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31059 New file.
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31061 New file.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31063 New file.
31064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31066 file.
31067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31068 New file.
31069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31070 file.
31071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31072 file.
31073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31074 file.
31075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31076 file.
31077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31078 file.
31079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31080 New file.
31081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31082 file.
31083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31084 file.
31085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31086 New file.
31087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31088 file.
31089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31091 file.
31092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31093 New file.
31094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31095 file.
31096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31097 file.
31098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31099 file.
31100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31101 file.
31102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31103 file.
31104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31105 New file.
31106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31107 file.
31108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31109 file.
31110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31111 New file.
31112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31113 file.
31114 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31115 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31116 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31117 file.
31118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31119 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31120 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31121 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31122 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31123 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31124 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31125 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31126 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31127 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31130 file.
31131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31132 New file.
31133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31134 file.
31135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31136 file.
31137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31138 file.
31139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31140 file.
31141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31142 file.
31143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31144 New file.
31145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31146 New file.
31147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31148 file.
31149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31150 New file.
31151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31152 file.
31153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31155 file.
31156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31157 New file.
31158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31159 file.
31160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31161 file.
31162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31163 file.
31164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31165 file.
31166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31167 file.
31168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31169 New file.
31170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31171 New file.
31172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31173 file.
31174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31175 New file.
31176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31177 file.
31178
41d73a1b
JM
311792012-04-28 Joseph Myers <joseph@codesourcery.com>
31180
31181 * conform/conformtest.pl: Fix typo in handling typed-constant from
31182 allow-header.
31183
28aeeda4
JM
311842012-04-27 Joseph Myers <joseph@codesourcery.com>
31185
adae8f5e
JM
31186 * README: Cut down references to pre-2.6 Linux kernels and
31187 Linuxthreads. Update lists of configurations in libc and ports
31188 and sort alphabetically. Say "or newer" with Linux kernel version
31189 requirements.
31190
28aeeda4
JM
31191 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31192
a462cb63
RA
311932012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31194
31195 [BZ #887]
31196 * math/libm-test.inc (logb_test_downward): New test to expose
31197 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31198 rounding mode.
31199
6ad3493e
JM
312002012-04-27 Joseph Myers <joseph@codesourcery.com>
31201
31202 [BZ #14027]
31203 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31204 to be done.
31205 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31206 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31207
2ce4f015
JM
312082012-04-26 Joseph Myers <joseph@codesourcery.com>
31209
5aeb141a
JM
31210 * sysdeps/unix/i386/brk.S: Remove file.
31211 * sysdeps/unix/i386/dl-brk.S: Likewise.
31212 * sysdeps/unix/i386/pipe.S: Likewise.
31213 * sysdeps/unix/i386/sigreturn.S: Likewise.
31214 * sysdeps/unix/i386/syscall.S: Likewise.
31215 * sysdeps/unix/i386/vfork.S: Likewise.
31216 * sysdeps/unix/i386/wait.S: Likewise.
31217
7143acae
JM
31218 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31219 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31220
2ce4f015
JM
31221 * configure.in (arm*-none*): Do not allow without
31222 --enable-hacker-mode.
31223 (netbsd*): Remove case setting base_os.
31224 (386bsd*): Likewise.
31225 (freebsd*): Likewise.
31226 (bsdi*): Likewise.
31227 (osf*): Likewise.
31228 (sunos*): Likewise.
31229 (ultrix*): Likewise.
31230 (newsos*): Likewise.
31231 (dynix*): Likewise.
31232 (*bsd*): Likewise.
31233 (sysv*): Likewise.
31234 (isc*): Likewise.
31235 (esix*): Likewise.
31236 (sco*): Likewise.
31237 (minix*): Likewise.
31238 (irix4*): Likewise.
31239 (irix6*): Likewise.
31240 (solaris[2-9]*): Likewise.
31241 (none): Likewise.
31242 * configure: Regenerated.
31243
0ac229c8
AZ
312442012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31245
31246 [BZ #11521]
31247 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31248 overflow or cancellation in calculating denominator.
31249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31250 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31251 down expression to avoid unexpected rounding in newer GCCs.
31252 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31253
33f244f4
DM
312542012-04-26 David S. Miller <davem@davemloft.net>
31255
31256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31257 long-double compat symbols.
31258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31271
cfa1f3e8
DM
312722012-04-25 David S. Miller <davem@davemloft.net>
31273
31274 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31275 HWCAP_* values only after the memory barriers have been defined.
31276 (atomic_full_barrier): Define.
31277 (atomic_read_barrier): Define.
31278 (atomic_write_barrier): Define.
31279
6e236b92
SP
312802012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31281
31282 * shlib-versions: Add libgcc_s version information.
31283 * sysdeps/generic/libgcc_s.h: Remove.
31284 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31285 libgcc_s.h.
31286 * sysdeps/gnu/unwind-resume.c: Likewise.
31287 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31288
aab39a09
DM
312892012-04-25 David S. Miller <davem@davemloft.net>
31290
31291 * sysdeps/unix/sparc/brk.S: Delete.
31292 * sysdeps/unix/sparc/dl-brk.S: Delete.
31293 * sysdeps/unix/sparc/pipe.S: Delete.
31294 * sysdeps/unix/sparc/sysdep.S: Delete.
31295 * sysdeps/unix/sparc/sysdep.h: Delete.
31296 * sysdeps/unix/sparc/vfork.S: Delete.
31297 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31298 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31299 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31300 ret_ERRVAL, r0, r1, MOVE): Define.
31301 (JUMPTARGET): Remove.
31302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31303 sysdeps/unix/sparc/sysdep.h
31304 (ENTRY, END): Remove.
31305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31306
a3cc4f48
JM
313072012-04-25 Joseph Myers <joseph@codesourcery.com>
31308
2ed8cda2
JM
31309 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31310 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31311 -DIS_IN_build.
31312
35d76d59
JM
31313 * timezone/README: Update upstream location and email address for
31314 tzcode and tzdata.
31315 * timezone/zdump.c: Update from tzcode 2012b.
31316 * timezone/zic.c: Likewise.
31317
a3cc4f48
JM
31318 * configure.in (libc_cv_as_needed): Remove test.
31319 * configure: Regenerated.
31320 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31321 conditional definition.
31322 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31323 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31324 * config.make.in (have-as-needed): Remove variable.
31325
ceab42c3
SP
313262012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31327 Paul Pluzhnikov <ppluzhnikov@google.com>
31328
31329 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31330 strings correctly.
31331
3ce2865f
CLT
313322012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31333
31334 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31335 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31336 * sysdeps/sh/strlen.S: Likewise.
31337
f37e0d68
JM
313382012-04-24 Joseph Myers <joseph@codesourcery.com>
31339
ae186e9a
JM
31340 * sysdeps/unix/fork.S: Remove file.
31341 * sysdeps/unix/i386/fork.S: Likewise.
31342 * sysdeps/unix/sparc/fork.S: Likewise.
31343
b96914af
JM
31344 * sysdeps/unix/system.c: Remove file.
31345 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31346
f37e0d68
JM
31347 * sysdeps/unix/getegid.S: Remove file.
31348 * sysdeps/unix/geteuid.S: Likewise.
31349
87ef29ca
RM
313502012-04-24 Roland McGrath <roland@hack.frob.com>
31351
83bcd236
RM
31352 * scripts/check-localplt.awk: New file.
31353 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31354 of diff.
31355 * scripts/data/localplt-generic.data: Add a comment.
31356
87ef29ca
RM
31357 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31358 NODE when __dir_mkfile failed.
31359 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31360 Reported by Ludovic Courtès <ludo@gnu.org>.
31361
e5a6e567
AJ
313622012-04-24 Andreas Jaeger <aj@suse.de>
31363
31364 * Makerules (common-clean): Also remove gen-as-const-headers
31365 files.
31366
c1820385
JM
313672012-04-24 Joseph Myers <joseph@codesourcery.com>
31368
31369 * Makerules (native-compile): Do not change working directory for
31370 build. Use $(OUTPUT_OPTION) in command.
31371 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31372
94e02fc4
AZ
313732012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31374
31375 [BZ #13886]
31376 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31377 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31378 * math/libm-test.inc (floor_test): Add more tests.
31379 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31380
3a533ca3
JM
313812012-04-24 Joseph Myers <joseph@codesourcery.com>
31382
940ab4b3
JM
31383 * sysdeps/unix/getdents.c: Remove file.
31384 * sysdeps/unix/sysv/getdents.c: Likewise.
31385 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31386
90e037bd
JM
31387 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31388 sysdeps/unix/mman/syscalls.list.
31389 (mmap): Likewise.
31390 (mprotect): Likewise.
31391 (msync): Likewise.
31392 (munmap): Likewise.
31393 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31394 * sysdeps/unix/mman/syscalls.list: Remove.
31395 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31396
3a533ca3
JM
31397 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31398 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31399 * configure: Regenerated.
31400 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31401 $(libgcc_s_suffix).
31402 * config.make.in (libgcc_s_suffix): Remove variable.
31403
1ad743de
JM
314042012-04-23 Joseph Myers <joseph@codesourcery.com>
31405
4ad451e2
JM
31406 * sysdeps/unix/sysv/gethostname.c: Move to ...
31407 * sysdeps/posix/gethostname.c: ... here.
31408
5e37ce39
JM
31409 * sysdeps/unix/execve.S: Remove file.
31410
1ad743de
JM
31411 * sysdeps/unix/_exit.S: Remove file.
31412
4e681b5b
AJ
314132012-04-23 Andreas Jaeger <aj@suse.de>
31414
31415 [BZ #13739]
31416 * manual/Makefile: Remove make dist support, there's no
31417 need for a stand-alone documentation tar ball.
31418 (TEXI2DVI): Define always, it's not in Makeconfig.
31419 (dist): Removed.
31420 (tar-it): Removed.
31421 (edition): Removed.
31422 (glibc-doc-$(edition).tar): Removed
31423 (%.Z): Removed.
31424 (%.gz): Removed.
31425 (%.uu): Removed.
31426 (ETAGS): Remove, it's in Makeconfig.
31427 (move-if-change): Remove, it's in Makeconfig.
31428
38686a03 314292012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31430
31431 [BZ #13970]
31432 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31433 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31434 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31435 (strtod_l, strtof_l, strtold_l): Remove __wur.
31436 It is not necessarily an error to ignore strtol's return value.
31437 One can reliably look at the stored endptr to decide whether
31438 the number had valid syntax.
31439
7c0616fa
AJ
314402012-04-21 Andreas Jaeger <aj@suse.de>
31441
803cb6b7 31442 [BZ #13739]
7c0616fa
AJ
31443 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31444
b0fe253f
JM
314452012-04-21 Joseph Myers <joseph@codesourcery.com>
31446
31447 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31448 * sysdeps/unix/sysv/Versions: Remove file.
31449
8280f22d
MT
314502012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31451
31452 [BZ #13927]
31453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31454
75ce411f 314552012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31456
31457 [BZ #7064]
31458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31459 version from __vm86.
31460
097d59fa
JM
314612012-04-20 Joseph Myers <joseph@codesourcery.com>
31462
a90f3bcb
JM
31463 * sysdeps/unix/common/lxstat.c: Remove file.
31464 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31465
edc7ea78
JM
31466 * sysdeps/unix/sysv/Makefile: Remove file.
31467
cb78c221
JM
31468 * sysdeps/unix/sysv/direct.h: Remove file.
31469
efa6a45f
JM
31470 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31471 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31472 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31473 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31474 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31475 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31476 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31477
9c9f2d0c
JM
31478 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31479
4541c83b
JM
31480 * sysdeps/unix/xmknod.c: Remove file.
31481 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31482
f5d153a0
JM
31483 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31484
aa746595
JM
31485 * sysdeps/unix/sysv/i386/time.S: Remove file.
31486
cce5905e
JM
31487 * sysdeps/unix/fxstat.c: Remove file.
31488 * sysdeps/unix/xstat.c: Likewise.
31489 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31490
37fa3841
JM
31491 * sysdeps/unix/sysv/sigaction.c: Remove file.
31492
ff1962a3
JM
31493 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31494 (sysdep_headers): Remove variable.
31495 [termio.h not in sysdep_headers] (generated): Likewise.
31496 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31497 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31498 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31499 * sysdeps/unix/sysv/tcflow.c: Likewise.
31500 * sysdeps/unix/sysv/tcflush.c: Likewise.
31501 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31502 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31503 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31504 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31505 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31506
e7740d31
JM
31507 * sysdeps/unix/siglist.c: Remove file.
31508
ee06f18b
JM
31509 * sysdeps/unix/getppid.S: Remove file.
31510
097d59fa
JM
31511 * sysdeps/unix/mkdir.c: Remove file.
31512 * sysdeps/unix/rmdir.c: Likewise.
31513
ff3d51ec
AS
315142012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31515
31516 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31517 ERR_MAX value.
31518 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31519 errlist-compat value.
31520
50f81fd7
DM
315212012-04-18 David S. Miller <davem@davemloft.net>
31522
31523 * sysdeps/generic/memcopy.h (reg_char): Delete.
31524 * debug/strcat_chk.c: Use char, not reg_char.
31525 * debug/strcpy_chk.c: Likewise.
31526 * debug/strncat_chk.c: Likewise.
31527 * debug/strncpy_chk.c: Likewise.
31528 * string/memchr.c: Likewise.
31529 * string/memrchr.c: Likewise.
31530 * string/rawmemchr.c: Likewise.
31531 * string/strcat.c: Likewise.
31532 * string/strchr.c: Likewise.
31533 * string/strchrnul.c: Likewise.
31534 * string/strcmp.c: Likewise.
31535 * string/strcpy.c: Likewise.
31536 * string/strncat.c: Likewise.
31537 * string/strncmp.c: Likewise.
31538 * string/strncpy.c: Likewise.
31539
8ff41c46
WS
315402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31541
31542 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31543 __builtin_memcopy is called when src and dest ranges are known to not
31544 overlap.
31545
6b652f46
WS
315462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31547
31548 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31549 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31550 fwd_align_merge macro call.
31551 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31552 bwd_align_merge macro call.
31553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31554
b282631e
WS
315552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31556
31557 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31558 bwd_align_merge macros.
31559 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31560 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31561 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31562
95aa737c
DM
315632012-04-18 David S. Miller <davem@davemloft.net>
31564
31565 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31566
7a99a614
AJ
315672012-04-18 Andreas Jaeger <aj@suse.de>
31568
31569 [BZ# 6794]
31570 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31571 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31572 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31573
31574 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31575 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31577
31578 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31579 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31580 Adjust for changed ldbl-128 files.
31581
31582 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31583 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31584 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31585
e5270c23
DM
315862012-04-17 David S. Miller <davem@davemloft.net>
31587
31588 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31589
fb5e92c9
AS
315902012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31591
31592 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31593 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31594 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31595 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31596 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31597 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31598
76da7265
AZ
315992012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31600
31601 [BZ #6794]
31602 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31603 * math/libm-test.inc: Add ilogb errno and exception tests.
31604 * math/w_ilogb.c: New file: ilogb wrapper.
31605 * math/w_ilogbf.c: New file: ilogbf wrapper.
31606 * math/w_ilogbl.c: New file: ilogbl wrapper.
31607 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31608 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31609 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31610 exception being thrown with 0.0 as argument.
31611 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31612 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31613 exception being thrown with 0.0 as argument.
31614 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31615 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31616 exception being thrown with 0.0 as argument.
31617 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31618 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31619 exception being thrown with 0.0 as argument.
31620 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31621 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31622 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31623 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31624 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31625 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31626 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31627 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31628 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31629
0396e69d
PB
316302012-04-17 Petr Baudis <pasky@ucw.cz>
31631
31632 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31633 with altivec.
31634
750b5926
MP
316352012-04-16 Marek Polacek <polacek@redhat.com>
31636
31637 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31638
751728a1
MP
316392012-04-16 Marek Polacek <polacek@redhat.com>
31640
31641 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31642 operands of fdivp instruction.
31643
34a27407
L
316442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31647 * elf/tst-auditmod3b.c: Likewise.
31648 * elf/tst-auditmod4b.c: Likewise.
31649 * elf/tst-auditmod5b.c: Likewise.
31650 * elf/tst-auditmod6b.c: Likewise.
31651 * elf/tst-auditmod6c.c: Likewise.
31652 * elf/tst-auditmod7b.c: Likewise.
31653 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31654 * sysdeps/x86_64/preconfigure.in: Likewise.
31655 * sysdeps/x86_64/preconfigure: Regenerated.
31656
7e73e17d
L
316572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31658
31659 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31660 __ILP32__.
31661
c7a6ab72
AB
316622012-04-13 Antoine Balestrat <merkil33@gmail.com>
31663
31664 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31665 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31666
a9e8e0e0
CL
316672012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31668
31669 [BZ #13973]
31670 * locale/iso-639.def: Fix gl language name. Spotted by
31671 Yaron Shahrabani.
31672
ec98af7d
RM
316732012-04-12 Roland McGrath <roland@hack.frob.com>
31674
31675 [BZ #2074]
31676 * libio/libio.h (__io_write_fn): Update comment.
31677
247c3ede
PB
316782012-04-12 Petr Baudis <pasky@ucw.cz>
31679
31680 [BZ #2074]
31681 * stdio.texi (Hook Functions): The user provided writer function
31682 is not allowed to return -1.
31683
55939d6d
DM
316842012-04-11 David S. Miller <davem@davemloft.net>
31685
31686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31687
90020f5a
MF
316882012-04-11 Mike Frysinger <vapier@gentoo.org>
31689
31690 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31691 Add a leading slash to rtkaio.
31692
288f9098
JM
316932012-04-11 Jim Meyering <meyering@redhat.com>
31694
90020f5a
MF
31695 [BZ #11959]
31696 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31697 It is not necessarily an error to ignore fwrite's return
31698 value. One can reliably use ferror to test for errors after
31699 the fact.
288f9098 31700
4be2b570
L
317012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31702
31703 * bits/types.h (__snseconds_t): New type.
31704 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31705
31706 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31708 (__SNSECONDS_T_TYPE): Likewise.
31709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31710 (__SNSECONDS_T_TYPE): Likewise.
31711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31712 (__SNSECONDS_T_TYPE): Likewise.
31713
288f9098 317142012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31715
31716 [BZ #2636]
31717 * manual/time.texi (Processor Time): Return type of times is
31718 elapsed real time since an arbitrary point in the past.
31719 (CPU Time): Move CLK_TCK from here...
31720 (Processor Time): ...to here. Correct description.
31721 * manual/conf.texi (Constants for Sysconf): Correct description of
31722 _SC_CLK_TCK.
31723
d7dd4413
DM
317242012-04-10 David S. Miller <davem@davemloft.net>
31725
31726 [BZ #13967]
31727 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31728 where the is a gap between DT_REL(A) and DT_JMPREL.
31729
b46068fc
L
317302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31731
31732 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31733 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31734 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31735
73d65cc3
SP
317362012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31737
31738 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31739 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31740 (dl_main): Handle --inhibit-cache.
31741 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31742 _dl_inhibit_cache.
31743 * elf/dl-load.c (_dl_map_object): Use it.
31744 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31745
bcc8d661
JM
317462012-04-09 Joseph Myers <joseph@codesourcery.com>
31747
8f9a2fae
JM
31748 [BZ #13872]
31749 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31750 (__ieee754_powl): Saturate large exponents rather than testing for
31751 overflow of y*log2(x).
31752 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31753 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31754 exceptions.
31755
bcc8d661
JM
31756 [BZ #11521]
31757 * math/s_ctan.c: Include <float.h>.
31758 (__ctan): Avoid internal overflow or cancellation in calculating
31759 denominator.
31760 * math/s_ctanf.c: Likewise.
31761 * math/s_ctanl.c: Likewise.
31762 * math/s_ctanh.c: Likewise.
31763 * math/s_ctanhf.c: Likewise.
31764 * math/s_ctanhl.c: Likewise.
31765 * math/libm-test.inc (ctan_test): Add more tests.
31766 (ctanh_test): Likewise.
31767 * sysdeps/i386/fpu/libm-test-ulps: Update.
31768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31769
823fbbb4
AJ
317702012-04-09 Andreas Jaeger <aj@suse.de>
31771
03879793
AJ
31772 [BZ #6894]
31773 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31774 is an optional BSD extension.
31775
823fbbb4
AJ
31776 [BZ #10254]
31777 * manual/stdio.texi (Opening Streams): Document additional fopen
31778 parameters.
31779
8de131cb
RM
317802012-04-09 Roland McGrath <roland@hack.frob.com>
31781
31782 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31783 %eax without telling the compiler.
31784
c0ed9d7d
CD
317852012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31786
31787 [BZ # 13963]
31788 * manual/install.texi: Use sourceware.org.
31789
c483f6b4
JM
317902012-04-09 Joseph Myers <joseph@codesourcery.com>
31791
d7dd9453
JM
31792 [BZ #13873]
31793 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31794 (__ieee754_pow): Generate overflow and underflow using huge*huge
31795 and tiny*tiny rather than just returning constant infinity or zero
31796 for large exponents.
31797 * math/libm-test.inc (pow_test): Require overflow exceptions for
31798 applicable cases of large exponents.
31799
c483f6b4
JM
31800 [BZ #706]
31801 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31802 (__ieee754_pow): Use iterative multiplication algorithm only for
31803 integer exponents with absolute value below 1024. Check for odd
31804 integer exponents when using algorithm for real exponents.
31805 * math/libm-test.inc (pow_test): Add more tests.
31806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31807
d2de7579
JM
318082012-04-08 Joseph Myers <joseph@codesourcery.com>
31809
31810 [BZ #13705]
31811 * math/libm-test.inc (exp_test): Do not allow overflow exception
31812 on underflow test.
31813
f77f1232
AJ
318142012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31815
31816 [BZ #13705]
31817 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31818 instead of __kernel_standard_f.
31819
3884932b
MF
318202012-04-08 Mike Frysinger <vapier@gentoo.org>
31821
31822 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31823 * sysdeps/x86_64/memset_chk.S: Likewise.
31824
54472e9c
AJ
318252012-04-08 Andreas Jaeger <aj@suse.de>
31826
6ab0fbfc
AJ
31827 [BZ #10153]
31828 * manual/startup.texi (Environment Access): Describe return value
31829 for putenv and setenv.
31830
61efba8c
AJ
31831 [BZ #6895]
31832 * manual/filesys.texi (Directory Entries): Add description for
31833 DT_LNK.
31834
95c3f29a
AJ
31835 [BZ #6890]
31836 * manual/filesys.texi (Directory Entries): Clarify that it's file
31837 system not operating system in the description of DT_UNKNOWN.
31838
54472e9c
AJ
31839 [BZ #6578]
31840 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31841
624254b1
SC
318422012-04-08 Stephen Compall <s11@member.fsf.org>
31843
31844 [BZ #6649]
31845 * manual/llio.texi (Opening and Closing Files): Add cross
31846 reference to explain mode argument.
31847
1e4920e0
MF
318482012-04-07 Mike Frysinger <vapier@gentoo.org>
31849
31850 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31851 * sysdeps/x86_64/memset_chk.S: Likewise.
31852
5ed848f3
DM
318532012-04-07 David S. Miller <davem@davemloft.net>
31854
31855 * elf/elf.h (R_SPARC_WDISP10): Define.
31856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31857 R_SPARC_SIZE32.
31858 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31859 R_SPARC_SIZE64 and R_SPARC_H34.
31860
96154cd8
CD
318612012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31862
31863 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31864 conditions and remove no longer applicable assertion.
31865
9904dc47
L
318662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31867
31868 * bits/byteswap.h: Include <features.h>.
31869 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31870 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31871
f8887d0a
L
318722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31873
31874 * bits/byteswap.h (__bswap_16): Removed.
31875 Include <bits/byteswap-16.h> to get __bswap_16.
31876 * sysdeps/i386/bits/byteswap.h: Likewise.
31877 * sysdeps/s390/bits/byteswap.h: Likewise.
31878 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31879 * bits/byteswap-16.h: New file.
31880 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31881 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31882 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31883 * string/Makefile (headers): Add bits/byteswap-16.h.
31884
62470f60
PP
318852012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31886
31887 [BZ #13895]
31888 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31889 extra indirection.
31890 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31891 * nss/tst-nss-static.c: New.
31892
4dad7bab
RM
318932012-04-06 Robert Millan <rmh@gnu.org>
31894
31895 [BZ #6486]
31896 * manual/llio.texi (File Position Primitive): lseek
31897 refers to WHENCE when it really means OFFSET.
31898
e9142a17
AJ
318992012-04-06 Andreas Jaeger <aj@suse.de>
31900
2c040eff
AJ
31901 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31902 strncmp declarations.
31903
e9142a17
AJ
31904 * abilist/libc.abilist: Add __poll and __ppoll.
31905
ff9f1c5f
DM
319062012-04-05 David S. Miller <davem@davemloft.net>
31907
dcd2ae90
DM
31908 * scripts/check-local-headers.sh: Accept a host triplet in the
31909 path matched by the exclude regexp.
31910
993eb054
DM
31911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31912 definition.
31913 * sysdeps/powerpc/powerpc32/dl-machine.h
31914 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31915 * sysdeps/s390/s390-32/dl-machine.h
31916 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31917 * sysdeps/sparc/sparc32/dl-machine.h
31918 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31919 * sysdeps/sparc/sparc64/dl-machine.h
31920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31921
ff9f1c5f
DM
31922 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31923 lazy binding.
48e2e132 31924 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31925 undefined symbol errors.
31926
48e2e132 31927 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31928 DT_NEEDED entries.
31929
e80d6f94
MM
319302012-04-05 Michael Matz <matz@suse.de>
31931
31932 [BZ #13592]
31933 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31934
349fa79f
AJ
319352012-04-05 Andreas Jaeger <aj@suse.de>
31936
31937 [BZ #13908]
31938 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31939 comment.
31940
f402708f
KK
319412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31942
31943 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31944 which ROUND is no valid rounding mode.
31945
2ecccfc9
KK
319462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31947
31948 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31949 read again.
31950 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31951
8a53f50f
KK
319522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31953
31954 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31955 an exception using FPU order intentionally.
31956
319572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31958
31959 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31960 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31961 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31962 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31963
d653abb7
SJ
319642012-04-05 Simon Josefsson <simon@josefsson.org>
31965
31966 [BZ #12340]
31967 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31968 EINVAL when BUFLEN is too smal.
31969
c3b1bf7d
TS
319702012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31971
31972 [BZ #13553]
31973 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31974 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31975
b1aa60f3
AJ
319762012-04-03 Andreas Jaeger <aj@suse.de>
31977
c3b1bf7d 31978 [BZ #13938]
67f60a26
AJ
31979 * manual/setjmp.texi (System V contexts): Fix sentence.
31980
b1aa60f3
AJ
31981 [BZ #13926]
31982 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31983 New macro for this case.
31984 [!__GNUC__] (__bswap_64): New inline function for this case.
31985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31986 * bits/byteswap.h: Likewise.
31987 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31988 ull, guard with __GLIBC_HAVE_LONG_LONG.
31989
31990 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31991 __GLIBC_HAVE_LONG_LONG.
31992
31993 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31994 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31995
39c59c35
TMQMF
319962012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31997
31998 [BZ #13691]
31999 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32000 inptr and inend, rather than using last_ch.
32001
135ffda8
DM
320022012-04-02 David S. Miller <davem@davemloft.net>
32003
32004 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32005 * stdio-common/printf-parse.h (read_int): Change return type to
32006 'int', return -1 on INT_MAX overflow.
32007 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32008 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32009 overflows INT_MAX. Check for overflow of in-format-string precision
32010 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32011 SIZE_MAX not INT_MAX for integer overflow test.
32012 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32013 skip the construct in the format string but do not record anything.
32014 * stdio-common/bug22.c: Adjust to test both width/prevision
32015 INT_MAX overflow as well as total length INT_MAX overflow. Check
32016 explicitly for proper errno values.
32017
228c019e
TS
320182012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32019
302cadd3
TS
32020 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32021 CHAR_MAX.
32022 * string/test-strcmp.c [! WIDE]: Likewise.
32023 * time/tst-mktime2.c: Likewise for INT_MAX.
32024 * string/test-string.h: #include <sys/param.h> for MIN.
32025
228c019e
TS
32026 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32027 * sysdeps/i386/init-first.c (init): Likewise.
32028 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32029 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32030 * sysdeps/sh/init-first.c (init): Likewise.
32031
cfa633f5
UD
320322012-04-01 Ulrich Drepper <drepper@gmail.com>
32033
32034 * po/ru.po: Update from translation team.
d1635ef8 32035 * po/vi.po: Likewise.
cfa633f5 32036
6cd0a5ea
SP
320372012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32038
32039 * resolv/nss_dns/dns-host.c: Merge copyright years.
32040
4b43400f
LD
320412012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32042
32043 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32044 Optimize memcpy with prefetch if
32045 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32046 src, dst pointers have unequal 16 byte alignments.
32047
48c41d04
SP
320482012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32049
32050 [BZ #13928]
32051 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32052 from a CNAME entry and return the minimum ttl for the query.
32053 (gaih_getanswer_slice): Likewise.
32054
b8dc394d
JL
320552012-03-30 Jeff Law <law@redhat.com>
32056
32057 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32058 due to long keys.
32059 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32060 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32061
2f5a5ed0
JL
32062 * resolv/nss_dns/dns-host.c: Update copyright year.
32063
1d39e359
UD
320642012-03-30 Ulrich Drepper <drepper@gmail.com>
32065
c030f70c 32066 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32067 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32068
1d39e359
UD
32069 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32070 comments for sendmmsg.
32071
320722012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32073
32074 [BZ #13691]
32075 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32076 with only 1 character between 0x0041 and 0x01b0.
32077 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32078 * wcsmbs/tst-mbsnrtowcs.c: New file.
32079
20fde227
DM
320802012-03-29 David S. Miller <davem@davemloft.net>
32081
32082 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32083 small copies by hand.
32084
984a4237
JL
320852012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32086
32087 [BZ #13761]
32088 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32089 _nss_compat_initgroups_dyn): Fall back to malloc/free
32090 for large group memberships.
32091
18c9d62b
DM
320922012-03-28 David S. Miller <davem@davemloft.net>
32093
88d85d4f
DM
32094 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32095 that branches into memcpy.
32096 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32099 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32101 bits.
32102 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32103 implementation too.
32104 * sysdeps/sparc/mempcpy.S: New file.
32105
e5aa83e1
DM
32106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32107 the IFUNC routine in the libc case.
32108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32109
88570753
DM
32110 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32111 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32112 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32113 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32114 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32115 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32116 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32117 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32118
249d7567
DM
32119 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32120 loop to 256 bytes instead of 64 bytes and fix test signedness.
32121
18c9d62b
DM
32122 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32123 * sysdeps/sparc/sparc32/Makefile: rather than here...
32124 * sysdeps/sparc/sparc64/Makefile: and here.
32125
05f3d1f6
UD
321262012-03-28 Ulrich Drepper <drepper@gmail.com>
32127
32128 * malloc/mallocbug.c: Avoid warnings about unused variables.
32129
86ae07a8
JL
321302012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32131
32132 [BZ #13760]
32133 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32134 in the right place. Discard and retry query if response is
32135 larger than input buffer size.
32136
41bf21a1
JM
321372012-03-28 Joseph Myers <joseph@codesourcery.com>
32138
d6270972
JM
32139 [BZ #369]
32140 [BZ #2678]
32141 [BZ #3866]
32142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32143 x for large integer exponent.
32144 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32145 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32146 sign of result as needed afterwards.
32147 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32148 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32149 result for underflowing pow the same as for overflow.
32150 (__kernel_standard_l): Handle powl overflow and underflow here
32151 rather than calling __kernel_standard.
32152 * math/libm-test.inc (pow_test): Add more tests.
32153
414fca03 32154 [BZ #3868]
41bf21a1
JM
32155 [BZ #13879]
32156 [BZ #13910]
32157 [BZ #13911]
32158 [BZ #13912]
32159 [BZ #13913]
32160 [BZ #13915]
32161 [BZ #13916]
32162 [BZ #13917]
32163 [BZ #13918]
32164 [BZ #13919]
32165 [BZ #13920]
32166 [BZ #13921]
32167 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32168 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32169 (__kernel_standard_l): New function.
32170 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32171 __kernel_standard.
32172 * math/w_acosl.c (__acosl): Likewise.
32173 * math/w_asinl.c (__asinl): Likewise.
32174 * math/w_atan2l.c (__atan2l): Likewise.
32175 * math/w_atanhl.c (__atanhl): Likewise.
32176 * math/w_coshl.c (__coshl): Likewise.
32177 * math/w_exp10l.c (__exp10l): Likewise.
32178 * math/w_exp2l.c (__exp2l): Likewise.
32179 * math/w_fmodl.c (__fmodl): Likewise.
32180 * math/w_hypotl.c (__hypotl): Likewise.
32181 * math/w_j0l.c (__j0l, __y0l): Likewise.
32182 * math/w_j1l.c (__j1l, __y1l): Likewise.
32183 * math/w_jnl.c (__jnl, __ynl): Likewise.
32184 * math/w_lgammal.c (__lgammal): Likewise.
32185 * math/w_log10l.c (__log10l): Likewise.
32186 * math/w_log2l.c (__log2l): Likewise.
32187 * math/w_logl.c (__logl): Likewise.
32188 * math/w_powl.c (__powl): Likewise.
32189 * math/w_remainderl.c (__remainderl): Likewise.
32190 * math/w_scalbl.c (sysv_scalbl): Likewise.
32191 * math/w_sinhl.c (__sinhl): Likewise.
32192 * math/w_sqrtl.c (__sqrtl): Likewise.
32193 * math/w_tgammal.c (__tgammal): Likewise.
32194 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32195 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32196 * math/libm-test.inc (acos_test): Add more tests.
32197 (acosh_test): Likewise.
32198 (asin_test): Likewise.
32199 (atanh_test): Likewise.
32200 (exp_test): Likewise.
32201 (exp10_test): Likewise.
32202 (exp2_test): Likewise.
32203 (expm1_test): Likewise.
32204 (lgamma_test): Likewise.
32205 (log_test): Likewise.
32206 (log10_test): Likewise.
32207 (log1p_test): Likewise.
32208 (log2_test): Likewise.
32209 (pow_test): Do not allow some spurious overflow exceptions.
32210 (sqrt_test): Add more tests.
32211 (tgamma_test): Likewise.
32212 (y0_test): Likewise.
32213 (y1_test): Likewise.
32214 (yn_test): Likewise.
32215
dd62fda6
AB
322162012-03-27 Anton Blanchard <anton@samba.org>
32217
32218 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32219 MAP_HUGETLB.
32220 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32221 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32222 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32223
1e3cdfda
AJ
322242012-03-27 David S. Miller <davem@davemloft.net>
32225
b855ab85
DM
32226 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32227
1e3cdfda
AJ
32228 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32229 have-as-vis3 check.
32230
322312012-03-27 Andreas Jaeger <aj@suse.de>
32232
32233 * sysdeps/x86_64/elf/configure.in: Moved to ...
32234 * sysdeps/x86_64/configure.in: ... here.
32235 * sysdeps/x86_64/elf/start.S: Moved to ...
32236 * sysdeps/x86_64/start.S: ... here.
32237 * sysdeps/x86_64/elf/configure: Delete.
32238
32239 * sysdeps/x86_64/configure.in: Merge contents from
32240 sysdeps/i386/configure.in (without i686 check).
32241
32242 * sysdeps/i386/elf/Versions: Merge into ...
32243 * sysdeps/i386/Versions: ... this.
32244 * sysdeps/i386/elf/Versions: Delete file.
32245 * sysdeps/i386/elf/start.S: Moved to ...
32246 * sysdeps/i386/start.S: ...here.
32247 * sysdeps/i386/elf/configure.in: Merge into...
32248 * sysdeps/i386/configure.in: ...here.
32249 * sysdeps/i386/elf/configure.in: Delete file.
32250 * sysdeps/i386/elf/configure: Delete file.
32251
32252 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32253 * debug/backtracesyms.c: ... here.
32254 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32255 * debug/backtracesymsfd.c: ... here.
32256 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32257 * sysdeps/generic/ifunc-sel.h: ... here.
32258
32259 * sysdeps/unix/i386/start.c: Delete file.
32260 * sysdeps/unix/sparc/start.c: Delete file.
32261 * sysdeps/unix/start.c: Delete file.
32262
32263 * sysdeps/sh/elf/configure.in: Moved to ...
32264 * sysdeps/sh/configure.in: ... here.
32265 * sysdeps/sh/elf/start.S: Moved to ...
32266 * sysdeps/sh/start.S: ... here.
32267 * sysdeps/sh/elf/configure: Delete file.
32268
32269 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32270 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32271 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32272 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32273 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32274 * sysdeps/powerpc/powerpc64/start.S: here.
32275 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32276 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32277 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32278 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32279 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32280
32281 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32282 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32283 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32284 * sysdeps/powerpc/powerpc32/start.S: ... here.
32285 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32286 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32287 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32288
32289 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32290 * sysdeps/powerpc/ifunc-sel.h: ... here.
32291 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32292 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32293
32294 * sysdeps/sparc/elf/configure.in: Moved to ...
32295 * sysdeps/sparc/configure.in: ... here.
32296 * sysdeps/sparc/elf/configure: Delete file.
32297 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32298 * sysdeps/sparc/sparc32/start.S: ... here.
32299 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32300 * sysdeps/sparc/sparc64/start.S: ... here.
32301 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32302 * sysdeps/sparc/sparc32/Makefile: ... this.
32303 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32304 * sysdeps/sparc/sparc64/Makefile: ... this.
32305
32306 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32307 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32308 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32309 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32310 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32311 * sysdeps/s390/s390-32/setjmp.S: ... here.
32312 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32313 * sysdeps/s390/s390-32/configure.in: ... here.
32314 * sysdeps/s390/s390-32/elf/configure: Delete file.
32315 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32316 * sysdeps/s390/s390-32/start.S: ... here.
32317
32318 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32319 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32320 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32321 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32322 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32323 * sysdeps/s390/s390-64/setjmp.S: ... here.
32324 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32325 * sysdeps/s390/s390-64/configure.in: ... here
32326 * sysdeps/s390/s390-64/elf/configure: Delete file.
32327 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32328 * sysdeps/s390/s390-64/start.S: ... here.
32329 * sysdeps/s390/s390-64/elf/configure: Delete.
32330
32331 * configure.in: Remove support for elf directories in sysdeps.
32332
32333 * configure: Regenerated.
32334 * sysdeps/i386/configure: Regenerated.
32335 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32336 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32337 * sysdeps/s390/s390-32/configure: Regenerated.
32338 * sysdeps/s390/s390-64/configure: Regenerated.
32339 * sysdeps/sh/configure: Regenerated.
32340 * sysdeps/sparc/configure: Regenerated.
32341 * sysdeps/x86_64/configure: Regenerated.
32342
a3f61311
AS
323432012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32344
c876e002
AS
32345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32346
a3f61311
AS
32347 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32348 denormal result into account.
32349
ac4c54f0
RM
323502012-03-25 Roland McGrath <roland@hack.frob.com>
32351
32352 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32353 Reported by Allan McRae <allan@archlinux.org>.
32354
6a9b9c02
JL
323552012-03-23 Jeff Law <law@redhat.com>
32356
32357 * nss/getnssent.c (__nss_getent): Fix typo.
32358
4c42a0c1
DM
323592012-03-23 David S. Miller <davem@davemloft.net>
32360
32361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32362
1532c7ac
L
323632012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32364
32365 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32366 to pad to uint64_t for each field.
32367 (dl_tls_index): Replace unsigned long with uint64_t.
32368
3ff42526
PP
323692012-03-23 Daniel Jacobowitz <dmj@google.com>
32370 Paul Pluzhnikov <ppluzhnikov@google.com>
32371
32372 [BZ #6528]
32373 * grp/Makefile (otherlibs): Don't set it.
32374 * inet/Makefile (otherlibs): Likewise.
32375 * login/Makefile (otherlibs): Likewise.
32376 * nscd/Makefile (otherlibs): Likewise.
32377 * posix/Makefile (otherlibs): Likewise.
32378 * pwd/Makefile (otherlibs): Likewise.
32379 * rt/Makefile (otherlibs): Likewise.
32380 * sunrpc/Makefile (otherlibs): Likewise.
32381 * nss/Makefile (otherlibs): Likewise.
32382 Add libnss_files to routines and static-only-routines.
32383 ($(objpfx)getent): Remove rule.
32384 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32385 static-only-routines.
32386
7c69cd14
JM
323872012-03-22 Joseph Myers <joseph@codesourcery.com>
32388
32389 [BZ #13892]
32390 * math/s_cexp.c: Include <float.h>.
32391 (__cexp): Handle exp result overflowing not necessarily
32392 overflowing both real and imaginary parts of result.
32393 * math/s_cexpf.c: Likewise.
32394 * math/s_cexpl.c: Likewise.
32395 * math/libm-test.inc (cexp_test): Add more tests.
32396 * sysdeps/i386/fpu/libm-test-ulps: Update.
32397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32398
81b035fe
L
323992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32400
32401 * include/link.h (ELFW): New macro.
32402 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32403 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32404
1da7940c
L
324052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32406
32407 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32408 with uint64_t.
32409
b749dbb9
L
324102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32411
32412 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32413 declaration.
32414 (struct La_x32_retval): Likewise.
32415
2ff87f3f
L
324162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32417
32418 * sysdeps/x86_64/preconfigure.in: New file.
32419 * sysdeps/x86_64/preconfigure: New generated file.
32420
c0df8e69
JM
324212012-03-22 Joseph Myers <joseph@codesourcery.com>
32422
48e44791
JM
32423 [BZ #13824]
32424 * math/e_exp2l.c: Include <float.h>.
32425 (__ieee754_exp2l): Handle overflow and underflow cases
32426 separately. Only pass fractional part of argument to
32427 __ieee754_expl.
32428 * math/libm-test.inc (exp2_test): Add more tests.
32429
c0df8e69
JM
32430 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32431 negating x to take absolute value.
32432 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32433 Likewise.
32434 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32435 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32436 Likewise.
32437 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32438 computing low part if x was negated.
32439 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32440
c8e43ba7
L
324412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32442
32443 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32444 la_x32_gnu_pltexit.
32445 (pltexit): Cast int_retval to ptrdiff_t.
32446 * elf/tst-auditmod3b.c: Likewise.
32447 * elf/tst-auditmod4b.c: Likewise.
32448 * elf/tst-auditmod5b.c: Likewise.
32449 * elf/tst-auditmod6b.c: Likewise.
32450 * elf/tst-auditmod6c.c: Likewise.
32451 * elf/tst-auditmod7b.c: Likewise.
32452
32453 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32454 and x32_gnu_pltexit.
32455
32456 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32457 __ELF_NATIVE_CLASS.
32458 (La_x32_regs): New macro.
32459 (La_x32_retval): Likewise.
32460 (la_x32_gnu_pltenter): New function prototype.
32461 (la_x32_gnu_pltexit): Likewise.
32462
7998fa78
AS
324632012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32464
dcb33988
AS
32465 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32466 exponent.
32467
233fc563
AS
32468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32469
7998fa78
AS
32470 * configure.in (libc_cv_cc_nofma): Check for option to disable
32471 generation of FMA instructions.
32472 * configure: Regenerate.
32473 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32474 * sysdeps/ieee754/dbl-64/Makefile: New file.
32475 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32476 Remove brandred-fma4.
32477 (CFLAGS-brandred-fma4.c): Remove.
32478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32480 define.
32481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32482 define.
32483
8e95c99a
L
324842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32485
32486 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32487 LLONG_MAX != LONG_MAX.
32488 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32489 (_fitoa_word): Likewise.
32490 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32491 LLONG_MAX != LONG_MAX.
32492 * stdio-common/_itowa.h: Include <_itoa.h>.
32493 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32494 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32495 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32496 only if not defined.
32497 (_ITOA_WORD_TYPE): Likewise.
32498 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32499 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32500
6f4db457
DM
325012012-03-21 David S. Miller <davem@davemloft.net>
32502
32503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32504
7785fe5a
L
325052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32506
32507 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32508 of x86_64 when setting libc_cv_slibdir, libdir and
32509 libc_cv_localedir.
32510 * sysdeps/unix/sysv/linux/configure: Regenerated.
32511
4535cd55
JM
325122012-03-21 Joseph Myers <joseph@codesourcery.com>
32513
32514 * manual/lang.texi (Old Varargs): Remove section.
32515 (How Variadic): Update menu.
32516 (va_start): Do not mention varargs.h.
32517
17228132
TS
325182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32519 Joseph Myers <joseph@codesourcery.com>
32520
32521 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32522 link test.
32523 * configure: Regenerated.
32524
8149f976
TS
325252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32526
05f3d1f6
UD
32527 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32528 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32529 conformtest.pl
8149f976 32530
1a4ac776
JM
325312012-03-21 Joseph Myers <joseph@codesourcery.com>
32532
be22ce65
JM
32533 * NOTES: Remove.
32534 * Makefile (files-for-dist): Remove NOTES.
32535 (NOTES): Remove rule.
32536 * README: Don't refer to NOTES.
32537 * manual/creature.texi: Don't include macros.texi.
32538 * manual/intro.texi (creature.texi): Remove comment referring to
32539 NOTES.
32540
40b601fb
JM
32541 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32542 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32543 * configure: Regenerated.
32544 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32545 LIBC_TRY_CC_OPTION.
32546 (libc_cv_as_i686): Likewise.
32547 (libc_cv_cc_avx): Likewise.
32548 (libc_cv_cc_sse2avx): Likewise.
32549 (libc_cv_cc_fma4): Likewise.
32550 (libc_cv_cc_novzeroupper): Likewise.
32551 * sysdeps/i386/configure: Regenerated.
32552
1a4ac776
JM
32553 [BZ #13883]
32554 * sysdeps/i386/fpu/s_cexp.S: Remove.
32555 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32556 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32557 * math/libm-test.inc (cexp_test): Add more tests.
32558 * sysdeps/i386/fpu/libm-test-ulps: Update.
32559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32560
a458e7fe
AM
325612012-03-21 Allan McRae <allan@archlinux.org>
32562
32563 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32564
0cb7efc5
JM
325652012-03-21 Joseph Myers <joseph@codesourcery.com>
32566
32567 [BZ #13871]
32568 * math/w_exp2.c: Do not include <float.h>.
32569 (o_threshold, u_threshold): Remove.
32570 (__exp2): Calculate result before checking finiteness and calling
32571 __kernel_standard.
32572 * math/w_exp2f.c: Likewise.
32573 * math/w_exp2l.c: Likewise.
32574 * math/libm-test.inc (exp2_test): Require overflow exception for
32575 1e6 input.
2460d3aa
JM
32576
32577 [BZ #3866]
32578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32579 range of signed 64-bit integers before using fistpll. Remove
32580 checks for whether integers fit in mantissa bits.
32581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32582 the range of signed 32-bit integers before using fistpl. Remove
32583 checks for whether integers fit in mantissa bits.
32584 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32585 (__ieee754_powl): Test for y outside the range of signed 64-bit
32586 integers before using fistpll. Reduce 64-bit values to 63-bit
32587 ones as needed.
32588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32589 divide-by-zero is raised for zero to large negative powers.
32590 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32591 (__ieee754_powl): Test for y outside the range of signed 64-bit
32592 integers before using fistpll. Reduce 64-bit values to 63-bit
32593 ones as needed.
32594 * math/libm-test.inc (pow_test): Add more tests.
32595
eb96ffb0
L
325962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32597
32598 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32599 <stdio-common/_itoa.h>.
32600 * debug/segfault.c: Likewise.
32601 * elf/dl-cache.c: Likewise.
32602 * elf/dl-minimal.c: Likewise.
32603 * elf/dl-misc.c: Likewise.
32604 * elf/dl-sysdep.c: Likewise.
32605 * elf/dl-version.c: Likewise.
32606 * elf/rtld.c: Likewise.
32607 * hurd/hurdsock.c: Likewise.
32608 * hurd/lookup-retry.c: Likewise.
32609 * malloc/malloc.c: Likewise.
32610 * malloc/mtrace.c: Likewise.
32611 * nscd/nscd_getgr_r.c: Likewise.
32612 * nscd/nscd_getpw_r.c: Likewise.
32613 * nscd/nscd_getserv_r.c: Likewise.
32614 * posix/getopt_init.c: Likewise.
32615 * posix/wordexp.c: Likewise.
32616 * stdio-common/_itoa.c: Likewise.
32617 * stdio-common/printf_fphex.c: Likewise.
32618 * stdio-common/vfprintf.c: Likewise.
32619 * string/_strerror.c: Likewise.
32620 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32621 * sysdeps/i386/i686/hp-timing.h: Likewise.
32622 * sysdeps/mach/_strerror.c: Likewise.
32623 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32624 * sysdeps/mach/hurd/sethostid.c: Likewise.
32625 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32626 * sysdeps/mach/xpg-strerror.c: Likewise.
32627 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32628 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32629 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32630 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32631 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32632 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32633 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32634 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32635 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32636 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32637 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32638 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32639 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32640 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32641 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32642 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32643 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32644 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32645 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32646 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32647 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32648
32649 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32650
32651 * stdio-common/_itoa.h: Moved to ...
32652 * sysdeps/generic/_itoa.h: Here.
32653
32654 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32655
32656 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32657 instead of "_itoa.h" and "_itowa.h".
32658 * stdio-common/vfprintf.: Likewise.
32659
d1af992d
L
326602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32661
32662 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32663 <bits/wordsize.h>.
32664 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32665 (__signbit): Likwise.
32666 (llrintf): Likwise.
32667 (llrint): Likwise.
32668
114883e0
L
326692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32670
32671 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32672 __WORDSIZE != 64.
32673
c135cc1b
JM
326742012-03-20 Joseph Myers <joseph@codesourcery.com>
32675
32676 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32677 OVERFLOW_EXCEPTION_OK.
32678 * math/libm-test.inc ("Philosophy"): Update comment about
32679 exception testing.
32680 (OVERFLOW_EXCEPTION): Define.
32681 (OVERFLOW_EXCEPTION_OK): Likewise.
32682 (INVALID_EXCEPTION_OK): Renumber.
32683 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32684 (IGNORE_ZERO_INF_SIGN): Likewise.
32685 (test_exceptions): Handle FE_OVERFLOW.
32686 (exp10_test): Expect overflow exceptions.
32687 (exp2_test): Likewise.
32688 (expm1_test): Likewise.
32689 (nextafter_test): Likewise.
32690 (pow_test): Likewise.
32691 (scalbn_test): Likewise.
32692 (scalbln_test): Likewise.
32693
95443d88
L
326942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32695
32696 * sysdeps/x86_64/bits/atomic.h
32697 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32698 64bit integer.
32699 (atomic_exchange_acq): Likewise.
32700 (__arch_exchange_and_add_body): Likewise.
32701 (__arch_add_body): Likewise.
32702 (atomic_add_negative): Likewise.
32703 (atomic_add_zero): Likewise.
32704
490df6c4
L
327052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32706
c2722551 32707 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32708 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32709
5e52b189
L
327102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32711
32712 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32713 Check __x86_64__ instead of __WORDSIZE.
32714
a9879d4c
L
327152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32716
32717 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32718
5df98260
DM
327192012-03-19 David S. Miller <davem@davemloft.net>
32720
e1497744
DM
32721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32722
5df98260
DM
32723 * sysdeps/sparc/fpu/fenv_private.h: New file.
32724 * sysdeps/sparc/fpu/math_private.h: Use it.
32725 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32726 Remove.
32727 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32728 (libc_feholdexcept_setroundl): Remove.
32729 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32730 Remove.
32731 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32732 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32733
b4c35121
L
327342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32735
32736 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32737 int64_t instead of long int.
32738 (INSERT_WORDS64): Likwise.
32739
56965fd7
L
327402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32743 _Unwind_GetCFA return to _Unwind_Ptr first.
32744
83d1aec8
JM
327452012-03-19 Joseph Myers <joseph@codesourcery.com>
32746
1897ad44
JM
32747 [BZ #13629]
32748 * math/s_clog.c: Include <float.h>.
32749 (__clog): Scale large or subnormal inputs.
32750 * math/s_clogf.c: Likewise.
32751 * math/s_clogl.c: Likewise.
32752 * math/s_clog10.c: Include <float.h>.
32753 (M_LOG10_2): Define.
32754 (__clog10): Scale large or subnormal inputs.
32755 * math/s_clog10f.c: Likewise.
32756 * math/s_clog10l.c: Likewise.
32757 * math/libm-test.inc (clog_test): Add more tests.
32758 (clog10_test): Likewise.
32759 * sysdeps/i386/fpu/libm-test-ulps: Update.
32760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32761
7726d6a9
JM
32762 [BZ #11451]
32763 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32764 x and y.
32765 * math/libm-test.inc (atan2_test): Add another test.
32766
83d1aec8
JM
32767 * Makerules (common-objdir-compile): Remove.
32768 * sysdeps/unix/Makefile (config-generated): Do not add
32769 $(unix-generated) to variable.
32770 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32771 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32772 Remove rule.
32773 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32774 Likewise.
32775 [generic bits/local_lim.h] (before-compile): Do not append to
32776 variable.
32777 [generic bits/local_lim.h] (common-generated): Likewise.
32778 [generic sys/param.h] (before-compile): Do not append to variable.
32779 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32780 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32781 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32782 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32783 include.
32784 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32785 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32786 [generic sys/param.h] ($(addprefix
32787 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32788 [generic sys/param.h] (common-generated): Do not append to
32789 variable.
32790 [generic sys/param.h] (sysdep_headers): Likewise.
32791 [generic bits/errno.h] (before-compile): Do not append to
32792 variable.
32793 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32794 rule.
32795 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32796 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32797 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32798 [generic bits/errno.h] (common-generated): Do not append to
32799 variable.
32800 [generic bits/ioctls.h] (before-compile): Do not append to
32801 variable.
32802 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32803 rule.
32804 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32805 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32806 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32807 rule.
32808 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32809 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32810 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32811 [generic bits/ioctls.h] (common-generated): Do not append to
32812 variable.
32813 [generic sys/syscall.h] (syscall.h): Remove variable.
32814 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32815 rule.
32816 [generic sys/syscall.h] (before-compile): Do not append to
32817 variable.
32818 [generic sys/syscall.h] (common-generated): Likewise.
32819 * sysdeps/unix/errnos-tmpl.c: Remove file.
32820 * sysdeps/unix/errnos.awk: Likewise.
32821 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32822 * sysdeps/unix/ioctls.awk: Likewise.
32823 * sysdeps/unix/mk-local_lim.c: Likewise.
32824 * sysdeps/unix/snarf-ioctls: Likewise.
32825
4851a949
RH
328262012-03-19 Richard Henderson <rth@twiddle.net>
32827
bd37f2ee
RH
32828 * sysdeps/i386/fpu/fenv_private.h: New file.
32829 * sysdeps/i386/fpu/math_private.h: Use it.
32830 (math_opt_barrier, math_force_eval): Remove.
32831 (libc_feholdexcept_setround_53bit): Remove.
32832 (libc_feupdateenv_53bit): Remove.
32833 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32834 (math_opt_barrier, math_force_eval): Remove.
32835 (libc_feholdexcept): Remove.
32836 (libc_feholdexcept_setround): Remove.
32837 (libc_fetestexcept, libc_fesetenv): Remove.
32838 (libc_feupdateenv_test): Remove.
32839 (libc_feupdateenv, libc_feholdsetround): Remove.
32840 (libc_feresetround): Remove.
32841
d0adc922
RH
32842 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32843 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32844
0fe0f1f8
RH
32845 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32846 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32847 (libc_feupdateenv_testl): New.
32848 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32849 (libc_feupdateenv_testf): New.
32850 (libc_feupdateenv): Use libc_feupdateenv_test.
32851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32852 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32853
eb92c487
RH
32854 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32855 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32856 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32857 (libc_feresetround_noex): New.
32858 (libc_feresetround_noexf): New.
32859 (libc_feresetround_noexl): New.
32860 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32861 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32862 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32863 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32864 SET_RESTORE_ROUND.
32865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32866 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32867 (__cos): Likewise.
32868 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32870 SET_RESTORE_ROUND_NOEX.
32871 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32872 SET_RESTORE_ROUND_NOEXF.
32873 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32874 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32875 (libc_feholdsetroundf): New.
32876 (libc_feresetround, libc_feresetroundf): New.
32877
7d2e8012
RH
32878 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32879 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32880 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32881
b4dabbb4
RH
32882 * sysdeps/generic/math_private.h: Include <fenv.h>.
32883 (default_libc_feholdexcept): New.
32884 (default_libc_feholdexcept_setround): New.
32885 (default_libc_fesetenv, default_libc_feupdateenv): New.
32886 (libc_feholdexcept): Only define if undefined.
32887 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32888 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32889 (libc_feholdexcept_setroundl): Likewise.
32890 (libc_feholdexcept_setround_53bit): Likewise.
32891 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32892 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32893 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32894 (libc_feupdateenv_53bit): Likewise.
32895 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32896 (libc_feholdexcept): Convert from macro to inline function.
32897 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32898 (libc_fesetenv, libc_feupdateenv): Likewise.
32899
4851a949
RH
32900 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32901 not previously defined.
32902 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32903 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32904 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32905 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32906 * sysdeps/ieee754/flt-32/math_private.h: New file.
32907 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32908 math_private.h below SET_FLOAT_WORD.
32909 (__isnan, __isinf_ns, __finite): Remove.
32910 (__isnanf, __isinf_nsf, __finitef): Remove.
32911
e79d442e
AS
329122012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32913
32914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32915
90b80344
DM
329162012-03-17 David S. Miller <davem@davemloft.net>
32917
32918 [BZ #6471]
32919 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32920 for 2.16.
32921
edc21804
DM
329222012-03-16 David S. Miller <davem@davemloft.net>
32923
77e927af
DM
32924 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32925 warnings.
32926
374976dd
DM
32927 [BZ #6471]
32928 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32929 properly.
32930 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32931 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32932 sysdep_routines when subdir is sysvipc.
32933 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32934 __getshmlba helper.
32935
edc21804
DM
32936 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32937
473c3ef3
L
329382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32939
32940 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32941 [__LP64__].
32942
eb0f39b6
L
329432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32944
32945 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32946 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32947 (__lround): Renamed to ...
32948 (__llround): This. Replace long int with long long int.
32949 Define lround functions as aliases of llround functions.
32950 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32951
6b6cd74b
L
329522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32953
32954 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32955 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32956 adresses to uintptr_t. Replace "long int" and "unsigned long
32957 int" with "greg_t" on va_arg.
32958
f1a77b01
L
329592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32960
32961 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32962 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32963
32964 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32965 Move e_machine check before EI_CLASS check. Handle x32
32966 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32967 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32968 SKIP_EM_IA_64 and include
32969 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32970
32971 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32972 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32973 (add_system_dir): New macro.
32974
32975 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32976 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32977
11b90b9f
JM
329782012-03-16 Joseph Myers <joseph@codesourcery.com>
32979
c36e1d23
JM
32980 [BZ #2551]
32981 [BZ #2552]
32982 [BZ #2553]
32983 [BZ #2554]
32984 [BZ #2562]
32985 [BZ #2563]
32986 [BZ #2565]
32987 [BZ #2566]
32988 [BZ #2576]
32989 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32990 (y0): Likewise.
32991 * math/w_j0f.c (j0f): Likewise.
32992 (y0f): Likewise.
32993 * math/w_j0l.c (__j0l): Likewise.
32994 (__y0l): Likewise.
32995 * math/w_j1.c (j1): Likewise.
32996 (y1): Likewise.
32997 * math/w_j1f.c (j1f): Likewise.
32998 (y1f): Likewise.
32999 * math/w_j1l.c (__j1l): Likewise.
33000 (__y1l): Likewise.
33001 * math/w_jn.c (jn): Likewise.
33002 (yn): Likewise.
33003 * math/w_jnf.c (jnf): Likewise.
33004 (ynf): Likewise.
33005 * math/w_jnl.c (__jnl): Likewise.
33006 (__ynl): Likewise.
33007 * math/libm-test.inc (j0_test): Add more tests.
33008 (j1_test): Likewise.
33009 (jn_test): Likewise. Add trailing semicolon to existing test.
33010 (y0_test): Likewise.
33011 (y1_test): Likewise.
33012 * sysdeps/i386/fpu/libm-test-ulps: Update.
33013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33014
11b90b9f
JM
33015 [BZ #13851]
33016 [BZ #13854]
33017 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33018 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33019 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33020 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33021 (__tanl): Set errno for infinite argument.
33022 * sysdeps/i386/fpu/mptan.c: Remove.
33023 * sysdeps/i386/fpu/s_tan.S: Likewise.
33024 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33025 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33026 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33027 * math/libm-test.inc (tan_test): Add more tests and enable more
33028 tests for double and long double.
33029 * sysdeps/i386/fpu/libm-test-ulps: Update.
33030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33031
6a1bd2a1
JK
330322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33033
33034 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33035 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33036
10a803e0
RM
330372012-03-16 Roland McGrath <roland@hack.frob.com>
33038
33039 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33040 * configure.in: Use it for both main tree and add-ons.
33041 * configure: Regenerated.
33042
f196c7f7
L
330432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33044
33045 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33046
8848d99d
JM
330472012-03-16 Joseph Myers <joseph@codesourcery.com>
33048
96cbe7f4
JM
33049 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33050 in comment.
33051
8848d99d
JM
33052 [BZ #13851]
33053 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33054 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33058 infinite argument.
33059 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33061 != 0 for prec == 2.
33062 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33063 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33064 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33065 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33066 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33067 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33068 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33069 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33070 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33071 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33072 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33073 * math/libm-test.inc (cos_test): Add more tests and enable more
33074 tests for long double.
33075 (sin_test): Likewise.
33076 (sincos_test): Likewise.
33077 * sysdeps/i386/fpu/libm-test-ulps: Update.
33078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33079
dd7f4703
DM
330802012-03-16 David S. Miller <davem@davemloft.net>
33081
33082 * sysdeps/sparc/fpu/math_private.h: New file.
33083
006f1daa
DM
330842012-03-15 David S. Miller <davem@davemloft.net>
33085
c0c83bc8
DM
33086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33087 file.
e6a62e18 33088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33090 file.
e6a62e18
DM
33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33096 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33097 sysdep routines.
33098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33099
88cb87d9
DM
33100 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33101 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33102
006f1daa 33103 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33105 sparc-ifunc.h
006f1daa 33106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33108 Likewise.
33109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33110 Likewise.
006f1daa
DM
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33115 Likewise.
006f1daa
DM
33116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33121 Likewise.
33122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33123 Likewise.
006f1daa
DM
33124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33130 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33131 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33148
11e0098e
AS
331492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33150
33151 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33152 scaling.
33153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33154
e85b09d0
AJ
331552012-03-15 Andreas Jaeger <aj@suse.de>
33156
33157 [BZ #13852]
33158 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33159 ieee754/flt-32 implementation for sin, cos and sincos.
33160 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33161 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33162 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33163 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33164 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33165 ieee754/flt-32 implementation for tan.
33166
33167 * math/libm-test.inc (cos_test): Enable some large input tests for
33168 float as well
33169 (sin_test): Likewise.
33170 (sincos_test): Likewise.
33171 (tan_test): Add tests for large input.
33172
33173 * sysdeps/i386/fpu/libm-test-ulps: Update.
33174
81c64153
AJ
331752012-03-15 Andreas Jaeger <aj@suse.de>
33176
33177 [BZ #13658]
33178 * math/libm-test.inc (cos_test): Add more test cases.
33179 (sin_test): Likewise.
33180 (sincos_test): Likewise.
33181
7bbfa5c6
AJ
331822012-03-15 Andreas Jaeger <aj@suse.de>
33183
33184 [BZ #13837]
33185 * math/libm-test.inc (cos_test): Add a test case for large input
33186 value.
33187 (sin_test): Likewise.
33188 (sincos_test): Likewise.
33189
331902012-03-15 Andreas Jaeger <aj@suse.de>,
33191 Joseph Myers <joseph@codesourcery.com>
33192
33193 [BZ #13658]
0671f479 33194 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33195 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33196 * sysdeps/i386/fpu/branred.c: Likewise.
33197 * sysdeps/i386/fpu/dosincos.c: Likewise.
33198 * sysdeps/i386/fpu/mpa.c: Likewise.
33199 * sysdeps/i386/fpu/s_cos.S: Likewise.
33200 * sysdeps/i386/fpu/s_sin.S: Likewise.
33201 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33202 * sysdeps/i386/fpu/sincos32.c: Likewise.
33203
33204 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33205 Define.
33206 (libc_feupdateenv_53bit): Define.
33207 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33208 Define.
33209 (libc_feupdateenv_53bit): Define.
33210
33211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33212 53 bit (without extend i386 double precision).
33213
33214 * math/libm-test.inc (sincos_test): Add tests for large input.
33215 (sin): Likewise.
33216 (cos): Likewise.
33217
33218 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33219
9cad04ea
AS
332202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33221
33222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33223
f7062b9a
DM
332242012-03-15 David S. Miller <davem@davemloft.net>
33225
33226 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33227 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33242 file.
f7062b9a 33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33245 file.
f7062b9a 33246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33248 file.
f7062b9a 33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33251 file.
f7062b9a
DM
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33254 fmin/fmax sysdep routines.
33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33256
7bd951ff
DM
332572012-03-14 David S. Miller <davem@davemloft.net>
33258
559398ab
DM
33259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33280 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33288 routines.
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33290 file.
559398ab 33291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33293 file.
559398ab 33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33296 file.
559398ab 33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33299 file.
559398ab 33300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33302 file.
559398ab 33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33305 file.
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33307 file.
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33309 file.
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33311 file.
33312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33313 New file.
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33315 file.
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33317 file.
559398ab 33318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33320 file.
559398ab 33321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33323 file.
559398ab 33324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33326 file.
559398ab 33327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33329 VIS3 routines.
559398ab
DM
33330
33331 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33332 New file.
33333
5a1c1e32
DM
33334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33335
eae47a36
DM
33336 * sysdeps/sparc/configure.in: New file.
33337 * sysdeps/sparc/configure: Generate.
33338 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33339 * configure: Regenerate.
33340 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33341 * config.make.in (have-as-vis3): New.
33342 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33343 available use -Av9d instead of -Av9a.
33344 * sysdeps/sparc/sparc64/Makefile: Likewise.
33345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33347 New file.
33348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33349 file.
33350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33351 New file.
33352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33353 file.
eae47a36
DM
33354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33359
c0c83bc8
DM
33360 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33361 fzeros/fnegs to load 0x80000000 into a float register instead of
33362 using the stack.
7bd951ff
DM
33363 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33364
bd951ccb
JM
333652012-03-14 Joseph Myers <joseph@codesourcery.com>
33366
33367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33368 bits/syscall.h.
33369 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33370 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33371 ($(inst_includedir)/bits/syscall.h): Remove rule.
33372 ($(objpfx)bits/syscall.d): Include instead of
33373 $(objpfx)syscall-list.d.
33374 (generated): Change syscall-list.h and syscall-list.d to
33375 bits/syscall.h and bits/syscall.d.
33376
bb4e6db2
RM
333772012-03-14 Roland McGrath <roland@hack.frob.com>
33378
33379 [BZ #13846]
33380 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33381
aa4a2ae1
JM
333822012-03-14 Joseph Myers <joseph@codesourcery.com>
33383
e456826d
JM
33384 [BZ #13841]
33385 * math/s_csqrt.c: Include <float.h>.
33386 (__csqrt): Scale large or subnormal inputs.
33387 * math/s_csqrtf.c: Likewise.
33388 * math/s_csqrtl.c: Likewise.
33389 * math/libm-test.inc (csqrt_test): Add more tests.
33390 * sysdeps/i386/fpu/libm-test-ulps: Update.
33391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33392
aa4a2ae1
JM
33393 [BZ #13840]
33394 * math/libm-test.inc (hypot_test): Add more tests.
33395
7c10fd35
DM
333962012-03-13 David S. Miller <davem@davemloft.net>
33397
33398 [BZ #13840]
33399 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33400 double-precision for the calculation instead of scaling.
33401
f453b98b
JM
334022012-03-13 Joseph Myers <joseph@codesourcery.com>
33403
33404 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33405 manipulate bits before adding and subtracting TWO52[sx].
33406 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33407 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33408 Likewise.
33409 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33410
09a3453f
DM
334112012-03-13 David S. Miller <davem@davemloft.net>
33412
8e59da90
DM
33413 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33414 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33416 rtld-global-offsets.h
33417 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33418
2a8ab7f2
DM
33419 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33420 large parameters.
33421
10f62770
DM
33422 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33423
5f0bdb18
DM
33424 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33425 'err' in the ifdef scope in which it is actually used.
33426
09a3453f
DM
33427 * nss/nss_db/db-init.c: Include string.h
33428
b4b2eb5e
DM
334292012-03-12 David S. Miller <davem@davemloft.net>
33430
98bb2f1c
DM
33431 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33432 masking out of the most significant byte of random value used.
33433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33434 Fix coding style in previous change.
33435
b4b2eb5e
DM
33436 * sysdeps/unix/sysv/linux/kernel-features.h
33437 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33438 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33439 expression.
33440 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33441 later.
33442
6e226b09
DM
334432012-03-11 David S. Miller <davem@davemloft.net>
33444
a1bcbd40
DM
33445 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33446 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33447 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33448 for 'resultvar' otherwise things get truncated on 64-bit.
33449
cb9d6174
DM
33450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33451 Fix masking out of the most significant byte of random value used.
33452
6e226b09
DM
33453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33454
058c132d
AS
334552012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33456
33457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33458
2d2cd515
DM
334592012-03-09 David S. Miller <davem@davemloft.net>
33460
33461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33462 variables with appropriate CPP guards.
33463 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33464 frame pointer, not the stack pointer. Correct layout comments. Fix test
33465 on resulting framesize and the management of the outregs buffer for pltexit.
33466 Preserve floating point return values across _dl_call_pltexit call.
33467 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33468 framesize and the management of the outregs buffer for pltexit.
33469 Preserve floating point return values across _dl_call_pltexit
33470 call.
33471 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33472 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33473 (print_exit): Fix format string for return register value.
33474
9a07f9d0
JM
334752012-03-10 Joseph Myers <joseph@codesourcery.com>
33476
33477 * sunrpc/Makefile (others): Add rpcgen.
33478 ($(objpfx)rpcgen): Remove special build rule and dependency on
33479 libc.
33480 * sunrpc/rpcgen.c: New file.
33481
547b5e30
PE
334822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33483
c524201a
PE
33484 [BZ #13673]
33485 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33486 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33487 * sysdeps/i386/crti.S: Likewise.
33488 * sysdeps/i386/crtn.S: Likewise.
33489 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33490 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33491 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33492 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33493 * sysdeps/sh/crti.S: Likewise.
33494 * sysdeps/sh/crtn.S: Likewise.
33495 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33496
7b6235f2
PE
33497 [BZ #13673]
33498 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33499 with URL.
33500 * locale/programs/locfile-kw.gperf: Likewise.
33501 * locale/programs/charmap-kw.h: Regenerated.
33502 * locale/programs/locfile-kw.h: Likewise.
33503
547b5e30
PE
33504 [BZ #13673]
33505 * intl/plural.y: Replace FSF snail mail address with URL.
33506 * intl/plural.c: Regenerated.
33507
5f0a5dae
RH
335082012-03-09 Richard Henderson <rth@twiddle.net>
33509
33510 * include/math_private.h: Remove file.
33511 * math/math_private.h: Move file ...
33512 * sysdeps/generic/math_private.h: ... here.
33513
b8c03620
RH
33514 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33515 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33516 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33517
4e234f5d 33518 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33519 and <math_private.h>.
33520 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33521 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33522 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33523 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33524 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33608 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33609 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33612 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33617 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33618 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33619 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33620 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33621 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33622 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33624 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33625 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33628 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33630 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33632 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33634 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33637 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33638 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33639 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33640 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33641 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33643 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33644 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33645 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33646 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33647 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33648 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33649 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33650 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33651 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33652 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33653 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33654 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33655 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33656 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33657 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33658 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33659 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33660 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33661 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33662 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33663 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33664 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33665 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33666 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33667 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33668 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33669 * sysdeps/ieee754/k_standard.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33789 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33790 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33792 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33797 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33802 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33819 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33820 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33830 * sysdeps/ieee754/s_lib_version.c: Likewise.
33831 * sysdeps/ieee754/s_matherr.c: Likewise.
33832 * sysdeps/ieee754/s_signgam.c: Likewise.
33833 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33834 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33835 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33836 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33837 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33838 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33839 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33840 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33841 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33842 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33843 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33844 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33845 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33846 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33847 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33848 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33849 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33850 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33851 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33854
1991fa03
JM
338552012-03-09 Joseph Myers <joseph@codesourcery.com>
33856
33857 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33858 * sunrpc/rpc_main.c: Likewise.
33859 * sunrpc/rpc_svcout.c: Likewise.
33860
60d6f5a6
DM
338612012-03-09 David S. Miller <davem@davemloft.net>
33862
33863 * include/math_private.h: New file.
33864
4962050e
JM
338652012-03-09 Joseph Myers <joseph@codesourcery.com>
33866
02a6f887
JM
33867 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33868 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33869 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33870 from <bits/socket_type.h>.
33871 (enum __socket_type): Don't define here.
33872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33874 bits/socket_type.h.
33875
c6e013c1
JM
33876 [BZ #13566]
33877 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33878 checking __USE_GNU.
33879
4962050e
JM
33880 * Makerules ($(inst_includedir)/%.h): New rule.
33881 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33882 (install-others): Remove variable setting.
33883 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33884
38842f45
RH
338852012-03-08 Richard Henderson <rth@twiddle.net>
33886
67bb6da6
RH
33887 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33888 from macro to inline function; merge with the
33889 !__LIBC_INTERNAL_MATH_INLINES version.
33890 (__ieee754_sqrtf): Likewise.
33891
15194b4b
RH
33892 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33893 to inline function.
33894 (__rintf, __floor, __floorf): Likewise.
33895
64e21ede
RH
33896 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33897 macro to inline function.
33898 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33899
38842f45
RH
33900 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33901 not <math/math_private.h>.
33902
c64bf5fe
DM
339032012-03-08 David S. Miller <davem@davemloft.net>
33904
33905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33906 copyright year.
33907 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33908
82d86f28
TS
339092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33910
33911 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33912 normalization.
33913 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33914 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33915
aea5d727
UD
339162012-03-08 Ulrich Drepper <drepper@gmail.com>
33917
33918 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33919 be defined individually, they must be defined as a block. Define
33920 S for printing a string instead of hidint the different by using a
33921 macro for adding the 'l'.
33922 * stdio-common/tst-fphex-wide.c: Adjust.
33923
70bca0a3
MP
339242012-03-07 Marek Polacek <polacek@redhat.com>
33925
33926 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33927
65b81130
MP
339282012-03-08 Marek Polacek <polacek@redhat.com>
33929
33930 [BZ #13806]
33931 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33932 * stdio-common/tst-fphex.c: Define a few macros to make the
33933 test reusable. Use them.
33934 * stdio-common/tst-fphex-wide.c: New file.
33935
07037eeb
JM
339362012-03-08 Joseph Myers <joseph@codesourcery.com>
33937
a7a93d50
JM
33938 [BZ #6911]
33939 * manual/macros.texi (gnusystems): New macro.
33940 (nongnusystems): Likewise.
33941 (gnulinuxhurdsystems): Likewise.
33942 (gnuhurdsystems): Likewise..
33943 (gnulinuxsystems): Likewise.
33944 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33945 variants of the GNU system, not "GNU system".
33946 * manual/conf.texi: Likewise.
33947 * manual/errno.texi: Likewise. Update example of errno macro
33948 expansion.
33949 * manual/filesys.texi: Likewise.
33950 (getumask): Document as specific to GNU/Hurd.
33951 * manual/install.texi: Likewise. Reword some references to
33952 GNU/Linux.
33953 * manual/intro.texi: Likewise.
33954 * manual/io.texi: Likewise.
33955 (File Name Portability): Detail which constraints are inapplicable
33956 to all GNU systems and which are only inapplicable to GNU/Hurd.
33957 * manual/job.texi: Likewise.
33958 * manual/llio.texi: Likewise.
33959 (O_NOCTTY): Document as present on GNU/Linux.
33960 * manual/maint.texi: Likewise.
33961 * manual/memory.texi: Likewise.
33962 * manual/pattern.texi: Likewise.
33963 * manual/pipe.texi: Likewise.
33964 * manual/process.texi: Likewise.
33965 * manual/resource.texi: Likewise.
33966 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33967 child on GNU/Hurd.
33968 * manual/setjmp.texi: Likewise.
33969 * manual/signal.texi: Likewise.
33970 * manual/startup.texi: Likewise.
33971 * manual/stdio.texi: Likewise.
33972 * manual/terminal.texi: Likewise.
33973 (ONLCR): Document as POSIX.
33974 (OXTABS): Document availability on GNU/Linux as XTABS.
33975 (ONOEOT): Document availability separately from other bits.
33976 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33977 * manual/time.texi: Likewise.
33978 * manual/users.texi: Likewise.
33979 * INSTALL: Regenerated.
33980 * sysdeps/gnu/errlist.c: Regenerated.
33981
07037eeb
JM
33982 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33983 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33984 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33985 puts.
33986 * configure: Regenerated.
33987
d1d3431a
JM
339882012-03-07 Joseph Myers <joseph@codesourcery.com>
33989
af6a1e37
JM
33990 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33991 default includes instead of AC_HEADER_CHECK.
33992 * sysdeps/i386/configure: Regenerated.
33993
d1d3431a
JM
33994 [BZ #10716]
33995 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33996 * math/s_cacoshf.c (__cacoshf): Likewise.
33997 * math/s_cacoshl.c (__cacoshl): Likewise.
33998 * math/s_casinh.c (__casinh): Set signs of result from argument.
33999 * math/s_casinhf.c (__casinhf): Likewise.
34000 * math/s_casinhl.c (__casinhl): Likewise.
34001 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34002 (casinh_test): Add more tests.
34003 * sysdeps/i386/fpu/libm-test-ulps: Update.
34004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34005
482ff4da
UD
340062012-03-07 Ulrich Drepper <drepper@gmail.com>
34007
872fda05
UD
34008 * po/zh_TW.po: Update from translation team.
34009
a4300c7a
UD
34010 * login/Makefile (distribute): Remove variable.
34011 * catgets/Makefile: Likewise.
34012 * mach/Makefile: Likewise.
34013 * malloc/Makefile: Likewise.
34014 * misc/Makefile: Likewise.
34015 * iconv/Makefile: Likewise.
34016 * nscd/Makefile: Likewise.
34017 * hurd/Makefile: Likewise.
34018 * manual/Makefile: Likewise.
34019 * locale/Makefile: Likewise.
34020 * intl/Makefile: Likewise.
34021 * conform/Makefile: Likewise.
34022 * nss/Makefile: Likewise.
34023 * time/Makefile: Likewise.
34024 * soft-fp/Makefile: Likewise.
34025 * dirent/Makefile: Likewise.
34026 * gmon/Makefile: Likewise.
34027 * po/Makefile: Likewise.
34028 * rt/Makefile: Likewise.
34029 * socket/Makefile: Likewise.
34030 * math/Makefile: Likewise.
34031 * signal/Makefile: Likewise.
34032 * debug/Makefile: Likewise.
34033 * elf/Makefile: Likewise.
34034 * timezone/Makefile: Likewise.
34035 * stdlib/Makefile: Likewise.
34036 * iconvdata/Makefile: Likewise.
34037 * sunrpc/Makefile: Likewise.
34038 * io/Makefile: Likewise.
34039 * argp/Makefile: Likewise.
34040 * inet/Makefile: Likewise.
34041 * hesiod/Makefile: Likewise.
34042 * grp/Makefile: Likewise.
34043 * csu/Makefile: Likewise.
34044 * wctype/Makefile: Likewise.
34045 * crypt/Makefile: Likewise.
34046 * libio/Makefile: Likewise.
34047 * string/Makefile: Likewise.
34048 * nis/Makefile: Likewise.
34049 * resolv/Makefile: Likewise.
34050 * stdio-common/Makefile: Likewise.
34051 * wcsmbs/Makefile: Likewise.
34052 * dlfcn/Makefile: Likewise.
34053 * posix/Makefile: Likewise.
34054
3b7c4e74 34055 [BZ #6959]
482ff4da
UD
34056 * timezone/Makefile: Don't install timezone files, just the programs
34057 and scripts.
34058
f72ed77d
UD
340592012-03-06 Ulrich Drepper <drepper@gmail.com>
34060
a000466f
UD
34061 * nss/databases.def: Add missing gshadow entry.
34062
f72ed77d
UD
34063 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34064
a53b7a4e
MP
340652012-03-06 Marek Polacek <polacek@redhat.com>
34066
34067 [BZ #13726]
34068 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34069 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34070 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34071 * stdio-common/tst-long-dbl-fphex.c: New file.
34072
e9258400
DM
340732012-03-06 David S. Miller <davem@davemloft.net>
34074
34075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34076 (set_obp_int): New function.
34077 (get_obp_int): New function.
34078 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34079 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34080 Avoid unused variable warnings on 'val' and use builtin_expect.
34081 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34082 __builtin_expect.
e9258400
DM
34083 (INLINE_CLONE_SYSCALL): Likewise.
34084
3bd2c723
DM
340852012-03-05 David S. Miller <davem@davemloft.net>
34086
34087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34088
bbb78d03
AS
340892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34090
884c5db4
AS
34091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34092
bbb78d03
AS
34093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34094 only for |x| >= 40.
34095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34096
1c9f702a 340972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34098
34099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34100 Replace gettimeofday with __vdso_gettimeofday.
34101
7be16f82
RM
34102 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34103 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34104 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34105
34106 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34107 time with __vdso_time.
34108
ed58a00f
JM
341092012-03-05 Joseph Myers <joseph@codesourcery.com>
34110
34111 * manual/lang.texi (size_t): Note types to which size_t may be
34112 equivalent with the GNU C Library, but do not describe when
34113 differences between them are significant.
34114
30ee4ced
AJ
341152012-03-05 Andreas Jaeger <aj@suse.de>
34116
34117 * sysdeps/i386/fpu/libm-test-ulps: Update.
34118
b7cd39e8
JM
341192012-03-05 Joseph Myers <joseph@codesourcery.com>
34120
34121 [BZ #3976]
34122 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34123 (__ieee754_pow): Save and restore rounding mode and use
34124 round-to-nearest for main computations.
34125 * math/libm-test.inc (pow_test_tonearest): New function.
34126 (pow_test_towardzero): Likewise.
34127 (pow_test_downward): Likewise.
34128 (pow_test_upward): Likewise.
34129 (main): Call the new functions.
34130 * sysdeps/i386/fpu/libm-test-ulps: Update.
34131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34132
34133 [BZ #3976]
34134 * math/libm-test.inc (cosh_test_tonearest): New function.
34135 (cosh_test_towardzero): Likewise.
34136 (cosh_test_downward): Likewise.
34137 (cosh_test_upward): Likewise.
34138 (sinh_test_tonearest): Likewise.
34139 (sinh_test_towardzero): Likewise.
34140 (sinh_test_downward): Likewise.
34141 (sinh_test_upward): Likewise.
34142 (main): Call the new functions.
34143 * sysdeps/i386/fpu/libm-test-ulps: Update.
34144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34145
6c6a98c9
TV
341462012-03-05 Tom de Vries <tom@codesourcery.com>
34147
34148 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34149 default stack guard is set in last bytes.
34150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34151
21bb2d2e 341522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34153
21bb2d2e 34154 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34155
21bb2d2e
AJ
34156 [BZ #13656]
34157 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34158 possibly allocate from heap instead of stack.
34159 * stdio-common/bug-vfprintf-nargs.c: New file.
34160 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34161
c6922934
AS
341622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34163
34164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34165
bc957d53
MP
341662012-03-03 Marek Polacek <polacek@redhat.com>
34167
34168 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34169 * math/math_private.h: Likewise.
34170 * stdlib/tst-strtod.c: Likewise.
34171 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34172 * sysdeps/x86_64/bits/atomic.h: Likewise.
34173
6358490d
DM
341742012-03-02 David S. Miller <davem@davemloft.net>
34175
34176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34180 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34181 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34182 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34183 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34184
01ae168d
RM
341852012-03-02 Roland McGrath <roland@hack.frob.com>
34186
d9a17c07
RM
34187 [BZ #13792]
34188 * manual/examples/README: New file, says the example source files
34189 can be used under GPL>=2.
34190 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34191 line containing just "*/".
34192 * manual/examples/add.c: Add copyright header (GPL>=2).
34193 * manual/examples/argp-ex1.c: Likewise.
34194 * manual/examples/argp-ex2.c: Likewise.
34195 * manual/examples/argp-ex3.c: Likewise.
34196 * manual/examples/argp-ex4.c: Likewise.
34197 * manual/examples/atexit.c: Likewise.
34198 * manual/examples/db.c: Likewise.
34199 * manual/examples/dir.c: Likewise.
34200 * manual/examples/dir2.c: Likewise.
34201 * manual/examples/execinfo.c: Likewise.
34202 * manual/examples/filecli.c: Likewise.
34203 * manual/examples/filesrv.c: Likewise.
34204 * manual/examples/fmtmsgexpl.c: Likewise.
34205 * manual/examples/genpass.c: Likewise.
34206 * manual/examples/inetcli.c: Likewise.
34207 * manual/examples/inetsrv.c: Likewise.
34208 * manual/examples/isockad.c: Likewise.
34209 * manual/examples/longopt.c: Likewise.
34210 * manual/examples/memopen.c: Likewise.
34211 * manual/examples/memstrm.c: Likewise.
34212 * manual/examples/mkfsock.c: Likewise.
34213 * manual/examples/mkisock.c: Likewise.
34214 * manual/examples/mygetpass.c: Likewise.
34215 * manual/examples/pipe.c: Likewise.
34216 * manual/examples/popen.c: Likewise.
34217 * manual/examples/rprintf.c: Likewise.
34218 * manual/examples/search.c: Likewise.
34219 * manual/examples/select.c: Likewise.
34220 * manual/examples/setjmp.c: Likewise.
34221 * manual/examples/sigh1.c: Likewise.
34222 * manual/examples/sigusr.c: Likewise.
34223 * manual/examples/stpcpy.c: Likewise.
34224 * manual/examples/strdupa.c: Likewise.
34225 * manual/examples/strftim.c: Likewise.
34226 * manual/examples/strncat.c: Likewise.
34227 * manual/examples/subopt.c: Likewise.
34228 * manual/examples/swapcontext.c: Likewise.
34229 * manual/examples/termios.c: Likewise.
34230 * manual/examples/testopt.c: Likewise.
34231 * manual/examples/testpass.c: Likewise.
34232 * manual/examples/timeval_subtract.c: Likewise.
34233
01ae168d
RM
34234 [BZ #13792]
34235 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34236 function to ...
34237 * manual/timeval_subtract.c.texi: ... here, new file.
34238
49efa33d
DM
342392012-03-02 David S. Miller <davem@davemloft.net>
34240
34241 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34242
28afd92d
JM
342432012-03-02 Joseph Myers <joseph@codesourcery.com>
34244
804360ed
JM
34245 [BZ #3976]
34246 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34247 (__sin): Save and restore rounding mode and use round-to-nearest
34248 for all computations.
34249 (__cos): Save and restore rounding mode and use round-to-nearest
34250 for all computations.
34251 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34252 <fenv.h>.
34253 (tan): Save and restore rounding mode and use round-to-nearest for
34254 all computations.
34255 * math/libm-test.inc (cos_test_tonearest): New function.
34256 (cos_test_towardzero): Likewise.
34257 (cos_test_downward): Likewise.
34258 (cos_test_upward): Likewise.
34259 (sin_test_tonearest): Likewise.
34260 (sin_test_towardzero): Likewise.
34261 (sin_test_downward): Likewise.
34262 (sin_test_upward): Likewise.
34263 (tan_test_tonearest): Likewise.
34264 (tan_test_towardzero): Likewise.
34265 (tan_test_downward): Likewise.
34266 (tan_test_upward): Likewise.
34267 (main): Call the new functions.
34268 * sysdeps/i386/fpu/libm-test-ulps: Update.
34269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34270
a6d06d7b
JM
34271 [BZ #10135]
34272 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34273 small n, then large n, before computing and testing k+n.
34274 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34275 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34276 Likewise.
34277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34278 Likewise.
34279 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34280 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34283 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34284 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34285 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34286 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34287 * math/libm-test.inc (scalbn_test): Add more tests.
34288 (scalbln_test): Likewise.
34289
07e12bb3
JM
34290 * manual/filesys.texi (mode_t): Describe constraints on size and
34291 signedness, not exact equivalence to a particular type.
34292 (ino_t): Likewise.
34293 (ino64_t): Likewise.
34294 (dev_t): Likewise.
34295 (nlink_t): Likewise.
34296 (blkcnt_t): Likewise.
34297 (blkcnt64_t): Likewise.
34298 * manual/llio.texi (off_t): Likewise.
34299
28afd92d
JM
34300 [BZ #3976]
34301 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34302 (__ieee754_exp): Save and restore rounding mode and use
34303 round-to-nearest for all computations.
34304 * math/libm-test.inc (exp_test_tonearest): New function.
34305 (exp_test_towardzero): Likewise.
34306 (exp_test_downward): Likewise.
34307 (exp_test_upward): Likewise.
34308 (main): Call the new functions.
34309 * sysdeps/i386/fpu/libm-test-ulps: Update.
34310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34311
b1eeb65d
CD
343122012-03-01 Chris Demetriou <cgd@google.com>
34313
34314 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34315 have predictable order.
34316
53362a4b
DM
343172012-03-01 David S. Miller <davem@davemloft.net>
34318
3c969083
DM
34319 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34320
759707de
DM
34321 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34322 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34323 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34324 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34325
dfdb8ff2
DM
34326 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34327 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34328 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34330 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34331 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34332 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34333 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34334 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34335
ead89f96
DM
34336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34337
7f66bd07
DM
34338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34339 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34340 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34341
53362a4b
DM
34342 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34343 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34344 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34345 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34346 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34347 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34348 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34349 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34350 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34351 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34352 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34355 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34356 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34358 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34359 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34360 * sysdeps/sparc/elf/configure: Regenerated.
34361
7b1902cb
JM
343622012-03-01 Joseph Myers <joseph@codesourcery.com>
34363
bec039bc
JM
34364 * configure.in (AS, LD): Require binutils 2.20 or later.
34365 * configure: Regenerated.
34366 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34367 as required minimum version.
34368 * INSTALL: Regenerated.
34369
7b1902cb
JM
34370 [BZ #2541]
34371 [BZ #4108]
34372 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34373 before squaring exponent.
34374 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34375 bottom long double and 27 bits of top long double before squaring
34376 exponent.
34377 * math/libm-test.inc (erfc_test): Add more tests.
34378 * sysdeps/i386/fpu/libm-test-ulps: Update.
34379 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34381
f775c276
KT
343822012-03-01 Kai Tietz <ktietz@redhat.com>
34383
34384 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34385 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34386 containing bit-fields.
34387 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34388 * soft-fp/single.h (_FP_UNION_S): Likewise.
34389 * soft-fp/double.h (_FP_UNION_D): Likewise.
34390
5b8a4d4a
JM
343912012-02-29 Joseph Myers <joseph@codesourcery.com>
34392
0bab47b6
JM
34393 [BZ #13786]
34394 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34395 not include ../strcmp.S.
34396 [USE_AS_STRNCASECMP_L]: Likewise.
34397 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34398 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34399 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34400 (__strncasecmp_l_ia32): Define as alias to
34401 __strncasecmp_l_nonascii.
34402
0fcad3e2
JM
34403 [BZ #5794]
34404 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34405 * sysdeps/i386/fpu/libm-test-ulps: Update.
34406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34407
5b8a4d4a
JM
34408 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34410
8fdceb2e
JL
344112012-02-29 Jeff Law <law@redhat.com>
34412
34413 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34414 out of bounds read.
34415
1f393a11
MP
344162012-02-29 Marek Polacek <polacek@redhat.com>
34417
34418 [BZ #13706]
34419 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34420 * elf/Makefile: Add rules to run tst-unused-dep.out.
34421
8847f037
DM
344222012-02-28 David S. Miller <davem@davemloft.net>
34423
34424 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34425 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34428 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34429 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34430
169d7f11
JM
344312012-02-29 Joseph Myers <joseph@codesourcery.com>
34432
34433 * math/libm-test.inc (llround_test): Move one test from
34434 lround_test. Use TEST_f_L in moved test.
34435 (lround_test): Move misplaced test to llround_test. Add testcase
34436 from bug 2561.
34437
39adf059
UD
344382012-02-28 Ulrich Drepper <drepper@gmail.com>
34439
34440 * sysdeps/x86_64/fpu/e_expf.S: New file.
34441 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34442
71b5d1c5
SB
344432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34444
34445 [BZ #13637]
34446 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34447 of remain_len that may cause incomplete multi-byte character and
34448 false match.
34449 * posix/bug-regex33.c: New file.
34450 * posix/Makefile (tests): Add bug-regex33.
34451
1f77f049
JM
344522012-02-28 Joseph Myers <joseph@codesourcery.com>
34453
34454 * manual/macros.texi: New file.
34455 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34456 * manual/libc.texinfo: Include macros.texi.
34457 * manual/creatute.texi: Likewise.
34458 * manual/install.texi: Likewise.
34459 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34460 @glibcadj{} in references to the GNU C Library.
34461 * manual/charset.texi: Likewise.
34462 * manual/conf.texi: Likewise.
34463 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34464 when not using those macros.
34465 * manual/creature.texi: Likewise.
34466 * manual/crypt.texi: Likewise.
34467 * manual/errno.texi: Likewise.
34468 * manual/filesys.texi: Likewise.
34469 * manual/header.texi: Likewise.
34470 * manual/install.texi: Likewise.
34471 * manual/intro.texi: Likewise.
34472 * manual/io.texi: Likewise.
34473 * manual/job.texi: Likewise.
34474 * manual/lang.texi: Likewise.
34475 * manual/libc.texiinfo: Likewise.
34476 * manual/llio.texi: Likewise.
34477 * manual/locale.texi: Likewise.
34478 * manual/maint.texi: Likewise.
34479 * manual/math.texi: Likewise.
34480 * manual/memory.texi: Likewise.
34481 * manual/message.texi: Likewise.
34482 * manual/nss.texi: Likewise.
34483 * manual/pattern.texi: Likewise.
34484 * manual/process.texi: Likewise.
34485 * manual/resource.texi: Likewise.
34486 * manual/search.texi: Likewise.
34487 * manual/setjmp.texi: Likewise.
34488 * manual/signal.texi: Likewise.
34489 * manual/socket.texi: Likewise.
34490 * manual/startup.texi: Likewise.
34491 * manual/stdio.texi: Likewise.
34492 * manual/string.texi: Likewise.
34493 * manual/sysinfo.texi: Likewise.
34494 * manual/syslog.texi: Likewise.
34495 * manual/terminal.texi: Likewise.
34496 * manual/time.texi: Likewise.
34497 * manual/users.texi: Likewise.
34498 * INSTALL: Regenerated.
34499 * NOTES: Regenerated.
d40c5d54 34500 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34501
450bf206
AS
345022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34503
34504 * include/dirent.h: Include <dirstream.h> before
34505 <dirent/dirent.h>.
34506
741a235b
DM
345072012-02-28 David S. Miller <davem@davemloft.net>
34508
34509 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34510 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34511 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34512 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34513
d6b5aa58
DM
345142012-02-27 David S. Miller <davem@davemloft.net>
34515
1aff59a3
DM
34516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34518 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34519 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34520
d6b5aa58
DM
34521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34522 frame pointer instead of stack pointer relative arg slot.
34523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34524 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34525 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34526
433f48bf
CD
345272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34528
34529 [BZ #3992]
34530 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34531
d674b76d
DM
345322012-02-27 David S. Miller <davem@davemloft.net>
34533
34534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34538 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34539 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34540 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34541 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34542
0e7727f7
JM
345432012-02-27 Joseph Myers <joseph@codesourcery.com>
34544
34545 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34546 later. Allow versions 5-9.
43be4ca2 34547 * configure: Regenerated.
0e7727f7
JM
34548 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34549 required minimum version and 4.6 as recommended version. Do not
34550 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34551 * INSTALL: Regenerated.
0e7727f7 34552
a78bc654
DM
345532012-02-27 David S. Miller <davem@davemloft.net>
34554
428d5830
DM
34555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34561 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34562 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34563
a78bc654
DM
34564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34565 manipulate bits before adding and subtracting TWO112[sx].
34566 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34567
4579f81c
RM
345682012-02-27 Roland McGrath <roland@hack.frob.com>
34569
36c8acb4
RM
34570 [BZ #13775]
34571 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34572 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34573 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34574 being in POSIX, because they are in 1003.1-2008.
34575
84ad622b
RM
34576 * rt/tst-aio.c: Include <fcntl.h>.
34577 * rt/tst-aio7.c: Likewise.
34578 * rt/tst-aio64.c: Likewise.
34579
4579f81c
RM
34580 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34581
abd923db
JM
345822012-02-27 Joseph Myers <joseph@codesourcery.com>
34583
34584 * manual/install.texi (--with-headers): Describe headers as
34585 interface headers, not private headers.
34586 (Specific advice for GNU/Linux systems): Describe use of headers
34587 from "make headers_install", not private headers from older
34588 kernels.
43be4ca2 34589 * INSTALL: Regenerated.
abd923db
JM
34590 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34591 Change to 2.6.19.
34592 * sysdeps/unix/sysv/linux/configure: Regenerated.
34593
6664049b
JM
34594 * manual/llio.texi (fclean): Remove documentation.
34595
bb8b6697
JM
34596 * manual/Makefile (libc-texi-generated): New variable. Include
34597 version.texi.
34598 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34599 $(libc-texi-generated), not duplicated list of files.
34600 (version.texi, stamp-version): New rules.
34601 (realclean): Remove $(libc-texi-generated), not individual files
34602 from that list. Do not remove dir-add.texinfo.
34603 * manual/libc.texinfo: Comment out uses of edition numbers and
34604 references to printed manual. Remove last-updated dates.
34605 (EDITION): Comment out.
34606 (ISBN): Likewise.
34607 (VERSION, UPDATED): Remove.
34608 (version.texi): Include.
34609
12e5c3b9
AS
346102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34611
34612 * sysdeps/posix/spawni.c: Include <signal.h>.
34613 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34614 * sysdeps/pthread/aio_fsync.c: Likewise.
34615
4efeffc1 346162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34617
ba63ba08
UD
34618 * conform/Makefile (tests): Run only when not cross-compiling and
34619 when fast-check is not defined.
34620
d94a4670
UD
34621 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34622 * conform/data/limits.h-data: Fixes for POSIX2008.
34623 * conform/run-conformtest.sh: Run all tests.
34624 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34625 headers.
34626 * include/bits/dlfcn.h: Likewise.
34627 * include/langinfo.h: Likewise.
34628 * include/monetary.h: Likewise.
34629 * include/sys/poll.h: Likewise.
34630
34631 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34632 for __USE_GNU.
34633 * posix/spawn.h: Define __need_sigset_t.
34634 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34635 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34636 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34637 to get sigevent_t only.
34638 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34639 only for __USE_GNU.
34640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34641 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34642 process_vm_writev only for __USE_GNU.
34643 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34644
34645 * conform/Makefile: For now ignore errors from run-conformtest.
34646 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34647 POSIX to avoid namespace pollution. Don't prepend headers.
34648 * conform/data/aio.h-data: Fixes for POSIX testing.
34649 * conform/data/fcntl.h-data: Likewise.
34650 * conform/data/glob.h-data: Likewise.
34651 * conform/data/grp.h-data: Likewise.
34652 * conform/data/pthread.h-data: Likewise.
34653 * conform/data/pwd.h-data: Likewise.
34654 * conform/data/signal.h-data: Likewise.
34655 * conform/data/spawn.h-data: Likewise.
34656 * conform/data/stdio.h-data: Likewise.
34657 * conform/data/stdlib.h-data: Likewise.
34658 * conform/data/stropts.h-data: Likewise.
34659 * conform/data/sys/mman.h-data: Likewise.
34660 * conform/data/sys/stat.h-data: Likewise.
34661 * conform/data/sys/types.h-data: Likewise.
34662 * conform/data/sys/wait.h-data: Likewise.
34663 * conform/data/time.h-data: Likewise.
34664 * conform/data/unistd.h-data: Likewise.
34665 * conform/data/utime.h-data: Likewise.
34666
34667 * io/sys/stat.h: fchmod was always in POSIX.
34668 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34669 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34670 * rt/aio.h: Define __need_timespec before including <time.h>.
34671 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34672 struct. Add forward declaration of pthread_attr_t and use it in
34673 sigevent.
34674 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34675 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34676 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34677 always remove CLK_TCK definition.
34678
c20105c3
AS
346792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34680
34681 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34682
7a270350
UD
346832012-02-25 Ulrich Drepper <drepper@gmail.com>
34684
31341567
UD
34685 * conform/run-conformtest.sh: New file.
34686 * conform/Makefile: Run run-conformtest for tests.
34687 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34688 support.
34689
34690 * conform/data/uchar.h-data: New file.
34691 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34692 * conform/data/arpa/inet.h-data: Likewise.
34693 * conform/data/assert.h-data: Likewise.
34694 * conform/data/complex.h-data: Likewise.
34695 * conform/data/cpio.h-data: Likewise.
34696 * conform/data/ctype.h-data: Likewise.
34697 * conform/data/dirent.h-data: Likewise.
34698 * conform/data/dlfcn.h-data: Likewise.
34699 * conform/data/errno.h-data: Likewise.
34700 * conform/data/fcntl.h-data: Likewise.
34701 * conform/data/float.h-data: Likewise.
34702 * conform/data/fmtmsg.h-data: Likewise.
34703 * conform/data/fnmatch.h-data: Likewise.
34704 * conform/data/ftw.h-data: Likewise.
34705 * conform/data/glob.h-data: Likewise.
34706 * conform/data/grp.h-data: Likewise.
34707 * conform/data/iconv.h-data: Likewise.
34708 * conform/data/inttypes.h-data: Likewise.
34709 * conform/data/langinfo.h-data: Likewise.
34710 * conform/data/libgen.h-data: Likewise.
34711 * conform/data/limits.h-data: Likewise.
34712 * conform/data/locale.h-data: Likewise.
34713 * conform/data/math.h-data: Likewise.
34714 * conform/data/monetary.h-data: Likewise.
34715 * conform/data/mqueue.h-data: Likewise.
34716 * conform/data/ndbm.h-data: Likewise.
34717 * conform/data/net/if.h-data: Likewise.
34718 * conform/data/netdb.h-data: Likewise.
34719 * conform/data/netinet/in.h-data: Likewise.
34720 * conform/data/nl_types.h-data: Likewise.
34721 * conform/data/poll.h-data: Likewise.
34722 * conform/data/pthread.h-data: Likewise.
34723 * conform/data/pwd.h-data: Likewise.
34724 * conform/data/regex.h-data: Likewise.
34725 * conform/data/sched.h-data: Likewise.
34726 * conform/data/search.h-data: Likewise.
34727 * conform/data/semaphore.h-data: Likewise.
34728 * conform/data/setjmp.h-data: Likewise.
34729 * conform/data/signal.h-data: Likewise.
34730 * conform/data/spawn.h-data: Likewise.
34731 * conform/data/stdarg.h-data: Likewise.
34732 * conform/data/stdio.h-data: Likewise.
34733 * conform/data/stdlib.h-data: Likewise.
34734 * conform/data/string.h-data: Likewise.
34735 * conform/data/strings.h-data: Likewise.
34736 * conform/data/stropts.h-data: Likewise.
34737 * conform/data/sys/ipc.h-data: Likewise.
34738 * conform/data/sys/mman.h-data: Likewise.
34739 * conform/data/sys/msg.h-data: Likewise.
34740 * conform/data/sys/resource.h-data: Likewise.
34741 * conform/data/sys/select.h-data: Likewise.
34742 * conform/data/sys/sem.h-data: Likewise.
34743 * conform/data/sys/shm.h-data: Likewise.
34744 * conform/data/sys/socket.h-data: Likewise.
34745 * conform/data/sys/stat.h-data: Likewise.
34746 * conform/data/sys/statvfs.h-data: Likewise.
34747 * conform/data/sys/time.h-data: Likewise.
34748 * conform/data/sys/timeb.h-data: Likewise.
34749 * conform/data/sys/times.h-data: Likewise.
34750 * conform/data/sys/types.h-data: Likewise.
34751 * conform/data/sys/uio.h-data: Likewise.
34752 * conform/data/sys/un.h-data: Likewise.
34753 * conform/data/sys/utsname.h-data: Likewise.
34754 * conform/data/sys/wait.h-data: Likewise.
34755 * conform/data/syslog.h-data: Likewise.
34756 * conform/data/tar.h-data: Likewise.
34757 * conform/data/termios.h-data: Likewise.
34758 * conform/data/utime.h-data: Likewise.
34759 * conform/data/utmpx.h-data: Likewise.
34760 * conform/data/varargs.h-data: Likewise.
34761 * conform/data/wchar.h-data: Likewise.
34762 * conform/data/wctype.h-data: Likewise.
34763 * conform/data/wordexp.h-data: Likewise.
34764
34765 * include/stropts.h: New file.
34766 * include/uchar.h: New file.
34767 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34768 * include/assert.h: Likewise.
34769 * include/ctype.h: Likewise.
34770 * include/dirent.h: Likewise.
34771 * include/dlfcn.h: Likewise.
34772 * include/fcntl.h: Likewise.
34773 * include/fnmatch.h: Likewise.
34774 * include/glob.h: Likewise.
34775 * include/grp.h: Likewise.
34776 * include/libio.h: Likewise.
34777 * include/locale.h: Likewise.
34778 * include/math.h: Likewise.
34779 * include/net/if.h: Likewise.
34780 * include/netdb.h: Likewise.
34781 * include/netinet/in.h: Likewise.
34782 * include/pthread.h: Likewise.
34783 * include/pwd.h: Likewise.
34784 * include/regex.h: Likewise.
34785 * include/sched.h: Likewise.
34786 * include/search.h: Likewise.
34787 * include/setjmp.h: Likewise.
34788 * include/signal.h: Likewise.
34789 * include/stdio.h: Likewise.
34790 * include/stdlib.h: Likewise.
34791 * include/string.h: Likewise.
34792 * include/sys/cdefs.h: Likewise.
34793 * include/sys/mman.h: Likewise.
34794 * include/sys/msg.h: Likewise.
34795 * include/sys/resource.h: Likewise.
34796 * include/sys/select.h: Likewise.
34797 * include/sys/socket.h: Likewise.
34798 * include/sys/stat.h: Likewise.
34799 * include/sys/statvfs.h: Likewise.
34800 * include/sys/time.h: Likewise.
34801 * include/sys/times.h: Likewise.
34802 * include/sys/uio.h: Likewise.
34803 * include/sys/utsname.h: Likewise.
34804 * include/sys/wait.h: Likewise.
34805 * include/termios.h: Likewise.
34806 * include/time.h: Likewise.
34807 * include/ulimit.h: Likewise.
34808 * include/unistd.h: Likewise.
34809 * include/utime.h: Likewise.
34810 * include/wchar.h: Likewise.
34811 * include/wctype.h: Likewise.
34812 * include/wordexp.h: Likewise.
34813
34814 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34815
7a270350
UD
34816 * time/time.h: TIME_UTC must be a macro.
34817 Make timespec_get available for ISO C11 only as well.
34818
7724defc
UD
348192012-02-24 Ulrich Drepper <drepper@gmail.com>
34820
34821 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34822 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34823
6b1d1d46
JM
348242012-02-24 Joseph Myers <joseph@codesourcery.com>
34825
34826 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34827
0f8bbd69
JM
348282012-02-24 Joseph Myers <joseph@codesourcery.com>
34829
34830 * manual/texinfo.tex: Update to version 2012-01-19.16.
34831
66ab80bc
JM
348322012-02-24 Joseph Myers <joseph@codesourcery.com>
34833
34834 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34835
74981cc5
RM
348362012-02-24 Roland McGrath <roland@hack.frob.com>
34837
ee968201
RM
34838 [BZ #13738]
34839 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34840 * manual/fdl-1.3.texi: New file.
34841 * manual/fdl-1.1.texi: File removed.
34842
74981cc5
RM
34843 [BZ #13738]
34844 * manual/libc.texinfo (FDL_VERSION): New @set.
34845 Use it for mention of FDL in cover text.
34846 (Documentation License): Use it in @include file name.
34847
7bb764bc
JM
348482012-02-22 Joseph Myers <joseph@codesourcery.com>
34849 Roland McGrath <roland@hack.frob.com>
34850
34851 [BZ #5461]
34852 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34853 not LONG_LONG_MAX and LONG_LONG_MIN.
34854 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34855 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34856 name.
34857 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34858
6cbeae47
JM
348592012-02-22 Joseph Myers <joseph@codesourcery.com>
34860
34861 [BZ #2547]
34862 [BZ #11365]
34863 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34864 manipulate bits before adding and subtracting TWO23[sx].
34865 * math/libm-test.inc (nearbyint_test): Add more tests.
34866
fe45ce09
JM
348672012-02-22 Joseph Myers <joseph@codesourcery.com>
34868
34869 [BZ #2548]
34870 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34871 bits before adding and subtracting TWO23[sx].
34872 * math/libm-test.inc (rint_test): Add more tests.
34873 (rint_test_tonearest): Likewise.
34874 (rint_test_towardzero): Likewise.
34875 (rint_test_downward): Likewise.
34876 (rint_test_upward: Likewise.
34877
ff3b3d82
JM
348782012-02-22 Joseph Myers <joseph@codesourcery.com>
34879
34880 [BZ #10110]
34881 * include/stdc-predef.h: New file. Extracted from features.h.
34882 * include/features.h: Include stdc-predef.h.
34883 * Makefile (headers): Add stdc-predef.h.
34884 * CONFORMANCE (Compiler limitations): Update.
34885
ef0aab35
JM
348862012-02-22 Joseph Myers <joseph@codesourcery.com>
34887
34888 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34889
58639409
DM
348902012-02-21 David S. Miller <davem@davemloft.net>
34891
34892 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34893 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34894
c0e70b25
DM
348952012-02-20 David S. Miller <davem@davemloft.net>
34896
34897 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34898 using a normal save/restore sequence, rather than allocating a
34899 dummy stack frame just to store a frame pointer and restore.
34900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34901
fb06851d
JM
349022012-02-21 Joseph Myers <joseph@codesourcery.com>
34903
34904 * manual/install.texi: Fix stray word in line-wrapped comment.
34905
7a8b71c3
DM
349062012-02-20 David S. Miller <davem@davemloft.net>
34907
d510c123
DM
34908 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34909 both binutils and gcc support GOTDATA.
34910
0722d7c2
DM
34911 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34912 "rd %pc" in the PIC register setup sequences.
34913
3d2b3019
DM
34914 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34915 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34916 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34917 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34918 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34920 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34923 (SYSCALL_ERROR_HANDLER): Likewise.
34924 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34925 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34927 (SYSCALL_ERROR_HANDLER): Likewise.
34928
c80098a9
DM
34929 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34930 (HAVE_GCC_GOTDATA): New.
34931 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34932 relocation support in both binutils and gcc.
34933 * sysdeps/sparc/elf/configure: Regenerate.
34934
3a2545a0
DM
34935 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34936 * sysdeps/sparc/sparc32/elf/configure: Delete.
34937 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34938 * sysdeps/sparc/sparc64/elf/configure: Delete.
34939 * sysdeps/sparc/elf/configure.in: New file.
34940 * sysdeps/sparc/elf/configure: Generate.
34941
7a8b71c3
DM
34942 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34943 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34944 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34945 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34946 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34947
f1e86fca
JM
349482012-02-21 Joseph Myers <joseph@codesourcery.com>
34949
34950 * manual/install.texi: Do not mention specific glibc version
34951 numbers.
34952 * manual/libc.texinfo (VERSION, UPDATED): Update.
34953 (@copying): Use @copyright{} and range of years.
34954
0e7dfaef
JM
349552012-02-21 Joseph Myers <joseph@codesourcery.com>
34956
34957 [BZ #13695]
34958 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34959 [crti.S not in sysdirs] (generated): Do not append.
34960 [crti.S not in sysdirs] (omit-deps): Likewise.
34961 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34962 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34963 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34964 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34965 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34966 Likewise.
34967 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34968 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34969 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34970 * csu/defs.awk: Remove file.
34971 * sysdeps/generic/initfini.c: Likewise.
34972 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34973 variable.
34974 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34975 Likewise.
34976
599af3ca
JM
349772012-02-20 Joseph Myers <joseph@codesourcery.com>
34978
34979 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34980 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34981 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34982 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34983 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34984 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34985 <bits/epoll.h>.
34986 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34987 (__EPOLL_PACKED): Define to empty if not defined by
34988 <bits/epoll.h>.
34989 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34991 bits/epoll.h.
34992
0e499750
JM
349932012-02-20 Joseph Myers <joseph@codesourcery.com>
34994
34995 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34996 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34997 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34998 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34999 <bits/timerfd.h>.
35000 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35002 bits/timerfd.h.
35003
5ad91f6e
JM
350042012-02-20 Joseph Myers <joseph@codesourcery.com>
35005
35006 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35007 in C locale.
35008 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35009 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35010 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35012
06b99b02
AJ
350132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35014
35015 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35016 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35017
7638c0fd
AS
350182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35019
35020 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35021 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35022 defined.
35023 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35024 Likewise.
35025 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35026 entry for 2.16.
35027
92221550
AJ
350282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35029
35030 * math/w_acos.c: Use non-signaling floating-point comparisons.
35031 * math/w_acosf.c: Likewise.
35032 * math/w_acosh.c: Likewise.
35033 * math/w_acoshf.c: Likewise.
35034 * math/w_acoshl.c: Likewise.
35035 * math/w_acosl.c: Likewise.
35036 * math/w_asin.c: Likewise.
35037 * math/w_asinf.c: Likewise.
35038 * math/w_asinl.c: Likewise.
35039 * math/w_atanh.c: Likewise.
35040 * math/w_atanhf.c: Likewise.
35041 * math/w_atanhl.c: Likewise.
35042 * math/w_exp2.c: Likewise.
35043 * math/w_exp2f.c: Likewise.
35044 * math/w_exp2l.c: Likewise.
35045 * math/w_j0.c: Likewise.
35046 * math/w_j0f.c: Likewise.
35047 * math/w_j0l.c: Likewise.
35048 * math/w_j1.c: Likewise.
35049 * math/w_j1f.c: Likewise.
35050 * math/w_j1l.c: Likewise.
35051 * math/w_jn.c: Likewise.
35052 * math/w_jnf.c: Likewise.
35053 * math/w_log.c: Likewise.
35054 * math/w_log10.c: Likewise.
35055 * math/w_log10f.c: Likewise.
35056 * math/w_log10l.c: Likewise.
35057 * math/w_log2.c: Likewise.
35058 * math/w_log2f.c: Likewise.
35059 * math/w_log2l.c: Likewise.
35060 * math/w_logf.c: Likewise.
35061 * math/w_logl.c: Likewise.
35062 * math/w_sqrt.c: Likewise.
35063 * math/w_sqrtf.c: Likewise.
35064 * math/w_sqrtl.c: Likewise.
35065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35066 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35067 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35068 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35069 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35070
ebaf36eb
JM
350712012-02-19 Joseph Myers <joseph@codesourcery.com>
35072
35073 [BZ #9739]
35074 * manual/string.texi (strnlen): Use correct parameter name in
35075 equivalent expression.
35076
71c254a6
JM
350772012-02-19 Joseph Myers <joseph@codesourcery.com>
35078
35079 [BZ #11174]
35080 * manual/users.texi (seteuid): Consistently use neweuid for
35081 argument name.
35082
16d2c631
JM
350832012-02-19 Joseph Myers <joseph@codesourcery.com>
35084
35085 [BZ #13704]
35086 * manual/nss.texi (Services in the NSS configuration): Correct
35087 list of services in example configuration file.
35088
cd837b09
NB
350892012-02-19 Nick Bowler <nbowler@draconx.ca>
35090
35091 [BZ #11322]
35092 * manual/arith.texi: Remove statements about negative zero
35093 behaving identically to zero.
35094
02c4bbad
JM
350952012-02-18 Joseph Myers <joseph@codesourcery.com>
35096
35097 [BZ #5993]
35098 * manual/install.texi: Do not document upgrading from libc5.
35099
366842e7
JM
351002012-02-18 Joseph Myers <joseph@codesourcery.com>
35101
35102 [BZ #4596]
35103 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35104
dd54084d
DM
351052012-02-18 David S. Miller <davem@davemloft.net>
35106
35107 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35108 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35109 %o7 across the call.
35110 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35111 instead.
35112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35113 SETUP_PIC_REG_LEAF.
35114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35115 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35116 * sysdeps/sparc/crtn.S: Likewise.
35117
2bcc53a3
UD
351182012-02-17 Ulrich Drepper <drepper@gmail.com>
35119
35120 * aout/Makefile: Remove.
35121
09c093b5
RK
351222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35123
35124 [BZ #13058]
35125 * manual/examples/argp-ex1.c (main): Format definition in GNU
35126 style.
35127 * manual/examples/argp-ex2.c (main): Likewise.
35128 * manual/examples/argp-ex3.c (main): Likewise.
35129 * manual/examples/argp-ex4.c (main): Likewise.
35130 * manual/examples/longopt.c (main): Use new-style prototype
35131 definition.
35132 * manual/examples/strncat.c (main): Specify return type and use
35133 (void) for arguments.
35134 * manual/examples/subopt.c (main): Use char **argv argument.
35135
2ee633a2
JM
351362012-02-17 Joseph Myers <joseph@codesourcery.com>
35137
35138 [BZ #5077]
35139 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35140 rounding modes.
35141
0520adde
FB
351422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35143
35144 [BZ #6907]
35145 * manual/string.texi (strchr): Change when strchrnul is
35146 recommended.
35147
3f4081cd
DGM
351482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35149
35150 [BZ #174]
35151 * manual/locale.texi (setlocale): Document LOCPATH.
35152
d1b10e78
JM
351532012-02-17 Joseph Myers <joseph@codesourcery.com>
35154
35155 [BZ #10210]
35156 * manual/process.texi (execle): Move @dots{} before last argument.
35157
79c6869c
PB
351582012-02-17 Paul Bolle <pebolle@tiscali.nl>
35159
35160 [BZ #12047]
35161 * manual/charset.texi (Generic Charset Conversion): Fix typo
35162 (LC_TYPE -> LC_CTYPE).
35163
cc6e48bc
NB
351642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35165
35166 [BZ #5805]
35167 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35168 (scalbnf): Likewise.
35169 (scalbnl): Likewise.
35170 (scalbln): Likewise.
35171 (scalblnf): Likewise.
35172 (scalblnl): Likewise.
35173 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35174 (vwarnx): Likewise.
35175 (verr): Likewise.
35176 (verrx): Likewise.
35177 * manual/filesys.texi (telldir): Use braces around return type.
35178 * manual/llio.texi (mmap): Add space after comma.
35179 (mmap64): Likewise.
35180 * manual/math.texi (jn): Use @var{} on parameter names.
35181 (jnf): Likewise.
35182 (jnl): Likewise.
35183 (yn): Likewise.
35184 (ynf): Likewise.
35185 (ynl): Likewise.
35186 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35187 line.
35188 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35189 "...".
35190 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35191 (sched_get_priority_max): Likewise.
35192 * manual/signal.texi (sigvec): Add space after comma.
35193 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35194 names.
35195 (if_indextoname): Likewise.
35196 (if_freenameindex): Likewise.
35197 (sendto): Use ',' instead of '.' in prototype.
35198 * manual/startup.texi (syscall): Use @dots{} instead of literal
35199 "...".
35200 * manual/stdio.texi (__fpending): Separate initial words of
35201 paragraph from @deftypefun line.
35202 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35203 "...".
35204 (vsyslog): Use @var{} on parameter names.
35205 * manual/terminal.texi (stty): Use @var{} on parameter names.
35206 * manual/users.texi (getutmp): Use @var{} on parameter names.
35207 (getutmpx): Likewise.
35208
5b23062f
JM
352092012-02-17 Joseph Myers <joseph@codesourcery.com>
35210
35211 [BZ #6884]
35212 * manual/stdio.texi (fopen): Fix typos in description of
35213 ",ccs=STRING".
35214
8dee4833
AJ
352152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35216
35217 [BZ #4026]
35218 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35219 get clock_id definition.
35220
9078ce93
TS
352212012-02-17 Thomas Schwinge <thomas@schwinge.name>
35222
35223 [BZ #4822]
35224 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35225 (madvise): Cast every argument to void on its own.
35226
3835c55f
JM
352272012-02-17 Joseph Myers <joseph@codesourcery.com>
35228
35229 [BZ #9902]
35230 * manual/startup.texi (Exit Status): Fix typo.
35231
35c47e37
JM
352322012-02-17 Joseph Myers <joseph@codesourcery.com>
35233
35234 [BZ #10140]
35235 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35236 * manual/examples/argp-ex2.c: Likewise.
35237 * manual/examples/argp-ex3.c: Likewise.
35238
e3b69ca7
RH
352392012-02-16 Richard Henderson <rth@redhat.com>
35240
35241 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35242 * sysdeps/s390/s390-32/initfini.c: Remove.
35243 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35244 * sysdeps/s390/s390-64/initfini.c: Remove.
35245
df83af67
KK
352462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35247
35248 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35249 compiler output for sysdeps/generic/initfini.c.
35250 * sysdeps/sh/elf/initfini.c: Remove file.
35251
f63f3380
DM
352522012-02-16 David S. Miller <davem@davemloft.net>
35253
fb59b3a4
DM
35254 [BZ #11494]
35255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35256
f63f3380
DM
35257 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35258 * sysdeps/sparc/crti.S: New file.
35259 * sysdeps/sparc/crtn.S: New file.
35260 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35261 * sysdeps/sparc/sparc64/Makefile: Likewise.
35262
df6a4a4a
MF
352632012-02-15 Mike Frysinger <vapier@gentoo.org>
35264
6dd8f3dc 35265 [BZ #3335]
df6a4a4a
MF
35266 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35267
1cac7236
RM
352682012-02-15 Roland McGrath <roland@hack.frob.com>
35269
d2c736f8
RM
35270 [BZ #4822]
35271 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35272
1cac7236
RM
35273 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35274 (write, read, close): Likewise.
35275 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35276
8e475601
JM
352772012-02-15 Joseph Myers <joseph@codesourcery.com>
35278
35279 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35280 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35281 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35282 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35283 <bits/signalfd.h>.
35284 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35286 bits/signalfd.h.
35287
ed656b40
MP
352882012-02-14 Marek Polacek <polacek@redhat.com>
35289
35290 * sysdeps/x86_64/crti.S: New file.
35291 * sysdeps/x86_64/crtn.S: New file.
35292 * sysdeps/x86_64/elf/initfini.c: Remove file.
35293
2a979d3a
JM
352942012-02-13 Joseph Myers <joseph@codesourcery.com>
35295
35296 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35297 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35298 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35299 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35300 <bits/inotify.h>.
35301 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35303 bits/inotify.h.
35304
2a418ac3
JM
353052012-02-13 Joseph Myers <joseph@codesourcery.com>
35306
35307 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35308 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35309 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35310 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35311 <bits/eventfd.h>.
35312 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35314 bits/eventfd.h.
35315
fb779be7
TS
353162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35317
e19e83c5
RM
35318 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35319 __feraiseexcept instead of feraiseexcept.
7c35ffed 35320
fb779be7
TS
35321 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35322 nanosleep invocations.
35323 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35324 strings, and add error checking for a nanosleep invocations.
35325
59ba27a6
PE
353262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35327
35328 Replace FSF snail mail address with URLs, as per GNU coding standards.
35329 Most of the snail mail addresses were wrong anyway, and omitting
35330 them makes the source code easier to maintain. Almost all of the
35331 changes are to license notices and to locale LC_IDENTIFICATION
35332 addresses, except for this one:
35333 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35334 not its snail mail address.
35335
57b957eb
RH
353362012-02-09 Richard Henderson <rth@twiddle.net>
35337
af850b1c
RH
35338 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35339 of kernel-features.h.
35340
57b957eb
RH
35341 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35342
6b73181a
MP
353432012-02-08 Marek Polacek <polacek@redhat.com>
35344
35345 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35346 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35347 * sysdeps/gnu/_G_config.h: Likewise.
35348 * sysdeps/generic/_G_config.h: Likewise.
35349
26ecc33a
AS
353502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35351
6c6dbc63
AS
35352 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35353 tests.
35354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35355
e216c012
AS
35356 * sysdeps/powerpc/powerpc32/crti.S: New file.
35357 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35358 * sysdeps/powerpc/powerpc64/crti.S: New file.
35359 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35360
26ecc33a
AS
35361 * Makeconfig (have-initfini): Don't set.
35362 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35363 * configure.in (nopic_initfini): Don't substitute.
35364 * config.h.in (HAVE_INITFINI): Don't #undef.
35365 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35366 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35367
3add8e13
JM
353682012-02-08 Joseph Myers <joseph@codesourcery.com>
35369
35370 Support crti.S and crtn.S provided directly by architectures.
35371 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35372 [crti.S in sysdirs] (omit-deps): Likewise.
35373 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35374 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35375 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35376 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35377 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35378 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35379 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35380 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35381 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35382 compiler output for sysdeps/generic/initfini.c.
35383 * sysdeps/i386/elf/Makefile: Remove file.
35384 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35385
a22f12b4
MP
353862012-02-07 Marek Polacek <polacek@redhat.com>
35387
35388 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35389 * sysdeps/gnu/_G_config.h: Likewise.
35390 * sysdeps/mach/hurd/_G_config.h: Likewise.
35391
148cf100
MP
353922012-02-07 Marek Polacek <polacek@redhat.com>
35393
35394 * math/Makefile (tests): Add tst-CMPLX2.
35395 * math/tst-CMPLX2.c: New file.
35396
cfdc0dd7
AS
353972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35398
84ba42c4
AS
35399 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35400
cfdc0dd7
AS
35401 * math/libm-test.inc (jn_test): Add missing L suffix.
35402
622c86f4
MP
354032012-02-06 Marek Polacek <polacek@redhat.com>
35404
35405 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35406 * sysdeps/i386/fpu/e_powf.S: Likewise.
35407 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35408 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35410 * sysdeps/i386/fpu/e_pow.S: Likewise.
35411 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35412 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35413 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35414 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35415 * sysdeps/i386/fpu/e_log2.S: Likewise.
35416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35418 * sysdeps/i386/fpu/e_powl.S: Likewise.
35419 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35420 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35421 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35422 * sysdeps/i386/fpu/e_logl.S: Likewise.
35423 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35424 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35425 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35426 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35427 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35428 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35429 * sysdeps/i386/fpu/e_log.S: Likewise.
35430 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35431 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35432 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35433 * sysdeps/i386/fpu/e_logf.S: Likewise.
35434 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35435 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35436 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35437 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35438 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35439 * sysdeps/i386/fpu/e_log10.S: Likewise.
35440 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35441 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35442 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35443 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35444 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35445 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35446 * sysdeps/i386/asm-syntax.h: Likewise.
35447 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35449 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35450 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35451 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35452 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35453 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35454 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35455 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35456 * sysdeps/powerpc/sysdep.h: Likewise.
35457 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35458 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35459
d4a54ac6
JM
354602012-02-06 Joseph Myers <joseph@codesourcery.com>
35461
35462 [BZ #411]
35463 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35464
314054ea
JM
354652012-02-06 Joseph Myers <joseph@codesourcery.com>
35466
35467 * sysdeps/i386/sysdep.h: Include <features.h>.
35468 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35469 version.
35470
d8e0ca50
JM
354712012-02-05 Joseph Myers <joseph@codesourcery.com>
35472
35473 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35474 Define.
35475 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35476 LOAD_PIC_REG_STR.
35477
b1da7dd9
JM
354782012-02-03 Joseph Myers <joseph@codesourcery.com>
35479
35480 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35481 (SETUP_PIC_REG): Use GET_PC_THUNK.
35482 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35483 macro.
35484
9a1d9254
JM
354852012-02-03 Joseph Myers <joseph@codesourcery.com>
35486
35487 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35488 for non-PIC compilation.
35489 (SETUP_PIC_REG): Add .p2align directive.
35490 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35491 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35492 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35493 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35494 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35495 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35496 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35498 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35499 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35500 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35501 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35502 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35503 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35504 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35505 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35506 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35507 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35508 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35509 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35510 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35511 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35512 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35513 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35514 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35516 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35517 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35518 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35519 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35520 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35521 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35522 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35523 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35524 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35525 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35526 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35527 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35528 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35529 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35530 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35531
65dc3b75
JM
355322012-02-03 Joseph Myers <joseph@codesourcery.com>
35533
35534 * math/tst-CMPLX.c: Include <stdio.h>.
35535
d55bf177
JM
355362012-01-31 Joseph Myers <joseph@codesourcery.com>
35537
35538 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35539 float.
35540 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35541 * sysdeps/sparc/bits/mathdef.h: Likewise.
35542
69db4f8f
MP
355432012-01-31 Marek Polacek <polacek@redhat.com>
35544
35545 * libio/libio.h: Don't define _PARAMS.
35546 * locale/programs/config.h: Don't define PARAMS.
35547 * stdlib/strtol_l.c: Likewise.
35548 (__strtol_l): Remove PARAMS from the prototype.
35549
41b81892
UD
355502012-01-31 Ulrich Drepper <drepper@gmail.com>
35551
3b49edc0
UD
35552 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35553 names. Just use the correct names. Remove unnecessary wrapper
35554 functions.
35555 * malloc/arena.c: Likewise.
35556 * malloc/hooks.c: Likewise.
35557
41b81892
UD
35558 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35559 ARENA_TEST says not to. Simplify test for creation of a new arena.
35560 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35561
27a25b6e
UD
355622012-01-30 Ulrich Drepper <drepper@gmail.com>
35563
35564 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35565 into tail calls.
35566 (update_get_addr): New function.
35567 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35568 GET_ADDR_MODULE parameter.
35569
c8a89e7d
JM
355702012-01-30 Joseph Myers <joseph@codesourcery.com>
35571
35572 * crypt/cert.c: Remove __STDC__ conditionals.
35573 * crypt/crypt-entry.c: Likewise.
35574 * crypt/crypt_util.c: Likewise.
35575 * libio/filedoalloc.c: Likewise.
35576 * libio/fileops.c: Likewise.
35577 * libio/genops.c: Likewise.
35578 * libio/iofclose.c: Likewise.
35579 * libio/iofdopen.c: Likewise.
35580 * libio/iofopen.c: Likewise.
35581 * libio/iofopen64.c: Likewise.
35582 * libio/iogetdelim.c: Likewise.
35583 * libio/iopopen.c: Likewise.
35584 * libio/obprintf.c: Likewise.
35585 * libio/oldfileops.c: Likewise.
35586 * libio/oldiofclose.c: Likewise.
35587 * libio/oldiofdopen.c: Likewise.
35588 * libio/oldiofopen.c: Likewise.
35589 * libio/oldiopopen.c: Likewise.
35590 * libio/wfiledoalloc.c: Likewise.
35591 * libio/wgenops.c: Likewise.
35592 * locale/programs/xmalloc.c: Likewise.
35593 * misc/syslog.c: Likewise.
35594 * stdio-common/xbug.c: Likewise.
35595 * string/memchr.c: Likewise.
35596 * string/memcmp.c: Likewise.
35597 * string/memrchr.c: Likewise.
35598 * string/rawmemchr.c: Likewise.
35599 * sysdeps/posix/getcwd.c: Likewise.
35600 * time/strftime_l.c: Likewise.
35601
3b100462
JM
356022012-01-30 Joseph Myers <joseph@codesourcery.com>
35603
35604 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35605 * config.make.in (config-cflags-sse2avx): Define.
35606 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35607 Fix typo.
35608
607998af
CM
356092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35610
35611 * scripts/config.guess: Update from upstream config git repository.
35612 * scripts/config.sub: Likewise.
35613
3601428f
CM
356142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35615
3ac8b282
CM
35616 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35617 (EM_NUM): Update.
35618 (R_TILEPRO_*, R_TILEGX_*): New macros.
35619
e034841e
CM
35620 * scripts/firstversions.awk: Fix bug in version range handling.
35621
540d7568
CM
35622 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35623
3601428f
CM
35624 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35625
463de862
CM
35626 * include/sys/epoll.h: New file.
35627 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35628 libc_hidden_def.
35629
73139a76
UD
356302012-01-28 Ulrich Drepper <drepper@gmail.com>
35631
96bc5b45
UD
35632 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35633 Avoid unnecessary __WORDSIZE == 64 test.
35634 (fmaxf): Use VEX format if possible.
35635 (fmax): Likewise.
35636 (fminf): Likewise.
35637 (fmin): Likewise.
35638
56f6f6a2
UD
35639 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35640 * math/math_private.h: Remove libc_fegetround* and
35641 libc_fesetround*.
35642 * sysdeps/i386/configure.in: Check for -msse2avx.
35643 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35644 also if SSE2AVX is defined.
35645 Remove libc_fegetround* and libc_fesetround*.
35646 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35647 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35649 of HAS_YMM_USABLE.
35650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35651 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35652 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35655
73139a76
UD
35656 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35657
d73f93a4
AZ
356582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35659
35660 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35661 size is not set.
35662 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35663
6ee65ed6
UD
356642012-01-27 Ulrich Drepper <drepper@gmail.com>
35665
35666 [BZ #13618]
35667 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35668 relocation.
35669 * Makeconfig (libm): Define.
35670 * elf/Makefile: Add rules to build and run tst-relsort1.
35671 * elf/tst-relsort1.c: New file.
35672 * elf/tst-relsort1mod1.c: New file.
35673 * elf/tst-relsort1mod2.c: New file.
35674
8db21882
JM
356752012-01-27 Joseph Myers <joseph@codesourcery.com>
35676
35677 * math/s_ldexp.c: Remove __STDC__ conditionals.
35678 * math/s_ldexpf.c: Likewise.
35679 * math/s_ldexpl.c: Likewise.
35680 * math/s_nextafter.c: Likewise.
35681 * math/s_nexttowardf.c: Likewise.
35682 * math/s_significand.c: Likewise.
35683 * math/s_significandf.c: Likewise.
35684 * math/s_significandl.c: Likewise.
35685 * math/w_jnl.c: Likewise.
35686 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35687 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35688 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35689 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35690 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35692 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35693 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35694 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35695 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35696 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35698 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35699 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35700 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35701 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35702 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35703 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35705 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35706 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35707 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35708 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35709 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35710 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35711 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35712 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35713 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35714 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35715 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35716 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35717 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35718 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35719 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35720 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35721 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35722 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35723 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35724 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35725 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35726 * sysdeps/ieee754/k_standard.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35792 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35793 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35801 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35802 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35803 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35804 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35805 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35806 * sysdeps/ieee754/s_matherr.c: Likewise.
35807 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35808 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35811
965a54a4
JM
358122012-01-26 Joseph Myers <joseph@codesourcery.com>
35813
35814 * crypt/md5.h: Remove __STDC__ conditionals.
35815 * libio/libioP.h: Likewise.
35816 * locale/programs/config.h: Likewise.
35817 * sysdeps/generic/sysdep.h: Likewise.
35818 * sysdeps/i386/asm-syntax.h: Likewise.
35819 * sysdeps/s390/asm-syntax.h: Likewise.
35820 * sysdeps/unix/sysdep.h: Likewise.
35821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35823
7071ad79
JM
358242012-01-26 Joseph Myers <joseph@codesourcery.com>
35825
35826 * libio/libio.h: Remove __STDC__ conditionals.
35827 * malloc/obstack.h: Likewise.
35828 * math/complex.h: Likewise.
35829 * math/math.h: Likewise.
35830 * sysdeps/generic/_G_config.h: Likewise.
35831 * sysdeps/gnu/_G_config.h: Likewise.
35832 * sysdeps/mach/hurd/_G_config.h: Likewise.
35833 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35834 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35835 * sysdeps/sparc/bits/mathdef.h: Likewise.
35836
afc5ed09
UD
358372012-01-26 Ulrich Drepper <drepper@gmail.com>
35838
35839 [BZ #13583]
35840 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35841 Clean up HAS_* macros.
afc5ed09 35842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35843 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35844 possible.
35845 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35846 HAS_AVX.
35847 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35848 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35849 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35850 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35851 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35852
bdb6de1d
JM
358532012-01-25 Joseph Myers <joseph@codesourcery.com>
35854
35855 * elf/tst-unique3.cc (gets): Remove declaration.
35856 * elf/tst-unique3lib.cc (gets): Likewise.
35857 * elf/tst-unique3lib2.cc (gets): Likewise.
35858 * elf/tst-unique4.cc (gets): Likewise.
35859
b15549e6
UD
358602012-01-24 Ulrich Drepper <drepper@gmail.com>
35861
35862 * include/stdio.h: Add C++ protection. Add gets declarations and
35863 definitions.
35864 * debug/tst-chk1.c: Don't declare gets here.
35865 * stdio-common/tst-gets.c: Likewise.
35866
a037381f
JM
358672012-01-24 Joseph Myers <joseph@codesourcery.com>
35868
35869 * posix/glob: Remove directory.
35870
f1d4aa75
JM
358712012-01-24 Joseph Myers <joseph@codesourcery.com>
35872
35873 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35874
81c0c964
PT
358752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35876
35877 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35878 of the non-standard EPFNOSUPPORT.
35879
0ea698ae
ST
358802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35881
35882 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35883 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35884 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35885
d220b117
UD
358862012-01-21 Ulrich Drepper <drepper@gmail.com>
35887
35888 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35889
3e1aa84e
UD
358902012-01-20 Ulrich Drepper <drepper@gmail.com>
35891
35892 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35893 transient errors.
35894 * nscd/grpcache.c (cache_addgr): Likewise.
35895 * nscd/hstcache.c (cache_addhst): Likewise.
35896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35897 * nscd/pwdcache.c (cache_addpw): Likewise.
35898 * nscd/servicescache.c (cache_addserv): Likewise.
35899
400aa020
UD
359002012-01-16 Ulrich Drepper <drepper@gmail.com>
35901
d77e7869
UD
35902 * malloc/malloc.c: Various cleanups.
35903 * malloc/hooks.c: Likewise.
35904
400aa020
UD
35905 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35906 * stdlib/bug-fmtmsg1.c: New file.
35907
35908 * stdlib/fmtmsg.c (init): Add missing unlock.
35909 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35910
e0a309cf
MP
359112012-01-12 Marek Polacek <polacek@redhat.com>
35912
35913 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35914 and _GNU_SOURCE.
35915
929d11c7
WS
359162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35917
35918 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35919 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35920 macro to ensure uniqueness of label name.
35921 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35922 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35923
41d0e869
UD
359242012-01-11 Ulrich Drepper <drepper@gmail.com>
35925
0cc5ed3b
UD
35926 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35927
41d0e869
UD
35928 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35929 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35930 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35931 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35932
a47a831a
UD
359332012-01-10 Ulrich Drepper <drepper@gmail.com>
35934
daa891c0
UD
35935 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35936
35937 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35938 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35939 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35940
e58ef0f2
UD
35941 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35942
a47a831a 35943 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35944 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35945 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35947
35948 * math/bits/math-finite.h: Add ldexp support.
35949
a0bfc9c7
MP
359502012-01-10 Marek Polacek <polacek@redhat.com>
35951
35952 * locale/programs/localedef.h (show_archive_content): Add noreturn
35953 attribute.
35954
d6e97a1d
UD
359552012-01-09 Ulrich Drepper <drepper@gmail.com>
35956
35957 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35958
d5835c26
UD
359592012-01-08 Ulrich Drepper <drepper@gmail.com>
35960
e5f484c6
UD
35961 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35962
d5835c26
UD
35963 * io/Makefile (headers): Add bits/poll2.h.
35964
d1f741e9
WS
359652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35966
35967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35968 typo #include statement.
35969
ec09c1c4
UD
359702012-01-08 Ulrich Drepper <drepper@gmail.com>
35971
35972 * include/sys/cdefs.h: Define __attribute_alloc_size.
35973 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35974 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35975 * elf/pldd.c: Likewise.
35976 * iconv/iconv_charmap.c: Likewise.
35977 * iconv/iconvconfig.c: Likewise.
35978 * iconv/strtab.c: Likewise.
35979 * locale/programs/locale.c: Likewise.
35980 * locale/programs/localedef.h: Likewise.
35981 * locale/programs/simple-hash.c: Likewise.
35982 * nscd/nscd.h: Likewise.
35983 * nss/makedb.c: Likewise.
35984 * sysdeps/generic/ldconfig.h: Likewise.
35985 * locale/programs/localedef.c: Remove xmalloc prototype.
35986 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35987
20b38e03
PP
359882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35989
35990 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35991 appropriate.
35992
a0da5fe1
UD
359932012-01-08 Ulrich Drepper <drepper@gmail.com>
35994
1d5a644a 35995 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35996 * math/tst-CMPLX.c: New file.
1d5a644a 35997
8784a6db
UD
35998 * math/complex.h (CMPLXL): Fix typo.
35999
d9a216c0
UD
36000 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36001 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36002 GLIBC_2.16.
36003 * debug/tst-chk1.c: Add poll and ppoll tests.
36004 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36005 * include/sys/poll.h: Add hidden proto for ppoll.
36006 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36007 * sysdeps/mach/hurd/ppoll.c: Likewise.
36008 * io/ppoll.c: Likewise.
36009 * debug/poll_chk.c: New file.
36010 * debug/ppoll_chk.c: New file.
36011 * include/bits/poll2.h: New file.
36012 * io/bits/poll2.h: New file.
36013
ac097f5c
UD
36014 [BZ #1350]
36015 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36016
2119dcfa
UD
36017 * configure.in: static is always set to yes. Remove.
36018 * config.make.in: Don't set build-static.
36019 * Makeconfig: Remove use of build-static.
36020 * dlfcn/Makefile: Likewise.
36021 * elf/Makefile: Likewise.
36022 * math/Makefile: Likewise.
36023 * misc/Makefile: Likewise.
36024 * nptl/Makefile: Likewise.
36025 * sysdeps/mach/hurd/Makefile: Likewise.
36026
121766a9
UD
36027 * configure.in: PWD_P is not used anymore.
36028 * config.make.in: Remove PWD_P entry.
36029
51a1d39c 36030 * configure.in: Remove last remnants of RANLIB.
8720d066 36031 No need to check for signed size_t anymore.
215f4bdc
UD
36032 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36033 and IA-64.
3857022a 36034 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36035 * aclocal.m4: Likewise.
36036
d3ed7225
UD
36037 * wcsmbs/mbrtoc16.c: Implement using towc function.
36038 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36039 * wcsmbs/wcsmbsload.c: Likewise.
36040 * iconv/gconv_simple.c: Likewise.
36041 * iconv/gconv_int.h: Likewise.
36042 * iconv/gconv_builtin.h: Likewise.
36043 * iconv/iconv_prog.c: Remove CHAR16 handling.
36044
36045 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36046
36047 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36048
a0da5fe1
UD
36049 * configure.in: Remove --with-elf and --enable-bounded options.
36050 Dont set base_machine for ia64. More non-ELF conditions removed.
36051 Remove testing and setting of leading underscore information.
36052 * config.make.in (build-bounded): Set to no.
36053 * config.h.in: Remove NO_UNDERSCORES entry.
36054 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36055 them.
36056 * csu/start.c: Remove !NO_UNDERSCORE code.
36057 * locale/localeinfo.h: Likewise.
36058 * sysdeps/generic/machine-gmon.h: Likewise.
36059 * sysdeps/generic/sysdep.h: Likewise.
36060 * sysdeps/i386/sysdep.h: Likewise.
36061 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36062 * sysdeps/mach/sysdep.h: Likewise.
36063 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36065 * sysdeps/sh/sysdep.h: Likewise.
36066 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36067 * sysdeps/unix/i386/sysdep.S: Likewise.
36068 * sysdeps/unix/sparc/start.c: Likewise.
36069 * sysdeps/unix/sparc/sysdep.S: Likewise.
36070 * sysdeps/unix/sparc/sysdep.h: Likewise.
36071 * sysdeps/unix/start.c: Likewise.
36072 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36073 * sysdeps/x86_64/sysdep.h: Likewise.
36074
df78418a
UD
360752012-01-07 Ulrich Drepper <drepper@gmail.com>
36076
a784e502
UD
36077 [BZ #13553]
36078 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36079 for non-gcc.
36080 * argp/argp-fmtstream.h: Use const instead __const.
36081 * argp/argp.h: Likewise.
36082 * assert/assert.h: Likewise.
36083 * bits/fenv.h: Likewise.
36084 * bits/sched.h: Likewise.
36085 * bits/sigset.h: Likewise.
36086 * bits/sigthread.h: Likewise.
36087 * catgets/nl_types.h: Likewise.
36088 * conform/data/pthread.h-data: Likewise.
36089 * crypt/crypt-private.h: Likewise.
36090 * crypt/crypt.h: Likewise.
36091 * crypt/crypt_util.c: Likewise.
36092 * ctype/ctype.h: Likewise.
36093 * debug/execinfo.h: Likewise.
36094 * debug/mbsnrtowcs_chk.c: Likewise.
36095 * debug/mbsrtowcs_chk.c: Likewise.
36096 * debug/wcsnrtombs_chk.c: Likewise.
36097 * debug/wcsrtombs_chk.c: Likewise.
36098 * debug/wcstombs_chk.c: Likewise.
36099 * dirent/dirent.h: Likewise.
36100 * dlfcn/dlfcn.h: Likewise.
36101 * elf/neededtest4.c: Likewise.
36102 * grp/grp.h: Likewise.
36103 * gshadow/gshadow.h: Likewise.
36104 * iconv/gconv.h: Likewise.
36105 * iconv/gconv_int.h: Likewise.
36106 * iconv/gconv_simple.c: Likewise.
36107 * iconv/iconv.h: Likewise.
36108 * iconv/loop.c: Likewise.
36109 * iconv/skeleton.c: Likewise.
36110 * include/aio.h: Likewise.
36111 * include/aliases.h: Likewise.
36112 * include/argz.h: Likewise.
36113 * include/arpa/inet.h: Likewise.
36114 * include/assert.h: Likewise.
36115 * include/dirent.h: Likewise.
36116 * include/dlfcn.h: Likewise.
36117 * include/execinfo.h: Likewise.
36118 * include/fcntl.h: Likewise.
36119 * include/fenv.h: Likewise.
36120 * include/glob.h: Likewise.
36121 * include/grp.h: Likewise.
36122 * include/libintl.h: Likewise.
36123 * include/mntent.h: Likewise.
36124 * include/netdb.h: Likewise.
36125 * include/pwd.h: Likewise.
36126 * include/rpc/netdb.h: Likewise.
36127 * include/sched.h: Likewise.
36128 * include/search.h: Likewise.
36129 * include/shadow.h: Likewise.
36130 * include/signal.h: Likewise.
36131 * include/stdio.h: Likewise.
36132 * include/stdlib.h: Likewise.
36133 * include/string.h: Likewise.
36134 * include/sys/socket.h: Likewise.
36135 * include/sys/stat.h: Likewise.
36136 * include/sys/statfs.h: Likewise.
36137 * include/sys/statvfs.h: Likewise.
36138 * include/sys/syslog.h: Likewise.
36139 * include/sys/time.h: Likewise.
36140 * include/sys/uio.h: Likewise.
36141 * include/time.h: Likewise.
36142 * include/unistd.h: Likewise.
36143 * include/utmp.h: Likewise.
36144 * include/wchar.h: Likewise.
36145 * include/wctype.h: Likewise.
36146 * inet/aliases.h: Likewise.
36147 * inet/arpa/inet.h: Likewise.
36148 * inet/netinet/ether.h: Likewise.
36149 * inet/netinet/in.h: Likewise.
36150 * intl/libintl.h: Likewise.
36151 * io/bits/fcntl2.h: Likewise.
36152 * io/fcntl.h: Likewise.
36153 * io/ftw.h: Likewise.
36154 * io/sys/poll.h: Likewise.
36155 * io/sys/stat.h: Likewise.
36156 * io/sys/statfs.h: Likewise.
36157 * io/sys/statvfs.h: Likewise.
36158 * io/utime.h: Likewise.
36159 * libio/bits/stdio.h: Likewise.
36160 * libio/bits/stdio2.h: Likewise.
36161 * libio/libio.h: Likewise.
36162 * libio/libioP.h: Likewise.
36163 * libio/stdio.h: Likewise.
36164 * locale/lc-ctype.c: Likewise.
36165 * locale/locale.h: Likewise.
36166 * login/utmp.h: Likewise.
36167 * malloc/arena.c: Likewise.
36168 * malloc/malloc.c: Likewise.
36169 * malloc/malloc.h: Likewise.
36170 * malloc/mcheck.c: Likewise.
36171 * malloc/mtrace.c: Likewise.
36172 * math/bits/mathcalls.h: Likewise.
36173 * math/fenv.h: Likewise.
36174 * math/math_private.h: Likewise.
36175 * misc/bits/error.h: Likewise.
36176 * misc/bits/syslog.h: Likewise.
36177 * misc/err.h: Likewise.
36178 * misc/error.h: Likewise.
36179 * misc/fstab.h: Likewise.
36180 * misc/mntent.h: Likewise.
36181 * misc/regexp.h: Likewise.
36182 * misc/search.h: Likewise.
36183 * misc/sgtty.h: Likewise.
36184 * misc/sys/mman.h: Likewise.
36185 * misc/sys/syslog.h: Likewise.
36186 * misc/sys/uio.h: Likewise.
36187 * misc/sys/xattr.h: Likewise.
36188 * misc/ttyent.h: Likewise.
36189 * nis/rpcsvc/ypclnt.h: Likewise.
36190 * nss/nss.h: Likewise.
36191 * posix/bits/unistd.h: Likewise.
36192 * posix/fnmatch.h: Likewise.
36193 * posix/glob.h: Likewise.
36194 * posix/sched.h: Likewise.
36195 * posix/spawn.h: Likewise.
36196 * posix/sys/wait.h: Likewise.
36197 * posix/unistd.h: Likewise.
36198 * posix/wordexp.h: Likewise.
36199 * pwd/pwd.h: Likewise.
36200 * resolv/netdb.h: Likewise.
36201 * resource/sys/resource.h: Likewise.
36202 * rt/aio.h: Likewise.
36203 * rt/bits/mqueue2.h: Likewise.
36204 * rt/mqueue.h: Likewise.
36205 * shadow/shadow.h: Likewise.
36206 * signal/signal.h: Likewise.
36207 * socket/send.c: Likewise.
36208 * socket/sendto.c: Likewise.
36209 * socket/sys/socket.h: Likewise.
36210 * stdio-common/printf.h: Likewise.
36211 * stdlib/bits/stdlib.h: Likewise.
36212 * stdlib/fmtmsg.h: Likewise.
36213 * stdlib/monetary.h: Likewise.
36214 * stdlib/stdlib.h: Likewise.
36215 * stdlib/ucontext.h: Likewise.
36216 * streams/stropts.h: Likewise.
36217 * string/argz.h: Likewise.
36218 * string/bits/string2.h: Likewise.
36219 * string/string.h: Likewise.
36220 * string/strings.h: Likewise.
36221 * sunrpc/rpc/auth.h: Likewise.
36222 * sunrpc/rpc/auth_des.h: Likewise.
36223 * sunrpc/rpc/clnt.h: Likewise.
36224 * sunrpc/rpc/netdb.h: Likewise.
36225 * sunrpc/rpc/pmap_clnt.h: Likewise.
36226 * sunrpc/rpc/xdr.h: Likewise.
36227 * sysdeps/generic/inttypes.h: Likewise.
36228 * sysdeps/generic/net/if.h: Likewise.
36229 * sysdeps/generic/sys/swap.h: Likewise.
36230 * sysdeps/gnu/net/if.h: Likewise.
36231 * sysdeps/gnu/utmpx.h: Likewise.
36232 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36233 * sysdeps/i386/i486/bits/string.h: Likewise.
36234 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36235 * sysdeps/s390/bits/string.h: Likewise.
36236 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36237 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36238 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36239 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36240 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36241 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36242 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36243 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36244 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36245 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36246 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36247 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36248 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36249 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36250 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36251 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36252 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36254 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36255 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36257 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36258 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36259 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36260 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36261 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36263 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36264 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36265 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36266 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36267 * sysvipc/sys/ipc.h: Likewise.
36268 * sysvipc/sys/msg.h: Likewise.
36269 * sysvipc/sys/sem.h: Likewise.
36270 * sysvipc/sys/shm.h: Likewise.
36271 * termios/termios.h: Likewise.
36272 * time/sys/time.h: Likewise.
36273 * time/time.h: Likewise.
36274 * wcsmbs/bits/wchar2.h: Likewise.
36275 * wcsmbs/uchar.h: Likewise.
36276 * wcsmbs/wchar.h: Likewise.
36277 * wctype/wctype.h: Likewise.
36278
0269750c
UD
36279 [BZ #13551]
36280 * Makeconfig: Remove all but ELF support including AIX support.
36281 * Makerules: Likewise.
36282 * config.h.in: Likewise.
36283 * config.make.in: Likewise.
36284 * configure: Likewise.
36285 * configure.in: Likewise.
36286 * csu/Makefile: Likewise.
36287 * csu/version.c: Likewise.
36288 * debug/Makefile: Likewise.
36289 * dlfcn/Makefile: Likewise.
36290 * elf/Makefile: Likewise.
36291 * extra-lib.mk: Likewise.
36292 * iconv/Makefile: Likewise.
36293 * include/libc-symbols.h: Likewise.
36294 * include/shlib-compat.h: Likewise.
36295 * resolv/Makefile: Likewise.
36296 * resolv/res_libc.c: Likewise.
36297 * rt/Makefile: Likewise.
36298 * sysdeps/i386/asm-syntax.h: Likewise.
36299 * sysdeps/i386/sysdep.h: Likewise.
36300 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36301 * sysdeps/mach/sysdep.h: Likewise.
36302 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36303 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36304 * sysdeps/s390/asm-syntax.h: Likewise.
36305 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36306 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36307 * sysdeps/sh/sysdep.h: Likewise.
36308 * sysdeps/unix/sparc/sysdep.h: Likewise.
36309 * sysdeps/wordsize-32/divdi3.c: Likewise.
36310 * sysdeps/x86_64/sysdep.h: Likewise.
36311
00bbd29b
UD
36312 * argp/Versions: Remove _argp_unlock_xxx.
36313
36314 [BZ #13559]
36315 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36316 * abilist/libBrokenLocale.abilist: Likewise.
36317 * abilist/libanl.abilist: Likewise.
36318 * abilist/libc.abilist: Likewise.
36319 * abilist/libcrypt.abilist: Likewise.
36320 * abilist/libdl.abilist: Likewise.
36321 * abilist/libm.abilist: Likewise.
36322 * abilist/libnsl.abilist: Likewise.
36323 * abilist/libpthread.abilist: Likewise.
36324 * abilist/libresolv.abilist: Likewise.
36325 * abilist/librt.abilist: Likewise.
36326 * abilist/libthread_db.abilist: Likewise.
36327 * abilist/libutil.abilist: Likewise.
36328 * abilist/libnss_db.abilist: New file.
36329
36330 * scripts/abilist.awk: Add support for indirect functions.
36331
a2693a0e
UD
36332 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36333
3f05895f
UD
36334 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36335
ecb6fb48
UD
36336 * shlib-versions: Remove entries for ports architectures.
36337
664f8cb9
UD
36338 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36339 files in ports.
36340 * elf/stackguard-macros.h: Remove support for IA-64.
36341 * elf/tst-auditmod1.c: Likewise.
36342 * sysdeps/generic/ldsodefs.h: Likewise.
36343
7ae81d88
UD
36344 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36345 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36346 configure files.
36347
bdeba135
UD
36348 [BZ #13552]
36349 * configure.in: Remove --enable-omitfp support.
36350 * FAQ.in: Adjust.
36351 * config.make.in: Likewise.
36352 * Makeconfig: Likewise.
36353 * manual/install.texi: Likewise.
36354
d75a0a62
UD
36355 In case anyone cares, the IA-64 architecture could move to ports.
36356 * sysdeps/ia64/*: Removed.
36357 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36358 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36359
dcc9756b
UD
36360 [BZ #13555]
36361 * configure.in: Remove entries for unsupported architectures.
36362
d3761ebc 36363 [BZ #13533]
9954432e
UD
36364 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36365 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36366 routines.
36367 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36368 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36369 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36370 fall back to using wcrtomb.
36371 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36372 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36373 renaming.
36374 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36375 * wcsmbs/tst-c16c32-1.c: New file.
36376
36377 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36378 local variable.
36379
c3a87236
UD
36380 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36381
28926a1b
UD
36382 * elf/tst-unique3.cc: Add explicit declaration of gets.
36383 * elf/tst-unique3lib.cc: Likewise.
36384 * elf/tst-unique3lib2.cc: Likewise.
36385 * elf/tst-unique4.cc: Likewise.
36386
df78418a
UD
36387 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36388
8ecd6b2a
JM
363892012-01-06 Joseph Myers <joseph@codesourcery.com>
36390
36391 [BZ #13566]
36392 * assert/assert.h (static_assert): Don't define for C++.
36393 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36394 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36395
9f115170
UD
363962012-01-03 Ulrich Drepper <drepper@gmail.com>
36397
5e0d0300
UD
36398 * iconv/loop.c (single loop): Fix assertion in storing of
36399 remaining bytes.
36400
9f115170
UD
36401 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36402
81fb02b0
UD
364032012-01-01 Ulrich Drepper <drepper@gmail.com>
36404
36405 * posix/getconf.c: Update copyright year.
36406 * nss/getent.c: Likewise.
a316c1f6 36407 * nss/makedb.c: Likewise.
81fb02b0
UD
36408 * iconv/iconvconfig.c: Likewise.
36409 * iconv/iconv_prog.c: Likewise.
36410 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36411 * elf/pldd.c: Likewise.
36412 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36413 * catgets/gencat.c: Likewise.
36414 * csu/version.c: Likewise.
36415 * elf/ldd.bash.in: Likewise.
36416 * elf/sprof.c (print_version): Likewise.
36417 * locale/programs/locale.c: Likewise.
36418 * locale/programs/localedef.c: Likewise.
a316c1f6 36419 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36420 * nscd/nscd.c (print_version): Likewise.
36421 * debug/xtrace.sh: Likewise.
36422 * malloc/memusage.sh: Likewise.
36423 * malloc/mtrace.pl: Likewise.
36424 * debug/catchsegv.sh: Likewise.
36425
2ba92745
JJ
364262011-12-30 Jakub Jelinek <jakub@redhat.com>
36427
36428 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36429 pure attribute.
36430
dadebdae
UD
364312011-12-24 Ulrich Drepper <drepper@gmail.com>
36432
d3761ebc 36433 [BZ #13533]
db6af3eb
UD
36434 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36435 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36436 transformations.
36437 * iconv/gconv_int.h: Likewise.
36438 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36439 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36440 from libc for GLIBC_2.16.
36441 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36442 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36443 * wcsmbs/uchar.h: Really define mbstate_t.
36444 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36445 * wcsmbs/c16rtomb.c: New file.
36446 * wcsmbs/mbrtoc16.c: New file.
36447 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36448 for C/POSIX locale.
36449 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36450 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36451
dadebdae
UD
36452 * wcsmbs/wchar.h: Add missing __restrict.
36453
67371b56
UD
364542011-12-23 Ulrich Drepper <drepper@gmail.com>
36455
74033a25
UD
36456 [BZ #13532]
36457 * time/Makefile (routines): Add timespec_get.
36458 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36459 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36460 timespec for ISO C11.
36461 * time/timespec_get.c: New file.
36462 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36463 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36464
380d7e87
UD
36465 [BZ #13531]
36466 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36467 * stdlib/stdlib.h: Declare aligned_alloc.
36468 * Versions.def: Add GLIBC_2.16 for libc.
36469 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36470
4e9e7a35
UD
36471 [BZ 13527]
36472 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36473 ISO C11.
36474
380d7e87 36475 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36476 code.
36477
03a71829
UD
36478 [BZ #13528]
36479 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36480
839e283e
UD
36481 [BZ #13529]
36482 * assert/assert.h (static_assert): Define.
36483
ce5294e2 36484 * version.h: Update for 2.16 development version.
90fa7312 36485
8d44e150 36486 [BZ #13526]
d7809905
UD
36487 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36488 _ISOC11_SOURCE.
36489
c0da14cd
UD
36490 * version.h (RELEASE): Bump for 2.15 release.
36491 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36492
530a3249
MP
36493 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36494 Patch by Marek Polacek <mpolacek@redhat.com>.
36495
67371b56
UD
36496 * bits/byteswap.h: Protect long long constants with __extension__.
36497 * sysdeps/i386/bits/byteswap.h: Likewise.
36498 * sysdeps/ia64/bits/byteswap.h: Likewise.
36499 * sysdeps/s390/bits/byteswap.h: Likewise.
36500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36501
15db4de1
LD
365022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36503
36504 [BZ #13540]
bbe315ea
LD
36505 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36506 destination buffer.
15db4de1
LD
36507 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36508
2b2596b1
MP
365092011-12-23 Marek Polacek <polacek@redhat.com>
36510
36511 * elf/dl-addr.c (determine_info): Add inline keyword.
36512 * elf/tst-auditmod4b.c (check_avx): Likewise.
36513 * elf/tst-auditmod6b.c (check_avx): Likewise.
36514 * elf/tst-auditmod6c.c (check_avx): Likewise.
36515 * elf/tst-auditmod7b.c (check_avx): Likewise.
36516
70c6c246
UD
365172011-12-23 Ulrich Drepper <drepper@gmail.com>
36518
36519 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36520 !__SSE_MATH__.
36521
c044cf14
LD
365222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36523
15db4de1 36524 [BZ #13540]
c044cf14
LD
36525 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36526 processing for last bytes.
36527
6b13d9d9
BH
365282011-08-06 Bruno Haible <bruno@clisp.org>
36529
d455f537
BH
36530 [BZ #13061]
36531 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36532 U+0385, not to U+1FEE.
36533
6b13d9d9
BH
36534 [BZ #13062]
36535 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36536 entry for U+00A5 U+0301.
36537
db910efd
UD
365382011-12-22 Ulrich Drepper <drepper@gmail.com>
36539
27deeafc
UD
36540 [BZ #13166]
36541 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36542 buffer for the output is too small.
36543
aed9d171
UD
36544 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36545 optimization.
36546
db910efd
UD
36547 [BZ #13185]
36548 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36549 SSE flags if possible.
36550
2bd779ae
LD
365512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36552
e7f9dac3 36553 [BZ #13540]
2bd779ae
LD
36554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36555 processing for last bytes.
36556
154bfc16
JM
365572011-12-22 Joseph Myers <joseph@codesourcery.com>
36558
36559 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36560 (syscall-list-default-options, syscall-list-default-condition)
36561 (syscall-list-includes): Define.
36562 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36563 list of ABIs and options and #if conditions for each ABI. Do not
36564 handle common syscalls between ABIs specially.
36565 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36566 Remove.
36567 (syscall-list-variants, syscall-list-32bit-options)
36568 (syscall-list-32bit-condition, syscall-list-64bit-options)
36569 (syscall-list-64bit-condition): Define.
36570 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36571 (syscall-list-variants, syscall-list-32bit-options)
36572 (syscall-list-32bit-condition, syscall-list-64bit-options)
36573 (syscall-list-64bit-condition): Define.
36574 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36575 Remove.
36576 (syscall-list-variants, syscall-list-32bit-options)
36577 (syscall-list-32bit-condition, syscall-list-64bit-options)
36578 (syscall-list-64bit-condition): Define.
36579 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36580 Remove.
36581 (syscall-list-variants, syscall-list-32bit-options)
36582 (syscall-list-32bit-condition, syscall-list-64bit-options)
36583 (syscall-list-64bit-condition): Define.
36584
21eaf3a5
UD
365852011-12-22 Ulrich Drepper <drepper@gmail.com>
36586
16c6f992
UD
36587 * locale/iso-639.def: Add brx entry.
36588
41043168
UD
36589 [BZ #13328]
36590 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36591 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36592
21eaf3a5
UD
36593 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36594 __feraiseexcept_renamed.
36595
e3a851a2
UD
365962011-12-21 Ulrich Drepper <drepper@gmail.com>
36597
4920765e
UD
36598 [BZ #13538]
36599 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36600 EPOLLET with unsigned values.
36601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36602 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36603
e3a851a2
UD
36604 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36605 to large cancellation.
36606 * math/s_cacoshf.c: Likewise.
36607 * math/s_cacoshl.c: Likewise.
36608
b27e24b8
RK
366092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36610
36611 [BZ #13305]
aebefeee 36612 [BZ #12786]
b27e24b8
RK
36613 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36614 * math/s_cacoshf.c: Likewise.
36615 * math/s_cacoshl.c: Likewise.
36616
ee190f67
UD
366172011-12-21 Ulrich Drepper <drepper@gmail.com>
36618
36619 [BZ #13439]
36620 * iconv/gconv.h: Define __GCONV_SWAP.
36621 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36622 * iconvdata/utf-16.c: Likewise.
36623 * iconvdata/utf-32.c: Likewise.
36624
707f25df
AS
366252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36626
36627 [BZ #13524]
36628 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36629 numerator after shifting it by one limb.
36630
d2daaa1e
RÁE
366312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36632
36633 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36634 under [__USE_EXTERN_INLINES].
36635
a4647e72
UD
366362011-12-17 Ulrich Drepper <drepper@gmail.com>
36637
36638 [BZ #13446]
36639 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36640
f0b264f1
AZ
366412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36642
36643 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36644 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36645 optimized code.
36646 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36647 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36648 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36649 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36650 for strncasecmp/strncasecmp_l compilation.
36651 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36652 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36653
8ef4f244
MP
366542011-12-08 Marek Polacek <mpolacek@redhat.com>
36655
36656 [BZ #13484]
36657 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36658 of __asm__.
36659
97ac2654
UD
366602011-12-17 Ulrich Drepper <drepper@gmail.com>
36661
36662 [BZ #13506]
36663 * time/tzfile.c (__tzfile_read): Check values from file header.
36664
91d2a845
WS
366652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36666
36667 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36668 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36669 * powerpc/powerpc32/dl-start.S: Likewise.
36670 * powerpc/powerpc32/elf/start.S: Likewise.
36671 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36672 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36673 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36674 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36675 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36676 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36677 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36678 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36679 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36680 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36681 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36682 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36683 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36684 * powerpc/powerpc32/memset.S: Likewise.
36685 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36686 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36687 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36688 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36689 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36690 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36691 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36692 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36693 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36694 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36695 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36696 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36697 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36698
a1267ba1
AZ
366992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36700
36701 * math/libm-test.inc: Added more nearbyint tests.
36702 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36703 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36704 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36706
ad8ac1bd
RL
367072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36708
36709 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36710 FD_CLOEXEC.
36711
1d3e4b61
UD
367122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36713
36714 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36715 Add wcscpy-ssse3 wcscpy-c.
36716 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36717 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36718 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36719 * sysdeps/x86_64/wcschr.S: New file.
36720 * sysdeps/x86_64/wcsrchr.S: New file.
36721 * string/test-strcmp.c: Remove checking of wcscmp function for
36722 wrong alignments.
36723 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36724 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36725 wcsrchr-sse2 wcsrchr-c.
36726 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36727 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36728 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36729 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36730 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36731 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36732 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36733 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36734 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36735 * wcsmbc/wcschr.c (WCSCHR): New macro.
36736
5b330a2d
UD
367372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36738
36739 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36740 * wcsmbs/test-wcsrchr.c: New file.
36741 * string/test-strrchr.c: Add wcsrchr support.
36742 (WIDE): New macro.
36743 * wcsmbs/test-wcscpy.c: New file.
36744 * string/test-strcpy.c: Add wcscpy support.
36745 (WIDE): New macro.
26428b7c 36746
f039c043
UD
367472011-12-10 Ulrich Drepper <drepper@gmail.com>
36748
36749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36750 the inner loop.
36751
850fb039
AS
367522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36753
36754 [BZ #13472]
36755 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36756
4efbd5cb
UD
367572011-12-04 Ulrich Drepper <drepper@gmail.com>
36758
52ff5dd0 36759 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36760 Minor optimizations.
52ff5dd0 36761
4efbd5cb
UD
36762 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36763 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36764 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36765
8a426e12
UD
367662011-12-03 Ulrich Drepper <drepper@gmail.com>
36767
aff2453d
UD
36768 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36769 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36770 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36771 for gcc to avoid warnings.
36772 * inet/Makefile (tests): Add tst-checks.
36773 * inet/tst-checks.c: New file.
36774
36775 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36776 warning.
36777
36778 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36779 __wmemcmp_sse2.
36780
36781 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36782 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36783
8a426e12
UD
36784 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36785
9bea3473
UD
367862011-12-02 Ulrich Drepper <drepper@gmail.com>
36787
3a965496
UD
36788 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36789 problem.
36790
9bea3473
UD
36791 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36792
f101631b
UD
367932011-11-29 Joseph Myers <joseph@codesourcery.com>
36794
36795 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36796 conditional on GCC version.
36797 (__arch_compare_and_exchange_val_8_acq)
36798 (__arch_compare_and_exchange_val_16_acq)
36799 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36800 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36801 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36802
a98275aa
UD
368032011-12-02 Joseph Myers <joseph@codesourcery.com>
36804
36805 * sysdeps/sh/backtrace.c: New file.
36806
d4cc29a2
AS
368072011-12-02 Andreas Schwab <schwab@redhat.com>
36808
36809 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36810 parenthesis.
36811
6257af2d
AS
368122011-12-01 Andreas Schwab <schwab@redhat.com>
36813
36814 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36815 falling back to utime.
36816
b5f44c1a
AS
368172011-11-30 Andreas Schwab <schwab@redhat.com>
36818
36819 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36820 expectations for float.
36821
f3a6cc0a
AS
368222011-11-29 Andreas Schwab <schwab@redhat.com>
36823
36824 * locale/weight.h (findidx): Add parameter len.
36825 * locale/weightwc.h (findidx): Likewise.
36826 * posix/fnmatch_loop.c (FCT): Adjust caller.
36827 * posix/regcomp.c (build_equiv_class): Likewise.
36828 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36829 * posix/regexec.c (check_node_accept_bytes): Likewise.
36830 * string/strcoll_l.c (STRCOLL): Likewise.
36831 * string/strxfrm_l.c (STRXFRM): Likewise.
36832
9d65ea3a
UD
368332011-11-17 Ulrich Drepper <drepper@gmail.com>
36834
36835 * Makefile.in: Remove CVSOPT handling.
36836 * configure.in: Remove use of AC_REVISION.
36837 * iconvdata/Makefile (distribute): No need to filter out CVS.
36838 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36839 handling.
36840
5583a086
AS
368412011-11-16 Andreas Schwab <schwab@redhat.com>
36842
36843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36844 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36845 [USE_AS_STRNCASECMP_L]: Likewise.
36846 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36847 NO_TLS_DIRECT_SEG_REFS.
36848 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36849 Fix argument offsets for non-PIC.
36850 [USE_AS_STRNCASECMP_L]: Likewise.
36851 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36852 NO_TLS_DIRECT_SEG_REFS.
36853
d62a8200
UD
368542011-11-15 Ulrich Drepper <drepper@gmail.com>
36855
9d65ea3a 36856 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36857 O_CLOEXEC.
36858 * locale/loadlocale.c (_nl_load_locale): Likewise.
36859
09f93bd3
AS
368602011-11-15 Andreas Schwab <schwab@redhat.com>
36861
446514f9
AS
36862 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36863 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36864 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36865 (SYSCALL_GETTIME): Set errno on error.
36866
09f93bd3
AS
36867 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36868 count references to noai6ai_cached.
36869
312be3f9
UD
368702011-11-15 Ulrich Drepper <drepper@gmail.com>
36871
36872 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36873
36874 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36875 FD_CLOEXEC for /proc/self/maps.
36876
36877 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36878 FD_CLOEXEC for /proc/meminfo.
36879
36880 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36881 gai.conf.
36882
36883 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36884 FD_CLOEXEC for given file.
36885
36886 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36887
36888 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36889 FD_CLOEXEC for /etc/hosts.
36890 (_gethtent): Likewise.
36891
36892 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36893
36894 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36895 cancellation and set FD_CLOEXEC for /etc/netgroup.
36896
36897 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36898 reading /etc/publickey.
36899
36900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36901 allow cancellation when reading /etc/group.
36902
36903 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36904 cancellation.
36905 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36906
36907 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36908 when using data file.
36909
36910 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36911
36912 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36913 (write_nis_obj): Use "c" and "e" in fopen.
36914
36915 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36916
36917 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36918
36919 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36920
36921 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36922
36923 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36924 locale.alias.
36925
36926 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36927
36928 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36929
36930 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36931
36932 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36933 file parsing and set FD_CLOEXEC.
36934
82af0fa8
UD
369352011-11-14 Ulrich Drepper <drepper@gmail.com>
36936
36937 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36938
a5fb313c
AS
369392011-11-14 Andreas Schwab <schwab@redhat.com>
36940
36941 * malloc/arena.c (arena_get2): Don't call reused_arena when
36942 _int_new_arena failed.
36943
6abf3465
UD
369442011-11-14 Ulrich Drepper <drepper@gmail.com>
36945
36946 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36947 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36948 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36949 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36950 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36952 to compile strcasecmp and strncasecmp.
36953 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36954 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36955
36956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36957
76e3966e
UD
369582011-11-13 Ulrich Drepper <drepper@gmail.com>
36959
36960 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36961 locale-defines.sym to gen-as-const-headers.
36962 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36963 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36965 to compile strcasecmp and strncasecmp.
36966 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36967 strcasecmp_l and strncasecmp_l.
36968 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36969 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36970 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36971 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36972 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36973 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36974 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36975 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36976 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36977 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36978 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36979
ab26144e
UD
369802011-11-12 Ulrich Drepper <drepper@gmail.com>
36981
7edb22ef
UD
36982 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36983 result of SYSDEP_GETTIME_CPU to retval.
36984 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36985 parameter list to macro. Remove trailing semicolon. Adjust users.
36986
9694fc44
UD
36987 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36988 variable.
36989
8ad89ef8
UD
36990 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36991 mantissa words.
36992 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36993
0c822ef9
UD
36994 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36995 from unused variable.
36996
874e0564
UD
36997 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36998 DWARF definitions.
36999 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37000 for assembling.
37001
3a2edc79
UD
37002 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37003 over namespaces.
37004
f3c2577f
UD
37005 * sunrpc/rpc_prot.c (rejected): Fix case value.
37006
294ce126
UD
37007 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37008 unsigned long long int to avoid warnings in shift.
37009
5e2b63c6
UD
37010 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37011 of use of trans.
37012 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37013 variable tmp.
37014
e7f4b08e
UD
37015 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37016 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37017 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37018
ab26144e
UD
37019 * nis/nis_table.c (nis_list): Use variable of correct type for
37020 result of __follow_path call.
37021
8a6d5255
AZ
370222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37023
37024 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37025 of math functions ceil, trunc, floor, round, and sqrt, when
37026 avaliable on the platform.
37027 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37028 name clash.
37029 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37030 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37031 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37032
aaddc98c
MP
370332011-10-30 Marek Polacek <mpolacek@redhat.com>
37034
37035 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37036 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37037
95b7042b
RM
370382011-11-11 Roland McGrath <roland@hack.frob.com>
37039
37040 * include/unistd.h: Fix __readlink return type.
37041 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37042
57769839
UD
370432011-11-11 Ulrich Drepper <drepper@gmail.com>
37044
37045 * stdlib/ucontext.h: Undo last change for makecontext.
37046
edc5984d
AS
370472011-11-11 Andreas Schwab <schwab@redhat.com>
37048
98591e58
AS
37049 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37050
edc5984d
AS
37051 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37052 * setjmp/setjmp.h: Mark functions as non-leaf.
37053 * setjmp/bits/setjmp2.h: Likewise.
37054 * stdlib/ucontext.h: Likewise.
37055
77cdc054
AS
370562011-11-10 Andreas Schwab <schwab@redhat.com>
37057
37058 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37059 (reused_arena): Don't check arena limit.
37060 (arena_get2): Atomically check arena limit.
37061
fe72eebd
UD
370622011-11-08 Ulrich Drepper <drepper@gmail.com>
37063
5f078c32
UD
37064 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37065 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37066
fe72eebd
UD
37067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37068 instructions.
37069
ae1bc2fa
AS
370702011-11-07 Andreas Schwab <schwab@redhat.com>
37071
7583a88d
AS
37072 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37073 handler when locking.
37074
ae1bc2fa
AS
37075 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37076 Fix size of allocated buffer.
37077
10fb0bfa
AS
370782011-11-04 Andreas Schwab <schwab@redhat.com>
37079
998832a4
AS
37080 [BZ #10103]
37081 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37082 declarations for long double functions.
37083 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37084
10fb0bfa
AS
37085 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37086
3d7ba52b
AS
370872011-11-03 Andreas Schwab <schwab@redhat.com>
37088
a9ae54a1
AS
37089 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37090 installed.
37091
3d7ba52b
AS
37092 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37093 is disabled.
37094
bc8db248
ST
370952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37096
37097 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37098
45b96dd6
AS
370992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37100
647776f6
AS
37101 * include/alloca.h (stackinfo_alloca_round): Define.
37102 (extend_alloca): Use it.
37103 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37104 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37105 here.
37106
d91a8b93
AS
37107 * scripts/check-local-headers.sh: Ignore libaudit.h.
37108
45b96dd6
AS
37109 * nscd/Makefile (extra-objs): Make recursively expanded.
37110
432d41ce
UD
371112011-11-01 Ulrich Drepper <drepper@gmail.com>
37112
34372fc6
UD
37113 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37114 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37115
fadb59f8
UD
37116 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37117 * posix/tst-rfc3484-2.c: Likewise.
37118 * posix/tst-rfc3484-3.c: Likewise.
37119
78239589
UD
37120 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37121 process_vm_writev.
37122 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37123 process_vm_writev.
37124 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37125 process_vm_writev from libc using GLIBC_2.15 version.
37126
432d41ce
UD
37127 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37128
02f9c6cf
PP
371292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37130
37131 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37132 stack usage.
37133
3a2c0242
UD
371342011-10-31 Ulrich Drepper <drepper@gmail.com>
37135
f4ec4833
UD
37136 [BZ #13367]
37137 * nss/getent.c (initgroups_keys): Show error message in case no group
37138 names are given.
37139
3a2c0242
UD
37140 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37141 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37142 __bump_nl_timestamp.
37143 * nscd/connections (nscd_init): When host database is served open
37144 netlink socket and request notification about configuration changes.
37145 (main_loop_poll): Track netlink file descriptor and bump timestamp
37146 in case data becomes available.
37147 (main_loop_epoll): Likewise.
37148 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37149 (database_pers_head): Add extra_data fileds.
37150 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37151 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37152 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37153 Adjust caller.
37154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37155 in6ai data, call __free_in6ai.
37156 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37157 Add -DHAVE_NETLINK.
37158 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37159 interface information. Reuse previous data if netlink timestamp
37160 is not changed.
37161 (__bump_nl_timestamp): New function.
37162 (__free_in6ai): New function.
37163
636064eb
UD
371642011-10-30 Ulrich Drepper <drepper@gmail.com>
37165
37166 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37167 close_not_cancel_no_status here.
37168 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37169
9beb2334
UD
371702011-10-29 Ulrich Drepper <drepper@gmail.com>
37171
6ef76f3b
UD
37172 [BZ #13276]
37173 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37174 return value.
37175
0ffc4f3e 37176 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37177 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37178 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37179
cb95113e
UD
371802011-07-03 Andreas Jaeger <aj@suse.de>
37181
37182 [BZ #10709]
37183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37184 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37185 * math/libm-test.inc (sin_test): Add test case.
37186
a1b560ff
UD
371872011-10-29 Ulrich Drepper <drepper@gmail.com>
37188
c9aaface
UD
37189 [BZ #13337]
37190 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37192
d272e7f1
UD
37193 * elf/chroot_canon.c (chroot_canon): Cleanups.
37194
1bc33071
UD
37195 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37196
1760874d
TJ
37197 [BZ #13335]
37198 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37199 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37200
51d91b18
UD
37201 * string/test-strchr.c: Make usable for strchrnul testing.
37202 * string/test-strchrnul.c: New file.
37203 * string/Makefile (strop-tests): Add strchrnul.
37204
a1b560ff 37205 * po/it.po: Update from translation team.
b611fb81 37206 * po/es.po: Likewise.
a1b560ff 37207
a5b81e1f
UD
372082011-10-28 Ulrich Drepper <drepper@gmail.com>
37209
fd52bc6d
UD
37210 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37211 the three constants needed as parameters. Drop the others.
37212 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37213 __m128i_strloadu_tolower.
52e4b9eb
UD
37214 Create and initialize variable zero and use it in all the places
37215 where _mm_setzero_si128 was used.
fd52bc6d 37216
a5b81e1f
UD
37217 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37218 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37219 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37220 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37221 anymore.
37222 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37223 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37224 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37225 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37226 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37227 __mpranred, __mptan.
37228 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37229 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37230 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37231 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37232 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37233 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37234 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37235 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37236 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37237
b4343346
AS
372382011-10-28 Andreas Schwab <schwab@redhat.com>
37239
0c92d8a8
AS
37240 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37241 redefine if SHARED.
37242 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37243
b4343346
AS
37244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37245 wide char related routines to wcsmbs subdir.
37246
3871f58f
AS
372472011-10-27 Andreas Schwab <schwab@redhat.com>
37248
37249 [BZ #13344]
37250 * misc/sys/cdefs.h (__THROWNL): Define.
37251 * posix/unistd.h: Use __THREADNL instead of __THREAD
37252 for memory synchronization functions.
37253
94d44d9f
RM
372542011-10-26 Roland McGrath <roland@hack.frob.com>
37255
21b64b15 37256 [BZ #13349]
94d44d9f
RM
37257 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37258 doesn't exist.
37259 * manual/stdio.texi (Obstack Streams): Node removed.
37260
f6ce9294
AS
372612011-10-26 Andreas Schwab <schwab@redhat.com>
37262
80479147
AS
37263 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37264 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37265 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37266
f6ce9294
AS
37267 * math/math_private.h (math_force_eval): Allow non-addressable
37268 arguments.
37269 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37270
618280a1
UD
372712011-10-25 Ulrich Drepper <drepper@gmail.com>
37272
e0016b11
UD
37273 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37274 file is not needed.
37275
37276 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37277 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37278 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37279 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37280 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37281 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37282 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37283 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37284 Add AVX variants.
37285 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37286 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37287 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37288 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37289 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37290 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37291 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37292 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37293 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37294 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37295 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37296 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37297 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37298 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37299 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37300 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37301 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37302 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37303 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37304
37305 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37306 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37307
618280a1
UD
37308 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37309 place. Use VEX encoding when compiling for AVX.
37310
37822576
AS
373112011-10-25 Andreas Schwab <schwab@redhat.com>
37312
1f1e1947
AS
37313 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37314 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37315
37822576
AS
37316 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37317
31ea014d
UD
373182011-10-25 Ulrich Drepper <drepper@gmail.com>
37319
d7826aa1 37320 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37321 useless if() expression.
d7826aa1
UD
37322 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37329 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37330 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37332 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37333 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37334 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37335 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37336 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37337 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37338 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37340 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37341
31ea014d
UD
37342 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37343
16437fec
AS
373442011-10-25 Andreas Schwab <schwab@redhat.com>
37345
37346 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37347 condition.
37348 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37349
31d3cc00
UD
373502011-10-25 Ulrich Drepper <drepper@gmail.com>
37351
37352 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37353 .text section. Avoid duplicate constants.
37354 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37356 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37358 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37362 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37363 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37364 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37365 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37366 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37367 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37368 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37369 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37370 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37371 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37372 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37375 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37376 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37377 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37378 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37379 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37380 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37381 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37382 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37383 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37384 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37385 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37386 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37387 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37388 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37389 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37390 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37391 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37392 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37393 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37394 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37395 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37396 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37397 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37398 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37399
58985aa9
UD
374002011-10-24 Ulrich Drepper <drepper@gmail.com>
37401
202c9deb
UD
37402 * sysdeps/x86_64/dla.h: Move to ...
37403 * sysdeps/x86_64/fpu/dla.h: ...here.
37404 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37405 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37406
af968f62
UD
37407 * config.make.in: Add have-mfma4 entry.
37408 * configure.in: Substitute libc_cv_cc_fma4.
37409 * math/Makefile (dbl-only-routines): Add sincostab.
37410 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37411 Use __sincostab not sincos.
37412 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37413 name is a macro.
37414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37418 using __copysign.
37419 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37420 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37421 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37422 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37423 and __inv.
37424 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37425 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37426 __copysign.
37427 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37428 define aliases when function name is a macro.
37429 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37430 sysdeps/ieee754/dbl-64/sincos.tbl.
37431 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37432 fma4-enabled routines.
37433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37434 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37435 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37436 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37437 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37438 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37439 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37440 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37441 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37442 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37443 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37444 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37445 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37446 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37448 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37451 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37452 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37453 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37454 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37455 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37457 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37458 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37460 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37461 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37462 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37463
58985aa9
UD
37464 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37465 rename.
37466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37474
a201fbcf
AS
374752011-10-24 Andreas Schwab <schwab@redhat.com>
37476
37477 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37478
fc2ee42a
LD
374792011-10-23 Ulrich Drepper <drepper@gmail.com>
37480
bb3129bd
UD
37481 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37482
0275fff8
UD
37483 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37484 prediction.
37485 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37486
2fa2ae85
UD
37487 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37488 Remove unused variable magic_bits.
37489 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37490
fc2ee42a
LD
37491 * string/strnlen.c: Define and use STRNLEN macro.
37492 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37493 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37495 * wcsmbs/wcslen.c: Define and use WCSLEN.
37496 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37497 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37498 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37499 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37500 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37501 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37502 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37503
ce7dd29f
LD
375042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37505
37506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37507 strnlen-sse2-no-bsf.
37508 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37509 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37510 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37511 Add strnlen support.
37512 (USE_AS_STRNLEN): New macro.
37513 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37514 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37515 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37516 * sysdeps/x86_64/wcslen.S: New file.
37517
979c70a3
MZ
375182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37519
37520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37521 XMM-moves are used for copying on small sizes.
37522
2d09f82f
LD
375232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37524
37525 * wcsmbs/Makefile (strop-tests): Add wcschr.
37526 * wcsmbs/test-wcschr.c: New file.
37527 * string/test-strchr.c: Update.
37528 Add wcschr support.
37529 (WIDE): New macro.
37530
619fccca
LD
375312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37532
2d09f82f 37533 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37534 * wcsmbs/test-wcslen.c: New file.
37535 * string/test-strlen.c: Update.
37536 Add wcslen support.
37537 (WIDE): New macro.
37538
09f699ea
UD
375392011-10-23 Ulrich Drepper <drepper@gmail.com>
37540
37541 * po/it.po: Update from translation team.
37542
95584d3b
LD
375432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37544
37545 * sysdeps/x86_64/wcscmp.S: Update.
37546 Fix wrong comparison semantics.
37547 wcscmp shall use signed comparison not unsigned.
37548 Don't use substraction to avoid overflow bug.
37549 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37550 * wcsmbc/wcscmp.c: Likewise.
37551 * string/test-strcmp.c: Likewise.
37552 Add new tests to check cases with negative values.
37553
c8b3296b
UD
375542011-10-23 Ulrich Drepper <drepper@gmail.com>
37555
37556 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37557 * sysdeps/x86_64/dla.h: ...here. New file.
37558 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37567
246ad57a
AS
375682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37569
37570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37571 __ynl_finite aliases.
37572
a1a87169
UD
375732011-10-22 Ulrich Drepper <drepper@gmail.com>
37574
0d355eb7
UD
37575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37576
a1a87169
UD
37577 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37578 define DLA_FMA.
37579 [DLA_FMA] (EMULV): Use DLA_FMA.
37580 [DLA_FMA] (MUL12): Use EMULV.
37581 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37582 that are not needed.
37583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37590
ee2aafe0
AS
375912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37592
37593 * math/s_nan.c: Undef __nan.
37594 * math/s_nanf.c: Undef __nanf.
37595 * math/s_nanl.c: Undef __nanl.
37596 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37597 "math_private.h".
37598
bc62c2fb
UD
375992011-10-22 Ulrich Drepper <drepper@gmail.com>
37600
77425c63
UD
37601 * math/s_catan.c: Add branch predictions.
37602 * math/s_catanf.c: Likewise.
37603 * math/s_catanh.c: Likewise.
37604 * math/s_catanhf.c: Likewise.
37605 * math/s_catanhl.c: Likewise.
37606 * math/s_catanl.c: Likewise.
37607 * math/s_cexp.c: Likewise.
37608 * math/s_cexpf.c: Likewise.
37609 * math/s_cexpl.c: Likewise.
37610 * math/s_clog.c: Likewise.
37611 * math/s_clog10.c: Likewise.
37612 * math/s_clog10f.c: Likewise.
37613 * math/s_clog10l.c: Likewise.
37614 * math/s_clogf.c: Likewise.
37615 * math/s_clogl.c: Likewise.
37616 * math/s_csqrt.c: Likewise.
37617 * math/s_csqrtf.c: Likewise.
37618 * math/s_csqrtl.c: Likewise.
37619 * math/s_ctanf.c: Likewise.
37620 * math/s_ctanh.c: Likewise.
37621 * math/s_ctanhf.c: Likewise.
37622 * math/s_ctanhl.c: Likewise.
37623 * math/s_ctanl.c: Likewise.
37624
bc62c2fb
UD
37625 * math/math_private.h: Define __nan, __nanf, __nanl.
37626 * math/s_cacosh.c: Include <math_private.h>.
37627 * math/s_cacoshl.c: Likewise.
37628 * math/s_casinh.c: Likewise.
37629 * math/s_casinhf.c: Likewise.
37630 * math/s_casinhl.c: Likewise.
37631 * math/s_ccos.c: Rely entire on ccosh.
37632 * math/s_ccosf.c: Rely entire on ccoshf.
37633 * math/s_ccosl.c: Rely entirely on ccoshl.
37634 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37635 Remove tests for FE_INVALID.
37636 * math/s_ccoshf.c: Likewise.
37637 * math/s_ccoshl.c: Likewise.
37638 * math/s_csin.c: Likewise.
37639 * math/s_csinf.c: Likewise.
37640 * math/s_csinh.c Likewise.
37641 * math/s_csinhf.c: Likewise.
37642 * math/s_csinhl.c: Likewise.
37643 * math/s_csinl.c: Likewise.
37644 * math/s_ctan.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37646 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37647 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37648
8ec250a4
UD
376492011-10-21 Ulrich Drepper <drepper@gmail.com>
37650
c196fed8
UD
37651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37652 compilation problems.
37653
8ec250a4
UD
37654 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37655 __builtin_expect.
37656
8d4f46c6
UD
376572011-10-20 Ulrich Drepper <drepper@gmail.com>
37658
ed72b654
UD
37659 * sysdeps/i386/configure.in: Test for -mfma4 option.
37660 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37661 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37662 COMMON_CPUID_INDEX_80000001.
37663 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37664 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37665 use it if FMA3 is not supported.
37666 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37667
8d4f46c6
UD
37668 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37669 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37670
d45c60c2
AS
376712011-10-20 Andreas Schwab <schwab@redhat.com>
37672
37673 [BZ #12892]
37674 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37675 it would create a cycle with a link time dependency.
37676
d9a4d2ab
UD
376772011-10-19 Ulrich Drepper <drepper@gmail.com>
37678
855d1560
UD
37679 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37680 instruction.
37681 * string/Makefile (strop-tests): Add rawmemchr.
37682 * string/test-rawmemchr.c: New file.
37683
d9a4d2ab
UD
37684 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37685 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37686 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37687 when compiling str{,n}casecmp and when AVX is available. Hook up
37688 new optimized code in initializers.
37689
8f3b1ffe
AS
376902011-10-19 Andreas Schwab <schwab@redhat.com>
37691
37692 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37693 __feraiseexcept instead of feraiseexcept.
37694
d38f1dba
UD
376952011-10-18 Ulrich Drepper <drepper@gmail.com>
37696
d9a8d0ab
UD
37697 * math/math_private.h: Define defaults for libc_fetestexcept and
37698 libc_feupdateenv.
37699 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37700 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37701 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37702 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37703 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37704 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37705 libc_fetestexcept and libc_feupdateenv.
37706
4855e3dd
UD
37707 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37708 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37709 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37710 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37711 libc_feholdexcept_setround.
37712
581d30e3
UD
37713 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37714 Add s_nearbyint-c and s_nearbyintf-c.
37715 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37716 nearbyintf inlines.
37717 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37719 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37720 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37721
d38f1dba
UD
37722 * math/math_private.h: Define defaults for libc_fegetround,
37723 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37724 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37725 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37727 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37728 standard functions.
37729 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37730 Remove comments and hacks for old compiler versions.
37731 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37732 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37733 libc_feholdexceptl.
37734
caa6c9d8
AS
377352011-10-18 Andreas Schwab <schwab@redhat.com>
37736
37737 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37738 (__feraiseexcept_renamed): Add __NTH.
37739 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37740 namespace violations.
37741
97c066e6
UD
377422011-10-17 Ulrich Drepper <drepper@gmail.com>
37743
99ce7b04
UD
37744 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37745
1004d182
UD
37746 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37747
228a984d
UD
37748 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37749 recently added interfaces.
37750 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37751
c8553a6a
UD
37752 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37753 about macro parameter expansion.
37754
ed22dcf6
UD
37755 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37756 __NO_MATH_INLINES is defined. Cleanups.
37757
37758 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37759 and __floorf is target has SSE4.1.
37760 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37761 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37762 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37763 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37764
b171c137
UD
37765 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37766 name.
37767 (floorf): Likewise.
37768
97c066e6
UD
37769 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37770
629f62ef
AS
377712011-10-17 Andreas Schwab <schwab@redhat.com>
37772
49a43d80
AS
37773 * misc/sys/cdefs.h: Fix last change.
37774
629f62ef
AS
37775 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37776 database lookup.
37777
e453f6cd
UD
377782011-10-16 Ulrich Drepper <drepper@gmail.com>
37779
aa78043a
UD
37780 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37781
ad0f5cad
UD
37782 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37783 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37789 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37790 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37791 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37792 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37793 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37794 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37795 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37796 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37797 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37798 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37799 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37800 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37801 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37802 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37803 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37804
37805 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37806 ceil, ceilf, floor, floorf.
37807
37808 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37809 Perform IRELATIVE relocations last.
37810
e453f6cd
UD
37811 * elf/do-rel.h: Add another parameter nrelative, replacing the
37812 local variable with the same name. Change name of the function
37813 to end in Rel or Rela (uppercase).
37814 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37815 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37816 elf_dynamic_do_##reloc function.
37817
fd5bdc09
UD
378182011-10-15 Ulrich Drepper <drepper@gmail.com>
37819
79b195b5
UD
37820 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37821 is sufficient, at least on modern CPUs.
37822
d4a28569
UD
37823 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37824
b61099b5
UD
37825 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37826 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37827
bcf01e6d
UD
37828 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37829 __expl_finite.
37830 * math/bits/math-finite.h: Add entries for exp.
37831 * math/e_expl.c: Add __*_finite alias.
37832 * sysdeps/i386/fpu/e_exp.S: Likewise.
37833 * sysdeps/i386/fpu/e_expf.S: Likewise.
37834 * sysdeps/i386/fpu/e_expl.c: Likewise.
37835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37836 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37839 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37840 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37842
ba1a0d59
UD
37843 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37844 is sufficient, at least on modern CPUs.
37845
fd5bdc09
UD
37846 * ctype/ctype-info.c (__ctype_init): Define.
37847 * include/ctype.h (__ctype_init): Declare.
37848 (__ctype_b_loc): The variable is always initialized.
37849 (__ctype_toupper_loc): Likewise.
37850 (__ctype_tolower_loc): Likewise.
37851 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37852 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37853
7872cfb0
AS
378542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37855
b468825a
AS
37856 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37857
7872cfb0
AS
37858 * configure.in: Also look in $cxxmachine/include for C++ system
37859 headers.
37860
be13f7bf
LD
378612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37862
37863 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37864 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37865 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37866 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37867 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37868 (USE_AS_WMEMCMP): New macro.
37869 Fixing indents.
37870 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37871 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37872 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37873 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37875 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37876 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37877 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37878 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37879 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37880 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37881 (USE_AS_WMEMCMP): New macro.
37882 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37883 * sysdeps/string/test-memcmp.c: Update.
37884 Fix simple_wmemcmp.
37885 Add new tests.
37886 * wcsmbs/wmemcmp.c: Update.
37887 (WMEMCMP): New macro.
37888 Fix overflow bug.
37889
556a2007
AJ
378902011-10-12 Andreas Jaeger <aj@suse.de>
37891
37892 [BZ #13268]
37893 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37894
538faaa7
UD
378952011-10-15 Ulrich Drepper <drepper@gmail.com>
37896
ab6737ff
UD
37897 * libio/iofwide.c (do_length): Avoid warning.
37898
538faaa7
UD
37899 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37900
396a21b1
UD
379012011-10-14 Ulrich Drepper <drepper@gmail.com>
37902
cdf2901f
UD
37903 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37904
38ad40ce
UD
37905 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37906 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37907 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37908 * sysdeps/i386/i686/fpu/e_log.S: New file.
37909 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37910 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37911
396a21b1
UD
37912 * ctype/ctype.h: Add support for inlined isXXX functions when
37913 compiling C++ code.
37914
6b1f68c9
AS
379152011-10-14 Andreas Schwab <schwab@redhat.com>
37916
349290c0
AS
37917 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37918
6b1f68c9
AS
37919 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37920
f2282d42
RM
379212011-10-13 Roland McGrath <roland@hack.frob.com>
37922
37923 [BZ #13291]
37924 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37925
5298ffa8
AS
379262011-10-13 Andreas Schwab <schwab@redhat.com>
37927
714fad23
AS
37928 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37929 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37930 feraiseexcept.
37931
81dcc7fb
AS
37932 * sysdeps/x86_64/memrchr.S: Check for zero size.
37933
5298ffa8
AS
37934 * string/stratcliff.c: Add memrchr tests.
37935
951fbcec
LD
379362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37937
37938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37939 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37940 rawmemchr-sse2 rawmemchr-sse2-bsf.
37941 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37942 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37943 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37944 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37945 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37946 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37947 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37948 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37949 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37950 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37951 * string/memrchr.c (MEMRCHR): New macro.
37952
0ac5ae23
UD
379532011-10-12 Ulrich Drepper <drepper@gmail.com>
37954
37955 Add integration with gcc's -ffinite-math-only and optimize wrapper
37956 functions in libm.
37957 * Versions.def: Define GLIBC_2.15 version for libm.
37958 * math/Makefile (headers): Add bits/math-finite.h.
37959 * math/bits/math-finite.h: New file.
37960 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37961 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37962 * math/e_acoshl.c: Add __*_finite alias.
37963 * math/e_acosl.c: Likewise.
37964 * math/e_asinl.c: Likewise.
37965 * math/e_atan2l.c: Likewise.
37966 * math/e_atanhl.c: Likewise.
37967 * math/e_coshl.c: Likewise.
37968 * math/e_exp10.c: Likewise.
37969 * math/e_exp10f.c: Likewise.
37970 * math/e_exp10l.c: Likewise.
37971 * math/e_exp2l.c: Likewise.
37972 * math/e_fmodl.c: Likewise.
37973 * math/e_gammal_r.c: Likewise.
37974 * math/e_hypotl.c: Likewise.
37975 * math/e_j0l.c: Likewise.
37976 * math/e_j1l.c: Likewise.
37977 * math/e_jnl.c: Likewise.
37978 * math/e_lgammal_r.c: Likewise.
37979 * math/e_log10l.c: Likewise.
37980 * math/e_log2l.c: Likewise.
37981 * math/e_logl.c: Likewise.
37982 * math/e_powl.c: Likewise.
37983 * math/e_sinhl.c: Likewise.
37984 * math/e_sqrtl.c: Likewise.
37985 * math/e_scalb.c: Completely rewritten and optimized.
37986 * math/e_scalbf.c: Likewise.
37987 * math/e_scalbl.c: Likewise.
37988 * math/w_acos.c: Likewise.
37989 * math/w_acosf.c: Likewise.
37990 * math/w_acosl.c: Likewise.
37991 * math/w_acosh.c: Likewise.
37992 * math/w_acoshf.c: Likewise.
37993 * math/w_acoshl.c: Likewise.
37994 * math/w_asin.c: Likewise.
37995 * math/w_asinf.c: Likewise.
37996 * math/w_asinl.c: Likewise.
37997 * math/w_atan2.c: Likewise.
37998 * math/w_atan2f.c: Likewise.
37999 * math/w_atan2l.c: Likewise.
38000 * math/w_atanh.c: Likewise.
38001 * math/w_atanhf.c: Likewise.
38002 * math/w_atanhl.c: Likewise.
38003 * math/w_exp10.c: Likewise.
38004 * math/w_exp10f.c: Likewise.
38005 * math/w_exp10l.c: Likewise.
38006 * math/w_fmod.c: Likewise.
38007 * math/w_fmodf.c: Likewise.
38008 * math/w_fmodl.c: Likewise.
38009 * math/w_j0.c: Likewise.
38010 * math/w_j0f.c: Likewise.
38011 * math/w_j0l.c: Likewise.
38012 * math/w_j1.c: Likewise.
38013 * math/w_j1f.c: Likewise.
38014 * math/w_j1l.c: Likewise.
38015 * math/w_jn.c: Likewise.
38016 * math/w_jnf.c: Likewise.
38017 * math/w_log.c: Likewise.
38018 * math/w_logf.c: Likewise.
38019 * math/w_logl.c: Likewise.
38020 * math/w_log10.c: Likewise.
38021 * math/w_log10f.c: Likewise.
38022 * math/w_log10l.c: Likewise.
38023 * math/w_log2.c: Likewise.
38024 * math/w_log2f.c: Likewise.
38025 * math/w_log2l.c: Likewise.
38026 * math/w_pow.c: Likewise.
38027 * math/w_powf.c: Likewise.
38028 * math/w_powl.c: Likewise.
38029 * math/w_remainder.c: Likewise.
38030 * math/w_remainderf.c: Likewise.
38031 * math/w_remainderl.c: Likewise.
38032 * math/w_scalb.c: Likewise.
38033 * math/w_scalbf.c: Likewise.
38034 * math/w_scalbl.c: Likewise.
38035 * math/w_sqrt.c: Likewise.
38036 * math/w_sqrtf.c: Likewise.
38037 * math/w_sqrtl.c: Likewise.
38038 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38039 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38040 used.
38041 * math/math_private.h: Declare __kernel_standard_f.
38042 * math/w_cosh.c: Remove cruft and optimize a bit.
38043 * math/w_coshf.c: Likewise.
38044 * math/w_coshl.c: Likewise.
38045 * math/w_exp2.c: Likewise.
38046 * math/w_exp2f.c: Likewise.
38047 * math/w_exp2l.c: Likewise.
38048 * math/w_hypot.c: Likewise.
38049 * math/w_hypotf.c: Likewise.
38050 * math/w_hypotl.c: Likewise.
38051 * math/w_lgamma.c: Likewise.
38052 * math/w_lgamma_r.c: Likewise.
38053 * math/w_lgammaf.c: Likewise.
38054 * math/w_lgammaf_r.c: Likewise.
38055 * math/w_lgammal.c: Likewise.
38056 * math/w_lgammal_r.c: Likewise.
38057 * math/w_sinh.c: Likewise.
38058 * math/w_sinhf.c: Likewise.
38059 * math/w_sinhl.c: Likewise.
38060 * math/w_tgamma.c: Likewise.
38061 * math/w_tgammaf.c: Likewise.
38062 * math/w_tgammal.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38064 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38065 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38066 Minor optimizations. Pretty printing. Remove cruft.
38067 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38068 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38069 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38070 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38071 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38072 * sysdeps/i386/fpu/e_asin.S: Likewise.
38073 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38074 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38075 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38076 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38077 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38078 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38079 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38080 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38081 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38082 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38083 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38084 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38085 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38086 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38087 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38088 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38089 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38090 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38091 * sysdeps/i386/fpu/e_log.S: Likewise.
38092 * sysdeps/i386/fpu/e_log10.S: Likewise.
38093 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38094 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38095 * sysdeps/i386/fpu/e_log2.S: Likewise.
38096 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38097 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38098 * sysdeps/i386/fpu/e_logf.S: Likewise.
38099 * sysdeps/i386/fpu/e_logl.S: Likewise.
38100 * sysdeps/i386/fpu/e_pow.S: Likewise.
38101 * sysdeps/i386/fpu/e_powf.S: Likewise.
38102 * sysdeps/i386/fpu/e_powl.S: Likewise.
38103 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38104 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38105 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38106 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38107 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38108 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38109 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38110 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38111 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38112 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38125 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38126 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38129 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38132 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38133 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38134 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38135 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38136 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38137 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38138 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38139 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38140 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38141 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38142 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38143 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38145 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38146 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38147 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38148 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38149 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38150 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38151 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38152 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38153 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38154 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38158 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38162 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38165 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38167 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38168 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38177 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38181 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38183 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38184 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38186 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38187 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38188 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38189 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38190 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38191 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38192 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38193 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38194 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38195 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38196 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38197 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38198 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38199 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38200 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38201 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38202 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38205 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38206 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38207 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38208 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38209 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38210 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38211 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38212 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38213 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38214 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38215 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38216 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38217 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38218 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38219 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38220 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38221 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38222 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38223 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38224 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38225 (__isnanf): Likewise.
38226 (__isinf_ns): Likewise.
38227 (__isinf_nsf): Likewise.
38228 (__finite): Likewise.
38229 (__finitef): Likewise.
38230 (__ieee754_sqrt): Define as macro.
38231 (__ieee754_sqrtf): Define as macro.
38232 (__ieee754_sqrtl): Define as macro.
38233 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38234 inlined copy.
38235 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38236 __FINITE_MATH_ONLY__ consistent.
38237 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38238
12cc2fcd
AS
382392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38240
a843a204
AS
38241 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38242 of rawmemchr.
38243
12cc2fcd
AS
38244 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38245
c853acd5
UD
382462011-10-09 Ulrich Drepper <drepper@gmail.com>
38247
38248 * po/ja.po: Update from translation team.
38249
c658d255
RM
382502011-10-08 Roland McGrath <roland@hack.frob.com>
38251
110946e4
RM
38252 * locale/programs/locarchive.c (prepare_address_space): New function.
38253 (create_archive, enlarge_archive, open_archive): Use it.
38254
50604220
RM
38255 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38256 inside [SHARED], where it is used.
38257
c658d255
RM
38258 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38259
38260 * nss/getent.c (netgroup_keys): Remove unused variable.
38261 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38262
6a621eb7
UD
382632011-10-08 Ulrich Drepper <drepper@gmail.com>
38264
7edb55ce
UD
38265 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38266 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38268 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38269 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38270 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38271 * math/Makefile (libm-calls): Add s_isinf_ns.
38272 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38273 * math/multc3.c: Likewise.
38274 * math/s_casin.c: Likewise.
38275 * math/s_casinf.c: Likewise.
38276 * math/s_casinl.c: Likewise.
38277 * math/s_ccos.c: Likewise.
38278 * math/s_ccosf.c: Likewise.
38279 * math/s_ccosl.c: Likewise.
38280 * math/s_ctan.c: Likewise.
38281 * math/s_ctanf.c: Likewise.
38282 * math/s_ctanh.c: Likewise.
38283 * math/s_ctanhf.c: Likewise.
38284 * math/s_ctanhl.c: Likewise.
38285 * math/s_ctanl.c: Likewise.
38286 * math/w_fmod.c: Likewise.
38287 * math/w_fmodf.c: Likewise.
38288 * math/w_fmodl.c: Likewise.
38289 * math/w_remainder.c: Likewise.
38290 * math/w_remainderf.c: Likewise.
38291 * math/w_remainderl.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38293 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38294 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38296 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38297 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38298 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38299 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38300
187da0ae
UD
38301 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38302 of the number.
38303 * stdio-common/printf_fphex.c: Likewise.
38304 * stdio-common/printf_size.c: Likewise.
38305
9277c064
UD
38306 * math/e_exp10.c: Include math_private.h using <...> not "...".
38307 * math/e_exp10f.c: Likewise.
38308 * math/e_exp10l.c: Likewise.
38309 * math/e_exp2l.c: Likewise.
38310 * math/e_j0l.c: Likewise.
38311 * math/e_j1l.c: Likewise.
38312 * math/e_jnl.c: Likewise.
38313 * math/e_lgammal_r.c: Likewise.
38314 * math/e_rem_pio2l.c: Likewise.
38315 * math/e_scalb.c: Likewise.
38316 * math/e_scalbf.c: Likewise.
38317 * math/e_scalbl.c: Likewise.
38318 * math/k_cosl.c: Likewise.
38319 * math/k_sinl.c: Likewise.
38320 * math/k_tanl.c: Likewise.
38321 * math/s_cacoshf.c: Likewise.
38322 * math/s_catan.c: Likewise.
38323 * math/s_catanf.c: Likewise.
38324 * math/s_catanh.c: Likewise.
38325 * math/s_catanhf.c: Likewise.
38326 * math/s_catanhl.c: Likewise.
38327 * math/s_catanl.c: Likewise.
38328 * math/s_ccosh.c: Likewise.
38329 * math/s_ccoshf.c: Likewise.
38330 * math/s_ccoshl.c: Likewise.
38331 * math/s_cexp.c: Likewise.
38332 * math/s_cexpf.c: Likewise.
38333 * math/s_cexpl.c: Likewise.
38334 * math/s_clog.c: Likewise.
38335 * math/s_clog10.c: Likewise.
38336 * math/s_clog10f.c: Likewise.
38337 * math/s_clog10l.c: Likewise.
38338 * math/s_clogf.c: Likewise.
38339 * math/s_clogl.c: Likewise.
38340 * math/s_csin.c: Likewise.
38341 * math/s_csinf.c: Likewise.
38342 * math/s_csinh.c: Likewise.
38343 * math/s_csinhf.c: Likewise.
38344 * math/s_csinhl.c: Likewise.
38345 * math/s_csinl.c: Likewise.
38346 * math/s_csqrt.c: Likewise.
38347 * math/s_csqrtf.c: Likewise.
38348 * math/s_csqrtl.c: Likewise.
38349 * math/s_ctan.c: Likewise.
38350 * math/s_ctanf.c: Likewise.
38351 * math/s_ctanh.c: Likewise.
38352 * math/s_ctanhf.c: Likewise.
38353 * math/s_ctanhl.c: Likewise.
38354 * math/s_ctanl.c: Likewise.
38355 * math/s_ldexp.c: Likewise.
38356 * math/s_ldexpf.c: Likewise.
38357 * math/s_ldexpl.c: Likewise.
38358 * math/s_significand.c: Likewise.
38359 * math/s_significandf.c: Likewise.
38360 * math/s_significandl.c: Likewise.
38361 * math/w_acos.c: Likewise.
38362 * math/w_acosf.c: Likewise.
38363 * math/w_acosh.c: Likewise.
38364 * math/w_acoshf.c: Likewise.
38365 * math/w_acoshl.c: Likewise.
38366 * math/w_acosl.c: Likewise.
38367 * math/w_asin.c: Likewise.
38368 * math/w_asinf.c: Likewise.
38369 * math/w_asinl.c: Likewise.
38370 * math/w_atan2.c: Likewise.
38371 * math/w_atan2f.c: Likewise.
38372 * math/w_atan2l.c: Likewise.
38373 * math/w_atanh.c: Likewise.
38374 * math/w_atanhf.c: Likewise.
38375 * math/w_atanhl.c: Likewise.
38376 * math/w_cosh.c: Likewise.
38377 * math/w_coshf.c: Likewise.
38378 * math/w_coshl.c: Likewise.
38379 * math/w_dremf.c: Likewise.
38380 * math/w_exp10.c: Likewise.
38381 * math/w_exp10f.c: Likewise.
38382 * math/w_exp10l.c: Likewise.
38383 * math/w_exp2.c: Likewise.
38384 * math/w_exp2f.c: Likewise.
38385 * math/w_fmod.c: Likewise.
38386 * math/w_fmodf.c: Likewise.
38387 * math/w_fmodl.c: Likewise.
38388 * math/w_hypot.c: Likewise.
38389 * math/w_hypotf.c: Likewise.
38390 * math/w_hypotl.c: Likewise.
38391 * math/w_j0.c: Likewise.
38392 * math/w_j0f.c: Likewise.
38393 * math/w_j0l.c: Likewise.
38394 * math/w_j1.c: Likewise.
38395 * math/w_j1f.c: Likewise.
38396 * math/w_j1l.c: Likewise.
38397 * math/w_jn.c: Likewise.
38398 * math/w_jnf.c: Likewise.
38399 * math/w_jnl.c: Likewise.
38400 * math/w_lgamma.c: Likewise.
38401 * math/w_lgamma_r.c: Likewise.
38402 * math/w_lgammaf.c: Likewise.
38403 * math/w_lgammaf_r.c: Likewise.
38404 * math/w_lgammal.c: Likewise.
38405 * math/w_lgammal_r.c: Likewise.
38406 * math/w_log.c: Likewise.
38407 * math/w_log10.c: Likewise.
38408 * math/w_log10f.c: Likewise.
38409 * math/w_log10l.c: Likewise.
38410 * math/w_log2.c: Likewise.
38411 * math/w_log2f.c: Likewise.
38412 * math/w_log2l.c: Likewise.
38413 * math/w_logf.c: Likewise.
38414 * math/w_logl.c: Likewise.
38415 * math/w_pow.c: Likewise.
38416 * math/w_powf.c: Likewise.
38417 * math/w_powl.c: Likewise.
38418 * math/w_remainder.c: Likewise.
38419 * math/w_remainderf.c: Likewise.
38420 * math/w_remainderl.c: Likewise.
38421 * math/w_scalb.c: Likewise.
38422 * math/w_scalbf.c: Likewise.
38423 * math/w_scalbl.c: Likewise.
38424 * math/w_sinh.c: Likewise.
38425 * math/w_sinhf.c: Likewise.
38426 * math/w_sinhl.c: Likewise.
38427 * math/w_sqrt.c: Likewise.
38428 * math/w_sqrtf.c: Likewise.
38429 * math/w_sqrtl.c: Likewise.
38430 * math/w_tgamma.c: Likewise.
38431 * math/w_tgammaf.c: Likewise.
38432 * math/w_tgammal.c: Likewise.
38433
6a621eb7
UD
38434 * po/ja.po: Update from translation team.
38435
bf582445
AJ
384362011-09-29 Andreas Jaeger <aj@suse.de>
38437
f9efbf3a
AJ
38438 [BZ #13179]
38439 * sunrpc/netname.c (netname2host): Fix logic.
38440
bf582445
AJ
38441 [BZ #6779]
38442 [BZ #6783]
38443 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38444 correctly.
38445 * math/w_remainder.c (__remainder): Likewise.
38446 * math/w_remainderf.c (__remainderf): Likewise.
38447 * math/libm-test.inc (remainder_test): Add test cases.
38448
48693bea
AK
384492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38450
38451 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38452 sdiv_qrnnd.
38453
42622229
LD
384542011-10-07 Ulrich Drepper <drepper@gmail.com>
38455
38456 * string/test-memcmp.c: Avoid unncessary #defines.
38457 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38458
093ecf92
LD
384592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38460
38461 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38462 Use new sse2 version for core i3 - i7 as it's faster
38463 than sse42 version.
38464 (bit_Prefer_PMINUB_for_stringop): New.
38465 * sysdeps/x86_64/rawmemchr.S: Update.
38466 Replace with faster SSE2 version.
38467 * sysdeps/x86_64/memrchr.S: New file.
38468 * sysdeps/x86_64/memchr.S: Update.
38469 Replace with faster SSE2 version.
38470
fde56e5c
MP
384712011-09-12 Marek Polacek <mpolacek@redhat.com>
38472
38473 * elf/dl-load.c (lose): Add cast to avoid warning.
38474
21fd49a9
UD
384752011-10-07 Ulrich Drepper <drepper@gmail.com>
38476
5a06e643
UD
38477 * po/ca.po: Update from translation team.
38478
684ae515
UD
38479 * inet/getnetgrent_r.c: Hook up nscd.
38480 * nscd/Makefile (routines): Add nscd_netgroup.
38481 (nscd-modules): Add netgroupcache.
38482 (CFLAGS-netgroupcache.c): Define.
38483 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38484 (cache_search): Add const to second parameter.
38485 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38486 INNETGR.
38487 (dbs): Add netgrdb entry.
38488 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38489 (verify_persistent_db): Handle netgrdb.
38490 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38491 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38492 GETFDNETGR.
38493 (netgroup_response_header): Define.
38494 (innetgroup_response_header): Define.
38495 (datahead): Add netgroup_response_header and innetgroup_response_header
38496 elements.
38497 * nscd/nscd.conf: Add entries for netgroup cache.
38498 * nscd/nscd.h (dbtype): Add netgrdb.
38499 (_PATH_NSCD_NETGROUP_DB): Define.
38500 (netgroup_iov_disabled): Declare.
38501 (xmalloc, xcalloc, xrealloc): Move declarations here.
38502 (cache_search): Adjust prototype.
38503 Add netgroup-related prototypes.
38504 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38505 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38506 (__nscd_innetgr): Declare.
38507 * nscd/selinux.c (perms): Use access_vector_t as element type and
38508 add netgroup-related initializers.
38509 * nscd/netgroupcache.c: New file.
38510 * nscd/nscd_netgroup.c: New file.
38511 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38512 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38513 For four parameters use innetgr.
38514 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38515 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38516 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38517 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38518
21fd49a9
UD
38519 * nscd/connections.c (register_traced_file): Don't register file
38520 for disabled databases.
38521
054c0457
UD
385222011-10-06 Ulrich Drepper <drepper@gmail.com>
38523
32b63198
UD
38524 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38525
054c0457
UD
38526 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38527 from tree and freeing node.
38528
64031225
JO
385292011-09-25 Jiri Olsa <jolsa@redhat.com>
38530
38531 * nss/nsswitch.c (__nss_database_lookup): Handle
38532 nss_parse_service_list out of memory case.
38533
0490345c
JO
385342011-09-15 Jiri Olsa <jolsa@redhat.com>
38535
38536 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38537 out of memory case.
38538
3a62d00d
AS
385392011-10-04 Andreas Schwab <schwab@redhat.com>
38540
38541 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38542 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38543 pass it down.
38544 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38545 elf_machine_rela, elf_machine_lazy_rel.
38546 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38547 (ELF_DYNAMIC_DO_REL): Likewise.
38548 (ELF_DYNAMIC_DO_RELA): Likewise.
38549 (ELF_DYNAMIC_RELOCATE): Likewise.
38550 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38551 to ELF_DYNAMIC_DO_REL.
38552 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38553 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38554 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38555 elf_machine_rela.
38556 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38557 skip_ifunc, don't call ifunc function if non-zero.
38558 (elf_machine_rela): Likewise.
38559 (elf_machine_lazy_rel): Likewise.
38560 (elf_machine_lazy_rela): Likewise.
38561 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38562 (elf_machine_lazy_rel): Likewise.
38563 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38564 Likewise.
38565 (elf_machine_lazy_rel): Likewise.
38566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38567 Likewise.
38568 (elf_machine_lazy_rel): Likewise.
38569 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38570 (elf_machine_lazy_rel): Likewise.
38571 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38572 (elf_machine_lazy_rel): Likewise.
38573 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38574 (elf_machine_lazy_rel): Likewise.
38575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38576 (elf_machine_lazy_rel): Likewise.
38577 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38578 (elf_machine_lazy_rel): Likewise.
38579 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38580 (elf_machine_lazy_rel): Likewise.
38581
68577918
UD
385822011-09-28 Ulrich Drepper <drepper@gmail.com>
38583
38584 * nss/nss_files/files-init.c (_nss_files_init): Use static
38585 initialization for all the *_traced_file variables.
38586
68822d74
AS
385872011-09-28 Andreas Schwab <schwab@redhat.com>
38588
38589 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38590
2056100b
RM
385912011-09-27 Roland McGrath <roland@hack.frob.com>
38592
38593 [BZ #13226]
38594 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38595
32c76b63
AS
385962011-09-27 Andreas Schwab <schwab@redhat.com>
38597
38598 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38599 Reread the line before reparsing it.
38600
bf972c9d
AS
386012011-09-26 Andreas Schwab <schwab@redhat.com>
38602
38603 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38604
e057a1b5
JM
386052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38606 Maxim Kuvyrkov <maxim@codesourcery.com>
38607 Joseph Myers <joseph@codesourcery.com>
38608
38609 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38610 if needed for __stack_chk_guard.
38611
bc7e1c36
RM
386122011-09-19 Roland McGrath <roland@hack.frob.com>
38613
ecb1482f
RM
38614 * sysdeps/posix/spawni.c (script_execute): Always define it.
38615 It will be optimized away if unused.
38616 (maybe_script_execute): New function.
38617 (__spawni): Call it.
38618
bc7e1c36
RM
38619 * Makerules: Don't include tls.make.
38620 (config-tls): Always set to thread.
38621 * tls.make.c: File removed.
38622
1c3b002b
MF
386232011-09-19 Mike Frysinger <vapier@gentoo.org>
38624
38625 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38626 * config.make.in (CPPFLAGS-config): New substituted variable.
38627
2840865d
UD
386282011-09-15 Ulrich Drepper <drepper@gmail.com>
38629
88738eb6
UD
38630 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38631
cbf645a6 38632 [BZ #13192]
2840865d
UD
38633 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38634 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38635
b402e91a
RM
386362011-09-15 Roland McGrath <roland@hack.frob.com>
38637
38638 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38639 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38641 (CALL_FAIL): Likewise.
38642 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38643 (CALL_FAIL): Macro removed.
38644 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38645
4c1a1f71
UD
386462011-09-15 Ulrich Drepper <drepper@gmail.com>
38647
38648 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38649 for __FINITE_MATH_ONLY__ == 1.
38650
edc121be
AS
386512011-09-15 Andreas Schwab <schwab@redhat.com>
38652
38653 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38654 __ieee754_sqrt instead of sqrt.
38655 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38656 __ieee754_sqrtf instead of sqrtf.
38657 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38658 __floorf instead of floorf.
38659 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38660 __floorf, __truncf instead of floorf, truncf.
38661
cd205654
UD
386622011-09-14 Ulrich Drepper <drepper@gmail.com>
38663
ee4d0315
UD
38664 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38665
cd205654
UD
38666 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38667 __extern_always_inline.
38668 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38669 32-bit.
38670
48b67d71
AS
386712011-09-14 Andreas Schwab <schwab@redhat.com>
38672
38673 * elf/rtld.c (dl_main): Also relocate in dependency order when
38674 doing symbol dependency testing.
38675
1ae12c75
AS
386762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38677
38678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38679 Always define `refsym'.
38680
995a80df
AS
386812011-09-13 Andreas Schwab <schwab@redhat.com>
38682
e529793b
AS
38683 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38684 (__FD_ELT): Renamed from __FDELT.
38685 * misc/bits/select2.h (__FD_ELT): Likewise.
38686 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38687 __FD_MASK instead of __FDELT, __FDMASK.
38688 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38689 Likewise.
38690 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38691 Likewise.
38692
52d4fef8
AS
38693 * elf/Makefile (gen-ldd): Fix pattern.
38694
995a80df
AS
38695 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38696 (init_tls): Likewise.
38697
8682f8b0
UD
386982011-09-12 Ulrich Drepper <drepper@gmail.com>
38699
38700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38701
de82006d
AS
387022011-09-12 Andreas Schwab <schwab@redhat.com>
38703
a7c8e6a1
AS
38704 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38705 `struct cmsghdr *' instead of `void *'.
38706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38707 Likewise.
38708
0f31fe77
AS
387092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38710
38711 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38712 if non-absolute.
38713 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38714 ldd_rewrite_script.
0f31fe77 38715
32b4c839
UD
387162011-09-11 Ulrich Drepper <drepper@gmail.com>
38717
83cd1420
UD
38718 * configure.in: Remove --with-tls option.
38719 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38720 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38721 out in case it is missing.
38722 * sysdeps/ia64/elf/configure.in: Likewise.
38723 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38724 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38725 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38726 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38727 * sysdeps/sh/elf/configure.in: Likewise.
38728 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38729 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38730 * sysdeps/x86_64/elf/configure.in: Likewise.
38731 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38732 * sysdeps/mach/hurd/tls.h: Likewise.
38733
633f745d
UD
38734 [BZ #13067]
38735 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38736
f318beb8
UD
38737 [BZ #13090]
38738 * configure.in: Fix use of AC_INIT.
38739
32b4c839
UD
38740 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38741
3ce1f295
UD
387422011-09-10 Ulrich Drepper <drepper@gmail.com>
38743
bb016596
UD
38744 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38745 __set_errno.
8e58439c
UD
38746 * malloc/hooks.c: Likewise.
38747
aebae053 38748 [BZ #11929]
02d46fc4
UD
38749 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38750 variables statically.
38751 (narenas): Initialize.
38752 (list_lock): Initialize.
bb016596
UD
38753 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38754 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38755 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38756 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38757 Add initializers to main_arena and mp_.
38758 (malloc_state): Remove pagesize member. Change all users to use
38759 GLRO(dl_pagesize).
38760
38761 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38762 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38763 is always initialized.
38764
22a89187
UD
38765 * malloc/malloc.c: Removed unused configurations and dead code.
38766 * malloc/arena.c: Likewise.
38767 * malloc/hooks.c: Likewise.
02d46fc4 38768 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38769
d063d164
UD
38770 * include/tls.h: Removed. USE___THREAD must always be defined.
38771 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38772 * elf/dl-libc.c: Likewise.
38773 * elf/dl-tsd.c: Likewise.
38774 * include/errno.h: Likewise.
38775 * include/netdb.h: Likewise.
38776 * include/resolv.h: Likewise.
38777 * inet/herrno-loc.c: Likewise.
38778 * inet/herrno.c: Likewise.
38779 * malloc/arena.c: Likewise.
38780 * malloc/hooks.c: Likewise.
38781 * malloc/malloc.c: Likewise.
38782 * resolv/res-state.c: Likewise.
38783 * resolv/res_libc.c: Likewise.
38784 * sysdeps/i386/dl-machine.h: Likewise.
38785 * sysdeps/ia64/dl-machine.h: Likewise.
38786 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38787 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38788 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38789 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38790 * sysdeps/sh/dl-machine.h: Likewise.
38791 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38792 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38793 * sysdeps/unix/i386/sysdep.S: Likewise.
38794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38795 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38800 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38804 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38805 * sysdeps/x86_64/dl-machine.h: Likewise.
38806 * tls.make.c: Likewise.
38807
3ce1f295
UD
38808 * configure.in: Remove --with-__thread option. Make tests for
38809 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38810 tls_model attribute fail if no support is available. Remove
38811 USE_IN_LIBIO.
38812 * Makeconfig: Adjust for dropped configure option. All features are
38813 now mandatory.
38814 * Makerules: Likewise.
38815 * Versions.def: Likewise.
38816 * argp/argp-fmtstream.c: Likewise.
38817 * argp/argp-fmtstream.h: Likewise.
38818 * argp/argp-help.c: Likewise.
38819 * assert/assert.c: Likewise.
38820 * config.h.in: Likewise.
38821 * config.make.in: Likewise.
38822 * configure: Likewise.
38823 * configure.in: Likewise.
38824 * csu/Versions: Likewise.
38825 * csu/init.c: Likewise.
38826 * elf/tst-audit2.c: Likewise.
38827 * elf/tst-tls10.c: Likewise.
38828 * elf/tst-tls10.h: Likewise.
38829 * elf/tst-tls11.c: Likewise.
38830 * elf/tst-tls12.c: Likewise.
38831 * elf/tst-tls14.c: Likewise.
38832 * elf/tst-tlsmod11.c: Likewise.
38833 * elf/tst-tlsmod12.c: Likewise.
38834 * elf/tst-tlsmod13.c: Likewise.
38835 * elf/tst-tlsmod13a.c: Likewise.
38836 * elf/tst-tlsmod14a.c: Likewise.
38837 * elf/tst-tlsmod15b.c: Likewise.
38838 * elf/tst-tlsmod16a.c: Likewise.
38839 * elf/tst-tlsmod16b.c: Likewise.
38840 * elf/tst-tlsmod7.c: Likewise.
38841 * elf/tst-tlsmod8.c: Likewise.
38842 * elf/tst-tlsmod9.c: Likewise.
38843 * gmon/gmon.c: Likewise.
38844 * grp/fgetgrent_r.c: Likewise.
38845 * grp/putgrent.c: Likewise.
38846 * hurd/fopenport.c: Likewise.
38847 * include/libc-symbols.h: Likewise.
38848 * include/tls.h: Likewise.
38849 * intl/gettextP.h: Likewise.
38850 * intl/loadinfo.h: Likewise.
38851 * locale/global-locale.c: Likewise.
38852 * locale/localeinfo.h: Likewise.
38853 * mach/devstream.c: Likewise.
38854 * malloc/arena.c: Likewise.
38855 * malloc/set-freeres.c: Likewise.
38856 * misc/err.c: Likewise.
38857 * misc/getttyent.c: Likewise.
38858 * misc/mntent_r.c: Likewise.
38859 * posix/getopt.c: Likewise.
38860 * posix/wordexp.c: Likewise.
38861 * pwd/fgetpwent_r.c: Likewise.
38862 * resolv/Versions: Likewise.
38863 * resolv/res_hconf.c: Likewise.
38864 * shadow/fgetspent_r.c: Likewise.
38865 * shadow/putspent.c: Likewise.
38866 * stdio-common/printf_fphex.c: Likewise.
38867 * stdio-common/tmpfile.c: Likewise.
38868 * stdlib/abort.c: Likewise.
38869 * stdlib/fmtmsg.c: Likewise.
38870 * sunrpc/auth_unix.c: Likewise.
38871 * sunrpc/clnt_perr.c: Likewise.
38872 * sunrpc/clnt_tcp.c: Likewise.
38873 * sunrpc/clnt_udp.c: Likewise.
38874 * sunrpc/clnt_unix.c: Likewise.
38875 * sunrpc/openchild.c: Likewise.
38876 * sunrpc/svc_simple.c: Likewise.
38877 * sunrpc/svc_tcp.c: Likewise.
38878 * sunrpc/svc_udp.c: Likewise.
38879 * sunrpc/svc_unix.c: Likewise.
38880 * sunrpc/xdr.c: Likewise.
38881 * sunrpc/xdr_array.c: Likewise.
38882 * sunrpc/xdr_rec.c: Likewise.
38883 * sunrpc/xdr_ref.c: Likewise.
38884 * sunrpc/xdr_stdio.c: Likewise.
38885
1248c1c4
PB
388862011-09-09 Ulrich Drepper <drepper@gmail.com>
38887
38888 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38889
388902011-07-03 Andreas Jaeger <aj@suse.de>
38891
38892 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38893 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38894 regenerate with gen-libm-tests.pl.
38895
388962010-05-12 Petr Baudis <pasky@suse.cz>
38897
38898 [BZ #11589]
38899 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38900 around j0() zero points by switching to j1().
38901 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38905
f22e1074
UD
389062011-09-09 Ulrich Drepper <drepper@gmail.com>
38907
f19009c1
UD
38908 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38909 instead of 0.
38910 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38911 instead of 0.
f19009c1
UD
38912 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38913 Patch in part by Pavel Roskin <proski@gnu.org>.
38914
3f8cc204
UD
38915 [BZ #13138]
38916 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38917 realloc.
38918 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38919 Free memory block if necessary.
38920
f22e1074
UD
38921 [BZ #12847]
38922 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38923 be NULL. Don't lock in this case.
38924
0a2349f9
RM
389252011-09-09 Roland McGrath <roland@hack.frob.com>
38926
38927 * elf/elf.h (ELFOSABI_GNU): New macro.
38928 (ELFOSABI_LINUX): Define to that.
38929
f3cdd467
DZ
389302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38931
38932 * string/strncat.c (strncat): Undef the symbol in case it has been
38933 defined in bits/string.h.
38934
74718d13
UD
389352011-09-09 Ulrich Drepper <drepper@gmail.com>
38936
633e9e0f
UD
38937 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38938
0a2349f9 38939 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38940 link map.
38941
f9924780
AJ
389422011-08-17 Andreas Jaeger <aj@suse.de>
38943
38944 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38945
7f5517aa
PP
389462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38947 Ian Lance Taylor <iant@google.com>
38948
38949 * math/libm-test.inc (lround_test): New testcase.
38950 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38951
762011fe
UD
389522011-09-08 Ulrich Drepper <drepper@gmail.com>
38953
92963737
UD
38954 * Makefile: Remove support for automatic cvs check-ins.
38955 * Makerules: Likewise.
38956 * config.make.in: Likewise.
38957 * configure.in: Likewise.
38958 * intl/Makefile: Likewise.
38959 * locale/Makefile: Likewise.
38960 * po/Makefile: Likewise.
38961 * posix/Makefile: Likewise.
38962 * sysdeps/gnu/Makefile: Likewise.
38963 * sysdeps/mach/hurd/Makefile: Likewise.
38964 * sysdeps/sparc/sparc32/Makefile: Likewise.
38965
b0727fd8
JS
38966 [BZ #13118]
38967 * posix/Makefile (bug-regex32-ENV): Define.
38968 Patch by John Stanley <jpsinthemix@verizon.net>.
38969
a0f33f99
UD
38970 * misc/Makefile (headers): Add bits/select2.h.
38971 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38972 * misc/bits/select2.h: New file.
38973 * include/bits/select2.h: New file.
38974 * debug/Makefile (routines): Add fdelt_chk.
38975 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38976 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38977 FD_ISSET.
38978 * debug/fdelt_chk.c: New file.
38979
762011fe
UD
38980 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38981 * wcsmbs/test-wmemcmp.c: Likewise.
38982 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38983 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38984
389852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38986
38987 * string/Makefile (strop-tests): Add memcmp.
38988 * string/test-wmemcmp.c: New file.
38989 * string/test-memcmp.c: Add wmemcmp support.
38990
7f513ec8
RM
389912011-09-08 Roland McGrath <roland@hack.frob.com>
38992
0442afb4
RM
38993 [BZ #13153]
38994 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38995 2011-07-19 change.
38996
7f513ec8
RM
38997 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38998 garbage value in a __mach_port_mod_refs call in the cases of the
38999 task-self and thread-self ports.
39000
a12b2239
ST
390012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39002
39003 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39004
610f9ab4
AS
390052011-09-08 Andreas Schwab <schwab@redhat.com>
39006
7f513ec8 39007 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39008
48882a1a
LD
390092011-09-07 Ulrich Drepper <drepper@gmail.com>
39010
b49865be
UD
39011 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39012
fdc86bc9
UD
39013 * elf/dl-libc.c (dlerror_run): Pass back error code from
39014 dl_catch_error.
39015
c966526a
UD
39016 [BZ #13123]
39017 * elf/dl-load.c (lose): Free l_origin if it is valid.
39018
48882a1a
LD
39019 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39020 names.
39021 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39022 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39024 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39025 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39026 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39027
77a2a8b4
AZ
390282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39029
39030 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39031 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39032 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39033 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39034 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39035 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39036 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39037 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39038 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39039 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39040
24f579d8
AM
390412011-08-15 Alan Modra <amodra@gmail.com>
39042
39043 [BZ #13092]
39044 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39045 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39046 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39047 ppc_mcount to static-only-routines.
39048 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39049 __mcount_internal.
39050 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39051 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39052
3d4837df
UD
390532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39054
39055 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39056 for finite and infinity parameters.
39057
22700377
WS
390582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39059
39060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39061 and add nop instructions for throughput optimization.
39062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39063
5025581e
WS
390642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39065
39066 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39067 aligned copy for power7 with vector-scalar instructions.
39068 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39069
08a300c9
L
390702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39071
39072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39073 AVX check.
39074
59178ef9
AS
390752011-09-07 Andreas Schwab <schwab@redhat.com>
39076
39077 [BZ #13144]
39078 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39079 last change.
39080
e38ba7ab
UD
390812011-09-07 Ulrich Drepper <drepper@gmail.com>
39082
39083 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39084 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39085 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39086 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39087 clock_gettime.
39088
d53a73ac
UD
390892011-09-06 Ulrich Drepper <drepper@gmail.com>
39090
fc8bffcc
UD
39091 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39092 Forgot to demangle the pointer.
39093
ceaa0c5d
UD
39094 * sysdeps/i386/sysdep.h: Define atom_text_section.
39095 * sysdeps/x86_64/sysdep.h: Likewise.
39096 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39097 section with atom_text_section.
39098 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39099 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39100 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39101 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39102 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39103
a77d3c17
UD
39104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39105 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39106 already be defined. Change to take two parameters and don't assign
39107 result to variable. Adjust all users.
39108 Define INTERNAL_GETTIME if not already defined.
39109 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39110 call.
39111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39112 HAVE_CLOCK_GETTIME_VSYSCALL.
39113 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39114
d53a73ac
UD
39115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39116 gettimeofday vsyscall, just use time.
39117
a8f84144
AS
391182011-09-06 Andreas Schwab <schwab@redhat.com>
39119
39120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39121 <errno.h>.
39122
ef606249
UD
391232011-09-06 Ulrich Drepper <drepper@gmail.com>
39124
39125 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39126 syscall on x86-64.
39127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39128 syscall.
39129 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39130 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39131 syscall if possible.
39132
6585cb60
UD
391332011-09-05 Ulrich Drepper <drepper@gmail.com>
39134
39135 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39136 e_ident. Don't pass to find_mapsXX.
39137 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39138
a5f524e4
LD
391392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39140
39141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39142 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39143 * sysdeps/x86_64/multiarch/strchr.S: Update.
39144 Check bit_slow_BSF bit.
39145 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39146 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39147 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39148
554881ef
UD
391492011-09-05 Ulrich Drepper <drepper@gmail.com>
39150
d96de963
UD
39151 [BZ #13134]
39152 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39153 before glibc 2.15.
39154 (tryshell): Define.
39155 (__spawni): Change last parameter to be flag. Test
39156 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39157 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39158 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39159 * posix/spawni.c: Likewise.
39160 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39161 * posix/spawnp.c: Likewise. Change normal version to use
39162 SPAWN_XFLAGS_USE_PATH.
39163 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39164 SPAWN_XFLAGS_TRY_SHELL.
39165
d48e5868
UD
39166 [BZ #13150]
39167 * posix/glob.h: Remove gcc 1.x support.
39168
554881ef
UD
39169 [BZ #13068]
39170 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39171
693fb948
LD
391722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39173
39174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39175 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39176 strrchr-sse2-bsf
39177 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39178 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39179 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39180 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39181 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39182 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39183
1b48c537
UD
391842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39185
49d42c37
UD
39186 * sysdeps/x86_64/wcscmp.S: New file.
39187
1b48c537
UD
39188 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39189 wcscmp-c wcscmp-sse2
39190 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39191 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39192 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39193 * wcsmbs/wcscmp.c: Allow renaming.
39194
15c95c5d
DM
391952011-09-05 David S. Miller <davem@davemloft.net>
39196
39197 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39198 stack slot, rather than the struct return pointer slot.
39199 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39200 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39202 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39203
2f0ad8f3
UD
392042011-09-05 Ulrich Drepper <drepper@gmail.com>
39205
d88ae418
UD
39206 * po/ja.po: Update from translation team.
39207
2f0ad8f3
UD
39208 [BZ #13144]
39209 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39210 kernel in 64-bit binaries.
39211
5f4318d1
DM
392122011-09-01 David S. Miller <davem@davemloft.net>
39213
39214 * elf/elf.h (HWCAP_SPARC_*): Move to..
39215 * sysdeps/sparc/sysdep.h: this new file and add new values.
39216 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39217 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39218 _DL_HWCAP_COUNT to 24.
39219 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39220 entries.
39221 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39222 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39223 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39225 instead of magic constants.
39226 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39227
3ba57516
DM
392282011-08-31 David S. Miller <davem@davemloft.net>
39229
39230 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39232 Reimplement to do errno handling inline.
39233 (SYSCALL_ERROR_HANDLER): New macro.
39234 (__SYSCALL_STRING): Do not do errno handling in asm.
39235 (__CLONE_SYSCALL_STRING): Delete.
39236 (__INTERNAL_SYSCALL_STRING): Delete.
39237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39238 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39239 (PSEUDO): Reimplement to do errno handling inline.
39240 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39241 (SYSCALL_ERROR_HANDLER): New macro.
39242 (__SYSCALL_STRING): Do not do errno handling in asm.
39243 (__CLONE_SYSCALL_STRING): Delete.
39244 (__INTERNAL_SYSCALL_STRING): Delete.
39245 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39246 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39247 i386.
39248 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39249 (inline_syscall*): Add 'err' argument.
39250 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39251 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39252 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39253 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39254
39255 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39256 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39257
2bc17433
AS
392582011-08-30 Andreas Schwab <schwab@redhat.com>
39259
39260 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39261
fbeb5f4d
JO
392622011-08-29 Jiri Olsa <jolsa@redhat.com>
39263
39264 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39265 directive.
39266
ad69cc26
DM
392672011-08-24 David S. Miller <davem@davemloft.net>
39268
39269 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39270
39dd69df
AS
392712011-08-24 Andreas Schwab <schwab@redhat.com>
39272
39273 * elf/Makefile: Add rules to build and run unload8 test.
39274 * elf/unload8.c: New file.
39275 * elf/unload8mod1.c: New file.
39276 * elf/unload8mod1x.c: New file.
39277 * elf/unload8mod2.c: New file.
39278 * elf/unload8mod3.c: New file.
39279
39280 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39281 it wasn't used.
39282
2c0b250a
DM
392832011-08-23 David S. Miller <davem@davemloft.net>
39284
39285 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39286 subtract stack bias.
39287 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39288 %sp not %fp in calculations.
39289 (_JMPBUF_UNWINDS_ADJ): Likewise.
39290
22044b48
DM
39291 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39292 (aio_suspend): Call it to force an exception region around the
39293 AIO_MISC_WAIT() invocation.
39294
2cae4995
AS
392952011-08-23 Andreas Schwab <schwab@redhat.com>
39296
39297 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39298 backslash.
39299
873a772e
AJ
393002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39301
39302 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39303 protection macro.
39304 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39305 and <dl-machine.h>.
39306 (Elf64_FuncDesc): Remove.
39307
25ad0df1
DM
393082011-08-22 David S. Miller <davem@davemloft.net>
39309
39310 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39311 sigaltstack check, add missing cfi directives.
39312 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39313 missing cfi directives, and sigaltstack handling.
39314
e888bcbe
AS
393152011-08-16 Andreas Schwab <schwab@redhat.com>
39316
39317 [BZ #11724]
39318 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39319 object is seen twice.
39320 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39321
39322 * elf/Makefile (distribute): Add tst-initorder2.c.
39323 (tests): Add tst-initorder2.
39324 (modules-names): Add tst-initorder2a tst-initorder2b
39325 tst-initorder2c tst-initorder2d. Add rules to build them.
39326 ($(objpfx)tst-initorder2.out): New rule.
39327 * elf/tst-initorder2.c: New file.
39328 * elf/tst-initorder2.exp: New file.
39329
87162f46
AS
393302011-08-22 Andreas Schwab <schwab@redhat.com>
39331
70538b7f
AS
39332 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39333
f55ffe58
AS
39334 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39335 dependencies back to end of function.
39336
87162f46
AS
39337 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39338 $(elfobjdir)/ld.so.
39339
91b392a4
UD
393402011-08-21 Ulrich Drepper <drepper@gmail.com>
39341
39342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39343 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39345 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39346 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39347 of __vdso_gettimeofday.
39348 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39349 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39350 attribute_hidden.
39351 (_libc_vdso_platform_setup): Remove initialization of
39352 __vdso_gettimeofday and __vdso_time.
39353
5c43483f
UD
393542011-08-20 Ulrich Drepper <drepper@gmail.com>
39355
775a77e7
UD
39356 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39357 and fgetc_unlocked.
39358 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39359 getc_unlocked.
89f447ed 39360
49c74ba9
UD
39361 * elf/dl-open.c (add_to_global): Report additions to the global scope
39362 for LD_DEBUG=scopes.
39363 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39364 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39365
5c43483f
UD
39366 [BZ #13114]
39367 * stdio-common/Makefile (tests): Add bug24.
39368 * stdio-common/bug24.c: New file.
39369
a101b025
AJ
393702011-08-19 Andreas Jaeger <aj@suse.de>
39371
39372 [BZ #13114]
39373 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39374 non-existant file when using close-on-exec mode.
39375
c88f1766
UD
393762011-08-20 Ulrich Drepper <drepper@gmail.com>
39377
0276a718
UD
39378 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39379 the very first instruction.
39380
c88f1766
UD
39381 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39382 the CFI state in the end.
39383 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39384 inclusion of dl-trampoline.h.
39385 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39386
51ccffa0
AS
393872011-08-19 Andreas Schwab <schwab@redhat.com>
39388
94d7165f
AS
39389 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39390 expectations for long double.
39391
51ccffa0
AS
39392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39393 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39394
fd708658 393952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39396
39397 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39398 artificual limit depends upon the system page size.
39399
44f0a71e
UD
394002011-08-17 Ulrich Drepper <drepper@gmail.com>
39401
39402 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39403 * resolv/Makefile: Define CFLAGS-libresolv.
39404
8de79a24
AS
394052011-08-17 Andreas Schwab <schwab@redhat.com>
39406
39407 * nss/makedb.c (compute_tables): Make variables used in nested
39408 function static.
39409
27724598
UD
394102011-08-17 Ulrich Drepper <drepper@gmail.com>
39411
c5305d88
UD
39412 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39413 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39414 if buffer was too small.
39415
27724598
UD
39416 * elf/pldd.c (main): Attach to all threads in the process.
39417 Rewrite /proc handling to use *at functions.
39418
076fe015
UD
394192011-08-16 Ulrich Drepper <drepper@gmail.com>
39420
174baab3
UD
39421 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39422 specifies first scope to show.
39423 (dl_open_worker): Update callers. Move printing scope of new
39424 object to before the relocation.
44f0a71e 39425 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39426 * sysdeps/generic/ldsodefs.h: Update declaration.
39427
076fe015
UD
39428 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39429 string for the scope number.
39430
a60df2c3
UD
394312011-08-14 Ulrich Drepper <drepper@gmail.com>
39432
39433 * nscd/servicescache.c (cache_addserv): Make sure written is always
39434 initialized.
39435
5e4287d1
RM
394362011-08-14 Roland McGrath <roland@hack.frob.com>
39437
85ae0589
RM
39438 * sysdeps/i386/i486/bits/atomic.h
39439 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39440 statement expression, so as to suppress "set but not used" warning.
39441 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39442
69f63097
RM
39443 * string/strncat.c (STRNCAT): Use prototype definition.
39444
675456ef
RM
39445 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39446 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39447 -Iprograms here.
39448 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39449 (localedef-modules): Add localedef.
39450 (locale-modules): Add locale.
39451
5e4287d1
RM
39452 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39453 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39454 to avoid a warning.
39455
9c96ff23
DM
394562011-08-14 David S. Miller <davem@davemloft.net>
39457
39458 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39459 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39460
f9ddf089
UD
394612011-08-13 Ulrich Drepper <drepper@gmail.com>
39462
44f0a71e 39463 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39464 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39465 * elf/rtld.c (dl_main): Set l_name of vDSO.
39466 Call _dl_show_scope when DL_DEBUG_SCOPES.
39467 (process_dl_debug): Recognize scopes flag and also set it for all.
39468 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39469 Declare _dl_show_scope.
39470
1dc27704
UD
39471 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39472 (do_dlopen): Pass caller_dlopen to dl_open.
39473 (__libc_dlopen_mode): Initialize caller_dlopen.
39474
f9ddf089
UD
39475 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39476 of libc. Make tolower call locale-independent. Optimize a bit by
39477 using isdigit instead of isalnum.
39478 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39479
9ac533d3
UD
394802011-08-12 Ulrich Drepper <drepper@gmail.com>
39481
39482 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39483 was a dependency or dynamically loaded.
39484
89edf2e9
UD
394852011-08-11 Ulrich Drepper <drepper@gmail.com>
39486
8e999d29
UD
39487 * intl/l10nflist.c: Allow architecture-specific pop function.
39488 * sysdeps/x86_64/l10nflist.c: New file.
39489
89edf2e9
UD
39490 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39491 classification.
39492
14d96785
AS
394932011-08-10 Andreas Schwab <schwab@redhat.com>
39494
39495 * include/dirent.h: Add libc_hidden_proto for scandirat and
39496 scandirat64. Don't declare __scandirat64.
39497 * dirent/scandirat.c: Add libc_hidden_def.
39498 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39499 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39500
6761ac04
DM
395012011-08-10 David S. Miller <davem@davemloft.net>
39502
39503 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39504 enum.
39505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39508
c55fbd1e
UD
395092011-08-09 Ulrich Drepper <drepper@gmail.com>
39510
39511 * Versions.def [libc]: Add GLIBC_2.15.
39512 * dirent/Makefile (routines): Add scandirat and scandirat64.
39513 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39514 GLIBC_2.15.
39515 * dirent/dirent.h: Declare scandirat and scandirat64.
39516 * dirent/scandirat.c: New file.
39517 * dirent/scandirat64.c: New file.
39518 * sysdeps/wordsize-64/scandirat.c: New file.
39519 * sysdeps/wordsize-64/scandirat64.c: New file.
39520 * dirent/opendir.c: Define opendirat.
39521 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39522 using scandirat.
39523 * dirent/scandir64.c: Adjust for scandir.c change.
39524 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39525 __scandirat64, and __scandir_cancel_handler.
39526 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39527 additional parameter and use openat instead of open (outside of ld.so).
39528 Add new __opendir as wrapper around __opendirat.
39529 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39530 here without requiring old scandirat implementation.
39531
879165f2
UD
395322011-08-08 Ulrich Drepper <drepper@gmail.com>
39533
39534 * dirent/scandir.c (cancel_handler): Renamed to
39535 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39536 defined. Adjust users.
39537 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39538 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39539
cb7e923b
UD
395402011-08-04 Ulrich Drepper <drepper@gmail.com>
39541
16292edd
UD
39542 * string/test-string.h (IMPL): Use __STRING to expand name and then
39543 stringify it.
39544
cb7e923b
UD
39545 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39546 of cleanups.
39547
cff82933
LD
395482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39549
39550 * string/Makefile: Update.
39551 (strop-tests): Append strncat.
39552 * string/test-wcscmp.c: New file.
39553 New comprehensive test for wcscmp.
39554 * string/test-strcmp.c: Update.
39555 (WIDE): New define.
39556
9be9bfcc
AS
395572011-07-22 Andreas Schwab <schwab@redhat.com>
39558
39559 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39560 line.
39561
2e96f1c7
AS
395622011-07-26 Andreas Schwab <schwab@redhat.com>
39563
39564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39565 encoding to ACE if AI_IDN.
39566
85188888
JJ
395672011-08-01 Jakub Jelinek <jakub@redhat.com>
39568
39569 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39570 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39571
5fa16e9b
LD
395722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39573
39574 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39575 Fix overflow bug in strncat.
39576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39577
39578 * string/test-strncat.c: Update.
39579 Add new tests for checking overflow bugs.
39580
395812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39582
39583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39584 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39585 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39586 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39587 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39588 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39589 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39590 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39591 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39592
39593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39594 (USE_AS_STRCAT): Define.
39595 Add strcat and strncat support.
39596 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39597
8c1a459f
AS
395982011-07-25 Andreas Schwab <schwab@redhat.com>
39599
39600 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39601 __n bigger than INT_MAX+1.
39602 (__strncmp_g): Likewise.
39603
bba33c28
UD
396042011-07-23 Ulrich Drepper <drepper@gmail.com>
39605
798be72d
UD
39606 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39607 * libio/stido.h: Likewise.
39608
8accd4dc
UD
39609 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39610 (AF_NFC): Define.
39611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39612 (AF_NFC): Define.
39613
cbff0d96
UD
39614 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39615 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39616 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39617 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39619
9191c04a
UD
39620 [BZ #13021]
39621 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39622 installed.
39623
bba33c28
UD
39624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39625 typo.
39626 (_dl_x86_64_save_sse): Likewise.
39627
90f139dd
UD
396282011-07-22 Ulrich Drepper <drepper@gmail.com>
39629
1aae088a
UD
39630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39631 OSXSAVE.
39632 (_dl_x86_64_save_sse): Likewise.
39633
8e2045f5
UD
39634 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39635
90f139dd
UD
39636 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39637
1d002f25
AS
396382011-07-21 Andreas Schwab <schwab@redhat.com>
39639
39640 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39641 change.
39642 (_dl_x86_64_save_sse): Use correct AVX check.
39643
21137f89
UD
396442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39645
39646 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39647 bug in strncpy/strncat.
39648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39649
a65c0b7a
UD
396502011-07-21 Ulrich Drepper <drepper@gmail.com>
39651
39652 * string/tester.c (test_strcat): Add tests for different alignments
39653 of source and destination.
39654 (test_strncat): Likewise.
39655
6986b98a
UD
396562011-07-20 Ulrich Drepper <drepper@gmail.com>
39657
90bb2039
UD
39658 [BZ #12852]
39659 * posix/glob.c (glob): Check passed in values before using them in
39660 expressions to avoid some overflows.
39661 (glob_in_dir): Likewise.
39662
5644ef54
UD
39663 [BZ #13007]
39664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39665 check for AVX enablement so that we don't crash with old kernels and
39666 new hardware.
39667 * elf/tst-audit4.c: Add same checks here.
39668 * elf/tst-audit6.c: Likewise.
39669
39670 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39671
bfc9dc9b
AS
396722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39673
39674 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39675
702e64bb
UD
396762011-07-20 Ulrich Drepper <drepper@gmail.com>
39677
39678 * po/cs.po: Update from translation team.
39679 * po/bg.po: Likewise.
39680
295e904f
MP
396812011-07-12 Marek Polacek <mpolacek@redhat.com>
39682
39683 * misc/sys/cdefs.h: Add support for const attribute.
39684 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39685 to gnu_dev_{major,minor,makedev} functions.
39686
3ff94596
MP
396872011-07-20 Marek Polacek <mpolacek@redhat.com>
39688
39689 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39690
28b59fca
AS
396912011-07-20 Andreas Schwab <schwab@redhat.com>
39692
39693 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39694 strlen results.
39695
19df733e
AK
396962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39697
39698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39699 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39700 register in order to avoid conflicts with the soft frame pointer
39701 being held in r11 when necessary.
39702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39703 (INTERNAL_VSYSCALL_NCS): Likewise.
39704
c8835729
MP
397052011-07-14 Marek Polacek <mpolacek@redhat.com>
39706
39707 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39708 * elf/dl-fini.c (_dl_fini): Adjust caller.
39709 * elf/dl-close.c (_dl_close_worker): Likewise.
39710 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39711
b902330c
MP
397122011-07-15 Marek Polacek <mpolacek@redhat.com>
39713
8991e135
MP
39714 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39715 "aux_cache->nlibs < 0".
39716
b902330c
MP
39717 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39718 in the reload-count case.
39719
99710781
LD
397202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39721
39722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39723 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39724 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39725 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39726 * sysdeps/x86_64/multiarch/strcat.S: New file.
39727 * sysdeps/x86_64/multiarch/strncat.S: New file.
39728 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39729 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39730 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39731 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39732 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39733 (USE_AS_STRCAT): Define.
39734 Add strcat and strncat support.
39735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39736 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39737 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39738 * string/strncat.c: Update.
39739 (USE_AS_STRNCAT): Define.
39740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39741 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39742 and i7.
39743 * sysdeps/x86_64/multiarch/init-arch.h
39744 (bit_Prefer_PMINUB_for_stringop): New.
39745 (index_Prefer_PMINUB_for_stringop): Likewise.
39746 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39747 bit_Prefer_PMINUB_for_stringop.
39748
7dc6bd90
UD
397492011-07-19 Ulrich Drepper <drepper@gmail.com>
39750
39751 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39752 buffer64.
39753 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39754 of casting of buffer.
39755 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39756 buffer32 and buffer64.
39757 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39758 writes instead of casting of buffer.
39759 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39760 buffer32.
39761 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39762 casting of buffer.
39763
e0e72284
AS
397642011-07-19 Andreas Schwab <schwab@redhat.com>
39765
39766 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39767
feb1eb0b
UD
397682011-07-19 Ulrich Drepper <drepper@gmail.com>
39769
39770 * nscd/nscd.c (termination_handler): Don't do anything for a database
39771 if it has not yet been initialized.
39772
298711ff
UD
397732011-07-18 Ulrich Drepper <drepper@gmail.com>
39774
39775 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39776
397772011-07-15 Marek Polacek <mpolacek@redhat.com>
39778
39779 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39780
f9d68389
UD
397812011-07-18 Ulrich Drepper <drepper@gmail.com>
39782
39783 * po/nl.po: Update from translation team.
39784 * po/sv.po: Likewise.
39785
db290cf5
RM
397862011-07-16 Roland McGrath <roland@hack.frob.com>
39787
39788 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39789 now disallowed by GCC.
5c550700 39790
fd5e21c7
RM
39791 * configure.in (use-default-link): Default to yes if a test -shared
39792 link meets our qualifications.
39793 * configure: Regenerated.
39794
5c550700
RM
39795 * config.make.in (output-format): New variable.
39796 * configure.in: Check for ld --print-output-format support.
39797 * configure: Regenerated.
39798 * Makerules ($(common-objpfx)format.lds)
39799 [$(output-format) != unknown]: Just use $(output-format),
39800 instead of the linker-script munging.
39801
9fa2c032
RM
398022011-07-14 Roland McGrath <roland@hack.frob.com>
39803
a6928d51
RM
39804 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39805 of $(common-objpfx)shlib.lds.
39806 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39807
661607b3
RM
39808 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39809 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39810
9fa2c032
RM
39811 * configure.in (-z relro check): Adjust test code to add a large
39812 writable data section after it.
39813 * configure: Regenerated.
39814
defe9061
RM
398152011-07-11 Roland McGrath <roland@hack.frob.com>
39816
39817 * configure.in (-z relro check): Fix test code to make the variable
39818 truly const.
39819 * configure: Regenerated.
39820
319b9ad4
UD
398212011-07-11 Ulrich Drepper <drepper@gmail.com>
39822
39823 * nscd/nscd.h (struct traced_file): Define.
39824 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39825 elements. Add traced_files.
39826 (inotify_fd): Declare.
39827 (register_traced_file): Declare.
39828 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39829 (inotify_fd): Export.
39830 (resolv_conf_descr): Remove.
39831 (nscd_init): Move inotify descriptor creation to main.
39832 Don't register files for notification here.
39833 (register_traced_file): New function.
39834 (invalidate_cache): Don't use reset_res to determine whether to call
39835 res_init, go through the list of registered files.
39836 (main_loop_poll): The inotify descriptors are now stored in the
39837 structures for the traced files.
39838 (main_loop_epoll): Likewise
39839 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39840 to __nss_disable_nscd.
39841 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39842 for a database anymore. Check the records for all the registered
39843 files instead.
39844 * nss/Makefile (libnss_files-routines): Add files-init.
39845 (libnss_db-routines): Add db-init.
39846 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39847 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39848 * nss/nss_db/db-init.c: New file.
39849 * nss/nss_files/files-init.c: New file.
39850 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39851 __nss_lookup_function.
39852 (__nss_lookup_function): Call nss_load_library.
39853 (nss_load_all_libraries): New function.
39854 (__nss_disable_nscd): Take parameter with callback function for files
39855 to register. Set is_nscd. Load all the DSOs for the NSS modules
39856 used for the cached services.
39857 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39858 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39859 options for features to all the files in nscd.
39860
39861 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39862
23bee3e8
RM
398632011-07-10 Roland McGrath <roland@hack.frob.com>
39864
39865 * csu/elf-init.c (__libc_csu_init): Comment typo.
39866
46a5b7f0
UD
398672011-07-09 Ulrich Drepper <drepper@gmail.com>
39868
39869 * po/pl.po: Update from translation team.
39870 * po/ja.po: Likewise.
39871 * po/ru.po: Likewise.
39872 * po/ko.po: Likewise.
39873 * po/fr.po: Likewise.
39874
d30cf5bb
RM
398752011-07-09 Roland McGrath <roland@hack.frob.com>
39876
113ddea4
RM
39877 * configure.in (.ctors/.dtors header and trailer check):
39878 Use an empirical test on a built program.
39879 * configure: Regenerated.
39880
574920b4
RM
39881 * configure.in (-z relro check): Use an empirical test on a built DSO.
39882 Detect, but do not require, on ia64.
39883 * configure: Regenerated.
39884
d30cf5bb
RM
39885 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39886 Update tests that use readelf to use $READELF instead.
39887 * configure: Regenerated.
39888
8538fdb3
UD
398892011-07-08 Ulrich Drepper <drepper@gmail.com>
39890
39891 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39892 if the result is not used.
39893
04d08991
AJ
398942011-07-05 Andreas Jaeger <aj@suse.de>
39895
39896 [BZ#9696]
39897 * stdlib/tst-strtod.c: Add testcase.
39898
de283087
AD
398992011-07-07 Ulrich Drepper <drepper@gmail.com>
39900
4e5f31c8 39901 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39902 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39903 The latter has a higher limit. Take additional parameter to pass to
39904 the new function.
39905 (__pathconf): Pass file to __statfs_link_max.
39906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39907 __statfs_link_max.
39908 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39909 __statfs_link_max.
39910
de283087
AD
39911 [BZ #12868]
39912 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39913 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39914 Handle Lustre.
39915 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39916 (__statfs_filesize_max): Likewise.
39917 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39918
c75fa153
AJ
399192011-07-05 Andreas Jaeger <aj@suse.de>
39920
39921 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39922
1a544854
UD
399232011-07-06 Marek Polacek <mpolacek@redhat.com>
39924
39925 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39926 `status' variable.
39927 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39928 Likewise.
39929
6f0eec67
UD
399302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39931
39932 * Makefile (strop-tests): Add strncat.
39933 * string/test-strncat.c: New file.
39934
aae30307
UD
399352011-06-30 Marek Polacek <mpolacek@redhat.com>
39936
39937 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39938
c0cfb5eb
UD
399392011-06-21 Andreas Jaeger <aj@suse.de>
39940
39941 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39942 Copy rule from iconvdata/Makefile.
39943
01636b21
UD
399442011-07-06 Ulrich Drepper <drepper@gmail.com>
39945
39946 [BZ #12922]
39947 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39948 but no long options are defined, just return 'W'.
39949
9895c8bc
UD
399502011-06-22 Marek Polacek <mpolacek@redhat.com>
39951
39952 [BZ #9696]
39953 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39954
5d4cf042
UD
399552011-07-06 Ulrich Drepper <drepper@gmail.com>
39956
39957 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39958 netgroups to read.
960e5535 39959 (innetgr): Likewise.
5d4cf042 39960
751eb97e
RM
399612011-07-05 Roland McGrath <roland@hack.frob.com>
39962
39963 * config.make.in (install_root): Default to $(DESTDIR).
39964
f15f1e45
UD
399652011-07-05 Ulrich Drepper <drepper@gmail.com>
39966
39967 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39968
4e34ac6a
RM
399692011-07-02 Roland McGrath <roland@hack.frob.com>
39970
5e9b6af4
RM
39971 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39972
84f9ea0f
RM
39973 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39974 containing directory rather than embedding absolute directory names.
39975
ea5ee9f7
RM
39976 * scripts/check-local-headers.sh: Rewritten using awk.
39977 Match by word, not by line. Print error messages for matches.
39978 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39979
1b74661a
RM
39980 * Makerules [shlib-lds-flags empty]:
39981 ($(common-objpfx)libc_pic.opts): New target.
39982 ($(common-objpfx)libc_pic.os.clean): New target.
39983 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39984
39985 * config.make.in (OBJCOPY): New variable.
39986 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39987 * configure: Regenerated.
39988
f781ef40
RM
39989 * config.make.in (use-default-link): New variable.
39990 * configure.in (use_default_link): Grok --with-default-link to set it.
39991 * configure: Regenerated.
39992 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39993 (shlib-lds, shlib-lds-flags): Define to empty.
39994
2d4fa81e
RM
39995 * Makerules (shlib-lds): New variable.
39996 (shlib-lds-flags): New variable.
39997 (build-shlib, build-moduile, build-module-asneeded): Use it.
39998 ($(common-objpfx)libc.so): Use $(shlib-lds).
39999 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40000 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40001
31fffa6b
RM
40002 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40003 DT_FLAGS/DT_FLAGS_1 with zero flags.
40004
4e34ac6a
RM
40005 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40006 linker script munging.
40007
fcfc776b
UD
400082011-07-02 Ulrich Drepper <drepper@gmail.com>
40009
40010 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40011 as 128-bit value.
40012 * crypt/sha512.c (sha512_process_block): Perform total addition using
40013 128-bit if possible.
40014 (__sha512_finish_ctx): Likewise.
40015 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40016 as 64-bit value.
40017 * crypt/sha256.c (SWAP64): Define.
40018 (sha256_process_block): Perform total addition using 64-bit if
40019 possible.
40020 (__sha256_finish_ctx): Likewise.
40021
99231d9a
UD
400222011-07-01 Ulrich Drepper <drepper@gmail.com>
40023
40024 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40025 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40026 * nscd/hstcache.c (cache_addhst): Likewise.
40027 * nscd/grpcache.c (cache_addgr): Likewise.
40028 * nscd/aicache.c (addhstaiX): Likewise
40029 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40030
445b4a53
TK
400312011-07-01 Thorsten Kukuk <kukuk@suse.de>
40032
40033 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40034 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40035 * nscd/hstcache.c (cache_addhst): Likewise.
40036 * nscd/grpcache.c (cache_addgr): Likewise.
40037 * nscd/aicache.c (addhstaiX): Likewise
40038
6d4d8e8e
AS
400392011-07-01 Andreas Schwab <schwab@redhat.com>
40040
40041 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40042 domain only when needed.
40043
89f654c5
AS
400442011-06-30 Andreas Schwab <schwab@redhat.com>
40045
40046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40047 is always restored.
40048
cf3b23ff
UD
400492011-06-29 Ulrich Drepper <drepper@gmail.com>
40050
40051 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40052 are re-adding the entry.
40053 * nscd/servicescache.c (cache_addserv): Likewise.
40054
751626f9
AJ
400552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40056
40057 * sysdeps/generic/dl-irel.h: fix protection against multiple
40058 inclusions.
40059 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40060
9113ea1f
UD
400612011-06-28 Ulrich Drepper <drepper@gmail.com>
40062
5c0b8d90
UD
40063 [BZ #12935]
40064 * malloc/memusage.sh: Fix quoting in message.
40065 * debug/xtrace.sh: Likewise.
40066
9113ea1f
UD
40067 * configure.in: Remove support for --experimental-malloc option, make
40068 it the default.
40069 * config.make.in: Likewise.
40070 * malloc/Makefile: Likewise.
40071
a4172181
AS
400722011-06-27 Andreas Schwab <schwab@redhat.com>
40073
40074 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40075 two-byte characters.
40076
78a7eee7
RM
400772011-06-27 Roland McGrath <roland@hack.frob.com>
40078
62bede13
RM
40079 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40080 AC_CACHE_CHECK invocation.
40081 * configure: Regenerated.
40082
78a7eee7
RM
40083 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40084
5ce33a62
UD
400852011-06-27 Ulrich Drepper <drepper@gmail.com>
40086
034807a9
UD
40087 [BZ #12350]
40088 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40089 bit from old_res_options.
40090
4902da17
UD
40091 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40092
5ce33a62
UD
40093 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40094 value type for setfct.
40095
c2344f56
L
400962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40097
40098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40099 __gettimeofday instead of gettimeofday.
40100
68468076
UD
401012011-06-26 Ulrich Drepper <drepper@gmail.com>
40102
40103 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40104
acb0d739
L
401052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40106
40107 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40108
40109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40110 info.
40111
8912479f
L
401122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40113
40114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40115 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40116 strcpy-sse2-unaligned strncpy-sse2-unaligned
40117 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40118 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40119 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40120 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40121 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40122 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40123 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40124 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40125 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40126 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40127 (STRCPY): Support SSE2 and SSSE3 versions.
40128
d5495a11
UD
401292011-06-24 Ulrich Drepper <drepper@gmail.com>
40130
40131 [BZ #12874]
40132 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40133 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40134 kernels which artificially limit size of requests.
40135
0b1cbaae
L
401362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40137
40138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40139 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40140 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40141 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40142 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40143 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40144 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40145 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40146 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40148 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40149 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40150 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40151 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40152 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40154 Enable unaligned load optimization for Intel Core i3, i5 and i7
40155 processors.
40156 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40157 Define.
40158 (index_Fast_Unaligned_Load): Define.
40159 (HAS_FAST_UNALIGNED_LOAD): Define.
40160
07f494a0
MP
401612011-06-23 Marek Polacek <mpolacek@redhat.com>
40162
40163 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40164
fa3fc0fe
UD
401652011-06-22 Ulrich Drepper <drepper@gmail.com>
40166
40167 [BZ #12907]
40168 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40169 until it is clear that the information is realy needed.
40170 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40171
e12df166
AS
401722011-06-22 Andreas Schwab <schwab@redhat.com>
40173
40174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40175
852eb34d
UD
401762011-06-22 Ulrich Drepper <drepper@gmail.com>
40177
84e2a551
UD
40178 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40179 /sys/devices/system/cpu/online if it is usable.
40180
852eb34d
UD
40181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40182 reading the information from the /proc filesystem to once a second.
40183
6e502e19
UD
401842011-06-21 Andreas Jaeger <aj@suse.de>
40185
40186 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40187 NULL after inclusion of kernel headers.
40188
75d39ff2
UD
401892011-06-21 Ulrich Drepper <drepper@gmail.com>
40190
51f9aa6a
UD
40191 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40192 calls to internal_setent.
40193
c0244a9d
UD
40194 [BZ #12885]
40195 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40196 addresses using gethostbyname4_r ignore IPv4 addresses.
40197
c5e3c2ae
UD
40198 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40199 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40200
75d39ff2
UD
40201 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40202
42675c6f
DM
402032011-06-20 David S. Miller <davem@davemloft.net>
40204
40205 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40206 inclusions.
40207 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40208
40209 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40210 (elf_irel): Use it.
40211 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40212 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40213 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40214 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40215 * sysdeps/x86_64/dl-irel.h: Likewise.
40216
40217 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40218 * elf/dl-sym.c: Likewise.
40219
57912a71
UD
402202011-06-15 Ulrich Drepper <drepper@gmail.com>
40221
40222 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40223 need to dereference resplen2.
40224
ee22793d
AS
402252011-06-14 Andreas Schwab <schwab@redhat.com>
40226
40227 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40228
a9e836b0
UD
402292011-06-15 Ulrich Drepper <drepper@gmail.com>
40230
77fb9117
UD
40231 * Makeconfig: Define vardbdir and inst_vardbdir.
40232 * nss/Makefile: Add rules to install db-Makefile.
40233
40c1b22c
UD
40234 * nss/nss_db/db-XXX.c: Cleanup.
40235
9f2da732
UD
40236 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40237 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40238 GLIBC_PRIVATE.
40239 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40240 * nss/makedb.c: Implement -g option to specify that value strings
40241 are generated and should not be added to table iterated over for
40242 get*ent calls.
40243 * nss/nss_db/db-initgroups.c: New file.
40244
82e9a1f7
UD
40245 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40246 interface.
40247
c41af17e
UD
40248 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40249 (internal_getgrouplist): Adjust to name change.
40250 Update use_initgroups_entry if this is not the first call.
40251 * nss/databases.def: Add initgroups entry.
40252
a9e836b0
UD
40253 * nss/makedb.c (compute_tables): Check result of multiple hash table
40254 sizes to minimize maximum chain length.
40255
2666d441
UD
402562011-06-14 Ulrich Drepper <drepper@gmail.com>
40257
40258 * Versions.def: Add entry for libnss_db.
40259 * shlib-versions: Likewise.
40260 * nss/Makefile: Add rules to build libnss_db.
40261 * nss/Versions: Add libnss_db information. Organize libnss_files
40262 entries better.
40263 * nss/db-Makefile: Add gshadow support. Change rules for the new
40264 makedb progra. Some minor improvements to generate smaller files.
40265 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40266 here from...
40267 * nss/makedb.c: ...here.
40268 Improve database format to be smaller and require less memory at
40269 runtime.
40270 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40271 db anymore.
40272 * nss/nss_db/db-netgrp.c: Likewise.
40273 * nss/nss_db/db-open.c: Likewise.
40274 * nss/nss_files/flies-XXX.x: Adjust comments.
40275 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40276 * nss/nss_files/files-grp.c: Likewise.
40277 * nss/nss_files/files-hosts.c: Likewise.
40278 * nss/nss_files/files-network.c: Likewise.
40279 * nss/nss_files/files-proto.c: Likewise.
40280 * nss/nss_files/files-pwd.c: Likewise.
40281 * nss/nss_files/files-rpc.c: Likewise.
40282 * nss/nss_files/files-service.c: Likewise.
40283 * nss/nss_files/files-sgrp.c: Likewise.
40284 * nss/nss_files/files-spwd.c: Likewise.
40285 * nss/nss_db/db-alias.c: Removed.
40286 * nss/nss_db/dummy-db.h: Removed.
40287
9ee76b5a
UD
402882011-06-02 Ulrich Drepper <drepper@gmail.com>
40289
40290 * nss/makedb.c: Rewritten to not use database library.
40291 * nss/Makefile: Update to build new makedb program.
40292
c71ca1f8
AJ
402932011-06-14 Andreas Jaeger <aj@suse.de>
40294
40295 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40296 memset declaration.
40297
3154bfb8
UD
402982011-06-10 Andreas Schwab <schwab@redhat.com>
40299
40300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40301 tmpbuf.
40302
b350afab
RM
403032011-06-10 Roland McGrath <roland@hack.frob.com>
40304
decd4e50
RM
40305 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40306 * elf/Makefile ($(objpfx)ld.so): Likewise.
40307
5615eaf2
RM
40308 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40309 Don't list ld.so twice in dependencies.
40310
40311 * posix/bug-regex31.c: Include <stdlib.h>.
40312
40313 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40314
40315 * nis/nss_compat/compat-spwd.c
40316 (getspent_next_nss_netgr): Remove unused variable.
40317 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40318
40319 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40320 nonmembers" output to use the right array.
40321
40322 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40323
40324 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40325
40326 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40327 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40328 * catgets/gencat.c (read_input_file): Likewise.
40329 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40330
40331 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40332 variable definition inside #if's controlling its use.
40333
40334 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40335
40336 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40337
40338 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40339
40340 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40341 unreachable code.
40342
40343 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40344
b68e08db
RM
40345 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40346 * configure: Regenerated.
40347
b350afab
RM
40348 * Makerules: Revert last change.
40349 * elf/Makefile: Likewise.
40350
28368601
RM
403512011-06-09 Roland McGrath <roland@hack.frob.com>
40352
40353 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40354 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40355 (reloc-link): Likewise.
40356
11988f8f
UD
403572011-06-09 Ulrich Drepper <drepper@gmail.com>
40358
40359 * elf/Makefile: Add rules to build pldd.
40360 * elf/pldd.c: New file.
40361 * elf/pldd-xx.c: New file.
40362
e80fab37
UD
403632011-06-07 Ulrich Drepper <drepper@gmail.com>
40364
40365 * version.h: Update for 2.15 development version.
40366
9b849836
DM
403672011-06-07 David S. Miller <davem@davemloft.net>
40368
40369 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40370 ifuncs.
40371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40372 elf_machine_lazy_rel): Likewise.
40373 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40375 elf_machine_lazy_rel): Likewise.
40376 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40377 dl_hwcap via passed in argument.
40378 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40379 Likewise.
40380
5a31b283
AK
403812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40382
40383 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40384
069e52f8
RM
403852011-06-06 Roland McGrath <roland@hack.frob.com>
40386
40387 [BZ #12849]
40388 * manual/fdl-1.1.texi: New file, verbatim from:
40389 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40390 * manual/lgpl-2.1.texi: New file, verbatim from:
40391 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40392 * manual/Makefile (licenses): New variable, list those new file names.
40393 (texis): Use it.
40394 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40395
40396 * manual/fdl.texi: File removed.
40397 * manual/lesser.texi: File removed.
40398 * manual/libc.texinfo (Copying, Documentation License):
40399 Use new @include file names, put @appendix directive before @include.
40400
f16846a5
JJ
404012011-06-04 Jakub Jelinek <jakub@redhat.com>
40402
40403 [BZ #12841]
40404 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40405 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40406 (mq_open): Add __NTH.
40407
3d29045b
L
404082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40409
40410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40411 Assume Intel Core i3/i5/i7 processor if AVX is available.
40412
8c297311
UD
404132011-05-31 Ulrich Drepper <drepper@gmail.com>
40414
40415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40416 typo.
40417
c8fc0c91
UD
404182011-05-31 Andreas Schwab <schwab@redhat.com>
40419
40420 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40421 memory. Use alloca_account. Fix memory leak when retrying.
40422
5b27a807
UD
404232011-05-31 Ulrich Drepper <drepper@gmail.com>
40424
356f8bc6
UD
40425 * version.h (RELEASE): Bump for 2.14 release.
40426 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40427
5b27a807
UD
40428 * config.make.in (RANLIB): Remove entry.
40429
01f16ab0
UD
404302011-05-30 Ulrich Drepper <drepper@gmail.com>
40431
41fce8bd
UD
40432 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40433 (libc.pot): Work around missing support for .ksh extension in xgettext.
40434
4769ae77
UD
40435 [BZ #12684]
40436 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40437 if both request failed.
40438 (send_dg): In case of server errors clear resplen or *resplen2.
40439
6b1e7d19
UD
40440 [BZ #12454]
40441 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40442 when there are multiple maps.
40443 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40444 (_dl_fini): Remove test here.
40445
01f16ab0
UD
40446 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40447
b1ebd700
UD
404482011-05-29 Ulrich Drepper <drepper@gmail.com>
40449
7ae22829
UD
40450 [BZ #12350]
40451 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40452 bit from old_res_options.
40453 (gaih_inet): Likewise.
40454
553149f6 40455 [BZ #11099]
18a84741 40456 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40457 as signed.
40458
652ffab1
UD
40459 * resolv/res_init.c (res_setoptions): Make the code more compact.
40460
16985fd0
UD
40461 [BZ #11558]
40462 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40463 set RES_USEVC.
40464
0464f746
UD
40465 [BZ #11634]
40466 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40467
7d17596c
UD
40468 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40469
cf6bbbd7
UD
40470 [BZ #11781]
40471 * malloc/malloc.h: Declare malloc hook variables as volatile.
40472
13f1ab36
UD
40473 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40474 in last patch.
40475
b1ebd700
UD
40476 [BZ #11799]
40477 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40478 raise in the comment.
80e2212d
UD
40479 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40480 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40481 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40482
ce67228d
UD
404832011-05-28 Ulrich Drepper <drepper@gmail.com>
40484
8887a920
UD
40485 [BZ #12811]
40486 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40487 grow the buffers more if it already has to be sufficient.
40488 (build_wcs_upper_buffer): Likewise.
40489 * posix/regexec.c (check_matching): Likewise.
40490 (clean_state_log_if_needed): Likewise.
40491 (extend_buffers): Don't enlarge buffers beyond size of the input
40492 buffer.
40493 Patches mostly by Emil Wojak <emil@wojak.eu>.
40494 * posix/bug-regex32.c: New file.
40495 * posix/Makefile (tests): Add bug-regex32.
40496
4f031072
UD
40497 * locale/findlocale.c (_nl_find_locale): Return right away if
40498 _nl_explode_name failed.
40499 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40500
d0478f0c
UD
40501 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40502
de81b246
UD
40503 * debug/xtrace.sh: Unify messages.
40504 * malloc/memusage.sh: Likewise.
40505
c738465a
UD
40506 [BZ #12813]
40507 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40508 time symbol from vDSO. Substitute with vsyscall if not available.
40509 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40510 __vdso_time.
40511
f1f929d7
UD
40512 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40513 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40514 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40515 Add sendmmsg and internal_sendmmsg.
40516 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40517 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40518 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40519
ce67228d
UD
40520 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40521 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40522 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40523
e57420c6
UD
405242011-05-27 Ulrich Drepper <drepper@gmail.com>
40525
a8509ca5
UD
40526 [BZ #12813]
40527 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40528 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40529 available.
40530 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40531 __vdso_getcpu.
40532
e57420c6
UD
40533 [BZ #12814]
40534 * iconvdata/Makefile (tests): Add bug-iconv9.
40535 * iconvdata/bug-iconv9.c: New file.
40536
4d07db15
AS
405372011-05-27 Andreas Schwab <schwab@redhat.com>
40538
40539 [BZ #12814]
40540 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40541
ea486f69
JJ
405422011-05-25 Jakub Jelinek <jakub@redhat.com>
40543
40544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40545 (struct user_regs_struct): Change intcs field back to cs.
40546
6f038433
UD
405472011-05-25 Ulrich Drepper <drepper@gmail.com>
40548
40549 * po/ja.po: Update from translation team.
40550
67f86a25
UD
405512011-05-23 Ulrich Drepper <drepper@gmail.com>
40552
40553 [BZ #12795]
40554 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40555 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40556
def7fbd6
AS
405572011-05-20 Andreas Schwab <schwab@redhat.com>
40558
40559 * stdlib/longlong.h: Update from GCC.
40560
f50ef8f1
AS
405612011-05-23 Andreas Schwab <schwab@redhat.com>
40562
40563 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40564 parameter name.
40565 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40566 Add parameter name.
40567 (__sysconf): Pass it down.
40568
de7ce8f1
UD
405692011-05-22 Ulrich Drepper <drepper@gmail.com>
40570
f2962a71
UD
40571 [BZ #12671]
40572 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40573 some situations.
40574 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40575 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40576 add in in __libc_use_alloca calls. Adjust callers.
40577 (glob): Use malloc in some situations.
40578
de7ce8f1
UD
40579 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40580 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40581 pltexit.
40582
aec84f53
UD
405832011-05-21 Ulrich Drepper <drepper@gmail.com>
40584
05bb4a68
UD
40585 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40586 and CLOCK_BOOTTIME_ALARM.
40587
7ea72f99
UD
40588 [BZ #12782]
40589 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40590 is returned.
40591
7e4afad5
UD
40592 * string/_strerror.c (__strerror_r): Print negative errors as signed
40593 numbers.
40594
8e211fec
UD
40595 [BZ #12777]
40596 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40597 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40598 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40599
f7d82dc9
UD
40600 * configure.in: Fix typo in redirection and correct removal of test
40601 files in two cases.
40602
cc9e536d
UD
40603 [BZ #12788]
40604 * locale/setlocale.c (new_composite_name): Fix test to check for
40605 identical name of all categories.
40606
aec84f53
UD
40607 [BZ #12792]
40608 * libio/filedoalloc.c (local_isatty): New function.
40609 (_IO_file_doallocate): Use local_isatty.
40610 * stdio-common/perror.c (perror): In case a new stream is used
40611 forward the stream error.
40612 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40613 error flag.
40614
78e64fdc
RT
406152011-05-20 Ulrich Drepper <drepper@gmail.com>
40616
34a9094f
UD
40617 [BZ #11869]
40618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40619 alloca.
40620 * include/alloca.h (extend_alloca_account): Define.
40621
78e64fdc
RT
40622 [BZ #11857]
40623 * posix/regex.h: Fix comments with documentation of user-accessible
40624 fields after compilation and describe correct free'ing of pattern
40625 after re_compile_pattern.
40626 Patch by Reuben Thomas <rrt@sc3d.org>.
40627
457bddfc
RA
406282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40629
40630 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40631 and -mno-altivec to prevent the compiler from using Altivec and/or
40632 VSX instructions when the corresponding registers are not available.
40633
a4527b51
AS
406342011-05-19 Andreas Schwab <schwab@redhat.com>
40635
40636 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40637
ed690b2f
UD
406382011-05-19 Ulrich Drepper <drepper@gmail.com>
40639
40640 * libio/freopen.c (freopen): Use __dup2, not dup2.
40641 * libio/freopen64.c (freopen64): Likewise.
40642
8db73634
L
406432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40644
40645 [BZ #12775]
40646 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40647 * math/Makefile (tests): Add test-powl.
40648 (CFLAGS-test-powl.c): Define.
40649 * math/test-powl.c: New file.
40650
0a197a9d
L
406512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40652
40653 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40654
ee30c380
UD
406552011-05-17 Ulrich Drepper <drepper@gmail.com>
40656
40657 [BZ #11837]
40658 * iconvdata/gb18030.c: Update to GB18020-2005.
40659
6ce75379
UD
406602011-05-16 Ulrich Drepper <drepper@gmail.com>
40661
a4b89fd8
AR
40662 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40663 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40664 Patch by Aharon Robbins <arnold@skeeve.com>.
40665
ea389b12
UD
40666 [BZ #11892]
40667 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40668 on the stack.
40669
68a3f91f
UD
40670 [BZ #11895]
40671 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40672 through underflows.
40673
15cc7dd1
UD
40674 [BZ #12766]
40675 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40676 point to strings before performing equality test for error_one_per_line
40677 mode.
40678
f3799213
UD
40679 [BZ #11697]
40680 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40681
d79a9c94
UD
40682 [BZ #11820]
40683 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40684 (struct user_fpregs_struct): Avoid __uint*_t types.
40685
56e5eb46
UD
40686 [BZ #6420]
40687 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40688 symbol info. Use it instead of calling _dl_addr locally.
40689 (lock_and_info): New function.
40690 (tr_freehook): Call lock_and_info and pass symbol info as additional
40691 parameter to tr_where.
40692 (tr_mallochook): Likewise.
40693 (tr_reallochook): Likewise.
40694 (tr_memalignhook): Likewise.
40695
6ce75379
UD
40696 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40697 used and couldn't be at all thread-safe.
40698
f8a3b5bf
UD
406992011-05-15 Ulrich Drepper <drepper@gmail.com>
40700
94b7cc37
UD
40701 * libio/freopen.c (freopen): Don't close old file descriptor
40702 before the new one is opened. Instead dup the new file descriptor
40703 to the old one after the new stream is created.
40704 * libio/freopen64.c (freopen64): Likewise.
40705 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40706 * libio/fileops.c (_IO_new_file_close_it): Handle new
40707 _IO_FLAGS2_NOCLOSE flag.
40708 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40709 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40710 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40711 _IO_FLAGS2_NOCLOSE flag.
40712 * include/unistd.h: Add hidden_proto for dup3.
40713 Define __have_dup3.
40714 * io/dup3.c: Define hidden symbol.
40715 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40716
bd25564e
UD
40717 [BZ #7101]
40718 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40719 when an incomplete long option is used.
40720 * posix/tst-getopt_long1.c: New file.
40721 * posix/Makefile (tests): Add tst-getopt_long1.
40722
c84cfef4
UD
40723 [BZ #10138]
40724 * scripts/config.guess: Update from autoconf-2.68.
40725 * scripts/config.sub: Likewise.
40726
3b85df27
UD
40727 [BZ #10157]
40728 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40729 tests into ...
40730 (has_cpuclock): ...this. New function.
40731 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40732 macro here based on has_cpuclock code.
40733
15a856b1
UD
40734 [BZ #10149]
40735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40736 First byte (not low byte) is now always NUL.
40737 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40738
05f399e6
UD
40739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40740 Use non-cancelable interfaces.
40741
10a52685 40742 [BZ #9809]
94ecc67d
UD
40743 * locale/iso-639.def: Add entry for Sorani.
40744
f8a3b5bf
UD
40745 [BZ #11901]
40746 * include/stdlib.h: Move include protection to the right place.
40747 Define abort_msg_s. Declare __abort_msg with it.
40748 * stdlib/abort.c (__abort_msg): Adjust type.
40749 * assert/assert.c (__assert_fail_base): New function. Majority
40750 of code from __assert_fail. Allocate memory for __abort_msg with
40751 mmap.
40752 (__assert_fail): Now call __assert_fail_base.
40753 * assert/assert-perr.c: Remove bulk of implementation. Use
40754 __assert_fail_base.
40755 * include/assert.hL Declare __assert_fail_base.
40756 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40757 mmap.
40758 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40759
1af4e298
UD
407602011-05-14 Ulrich Drepper <drepper@gmail.com>
40761
f8a3b5bf 40762 [BZ #11952]
d26dfc60
MG
40763 [BZ #12453]
40764 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40765 until all modules are registered in the DTV.
40766 * elf/Makefile: Add rules to build and run tst-tls19.
40767 * elf/tst-tls19.c: New file.
40768 * elf/tst-tls19mod1.c: New file.
40769 * elf/tst-tls19mod2.c: New file.
40770 * elf/tst-tls19mod3.c: New file.
40771 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40772
2fc54d6f
UD
40773 [BZ #12083]
40774 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40775 correctly.
40776
98d76b46
UD
40777 [BZ #12601]
40778 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40779 two-byte sequence errors.
40780 * iconvdata/Makefile (tests): Add bug-iconv8.
40781 * iconvdata/bug-iconv8.c: New file.
40782
da3c19ef
UD
40783 [BZ #12626]
40784 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40785 buf2 definition.
40786
ca408c15
UD
40787 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40788
d6f67f7d
UD
40789 [BZ #12432]
40790 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40791 (dummy_getcfa): New function.
40792 (init): Get _Unwind_GetCFA address, use dummy if not found.
40793 (backtrace_helper): In recursion check, also check whether CFA changes.
40794 (__backtrace): Completely initialize arg.
40795
1af4e298 40796 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40797 storing incomplete byte sequence in state object. Avoid testing for
40798 guaranteed too small input if we know there is enough data available.
1af4e298 40799
da62f81b
AS
408002011-05-11 Andreas Schwab <schwab@redhat.com>
40801
40802 * Makeconfig (+link-pie): Indent.
40803 * Rules (binaries-pie): Define if $(have-fpie) and
40804 $(build-shared).
40805 (binaries-shared): Also filter out $(binaries-pie).
40806 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40807 * nscd/Makefile (others-pie): Add nscd.
40808 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40809 ($(objpfx)nscd): Remove command override.
40810 * login/Makefile (others-pie): Add pt_chown.
40811 ($(objpfx)pt_chown): Remove command override.
40812 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40813 remove command overrides.
40814
fcabc0f8
UD
408152011-05-13 Ulrich Drepper <drepper@gmail.com>
40816
20030ae6
UD
40817 * libio/tst_putwc.c: Fix error messages.
40818
fcabc0f8
UD
40819 [BZ #12724]
40820 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40821 currently writing and seek to current position when not.
40822 * libio/Makefile (tests): Add bug-fclose1.
40823 * libio/bug-fclose1.c: New file.
40824
320a5dc0
PB
408252011-05-12 Ulrich Drepper <drepper@gmail.com>
40826
40827 [BZ #12511]
40828 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40829 don't set DF_1_NODELETE here.
40830 (do_lookup_x): When entering new entry test for copy relocation
40831 and if necessary set DF_1_NODELETE flag.
40832 * elf/tst-unique4.cc: New file.
40833 * elf/tst-unique4.h: New file.
40834 * elf/tst-unique4lib.cc: New file.
40835 * elf/Makefile: Add rules to build and run tst-unique4.
40836 Patch by Piotr Bury <pbury@goahead.com>.
40837
22836f52
UD
408382011-05-11 Ulrich Drepper <drepper@gmail.com>
40839
f574184a
UD
40840 [BZ #12052]
40841 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40842
e1fb097f
UD
40843 [BZ #12625]
40844 * misc/mntent_r.c (addmntent): Flush the stream after the output
40845
22836f52
UD
40846 [BZ #12393]
40847 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40848 (is_trusted_path_normalize): Skip initial colon. Append slash
40849 to empty buffer. Duplicate is_trusted_path code but allow
40850 constructed patch to be prefix.
40851 (is_dst): Allow $ORIGIN followed by /.
40852 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40853 Correct testing of result of is_trusted_path_normalize
40854 (decompose_rpath): Fix warning.
40855
7b3b0b2a
UD
408562011-05-10 Ulrich Drepper <drepper@gmail.com>
40857
40858 [BZ #11257]
40859 * grp/initgroups.c (internal_getgrouplist): When we found the service
40860 list through the initgroups entry in nsswitch.conf do not always
40861 continue on a successful lookup. Don't always use the
eac80ce2 40862 __nss_group_database value if it is set.
7b3b0b2a
UD
40863 * nss/nsswitch.conf (initgroups): Change action for successful db
40864 lookup to continue for compatibility.
40865
2a81eaa5
UD
408662011-05-09 Ulrich Drepper <drepper@gmail.com>
40867
be97a69e
UD
40868 [BZ #11532]
40869 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40870 and CP774 modules.
40871 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40872 and CP774 modules.
40873 * iconvdata/tst-tables.sh: Likewise.
40874 * iconvdata/cp770.c: New file.
40875 * iconvdata/cp771.c: New file.
40876 * iconvdata/cp772.c: New file.
40877 * iconvdata/cp773.c: New file.
40878 * iconvdata/cp774.c: New file.
40879 * iconvdata/testdata/CP770: New file.
40880 * iconvdata/testdata/CP770..UTF8: New file.
40881 * iconvdata/testdata/CP771: New file.
40882 * iconvdata/testdata/CP771..UTF8: New file.
40883 * iconvdata/testdata/CP772: New file.
40884 * iconvdata/testdata/CP772..UTF8: New file.
40885 * iconvdata/testdata/CP773: New file.
40886 * iconvdata/testdata/CP773..UTF8: New file.
40887 * iconvdata/testdata/CP774: New file.
40888 * iconvdata/testdata/CP774..UTF8: New file.
40889
40890 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40891 END CHARMAP line.
40892 * iconvdata/gen-8bit-gap.sh: Likewise.
40893 * iconvdata/gen-8bit.sh: Likewise.
40894
c1e9e399
UD
40895 * locale/iso-639.def: Add ary entry.
40896
24c55fb3 40897 [BZ #11258]
96b4b1b0
UD
40898 * locale/C-translit.h.in: Add U20A1 transliteration.
40899
bdc2f971
KB
40900 [BZ #12178]
40901 * locale/iso-639.def: Add wae entry.
40902 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40903
2952b117
UD
40904 [BZ #12545]
40905 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40906 for n.
40907
2a81eaa5
UD
40908 [BZ #12711]
40909 * locale/C-translit.h.in: Add entry for U20B9.
40910 Patch by pravin.d.s@gmail.com.
40911
28377d1b
UD
409122011-05-08 Ulrich Drepper <drepper@gmail.com>
40913
7fb90fb8
UD
40914 [BZ #12713]
40915 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40916 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40917 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40918 in rtld. Use *stat64.
7fb90fb8 40919 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40920 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40921 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40922 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40923 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40924 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40925 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40926 __fstatat64 macros.
7fb90fb8
UD
40927 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40928 * dirent/rewinddir.c: Add libc_hidden_def.
40929 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40930 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40931
28377d1b
UD
40932 * include/dirent.h (__alloc_dir): Add flags parameter.
40933 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40934 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40935 __alloc_dir.
40936 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40937 from fdopendir if O_CLOEXEC is already set.
40938
66bdbaa4
AM
409392011-03-15 Alan Modra <amodra@gmail.com>
40940
40941 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40942 l_tls_firstbyte_offset non-zero. Save padding offset in
40943 l_tls_firstbyte_offset for later use.
40944 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40945 freeing static tls block.
40946
95721191
JN
409472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40948
40949 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40950 where #ifdef was intended. The intent is to prevent ARG_MAX from
40951 being defined by the kernel headers.
40952
f87dfb1f
UD
409532011-05-07 Ulrich Drepper <drepper@gmail.com>
40954
40955 [BZ #12734]
40956 * resolv/resolv.h: Define RES_NOTLDQUERY.
40957 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40958 no-tld-query and set RES_NOTLDQUERY.
40959 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40960 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40961 modern BIND to search name as TLD unless forbidden.
40962
47c3cd7a
UD
409632011-05-07 Petr Baudis <pasky@suse.cz>
40964 Ulrich Drepper <drepper@gmail.com>
40965
40966 [BZ #12393]
40967 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40968 (is_trusted_path): ...to here.
c1e9ea35 40969 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40970 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40971 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40972
8a35c912
PP
409732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40974
40975 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40976 __BEGIN/__END_DECLS.
40977
acd41f47
UD
409782011-05-06 Ulrich Drepper <drepper@gmail.com>
40979
40980 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40981 NSS_STATUS_NOTFOUND if no record was found.
40982
597df647
AS
409832011-05-05 Andreas Schwab <schwab@redhat.com>
40984
40985 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40986 (headers-not-in-tirpc): Remove rpc/netdb.h
40987 * resolv/netdb.h: Revert last change.
40988
b9af1301
PP
409892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40990
40991 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40992 circular dependency between libgcc.a and libc.a.
40993
4e34d5f5
AS
409942011-05-05 Andreas Schwab <schwab@redhat.com>
40995
40996 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40997 * nis/Makefile: Don't install rpcsvc/*.
40998 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40999 instead of <rpc/types.h>.
41000 (MAXHOSTNAMELEN): Define.
41001
00ee369c
AS
410022011-05-03 Andreas Schwab <schwab@redhat.com>
41003
41004 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41005
0b592a30
MB
410062011-04-28 Maciej Babinski <mbabinski@google.com>
41007
41008 [BZ #12714]
41009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41010 gethostbyname4_r when IPv6 results are possible.
41011
6e04cbbe
UD
410122011-05-02 Ulrich Drepper <drepper@gmail.com>
41013
41014 [BZ #12723]
41015 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41016 _PC_PIPE_BUF handling.
41017
e4ecafe0
BH
410182011-04-30 Bruno Haible <bruno@clisp.org>
41019
41020 [BZ #12717]
41021 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41022 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41023 to 'int'.
41024 * inet/getnameinfo.c (getnameinfo): Likewise.
41025
125ee683
UD
410262011-04-29 Ulrich Drepper <drepper@gmail.com>
41027
41028 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41029 to groups setting in database lookup.
41030 * nss/nsswitch.conf: Add initgroups entry.
41031
b722481a
EB
410322011-04-22 Ulrich Drepper <drepper@gmail.com>
41033
41034 [BZ #12685]
41035 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41036 mode string.
41037 Patch by Eric Blake <eblake@redhat.com>.
41038
4df46dbd
L
410392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41040
41041 * sunrpc/Makefile (need-export-routines): Add svc_run.
41042 (routines): Remove svc_run.
41043 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41044 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41045 * sunrpc/svc_run.c (svc_run): Likewise.
41046 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41047
e84142d2
UD
410482011-04-21 Ulrich Drepper <drepper@gmail.com>
41049
41050 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41051 problem in reallocation in last patch.
41052
877175d8
UD
410532011-04-20 Ulrich Drepper <drepper@gmail.com>
41054
41055 * sunrpc/Makefile: Move inclusion of Rules.
41056
ab8eed78
UD
410572011-04-19 Ulrich Drepper <drepper@gmail.com>
41058
41059 * nss/nss_files/files-initgroups.c: New file.
41060 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41061 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41062 _nss_files_initgroups_dyn.
41063
e3d8f584
RS
410642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41065
41066 * elf/elf.h (R_ARM_IRELATIVE): Define.
41067
af190f45
UD
410682011-04-19 Ulrich Drepper <drepper@gmail.com>
41069
41070 * po/ru.po: Update from translation team.
41071
53cf59ef
UD
410722011-04-17 Ulrich Drepper <drepper@gmail.com>
41073
41074 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41075 dependencies.
41076
4c559bcd
MF
410772011-02-06 Mike Frysinger <vapier@gentoo.org>
41078
41079 [BZ #12653]
41080 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41081 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41085
4420675c
AS
410862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41087
41088 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41089 differing bytes.
41090 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41091 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41092 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41093
75ea32ab
UD
410942011-04-17 Ulrich Drepper <drepper@gmail.com>
41095
41096 [BZ #12420]
41097 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41098 storing it.
41099 * stdlib/bug-getcontext.c: New file.
41100 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41101
27390476
AK
411022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41103
41104 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41105 instructions into .machine "z9-109".
41106 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41107 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41108
10442705
AK
411092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41110
41111 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41112 between environment variables and auxiliary vector.
41113
7b57bfe5
UD
411142011-04-16 Ulrich Drepper <drepper@gmail.com>
41115
41116 * Makefile: Add rules to build linkobj/libc.so.
41117 * include/libc-symbols.h: Define libc_hidden_nolink.
41118 * include/rpc/auth.h: Mark functions which are to be hidden.
41119 * include/rpc/auth_des.h: Likewise.
41120 * include/rpc/auth_unix.h: Likewise.
41121 * include/rpc/clnt.h: Likewise.
41122 * include/rpc/des_crypt.h: Likewise.
41123 * include/rpc/key_prot.h: Likewise.
41124 * include/rpc/pmap_clnt.h: Likewise.
41125 * include/rpc/pmap_prot.h: Likewise.
41126 * include/rpc/pmap_rmt.h: Likewise.
41127 * include/rpc/rpc_msg.h: Likewise.
41128 * include/rpc/svc.h: Likewise.
41129 * include/rpc/svc_auth.h: Likewise.
41130 * include/rpc/xdr.h: Likewise.
41131 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41132 * nss/Makefile: Likewise.
41133 * sunrpc/Makefile: Don't install headers. Build library with normal
41134 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41135 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41136 for the compat linking library. Remove use of INTDEF/INTUSE.
41137 * sunrpc/auth_none.c: Likewise.
41138 * sunrpc/auth_unix.c: Likewise.
41139 * sunrpc/authdes_prot.c: Likewise.
41140 * sunrpc/authuxprot.c: Likewise.
41141 * sunrpc/clnt_gen.c: Likewise.
41142 * sunrpc/clnt_perr.c: Likewise.
41143 * sunrpc/clnt_raw.c: Likewise.
41144 * sunrpc/clnt_simp.c: Likewise.
41145 * sunrpc/clnt_tcp.c: Likewise.
41146 * sunrpc/clnt_udp.c: Likewise.
41147 * sunrpc/clnt_unix.c: Likewise.
41148 * sunrpc/des_crypt.c: Likewise.
41149 * sunrpc/des_soft.c: Likewise.
41150 * sunrpc/get_myaddr.c: Likewise.
41151 * sunrpc/key_call.c: Likewise.
41152 * sunrpc/key_prot.c: Likewise.
41153 * sunrpc/netname.c: Likewise.
41154 * sunrpc/pm_getmaps.c: Likewise.
41155 * sunrpc/pm_getport.c: Likewise.
41156 * sunrpc/pmap_clnt.c: Likewise.
41157 * sunrpc/pmap_prot.c: Likewise.
41158 * sunrpc/pmap_prot2.c: Likewise.
41159 * sunrpc/pmap_rmt.c: Likewise.
41160 * sunrpc/publickey.c: Likewise.
41161 * sunrpc/rpc_cmsg.c: Likewise.
41162 * sunrpc/rpc_common.c: Likewise.
41163 * sunrpc/rpc_dtable.c: Likewise.
41164 * sunrpc/rpc_prot.c: Likewise.
41165 * sunrpc/rpc_thread.c: Likewise.
41166 * sunrpc/rtime.c: Likewise.
41167 * sunrpc/svc.c: Likewise.
41168 * sunrpc/svc_auth.c: Likewise.
41169 * sunrpc/svc_authux.c: Likewise.
41170 * sunrpc/svc_raw.c: Likewise.
41171 * sunrpc/svc_run.c: Likewise.
41172 * sunrpc/svc_simple.c: Likewise.
41173 * sunrpc/svc_tcp.c: Likewise.
41174 * sunrpc/svc_udp.c: Likewise.
41175 * sunrpc/svc_unix.c: Likewise.
41176 * sunrpc/svcauth_des.c: Likewise.
41177 * sunrpc/xcrypt.c: Likewise.
41178 * sunrpc/xdr.c: Likewise.
41179 * sunrpc/xdr_array.c: Likewise.
41180 * sunrpc/xdr_float.c: Likewise.
41181 * sunrpc/xdr_intXX_t.c: Likewise.
41182 * sunrpc/xdr_mem.c: Likewise.
41183 * sunrpc/xdr_rec.c: Likewise.
41184 * sunrpc/xdr_ref.c: Likewise.
41185 * sunrpc/xdr_sizeof.c: Likewise.
41186 * sunrpc/xdr_stdio.c: Likewise.
41187
e6c61494
UD
411882011-04-10 Ulrich Drepper <drepper@gmail.com>
41189
41190 [BZ #12650]
41191 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41192 * sysdeps/ia64/dl-tls.h: Likewise.
41193 * sysdeps/powerpc/dl-tls.h: Likewise.
41194 * sysdeps/s390/dl-tls.h: Likewise.
41195 * sysdeps/sh/dl-tls.h: Likewise.
41196 * sysdeps/sparc/dl-tls.h: Likewise.
41197 * sysdeps/x86_64/dl-tls.h: Likewise.
41198 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41199
34fe483e
AS
412002011-03-14 Andreas Schwab <schwab@redhat.com>
41201
41202 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41203 rpath element also skip the following colon.
41204 (expand_dynamic_string_token): Add is_path parameter and pass
41205 down to DL_DST_REQUIRED and _dl_dst_substitute.
41206 (decompose_rpath): Call expand_dynamic_string_token with
41207 non-zero is_path. Ignore empty rpaths.
41208 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41209 with zero is_path.
41210
f12a32e6
AS
412112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41212
41213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41214 Make cancelable.
41215
38a7d692
UD
412162011-04-09 Ulrich Drepper <drepper@gmail.com>
41217
41218 [BZ #12655]
41219 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41220 Patch by Filipe David Manana <fdmanana@apache.org>.
41221
e451d22b
AS
412222011-04-07 Andreas Schwab <schwab@redhat.com>
41223
41224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41225 Maintain aligned stack.
41226 (CHECK_RSP): Remove unused macro.
41227
dedc7c7b
UD
412282011-04-03 Ulrich Drepper <drepper@gmail.com>
41229
41230 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41231 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41232
94521213
UD
412332011-04-02 Ulrich Drepper <drepper@gmail.com>
41234
41235 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41236
8cb700c0 41237 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41238
0354e355
L
412392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41240
41241 [BZ #12518]
41242 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41243 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41244 * sysdeps/x86_64/memmove.c: New file.
41245 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41246 (memcpy): Renamed to ...
41247 (__new_memcpy): This.
41248 (memcpy): Provide GLIBC_2_14 memcpy.
41249 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41250 (memcpy): Provide GLIBC_2_2_5 memcpy.
41251
8593482f
UD
412522011-04-01 Ulrich Drepper <drepper@gmail.com>
41253
41254 [BZ #12631]
41255 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41256
81a5726b
AS
412572011-03-30 Andreas Schwab <schwab@redhat.com>
41258
41259 * misc/syncfs.c: New file.
41260 * misc/Makefile (routines): Add syncfs.
41261 * posix/unistd.h: Declare syncfs.
41262 * sysdeps/unix/syscalls.list: Add syncfs.
41263
00e5419f
AS
412642011-04-01 Andreas Schwab <schwab@redhat.com>
41265
41266 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41267 open_by_handle_at.
41268 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41269 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41271 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41273 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41275
748876bf
UD
412762011-04-01 Ulrich Drepper <drepper@gmail.com>
41277
658e451d
UD
41278 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41279 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41280 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41285
748876bf
UD
41286 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41287 sync_file_range.c with -fexceptions.
41288 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41289 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41290 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41291 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41292 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41293 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41295 sync_file_range as cancellation point
41296 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41297 now a wrapper around __call_sync_file_range with cancellation handling.
41298 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41299 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41300 function name to __call_sync_file_range.
41301 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41302 Add call_sync_file_range.
748876bf 41303
6e63d5e1
AS
413042011-04-01 Andreas Schwab <schwab@redhat.com>
41305
41306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41307 bits/timex.h.
6e63d5e1 41308
46998f74
UD
413092011-04-01 Ulrich Drepper <drepper@gmail.com>
41310
4c1423ed
UD
41311 * iconv/iconv.h: Fix typo in comment.
41312 * io/fcntl.h: Likewise.
41313 * libio/stdio.h: Likewise.
41314 * posix/spawn.h: Likewise.
41315 * posix/unistd.h: Likewise.
41316 * stdlib/stdlib.h: Likewise.
41317 * time/time.h: Likewise.
41318 * wcsmbs/wchar.h: Likewise.
41319
158648c0
UD
41320 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41321 open_by_handle): Add.
41322 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41323 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41324 Augment a few comments.
41325 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41330 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41331 open_by_handle.
41332
46998f74
UD
41333 * io/fcntl.h (AT_EMPTY_PATH): Define.
41334
83fe108b
UD
413352011-03-30 Ulrich Drepper <drepper@gmail.com>
41336
41337 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41338 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41339 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41340 to...
41341 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41342 * Versions.def: Add GLIBC_2.14.
41343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41344 Export.
83fe108b 41345
bb242059
UD
413462011-03-22 Ulrich Drepper <drepper@gmail.com>
41347
41348 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41349 round counter.
41350 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41351
c97a1282
L
413522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41353
41354 [BZ #12597]
41355 * string/test-strncmp.c (do_page_test): New function.
41356 (check2): Likewise.
41357 (test_main): Call check2.
41358 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41359
2a115601
UD
413602011-03-20 Ulrich Drepper <drepper@gmail.com>
41361
41362 [BZ #12587]
41363 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41364 Handle cache information in CPU leaf 4.
41365 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41366
8126d904
UD
413672011-03-18 Ulrich Drepper <drepper@gmail.com>
41368
042c49c6 41369 [BZ #12583]
8126d904
UD
41370 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41371 character representation.
41372 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41373
ccfe366e
RA
413742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41375
41376 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41377 END(__isnan) to END(__isnanf) to match function entry point/label
41378 EALIGN(__isnanf,...).
41379
c6e13027
JJ
413802011-03-10 Jakub Jelinek <jakub@redhat.com>
41381
41382 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41383
33f85a3f
UD
413842011-03-10 Ulrich Drepper <drepper@gmail.com>
41385
028478fa
UD
41386 [BZ #12510]
41387 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41388 copy from the symbol referenced in the relocation to initialize the
41389 used variable.
41390 Patch by Piotr Bury <pbury@goahead.com>.
41391 * elf/Makefile: Add rules to build and tst-unique3.
41392 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41393 * elf/tst-unique3.cc: New file.
41394 * elf/tst-unique3.h: New file.
41395 * elf/tst-unique3lib.cc: New file.
41396 * elf/tst-unique3lib2.cc: New file.
41397
33f85a3f
UD
41398 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41399
03592fc7
MF
414002011-03-10 Mike Frysinger <vapier@gentoo.org>
41401
41402 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41403 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41404 to _start.
03592fc7 41405
6a5ee102
UD
414062011-03-06 Ulrich Drepper <drepper@gmail.com>
41407
41408 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41409 to-be-loaded object along a path to loader is ld.so.
41410
7e4ba49c
HJ
414112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41412 Ulrich Drepper <drepper@gmail.com>
41413
41414 * sysdeps/x86_64/memset.S: After aligning destination, code
41415 branches to different locations depending on the value of
41416 misalignment, when multiarch is enabled. Fix this.
41417
414182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41419
41420 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41421 Set _x86_64_preferred_memory_instruction for AMD processsors.
41422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41423 Set bit_Prefer_SSE_for_memop for AMD processors.
41424
13a804de
UD
414252011-03-04 Ulrich Drepper <drepper@gmail.com>
41426
41427 * libio/fmemopen.c (fmemopen): Optimize a bit.
41428
9d25c392
AS
414292011-03-03 Andreas Schwab <schwab@redhat.com>
41430
41431 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41432
a5543c6a
RM
414332011-03-03 Roland McGrath <roland@redhat.com>
41434
41435 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41436
012d35f7
DM
414372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41438
7e4ba49c 41439 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41440 __bzero_ultra1 instead of __memset_ultra1.
41441
4bff6e01
AS
414422011-02-23 Andreas Schwab <schwab@redhat.com>
41443 Ulrich Drepper <drepper@gmail.com>
41444
41445 [BZ #12509]
41446 * include/link.h (struct link_map): Add l_orig_initfini.
41447 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41448 returning unsuccessfully.
41449 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41450 close of a file loaded at startup, restore the original l_initfini
41451 list.
41452 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41453 list, store the pointer.
41454 * elf/Makefile ($(objpfx)noload-mem): New rule.
41455 (noload-ENV): Define.
41456 (tests): Add $(objpfx)noload-mem.
41457 * elf/noload.c: Include <memcheck.h>.
41458 (main): Call mtrace. Close all opened handles.
41459
f2092faf
AS
414602011-02-17 Andreas Schwab <schwab@redhat.com>
41461
41462 [BZ #12454]
41463 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41464 dependencies are missing.
41465
6c8a2e88
ST
414662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41467
f2092faf 41468 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41469 Hurd needs munmap.
41470 * sysdeps/mach/hurd/ifreq.h: New file.
41471
84a42118
PB
414722011-01-27 Petr Baudis <pasky@suse.cz>
41473 Ulrich Drepper <drepper@gmail.com>
41474
071f805e 41475 [BZ 12445]#
84a42118
PB
41476 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41477 to extend_alloca().
41478 * stdio-common/bug23.c: New file.
41479 * stdio-common/Makefile (tests): Add bug23.
41480
e23fe25b
AS
414812010-09-28 Andreas Schwab <schwab@redhat.com>
41482 Ulrich Drepper <drepper@gmail.com>
41483
41484 [BZ #12489]
41485 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41486 before performing relro protection. At old place add assertion
41487 to make sure nothing changed.
41488
d3f02e10
NS
414892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41490 Glauber de Oliveira Costa <glommer@gmail.com>
41491
41492 * elf/elf.h: Add new ARM TLS relocs.
41493
d55fd7a5
RA
414942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41495
41496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41497 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41498 cast from r3.
41499 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41500 'tests' variable.
41501 * sysdeps/wordsize-64/tst-writev.c: New file.
41502
2206397e
RA
415032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41504
41505 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41506 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41507 insns in _dl_start to prevent a TOC reference before relocs are
41508 resolved.
41509
e9433893
UD
415102011-02-15 Ulrich Drepper <drepper@gmail.com>
41511
41512 [BZ #12469]
41513 * Makeconfig: Remove RANLIB definition.
41514 * Makerules: Don't use RANLIB.
41515 * aclocal.m4: Remove ranlib test.
41516 * configure.in: No need to check for ranlib.
41517 * elf/rtld-Rules: Don't use RANLIB.
41518
f75286c6
ST
415192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41520
8e31c82d
ST
41521 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41522 protection macro.
41523 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41524 inclusion protection macro.
41525
f75286c6
ST
41526 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41527 SIGRTMIN and SIGRTMAX and print information in that case only when
41528 SIGRTMIN is defined.
41529
c1d0e639
JJ
415302011-02-11 Jakub Jelinek <jakub@redhat.com>
41531
41532 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41533 arginfo fn returning -1.
41534
41535 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41536 and thousands string is zero terminated.
41537
edf9294e
AS
415382011-02-03 Andreas Schwab <schwab@redhat.com>
41539
41540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41541 sysdeps/unix/sysv/linux/bits/socket.h.
41542
2b7e92df
ST
415432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41544
edf9294e
AS
41545 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41546 (__CPU_COUNT): Remove old macros.
41547 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41548 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41549 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41550 (__sched_cpualloc, __sched_cpufree): Add declarations.
41551
a4c7ea7b
UD
415522011-02-05 Ulrich Drepper <drepper@gmail.com>
41553
41554 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41555 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41556 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41557 (readdhstai): Return value of addhstaiX call.
41558 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41559 (addgrbyX): Return value returned by cache_addgr.
41560 (readdgrbyname): Return value returned by addgrbyX.
41561 (readdgrbygid): Likewise.
41562 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41563 (addpwbyX): Return value returned by cache_addpw.
41564 (readdpwbyname): Return value returned by addhstbyX.
41565 (readdpwbyuid): Likewise.
41566 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41567 (addservbyX): Return value returned by cache_addserv.
41568 (readdservbyname): Return value returned by addservbyX:
41569 (readdservbyport): Likewise.
41570 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41571 (addhstbyX): Return value returned by cache_addhst.
41572 (readdhstbyname): Return value returned by addhstbyX.
41573 (readdhstbyaddr): Likewise.
41574 (readdhstbynamev6): Likewise.
41575 (readdhstbyaddrv6): Likewise.
41576 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41577 (readdinitgroups): Return value returned by addinitgroupsX.
41578 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41579 (prune_cache): Keep track of timeout value of re-added entries.
41580 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41581 * nscd/nscd.h: Adjust prototypes of readd* functions.
41582
a0bf67cc
RM
415832011-02-04 Roland McGrath <roland@redhat.com>
41584
41585 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41586 (nis_stats): Likewise.
41587 * nis/nis_modify.c (nis_modify): Likewise.
41588 * nis/nis_remove.c (nis_remove): Likewise.
41589 * nis/nis_add.c (nis_add): Likewise.
41590
41591 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41592
41593 * posix/fnmatch_loop.c: Add some consts.
41594
41595 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41596
435b95eb
L
415972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41598
41599 [BZ #12460]
41600 * config.make.in (config-cflags-novzeroupper): Define.
41601 * configure.in: Substitute libc_cv_cc_novzeroupper.
41602 * elf/Makefile (AVX-CFLAGS): Define.
41603 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41604 (CFLAGS-tst-auditmod4a.c): Likewise.
41605 (CFLAGS-tst-auditmod4b.c): Likewise.
41606 (CFLAGS-tst-auditmod6b.c): Likewise.
41607 (CFLAGS-tst-auditmod6c.c): Likewise.
41608 (CFLAGS-tst-auditmod7b.c): Likewise.
41609 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41610
8517b15e
UD
416112011-02-02 Ulrich Drepper <drepper@gmail.com>
41612
41613 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41614 function to the callback.
41615 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41616
10a656fe
AS
416172011-02-02 Andreas Schwab <schwab@redhat.com>
41618
41619 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41620 of errno.
41621
968dad0a
UD
416222011-01-19 Ulrich Drepper <drepper@gmail.com>
41623
9f94d2ea 41624 [BZ #11724]
968dad0a
UD
41625 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41626 of constructors.
41627 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41628 of destructors.
41629 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41630
41631 [BZ #11724]
41632 * elf/Makefile: Add rules to build and run new test.
41633 * elf/tst-initorder.c: New file.
41634 * elf/tst-initorder.exp: New file.
41635 * elf/tst-initordera1.c: New file.
41636 * elf/tst-initordera2.c: New file.
41637 * elf/tst-initordera3.c: New file.
41638 * elf/tst-initordera4.c: New file.
41639 * elf/tst-initorderb1.c: New file.
41640 * elf/tst-initorderb2.c: New file.
41641 * elf/tst-order-a1.c: New file.
41642 * elf/tst-order-a2.c: New file.
41643 * elf/tst-order-a3.c: New file.
41644 * elf/tst-order-a4.c: New file.
41645 * elf/tst-order-b1.c: New file.
41646 * elf/tst-order-b2.c: New file.
41647 * elf/tst-order-main.c: New file.
41648 New test case by George Gensure <werkt0@gmail.com>.
41649
86e92359
UD
416502010-10-01 Andreas Schwab <schwab@redhat.com>
41651
41652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41653 decoding ACE if AI_CANONIDN.
41654
5d5732b0
UD
416552011-01-18 Ulrich Drepper <drepper@gmail.com>
41656
41657 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41658
a77e8cbc
UD
416592011-01-17 Ulrich Drepper <drepper@gmail.com>
41660
6392473f
UD
41661 * version.h (RELEASE): Bump for 2.13 release.
41662 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41663
620a0529
UD
41664 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41665
18ba70a5
UD
41666 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41667 MADV_NOHUGEPAGE.
32465c3e
UD
41668 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41669 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41670 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41671 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41673 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41674
c0dafcf1
UD
41675 * posix/getconf.c: Update copyright year.
41676 * catgets/gencat.c: Likewise.
41677 * csu/version.c: Likewise.
41678 * debug/catchsegv.sh: Likewise.
41679 * debug/xtrace.sh: Likewise.
41680 * elf/ldconfig.c: Likewise.
41681 * elf/ldd.bash.in: Likewise.
41682 * elf/sprof.c (print_version): Likewise.
41683 * iconv/iconv_prog.c: Likewise.
41684 * iconv/iconvconfig.c: Likewise.
41685 * locale/programs/locale.c: Likewise.
41686 * locale/programs/localedef.c: Likewise.
41687 * malloc/memusage.sh: Likewise.
41688 * malloc/mtrace.pl: Likewise.
41689 * nscd/nscd.c (print_version): Likewise.
41690 * nss/getent.c: Likewise.
41691
a77e8cbc
UD
41692 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41693 PF_CAIF, and PF_ALG.
41694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41695
77e8bddf
AS
416962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41697
1f20b93a
AS
41698 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41699 (modules-names): Use them.
41700 (ifunc-test-modules, ifunc-pie-tests): Define.
41701 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41702 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41703 (test-extras): Likewise.
41704 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41705 $(compile-command.c).
41706 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41707 (all-built-dso): Define.
41708 (check-textrel.out, check-execstack.out): Depend on it.
41709
77e8bddf
AS
41710 * configure.in: Don't override --enable-multi-arch.
41711
bc425b33
UD
417122011-01-15 Ulrich Drepper <drepper@gmail.com>
41713
41714 [BZ #6812]
41715 * nscd/hstcache.c (tryagain): Define.
41716 (cache_addhst): Return tryagain not notfound for temporary errors.
41717 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41718 failed.
41719
794c3ad3
UD
417202011-01-14 Ulrich Drepper <drepper@gmail.com>
41721
70181fdd
UD
41722 [BZ #10563]
41723 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41724 to make the syscall.
41725 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41726
794c3ad3
UD
41727 [BZ #12378]
41728 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41729 and fall back to matching as normal character if the string ends before
41730 the matching ']' is found. This is what POSIX requires.
41731 * posix/testfnm.c: Adjust test result.
41732 * posix/globtest.sh: Adjust test result. Add new test.
41733 * posix/tst-fnmatch.input: Likewise.
41734 * posix/tst-fnmatch2.c: Add new test.
41735
68dc9497
AS
417362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41737
41738 * elf/Makefile (check-execstack): Revert last change. Depend on
41739 check-execstack.h.
41740 (check-execstack.h): New target.
41741 (generated): Add check-execstack.h.
41742 * elf/check-execstack.c: Include "check-execstack.h".
41743 (main): Revert last change.
41744 (handle_file): Return zero if GNU_STACK is absent and
41745 DEFAULT_STACK_PERMS doesn't include PF_X.
41746
451f001b
UD
417472011-01-13 Ulrich Drepper <drepper@gmail.com>
41748
cfa28e56
UD
41749 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41750 in child fails because the descriptor is already closed.
8cf8ce17
UD
41751 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41752 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41753 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41754
1086d70d
UD
41755 [BZ #12397]
41756 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41757 syscall.
41758
451f001b
UD
41759 [BZ #10484]
41760 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41761 temporary buffer used to handle multi lookups locally.
a85b5cb4 41762 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41763
08769175
UD
417642011-01-12 Ulrich Drepper <drepper@gmail.com>
41765
41766 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41767 loader is ld.so.
41768
5e49c52e
UD
417692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41770
41771 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41772 alignment for SSE2.
41773
60522a5f
UD
417742011-01-12 Ulrich Drepper <drepper@gmail.com>
41775
41776 [BZ #12394]
41777 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41778 characters. When rounding increased number of integer digits recompute
41779 number of groups.
41780 * stdio-common/tst-grouping.c: New file.
41781 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41782
f257bbd7
UD
417832011-01-09 Ulrich Drepper <drepper@gmail.com>
41784
41785 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41786 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41787
41788 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41789 void.
41790 * bits/select.h: Likewise.
41791
fa9c15cb
UD
417922011-01-08 Ulrich Drepper <drepper@gmail.com>
41793
41794 * po/ja.po: Update from translation team.
41795
16c2895f
DM
417962011-01-04 David S. Miller <davem@sunset.davemloft.net>
41797
41798 [BZ #11155]
41799 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41800 implementation just like for lxstat, fxstatat, et al.
41801
2543fef2
JM
418022010-12-27 Jim Meyering <meyering@redhat.com>
41803
41804 [BZ #12348]
41805 * posix/regexec.c (build_trtable): Return failure indication upon
41806 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41807
98727dbe
UD
418082010-12-25 Ulrich Drepper <drepper@gmail.com>
41809
5bd6dc5c
UD
41810 [BZ #12201]
41811 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41812 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41813 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41814 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41815
97983464
UD
41816 [BZ #12207]
41817 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41818
98727dbe
UD
41819 [BZ #12204]
41820 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41821 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41822
4a531bb0
L
418232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41824
41825 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41826 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41827 script has SORT_BY_INIT_PRIORITY.
41828 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41829 NO_CTORS_DTORS_SECTIONS is defined.
41830 * elf/soinit.c: Likewise.
41831 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41832 NO_CTORS_DTORS_SECTIONS is defined.
41833 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41834 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41835 * sysdeps/sh/init-first.c: Likewise.
41836 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41837
07eb4b71
UD
418382010-12-24 Ulrich Drepper <drepper@gmail.com>
41839
41840 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41841 always use the slow path.
41842
30950a5f
RA
418432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41844
41845 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41846 similar rule which adds the sysdep directories to the header search in
41847 order to pick up the correct platform stackinfo.h.
41848 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41849 perform test if it is, otherwise return successfully without testing.
41850 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41851 DEFAULT_STACK_PERMS define in stackinfo.h.
41852 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41853 defined in stackinfo.h.
41854 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41855 DEFAULT_STACK_PERMS defined in stackinfo.h.
41856 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41857 * sysdeps/ia64/stackinfo.h: Likewise.
41858 * sysdeps/s390/stackinfo.h: Likewise.
41859 * sysdeps/sh/stackinfo.h: Likewise.
41860 * sysdeps/sparc/stackinfo.h: Likewise.
41861 * sysdeps/x86_64/stackinfo.h: Likewise.
41862 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41863 PF_X for powerpc64. Retain PF_X for powerpc32.
41864
db753e2c
UD
418652010-12-19 Ulrich Drepper <drepper@gmail.com>
41866
14b697f7
UD
41867 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41868 accurately.
db753e2c
UD
41869 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41870 GETDENTS_64BIT_ALIGNED.
41871
28300719
UD
418722010-12-14 Ulrich Drepper <dreper@gmail.com>
41873
14b697f7 41874 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41875
4f197237
AS
418762010-12-10 Andreas Schwab <schwab@redhat.com>
41877
dbb0472f
AS
41878 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41879 _GNU_SOURCE.
41880
4f197237
AS
41881 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41882 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41883 Remove __restrict.
41884 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41885 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41886
fb88ac72
UD
418872010-12-09 Ulrich Drepper <drepper@gmail.com>
41888
41889 [BZ #11655]
41890 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41891 are initialized.
41892
42acbb92
JJ
418932010-12-09 Jakub Jelinek <jakub@redhat.com>
41894
41895 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41896
c038d98d
UD
418972010-12-03 Ulrich Drepper <drepper@gmail.com>
41898
41899 * po/it.po: Update from translation team.
41900
3a4a2499
L
419012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41902
41903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41904 unused codes.
41905
1e24cf6e
UD
419062010-11-30 Ulrich Drepper <drepper@gmail.com>
41907
41908 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41909
a7690819
AS
419102010-11-24 Andreas Schwab <schwab@redhat.com>
41911
41912 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41913 specially.
41914 (gaih_getanswer_slice): Likewise.
41915
3bf8d1b1
JJ
419162010-10-20 Jakub Jelinek <jakub@redhat.com>
41917
41918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41919
6db52fbb
PB
419202010-05-31 Petr Baudis <pasky@suse.cz>
41921
41922 [BZ #11149]
41923 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41924 silently even in the chroot mode.
41925
eaca7569
UD
419262010-11-22 Ulrich Drepper <drepper@gmail.com>
41927
41928 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41929 last patch a bit. Pretty printing
41930
3056dcdb
UD
419312010-05-31 Petr Baudis <pasky@suse.cz>
41932
41933 [BZ #10085]
41934 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41935 initialization of skip_initgroups_dyn.
41936
cf7c9078
UD
419372010-11-19 Ulrich Drepper <drepper@gmail.com>
41938
41939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41941
a1fb5e3e
UD
419422010-11-16 Ulrich Drepper <drepper@gmail.com>
41943
41944 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41945
3540d66b
AS
419462010-11-11 Andreas Schwab <schwab@redhat.com>
41947
41948 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41949 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41950 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41951 ($(objpfx)tst-fnmatch-mem): New rule.
41952 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41953 * posix/tst-fnmatch.c (main): Call mtrace.
41954
13b69574
L
419552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41956
41957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41958 Support Intel processor model 6 and model 0x2c.
41959
da93d214
LM
419602010-11-10 Luis Machado <luisgpm@br.ibm.com>
41961
41962 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41963 signed comparison.
41964
8ca52c6e
L
419652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41966
41967 [BZ #12205]
41968 * string/test-strncasecmp.c (check_result): New function.
41969 (do_one_test): Use it.
41970 (check1): New function.
41971 (test_main): Use it.
41972 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41973 Support strcasecmp and strncasecmp.
41974
69da074d
UD
419752010-11-08 Ulrich Drepper <drepper@gmail.com>
41976
41977 [BZ #12194]
41978 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41980
ff02d528
L
419812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41982
41983 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41984 IFUNC support.
41985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41986 memset-x86-64.
41987 * sysdeps/x86_64/multiarch/bzero.S: New file.
41988 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41989 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41990 * sysdeps/x86_64/multiarch/memset.S: New file.
41991 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41993 Set bit_Prefer_SSE_for_memop for Intel processors.
41994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41995 Define.
41996 (index_Prefer_SSE_for_memop): Define.
41997 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41998
344d0b54
LM
419992010-11-04 Luis Machado <luisgpm@br.ibm.com>
42000
42001 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42002 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42003
c0dde15b
UD
420042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42005
42006 [BZ #12191]
42007 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42008 (__x86_64_raw_data_cache_size_half): Likewise.
42009 (__x86_64_raw_shared_cache_size): Likewise.
42010 (__x86_64_raw_shared_cache_size_half): Likewise.
42011
42012 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42013 (__x86_64_raw_data_cache_size_half): Likewise.
42014 (__x86_64_raw_shared_cache_size): Likewise.
42015 (__x86_64_raw_shared_cache_size_half): Likewise.
42016 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42017 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42018 and __x86_64_raw_shared_cache_size_half. Round
42019 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42020 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42021 to multiple of 256 bytes.
42022
0e516e0e
MS
420232010-11-03 Ulrich Drepper <drepper@gmail.com>
42024
42025 [BZ #12167]
42026 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42027 of inacessible symlinks. Verify result of symlink before returning it.
42028 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42029 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42030
0e012e87
ER
420312010-10-28 Erich Ritz <erichritz@gmail.com>
42032
42033 * math/math.h (isinf): Fix typo in comment.
42034
de0ff7bc
UD
420352010-11-01 Ulrich Drepper <drepper@gmail.com>
42036
42037 * po/da.po: Update from translation team.
42038
fa41c84d
UD
420392010-10-26 Ulrich Drepper <drepper@gmail.com>
42040
42041 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42042 is added to the list.
42043
f0967738
AK
420442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42045 Ulrich Drepper <drepper@gmail.com>
42046
42047 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42048 the global list here. Move code to...
42049 (_dl_add_to_namespace_list): ...here. New function.
42050 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42051 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42052 * elf/dl-load.c (lose): Don't remove the element from the list.
42053 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42054 (_dl_map_object): Likewise.
42055
420562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42057
42058 [BZ #12159]
42059 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42060 into all bytes of SSE register.
42061 Patch by Richard Li <richardpku@gmail.com>.
42062
f0967738 420632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42064
42065 [BZ #12140]
42066 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42067 perturbing.
42068
d0b9e94f
MB
420692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42070
42071 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42072 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42073 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42074 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42076 submachine.
42077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42078
8e9f92e9
AS
420792010-10-22 Andreas Schwab <schwab@redhat.com>
42080
42081 * include/dlfcn.h (__RTLD_SECURE): Define.
42082 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42083 mode & __RTLD_SECURE instead.
42084 (open_path): Rename preloaded parameter to secure.
42085 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42086 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42087 * elf/dl-deps.c (openaux): Likewise.
42088 * elf/rtld.c (struct map_args): Remove is_preloaded.
42089 (map_doit): Don't use it.
42090 (dl_main): Likewise.
42091 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42092 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42093
bc96fbda
AS
420942010-09-09 Andreas Schwab <schwab@redhat.com>
42095
42096 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42097 (sysd-rules-targets): Remove duplicates.
42098 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42099 rtld-%.$o dependency.
42100
22cd1c9b
AS
421012010-10-18 Andreas Schwab <schwab@redhat.com>
42102
42103 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42104 _dl_map_object do it.
42105
18edac48
UD
421062010-10-19 Ulrich Drepper <drepper@gmail.com>
42107
42108 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42109 fast fma builtins, define the macros in the C99 standard.
42110 (FP_FAST_FMAF): Likewise.
42111 (FP_FAST_FMAL): Likewise.
42112 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42113
42114 * bits/mathdef.h: Update copyright year.
42115 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42116
d2050124
MM
421172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42118
42119 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42120 builtins, define the macros in the C99 standard.
42121 (FP_FAST_FMAF): Likewise.
42122 (FP_FAST_FMAL): Likewise.
42123 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42124 multiply/add.
42125 (FP_FAST_FMAF): Likewise.
42126
475facd1
JJ
421272010-10-15 Jakub Jelinek <jakub@redhat.com>
42128
42129 [BZ #3268]
42130 * math/libm-test.inc (fma_test): Some new testcases.
42131 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42132 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42133 y and infinite z. Do multiplication by C already in long double.
42134 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42136 y and infinite z. Do bitwise or of inexact bit into u.d.
42137 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42138 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42139 * sysdeps/i386/fpu/s_fma.S: Removed.
42140 * sysdeps/i386/fpu/s_fmal.S: Removed.
42141
7c08a05c
JJ
421422010-10-16 Jakub Jelinek <jakub@redhat.com>
42143
42144 [BZ #3268]
42145 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42146 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42147 computation is not scheduled after fetestexcept. Fix value
42148 of minimum denormal long double.
42149
f3f7372d
JJ
421502010-10-14 Jakub Jelinek <jakub@redhat.com>
42151
42152 [BZ #3268]
42153 * math/libm-test.inc (fma_test): Add some more tests.
42154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42155 correctly.
42156
14d43591
AS
421572010-10-15 Andreas Schwab <schwab@redhat.com>
42158
42159 * scripts/data/localplt-s390-linux-gnu.data: New file.
42160 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42161
5e908464
JJ
421622010-10-13 Jakub Jelinek <jakub@redhat.com>
42163
42164 [BZ #3268]
42165 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42166 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42167 instead of dbl-64.
42168 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42169 inlines.
42170 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42172 if one of x and y is very large and the other is subnormal.
42173 * sysdeps/s390/fpu/s_fmaf.c: New file.
42174 * sysdeps/s390/fpu/s_fma.c: New file.
42175 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42176 * sysdeps/powerpc/fpu/s_fma.S: New file.
42177 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42178 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42179 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42180
421812010-10-12 Jakub Jelinek <jakub@redhat.com>
42182
42183 [BZ #3268]
42184 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42185 fma tests.
42186 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42187 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42188 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42189 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42190 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42191 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42192 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42193
b833d51f
UD
421942010-10-12 Ulrich Drepper <drepper@redhat.com>
42195
42196 [BZ #12078]
42197 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42198 * posix/bug-regex31.input: Add test case.
42199
1751705d
UD
422002010-10-11 Ulrich Drepper <drepper@gmail.com>
42201
e9b9cbf5
UD
42202 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42203 * posix/bug-regex31.input: New file.
42204
42205 [BZ #12078]
42206 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42207 (parse_sub_exp): Fix last change, use postorder.
42208
ef06edbe
UD
42209 * posix/bug-regex31.c: New file.
42210 * posix/Makefile: Add rules to build and run bug-regex31.
42211
a129c80d
UD
42212 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42213
42214 [BZ #12078]
42215 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42216
b76b818e
UD
42217 [BZ #12108]
42218 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42219 to have entries in sys_siglist.
42220
1751705d
UD
42221 [BZ #12093]
42222 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42223 be NULL.
42224
9ff8d36f
JJ
422252010-10-07 Jakub Jelinek <jakub@redhat.com>
42226
42227 [BZ #3268]
42228 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42229 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42230 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42231 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42232 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42233 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42234 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42235 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42236 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42237 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42238 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42239 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42240 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42241 * math/ftestexcept.c (fetestexcept): Likewise.
42242 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42243 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42244 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42245 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42246 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42247 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42248 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42249
af325969
UD
422502010-10-11 Ulrich Drepper <drepper@gmail.com>
42251
c579b202 42252 [BZ #12107]
af325969
UD
42253 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42254 newline.
42255
67a67b95
UD
422562010-10-06 Ulrich Drepper <drepper@gmail.com>
42257
42258 * string/bug-strstr1.c: New file.
42259 * string/Makefile: Add rules to build and run bug-strstr1.
42260
5fb308bc
EB
422612010-10-05 Eric Blake <eblake@redhat.com>
42262
42263 [BZ #12092]
42264 * string/str-two-way.h (two_way_long_needle): Always clear memory
42265 when skipping input due to the shift table.
42266
45db99c7
UD
422672010-10-03 Ulrich Drepper <drepper@gmail.com>
42268
3b111893
UD
42269 [BZ #12005]
42270 * malloc/mcheck.c: Handle large requests.
42271
45db99c7
UD
42272 [BZ #12077]
42273 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42274 for strncmp and strncasecmp.
42275 * string/stratcliff.c: Add tests for strcmp and strncmp.
42276 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42277
cf7a1eb8
NI
422782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42279
42280 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42281 __set_fpscr.
42282
6484ba5e
AJ
422832010-09-30 Andreas Jaeger <aj@suse.de>
42284
42285 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42286 (CGROUP_SUPER_MAGIC): Define.
42287 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42288 Handle btrfs and cgroup file systems.
42289 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42290 Likewise.
42291
91c42559
LM
422922010-09-27 Luis Machado <luisgpm@br.ibm.com>
42293
42294 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42295 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42296
87a97932
AK
422972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42298
42299 [BZ #12067]
42300 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42301 trying to locate the ELF header.
42302
c21cc9bc
AS
423032010-09-27 Andreas Schwab <schwab@redhat.com>
42304
42305 [BZ #11611]
42306 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42307 Mask out sign-bit copies when constructing f_fsid.
42308
315970f6
PB
423092010-09-24 Petr Baudis <pasky@suse.cz>
42310
42311 * debug/stack_chk_fail_local.c: Add missing licence exception.
42312 * debug/warning-nop.c: Likewise.
42313
1ac7a2c7
JM
423142010-09-15 Joseph Myers <joseph@codesourcery.com>
42315
42316 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42317 implementing getdents64 using getdents syscall, set d_type if
42318 __ASSUME_GETDENTS32_D_TYPE.
42319
56801c50
AS
423202010-09-16 Andreas Schwab <schwab@redhat.com>
42321
42322 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42323 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42324
dda51327
UD
423252010-09-21 Ulrich Drepper <drepper@redhat.com>
42326
42327 [BZ #12037]
42328 * posix/unistd.h: Undo change of feature selection for ftruncate from
42329 2010-01-11.
42330
8ffcee4a
UD
423312010-09-20 Ulrich Drepper <drepper@redhat.com>
42332
a545ecd9 42333 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42334 detection.
42335
e24f0a8b
AS
423362010-09-20 Andreas Schwab <schwab@redhat.com>
42337
42338 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42339 fanotify_mark.
42340 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42341
7291c56f
AS
423422010-09-14 Andreas Schwab <schwab@redhat.com>
42343
42344 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42345 variables after CHECK_SP call.
42346 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42347
bc5fb037
AS
423482010-09-13 Andreas Schwab <schwab@redhat.com>
42349 Ulrich Drepper <drepper@redhat.com>
42350
42351 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42352 re-relocationg ld.so.
42353 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42354 _dl_init_paths call.
42355 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42356 here anymore.
42357
e66e7419
UD
423582010-09-14 Ulrich Drepper <drepper@redhat.com>
42359
42360 * resolv/res_init.c (__res_vinit): Count the default server we added.
42361
c044aa75
CLT
423622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42363 Ulrich Drepper <drepper@redhat.com>
42364
42365 [BZ #11968]
42366 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42367 (____longjmp_chk): Use %ebx for saving value across system call.
42368 Add unwind info.
42369
32cf4069
AS
423702010-09-06 Andreas Schwab <schwab@redhat.com>
42371
42372 * manual/Makefile: Don't mix pattern rules with normal rules.
42373
817328ee
AS
423742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42375
42376 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42377 operation.
42378 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42379 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42380 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42381 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42383 Likewise.
42384
29fddf61
UD
423852010-09-04 Ulrich Drepper <drepper@redhat.com>
42386
42387 [BZ #11979]
42388 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42389 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42390
0959ffc9
UD
423912010-09-02 Ulrich Drepper <drepper@redhat.com>
42392
42393 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42394 * sysdeps/x86_64/addmul_1.S: Likewise.
42395 * sysdeps/x86_64/lshift.S: Likewise.
42396 * sysdeps/x86_64/mul_1.S: Likewise.
42397 * sysdeps/x86_64/rshift.S: Likewise.
42398 * sysdeps/x86_64/sub_n.S: Likewise.
42399 * sysdeps/x86_64/submul_1.S: Likewise.
42400
ece29840
ST
424012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42402
0959ffc9
UD
42403 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42404 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42405 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42406 * bits/sched.h [__need_schedparam]
ece29840 42407 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42408 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42409 (__defined_schedparam): Define to 1.
ece29840
ST
42410 (__sched_param): New structure, identical to sched_param.
42411 (__need_schedparam): Undefine.
42412
e53a31fe
MF
424132010-08-31 Mike Frysinger <vapier@gentoo.org>
42414
fdc0c10d
MF
42415 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42416 (epoll_create1): Declare.
42417
e53a31fe
MF
42418 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42419
a726d796
AS
424202010-08-31 Andreas Schwab <schwab@redhat.com>
42421
42422 [BZ #7066]
42423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42424 shifting retval into place.
42425
2f3e3dc7
UD
424262010-09-01 Ulrich Drepper <drepper@redhat.com>
42427
f2933da9
UD
42428 * nis/rpcsvc/nis.h: Update copyright notice.
42429 * nis/rpcsvc/nis.x: Likewise.
42430 * nis/rpcsvc/nis_callback.h: Likewise.
42431 * nis/rpcsvc/nis_callback.x: Likewise.
42432 * nis/rpcsvc/nis_object.x: Likewise.
42433 * nis/rpcsvc/nis_tags.h: Likewise.
42434 * nis/rpcsvc/yp.h: Likewise.
42435 * nis/rpcsvc/yp.x: Likewise.
42436 * nis/rpcsvc/ypupd.h: Likewise.
42437 * nis/yp_xdr.c: Likewise.
42438 * nis/ypupdate_xdr.c: Likewise.
42439
2f3e3dc7
UD
42440 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42441 mainly the body of pmap_getport. Add parameters to specify timeouts.
42442 (pmap_getport): Use __libc_rpc_getport.
42443 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42444 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42445 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42446
f3dcc2f9
AS
424472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42448
42449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42450 fanotify_mark.
42451
6d34eb5b
RM
424522010-08-27 Roland McGrath <roland@redhat.com>
42453
42454 * sysdeps/i386/i686/multiarch/Makefile
42455 (CFLAGS-varshift.c): New variable.
42456
9ea3de11
UD
424572010-08-27 Ulrich Drepper <drepper@redhat.com>
42458
c96d23fc
UD
42459 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42460 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42461
9ea3de11
UD
42462 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42463
42464 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42465
623aac7f
L
424662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42467
42468 * sysdeps/x86_64/strlen.S: Unroll the loop.
42469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42470 strlen-sse2 strlen-sse2-bsf.
42471 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42472 __strlen_no_bsf if bit_Slow_BSF is set.
42473 (__strlen_sse42): Removed.
42474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42475 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42476
8b2b7715
RM
424772010-08-25 Roland McGrath <roland@redhat.com>
42478
42479 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42480 * sysdeps/x86_64/multiarch/varshift.c: New file.
42481 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42482 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42483 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42484 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42485
e73015f2
L
424862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42487
42488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42489 strlen-sse2 strlen-sse2-bsf.
42490 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42491 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42492 (__strlen_sse2): Removed.
42493 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42496 bit_Slow_BSF for Atom.
42497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42498 (index_Slow_BSF): Define.
42499 (HAS_SLOW_BSF): Define.
42500
df24a73e
UD
425012010-08-25 Ulrich Drepper <drepper@redhat.com>
42502
42503 [BZ #10851]
42504 * resolv/res_init.c (__res_vinit): When no server address at all
42505 is given default to loopback.
42506
f2ac4868
RM
425072010-08-24 Roland McGrath <roland@redhat.com>
42508
09055553
RM
42509 * configure.in: Remove config-name.h generation.
42510 * configure: Regenerated.
42511 * config-name.in: File removed.
42512 * scripts/config-uname.sh: New file.
42513 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42514 ($(objdir)config-name.h): New target.
42515
f2ac4868
RM
42516 * sunrpc/rpc_parse.h: Avoid nested comment.
42517
73f27d5e
RH
425182010-08-24 Richard Henderson <rth@redhat.com>
42519 Ulrich Drepper <drepper@redhat.com>
42520 H.J. Lu <hongjiu.lu@intel.com>
42521
42522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42524 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42525 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42526 _mm_alignr_epi8 with _mm_loadu_si128.
42527 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42528 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42529 (__m128i_shift_right): Removed.
42530 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42531 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42532 * sysdeps/x86_64/multiarch/varshift.h: New file.
42533 * sysdeps/x86_64/multiarch/varshift.S: New file.
42534
84b9230c
MF
425352010-08-21 Mike Frysinger <vapier@gentoo.org>
42536
42537 * configure.in: Move assembler checks to before sysdep dir checking.
42538
9bbd0ddc
PB
425392010-08-20 Petr Baudis <pasky@suse.cz>
42540
42541 * LICENSES: Sync the sunrpc license.
42542
9da4bb31
UD
425432010-08-19 Ulrich Drepper <drepper@redhat.com>
42544
a7ab6ec8
UD
42545 * sunrpc/auth_des.c: Update copyright notice once again.
42546 * sunrpc/auth_none.c: Likewise.
42547 * sunrpc/auth_unix.c: Likewise.
42548 * sunrpc/authdes_prot.c: Likewise.
42549 * sunrpc/authuxprot.c: Likewise.
42550 * sunrpc/bindrsvprt.c: Likewise.
42551 * sunrpc/clnt_gen.c: Likewise.
42552 * sunrpc/clnt_perr.c: Likewise.
42553 * sunrpc/clnt_raw.c: Likewise.
42554 * sunrpc/clnt_simp.c: Likewise.
42555 * sunrpc/clnt_tcp.c: Likewise.
42556 * sunrpc/clnt_udp.c: Likewise.
42557 * sunrpc/clnt_unix.c: Likewise.
42558 * sunrpc/des_crypt.c: Likewise.
42559 * sunrpc/des_soft.c: Likewise.
42560 * sunrpc/get_myaddr.c: Likewise.
42561 * sunrpc/getrpcport.c: Likewise.
42562 * sunrpc/key_call.c: Likewise.
42563 * sunrpc/key_prot.c: Likewise.
42564 * sunrpc/openchild.c: Likewise.
42565 * sunrpc/pm_getmaps.c: Likewise.
42566 * sunrpc/pm_getport.c: Likewise.
42567 * sunrpc/pmap_clnt.c: Likewise.
42568 * sunrpc/pmap_prot.c: Likewise.
42569 * sunrpc/pmap_prot2.c: Likewise.
42570 * sunrpc/pmap_rmt.c: Likewise.
42571 * sunrpc/rpc/auth.h: Likewise.
42572 * sunrpc/rpc/auth_unix.h: Likewise.
42573 * sunrpc/rpc/clnt.h: Likewise.
42574 * sunrpc/rpc/des_crypt.h: Likewise.
42575 * sunrpc/rpc/key_prot.h: Likewise.
42576 * sunrpc/rpc/netdb.h: Likewise.
42577 * sunrpc/rpc/pmap_clnt.h: Likewise.
42578 * sunrpc/rpc/pmap_prot.h: Likewise.
42579 * sunrpc/rpc/pmap_rmt.h: Likewise.
42580 * sunrpc/rpc/rpc.h: Likewise.
42581 * sunrpc/rpc/rpc_des.h: Likewise.
42582 * sunrpc/rpc/rpc_msg.h: Likewise.
42583 * sunrpc/rpc/svc.h: Likewise.
42584 * sunrpc/rpc/svc_auth.h: Likewise.
42585 * sunrpc/rpc/types.h: Likewise.
42586 * sunrpc/rpc/xdr.h: Likewise.
42587 * sunrpc/rpc_clntout.c: Likewise.
42588 * sunrpc/rpc_cmsg.c: Likewise.
42589 * sunrpc/rpc_common.c: Likewise.
42590 * sunrpc/rpc_cout.c: Likewise.
42591 * sunrpc/rpc_dtable.c: Likewise.
42592 * sunrpc/rpc_hout.c: Likewise.
42593 * sunrpc/rpc_main.c: Likewise.
42594 * sunrpc/rpc_parse.c: Likewise.
42595 * sunrpc/rpc_parse.h: Likewise.
42596 * sunrpc/rpc_prot.c: Likewise.
42597 * sunrpc/rpc_sample.c: Likewise.
42598 * sunrpc/rpc_scan.c: Likewise.
42599 * sunrpc/rpc_scan.h: Likewise.
42600 * sunrpc/rpc_svcout.c: Likewise.
42601 * sunrpc/rpc_tblout.c: Likewise.
42602 * sunrpc/rpc_util.c: Likewise.
42603 * sunrpc/rpc_util.h: Likewise.
42604 * sunrpc/rpcinfo.c: Likewise.
42605 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42606 * sunrpc/rpcsvc/key_prot.x: Likewise.
42607 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42608 * sunrpc/rpcsvc/mount.x: Likewise.
42609 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42610 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42611 * sunrpc/rpcsvc/rex.x: Likewise.
42612 * sunrpc/rpcsvc/rstat.x: Likewise.
42613 * sunrpc/rpcsvc/rusers.x: Likewise.
42614 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42615 * sunrpc/rpcsvc/spray.x: Likewise.
42616 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42617 * sunrpc/rtime.c: Likewise.
42618 * sunrpc/svc.c: Likewise.
42619 * sunrpc/svc_auth.c: Likewise.
42620 * sunrpc/svc_authux.c: Likewise.
42621 * sunrpc/svc_raw.c: Likewise.
42622 * sunrpc/svc_run.c: Likewise.
42623 * sunrpc/svc_simple.c: Likewise.
42624 * sunrpc/svc_tcp.c: Likewise.
42625 * sunrpc/svc_udp.c: Likewise.
42626 * sunrpc/svc_unix.c: Likewise.
42627 * sunrpc/svcauth_des.c: Likewise.
42628 * sunrpc/xcrypt.c: Likewise.
42629 * sunrpc/xdr.c: Likewise.
42630 * sunrpc/xdr_array.c: Likewise.
42631 * sunrpc/xdr_float.c: Likewise.
42632 * sunrpc/xdr_mem.c: Likewise.
42633 * sunrpc/xdr_rec.c: Likewise.
42634 * sunrpc/xdr_ref.c: Likewise.
42635 * sunrpc/xdr_sizeof.c: Likewise.
42636 * sunrpc/xdr_stdio.c: Likewise.
42637
9da4bb31
UD
42638 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42639 handling.
42640
bdaa77bc
AS
426412010-08-19 Andreas Schwab <schwab@redhat.com>
42642
42643 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42644
fe2f79db
LM
426452010-08-19 Luis Machado <luisgpm@br.ibm.com>
42646
42647 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42648 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42649 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42650 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42651 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42652 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42653 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42654 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42655 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42656 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42657 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42658 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42659 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42660 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42661
b9b42ee0
AB
426622010-07-26 Anton Blanchard <anton@samba.org>
42663
42664 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42665 * malloc/arena.c (heap_trim): Likewise.
42666
1c06ba31
UD
426672010-08-16 Ulrich Drepper <drepper@redhat.com>
42668
42669 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42670 here. Not...
42671 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42672 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42673
f8392f40
L
426742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42675
42676 * sysdeps/i386/elf/Makefile: New file.
42677
3162f12e
AS
426782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42679
42680 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42681 from fanotify_init.
42682 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42684
28c90b2c
UD
426852010-08-15 Ulrich Drepper <drepper@redhat.com>
42686
42687 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42688 of strncasecmp_l.
1feccb6c 42689 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42690
ca6bb004
UD
426912010-08-14 Ulrich Drepper <drepper@redhat.com>
42692
e9f82e0d
UD
42693 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42694 strncase_l-nonascii.
42695 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42696 Add strncase_l-ssse3.
42697 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42698 * sysdeps/x86_64/strcmp.S: Likewise.
42699 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42700 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42701 * sysdeps/x86_64/strncase.S: New file.
42702 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42703 * sysdeps/x86_64/strncase_l.S: New file.
42704 * string/Makefile (strop-tests): Add strncasecmp.
42705 * string/test-strncasecmp.c: New file.
42706
42707 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42708 warning.
42709
ca6bb004
UD
42710 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42711 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42712
052fa7b3
AS
427132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42714
42715 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42716
962dba78
UD
427172010-08-12 Ulrich Drepper <drepper@redhat.com>
42718
42719 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42720 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42721 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42722
bebff237
AM
427232010-05-01 Alan Modra <amodra@gmail.com>
42724
42725 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42726 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42727 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42728 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42729 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42730 tidying. Don't tail-call __sigjmp_save for static lib.
42731 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42732 save location.
42733 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42734 (CALL_MCOUNT): Add eh info, and nop after bl.
42735 (TAIL_CALL_SYSCALL_ERROR): New macro.
42736 (PSEUDO_RET): Use it.
42737 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42738 Correct save location of integer regs and cr.
42739 (_dl_profile_resolve): Correct cr save location. Delete nops
42740 after bl when SHARED. Reduce cfi size a little by better
42741 placement of cfi directives.
42742 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42743 make a stack frame. Instead use parm save area as a temp.
42744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42745 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42747 Don't make a stack frame for parent, use parm save area.
42748 Increase child stack frame to 112 bytes. Don't save unused reg,
42749 and adjust reg usage. Set up cfi on error recovery and
42750 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42752 (__makecontext): Add dummy nop after jump to exit.
42753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42754 Use correct parm save area and cr save, reduce stack frame.
42755 Correct cfi for possible PSEUDO_RET frame setup.
42756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42757 Branch to local label emitted by PSEUDO_RET rather than
42758 __syscall_error.
42759
02637374
AS
427602010-08-12 Andreas Schwab <schwab@redhat.com>
42761
42762 [BZ #11904]
42763 * locale/programs/locale.c (print_assignment): New function.
42764 (show_locale_vars): Use it.
42765
c3e2f19b
UD
427662010-08-11 Ulrich Drepper <drepper@redhat.com>
42767
3cdaa6ad
UD
42768 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42769 field.
42770 (struct statfs64): Likewise.
42771 (_STATFS_F_FLAGS): Define.
42772 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42773 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42774 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42775 (ST_VALID): Define locally.
42776 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42777 __statvfs_getflags, use the provided value.
42778 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42779 __ASSUME_STATFS_F_FLAGS.
42780
754f7da3
UD
42781 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42782
10b3bedc
UD
42783 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42784 Add sys/fanotify.h.
42785 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42786 fanotify_mask for GLIBC_2.13.
42787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42788 fanotify_init and fanotify_mark.
42789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42790 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42791
c08fb0d7
UD
42792 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42793 Add prlimit.
42794 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42795 prlimit64 for GLIBC_2.13.
42796 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42797 prlimit64.
42798 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42799 syscall.
42800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42801 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42802 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42803 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42805 add prlimit alias.
42806 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42807
15bac72b
UD
42808 [BZ #11903]
42809 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42810 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42811
c3e2f19b
UD
42812 * nss/Makefile: Add rules to build and run tst-nss-test1.
42813 * shlib-versions: Add entry for libnss_test1.
42814 * nss/nss_test1.c: New file.
42815 * nss/tst-nss-test1.c: New file.
42816
42817 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42818 (__nss_configure_lookup): Set appropriate entry in
42819 __nss_configure_lookup to true.
42820 * nss/nsswitch.h: Define enum with indeces of databases in
42821 databases and __nss_database_custom arrays. Declare
42822 __nss_database_custom.
42823 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42824 to avoid using nscd when custom rules are installed.
42825 * nss/getXXbyYY_r.c: Likewise.
42826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42827
42828 * nss/nss_files/files-parse.c: Whitespace fixes.
42829
f15ce4d8
UD
428302010-08-09 Ulrich Drepper <drepper@redhat.com>
42831
42832 [BZ #11883]
42833 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42834 * posix/fnmatch_loop.c: Likewise.
42835
d22e4cc9
AK
428362010-07-17 Andi Kleen <ak@linux.intel.com>
42837
42838 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42839 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42840 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42841 * Versions.def [GLIBC_2.13]: Add.
42842
805bc17d
UD
428432010-08-06 Ulrich Drepper <drepper@redhat.com>
42844
42845 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42846 Also fail if tpwd after pwuid call is NULL.
42847
5a42321d
ST
428482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42849
42850 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42851 when converting to ms.
42852
fd3ebeda
ST
428532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42854
42855 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42856 EOPNOTSUPP errors with ENOTTY.
42857 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42858 EOPNOTSUPP errors with ENOTTY.
42859
73507d3a
UD
428602010-07-31 Ulrich Drepper <drepper@redhat.com>
42861
42862 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42863 Add strcasecmp_l-ssse3.
42864 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42865 strcasecmp.
42866 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42867 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42868 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42869
fe36dd02
UD
428702010-07-30 Ulrich Drepper <drepper@redhat.com>
42871
66f6765a
UD
42872 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42873
42e08a54
UD
42874 * string/Makefile (strop-tests): Add strcasecmp.
42875 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42876 strcasecmp_l-nonascii.
42877 (gen-as-const-headers): Add locale-defines.sym.
42878 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42879 * sysdeps/x86_64/strcasecmp.S: New file.
42880 * sysdeps/x86_64/strcasecmp_l.S: New file.
42881 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42882 * sysdeps/x86_64/locale-defines.sym: New file.
42883 * string/test-strcasecmp.c: New file.
42884
fe36dd02
UD
42885 * string/test-strcasestr.c: Test both ends of the range of characters.
42886 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42887
48cbc0d6
RM
428882010-07-29 Roland McGrath <roland@redhat.com>
42889
76e6d6bc 42890 [BZ #11856]
48cbc0d6
RM
42891 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42892
880113d9
UD
428932010-07-27 Ulrich Drepper <drepper@redhat.com>
42894
42895 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42896 for ld.so.
42897
deb9cabb
AS
428982010-07-27 Andreas Schwab <schwab@redhat.com>
42899
42900 * manual/memory.texi (Malloc Tunable Parameters): Document
42901 M_PERTURB.
42902
1c7570ff
RM
429032010-07-26 Roland McGrath <roland@redhat.com>
42904
42905 [BZ #11840]
42906 * configure.in (-fgnu89-inline check): Set and substitute
42907 gnu89_inline, not libc_cv_gnu89_inline.
42908 * configure: Regenerated.
42909 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42910
24fb0f88
UD
429112010-07-26 Ulrich Drepper <drepper@redhat.com>
42912
42913 * string/test-strnlen.c: New file.
42914 * string/Makefile (strop-tests): Add strnlen.
42915 * string/tester.c (test_strnlen): Add a few more test cases.
42916 * string/tst-strlen.c: Better error reporting.
42917
42918 * sysdeps/x86_64/strnlen.S: New file.
42919
8e96b93a
UD
429202010-07-24 Ulrich Drepper <drepper@redhat.com>
42921
42922 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42923 lower-latency instructions.
42924
dbc676d4
UD
429252010-07-23 Ulrich Drepper <drepper@redhat.com>
42926
42927 * string/test-strcasestr.c: New file.
42928 * string/test-strstr.c: New file.
42929 * string/Makefile (strop-tests): Add strstr and strcasestr.
42930 * string/str-two-way.h: Don't undefine MAX.
42931 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42932
f6a31e0e
AS
429332010-07-21 Andreas Schwab <schwab@redhat.com>
42934
42935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42936 strcasestr-nonascii.
42937 (CFLAGS-strcasestr-nonascii.c): Define.
42938 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42939 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42940 Remove unused attribute.
42941
5dbc3b6c
RM
429422010-07-20 Roland McGrath <roland@redhat.com>
42943
42944 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42945 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42946 ld.so.cache was broken. With it, there is no way to disable dsocaps
42947 like LD_HWCAP_MASK can disable hwcaps.
42948
23d101d8
EPM
429492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42950
42951 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42952
cc9f2e47
UD
429532010-07-16 Ulrich Drepper <drepper@redhat.com>
42954
42955 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42956 call in strcasestr.
42957 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42958 __strcasestr_sse42_nonascii.
42959 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42960 strcasestr-nonascii.c.
42961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42962
77c1b069
LM
429632010-06-15 Luis Machado <luisgpm@br.ibm.com>
42964
42965 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42966 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42967 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42968 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42969
440566c3
UD
429702010-07-09 Ulrich Drepper <drepper@redhat.com>
42971
42972 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42973 fcntl.
42974
5be9d05d
AS
429752010-07-06 Andreas Schwab <schwab@redhat.com>
42976
c30b7ee2 42977 [BZ #11577]
5be9d05d
AS
42978 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42979 dl_signal_cerror.
42980
8a492a67
UD
429812010-07-06 Ulrich Drepper <drepper@redhat.com>
42982
42983 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42984 _PC_PIPE_BUF using F_GETPIPE_SZ.
42985
713df3d5
RM
429862010-07-05 Roland McGrath <roland@redhat.com>
42987
42988 * manual/arith.texi (Rounding Functions): Fix rint description
42989 implicit in round description.
42990
702e8f14
UD
429912010-07-02 Ulrich Drepper <drepper@redhat.com>
42992
42993 * elf/Makefile: Fix linking for a few tests to make recent linker
42994 happy.
42995
52ed8be9
AS
429962010-06-30 Andreas Schwab <schwab@redhat.com>
42997
42998 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42999 $(common-objpfx)libc_nonshared.a.
43000
f47c9a11
LM
430012010-06-21 Luis Machado <luisgpm@br.ibm.com>
43002
43003 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43004 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43005 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43006 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43007 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43008 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43009 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43010 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43025 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43026 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43027 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43028 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43029 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43030 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43031 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43032 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43033 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43034 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43035 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43036 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43051
6fb8cbcb
L
430522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43053
43054 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43055 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43056 * string/memmove.c (memmove): Renamed to ...
43057 (MEMMOVE): ...this. Default to memmove.
43058 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43059 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43060 (END_CHK): Define.
43061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43062 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43063 mempcpy-ssse3-back memmove-ssse3-back.
43064 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43066 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43067 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43068 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43069 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43070 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43071 * sysdeps/x86_64/multiarch/memmove.c: New file.
43072 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43073 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43074 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43075 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43076 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43078 Define.
43079 (index_Fast_Copy_Backward): Define.
43080 (HAS_ARCH_FEATURE): Define.
43081 (HAS_FAST_REP_STRING): Define.
43082 (HAS_FAST_COPY_BACKWARD): Define.
43083
4e733bac 430842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43085
43086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43087 Restore proper fallback handling.
43088
63c4ed22
UD
430892010-06-19 Ulrich Drepper <drepper@redhat.com>
43090
ac2b484c
UD
43091 [BZ #11701]
43092 * posix/group_member.c (__group_member): Correct checking loop.
43093
63c4ed22
UD
43094 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43095 OOM in getpwuid_r correctly. Return error number when the caller
43096 should return, otherwise -1.
43097 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43098 call returning > 0 value.
43099 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43100
765ade4b
AS
431012010-06-07 Andreas Schwab <schwab@redhat.com>
43102
43103 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43104 libc_nonshared.a from targets in modules-names.
43105
80da2e09
KS
431062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43107
43108 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43109 requires it.
43110
158db122
LM
431112010-06-10 Luis Machado <luisgpm@br.ibm.com>
43112
43113 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43114 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43116 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43117
caa78cf8
AS
431182010-06-02 Andreas Schwab <schwab@redhat.com>
43119
43120 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43121
b2ef2c01
UD
431222010-06-14 Ulrich Drepper <drepper@redhat.com>
43123
43124 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43125 and F_GETPIPE_SZ.
43126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43127 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43131 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43132
fbd643b6
RM
431332010-06-14 Roland McGrath <roland@redhat.com>
43134
43135 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43136
f32f2869
JJ
431372010-06-07 Jakub Jelinek <jakub@redhat.com>
43138
43139 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43140 __REDIRECT followed by __THROW.
43141 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43142 * posix/getopt.h (getopt): Likewise.
43143
2a50c078
EPM
431442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43145
43146 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43147 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43148 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43149 in AT_FLAGS.
43150 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43151 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43152
eb5ad2eb
LM
431532010-05-28 Luis Machado <luisgpm@br.ibm.com>
43154
43155 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43156
3c88fe1e
L
431572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43158
43159 [BZ #11640]
43160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43161 Properly check family and model.
43162
d2f73151
TY
431632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43164
43165 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43166
ebd2e13d
LM
431672010-05-24 Luis Machado <luisgpm@br.ibm.com>
43168
43169 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43170
b32b8b45
UD
431712010-05-21 Ulrich Drepper <drepper@redhat.com>
43172
43173 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43174 symbol reference.
43175
9acbe24d
AS
431762010-05-19 Andreas Schwab <schwab@redhat.com>
43177
43178 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43179 symbol reference.
43180
f0ccf6ea
AS
431812010-05-21 Andreas Schwab <schwab@redhat.com>
43182
3d04ff3a
AS
43183 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43184 and internal_recvmmsg.
43185 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43186 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43187 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43188 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43189
f0ccf6ea
AS
43190 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43191 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43192 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43193
5b08ac57
AS
431942010-05-20 Andreas Schwab <schwab@redhat.com>
43195
43196 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43197
4828935d
LM
431982010-05-17 Luis Machado <luisgpm@br.ibm.com>
43199
43200 POWER7 optimizations.
43201 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43202 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43203
373d545e
UD
432042010-05-19 Ulrich Drepper <drepper@redhat.com>
43205
43206 * version.h: Update for 2.13 development version.
43207
21a2b1ae
AS
432082010-05-12 Andrew Stubbs <ams@codesourcery.com>
43209
43210 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43211 exceptions. Return 0.
43212
3f7dcb2b
RM
432132010-05-07 Roland McGrath <roland@redhat.com>
43214
43215 * elf/ldconfig.c (main): Add a const.
43216
5f24d53a 432172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43218
a160f8d8
UD
43219 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43220 (args_options): Add no-idn option.
43221 (ahosts_keys_int): Add idn_flags to ai_flags.
43222 (parse_option): Handle 'i' option to clear idn_flags.
43223
5f24d53a
UD
43224 * malloc/malloc.c (_int_free): Possible race in the most recently
43225 added check. Only act on the data if no current modification
43226 happened.
265bb1ce
UD
43227
43228See ChangeLog.17 for earlier changes.