]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Support _r_debug for static binaries.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f737dfd0
CD
12014-04-14 Carlos O'Donell <carlos@redhat.com>
2
3 [BZ #16831]
4 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5 _dl_debug_initialize.
6
0699f766
CD
72014-04-14 Carlos O'Donell <carlos@redhat.com>
8
9 * configure.ac: Remove SELinux header check.
10 * configure: Regenerate.
11 * nscd/selinux.c (perms): Array of const char* to permission names.
12 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13 default policy. Call string_to_security_class and string_to_av_perm to
14 translate strings. Enforce default policy and call avs_has_perm with
15 results of translated strings.
16
809bd45f
DM
172014-04-13 David S. Miller <davem@davemloft.net>
18
19 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20
89e691f2
AM
212014-04-12 Allan McRae <allan@archlinux.org>
22
23 [BZ #16838]
24 * manual/string.texi (Collation Functions): Fix qsort argument
25 order in example.
26 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27
9c9daaeb
CM
282014-04-11 Chris Metcalf <cmetcalf@tilera.com>
29
30 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31 Make the test a no-op if there are no exceptions defined.
32
95561fb9
PP
332014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
34
fe8d072c 35 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
36 enable-hardcoded-path-in-tests
37
970c602a
WN
382014-04-11 Will Newton <will.newton@linaro.org>
39
40 * benchtests/Makefile (extra-objs): Add json-lib.o.
41 (bench-func): Tidy up JSON output.
42 * benchtests/bench-skeleton.c: Include json-lib.h.
43 (main): Use JSON library functions to do output of
44 benchmark results.
45 * benchtests/bench-timing-type.c (main): Output the
46 timing type simply, leaving formatting to the user.
47 * benchtests/json-lib.c: New file.
48 * benchtests/json-lib.h: Likewise.
49
36875b06
TR
502014-04-11 Torvald Riegel <triegel@redhat.com>
51
52 [BZ #15215]
53 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
54 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
55 memory barriers. Add comments.
56 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
57 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
58 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
59 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
60 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
61 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
62
579db35a
SL
632014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
64
65 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
66 * sysdeps/s390/s390-64/configure.ac: ... this ...
67 * sysdeps/s390/configure.ac: ... to here.
68 * sysdeps/s390/s390-32/configure: Delete file.
69 * sysdeps/s390/s390-64/configure: Delete file.
70 * sysdeps/s390/configure: Regenerate.
71
c12e9f37
JAPH
722014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
73
74 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
75
439bda32
WN
762014-04-11 Will Newton <will.newton@linaro.org>
77
78 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
79 to zero if it is not defined elsewhere. (mtrim): Test
80 the value of MALLOC_DEBUG with #if rather than #ifdef.
81
6a5d6ea1
TR
822014-04-10 Torvald Riegel <triegel@redhat.com>
83
84 * benchtests/pthread_once-inputs: New file.
85 * benchtests/pthread_once-source.c: New file.
86 * benchtests/README: Update documentation.
87
a4c75cfd
IZ
882014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
89 H.J. Lu <hongjiu.lu@intel.com>
90
91 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
92 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
93 * sysdeps/x86_64/configure: Regenerated.
94 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
95 macro.
96 (REGISTER_SAVE_RAX): Likewise.
97 (REGISTER_SAVE_RCX): Likewise.
98 (REGISTER_SAVE_RDX): Likewise.
99 (REGISTER_SAVE_RSI): Likewise.
100 (REGISTER_SAVE_RDI): Likewise.
101 (REGISTER_SAVE_R8): Likewise.
102 (REGISTER_SAVE_R9): Likewise.
103 (REGISTER_SAVE_BND0): Likewise.
104 (REGISTER_SAVE_BND1): Likewise.
105 (REGISTER_SAVE_BND2): Likewise.
106 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
107 bound registers when calling _dl_fixup.
108
27822ce6
AZ
1092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
110
111 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
112 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
113 definition.
114 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
115 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
116 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
117 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
118 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
119 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
120 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
121
a88ddc90
PTB
1222014-04-09 Peter Brett <peter@peter-b.co.uk>
123
124 [BZ #15514]
125 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
126 pathconf(_PC_NAME_MAX).
127
01f8eac2
AZ
1282014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
129
130 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
131 Remove macro usage.
132 (__PTHREAD_SPINS): Move definition to ...
133 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
134 (__PTHREAD_SPINS): ... here.
135 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
136 (__PTHREAD_SPIN): Likewise.
137 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
138 (__PTHREAD_SPIN): Likewise.
139 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
140 (__PTHREAD_SPIN): Likewise.
141 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
142 (__PTHREAD_SPIN): Likewise.
143 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
144 (__PTHREAD_SPIN): Likewise.
145 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
146 (__PTHREAD_SPIN): Likewise.
147 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
148 (__PTHREAD_SPIN): Likewise.
149 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
150 (__PTHREAD_SPIN): Likewise.
151 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
152 (__PTHREAD_SPIN): Likewise.
153 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
154 (__PTHREAD_SPIN): Likewise.
155 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
156 (__PTHREAD_SPIN): Likewise.
157 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
158 (__PTHREAD_SPIN): Likewise.
159
de21c33c
AZ
1602014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161
162 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
163 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
164 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
165 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
166 imply folder.
167 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
168 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
169 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
170 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
171 correct imply path.
172 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
173 strlen symbol for non multi-arch builds.
174 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
175 missing hidden_def and weak_alias.
176
862c472e
CD
1772014-04-08 Carlos O'Donell <carlos@redhat.com>
178
179 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
180
8667f90e
WN
1812014-04-07 Will Newton <will.newton@linaro.org>
182
183 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
184 and contents. [!_LIBC] Remove #ifndef and contents.
185 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
186 * string/memccpy.c (__memccpy): Use ANSI prototype.
187 * string/memfrob.c (memfrob): Likewise.
188 * string/strcoll.c (STRCOLL): Likewise.
189 * string/strlen.c (strlen): Likewise.
190 * string/strtok.c (STRTOK): Likewise.
191 * string/strcat.c: Remove unused #include of memcopy.h.
192 (strcat): Use ANSI prototype.
193 * string/strchr.c: Remove unused #include of memcopy.h.
194 (strchr): Use ANSI prototype.
195 * string/strcmp.c: Remove unused #include of memcopy.h.
196 (strcmp): Use ANSI prototype.
197 * string/strcpy.c: Remove unused #include of memcopy.h.
198 (strcpy): Use ANSI prototype.
199
7ffa9423
AZ
2002014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201
202 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
203 * config.make.in (config-extra-cppflags): Set it from
204 libc_extra_cppflags.
205 * configure.ac (libc_extra_cflags): Make it accumulate over
206 configure fragments.
207 (libc_extra_cppflags): New flag.
208 * configure. Regenerate.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
210 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
211 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
213
8bd70862
AZ
2142014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
215
216 [BZ #16815]
217 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
218 result for FE_DOWNWARD rounding mode.
219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
220 Likewise.
221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
222
d42f3448
CM
2232014-04-04 Chris Metcalf <cmetcalf@tilera.com>
224
225 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
226 in function argument name.
227
1c21d115
DS
2282014-04-03 David Svoboda <svoboda@cert.org>
229
230 [BZ #5666]
231 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
232 explicitly.
233
fcccd512
RM
2342014-04-03 Roland McGrath <roland@hack.frob.com>
235
236 * elf/dl-unmap-segments.h: New file.
237 * sysdeps/generic/ldsodefs.h
238 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
239 * elf/dl-close.c: Include <dl-unmap-segments.h>.
240 * elf/dl-fptr.c: Likewise.
241 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
242 * sysdeps/aarch64/tlsdesc.c: Likewise.
243 * sysdeps/arm/tlsdesc.c: Likewise.
244 * sysdeps/i386/tlsdesc.c: Likewise.
245 * sysdeps/tile/dl-runtime.c: Likewise.
246 * sysdeps/x86_64/tlsdesc.c: Likewise.
247 * elf/dl-load.h: New file.
248 * elf/dl-load.c: Include it.
249 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
250 Macros moved to dl-load.h.
251 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
252 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
253 Use _dl_unmap_segments in place of __munmap.
254 Break out segment-mapping loop into ...
255 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
256
f6488e2b
WN
2572014-04-03 Will Newton <will.newton@linaro.org>
258
259 * elf/dl-lookup.c (do_lookup_x): Remove comment
260 referring to nested function and move variable
261 declarations down to before first use.
262
6f05bafe
JM
2632014-04-02 Joseph Myers <joseph@codesourcery.com>
264
a84e78c8
JM
265 [BZ #16799]
266 [BZ #16800]
267 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
268 with 0 numerator.
269 * math/s_catanf.c (__catanf): Likewise.
270 * math/s_catanh.c (__catanh): Likewise.
271 * math/s_catanhf.c (__catanhf): Likewise.
272 * math/s_catanhl.c (__catanhl): Likewise.
273 * math/s_catanl.c (__catanl): Likewise.
274 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
275 by positive zero when computing -Inf result.
276 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
277 (catanh_test): Likewise.
278 * sysdeps/i386/fpu/libm-test-ulps: Update.
279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
280
6f05bafe
JM
281 [BZ #16789]
282 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
283 instead of using underflowing value in computing result.
284 * math/s_clog10.c (__clog10): Likewise.
285 * math/s_clog10f.c (__clog10f): Likewise.
286 * math/s_clog10l.c (__clog10l): Likewise.
287 * math/s_clogf.c (__clogf): Likewise.
288 * math/s_clogl.c (__clogl): Likewise.
289 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
290 (clog10_test): Likewise.
291 * sysdeps/i386/fpu/libm-test-ulps: Update.
292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
293
b0abbc21
AM
2942014-04-02 Alan Modra <amodra@gmail.com>
295
296 [BZ #16739]
297 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
298 output when value is near a power of two. Use int64_t for lx and
299 remove casts. Use decimal rather than hex exponent constants.
300 Don't use long double multiplication when double will suffice.
301 * math/libm-test.inc (nextafter_test_data): Add tests.
302 * NEWS: Add 16739 and 16786 to bug list.
303
af6b1797
AM
3042014-04-02 Alan Modra <amodra@gmail.com>
305
306 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
307
483818d7
AM
3082014-04-02 Alan Modra <amodra@gmail.com>
309
310 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
311
f6c55796
WN
3122014-04-01 Will Newton <will.newton@linaro.org>
313
314 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
315 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
316
13f7fe35
FW
3172014-04-01 Florian Weimer <fweimer@redhat.com>
318
319 [BZ #13347]
320 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
321 * nptl/tst-setuid2.c: New file.
322 * nptl/Makefile (xtests): Add tst-setuid2.
323
c859b32e
AM
3242014-04-01 Alan Modra <amodra@gmail.com>
325
326 [BZ #16786]
327 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
328
54fa2475
JM
3292014-03-31 Joseph Myers <joseph@codesourcery.com>
330
8795b4a4
JM
331 [BZ #6803]
332 [BZ #6804]
333 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
334 set errno as appropriate.
335 * math/w_scalbf.c (__scalbf): Likewise.
336 * math/w_scalbl.c (__scalbl): Likewise.
337 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
338 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
339 * math/libm-test.inc (scalb_test_data): Add errno expectations.
340 Add more NaN tests.
341
54fa2475
JM
342 [BZ #16349]
343 * math/w_atan2.c: Include <errno.h>.
344 (__atan2): Set errno for result underflowing to zero.
345 * math/w_atan2f.c: Include <errno.h>.
346 (__atan2f): Set errno for result underflowing to zero.
347 * math/w_atan2l.c: Include <errno.h>.
348 (__atan2l): Set errno for result underflowing to zero.
349 * math/auto-libm-test-in: Don't allow missing errno for some atan2
350 tests.
351 * math/auto-libm-test-out: Regenerated.
352
757d9dd5
AZ
3532014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
354
355 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
356 Encode instruction correctly in little endian.
357 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
358 Likewise.
359 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
360 Likewise.
361 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
362 Likewise.
363 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
364 Likewise.
365
d7a68734
JM
3662014-03-31 Joseph Myers <joseph@codesourcery.com>
367
47c5adeb
JM
368 [BZ #9894]
369 * sysdeps/unix/sysv/linux/kernel-features.h
370 [__sparc__ && !__arch64__ && !__sparc_v9__]
371 (__ASSUME_SET_ROBUST_LIST): Do not define.
372 [__sparc__ && !__arch64__ && !__sparc_v9__]
373 (__ASSUME_FUTEX_LOCK_PI): Likewise.
374 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
375 Likewise.
376 * sysdeps/unix/sysv/linux/arm/kernel-features.h
377 (__ASSUME_FUTEX_LOCK_PI): Undefine.
378 (__ASSUME_REQUEUE_PI): Likewise.
379 (__ASSUME_SET_ROBUST_LIST): Likewise.
380 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
381 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
382 Undefine.
383 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
384 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
385 Likewise.
386 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
387 Likewise.
388 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
389 Likewise.
390 * sysdeps/unix/sysv/linux/mips/kernel-features.h
391 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
392 Undefine.
393 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
394 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
395 Likewise.
396
d7a68734
JM
397 [BZ #16648]
398 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
399 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
400 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
401
c760f5c2
WN
4022014-03-31 Will Newton <will.newton@linaro.org>
403
404 * benchtests/Makefile (bench): Add ffs and ffsll to list
405 of tests.
406 * benchtests/ffs-inputs: New file.
407 * benchtests/ffsll-inputs: Likewise.
408
ea6029b1
JM
4092014-03-29 Joseph Myers <joseph@codesourcery.com>
410
411 [BZ #16770]
412 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
413 too large before casting to int.
414 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
415 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
416 * math/libm-test.inc (scalb_test_data): Add more tests.
417
cf806aff
SP
4182014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
419
56737508
SP
420 * benchtests/Makefile (DETAILED_OPT): New make option.
421 (bench-func): Run benchmark program with -d if DETAILED_OPT is
422 set.
423 * benchtests/bench-skeleton.c: Include stdbool.h.
424 (main): Store and print timings per input.
425 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
426 member to each argument value.
427 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
428 (_print_arg_data): Initialize per-input timing to 0.
429
cb5e4aad
SP
430 * benchtests/Makefile (timing-type): New binary.
431 (bench-clean): Also remove bench-timing-type.
432 (bench): New target for timing-type.
433 (bench-func): Print output in JSON format.
434 * benchtests/bench-skeleton.c (main): Print output in JSON
435 format.
436 * benchtests/bench-timing-type.c: New file.
437 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
438 (TIMING_PRINT_STATS): Remove.
439 * benchtests/scripts/bench.py (_print_arg_data): Store variant
440 name separately.
441
cf806aff
SP
442 * benchtests/bench-modf.c: Remove.
443 * benchtests/modf-inputs: New inputs file.
444
289e0779
JM
4452014-03-28 Joseph Myers <joseph@codesourcery.com>
446
447 [BZ #16362]
448 * math/s_clog10.c (M_PI_LOG10E): New macro.
449 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
450 imaginary parts are 0.
451 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
452 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
453 imaginary parts are 0.
454 * math/s_clog10l.c (M_PI_LOG10El): New macro.
455 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
456 imaginary parts are 0.
457 * math/libm-test.inc (clog10_test_data): Update expected results
458 for when real and imaginary parts are 0.
459
277ae3f1
PP
4602014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
461
462 * elf/dl-load.c: Finish conversion of __builtin_expect into
463 __glibc_{un}likely.
464
03a7091f
JM
4652014-03-27 Joseph Myers <joseph@codesourcery.com>
466
467 [BZ #16348]
468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
469 1+x for argument with exponent below -67.
470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
471 Likewise.
472 * math/auto-libm-test-in: Add more tests of exp.
473 * math/auto-libm-test-out: Regenerated.
474
ea7d8b95
SP
4752014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
476
dd3022d7
SP
477 [BZ #16759]
478 * inet/getnetgrent_r.c (get_nonempty_val): New function.
479 (nscd_getnetgrent): Use it.
480
ea7d8b95
SP
481 [BZ #16760]
482 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
483 of stpcpy.
484
df5b85da
AK
4852014-03-27 Andi Kleen <ak@linux.intel.com>
486
487 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
488 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
489 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
490 Remove out of line section. Use cfi intrinsics.
491 (LLL_STUB_UNWIND_INFO*): Remove.
492 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
493 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
494 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
495 Remove out of line section. Use cfi intrinsics.
496 (LLL_STUB_UNWIND_INFO*): Remove.
497
fbd6b5a4
SP
4982014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
499
500 [BZ #16758]
501 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
502 blank values.
503
1b26b855
PP
5042014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
505
506 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
507
9be36fb8
JM
5082014-03-26 Joseph Myers <joseph@codesourcery.com>
509
510 [BZ #16198]
511 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
512 fnstenv.
513 * math/test-fenv-preserve.c: New file.
514 * math/Makefile (tests): Add test-fenv-preserve.
515
60a2f3c1
WN
5162014-03-26 Will Newton <will.newton@linaro.org>
517
518 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
519
a5e5f1e2
RM
5202014-03-25 Roland McGrath <roland@hack.frob.com>
521
522 * scripts/versionlist.awk: Partition the version sets and emit all
523 GLIBC_* (sorted) before all others (sorted).
524
00f4012a
JM
5252014-03-25 Joseph Myers <joseph@codesourcery.com>
526
527 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
528 GLIBC_2.2.5 version.
529
7bc5a741
AZ
5302014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
531
532 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
533 calls.
534
7578473b
AZ
5352014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536
537 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
538 previous change.
539
f3f1dab3
AZ
5402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
541
542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
543
6da36183
AS
5442014-03-25 Andreas Schwab <schwab@suse.de>
545
546 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
547 label to be used after in6ailist is initialized.
548
f3f1dab3 5492014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 550
7578473b 551 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
552 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
553
046651c1
JM
5542014-03-25 Joseph Myers <joseph@codesourcery.com>
555
556 [BZ #16357]
557 [BZ #16599]
558 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
559 min_plus_half.
560 (fp_formats): Update initializers.
561 (init_fp_formats): Initialize new field.
562 (output_for_one_input_case): Allow underflow for results up to
563 min_plus_half.
564 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
565 * math/auto-libm-test-in: Don't mark some underflows from asin and
566 atanh as spurious.
567 * math/auto-libm-test-out: Regenerated.
568 * sysdeps/i386/fpu/libm-test-ulps: Update.
569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
570
003e49ed
AS
5712014-03-25 Andreas Schwab <schwab@suse.de>
572
573 * libio/Makefile (tst-ftell-partial-wide-ENV)
574 (tst-ftell-active-handler-ENV): Define.
575
de031874
SL
5762014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
577
578 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
579
55a81e3b
PP
5802014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
581
582 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
583
f3426898
JM
5842014-03-24 Joseph Myers <joseph@codesourcery.com>
585
586 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
587 * sysdeps/x86_64/fpu/multiarch/e_exp.c
588 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
589
a42faf59
PP
5902014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
591
592 [BZ #16634]
a42faf59 593 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
594 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
595 (open_path): Change from boolean 'secure' to complete flag 'mode'
596 (_dl_map_object): Adjust.
a42faf59
PP
597 * elf/Makefile (tests): Add tst-dlopen-aout.
598 * elf/tst-dlopen-aout.c: New test.
599
50936127
SL
6002014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
601
602 [BZ #16714]
603 * sysdeps/unix/sysv/linux/s390/bits/stat.h
604 (struct stat): Rename member pad0 to __glibc_reserved0.
605
26011b5c
SL
6062014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
607
608 [BZ #16712]
609 * sysdeps/s390/s390-32/bits/wordsize.h
610 (__WORDSIZE32_SIZE_ULONG): New define.
611 * sysdeps/s390/s390-64/bits/wordsize.h
612 (__WORDSIZE32_SIZE_ULONG): Likewise.
613 * sysdeps/generic/stdint.h (SIZE_MAX):
614 Define as UL if __WORDSIZE32_SIZE_ULONG.
615
a2d86bf1
SL
6162014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
617
618 [BZ #16713]
619 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
620 (__glibc_reserved0): New variable.
621 (sa_flags): Change type to int.
622
78b6eebc
SL
6232014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
624
625 * posix/Makefile (before-compile): Use += before-compile instead
626 of a :=.
627
f1399b5a
SL
6282014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
629
630 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
631 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
632
a071766e
AS
6332014-03-20 Andreas Schwab <schwab@suse.de>
634
635 [BZ #16743]
636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
637 non-matching result from nscd.
638
27c673b8
SP
6392014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
640
641 * scripts/bench.py: Moved to ...
642 * benchtests/scripts/bench.py: ... here.
643 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
644
44152e4b
AS
6452014-03-24 Andreas Schwab <schwab@suse.de>
646
647 [BZ #16002]
648 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
649 alloca_account and account alloca use for struct in6ailist.
650
b376a11a
JM
6512014-03-24 Joseph Myers <joseph@codesourcery.com>
652
653 [BZ #16284]
654 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
655 rounding mode to recompute results that overflow to infinity or
656 underflow to zero.
657 * math/auto-libm-test-in: Don't mark tests as expected to fail for
658 bug 16284.
659 * math/auto-libm-test-out: Regenerated.
660 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
661 (ccosh_test): Likewise.
662 (csin_test_data): Use plus_oflow.
663 (csin_test): Use ALL_RM_TEST.
664 (csinh_test_data): Use plus_oflow.
665 (csinh_test): Use ALL_RM_TEST.
666 * sysdeps/i386/fpu/libm-test-ulps: Update.
667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
668
f7be7376
JM
6692014-03-21 Joseph Myers <joseph@codesourcery.com>
670
1ca2d03e
JM
671 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
672 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
673 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
674
f7be7376
JM
675 [BZ #16731]
676 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
677 when x - 1 is zero.
678 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
679 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
680 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
682 argument is 1.
683 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
684 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
685 zero.
686 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
687 * sysdeps/i386/fpu/libm-test-ulps: Update.
688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689
fdf4534d
SP
6902014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
691
df26ea53
SP
692 * scripts/bench.pl: Remove file.
693 * scripts/bench.py: New benchmark script.
694 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
695 * benchtests/README: Mention python dependency.
696 * scripts/pylintrc: New file.
697 * scripts/pylint: New file.
698
fdf4534d
SP
699 * bits/mathdef.h: Use #ifdef instead of #if.
700 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
701 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
702 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
703 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
704 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
705 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
706
6f23d093
AZ
7072014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
709
710 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
712 and strpbrk-ppc64 objects.
713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
714 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
715 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
716 multiarch strpbrk for POWER7.
717 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
718 multiarch strpbrk for PPC64.
719 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
720 ifunc selector.
721 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
722 strpbrk for POWER7.
723
8c92dfff
JM
7242014-03-20 Joseph Myers <joseph@codesourcery.com>
725
726 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
727 (atan_test): Likewise.
728 (atanh_test_data): Use NO_TEST_INLINE for two tests.
729 (atanh_test): Use ALL_RM_TEST.
730 (atan2_test_data): Likewise.
731 (cabs_test): Likewise.
732 (cacosh_test): Likewise.
733 (carg_test): Likewise.
734 (casin_test): Likewise.
735 (casinh_test): Likewise.
736 (cbrt_test): Likewise.
737 (csqrt_test): Likewise.
738 (erf_test): Likewise.
739 (erfc_test): Likewise.
740 (pow10_test): Likewise.
741 (exp2_test): Likewise.
742 (hypot_test): Likewise.
743 (j0_test): Likewise.
744 (j1_test): Likewise.
745 (lgamma_test): Likewise.
746 (gamma_test): Likewise.
747 (sincos_test): Likewise.
748 (tanh_test): Likewise.
749 (y0_test): Likewise.
750 (y1_test): Likewise.
751 * sysdeps/i386/fpu/libm-test-ulps: Update.
752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
753
6eaf95cb
AZ
7542014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
755
a387428c
SP
756 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
758 and strcspn-ppc64 objects.
759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
760 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
761 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
762 multiarch strcspn for POWER7.
763 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
764 multiarch strcspn for PPC64.
765 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
766 ifunc selector.
767 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
768 strcspn for POWER7.
769
ae3a5dff
JM
7702014-03-20 Joseph Myers <joseph@codesourcery.com>
771
772 * math/gen-libm-test.pl (generate_testfile): Expect only function
773 name as argument to AUTO_TESTS_* and pass results for all rounding
774 modes to parse_args.
775 (parse_auto_input): Separate inputs of automatic tests from
776 outputs before storing in %auto_tests.
777 * math/libm-test.inc (acos_test_data): Update call to
778 AUTO_TESTS_f_f.
779 (acos_test): Use ALL_RM_TEST.
780 (acos_tonearest_test_data): Remove.
781 (acos_test_tonearest): Likewise.
782 (acos_towardzero_test_data): Likewise.
783 (acos_test_towardzero): Likewise.
784 (acos_downward_test_data): Likewise.
785 (acos_test_downward): Likewise.
786 (acos_upward_test_data): Likewise.
787 (acos_test_upward): Likewise.
788 (acosh_test_data): Update call to AUTO_TESTS_f_f.
789 (asin_test_data): Likewise.
790 (asin_test): Use ALL_RM_TEST.
791 (asin_tonearest_test_data): Remove.
792 (asin_test_tonearest): Likewise.
793 (asin_towardzero_test_data): Likewise.
794 (asin_test_towardzero): Likewise.
795 (asin_downward_test_data): Likewise.
796 (asin_test_downward): Likewise.
797 (asin_upward_test_data): Likewise.
798 (asin_test_upward): Likewise.
799 (asinh_test_data): Update call to AUTO_TESTS_f_f.
800 (atan_test_data): Likewise.
801 (atanh_test_data): Likewise.
802 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
803 (cabs_test_data): Update call to AUTO_TESTS_c_f.
804 (carg_test_data): Likewise.
805 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
806 (ccos_test_data): Update call to AUTO_TESTS_c_c.
807 (ccosh_test_data): Likewise.
808 (cexp_test_data): Likewise.
809 (clog_test_data): Likewise.
810 (clog10_test_data): Likewise.
811 (cos_test_data): Update call to AUTO_TESTS_f_f.
812 (cos_test): Use ALL_RM_TEST.
813 (cos_tonearest_test_data): Remove.
814 (cos_test_tonearest): Likewise.
815 (cos_towardzero_test_data): Likewise.
816 (cos_test_towardzero): Likewise.
817 (cos_downward_test_data): Likewise.
818 (cos_test_downward): Likewise.
819 (cos_upward_test_data): Likewise.
820 (cos_test_upward): Likewise.
821 (cosh_test_data): Update call to AUTO_TESTS_f_f.
822 (cosh_test): Use ALL_RM_TEST.
823 (cosh_tonearest_test_data): Remove.
824 (cosh_test_tonearest): Likewise.
825 (cosh_towardzero_test_data): Likewise.
826 (cosh_test_towardzero): Likewise.
827 (cosh_downward_test_data): Likewise.
828 (cosh_test_downward): Likewise.
829 (cosh_upward_test_data): Likewise.
830 (cosh_test_upward): Likewise.
831 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
832 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
833 (ctan_test_data): Likewise.
834 (ctan_test): Use ALL_RM_TEST.
835 (ctan_tonearest_test_data): Remove.
836 (ctan_test_tonearest): Likewise.
837 (ctan_towardzero_test_data): Likewise.
838 (ctan_test_towardzero): Likewise.
839 (ctan_downward_test_data): Likewise.
840 (ctan_test_downward): Likewise.
841 (ctan_upward_test_data): Likewise.
842 (ctan_test_upward): Likewise.
843 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
844 (ctanh_test): Use ALL_RM_TEST.
845 (ctanh_tonearest_test_data): Remove.
846 (ctanh_test_tonearest): Likewise.
847 (ctanh_towardzero_test_data): Likewise.
848 (ctanh_test_towardzero): Likewise.
849 (ctanh_downward_test_data): Likewise.
850 (ctanh_test_downward): Likewise.
851 (ctanh_upward_test_data): Likewise.
852 (ctanh_test_upward): Likewise.
853 (erf_test_data): Update call to AUTO_TESTS_f_f.
854 (erfc_test_data): Likewise.
855 (exp_test_data): Likewise.
856 (exp_test): Use ALL_RM_TEST.
857 (exp_tonearest_test_data): Remove.
858 (exp_test_tonearest): Likewise.
859 (exp_towardzero_test_data): Likewise.
860 (exp_test_towardzero): Likewise.
861 (exp_downward_test_data): Likewise.
862 (exp_test_downward): Likewise.
863 (exp_upward_test_data): Likewise.
864 (exp_test_upward): Likewise.
865 (exp10_test_data): Update call to AUTO_TESTS_f_f.
866 (exp10_test): Use ALL_RM_TEST.
867 (exp10_tonearest_test_data): Remove.
868 (exp10_test_tonearest): Likewise.
869 (exp10_towardzero_test_data): Likewise.
870 (exp10_test_towardzero): Likewise.
871 (exp10_downward_test_data): Likewise.
872 (exp10_test_downward): Likewise.
873 (exp10_upward_test_data): Likewise.
874 (exp10_test_upward): Likewise.
875 (exp2_test_data): Update call to AUTO_TESTS_f_f.
876 (expm1_test_data): Likewise.
877 (expm1_test): Use ALL_RM_TEST.
878 (expm1_tonearest_test_data): Remove.
879 (expm1_test_tonearest): Likewise.
880 (expm1_towardzero_test_data): Likewise.
881 (expm1_test_towardzero): Likewise.
882 (expm1_downward_test_data): Likewise.
883 (expm1_test_downward): Likewise.
884 (expm1_upward_test_data): Likewise.
885 (expm1_test_upward): Likewise.
886 (fma_test_data): Update call to AUTO_TESTS_fff_f.
887 (fma_test): Use ALL_RM_TEST.
888 (fma_towardzero_test_data): Remove.
889 (fma_test_towardzero): Likewise.
890 (fma_downward_test_data): Likewise.
891 (fma_test_downward): Likewise.
892 (fma_upward_test_data): Likewise.
893 (fma_test_upward): Likewise.
894 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
895 (j0_test_data): Update call to AUTO_TESTS_f_f.
896 (j1_test_data): Likewise.
897 (jn_test_data): Update call to AUTO_TESTS_if_f.
898 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
899 (log_test_data): Update call to AUTO_TESTS_f_f.
900 (log10_test_data): Likewise.
901 (log1p_test_data): Likewise.
902 (log2_test_data): Likewise.
903 (pow_test_data): Update call to AUTO_TESTS_ff_f.
904 (pow_tonearest_test_data): Likewise.
905 (sin_test_data): Update call to AUTO_TESTS_f_f.
906 (sin_test): Use ALL_RM_TEST.
907 (sin_tonearest_test_data): Remove.
908 (sin_test_tonearest): Likewise.
909 (sin_towardzero_test_data): Likewise.
910 (sin_test_towardzero): Likewise.
911 (sin_downward_test_data): Likewise.
912 (sin_test_downward): Likewise.
913 (sin_upward_test_data): Likewise.
914 (sin_test_upward): Likewise.
915 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
916 (sinh_test_data): Update call to AUTO_TESTS_f_f.
917 (sinh_test): Use ALL_RM_TEST.
918 (sinh_tonearest_test_data): Remove.
919 (sinh_test_tonearest): Likewise.
920 (sinh_towardzero_test_data): Likewise.
921 (sinh_test_towardzero): Likewise.
922 (sinh_downward_test_data): Likewise.
923 (sinh_test_downward): Likewise.
924 (sinh_upward_test_data): Likewise.
925 (sinh_test_upward): Likewise.
926 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
927 (sqrt_test): Use ALL_RM_TEST.
928 (sqrt_tonearest_test_data): Remove.
929 (sqrt_test_tonearest): Likewise.
930 (sqrt_towardzero_test_data): Likewise.
931 (sqrt_test_towardzero): Likewise.
932 (sqrt_downward_test_data): Likewise.
933 (sqrt_test_downward): Likewise.
934 (sqrt_upward_test_data): Likewise.
935 (sqrt_test_upward): Likewise.
936 (tan_test_data): Update call to AUTO_TESTS_f_f.
937 (tan_test): Use ALL_RM_TEST.
938 (tan_tonearest_test_data): Remove.
939 (tan_test_tonearest): Likewise.
940 (tan_towardzero_test_data): Likewise.
941 (tan_test_towardzero): Likewise.
942 (tan_downward_test_data): Likewise.
943 (tan_test_downward): Likewise.
944 (tan_upward_test_data): Likewise.
945 (tan_test_upward): Likewise.
946 (tanh_test_data): Update call to AUTO_TESTS_f_f.
947 (tgamma_test_data): Likewise.
948 (y0_test_data): Likewise.
949 (y1_test_data): Likewise.
950 (yn_test_data): Update call to AUTO_TESTS_if_f.
951 (main): Do not call removed functions.
952
d71aeee8
JM
9532014-03-19 Joseph Myers <joseph@codesourcery.com>
954
955 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
956 (ldexp_test_data): Remove.
957 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
958 scalbn_test_data.
959 (scalb_test): Use ALL_RM_TEST.
960
baaf1ded
AS
9612014-03-19 Andreas Schwab <schwab@suse.de>
962
963 * nscd/nscd.service: Also invalidate netgroup cache on reload.
964
b1115e91
JM
9652014-03-19 Joseph Myers <joseph@codesourcery.com>
966
967 [BZ #16649]
968 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
969 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
970 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
972 (__ASSUME_PREADV): Undefine.
973 (__ASSUME_PWRITEV): Likewise.
974
0283ecca
RM
9752014-03-18 Roland McGrath <roland@hack.frob.com>
976
7d375303
RM
977 * bits/mman-linux.h: Add comment about non-Linux use.
978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
979 bits/mman-linux.h resting place.
980
0283ecca
RM
981 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
982 * bits/mman-linux.h: ... here.
983
aebe1003
AZ
9842014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
985
986 * conform/conformtest.pl: Add standard definition when calling C
987 preprocessor on data files.
988 (checknamespace): Remove unused variable.
989
b29b6bb8
JM
9902014-03-18 Joseph Myers <joseph@codesourcery.com>
991
992 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
993 minus_oflow, plus_uflow and minus_uflow in expected results.
994 * math/libm-test.inc (scalbn_test_data): Add more tests of
995 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
996 minus_uflow.
997 (scalbn_test): Use ALL_RM_TEST.
998 (scalbln_test_data): Add more tests of negative arguments. Use
999 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1000 (scalbln_test): Use ALL_RM_TEST.
1001
c8f8fa15
RM
10022014-03-18 Roland McGrath <roland@hack.frob.com>
1003
1004 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1005
fede7a5f
WN
10062014-03-18 Will Newton <will.newton@linaro.org>
1007
1008 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1009 inaccurate comment.
1010
80cf0a58
JM
10112014-03-18 Joseph Myers <joseph@codesourcery.com>
1012
1013 * Makerules [!subdir] (check-abi): Exit with error status if a
1014 test failed.
1015
b3620862
JM
10162014-03-17 Joseph Myers <joseph@codesourcery.com>
1017
1018 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1019 for rint. Include results for all rounding modes.
1020 (nearbyint_test): Use ALL_RM_TEST.
1021 (rint_test_data): Include all tests used for nearbyint.
1022
788bba36
WN
10232014-03-17 Will Newton <will.newton@linaro.org>
1024
04ec140a
WN
1025 * nptl/sysdeps/pthread/pthread.h: Revert previous
1026 change.
1027
7579d8d5
WN
1028 * sysdeps/generic/ldsodefs.h: Revert previous
1029 change.
1030
c15cf13a
WN
1031 * libio/genops.c: Revert previous change.
1032 * libio/libioP.h: Likewise.
1033 * stdio-common/vfprintf.c: Likewise.
1034
d0ac1324
WN
1035 * sysdeps/generic/math_private.h: Revert previous
1036 change.
1037
9290130a
WN
1038 * sysdeps/generic/math_private.h: Check whether
1039 HAVE_RM_CTX is defined with #ifdef rather
1040 than #if.
1041
afb466fc
WN
1042 * argp/argp-fmtstream.h: Check whether
1043 __STRICT_ANSI__ is defined with #ifdef rather
1044 than #if.
1045 * argp/argp.h: Likewise.
1046
f7efd7c3
WN
1047 * libio/genops.c: Check whether
1048 _IO_JUMPS_OFFSET is defined with #ifdef rather
1049 than #if.
1050 * libio/libioP.h: Likewise.
1051 * stdio-common/vfprintf.c: Likewise.
1052
53f1bed3
WN
1053 * sysdeps/generic/ldsodefs.h: Check whether
1054 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1055 than #if.
1056
788bba36
WN
1057 * nptl/sysdeps/pthread/pthread.h: Check
1058 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1059 its value.
1060
fcd89ebe
SP
10612014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1062
ae42bbc5
SP
1063 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1064 setting O_APPEND.
1065 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1066 test case.
1067
ea33158c
SP
1068 [BZ #16680]
1069 * libio/fileops.c (_IO_file_open): Seek to end of file but
1070 don't cache the offset.
1071 (get_file_offset): Remove function.
1072 (do_ftell): Use cached offset when available.
1073 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1074 don't cache the offset.
1075 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1076 case.
1077 (do_one_test): Call it.
1078 (do_ftell_test): Fix up expected old offset for a+ mode.
1079 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1080 available.
1081
b1dbb426
SP
1082 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1083 up test status with function return status.
1084 (do_write_test): Likewise.
1085 (do_append_test): Likewise.
1086
fcd89ebe
SP
1087 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1088 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1089 Remove.
1090
9962a2d3
JM
10912014-03-17 Joseph Myers <joseph@codesourcery.com>
1092
1093 * math/gen-libm-test.pl (parse_args): Handle results specified for
1094 each rounding mode separately.
1095 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1096 tests and results from lrint_tonearest_test_data,
1097 lrint_towardzero_test_data, lrint_downward_test_data and
1098 lrint_upward_test_data.
1099 (lrint_test): Use ALL_RM_TEST.
1100 (lrint_tonearest_test_data): Remove.
1101 (lrint_test_tonearest): Likewise.
1102 (lrint_towardzero_test_data): Likewise.
1103 (lrint_test_towardzero): Likewise.
1104 (lrint_downward_test_data): Likewise.
1105 (lrint_test_downward): Likewise.
1106 (lrint_upward_test_data): Likewise.
1107 (lrint_test_upward): Likewise.
1108 (llrint_test_data): Merge in per-rounding-mode tests and results
1109 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1110 llrint_downward_test_data and llrint_upward_test_data.
1111 (llrint_test): Use ALL_RM_TEST.
1112 (llrint_tonearest_test_data): Remove.
1113 (llrint_test_tonearest): Likewise.
1114 (llrint_towardzero_test_data): Likewise.
1115 (llrint_test_towardzero): Likewise.
1116 (llrint_downward_test_data): Likewise.
1117 (llrint_test_downward): Likewise.
1118 (llrint_upward_test_data): Likewise.
1119 (llrint_test_upward): Likewise.
1120 (rint_test_data): Merge in per-rounding-mode tests and results
1121 from rint_tonearest_test_data, rint_towardzero_test_data,
1122 rint_downward_test_data and rint_upward_test_data. Add
1123 per-rounding-mode results for tests not in those arrays.
1124 (rint_test): Use ALL_RM_TEST.
1125 (rint_tonearest_test_data): Remove.
1126 (rint_test_tonearest): Likewise.
1127 (rint_towardzero_test_data): Likewise.
1128 (rint_test_towardzero): Likewise.
1129 (rint_downward_test_data): Likewise.
1130 (rint_test_downward): Likewise.
1131 (rint_upward_test_data): Likewise.
1132 (rint_test_upward): Likewise.
1133 (main): Don't call removed functions.
1134
5006148e
RM
11352014-03-14 Roland McGrath <roland@hack.frob.com>
1136
1137 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1138 "Compiled on ..." crapola. It is anti-useful.
1139
d6fe5e58
JM
11402014-03-14 Joseph Myers <joseph@codesourcery.com>
1141
1142 * scripts/evaluate-test.sh: Handle fourth argument to determine
1143 whether test run should stop on failure.
1144 * Makeconfig (stop-on-test-failure): New variable.
1145 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1146 $(stop-on-test-failure).
1147 * Makefile (tests): Give a summary of results from testing and
1148 exit with failure status if they include an ERROR or FAIL.
1149 (xtests): Likewise.
1150 * manual/install.texi (Configuring and compiling): Mention
1151 stop-on-test-failure=y.
1152 * INSTALL: Regenerated.
1153
498a2233
RM
11542014-03-14 Roland McGrath <roland@hack.frob.com>
1155
22dbc19d
RM
1156 * scripts/versionlist.awk: New file.
1157 * Makerules [$(build-shared) = yes]
1158 (postclean-generated): Add Versions.def, not Versions.def.v and
1159 Versions.def.v.i.
1160 ($(common-objpfx)Versions.def.v.i): Target removed.
1161 ($(common-objpfx)Versions.def): New target.
1162 ($(common-objpfx)Versions.all): Depend on that rather that
1163 $(common-objpfx)Versions.def.v.
1164 * Versions.def: File removed.
1165
498a2233
RM
1166 * Makeconfig (+gccwarn): Add -Wundef.
1167 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1168 a dl-sysdep.h breaking its contract.
1169 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1170 * include/stackinfo.h: New file.
1171 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1172 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1173 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1174 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1175 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1176 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1177 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1178 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1179 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1180 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1181 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1182 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1183 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1184 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1185 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1186
c7de5025
AZ
11872014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188
1189 [BZ #16707]
1190 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1191 implementation.
1192 * math/libm-test.inc (round_test_data): Add more tests.
1193
98fb27a3
AZ
11942014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1195
1196 [BZ #16706]
1197 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1198 implementation.
1199 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1200
374f7f61
AZ
12012014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1202
1203 [BZ #16701]
1204 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1205 implementation.
1206 * math/libm-test.inc (ceil_test_data): Add more tests.
1207
4655c291
AZ
12082014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209
1210 * math/libm-test.inc (trunc_test_data): Add more tests related to
1211 BZ#16414.
1212
d7329d4b
RM
12132014-03-14 Roland McGrath <roland@hack.frob.com>
1214
1215 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1216 with #if rather than #ifdef.
1217 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1218
aa4de9ce
L
12192014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1220
1221 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1222 first. Disable AVX-512 GCC support if assembler doesn't support
1223 it.
1224 * sysdeps/x86_64/configure: Regenerated.
1225
2e03fae7
CD
12262014-03-13 Carlos O'Donell <carlos@redhat.com>
1227
1228 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1229 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1230 (__old_pthread_attr_setstack): Likewise.
1231 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1232 [!_STACK_GROWS_DOWN]: Likewise.
1233
43ca83ec
MF
12342014-03-13 Mike Frysinger <vapier@gentoo.org>
1235
1236 * config.make.in (have-bash2): Delete.
1237 * configure.ac (libc_cv_have_bash2): Delete.
1238 * configure: Regenerate.
1239 * elf/Makefile (common-ldd-rewrite): Rename to ...
1240 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1241 (sh-ldd-rewrite): Delete.
1242 (bash-ldd-rewrite): Delete.
1243 (have-bash2): Delete checks.
1244 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1245
c66e48b4
MF
12462014-03-13 Mike Frysinger <vapier@gentoo.org>
1247
1248 * config.make.in (have-ksh): Delete.
1249 (KSH): Delete.
1250 * configure.ac (libc_cv_have_ksh): Delete.
1251 * configure: Regenerate.
1252
b93834ef
MF
12532014-03-13 Mike Frysinger <vapier@gentoo.org>
1254
1255 * elf/Makefile: Delete $(have-ksh) check.
1256 ($(objpfx)sotruss): Change KSH to BASH.
1257 * elf/sotruss.ksh: Rename to ...
1258 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1259 function style to match POSIX. Drop ksh vim mode setting.
1260
f3a4632a
MF
12612014-03-13 Mike Frysinger <vapier@gentoo.org>
1262
1263 * manual/time.texi (Specifying the Time Zone with TZ): Change
1264 Tuesday to Thursday.
1265
5896c8bd
MF
12662014-03-13 Mike Frysinger <vapier@gentoo.org>
1267
1268 * debug/tst-longjmp_chk2.c: Update header comment.
1269 (stackoverflow_handler): Add comment. Call assert on pass value.
1270
2d63a517
IZ
12712014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1272
1273 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1274 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1275 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1276 (La_x86_64_vector): Add zmm.
1277 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1278 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1279 ($(objpfx)tst-audit10): New target.
1280 ($(objpfx)tst-audit10.out): Likewise.
1281 (tst-audit10-ENV): New.
1282 (AVX512-CFLAGS): Likewise.
1283 (CFLAGS-tst-audit10.c): Likewise.
1284 (CFLAGS-tst-auditmod10a.c): Likewise.
1285 (CFLAGS-tst-auditmod10b.c): Likewise.
1286 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1287 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1288 * sysdeps/x86_64/configure: Regenerated.
1289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1290 AVX-512 zmm register support.
1291 (_dl_x86_64_save_sse): Likewise.
1292 (_dl_x86_64_restore_sse): Likewise.
1293 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1294 size vector registers.
1295 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1296 (ZMM_SIZE): Likewise.
1297 * sysdeps/x86_64/tst-audit10.c: New file.
1298 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1299 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1300
44c4e5d5
RM
13012014-03-13 Roland McGrath <roland@hack.frob.com>
1302
1303 * configure.ac (HAVE_EHDR_START): New check.
1304 * configure: Regenerated.
1305 * config.h.in (HAVE_EHDR_START): New #undef.
1306 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1307 assuming the lowest-addressed segment maps the start of the file.
1308
acd6e389
JM
13092014-03-13 Joseph Myers <joseph@codesourcery.com>
1310
1311 * INSTALL: Regenerated.
1312
6f918f36
WN
13132014-03-13 Will Newton <will.newton@linaro.org>
1314
1315 * manual/setjmp.texi (System V contexts): Improve
1316 clarity and grammar of documentation.
1317
798212a0
PP
13182014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1319
1320 [BZ #16381]
798212a0 1321 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1322 (tests-pie): Add tst-pie2.
798212a0
PP
1323 * elf/tst-pie2.c: New file.
1324 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1325 for ET_EXEC.
1326 * elf/rtld.c (map_doit): Load executable as lt_executable.
1327 (dl_main): Likewise.
1328
abe6d90c
JM
13292014-03-12 Joseph Myers <joseph@codesourcery.com>
1330
1331 [BZ #16642]
1332 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1333 (__ASSUME_PSELECT): Undefine.
1334
dd3946c6
AZ
13352014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1336
1337 [BZ #16689]
1338 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1339 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1340 static build.
1341 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1342 selector for static builds.
1343
c44496df
SP
13442014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1345
1346 [BZ #16695]
1347 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1348 key in the buffer.
1349
27c7220a
AZ
13502014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1351
1352 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1353 selector for static builds.
1354
600fa361
JM
13552014-03-11 Joseph Myers <joseph@codesourcery.com>
1356
76c96cf7
JM
1357 * sysdeps/mips/math_private.h [__mips_hard_float]
1358 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1359 libc_feresetround_mips_ctx.
1360 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1361 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1362 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1363
600fa361
JM
1364 [BZ #16677]
1365 * math/s_nextafter.c (__nextafter): Do not return value from
1366 overflowing computation.
1367 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1368 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1369 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1370 Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1372 Likewise.
1373 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1374 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1375
d7706c32
RM
13762014-03-11 Roland McGrath <roland@hack.frob.com>
1377
1378 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1379 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1380 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1381 the new mov targetting sp.
1382
4facea47
AZ
13832014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1384
1385 [BZ #16683]
1386 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1387 Define it for static builds as well.
1388 (NO_BZERO_IMPL): Likewise.
1389
e65caf1f
VR
13902014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1391
1392 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1393 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1394 multiarch strspn for PPC64.
1395 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1396 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1398 (__libc_ifunc_impl_list): Likewise.
1399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1400 multiarch optimizations
1401 * string/strspn.c (strspn): Using macro to redefine symbol name.
1402
ba9cc071
AZ
14032014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1404 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1405
1406 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1407 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1408 multiarch strncat for PPC64.
1409 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1410 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1412 (__libc_ifunc_impl_list): Likewise.
1413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1414 multiarch optimizations
1415
8b4ff974
SP
14162014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1417
1418 [BZ #16639]
1419 * nscd/nscd.service: Make service type forking.
1420
54b46a4b
AZ
14212014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1422
1423 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1424 sign in non default rounding modes.
1425 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1426
e9996ef7
JM
14272014-03-08 Joseph Myers <joseph@codesourcery.com>
1428
1429 * math/libm-test.inc (ALL_RM_TEST): New macro.
1430 (ceil_test): Use ALL_RM_TEST.
1431 (cimag_test): Likewise.
1432 (conj_test): Likewise.
1433 (copysign_test): Likewise.
1434 (cproj_test): Likewise.
1435 (creal_test): Likewise.
1436 (fabs_test): Likewise.
1437 (floor_test): Likewise.
1438 (fmax_test): Likewise.
1439 (fmin_test): Likewise.
1440 (fmod_test): Likewise.
1441 (fpclassify_test): Likewise.
1442 (frexp_test): Likewise.
1443 (ilogb_test): Likewise.
1444 (isfinite_test): Likewise.
1445 (finite_test): Likewise.
1446 (isgreater_test): Likewise.
1447 (isgreaterequal_test): Likewise.
1448 (isinf_test): Likewise.
1449 (isless_test): Likewise.
1450 (islessequal_test): Likewise.
1451 (islessgreater_test): Likewise.
1452 (isnan_test): Likewise.
1453 (isnormal_test): Likewise.
1454 (issignaling_test): Likewise.
1455 (isunordered_test): Likewise.
1456 (logb_test): Likewise.
1457 (logb_downward_test_data): Remove.
1458 (logb_test_downward): Likewise.
1459 (lround_test): Use ALL_RM_TEST.
1460 (llround_test): Likewise.
1461 (modf_test): Likewise.
1462 (nexttoward_test): Likewise.
1463 (remainder_test): Likewise.
1464 (drem_test): Likewise.
1465 (remainder_tonearest_test_data): Likewise.
1466 (remainder_test_tonearest): Likewise.
1467 (drem_test_tonearest): Likewise.
1468 (remainder_towardzero_test_data): Likewise.
1469 (remainder_test_towardzero): Likewise.
1470 (drem_test_towardzero): Likewise.
1471 (remainder_downward_test_data): Likewise.
1472 (remainder_test_downward): Likewise.
1473 (drem_test_downward): Likewise.
1474 (remainder_upward_test_data): Likewise.
1475 (remainder_test_upward): Likewise.
1476 (drem_test_upward): Likewise.
1477 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1478 (round_test): Use ALL_RM_TEST.
1479 (signbit_test): Likewise.
1480 (trunc_test): Likewise.
1481 (significand_test): Likewise.
1482 (main): Don't call removed functions.
1483
bc61d27c
JM
14842014-03-07 Joseph Myers <joseph@codesourcery.com>
1485
5c780849
JM
1486 [BZ #16674]
1487 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1488 || __USE_XOPEN2K8].
1489 (ILL_ILLOPN): Likewise.
1490 (ILL_ILLADR): Likewise.
1491 (ILL_ILLTRP): Likewise.
1492 (ILL_PRVOPC): Likewise.
1493 (ILL_PRVREG): Likewise.
1494 (ILL_COPROC): Likewise.
1495 (ILL_BADSTK): Likewise.
1496 (FPE_INTDIV): Likewise.
1497 (FPE_INTOVF): Likewise.
1498 (FPE_FLTDIV): Likewise.
1499 (FPE_FLTOVF): Likewise.
1500 (FPE_FLTUND): Likewise.
1501 (FPE_FLTRES): Likewise.
1502 (FPE_FLTINV): Likewise.
1503 (FPE_FLTSUB): Likewise.
1504 (SEGV_MAPERR): Likewise.
1505 (SEGV_ACCERR): Likewise.
1506 (BUS_ADRALN): Likewise.
1507 (BUS_ADRERR): Likewise.
1508 (BUS_OBJERR): Likewise.
1509 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1510 (TRAP_TRACE): Likewise.
1511 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1512 __USE_XOPEN2K8].
1513 (CLD_KILLED): Likewise.
1514 (CLD_DUMPED): Likewise.
1515 (CLD_TRAPPED): Likewise.
1516 (CLD_STOPPED): Likewise.
1517 (CLD_CONTINUED): Likewise.
1518 (POLL_IN): Likewise.
1519 (POLL_OUT): Likewise.
1520 (POLL_MSG): Likewise.
1521 (POLL_ERR): Likewise.
1522 (POLL_PRI): Likewise.
1523 (POLL_HUP): Likewise.
1524 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1525 Likewise.
1526 (ILL_ILLOPN): Likewise.
1527 (ILL_ILLADR): Likewise.
1528 (ILL_ILLTRP): Likewise.
1529 (ILL_PRVOPC): Likewise.
1530 (ILL_PRVREG): Likewise.
1531 (ILL_COPROC): Likewise.
1532 (ILL_BADSTK): Likewise.
1533 (FPE_INTDIV): Likewise.
1534 (FPE_INTOVF): Likewise.
1535 (FPE_FLTDIV): Likewise.
1536 (FPE_FLTOVF): Likewise.
1537 (FPE_FLTUND): Likewise.
1538 (FPE_FLTRES): Likewise.
1539 (FPE_FLTINV): Likewise.
1540 (FPE_FLTSUB): Likewise.
1541 (SEGV_MAPERR): Likewise.
1542 (SEGV_ACCERR): Likewise.
1543 (BUS_ADRALN): Likewise.
1544 (BUS_ADRERR): Likewise.
1545 (BUS_OBJERR): Likewise.
1546 (BUS_MCEERR_AR): Likewise.
1547 (BUS_MCEERR_AO): Likewise.
1548 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1549 (TRAP_TRACE): Likewise.
1550 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1551 __USE_XOPEN2K8].
1552 (CLD_KILLED): Likewise.
1553 (CLD_DUMPED): Likewise.
1554 (CLD_TRAPPED): Likewise.
1555 (CLD_STOPPED): Likewise.
1556 (CLD_CONTINUED): Likewise.
1557 (POLL_IN): Likewise.
1558 (POLL_OUT): Likewise.
1559 (POLL_MSG): Likewise.
1560 (POLL_ERR): Likewise.
1561 (POLL_PRI): Likewise.
1562 (POLL_HUP): Likewise.
1563 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1564 (ILL_ILLOPN): Likewise.
1565 (ILL_ILLADR): Likewise.
1566 (ILL_ILLTRP): Likewise.
1567 (ILL_PRVOPC): Likewise.
1568 (ILL_PRVREG): Likewise.
1569 (ILL_COPROC): Likewise.
1570 (ILL_BADSTK): Likewise.
1571 (FPE_INTDIV): Likewise.
1572 (FPE_INTOVF): Likewise.
1573 (FPE_FLTDIV): Likewise.
1574 (FPE_FLTOVF): Likewise.
1575 (FPE_FLTUND): Likewise.
1576 (FPE_FLTRES): Likewise.
1577 (FPE_FLTINV): Likewise.
1578 (FPE_FLTSUB): Likewise.
1579 (SEGV_MAPERR): Likewise.
1580 (SEGV_ACCERR): Likewise.
1581 (BUS_ADRALN): Likewise.
1582 (BUS_ADRERR): Likewise.
1583 (BUS_OBJERR): Likewise.
1584 (BUS_MCEERR_AR): Likewise.
1585 (BUS_MCEERR_AO): Likewise.
1586 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1587 (TRAP_TRACE): Likewise.
1588 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1589 __USE_XOPEN2K8].
1590 (CLD_KILLED): Likewise.
1591 (CLD_DUMPED): Likewise.
1592 (CLD_TRAPPED): Likewise.
1593 (CLD_STOPPED): Likewise.
1594 (CLD_CONTINUED): Likewise.
1595 (POLL_IN): Likewise.
1596 (POLL_OUT): Likewise.
1597 (POLL_MSG): Likewise.
1598 (POLL_ERR): Likewise.
1599 (POLL_PRI): Likewise.
1600 (POLL_HUP): Likewise.
1601 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1602 Likewise.
1603 (ILL_ILLOPN): Likewise.
1604 (ILL_ILLADR): Likewise.
1605 (ILL_ILLTRP): Likewise.
1606 (ILL_PRVOPC): Likewise.
1607 (ILL_PRVREG): Likewise.
1608 (ILL_COPROC): Likewise.
1609 (ILL_BADSTK): Likewise.
1610 (ILL_BADIADDR): Likewise.
1611 (ILL_BREAK): Likewise.
1612 (FPE_INTDIV): Likewise.
1613 (FPE_INTOVF): Likewise.
1614 (FPE_FLTDIV): Likewise.
1615 (FPE_FLTOVF): Likewise.
1616 (FPE_FLTUND): Likewise.
1617 (FPE_FLTRES): Likewise.
1618 (FPE_FLTINV): Likewise.
1619 (FPE_FLTSUB): Likewise.
1620 (FPE_DECOVF): Likewise.
1621 (FPE_DECDIV): Likewise.
1622 (FPE_DECERR): Likewise.
1623 (FPE_INVASC): Likewise.
1624 (FPE_INVDEC): Likewise.
1625 (SEGV_MAPERR): Likewise.
1626 (SEGV_ACCERR): Likewise.
1627 (SEGV_PSTKOVF): Likewise.
1628 (BUS_ADRALN): Likewise.
1629 (BUS_ADRERR): Likewise.
1630 (BUS_OBJERR): Likewise.
1631 (BUS_MCEERR_AR): Likewise.
1632 (BUS_MCEERR_AO): Likewise.
1633 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1634 (TRAP_TRACE): Likewise.
1635 (TRAP_BRANCH): Likewise.
1636 (TRAP_HWBKPT): Likewise.
1637 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1638 __USE_XOPEN2K8].
1639 (CLD_KILLED): Likewise.
1640 (CLD_DUMPED): Likewise.
1641 (CLD_TRAPPED): Likewise.
1642 (CLD_STOPPED): Likewise.
1643 (CLD_CONTINUED): Likewise.
1644 (POLL_IN): Likewise.
1645 (POLL_OUT): Likewise.
1646 (POLL_MSG): Likewise.
1647 (POLL_ERR): Likewise.
1648 (POLL_PRI): Likewise.
1649 (POLL_HUP): Likewise.
1650 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1651 (ILL_ILLOPN): Likewise.
1652 (ILL_ILLADR): Likewise.
1653 (ILL_ILLTRP): Likewise.
1654 (ILL_PRVOPC): Likewise.
1655 (ILL_PRVREG): Likewise.
1656 (ILL_COPROC): Likewise.
1657 (ILL_BADSTK): Likewise.
1658 (FPE_INTDIV): Likewise.
1659 (FPE_INTOVF): Likewise.
1660 (FPE_FLTDIV): Likewise.
1661 (FPE_FLTOVF): Likewise.
1662 (FPE_FLTUND): Likewise.
1663 (FPE_FLTRES): Likewise.
1664 (FPE_FLTINV): Likewise.
1665 (FPE_FLTSUB): Likewise.
1666 (SEGV_MAPERR): Likewise.
1667 (SEGV_ACCERR): Likewise.
1668 (BUS_ADRALN): Likewise.
1669 (BUS_ADRERR): Likewise.
1670 (BUS_OBJERR): Likewise.
1671 (BUS_MCEERR_AR): Likewise.
1672 (BUS_MCEERR_AO): Likewise.
1673 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1674 (TRAP_TRACE): Likewise.
1675 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1676 __USE_XOPEN2K8].
1677 (CLD_KILLED): Likewise.
1678 (CLD_DUMPED): Likewise.
1679 (CLD_TRAPPED): Likewise.
1680 (CLD_STOPPED): Likewise.
1681 (CLD_CONTINUED): Likewise.
1682 (POLL_IN): Likewise.
1683 (POLL_OUT): Likewise.
1684 (POLL_MSG): Likewise.
1685 (POLL_ERR): Likewise.
1686 (POLL_PRI): Likewise.
1687 (POLL_HUP): Likewise.
1688 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1689 (ILL_ILLOPN): Likewise.
1690 (ILL_ILLADR): Likewise.
1691 (ILL_ILLTRP): Likewise.
1692 (ILL_PRVOPC): Likewise.
1693 (ILL_PRVREG): Likewise.
1694 (ILL_COPROC): Likewise.
1695 (ILL_BADSTK): Likewise.
1696 (FPE_INTDIV): Likewise.
1697 (FPE_INTOVF): Likewise.
1698 (FPE_FLTDIV): Likewise.
1699 (FPE_FLTOVF): Likewise.
1700 (FPE_FLTUND): Likewise.
1701 (FPE_FLTRES): Likewise.
1702 (FPE_FLTINV): Likewise.
1703 (FPE_FLTSUB): Likewise.
1704 (SEGV_MAPERR): Likewise.
1705 (SEGV_ACCERR): Likewise.
1706 (BUS_ADRALN): Likewise.
1707 (BUS_ADRERR): Likewise.
1708 (BUS_OBJERR): Likewise.
1709 (BUS_MCEERR_AR): Likewise.
1710 (BUS_MCEERR_AO): Likewise.
1711 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1712 (TRAP_TRACE): Likewise.
1713 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1714 __USE_XOPEN2K8].
1715 (CLD_KILLED): Likewise.
1716 (CLD_DUMPED): Likewise.
1717 (CLD_TRAPPED): Likewise.
1718 (CLD_STOPPED): Likewise.
1719 (CLD_CONTINUED): Likewise.
1720 (POLL_IN): Likewise.
1721 (POLL_OUT): Likewise.
1722 (POLL_MSG): Likewise.
1723 (POLL_ERR): Likewise.
1724 (POLL_PRI): Likewise.
1725 (POLL_HUP): Likewise.
1726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1727 (ILL_ILLOPN): Likewise.
1728 (ILL_ILLADR): Likewise.
1729 (ILL_ILLTRP): Likewise.
1730 (ILL_PRVOPC): Likewise.
1731 (ILL_PRVREG): Likewise.
1732 (ILL_COPROC): Likewise.
1733 (ILL_BADSTK): Likewise.
1734 (FPE_INTDIV): Likewise.
1735 (FPE_INTOVF): Likewise.
1736 (FPE_FLTDIV): Likewise.
1737 (FPE_FLTOVF): Likewise.
1738 (FPE_FLTUND): Likewise.
1739 (FPE_FLTRES): Likewise.
1740 (FPE_FLTINV): Likewise.
1741 (FPE_FLTSUB): Likewise.
1742 (SEGV_MAPERR): Likewise.
1743 (SEGV_ACCERR): Likewise.
1744 (BUS_ADRALN): Likewise.
1745 (BUS_ADRERR): Likewise.
1746 (BUS_OBJERR): Likewise.
1747 (BUS_MCEERR_AR): Likewise.
1748 (BUS_MCEERR_AO): Likewise.
1749 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1750 (TRAP_TRACE): Likewise.
1751 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1752 __USE_XOPEN2K8].
1753 (CLD_KILLED): Likewise.
1754 (CLD_DUMPED): Likewise.
1755 (CLD_TRAPPED): Likewise.
1756 (CLD_STOPPED): Likewise.
1757 (CLD_CONTINUED): Likewise.
1758 (POLL_IN): Likewise.
1759 (POLL_OUT): Likewise.
1760 (POLL_MSG): Likewise.
1761 (POLL_ERR): Likewise.
1762 (POLL_PRI): Likewise.
1763 (POLL_HUP): Likewise.
1764 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1765 (ILL_ILLOPN): Likewise.
1766 (ILL_ILLADR): Likewise.
1767 (ILL_ILLTRP): Likewise.
1768 (ILL_PRVOPC): Likewise.
1769 (ILL_PRVREG): Likewise.
1770 (ILL_COPROC): Likewise.
1771 (ILL_BADSTK): Likewise.
1772 (ILL_DBLFLT): Likewise.
1773 (ILL_HARDWALL): Likewise.
1774 (FPE_INTDIV): Likewise.
1775 (FPE_INTOVF): Likewise.
1776 (FPE_FLTDIV): Likewise.
1777 (FPE_FLTOVF): Likewise.
1778 (FPE_FLTUND): Likewise.
1779 (FPE_FLTRES): Likewise.
1780 (FPE_FLTINV): Likewise.
1781 (FPE_FLTSUB): Likewise.
1782 (SEGV_MAPERR): Likewise.
1783 (SEGV_ACCERR): Likewise.
1784 (BUS_ADRALN): Likewise.
1785 (BUS_ADRERR): Likewise.
1786 (BUS_OBJERR): Likewise.
1787 (BUS_MCEERR_AR): Likewise.
1788 (BUS_MCEERR_AO): Likewise.
1789 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1790 (TRAP_TRACE): Likewise.
1791 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1792 __USE_XOPEN2K8].
1793 (CLD_KILLED): Likewise.
1794 (CLD_DUMPED): Likewise.
1795 (CLD_TRAPPED): Likewise.
1796 (CLD_STOPPED): Likewise.
1797 (CLD_CONTINUED): Likewise.
1798 (POLL_IN): Likewise.
1799 (POLL_OUT): Likewise.
1800 (POLL_MSG): Likewise.
1801 (POLL_ERR): Likewise.
1802 (POLL_PRI): Likewise.
1803 (POLL_HUP): Likewise.
1804 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1805 (ILL_ILLOPN): Likewise.
1806 (ILL_ILLADR): Likewise.
1807 (ILL_ILLTRP): Likewise.
1808 (ILL_PRVOPC): Likewise.
1809 (ILL_PRVREG): Likewise.
1810 (ILL_COPROC): Likewise.
1811 (ILL_BADSTK): Likewise.
1812 (FPE_INTDIV): Likewise.
1813 (FPE_INTOVF): Likewise.
1814 (FPE_FLTDIV): Likewise.
1815 (FPE_FLTOVF): Likewise.
1816 (FPE_FLTUND): Likewise.
1817 (FPE_FLTRES): Likewise.
1818 (FPE_FLTINV): Likewise.
1819 (FPE_FLTSUB): Likewise.
1820 (SEGV_MAPERR): Likewise.
1821 (SEGV_ACCERR): Likewise.
1822 (BUS_ADRALN): Likewise.
1823 (BUS_ADRERR): Likewise.
1824 (BUS_OBJERR): Likewise.
1825 (BUS_MCEERR_AR): Likewise.
1826 (BUS_MCEERR_AO): Likewise.
1827 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1828 (TRAP_TRACE): Likewise.
1829 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1830 __USE_XOPEN2K8].
1831 (CLD_KILLED): Likewise.
1832 (CLD_DUMPED): Likewise.
1833 (CLD_TRAPPED): Likewise.
1834 (CLD_STOPPED): Likewise.
1835 (CLD_CONTINUED): Likewise.
1836 (POLL_IN): Likewise.
1837 (POLL_OUT): Likewise.
1838 (POLL_MSG): Likewise.
1839 (POLL_ERR): Likewise.
1840 (POLL_PRI): Likewise.
1841 (POLL_HUP): Likewise.
1842 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1843 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1844
bc61d27c
JM
1845 [BZ #16670]
1846 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1847 before #include of <time.h>.
1848 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1849 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1850 (test-xfail-UNIX98/sched.h/conform): Likewise.
1851
302949e2
MS
18522014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1853
1854 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1855 error absence of trapping exception support.
1856 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1857
a00f522a
JM
18582014-03-07 Joseph Myers <joseph@codesourcery.com>
1859
6f99f280
JM
1860 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1861 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1862 * timezone/Makefile (testdata): Move definition above include of
1863 Rules.
1864 (test-zones): New variable.
1865 (tests-special): Add zone files.
1866 (build-testdata): Use $(evaluate-test).
1867
0b20a9e8
JM
1868 * elf/Makefile (tests-special): Rename tests to end with .out.
1869 ($(objpfx)noload-mem): Likewise.
1870 ($(objpfx)tst-leaks1-mem): Likewise.
1871 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1872 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1873 $(objpfx)test-iconvconfig.out.
1874 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1875 set -e inside subshell and redirect output to file.
1876 * iconvdata/Makefile (generated): Rename tests to end with .out.
1877 Correct type.
1878 (tests-special): Rename tests to end with .out.
1879 ($(objpfx)mtrace-tst-loading): Likewise.
1880 * intl/Makefile (generated): Likewise.
1881 (tests-special): Likewise.
1882 ($(objpfx)mtrace-tst-gettext): Likewise.
1883 * misc/Makefile (generated): Likewise.
1884 (tests-special): Likewise.
1885 ($(objpfx)tst-error1-mem): Likewise.
1886 * nptl/Makefile (tests-special): Likewise.
1887 ($(objpfx)tst-stack3-mem): Likewise.
1888 (generated): Likewise.
1889 * posix/Makefile (generated): Likewise.
1890 (tests-special): Likewise.
1891 (xtests-special): Likewise.
1892 ($(objpfx)tst-fnmatch-mem): Likewise.
1893 ($(objpfx)bug-regex2-mem): Likewise.
1894 ($(objpfx)bug-regex14-mem): Likewise.
1895 ($(objpfx)bug-regex21-mem): Likewise.
1896 ($(objpfx)bug-regex31-mem): Likewise.
1897 ($(objpfx)tst-vfork3-mem): Likewise.
1898 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1899 ($(objpfx)tst-pcre-mem): Likewise.
1900 ($(objpfx)tst-boost-mem): Likewise.
1901 ($(objpfx)bug-ga2-mem): Likewise.
1902 ($(objpfx)bug-glob2-mem): Likewise.
1903 * resolv/Makefile (generate): Likewise.
1904 (tests-special): Likewise.
1905 (xtests-special): Likewise.
1906 (generated): Likewise.
1907 ($(objpfx)mtrace-tst-leaks): Likewise.
1908 ($(objpfx)mtrace-tst-leaks2): Likewise.
1909
265d52ab
JM
1910 * scripts/merge-test-results.sh: New file.
1911 * Makefile (tests-special-notdir): New variable.
1912 (tests): Run merge-test-results.sh.
1913 (xtests): Likewise.
1914 * Rules (tests-special-notdir): New variable.
1915 (xtests-special-notdir): Likewise.
1916 (tests): Run merge-test-results.sh
1917 (xtests): Likewise.
1918
54ee292d
JM
1919 * Makeconfig (test-xfail-name): New variable.
1920 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1921 compute variable name for expected failures.
1922 * conform/Makefile (conformtest-headers-data): New variable.
1923 (conformtest-standards): Likewise.
1924 (conformtest-headers-ISO): Likewise.
1925 (conformtest-headers-ISO99): Likewise.
1926 (conformtest-headers-ISO11): Likewise.
1927 (conformtest-headers-POSIX): Likewise.
1928 (conformtest-headers-XPG3): Likewise.
1929 (conformtest-headers-XPG4): Likewise.
1930 (conformtest-headers-UNIX98): Likewise.
1931 (conformtest-headers-XOPEN2K): Likewise.
1932 (conformtest-headers-POSIX2008): Likewise.
1933 (conformtest-headers-XOPEN2K8): Likewise.
1934 (conformtest-header-list-base): Likewise.
1935 (conformtest-header-list-tests): Likewise.
1936 (conformtest-header-base): Likewise.
1937 (conformtest-header-tests): Likewise.
1938 (tests-special): Add $(conformtest-header-list-tests). If
1939 [$(fast-check) && !$(cross-compiling)], add
1940 $(conformtest-header-tests) instead of
1941 $(objpfx)run-conformtest.out.
1942 (generated): Add $(conformtest-header-list-base). If
1943 [$(fast-check) && !$(cross-compiling)], add
1944 $(conformtest-header-base). Remove previous setting.
1945 ($(conformtest-header-list-tests)): New target.
1946 (test-xfail-run-conformtest): Remove variable.
1947 ($(objpfx)run-conformtest.out): Remove target.
1948 (test-xfail-ISO11/complex.h/conform): New variable.
1949 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1950 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1951 (test-xfail-XPG3/varargs.h/conform): Likewise.
1952 (test-xfail-XPG4/varargs.h/conform): Likewise.
1953 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1954 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1955 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1956 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1957 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1958 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1959 (test-xfail-XPG3/ftw.h/conform): Likewise.
1960 (test-xfail-XPG3/grp.h/conform): Likewise.
1961 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1962 (test-xfail-XPG3/limits.h/conform): Likewise.
1963 (test-xfail-XPG3/pwd.h/conform): Likewise.
1964 (test-xfail-XPG3/search.h/conform): Likewise.
1965 (test-xfail-XPG3/signal.h/conform): Likewise.
1966 (test-xfail-XPG3/stdio.h/conform): Likewise.
1967 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1968 (test-xfail-XPG3/string.h/conform): Likewise.
1969 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1970 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1971 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1972 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1973 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1974 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1975 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1976 (test-xfail-XPG3/termios.h/conform): Likewise.
1977 (test-xfail-XPG3/time.h/conform): Likewise.
1978 (test-xfail-XPG3/unistd.h/conform): Likewise.
1979 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1980 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1981 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1982 (test-xfail-XPG4/netdb.h/conform): Likewise.
1983 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1984 (test-xfail-XPG4/signal.h/conform): Likewise.
1985 (test-xfail-XPG4/stdio.h/conform): Likewise.
1986 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1987 (test-xfail-XPG4/stropts.h/conform): Likewise.
1988 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1989 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1990 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1991 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1992 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1993 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1994 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1995 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1996 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1997 (test-xfail-XPG4/termios.h/conform): Likewise.
1998 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1999 (test-xfail-XPG4/unistd.h/conform): Likewise.
2000 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2001 (test-xfail-POSIX/sched.h/conform): Likewise.
2002 (test-xfail-POSIX/signal.h/conform): Likewise.
2003 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2004 (test-xfail-POSIX/tar.h/conform): Likewise.
2005 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2006 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2007 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2008 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2009 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2010 (test-xfail-UNIX98/sched.h/conform): Likewise.
2011 (test-xfail-UNIX98/signal.h/conform): Likewise.
2012 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2013 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2014 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2015 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2016 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2017 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2018 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2019 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2020 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2021 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2022 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2023 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2024 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2025 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2026 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2027 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2028 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2029 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2030 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2031 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2032 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2033 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2034 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2035 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2036 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2037 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2038 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2039 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2040 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2041 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2042 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2043 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2044 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2045 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2046 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2047 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2048 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2049 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2050 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2051 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2052 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2053 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2054 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2055 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2056 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2057 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2058 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2059 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2060 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2061 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2062 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2063 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2064 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2065 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2066 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2067 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2068 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2069 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2070 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2071 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2072 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2073 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2074 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2075 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2076 (conformtest-cc-flags): Likewise.
2077 ($(conformtest-header-tests): New target.
2078 * conform/check-header-lists.sh: New file.
2079 * conform/run-conformtest.sh: Remove.
2080
a00f522a
JM
2081 * conform/conformtest.pl: Allow ' and \ in values given for
2082 constants.
2083 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2084 inclusion.
2085 [POSIX] (sys/types.h): Likewise.
2086 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2087 inclusion.
2088 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2089 inclusion.
2090 * conform/data/signal.h-data (SIGIO): Remove expectation.
2091 [XPG3] (SIGBUS): Do not expect.
2092 [POSIX || XPG3] (SIGPOLL): Likewise.
2093 [POSIX || XPG3] (SIGPROF): Likewise.
2094 [POSIX || XPG3] (SIGSYS): Likewise.
2095 [XPG3] (SIGTRAP): Likewise.
2096 [POSIX || XPG3] (SIGURG): Likewise.
2097 [POSIX || XPG3] (SIGVTALRM): Likewise.
2098 [POSIX || XPG3] (SIGXCPU): Likewise.
2099 [POSIX || XPG3] (SIGXFSZ): Likewise.
2100 [POSIX] (SA_SIGINFO): Expect.
2101 [XPG3] (siginfo_t): Do not expect type or contents.
2102 [POSIX] (si_pid): Do not expect element.
2103 [POSIX] (si_uid): Likewise.
2104 [POSIX] (si_addr): Likewise.
2105 [POSIX] (si_status): Likewise.
2106 [POSIX] (si_band): Likewise.
2107 [XPG4] (si_value): Likewise.
2108 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2109 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2110 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2111 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2112 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2113 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2114 [POSIX || XPG3] (ILL_COPROC): Likewise.
2115 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2116 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2117 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2118 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2119 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2120 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2121 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2122 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2123 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2124 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2125 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2126 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2127 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2128 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2129 [POSIX || XPG3] (CLD_EXITED): Likewise.
2130 [POSIX || XPG3] (CLD_KILLED): Likewise.
2131 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2132 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2133 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2134 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2135 [POSIX || XPG3] (POLL_IN): Likewise.
2136 [POSIX || XPG3] (POLL_OUT): Likewise.
2137 [POSIX || XPG3] (POLL_MSG): Likewise.
2138 [POSIX || XPG3] (POLL_ERR): Likewise.
2139 [POSIX || XPG3] (POLL_PRI): Likewise.
2140 [POSIX || XPG3] (POLL_HUP): Likewise.
2141 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2142 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2143 (SIG*): Do not allow.
2144 [XPG3] (si_*): Likewise.
2145 [XPG3] (SI_*): Likewise.
2146 [XPG3 || XPG4] (sigev_*): Likewise.
2147 [XPG3 || XPG4] (SIGEV_*): Likewise.
2148 [XPG3 || XPG4] (sival_*): Likewise.
2149 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2150 [POSIX || XPG3] (BUS_*): Likewise.
2151 [POSIX || XPG3] (CLD_*): Likewise.
2152 [POSIX || XPG3] (FPE_*): Likewise.
2153 [POSIX || XPG3] (ILL_*): Likewise.
2154 [POSIX || XPG3] (POLL_*): Likewise.
2155 [POSIX || XPG3] (SEGV_*): Likewise.
2156 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2157 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2158 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2159 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2160 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2161 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2162 Specify type and value.
2163 (TVERSLEN): Likewise.
2164 (REGTYPE): Likewise.
2165 (AREGTYPE): Likewise.
2166 (LNKTYPE): Likewise.
2167 (SYMTYPE): Likewise.
2168 (CHRTYPE): Likewise.
2169 (BLKTYPE): Likewise.
2170 (DIRTYPE): Likewise.
2171 (FIFOTYPE): Likewise.
2172 (CONTTYPE): Likewise.
2173 (TSUID): Likewise.
2174 (TSGID): Likewise.
2175 (TSVTX): Likewise.
2176 (TUREAD): Likewise.
2177 (TUWRITE): Likewise.
2178 (TUEXEC): Likewise.
2179 (TGREAD): Likewise.
2180 (TGWRITE): Likewise.
2181 (TGEXEC): Likewise.
2182 (TOREAD): Likewise.
2183 (TOWRITE): Likewise.
2184 (TOEXEC): Likewise.
2185 [POSIX] (TSVTX): Expect constant.
2186
aa97dee1
JM
21872014-03-06 Joseph Myers <joseph@codesourcery.com>
2188
f214606a
JM
2189 * Makefile (tests): Change dependencies to ....
2190 (tests-special): ... additions to this variable.
2191 (tests): Depend on $(tests-special).
2192 * Makerules (check-abi-list): New variable.
2193 (check-abi): Depend on $(check-abi-list).
2194 [$(subdir) = elf] (tests-special): Add
2195 $(objpfx)check-abi-libc.out.
2196 [$(build-shared) = yes && subdir] (tests-special): Add
2197 $(check-abi-list).
2198 [$(build-shared) = yes && subdir] (tests): Do not depend on
2199 check-abi.
2200 * Rules (tests): Depend on $(tests-special).
2201 (xtests): Depend on $(xtests-special).
2202 * catgets/Makefile (tests): Change dependencies to ....
2203 (tests-special): ... additions to this variable.
2204 * conform/Makefile (tests): Change dependencies to ....
2205 (tests-special): ... additions to this variable.
2206 * elf/Makefile (tests): Change dependencies to ....
2207 (tests-special): ... additions to this variable.
2208 * grp/Makefile (tests): Change dependencies to ....
2209 (tests-special): ... additions to this variable.
2210 * iconv/Makefile (xtests): Change dependencies to ....
2211 (xtests-special): ... additions to this variable.
2212 * iconvdata/Makefile (tests): Change dependencies to ....
2213 (tests-special): ... additions to this variable.
2214 * intl/Makefile (tests): Change dependencies to ....
2215 (tests-special): ... additions to this variable. Also add
2216 $(objpfx)tst-gettext.out.
2217 * io/Makefile (tests): Change dependencies to ....
2218 (tests-special): ... additions to this variable.
2219 * libio/Makefile (tests): Change dependencies to ....
2220 (tests-special): ... additions to this variable.
2221 * malloc/Makefile (tests): Change dependencies to ....
2222 (tests-special): ... additions to this variable.
2223 * misc/Makefile (tests): Change dependencies to ....
2224 (tests-special): ... additions to this variable.
2225 * nptl/Makefile (tests): Change dependencies to ....
2226 (tests-special): ... additions to this variable.
2227 * nptl_db/Makefile (tests): Change dependencies to ....
2228 (tests-special): ... additions to this variable.
2229 * posix/Makefile (tests): Change dependencies to ....
2230 (tests-special): ... additions to this variable.
2231 (xtests): Change dependencies to ....
2232 (xtests-special): ... additions to this variable.
2233 * resolv/Makefile (tests): Change dependencies to ....
2234 (tests-special): ... additions to this variable.
2235 (xtests): Change dependencies to ....
2236 (xtests-special): ... additions to this variable.
2237 * stdio-common/Makefile (tests): Change dependencies to ....
2238 (tests-special): ... additions to this variable.
2239 (do-tst-unbputc): Remove target.
2240 (do-tst-printf): Likewise.
2241 * stdlib/Makefile (tests): Change dependencies to ....
2242 (tests-special): ... additions to this variable.
2243 * string/Makefile (tests): Change dependencies to ....
2244 (tests-special): ... additions to this variable.
2245 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2246 (tests-special): ... additions to this variable.
2247
81700b53
JM
2248 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2249 whole file.
2250 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2251 whole file.
2252 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2253 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2254
2ea18461
JM
2255 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2256 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2257 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2258 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2259 * conform/data/libgen.h-data [XPG3]: Likewise.
2260 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2261 * conform/data/ndbm.h-data [XPG3]: Likewise.
2262 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2263 * conform/data/netdb.h-data [XPG3]: Likewise.
2264 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2265 * conform/data/poll.h-data [XPG3]: Likewise.
2266 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2267 * conform/data/strings.h-data [XPG3]: Likewise.
2268 * conform/data/stropts.h-data [XPG3]: Likewise.
2269 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2270 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2271 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2272 Likewise.
2273 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2274 * conform/data/sys/time.h-data [XPG3]: Likewise.
2275 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2276 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2277 * conform/data/sys/un.h-data [XPG3]: Likewise.
2278 * conform/data/syslog.h-data [XPG3]: Likewise.
2279 * conform/data/ucontext.h-data [XPG3]: Likewise.
2280 * conform/data/utmpx.h-data [XPG3]: Likewise.
2281 * conform/data/varargs.h-data [UNIX98]: Enable file.
2282
355bc986
JM
2283 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2284
215db402
JM
2285 * math/libm-test.inc (struct test_f_f_data): Move expected results
2286 into structure for each rounding mode.
2287 (struct test_ff_f_data): Likewise.
2288 (struct test_ff_f_data_nexttoward): Likewise.
2289 (struct test_fi_f_data): Likewise.
2290 (struct test_fl_f_data): Likewise.
2291 (struct test_if_f_data): Likewise.
2292 (struct test_fff_f_data): Likewise.
2293 (struct test_c_f_data): Likewise.
2294 (struct test_f_f1_data): Likewise.
2295 (struct test_fF_f1_data): Likewise.
2296 (struct test_ffI_f1_data): Likewise.
2297 (struct test_c_c_data): Likewise.
2298 (struct test_cc_c_data): Likewise.
2299 (struct test_f_i_data): Likewise.
2300 (struct test_ff_i_data): Likewise.
2301 (struct test_f_l_data): Likewise.
2302 (struct test_f_L_data): Likewise.
2303 (struct test_fFF_11_data): Likewise.
2304 (RM_): New macro.
2305 (RM_FE_DOWNWARD): Likewise.
2306 (RM_FE_TONEAREST): Likewise.
2307 (RM_FE_TOWARDZERO): Likewise.
2308 (RM_FE_UPWARD): Likewise.
2309 (RUN_TEST_LOOP_f_f): Update references to expected results.
2310 (RUN_TEST_LOOP_2_f): Likewise.
2311 (RUN_TEST_LOOP_fff_f): Likewise.
2312 (RUN_TEST_LOOP_c_f): Likewise.
2313 (RUN_TEST_LOOP_f_f1): Likewise.
2314 (RUN_TEST_LOOP_fF_f1): Likewise.
2315 (RUN_TEST_LOOP_fI_f1): Likewise.
2316 (RUN_TEST_LOOP_ffI_f1): Likewise.
2317 (RUN_TEST_LOOP_c_c): Likewise.
2318 (RUN_TEST_LOOP_cc_c): Likewise.
2319 (RUN_TEST_LOOP_f_i): Likewise.
2320 (RUN_TEST_LOOP_f_i_tg): Likewise.
2321 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2322 (RUN_TEST_LOOP_f_b): Likewise.
2323 (RUN_TEST_LOOP_f_b_tg): Likewise.
2324 (RUN_TEST_LOOP_f_l): Likewise.
2325 (RUN_TEST_LOOP_f_L): Likewise.
2326 (RUN_TEST_LOOP_fFF_11): Likewise.
2327 * math/gen-libm-test.pl (parse_args): Output four copies of
2328 expected results for each test.
2329
67737b8f
JM
2330 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2331 (__ASSUME_UTIMES): Remove.
2332 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2333 (__ASSUME_UTIMES): Likewise.
2334
aa97dee1
JM
2335 * math/gen-auto-libm-tests.c: Update comment on output format.
2336 (output_for_one_input_case): Generate before-rounding and
2337 after-rounding information as conditions on output flags not
2338 floating-point format.
2339 * math/auto-libm-test-out: Regenerated.
2340 * math/gen-libm-test.pl (cond_value): New function.
2341 (or_cond_value): Use cond_value.
2342 (generate_testfile): Handle conditional exceptions.
2343
e6b6a857
JM
23442014-03-05 Joseph Myers <joseph@codesourcery.com>
2345
2f0a0f44
JM
2346 * math/libm-test.inc (max_valid_error): New variable.
2347 (init_max_error): Take new argument specifying whether function
2348 results are exactly determined. Set max_valid_error and bound
2349 other variables for errors based on this argument.
2350 (set_max_error): Do not record results above max_valid_error.
2351 (check_float_internal): Only accept errors of up to 0.5ulps if
2352 also at most max_valid_error.
2353 (START): Take new argument EXACT and pass it to init_max_error.
2354 (acos_test): Update call to START.
2355 (acos_test_tonearest): Likewise.
2356 (acos_test_towardzero): Likewise.
2357 (acos_test_downward): Likewise.
2358 (acos_test_upward): Likewise.
2359 (acosh_test): Likewise.
2360 (asin_test): Likewise.
2361 (asin_test_tonearest): Likewise.
2362 (asin_test_towardzero): Likewise.
2363 (asin_test_downward): Likewise.
2364 (asin_test_upward): Likewise.
2365 (asinh_test): Likewise.
2366 (atan_test): Likewise.
2367 (atanh_test): Likewise.
2368 (atan2_test): Likewise.
2369 (cabs_test): Likewise.
2370 (cacos_test): Likewise.
2371 (cacosh_test): Likewise.
2372 (carg_test): Likewise.
2373 (casin_test): Likewise.
2374 (casinh_test): Likewise.
2375 (catan_test): Likewise.
2376 (catanh_test): Likewise.
2377 (cbrt_test): Likewise.
2378 (ccos_test): Likewise.
2379 (ccosh_test): Likewise.
2380 (ceil_test): Likewise.
2381 (cexp_test): Likewise.
2382 (cimag_test): Likewise.
2383 (clog_test): Likewise.
2384 (clog10_test): Likewise.
2385 (conj_test): Likewise.
2386 (copysign_test): Likewise.
2387 (cos_test): Likewise.
2388 (cos_test_tonearest): Likewise.
2389 (cos_test_towardzero): Likewise.
2390 (cos_test_downward): Likewise.
2391 (cos_test_upward): Likewise.
2392 (cosh_test): Likewise.
2393 (cosh_test_tonearest): Likewise.
2394 (cosh_test_towardzero): Likewise.
2395 (cosh_test_downward): Likewise.
2396 (cosh_test_upward): Likewise.
2397 (cpow_test): Likewise.
2398 (cproj_test): Likewise.
2399 (creal_test): Likewise.
2400 (csin_test): Likewise.
2401 (csinh_test): Likewise.
2402 (csqrt_test): Likewise.
2403 (ctan_test): Likewise.
2404 (ctan_test_tonearest): Likewise.
2405 (ctan_test_towardzero): Likewise.
2406 (ctan_test_downward): Likewise.
2407 (ctan_test_upward): Likewise.
2408 (ctanh_test): Likewise.
2409 (ctanh_test_tonearest): Likewise.
2410 (ctanh_test_towardzero): Likewise.
2411 (ctanh_test_downward): Likewise.
2412 (ctanh_test_upward): Likewise.
2413 (erf_test): Likewise.
2414 (erfc_test): Likewise.
2415 (exp_test): Likewise.
2416 (exp_test_tonearest): Likewise.
2417 (exp_test_towardzero): Likewise.
2418 (exp_test_downward): Likewise.
2419 (exp_test_upward): Likewise.
2420 (exp10_test): Likewise.
2421 (exp10_test_tonearest): Likewise.
2422 (exp10_test_towardzero): Likewise.
2423 (exp10_test_downward): Likewise.
2424 (exp10_test_upward): Likewise.
2425 (pow10_test): Likewise.
2426 (exp2_test): Likewise.
2427 (expm1_test): Likewise.
2428 (expm1_test_tonearest): Likewise.
2429 (expm1_test_towardzero): Likewise.
2430 (expm1_test_downward): Likewise.
2431 (expm1_test_upward): Likewise.
2432 (fabs_test): Likewise.
2433 (fdim_test): Likewise.
2434 (floor_test): Likewise.
2435 (fma_test): Likewise.
2436 (fma_test_towardzero): Likewise.
2437 (fma_test_downward): Likewise.
2438 (fma_test_upward): Likewise.
2439 (fmax_test): Likewise.
2440 (fmin_test): Likewise.
2441 (fmod_test): Likewise.
2442 (fpclassify_test): Likewise.
2443 (frexp_test): Likewise.
2444 (hypot_test): Likewise.
2445 (ilogb_test): Likewise.
2446 (isfinite_test): Likewise.
2447 (finite_test): Likewise.
2448 (isgreater_test): Likewise.
2449 (isgreaterequal_test): Likewise.
2450 (isinf_test): Likewise.
2451 (isless_test): Likewise.
2452 (islessequal_test): Likewise.
2453 (islessgreater_test): Likewise.
2454 (isnan_test): Likewise.
2455 (isnormal_test): Likewise.
2456 (issignaling_test): Likewise.
2457 (isunordered_test): Likewise.
2458 (j0_test): Likewise.
2459 (j1_test): Likewise.
2460 (jn_test): Likewise.
2461 (ldexp_test): Likewise.
2462 (lgamma_test): Likewise.
2463 (gamma_test): Likewise.
2464 (lrint_test): Likewise.
2465 (lrint_test_tonearest): Likewise.
2466 (lrint_test_towardzero): Likewise.
2467 (lrint_test_downward): Likewise.
2468 (lrint_test_upward): Likewise.
2469 (llrint_test): Likewise.
2470 (llrint_test_tonearest): Likewise.
2471 (llrint_test_towardzero): Likewise.
2472 (llrint_test_downward): Likewise.
2473 (llrint_test_upward): Likewise.
2474 (log_test): Likewise.
2475 (log10_test): Likewise.
2476 (log1p_test): Likewise.
2477 (log2_test): Likewise.
2478 (logb_test): Likewise.
2479 (logb_test_downward): Likewise.
2480 (lround_test): Likewise.
2481 (llround_test): Likewise.
2482 (modf_test): Likewise.
2483 (nearbyint_test): Likewise.
2484 (nextafter_test): Likewise.
2485 (nexttoward_test): Likewise.
2486 (pow_test): Likewise.
2487 (pow_test_tonearest): Likewise.
2488 (pow_test_towardzero): Likewise.
2489 (pow_test_downward): Likewise.
2490 (pow_test_upward): Likewise.
2491 (remainder_test): Likewise.
2492 (drem_test): Likewise.
2493 (remainder_test_tonearest): Likewise.
2494 (drem_test_tonearest): Likewise.
2495 (remainder_test_towardzero): Likewise.
2496 (drem_test_towardzero): Likewise.
2497 (remainder_test_downward): Likewise.
2498 (drem_test_downward): Likewise.
2499 (remainder_test_upward): Likewise.
2500 (drem_test_upward): Likewise.
2501 (remquo_test): Likewise.
2502 (rint_test): Likewise.
2503 (rint_test_tonearest): Likewise.
2504 (rint_test_towardzero): Likewise.
2505 (rint_test_downward): Likewise.
2506 (rint_test_upward): Likewise.
2507 (round_test): Likewise.
2508 (scalb_test): Likewise.
2509 (scalbn_test): Likewise.
2510 (scalbln_test): Likewise.
2511 (signbit_test): Likewise.
2512 (sin_test): Likewise.
2513 (sin_test_tonearest): Likewise.
2514 (sin_test_towardzero): Likewise.
2515 (sin_test_downward): Likewise.
2516 (sin_test_upward): Likewise.
2517 (sincos_test): Likewise.
2518 (sinh_test): Likewise.
2519 (sinh_test_tonearest): Likewise.
2520 (sinh_test_towardzero): Likewise.
2521 (sinh_test_downward): Likewise.
2522 (sinh_test_upward): Likewise.
2523 (sqrt_test): Likewise.
2524 (sqrt_test_tonearest): Likewise.
2525 (sqrt_test_towardzero): Likewise.
2526 (sqrt_test_downward): Likewise.
2527 (sqrt_test_upward): Likewise.
2528 (tan_test): Likewise.
2529 (tan_test_tonearest): Likewise.
2530 (tan_test_towardzero): Likewise.
2531 (tan_test_downward): Likewise.
2532 (tan_test_upward): Likewise.
2533 (tanh_test): Likewise.
2534 (tgamma_test): Likewise.
2535 (trunc_test): Likewise.
2536 (y0_test): Likewise.
2537 (y1_test): Likewise.
2538 (yn_test): Likewise.
2539 (significand_test): Likewise.
2540
e6b6a857
JM
2541 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2542 individual tests in comment.
2543 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2544 (prev_max_error): New variable.
2545 (prev_real_max_error): Likewise.
2546 (prev_imag_max_error): Likewise.
2547 (compare_ulp_data): Don't refer to test names in comment.
2548 (find_test_ulps): Remove function.
2549 (find_function_ulps): Likewise.
2550 (find_complex_function_ulps): Likewise.
2551 (init_max_error): Take function name as argument. Look up ulps
2552 for that function.
2553 (print_ulps): Remove function.
2554 (print_max_error): Use prev_max_error instead of calling
2555 find_function_ulps.
2556 (print_complex_max_error): Use prev_real_max_error and
2557 prev_imag_max_error instead of calling find_complex_function_ulps.
2558 (check_float_internal): Take max_ulp parameter instead of calling
2559 find_test_ulps. Don't call print_ulps.
2560 (check_float): Update call to check_float_internal.
2561 (check_complex): Update calls to check_float_internal.
2562 (START): Pass argument to init_max_error.
2563 * math/gen-libm-test.pl (%results): Don't include "kind"
2564 information.
2565 (parse_ulps): Don't handle ulps of individual tests.
2566 (print_ulps_file): Likewise.
2567 (output_ulps): Likewise.
2568 * math/README.libm-test: Update.
2569 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2570 individual tests.
2571 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2572 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2573 * sysdeps/arm/libm-test-ulps: Likewise.
2574 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2575 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2576 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2577 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2578 * sysdeps/microblaze/libm-test-ulps: Likewise.
2579 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2580 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2581 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2582 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2583 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2584 * sysdeps/sh/libm-test-ulps: Likewise.
2585 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2586 * sysdeps/tile/libm-test-ulps: Likewise.
2587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2588
45adef3c
JM
25892014-03-04 Joseph Myers <joseph@codesourcery.com>
2590
2591 * math/libm-test.inc (print_complex_max_error): Check separately
2592 whether real and imaginary errors are within allowed range and
2593 pass 0 to print_complex_function_ulps instead of value within
2594 allowed range.
2595
000232b9
SP
25962014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2597
d4b17258
SP
2598 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2599 formatting.
2600 (get_handles_fopen): Likewise.
2601 (do_write_test): Likewise.
2602
091eff71
SP
2603 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2604
fa3cd248
SP
2605 * libio/fileops.c (do_ftell): Use cached offset when
2606 available.
2607 * libio/iofwide.c (do_ftell_wide): Likewise.
2608 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2609 _IO_file_attach.
2610 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2611
000232b9
SP
2612 [BZ #16532]
2613 * libio/libioP.h (get_file_offset): New function.
2614 * libio/fileops.c (get_file_offset): Likewise.
2615 (do_ftell): Likewise.
2616 (_IO_new_file_seekoff): Split out ftell logic.
2617 * libio/wfileops.c (do_ftell_wide): Likewise.
2618 (_IO_wfile_seekoff): Split out ftell logic.
2619 * libio/tst-ftell-active-handler.c: New test case.
2620 * libio/Makefile (tests): Add it.
2621
116f4d1a
RM
26222014-03-03 Roland McGrath <roland@hack.frob.com>
2623
2624 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2625 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2626
532a6035
SP
26272014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2628
2629 [BZ #16639]
2630 * nscd/connections.c (nscd_init): Call do_exit.
2631 (start_threads): Call do_exit and notify_parent.
2632 (begin_drop_privileges): Call do_exit.
2633 (finish_drop_privileges): Likewise.
2634 * nscd/selinux.c (preserve_capabilities): Likewise.
2635 (install_real_capabilities): Likewise.
2636 (nscd_selinux_enabled): Likewise.
2637 (avc_create_thread): Likewise.
2638 (avc_alloc_lock): Likewise.
2639 (nscd_avc_init): Likewise.
2640 * nscd/nscd.c (parent_fd): New static variable.
2641 (main): Create a pipe between parent and child processes.
2642 Skip closing parent_fd.
2643 (monitor_child): New function.
2644 (do_exit): Likewise.
2645 (notify_parent): Likewise.
2646 * nscd/nscd.h (notify_parent): Likewise.
2647 (do_exit): Likewise.
2648
d6285c9f
CD
26492014-03-03 Carlos O'Donell <carlos@redhat.com>
2650
2651 * malloc/malloc.c (__libc_calloc): Revert last change.
2652
2b85d2a0
AZ
26532014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2654
2655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2656
c7debbdf
RS
26572014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2658
2659 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2661 implementation.
2662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2663 (__libc_ifunc_impl_list): Likewise.
2664 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2665 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2666 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2667 * string/strrchr.c: Define STRRCHR.
2668
235eed86
OB
26692014-02-28 Ondřej Bílka <neleai@seznam.cz>
2670
2671 * benchtest/bench-strtok.c (simple_strtok): Delete.
2672 (strtok_string): Use as benchmark.
2673 * string/strtok (STRTOK): New macro.
2674
8e25d1e7
CD
26752014-02-28 Carlos O'Donell <carlos@redhat.com>
2676
ef563f92
CD
2677 * manual/threads.texi: Add header and standard comments to all
2678 functions.
2679
8e25d1e7
CD
2680 * elf/dl-lookup.c (check_match): New function.
2681 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2682 (do_lookup_x): Remove nested function check_match. Use non-nested
2683 function check_match.
2684
ff71cc37
RM
26852014-02-28 Roland McGrath <roland@hack.frob.com>
2686
f08e9a26
RM
2687 * csu/Makefile (generated, before-compile): Use += rather than =.
2688 * catgets/Makefile (generated, generated-dirs): Likewise.
2689 * debug/Makefile (generated): Likewise.
2690 * dlfcn/Makefile (generated): Likewise.
2691 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2692 * iconvdata/Makefile (before-compile, generated): Likewise.
2693 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2694 * libio/Makefile (generated): Likewise.
2695 * malloc/Makefile (generated): Likewise.
2696 * manual/Makefile (generated, generated-dirs): Likewise.
2697 * misc/Makefile (generated): Likewise.
2698 * posix/Makefile (generated): Likewise.
2699 * resolv/Makefile (generated): Likewise.
2700 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2701 * timezone/Makefile (generated, generated-dirs): Likewise.
2702
ff71cc37
RM
2703 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2704
fe13a20c
AZ
27052014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2706
2707 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2708 implementation.
2709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2710 POWER8 llround ifunc implementation.
2711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2712 POWER8 implementation.
2713 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2714 POWER8 llround implementation.
2715
1ad8950a
AZ
27162014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2717
2718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2719 implementation.
2720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2721 POWER8 llrint ifunc implementation.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2723 POWER8 implementation.
2724 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2725 POWER8 llrint implementation.
2726
cac626d6
AZ
27272014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2728
2729 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2730 implementation.
2731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2732 POWER8 finite ifunc implementation.
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2734 POWER8 implementation.
2735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2736 Likewise.
2737 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2738 POWER8 finite implementation.
2739 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2740
4393fc11
AZ
27412014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2742
2743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2744 implementation.
2745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2746 POWER8 isinf ifunc implementation.
2747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2748 POWER8 implementation.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2750 Likewise.
2751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2752 POWER8 isinf implementation.
2753 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2754
487972ae
AZ
27552014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2756
2757 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2758 Add hwcap2 initialization.
2759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2760 implementation.
2761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2762 POWER8 isnan ifunc implementation.
2763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2764 POWER8 implementation.
2765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2766 Likewise.
2767 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2768 POWER8 isnan implementation.
2769 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2770
7d92b787
JY
27712014-02-27 Joey Ye <joey.ye@arm.com>
2772
2773 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2774 (_FP_NANFRAC_Q): Set to zero.
2775
1cadc858
SP
27762014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2777
2778 [BZ #16623]
2779 * math/auto-libm-test-in: New test inputs.
2780 * math/auto-libm-test-out: Regenerate.
2781 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2782 and DA.
2783 (__cos): Likewise.
2784 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2785
f8c17e79
JM
27862014-02-27 Joseph Myers <joseph@codesourcery.com>
2787
2788 * scripts/evaluate-test.sh: Take new argument indicating whether
2789 failure is expected.
2790 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2791 indicating whether failure is expected.
2792 * conform/Makefile (test-xfail-run-conformtest): New variable.
2793 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2794 level.
2795 * posix/Makefile (test-xfail-annexc): New variable.
2796 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2797
a5f891ac
JM
27982014-02-26 Joseph Myers <joseph@codesourcery.com>
2799
2800 * argp/Makefile: Include Makeconfig immediately after defining
2801 subdir.
2802 * assert/Makefile: Likewise.
2803 * benchtests/Makefile: Likewise.
2804 * catgets/Makefile: Likewise.
2805 * conform/Makefile: Likewise.
2806 * crypt/Makefile: Likewise.
2807 * csu/Makefile: Likewise.
2808 (all): Remove target.
2809 * ctype/Makefile: Include Makeconfig immediately after defining
2810 subdir.
2811 * debug/Makefile: Likewise.
2812 * dirent/Makefile: Likewise.
2813 * dlfcn/Makefile: Likewise.
2814 * gmon/Makefile: Likewise.
2815 * gnulib/Makefile: Likewise.
2816 * grp/Makefile: Likewise.
2817 * gshadow/Makefile: Likewise.
2818 * hesiod/Makefile: Likewise.
2819 * hurd/Makefile: Likewise.
2820 (all): Remove target.
2821 * iconvdata/Makefile: Include Makeconfig immediately after
2822 defining subdir.
2823 * inet/Makefile: Likewise.
2824 * intl/Makefile: Likewise.
2825 * io/Makefile: Likewise.
2826 * libio/Makefile: Likewise.
2827 (all): Remove target.
2828 * locale/Makefile: Include Makeconfig immediately after defining
2829 subdir.
2830 * login/Makefile: Likewise.
2831 * mach/Makefile: Likewise.
2832 (all): Remove target.
2833 * malloc/Makefile: Include Makeconfig immediately after defining
2834 subdir.
2835 (all): Remove target.
2836 * manual/Makefile: Include Makeconfig immediately after defining
2837 subdir.
2838 * math/Makefile: Likewise.
2839 * misc/Makefile: Likewise.
2840 * nis/Makefile: Likewise.
2841 * nss/Makefile: Likewise.
2842 * po/Makefile: Likewise.
2843 (all): Remove target.
2844 * posix/Makefile: Include Makeconfig immediately after defining
2845 subdir.
2846 * pwd/Makefile: Likewise.
2847 * resolv/Makefile: Likewise.
2848 * resource/Makefile: Likewise.
2849 * rt/Makefile: Likewise.
2850 * setjmp/Makefile: Likewise.
2851 * shadow/Makefile: Likewise.
2852 * signal/Makefile: Likewise.
2853 * socket/Makefile: Likewise.
2854 * soft-fp/Makefile: Likewise.
2855 * stdio-common/Makefile: Likewise.
2856 * stdlib/Makefile: Likewise.
2857 * streams/Makefile: Likewise.
2858 * string/Makefile: Likewise.
2859 * sunrpc/Makefile: Likewise.
2860 (all): Remove target.
2861 * sysvipc/Makefile: Include Makeconfig immediately after defining
2862 subdir.
2863 * termios/Makefile: Likewise.
2864 * time/Makefile: Likewise.
2865 * timezone/Makefile: Likewise.
2866 (all): Remove target.
2867 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2868 subdir.
2869 * wctype/Makefile: Likewise.
2870
5b456e9d
SE
28712014-02-26 Steve Ellcey <sellcey@mips.com>
2872
2873 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2874 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2875 (libc_feholdexcept_setround_mips): Ditto.
2876 (libc_feholdsetround): New.
2877 (libc_feholdsetroundf): New.
2878 (libc_feholdsetroundl): New.
2879 (libc_feupdateenv_test_mips): New.
2880 (libc_feupdateenv_test): New.
2881 (libc_feupdateenv_testf): New.
2882 (libc_feupdateenv_testl): New.
2883 (libc_feresetround): New.
2884 (libc_feresetroundf): New.
2885 (libc_feresetroundl): New.
2886 (libc_fetestexcept_mips): New.
2887 (libc_fetestexcept): New.
2888 (libc_fetestexceptf): New.
2889 (libc_fetestexceptl): New.
2890 (HAVE_RM_CTX): New.
2891 (libc_feholdexcept_setround_mips_ctx): New.
2892 (libc_feholdexcept_setround_ctx): New.
2893 (libc_feholdexcept_setroundf_ctx): New.
2894 (libc_feholdexcept_setroundl_ctx): New.
2895 (libc_fesetenv_mips_ctx): New.
2896 (libc_fesetenv_ctx): New.
2897 (libc_fesetenv_ctxf): New.
2898 (libc_fesetenv_ctxl): New.
2899 (libc_feupdateenv_mips_ctx): New.
2900 (libc_feupdateenv_ctx): New.
2901 (libc_feupdateenvf_ctx): New.
2902 (libc_feupdateenvl_ctx): New.
2903 (libc_feholdsetround_mips_ctx): New.
2904 (libc_feholdsetround_ctx): New.
2905 (libc_feholdsetroundf_ctx): New.
2906 (libc_feholdsetroundl_ctx): New.
2907 (libc_feresetround_mips_ctx): New.
2908 (libc_feresetround_ctx): New.
2909 (libc_feresetroundf_ctx): New.
2910 (libc_feresetroundl_ctx): New.
2911
085d0e35
CD
29122014-02-26 Carlos O'Donell <carlos@redhat.com>
2913
f067bf1f
CD
2914 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2915
085d0e35
CD
2916 * manual/ipc.texi: New file.
2917 * manual/Makefile (chapters): Add ipc.
2918 * manual/job.texi: Add "Inter-Process Communication" to next.
2919 * manual/process.texi: Add "Inter-Process Communication" to prev.
2920
86e58c08
AZ
29212014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2922
2923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2924
4248f0da
OB
29252014-02-26 Ondřej Bílka <neleai@seznam.cz>
2926
2927 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2928
cf822e3c
OB
2929 * manual/arith.texi: Fix spaces after sentences.
2930 * manual/charset.texi: Likewise.
2931 * manual/errno.texi: Likewise.
2932 * manual/install.texi: Likewise.
2933 * manual/llio.texi: Likewise.
2934 * manual/locale.texi: Likewise.
2935 * manual/maint.texi: Likewise.
2936 * manual/math.texi: Likewise.
2937 * manual/memory.texi: Likewise.
2938 * manual/message.texi: Likewise.
2939 * manual/probes.texi: Likewise.
2940 * manual/resource.texi: Likewise.
2941 * manual/signal.texi: Likewise.
2942 * manual/socket.texi: Likewise.
2943 * manual/stdio.texi: Likewise.
2944 * manual/string.texi: Likewise.
2945 * manual/time.texi: Likewise.
2946 * manual/users.texi: Likewise.
2947
ade40b10
CD
29482014-02-25 Carlos O'Donell <carlos@redhat.com>
2949
2950 [BZ #16632]
2951 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2952 _DEFAULT_SOURCE is defined.
2953
d0503676
CD
29542014-02-25 Ulrich Drepper <drepper@gmail.com>
2955 Carlos O'Donell <carlos@redhat.com>
2956
2957 [BZ #16613]
2958 * elf/dl-tls.c (_dl_count_modids): New function.
2959 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2960 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2961 audit library and increment generation counter.
2962 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2963 * elf/tst-audit9.c: New file.
2964 * elf/tst-auditmod9a.c: New file.
2965 * elf/tst-auditmod9b.c: New file.
2966 * elf/Makefile: Add rules to build and run tst-audit9.
2967
4cbf380c
FW
29682014-02-25 Florian Weimer <fweimer@redhat.com>
2969
2970 [BZ #15347]
2971 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2972
80a56cc3
WN
29732014-02-25 Will Newton <will.newton@linaro.org>
2974
2975 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2976 (__longjmp): Restore sp and lr before restoring callee
2977 saved registers. Add longjmp and longjmp_target
2978 SystemTap probe point.
2979 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2980 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2981 Define to zero to match jmpbuf layout.
2982 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2983 (__sigsetjmp): Save sp and lr before saving callee
2984 saved registers. Add setjmp SystemTap probe point.
2985
3ea0f74e
SL
29862014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2987
2988 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2989
b04acb26
AS
29902014-02-24 Andreas Schwab <schwab@suse.de>
2991
2992 [BZ #15804]
2993 * elf/pldd.c (wait_for_ptrace_stop): New function.
2994 (main): Call it after attaching.
2995
098ad55c
RM
29962014-02-22 Roland McGrath <roland@hack.frob.com>
2997
d4ec6ae1
RM
2998 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2999 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3000 Versions files is now verboten.
3001 * hurd/Versions (libc: GLIBC_2.0):
3002 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3003 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3004 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3005 * mach/Versions: Likewise.
3006
098ad55c
RM
3007 * csu/Versions: Remove unused %include.
3008 * resolv/Versions: Likewise.
3009
acd7f096
JM
30102014-02-21 Joseph Myers <joseph@codesourcery.com>
3011
f0881698
JM
3012 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3013 ($(objpfx)check-local-headers.out): Likewise.
3014 ($(objpfx)begin-end-check.out): Likewise.
3015 * Makerules (check-abi-%.out): Likewise.
3016 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3017 ($(objpfx)test2.cat): Likewise.
3018 ($(objpfx)de/libc.cat): Likewise.
3019 ($(objpfx)test-gencat.out): Likewise.
3020 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3021 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3022 ($(objpfx)noload-mem): Likewise.
3023 ($(objpfx)tst-pathopt.out): Likewise.
3024 ($(objpfx)tst-rtld-load-self.out): Likewise.
3025 ($(objpfx)tst-array1-cmp.out): Likewise.
3026 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3027 ($(objpfx)tst-array2-cmp.out): Likewise.
3028 ($(objpfx)tst-array3-cmp.out): Likewise.
3029 ($(objpfx)tst-array4-cmp.out): Likewise.
3030 ($(objpfx)tst-array5-cmp.out): Likewise.
3031 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3032 ($(objpfx)check-textrel.out): Likewise.
3033 ($(objpfx)check-execstack.out): Likewise.
3034 ($(objpfx)check-localplt.out): Likewise.
3035 ($(objpfx)order2-cmp.out): Likewise.
3036 ($(objpfx)tst-leaks1-mem): Likewise.
3037 ($(objpfx)tst-leaks1-static-mem): Likewise.
3038 ($(objpfx)tst-initorder-cmp.out): Likewise.
3039 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3040 ($(objpfx)tst-unused-dep.out): Likewise.
3041 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3042 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3043 * iconv/Makefile (test-iconvconfig): Likewise.
3044 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3045 ($(objpfx)iconv-test.out): Likewise.
3046 ($(objpfx)tst-tables.out): Likewise.
3047 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3048 ($(objpfx)tst-gettext.out): Likewise.
3049 ($(objpfx)tst-translit.out): Likewise.
3050 ($(objpfx)tst-gettext2.out): Likewise.
3051 ($(objpfx)tst-gettext4.out): Likewise.
3052 ($(objpfx)tst-gettext6.out): Likewise.
3053 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3054 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3055 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3056 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3057 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3058 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3059 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3060 ($(objpfx)wordexp-tst.out): Likewise.
3061 ($(objpfx)annexc.out): Likewise.
3062 ($(objpfx)tst-fnmatch-mem): Likewise.
3063 ($(objpfx)bug-regex2-mem): Likewise.
3064 ($(objpfx)bug-regex14-mem): Likewise.
3065 ($(objpfx)bug-regex21-mem): Likewise.
3066 ($(objpfx)bug-regex31-mem): Likewise.
3067 ($(objpfx)tst-vfork3-mem): Likewise.
3068 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3069 ($(objpfx)tst-pcre-mem): Likewise.
3070 ($(objpfx)tst-boost-mem): Likewise.
3071 ($(objpfx)tst-getconf.out): Likewise.
3072 ($(objpfx)bug-ga2-mem): Likewise.
3073 ($(objpfx)bug-glob2-mem): Likewise.
3074 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3075 ($(objpfx)mtrace-tst-leaks2): Likewise.
3076 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3077 ($(objpfx)tst-printf.out): Likewise.
3078 ($(objpfx)tst-setvbuf1.out): Likewise.
3079 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3080 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3081 ($(objpfx)tst-fmtmsg.out): Likewise.
3082 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3083 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3084
acd7f096
JM
3085 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3086 * bits/sigaction.h [__USE_MISC]: Likewise.
3087 * bits/waitstatus.h: Update #endif comments.
3088 * ctype/ctype.h: Likewise.
3089 * dirent/dirent.h: Likewise.
3090 [__USE_MISC]: Remove redundant conditionals.
3091 * grp/grp.h: Update #endif comments.
3092 [__USE_GNU]: Remove redundant conditionals.
3093 [__USE_MISC]: Likewise.
3094 * inet/netinet/in.h [__USE_GNU]: Likewise.
3095 * io/sys/stat.h [__USE_MISC]: Likewise.
3096 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3097 * libio/bits/stdio.h: Update #endif comments.
3098 [__USE_MISC]: Remove redundant conditionals.
3099 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3100 * libio/stdio.h: Update #endif comments.
3101 [__USE_MISC]: Remove redundant conditionals.
3102 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3103 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3104 * math/math.h: Update #else and #endif comments.
3105 [__USE_MISC]: Remove redundant conditionals.
3106 * misc/sys/uio.h: Update #endif comments.
3107 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3108 * posix/glob.h [__USE_MISC]: Likewise.
3109 * posix/sys/types.h: Update #endif comments.
3110 [__USE_MISC]: Remove redundant conditionals.
3111 * posix/sys/wait.h: Update #endif comments.
3112 [__USE_MISC]: Remove redundant conditionals.
3113 * posix/unistd.h: Update #endif comments.
3114 [__USE_MISC]: Remove redundant conditionals.
3115 * pwd/pwd.h [__USE_GNU]: Likewise.
3116 [__USE_MISC]: Likewise.
3117 * resolv/netdb.h [__USE_GNU]: Likewise.
3118 * signal/signal.h: Update #endif comments.
3119 [__USE_MISC]: Remove redundant conditionals.
3120 * stdlib/stdlib.h: Update #else and #endif comments.
3121 [__USE_MISC]: Remove redundant conditionals.
3122 [__USE_GNU]: Likewise.
3123 * string/bits/string2.h [__USE_MISC]: Likewise.
3124 * string/string.h: Update #endif comments.
3125 [__USE_MISC]: Remove redundant conditionals.
3126 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3127 Likewise.
3128 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3129 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3130 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3131 Likewise.
3132 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3133 Likewise.
3134 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3135 comments.
3136 [__USE_MISC]: Remove redundant conditionals.
3137 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3138 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3139 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3140 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3141 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3142 Likewise.
3143 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3144 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3145 Likewise.
3146 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3147 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3148 Likewise.
3149 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3150 Likewise.
3151 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3152 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3153 Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3155 Likewise.
3156 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3157 * sysdeps/x86/bits/string.h: Update #endif comments.
3158 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3159 conditionals.
3160 * time/sys/time.h: Update #endif comments.
3161 * time/time.h: Likewise.
3162 [__USE_MISC]: Remove redundant conditionals.
3163
a5d82e4e
YG
31642014-02-21 Yury Gribov <y.gribov@samsung.com>
3165
3166 [BZ #16600]
3167 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3168
9a80491d
AS
31692014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3170
3171 * Versions.def (librt): Add GLIBC_2.17.
3172
105fa381
AC
31732014-02-21 Adam Conrad <adconrad@0c3.net>
3174
3175 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3176 synonym for _SYS_AUXV_H to allow direct inclusion.
3177 * sysdeps/sparc/bits/hwcap.h: Likewise.
3178 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3179 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3180 * sysdeps/sparc/sysdep.h: Likewise.
3181
b8cd1c4e
SP
31822014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3183
3184 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3185
bd939d23
RS
31862014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3187
3188 * benchtests/bench-strrchr.c: Print length instead of position.
3189
5d7b57ca
JM
31902014-02-20 Joseph Myers <joseph@codesourcery.com>
3191
bc688c10
JM
3192 [BZ #16611]
3193 * sysdeps/unix/sysv/linux/kernel-features.h
3194 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3195 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3196 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3197 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3198 Likewise.
3199 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3200 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3201 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3202 (__ASSUME_SENDMMSG): Define instead of using previous
3203 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3204 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3205 (__ASSUME_SENDMMSG_SYSCALL): Define.
3206 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3207 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3208 Likewise.
3209 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3210 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3211 Likewise.
3212 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3213 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3214 Likewise.
3215 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3216 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3217 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3218 [__ASSUME_SENDMMSG]: Change conditionals to
3219 [__ASSUME_SENDMMSG_SOCKETCALL].
3220 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3221 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3222 Define.
3223 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3224 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3225 Likewise.
3226 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3227 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3228 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3229 [!__ASSUME_SENDMMSG]: Change conditional to
3230 [!__ASSUME_SENDMMSG_SOCKETCALL].
3231 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3232 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3233 Define.
3234
0e31b18c
JM
3235 [BZ #16610]
3236 * sysdeps/unix/sysv/linux/kernel-features.h
3237 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3238 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3239 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3240 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3241 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3242 [__i386__ || __sparc__]
3243 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3244 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3245 (__ASSUME_RECVMMSG): Define instead of using previous
3246 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3247 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3248 (__ASSUME_RECVMMSG_SYSCALL): Define.
3249 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3250 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3251 Likewise.
3252 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3253 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3254 Likewise.
3255 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3256 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3257 Likewise.
3258 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3259 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3260 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3261 [__ASSUME_RECVMMSG]: Change condition to
3262 [__ASSUME_RECVMMSG_SOCKETCALL].
3263 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3264 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3265 Define.
3266 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3267 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3268 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3269 Likewise.
3270 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3271 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3272 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3273 [!__ASSUME_RECVMMSG]: Change condition to
3274 [!__ASSUME_RECVMMSG_SOCKETCALL].
3275 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3276 (__ASSUME_RECVMMSG_SYSCALL): Define.
3277
dd481ccf
JM
3278 [BZ #16609]
3279 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3280 __powerpc__ || __s390__ || __sh__ || __sparc__]
3281 (__ASSUME_SOCKETCALL): Define.
3282 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3283 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3284 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3285 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3286 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3287 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3288 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3289 (__ASSUME_ACCEPT4): Define instead of using previous
3290 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3291 __powerpc__ || __sparc__ || __s390__)] condition.
3292 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3293 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3294 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3295 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3296 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3297 [!__ASSUME_ACCEPT4]: Change condition to
3298 [!__ASSUME_ACCEPT4_SOCKETCALL].
3299 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3300 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3301 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3302 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3303 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3304 __ASSUME_ACCEPT4_SYSCALL.
3305 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3306 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3307 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3308 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3309 __ASSUME_ACCEPT4_SYSCALL.
3310 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3311 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3312 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3313 [__ASSUME_ACCEPT4]: Change condition to
3314 [__ASSUME_ACCEPT4_SOCKETCALL].
3315 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3316 (__ASSUME_SOCKETCALL): Define.
3317 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3318 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3319 (__ASSUME_SOCKETCALL): Define.
3320 (__ASSUME_ACCEPT4): Remove.
3321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3322 Define.
3323 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3324 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3325 Likewise.
3326 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3327 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3328
5d7b57ca
JM
3329 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3330 macro.
3331 (HWCAP_ARM_LPAE): Likewise.
3332 (HWCAP_ARM_EVTSTRM): Likewise.
3333 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3334 Add vpfd32, lpae and evtstrm.
3335 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3336 Increase to 22.
3337
63689d61
JM
33382014-02-19 Joseph Myers <joseph@codesourcery.com>
3339
3340 * math/auto-libm-test-in: Add tests of clog10.
3341 * math/auto-libm-test-out: Regenerated.
3342 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3343 * sysdeps/i386/fpu/libm-test-ulps: Update.
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3345
ab09bf61
AS
33462014-02-18 Andreas Schwab <schwab@suse.de>
3347
3348 [BZ #16574]
3349 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3350 Store non-zero if the second buffer was newly allocated.
3351 (send_dg): Likewise.
3352 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3353 to send_vc and send_dg.
3354 (res_nsend): Pass NULL for ansp2_malloced.
3355 * resolv/res_query.c (__libc_res_nquery): Add parameter
3356 answerp2_malloced and pass it down to __libc_res_nsend.
3357 (res_nquery): Pass additional NULL to __libc_res_nquery.
3358 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3359 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3360 second answer buffer if answerp2_malloced was set.
3361 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3362 (__libc_res_nquerydomain): Add parameter
3363 answerp2_malloced and pass it down to __libc_res_nquery.
3364 (res_nquerydomain): Pass additional NULL to
3365 __libc_res_nquerydomain.
3366 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3367 additional NULL to __libc_res_nsend and __libc_res_nquery.
3368 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3369 additional NULL to __libc_res_nsearch.
3370 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3371 parameter of __libc_res_nsearch to check for separately allocated
3372 second buffer.
3373 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3374 __libc_res_nquery.
3375 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3376 additional NULL to __libc_res_nquery.
3377 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3378 __libc_res_nsearch.
3379 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3380 * include/resolv.h: Update prototypes of __libc_res_nquery,
3381 __libc_res_nsearch, __libc_res_nsend.
3382
a4fb7861
JM
33832014-02-18 Joseph Myers <joseph@codesourcery.com>
3384
c6af2d89
JM
3385 * math/auto-libm-test-in: Add tests of fma.
3386 * math/auto-libm-test-out: Regenerated.
3387 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3388 (fma_towardzero_test_data): Likewise.
3389 (fma_downward_test_data): Likewise.
3390 (fma_upward_test_data): Likewise.
3391 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3392 mpc_mode.
3393 (rounding_modes): Add values for new field.
3394 (func_calc_method): Add value mpfr_fff_f.
3395 (func_calc_desc): Add mpfr_fff_f union field.
3396 (test_function): Add field exact_args.
3397 (FUNC): Add macro argument EXACT_ARGS.
3398 (FUNC_mpfr_f_f): Update call to FUNC.
3399 (FUNC_mpfr_f_f): Likewise.
3400 (FUNC_mpfr_ff_f): Likewise.
3401 (FUNC_mpfr_if_f): Likewise.
3402 (FUNC_mpc_c_f): Likewise.
3403 (FUNC_mpc_c_c): Likewise.
3404 (test_functions): Add fma. Update calls to FUNC.
3405 (handle_input_arg): Add argument exact_args.
3406 (add_test): Update call to handle_input_arg.
3407 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3408 (output_for_one_input_case): Update call to calc_generic_results.
3409 Recalculate exact zero results in each rounding mode.
3410
a4fb7861
JM
3411 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3412 non-negative before setting low bit.
3413 * math/auto-libm-test-in: Mark one asin test possibly having
3414 spurious underflow.
3415 * math/auto-libm-test-out: Regenerated.
3416 * sysdeps/i386/fpu/libm-test-ulps: Update.
3417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3418
ef114eaf
DH
34192014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3420
2b7f4f2c
SP
3421 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3422 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3423 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3424 * README: Add missing listing for microblaze*-*-linux-gnu.
3425
c70a4b1d
MF
34262014-02-16 Mike Frysinger <vapier@gentoo.org>
3427
3428 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3429 * sysdeps/unix/sysv/linux/ia64: Move directory from
3430 ports/sysdeps/unix/sysv/linux/ia64.
3431 * README: Update listing for ia64-*-linux-gnu.
3432
591aeaf7
TD
34332014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3434 Joseph Myers <joseph@codesourcery.com>
3435
3436 * Makeconfig (test-name): New variable.
3437 (evaluate-test): Likewise.
3438 * Makerules (do-test-clean): Remove .test-result files.
3439 (common-mostlyclean): Likewise.
3440 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3441 * scripts/evaluate-test.sh: New file.
3442
6e89caf1
JM
34432014-02-14 Joseph Myers <joseph@codesourcery.com>
3444
7f98f180
JM
3445 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3446 separate $(objpfx)tst-fopenloc-cmp.out and
3447 $(objpfx)tst-fopenloc-mem.out targets.
3448 (tests): Update dependencies.
3449 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3450 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3451 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3452 (tst-rxspencer-no-utf8-ARGS): New variable.
3453 (tst-rxspencer-no-utf8-ENV): Likewise.
3454 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3455 instead of $(objpfx)tst-rxspencer-mem.
3456 ($(objpfx)tst-rxspencer-mem): Change target to
3457 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3458 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3459 * posix/tst-rxspencer-no-utf8.c: New file.
3460
6e89caf1
JM
3461 * elf/Makefile ($(objpfx)order.out): Remove rule.
3462 [$(run-built-tests) = yes] (tests): Depend on
3463 $(objpfx)order-cmp.out.
3464 ($(objpfx)order-cmp.out): New rule.
3465 [$(run-built-tests) = yes] (tests): Depend on
3466 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3467 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3468 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3469 $(objpfx)tst-array5-static-cmp.out.
3470 ($(objpfx)tst-array1.out): Remove rule.
3471 ($(objpfx)tst-array1-cmp.out): New rule.
3472 ($(objpfx)tst-array1-static.out): Remove rule.
3473 ($(objpfx)tst-array1-static-cmp.out): New rule.
3474 ($(objpfx)tst-array2.out): Remove rule.
3475 ($(objpfx)tst-array2-cmp.out): New rule.
3476 ($(objpfx)tst-array3.out): Remove rule.
3477 ($(objpfx)tst-array3-cmp.out): New rule.
3478 ($(objpfx)tst-array4.out): Remove rule.
3479 ($(objpfx)tst-array4-cmp.out): New rule.
3480 ($(objpfx)tst-array5.out): Remove rule.
3481 ($(objpfx)tst-array5-cmp.out): New rule.
3482 ($(objpfx)tst-array5-static.out): Remove rule.
3483 ($(objpfx)tst-array5-static-cmp.out): New rule.
3484 [$(run-built-tests) = yes] (tests): Depend on
3485 $(objpfx)order2-cmp.out.
3486 ($(objpfx)order2.out): Remove rule.
3487 ($(objpfx)order2-cmp.out): New rule.
3488 ($(objpfx)tst-initorder.out): Remove rule.
3489 [$(run-built-tests) = yes] (tests): Depend on
3490 $(objpfx)tst-initorder-cmp.out.
3491 ($(objpfx)tst-initorder-cmp.out): New rule.
3492 ($(objpfx)tst-initorder2.out): Remove rule.
3493 [$(run-built-tests) = yes] (tests): Depend on
3494 $(objpfx)tst-initorder2-cmp.out.
3495 ($(objpfx)tst-initorder2-cmp.out): New rule.
3496 [$(run-built-tests) = yes] (tests): Depend on
3497 $(objpfx)tst-unused-dep-cmp.out.
3498 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3499 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3500 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3501 on $(objpfx)tst-setvbuf1-cmp.out.
3502 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3503 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3504 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3505 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3506 ($(objpfx)tst-svc.out): Remove rule.
3507 ($(objpfx)tst-svc-cmp.out): New rule.
3508
ed9a38e2
JM
35092014-02-13 Joseph Myers <joseph@codesourcery.com>
3510
3511 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3512 * ctype/ctype.h [__USE_MISC]: Likewise.
3513 * dirent/dirent.h [__USE_MISC]: Likewise.
3514 * grp/grp.h [__USE_MISC]: Likewise.
3515 * io/fcntl.h [__USE_MISC]: Likewise.
3516 * io/sys/stat.h [__USE_MISC]: Likewise.
3517 * libio/stdio.h [__USE_MISC]: Likewise.
3518 * posix/unistd.h [__USE_MISC]: Likewise.
3519 * pwd/pwd.h [__USE_MISC]: Likewise.
3520 * stdlib.h [__USE_MISC]: Likewise.
3521 * string/bits/string2.h [__USE_MISC]: Likewise.
3522 * string/string.h [__USE_MISC]: Likewise.
3523 * time/time.h [__USE_MISC]: Likewise.
3524
d6680619
AS
35252014-02-13 Andreas Schwab <schwab@suse.de>
3526
3527 [BZ #16574]
3528 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3529 second answer buffer if it was separately allocated.
3530
ace614b8
JM
35312014-02-12 Joseph Myers <joseph@codesourcery.com>
3532
743151ae
JM
3533 * sysdeps/mips/math-tests.h: Include <features.h>.
3534 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3535 (ROUNDING_TESTS_long_double): Do not define.
3536 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3537 (EXCEPTION_TESTS_long_double): Likewise.
3538 * sysdeps/mips/mips64/libm-test-ulps: Update.
3539
498afc54
JM
3540 * include/features.h (__USE_BSD): Remove macro definitions.
3541 (__USE_SVID): Likewise.
3542 (_BSD_SOURCE): Likewise.
3543 (_SVID_SOURCE): Likewise.
3544 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3545 from definition of _DEFAULT_SOURCE.
3546 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3547 [_DEFAULT_SOURCE].
3548 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3549 * bits/mman.h [__USE_BSD]: Likewise.
3550 * bits/termios.h [__USE_BSD]: Likewise.
3551 * bits/waitstatus.h [__USE_BSD]: Likewise.
3552 * ctype/ctype.h [__USE_SVID]: Likewise.
3553 * dirent/dirent.h [__USE_BSD]: Likewise.
3554 * grp/grp.h [__USE_SVID]: Likewise.
3555 [__USE_BSD]: Likewise.
3556 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3557 * io/fcntl.h [__USE_BSD]: Likewise.
3558 * io/ftw.h [__USE_BSD]: Likewise.
3559 * io/sys/stat.h [__USE_BSD]: Likewise.
3560 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3561 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3562 * libio/stdio.h [__USE_SVID]: Likewise.
3563 [__USE_BSD]: Likewise.
3564 * math/math.h [__USE_SVID]: Likewise.
3565 [__USE_BSD]: Likewise.
3566 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3567 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3568 * misc/search.h [__USE_SVID]: Likewise.
3569 * misc/sys/mman.h [__USE_BSD]: Likewise.
3570 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3571 * misc/sys/uio.h [__USE_BSD]: Likewise.
3572 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3573 * posix/glob.h [__USE_BSD]: Likewise.
3574 * posix/regex.h [__USE_BSD]: Likewise.
3575 * posix/sys/types.h [__USE_BSD]: Likewise.
3576 [__USE_SVID]: Likewise.
3577 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3578 * posix/sys/wait.h [__USE_BSD]: Likewise.
3579 [__USE_SVID]: Likewise.
3580 * posix/unistd.h [__USE_BSD]: Likewise.
3581 [__USE_SVID]: Likewise.
3582 * pwd/pwd.h [__USE_SVID]: Likewise.
3583 * resolv/netdb.h [__USE_BSD]: Likewise.
3584 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3585 * signal/signal.h [__USE_BSD]: Likewise.
3586 [__USE_SVID]: Likewise.
3587 * socket/sys/socket.h [__USE_BSD]: Likewise.
3588 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3589 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3590 [__USE_SVID]: Likewise.
3591 * string/bits/string2.h [__USE_BSD]: Likewise.
3592 [__USE_SVID]: Likewise.
3593 * string/bits/string3.h [__USE_BSD]: Likewise.
3594 * string/endian.h [__USE_BSD]: Likewise.
3595 * string/string.h [__USE_SVID]: Likewise.
3596 [__USE_BSD]: Likewise.
3597 * string/strings.h [__USE_BSD]: Likewise.
3598 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3599 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3600 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3601 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3602 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3603 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3604 Likewise.
3605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3606 Likewise.
3607 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3608 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3609 Likewise.
3610 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3611 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3612 Likewise.
3613 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3614 Likewise.
3615 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3616 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3617 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3618 Likewise.
3619 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3620 Likewise.
3621 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3622 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3623 * termios/termios.h [__USE_BSD]: Likewise.
3624 * time/sys/time.h [__USE_BSD]: Likewise.
3625 * time/time.h [__USE_BSD]: Likewise.
3626 [__USE_SVID]: Likewise.
3627
dd7b064c
JM
3628 * Makefile (subdir_targets): Remove subdir_lint.out.
3629
a2c4c199
JM
3630 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3631 (do-tst-printf): Likewise.
3632 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3633 $(objpfx)tst-printf.out.
3634
8756f740
JM
3635 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3636
1b6dd3f1
JM
3637 * Makerules (check-abi-%): Change target to
3638 $(objpfx)check-abi-%.out.
3639 (check-abi target): Update dependencies.
3640 (check-abi-pattern variable): Redirect output of diff to $@.
3641 (check-abi variable): Likewise.
3642 * elf/Makefile (check-abi): Update dependencies.
3643
ace614b8
JM
3644 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3645 unused.
3646 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3647 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3648 subnormal range.
3649 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3650 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3651 value has largest subnormal exponent.
3652 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3653 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3654 * sysdeps/aarch64/soft-fp/sfp-machine.h
3655 (_FP_TININESS_AFTER_ROUNDING): New macro.
3656 * sysdeps/alpha/soft-fp/sfp-machine.h
3657 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3658 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3659 Likewise.
3660 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3661 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3662 * sysdeps/mips/soft-fp/sfp-machine.h
3663 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3664 * sysdeps/powerpc/soft-fp/sfp-machine.h
3665 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3666 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3667 Likewise.
3668 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3669 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3670 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3671 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3672 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3673 Likewise.
3674
fbfdf9cb
DAS
36752014-02-12 Dylan Alex Simon <dylan@dylex.net>
3676
3677 [BZ #16545]
3678 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3679 model 1.
3680
68b7efaa
RH
36812014-02-12 Richard Henderson <rth@redhat.com>
3682
c70a4b1d 3683 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3684 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3685 * sysdeps/unix/sysv/linux/alpha: Move directory from
3686 ports/sysdeps/unix/sysv/linux/alpha.
3687 * README: Update listing for alpha-*-linux-gnu.
3688
cb4a2928
JM
36892014-02-11 Joseph Myers <joseph@codesourcery.com>
3690
c941736c
JM
3691 * include/features.h: Update comment documenting feature test
3692 macros.
3693 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3694 _DEFAULT_SOURCE.
3695 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3696 (_SVID_SOURCE): Likewise.
3697 (_DEFAULT_SOURCE): Update description of default features.
3698 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3699 with _GNU_SOURCE.
3700 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3701 (S_ISVTX): Likewise.
3702 * manual/math.texi (Mathematical Constants): Likewise.
3703 * manual/signal.texi (Interrupted Primitives): Likewise.
3704 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3705 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3706 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3707 Don't refer to _SVID_SOURCE in warning text.
3708
e8d8d7ec
JM
3709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3710
cb4a2928
JM
3711 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3712 already defined.
3713 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3714 * sysdeps/mips/dl-lookup.c: Remove.
3715 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3716
7e6424e3
AK
37172014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3718
3719 [BZ #16447]
3720 * math/auto-libm-test-in: Add testcase for expl.
3721 * math/auto-libm-test-out: Regenerate.
3722 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3723 calculation of unsafe.
3724 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3725
75eff3fe
MS
37262014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3727
3728 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3729 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3730 ports/sysdeps/unix/sysv/linux/aarch64.
3731 * README: Update listing for aarch64*-*-linux-gnu.
3732
d35f1e80
WN
37332014-02-11 Will Newton <will.newton@linaro.org>
3734
3735 * manual/probes.texi (Mathematical Function Probes): Use
3736 "triggered" instead of "hit".
3737
7b3436d4
WN
37382014-02-11 Will Newton <will.newton@linaro.org>
3739
3740 * manual/probes.texi (Internal Probes): Add documentation
3741 of setjmp, longjmp and longjmp_target probes.
3742
b4f12ca3
WN
37432014-02-11 Will Newton <will.newton@linaro.org>
3744
3745 * include/stap-probe.h: Add comment about probe argument
3746 format.
3747
c13a72b7
WN
37482014-02-11 Will Newton <will.newton@linaro.org>
3749
3750 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3751 definition. (tr_where, tr_freehook, tr_mallochook,
3752 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3753
195b8165
DM
37542014-02-11 David S. Miller <davem@davemloft.net>
3755
3756 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3757 processing int_tests.
3758
2ad7600b
JM
37592014-02-10 Joseph Myers <joseph@codesourcery.com>
3760
3761 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3762 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3763 * sysdeps/unix/sysv/linux/mips: Move directory from
3764 ports/sysdeps/unix/sysv/linux/mips.
3765 * README: Update listing for mips-*-linux-gnu and
3766 mips64-*-linux-gnu.
3767
73588a72
AS
37682014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3769
3770 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3771 * sysdeps/unix/sysv/linux/m68k: Move directory from
3772 ports/sysdeps/unix/sysv/linux/m68k.
3773 * README: Update listing for m68k-*-linux-gnu.
3774
4372980f
CM
37752014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3776
3777 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3778 * sysdeps/unix/sysv/linux/generic: Move directory from
3779 ports/sysdeps/unix/sysv/linux/generic.
3780 * sysdeps/unix/sysv/linux/tile: Move directory from
3781 ports/sysdeps/unix/sysv/linux/tile.
3782 * README: Update listing for tile*-*-linux-gnu.
3783
a1ffb40e
OB
37842014-02-10 Ondřej Bílka <neleai@seznam.cz>
3785
3786 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3787 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3788 * catgets/open_catalog.c (__open_catalog): Likewise.
3789 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3790 * debug/confstr_chk.c: Likewise.
3791 * debug/fread_chk.c (__fread_chk): Likewise.
3792 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3793 * debug/getgroups_chk.c: Likewise.
3794 * debug/mbsnrtowcs_chk.c: Likewise.
3795 * debug/mbsrtowcs_chk.c: Likewise.
3796 * debug/mbstowcs_chk.c: Likewise.
3797 * debug/memcpy_chk.c: Likewise.
3798 * debug/memmove_chk.c: Likewise.
3799 * debug/mempcpy_chk.c: Likewise.
3800 * debug/memset_chk.c: Likewise.
3801 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3802 * debug/strcat_chk.c (__strcat_chk): Likewise.
3803 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3804 * debug/strncat_chk.c (__strncat_chk): Likewise.
3805 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3806 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3807 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3808 * debug/wcpncpy_chk.c: Likewise.
3809 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3810 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3811 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3812 * debug/wcsncpy_chk.c: Likewise.
3813 * debug/wcsnrtombs_chk.c: Likewise.
3814 * debug/wcsrtombs_chk.c: Likewise.
3815 * debug/wcstombs_chk.c: Likewise.
3816 * debug/wmemcpy_chk.c: Likewise.
3817 * debug/wmemmove_chk.c: Likewise.
3818 * debug/wmempcpy_chk.c: Likewise.
3819 * debug/wmemset_chk.c: Likewise.
3820 * dirent/scandirat.c (SCANDIRAT): Likewise.
3821 * dlfcn/dladdr1.c (dladdr1): Likewise.
3822 * dlfcn/dladdr.c (dladdr): Likewise.
3823 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3824 * dlfcn/dlerror.c (__dlerror): Likewise.
3825 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3826 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3827 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3828 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3829 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3830 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3831 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3832 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3833 Likewise.
3834 * elf/dl-conflict.c: Likewise.
3835 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3836 * elf/dl-dst.h: Likewise.
3837 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3838 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3839 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3840 * elf/dl-init.c (call_init, _dl_init): Likewise.
3841 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3842 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3843 _dl_map_object_from_fd, open_verify, open_path,
3844 _dl_map_object): Likewise.
3845 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3846 Likewise.
3847 * elf/dl-minimal.c (__libc_memalign): Likewise.
3848 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3849 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3850 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3851 * elf/dl-sym.c (do_sym): Likewise.
3852 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3853 _dl_tls_get_addr_soft): Likewise.
3854 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3855 * elf/dl-writev.h (_dl_writev): Likewise.
3856 * elf/ldconfig.c (search_dir): Likewise.
3857 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3858 dl_main): Likewise.
3859 * elf/setup-vdso.h (setup_vdso): Likewise.
3860 * grp/compat-initgroups.c (compat_call): Likewise.
3861 * grp/fgetgrent.c (fgetgrent): Likewise.
3862 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3863 * grp/putgrent.c (putgrent): Likewise.
3864 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3865 Likewise.
3866 * hurd/hurdinit.c: Likewise.
3867 * iconvdata/8bit-gap.c (struct): Likewise.
3868 * iconvdata/ansi_x3.110.c : Likewise.
3869 * iconvdata/big5.c : Likewise.
3870 * iconvdata/big5hkscs.c : Likewise.
3871 * iconvdata/cp1255.c: Likewise.
3872 * iconvdata/cp1258.c : Likewise.
3873 * iconvdata/cp932.c : Likewise.
3874 * iconvdata/euc-cn.c: Likewise.
3875 * iconvdata/euc-jisx0213.c : Likewise.
3876 * iconvdata/euc-jp.c: Likewise.
3877 * iconvdata/euc-jp-ms.c : Likewise.
3878 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3879 * iconvdata/gb18030.c : Likewise.
3880 * iconvdata/gbbig5.c (const): Likewise.
3881 * iconvdata/gbgbk.c: Likewise.
3882 * iconvdata/gbk.c : Likewise.
3883 * iconvdata/ibm1364.c : Likewise.
3884 * iconvdata/ibm930.c : Likewise.
3885 * iconvdata/ibm932.c: Likewise.
3886 * iconvdata/ibm933.c : Likewise.
3887 * iconvdata/ibm935.c : Likewise.
3888 * iconvdata/ibm937.c : Likewise.
3889 * iconvdata/ibm939.c : Likewise.
3890 * iconvdata/ibm943.c: Likewise.
3891 * iconvdata/iso_11548-1.c: Likewise.
3892 * iconvdata/iso-2022-cn.c : Likewise.
3893 * iconvdata/iso-2022-cn-ext.c : Likewise.
3894 * iconvdata/iso-2022-jp-3.c: Likewise.
3895 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3896 * iconvdata/iso-2022-kr.c : Likewise.
3897 * iconvdata/iso646.c (gconv_end): Likewise.
3898 * iconvdata/iso_6937-2.c : Likewise.
3899 * iconvdata/iso_6937.c : Likewise.
3900 * iconvdata/iso8859-1.c: Likewise.
3901 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3902 * iconvdata/shift_jisx0213.c : Likewise.
3903 * iconvdata/sjis.c : Likewise.
3904 * iconvdata/t.61.c : Likewise.
3905 * iconvdata/tcvn5712-1.c : Likewise.
3906 * iconvdata/tscii.c: Likewise.
3907 * iconvdata/uhc.c : Likewise.
3908 * iconvdata/unicode.c (gconv_end): Likewise.
3909 * iconvdata/utf-16.c (gconv_end): Likewise.
3910 * iconvdata/utf-32.c (gconv_end): Likewise.
3911 * iconvdata/utf-7.c (base64): Likewise.
3912 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3913 * iconv/gconv_close.c (__gconv_close): Likewise.
3914 * iconv/gconv_open.c (__gconv_open): Likewise.
3915 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3916 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3917 internal_ucs4le_loop_single, ucs4le_internal_loop,
3918 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3919 * iconv/iconv.c (iconv): Likewise.
3920 * iconv/iconv_close.c: Likewise.
3921 * iconv/loop.c (SINGLE): Likewise.
3922 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3923 * include/atomic.h: Likewise.
3924 * inet/inet6_option.c (option_alloc): Likewise.
3925 * intl/bindtextdom.c (set_binding_values): Likewise.
3926 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3927 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3928 * intl/localealias.c (read_alias_file): Likewise.
3929 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3930 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3931 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3932 * libio/fmemopen.c (fmemopen): Likewise.
3933 * libio/iofgets.c (_IO_fgets): Likewise.
3934 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3935 * libio/iofgetws.c (fgetws): Likewise.
3936 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3937 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3938 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3939 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3940 * locale/findlocale.c (_nl_find_locale): Likewise.
3941 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3942 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3943 Likewise.
3944 * locale/setlocale.c (setlocale): Likewise.
3945 * login/programs/pt_chown.c (main): Likewise.
3946 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3947 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3948 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3949 mmap, mmap64, mremap, munmap): Likewise.
3950 * math/e_exp2l.c: Likewise.
3951 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3952 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3953 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3954 * math/s_catan.c (__catan): Likewise.
3955 * math/s_catanf.c (__catanf): Likewise.
3956 * math/s_catanh.c (__catanh): Likewise.
3957 * math/s_catanhf.c (__catanhf): Likewise.
3958 * math/s_catanhl.c (__catanhl): Likewise.
3959 * math/s_catanl.c (__catanl): Likewise.
3960 * math/s_ccosh.c (__ccosh): Likewise.
3961 * math/s_ccoshf.c (__ccoshf): Likewise.
3962 * math/s_ccoshl.c (__ccoshl): Likewise.
3963 * math/s_cexp.c (__cexp): Likewise.
3964 * math/s_cexpf.c (__cexpf): Likewise.
3965 * math/s_cexpl.c (__cexpl): Likewise.
3966 * math/s_clog10.c (__clog10): Likewise.
3967 * math/s_clog10f.c (__clog10f): Likewise.
3968 * math/s_clog10l.c (__clog10l): Likewise.
3969 * math/s_clog.c (__clog): Likewise.
3970 * math/s_clogf.c (__clogf): Likewise.
3971 * math/s_clogl.c (__clogl): Likewise.
3972 * math/s_csin.c (__csin): Likewise.
3973 * math/s_csinf.c (__csinf): Likewise.
3974 * math/s_csinh.c (__csinh): Likewise.
3975 * math/s_csinhf.c (__csinhf): Likewise.
3976 * math/s_csinhl.c (__csinhl): Likewise.
3977 * math/s_csinl.c (__csinl): Likewise.
3978 * math/s_csqrt.c (__csqrt): Likewise.
3979 * math/s_csqrtf.c (__csqrtf): Likewise.
3980 * math/s_csqrtl.c (__csqrtl): Likewise.
3981 * math/s_ctan.c (__ctan): Likewise.
3982 * math/s_ctanf.c (__ctanf): Likewise.
3983 * math/s_ctanh.c (__ctanh): Likewise.
3984 * math/s_ctanhf.c (__ctanhf): Likewise.
3985 * math/s_ctanhl.c (__ctanhl): Likewise.
3986 * math/s_ctanl.c (__ctanl): Likewise.
3987 * math/w_pow.c: Likewise.
3988 * math/w_powf.c: Likewise.
3989 * math/w_powl.c: Likewise.
3990 * math/w_scalb.c (sysv_scalb): Likewise.
3991 * math/w_scalbf.c (sysv_scalbf): Likewise.
3992 * math/w_scalbl.c (sysv_scalbl): Likewise.
3993 * misc/error.c (error_tail): Likewise.
3994 * misc/pselect.c (__pselect): Likewise.
3995 * nis/nis_callback.c (__nis_create_callback): Likewise.
3996 * nis/nis_call.c (__nisfind_server): Likewise.
3997 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3998 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3999 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4000 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4001 * nis/nis_lookup.c (nis_lookup): Likewise.
4002 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4003 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4004 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4005 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4006 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4007 internal_getgrgid_r): Likewise.
4008 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4009 Likewise.
4010 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4011 internal_getpwuid_r): Likewise.
4012 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4013 internal_getspnam_r): Likewise.
4014 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4015 _nss_nis_getaliasbyname_r): Likewise.
4016 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4017 _nss_nis_getntohost_r): Likewise.
4018 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4019 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4020 Likewise.
4021 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4022 internal_nis_gethostent_r, internal_gethostbyname2_r,
4023 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4024 _nss_nis_gethostbyname4_r): Likewise.
4025 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4026 initgroups_netid): Likewise.
4027 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4028 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4029 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4030 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4031 _nss_nis_getprotobynumber_r): Likewise.
4032 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4033 _nss_nis_getsecretkey): Likewise.
4034 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4035 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4036 Likewise.
4037 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4038 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4039 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4040 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4041 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4042 _nss_nis_getspnam_r): Likewise.
4043 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4044 Likewise.
4045 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4046 _nss_nisplus_getntohost_r): Likewise.
4047 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4048 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4049 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4050 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4051 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4052 Likewise.
4053 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4054 _nss_nisplus_getnetbyaddr_r): Likewise.
4055 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4056 _nss_nisplus_getprotobynumber_r): Likewise.
4057 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4058 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4059 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4060 Likewise.
4061 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4062 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4063 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4064 _nss_nisplus_getspnam_r): Likewise.
4065 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4066 * nscd/aicache.c (addhstaiX): Likewise.
4067 * nscd/cache.c (cache_search, prune_cache): Likewise.
4068 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4069 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4070 * nscd/grpcache.c (addgrbyX): Likewise.
4071 * nscd/hstcache.c (addhstbyX): Likewise.
4072 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4073 * nscd/mem.c (gc, mempool_alloc): Likewise.
4074 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4075 Likewise.
4076 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4077 Likewise.
4078 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4079 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4080 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4081 Likewise.
4082 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4083 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4084 * nscd/nscd_helper.c (__readvall, open_socket,
4085 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4086 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4087 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4088 * nscd/pwdcache.c (addpwbyX): Likewise.
4089 * nscd/selinux.c (preserve_capabilities): Likewise.
4090 * nscd/servicescache.c (addservbyX): Likewise.
4091 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4092 * posix/fnmatch.c (fnmatch): Likewise.
4093 * posix/getopt.c (_getopt_internal_r): Likewise.
4094 * posix/glob.c (glob, glob_in_dir): Likewise.
4095 * posix/wordexp.c (exec_comm_child): Likewise.
4096 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4097 gaih_getanswer_slice): Likewise.
4098 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4099 * resolv/res_init.c: Likewise.
4100 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4101 * resolv/res_query.c (__libc_res_nquery): Likewise.
4102 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4103 Likewise.
4104 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4105 * stdio-common/perror.c (perror): Likewise.
4106 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4107 * stdio-common/tmpnam.c (tmpnam): Likewise.
4108 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4109 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4110 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4111 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4112 * stdlib/putenv.c (putenv): Likewise.
4113 * stdlib/setenv.c (__add_to_environ): Likewise.
4114 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4115 * stdlib/strtol_l.c (INTERNAL): Likewise.
4116 * string/memmem.c (memmem): Likewise.
4117 * string/strerror.c (strerror): Likewise.
4118 * string/strnlen.c (__strnlen): Likewise.
4119 * string/test-memmem.c (simple_memmem): Likewise.
4120 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4121 * sunrpc/pm_getport.c (__get_socket): Likewise.
4122 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4123 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4124 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4125 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4126 Likewise.
4127 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4128 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4129 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4130 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4131 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4132 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4133 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4134 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4135 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4136 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4137 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4138 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4140 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4141 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4142 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4143 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4144 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4145 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4146 Likewise.
4147 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4148 Likewise.
4149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4150 Likewise.
4151 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4152 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4153 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4154 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4155 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4156 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4157 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4166 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4167 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4168 Likewise.
4169 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4170 Likewise.
4171 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4172 Likewise.
4173 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4174 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4175 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4176 Likewise.
4177 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4178 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4179 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4180 * sysdeps/posix/sleep.c: Likewise.
4181 * sysdeps/posix/tempname.c: Likewise.
4182 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4183 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4184 Likewise.
4185 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4186 elf_machine_rela): Likewise.
4187 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4188 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4189 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4190 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4191 Likewise.
4192 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4193 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4194 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4195 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4196 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4197 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4198 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4199 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4200 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4201 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4203 elf_machine_lazy_rel): Likewise.
4204 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4206 elf_machine_lazy_rel): Likewise.
4207 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4208 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4209 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4210 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4211 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4212 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4213 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4215 Likewise.
4216 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4217 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4218 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4219 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4220 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4221 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4222 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4223 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4224 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4225 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4226 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4227 Likewise.
4228 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4229 (__posix_fallocate64_l64): Likewise.
4230 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4231 (posix_fallocate): Likewise.
4232 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4233 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4234 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4235 getifaddrs_internal): Likewise.
4236 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4237 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4238 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4239 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4240 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4241 (__posix_fallocate64_l64): Likewise.
4242 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4243 Likewise.
4244 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4245 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4246 Likewise.
4247 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4248 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4249 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4250 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4251 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4252 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4253 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4254 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4255 Likewise.
4256 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4257 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4258 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4259 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4261 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4262 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4263 Likewise.
4264 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4265 (posix_fallocate): Likewise.
4266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4267 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4268 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4269 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4270 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4271 Likewise.
4272 * time/asctime.c (asctime_internal): Likewise.
4273 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4274 * time/tzset.c (__tzset_parse_tz): Likewise.
4275 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4276 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4277 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4278 * wcsmbs/wcsmbsload.h: Likewise.
4279
f3d338c9
OB
42802014-02-10 Ondřej Bílka <neleai@seznam.cz>
4281
4282 [BZ #15894]
4283 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4284
bdfe308a
OB
42852014-02-10 Ondřej Bílka <neleai@seznam.cz>
4286
4287 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4288 arena_get2): Remove THREAD_STATS conditionals.
4289 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4290 __malloc_stats, int): Likewise.
4291
d674667c
MF
42922014-02-08 Mike Frysinger <vapier@gentoo.org>
4293
4294 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4295 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4296
6349768c
MF
42972014-02-08 Mike Frysinger <vapier@gentoo.org>
4298
4299 * manual/setjmp.texi: Fix typos/grammar errors.
4300
0b7c7473
MF
43012014-02-08 Mike Frysinger <vapier@gentoo.org>
4302
4303 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4304 Only return early when n is <= 0. Delete unused return statement.
4305
ac8cc9e3
MF
43062014-02-08 Mike Frysinger <vapier@gentoo.org>
4307
4308 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4309 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4310 * debug/tst-longjmp_chk3.c: New file.
4311
c5bb8e23
MF
43122014-02-08 Mike Frysinger <vapier@gentoo.org>
4313
4314 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4315 (test_main): Replace code with set_fortify_handler call.
4316 * debug/test-strcpy_chk.c: Likewise.
4317 * debug/tst-chk1.c: Likewise.
4318 * debug/tst-longjmp_chk.c: Likewise.
4319 * test-skeleton.c: Include fcntl.h & paths.h
4320 (set_fortify_handler): Define.
4321
10444e42
MF
43222014-02-08 Mike Frysinger <vapier@gentoo.org>
4323
4324 * debug/tst-longjmp_chk.c: Add header comment and include
4325 ../test-skeleton.c.
4326 (do_test): Mark static.
4327 (TEST_FUNCTION): Define.
4328
1e805e8d
MF
43292014-02-08 Mike Frysinger <vapier@gentoo.org>
4330
4331 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4332 (IP_PMTUDISC_INTERFACE): Likewise.
4333 (IP_MULTICAST_IF): Likewise.
4334 (IP_MULTICAST_TTL): Likewise.
4335 (IP_MULTICAST_LOOP): Likewise.
4336 (IP_ADD_MEMBERSHIP): Likewise.
4337 (IP_DROP_MEMBERSHIP): Likewise.
4338 (IP_UNBLOCK_SOURCE): Likewise.
4339 (IP_BLOCK_SOURCE): Likewise.
4340 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4341 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4342 (IP_MSFILTER): Likewise.
4343 (MCAST_JOIN_GROUP): Likewise.
4344 (MCAST_BLOCK_SOURCE): Likewise.
4345 (MCAST_UNBLOCK_SOURCE): Likewise.
4346 (MCAST_LEAVE_GROUP): Likewise.
4347 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4348 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4349 (MCAST_MSFILTER): Likewise.
4350 (IP_MULTICAST_ALL): Likewise.
4351 (IP_UNICAST_IF): Likewise.
4352
73f79bb7
MF
43532014-02-08 Mike Frysinger <vapier@gentoo.org>
4354
4355 * timezone/Makefile: Delete $(have-ksh) check.
4356 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4357 * timezone/tzselect.ksh: Add +x mode bits.
4358
8da79b60
MF
43592014-02-08 Mike Frysinger <vapier@gentoo.org>
4360
4361 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4362 (ANON_INODE_FS_MAGIC): Likewise.
4363 (BDEVFS_MAGIC): Likewise.
4364 (BINFMTFS_MAGIC): Likewise.
4365 (BTRFS_TEST_MAGIC): Likewise.
4366 (CRAMFS_MAGIC_WEND): Likewise.
4367 (DEBUGFS_MAGIC): Likewise.
4368 (ECRYPTFS_SUPER_MAGIC): Likewise.
4369 (EXT3_SUPER_MAGIC): Likewise.
4370 (EXT4_SUPER_MAGIC): Likewise.
4371 (FUTEXFS_SUPER_MAGIC): Likewise.
4372 (HOSTFS_SUPER_MAGIC): Likewise.
4373 (HUGETLBFS_MAGIC): Likewise.
4374 (MINIX3_SUPER_MAGIC): Likewise.
4375 (MTD_INODE_FS_MAGIC): Likewise.
4376 (NILFS_SUPER_MAGIC): Likewise.
4377 (OPENPROM_SUPER_MAGIC): Likewise.
4378 (PIPEFS_MAGIC): Likewise.
4379 (PSTOREFS_MAGIC): Likewise.
4380 (QNX6_SUPER_MAGIC): Likewise.
4381 (RAMFS_MAGIC): Likewise.
4382 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4383 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4384 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4385 (SECURITYFS_MAGIC): Likewise.
4386 (SELINUX_MAGIC): Likewise.
4387 (SMACK_MAGIC): Likewise.
4388 (SOCKFS_MAGIC): Likewise.
4389 (SQUASHFS_MAGIC): Likewise.
4390 (STACK_END_MAGIC): Likewise.
4391 (TMPFS_MAGIC): Likewise.
4392 (USBDEVICE_SUPER_MAGIC): Likewise.
4393 (V9FS_MAGIC): Likewise.
4394 (XENFS_SUPER_MAGIC): Likewise.
4395 (CRAMFS_MAGIC): Fix typo in comment.
4396 (EXT2_SUPER_MAGIC): Update comment.
4397 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4398
464263cc
JM
43992014-02-08 Joseph Myers <joseph@codesourcery.com>
4400
c6bfe5c4
JM
4401 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4402 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4403 * sysdeps/unix/sysv/linux/arm: Move directory from
4404 ports/sysdeps/unix/sysv/linux/arm.
4405 * README: Update listing for arm-*-linux-gnueabi.
4406
464263cc
JM
4407 * README: Remove mention of am33.
4408
32749f6c
RM
44092014-02-07 Roland McGrath <roland@hack.frob.com>
4410
4411 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4412 than the comma operator, to avoid "rhs of comma has no effect"
4413 compiler warnings.
4414 (__sigfillset, __sigandset, __sigorset): Likewise.
4415 * include/signal.h (__sigemptyset): Likewise.
4416 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4417
d5b396c1
AM
44182014-02-07 Allan McRae <allan@archlinux.org>
4419
4420 * version.h (RELEASE): Set to "development".
4421 (VERSION): Set to "2.19.90"
4422 * NEWS: Add 2.20 section.
4423
3bfff2ed
CD
44242014-02-06 Carlos O'Donell <carlos@redhat.com>
4425
4426 [BZ #16529]
4427 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4428
ee7cc385
SP
44292014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4430
4431 * manual/contrib.texi: Update entry for Carlos O'Donell,
4432 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4433
f877c4f2
CD
44342014-02-05 Carlos O'Donell <carlos@rehdat.com>
4435
27e839f6
CD
4436 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4437
f877c4f2
CD
4438 * sysdeps/unix/sysv/linux/kernel-features.h
4439 [__LINUX_KERNEL_VERSION >= 0x020621]
4440 (__ASSUME_PROC_PID_TASK_COMM): Define.
4441
68159946
SP
44422014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4443
ba17cdbd
SP
4444 [BZ #16398]
4445 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4446 conversion when destination buffer does not have enough space.
4447 * libio/tst-ftell-partial-wide.c: New test case.
4448 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4449
68159946
SP
4450 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4451 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4452 Leonard and Allan McRae.
4453
2b528732
DM
44542014-02-04 David S. Miller <davem@davemloft.net>
4455
4456 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4457 32-bit.
4458
0ff82463
AZ
44592014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4460
c01603f7
AZ
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4462 file
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4464 New file
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4466 file.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4468 file.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4470 New file.
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4472 file.
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4474 file.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4476 New file.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4478 New file.
4479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4480 New file.
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4482 New file.
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4484 New file.
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4486 New file.
4487
44882014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4489
0ff82463
AZ
4490 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4491 * shlib-versions: Likewise.
4492
1695c773
AZ
44932014-02-04 Roland McGrath <roland@hack.frob.com>
4494 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4495
4496 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4497 (abilist-pattern): New variable, set to %-le.abilist.
4498
4499 * Makerules (abilist-pattern): New variable.
4500 (vpath): Use $(abilist-pattern) in place of %.abilist.
4501 (check-abi-% pattern rule): Likewise.
4502 (check-abi, update-abi): Likewise.
4503
6c0ce4b4
EW
45042014-02-04 Eric Wong <normalperson@yhbt.net>
4505
4506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4507
dc98b8f5
EW
45082014-02-04 Eric Wong <normalperson@yhbt.net>
4509
4510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4511
481e3524
CD
45122014-02-03 Carlos O'Donell <carlos@redhat.com>
4513
4514 * manual/startup.texi: Add next, previous, and top entries for
4515 the `Program Arguments' and `Environment Variables' nodes.
4516
375592d3
AO
45172014-02-03 Alexandre Oliva <aoliva@redhat.com>
4518
4519 * manual/macros.texi: Add comments before MTASC-safety macros.
4520
f54838ba
AO
4521 * manual/users.texi: Document MTASC-safety properties.
4522
909e12ad
AO
4523 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4524 pthread_getspecific, pthread_setspecific): Format with
4525 @deftypefun, and add @safety note.
4526 * manual/signal.texi: Move comments that analyze the above
4527 functions to their home place.
4528
fd3daba4
AM
45292014-02-03 Allan McRae <allan@archlinux.org>
4530
4531 * po/sl.po: Update Slovenian translation from translation project.
4532
597636d7
AO
45332014-02-02 Alexandre Oliva <aoliva@redhat.com>
4534
4535 * manual/time.texi (timegm): Add missing blank after @c.
4536 Reported by Joseph Myers <joseph@codesourcery.com>.
4537
ee196e3c
AO
45382014-02-01 Alexandre Oliva <aoliva@redhat.com>
4539
4540 * manual/check-safety.sh: New.
4541 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4542
f8d529d5
AO
4543 * manual/terminal.texi: Document MTASC-safety properties.
4544
de55fdf4
AO
4545 * manual/filesys.texi: Document MTASC-safety properties.
4546
c3299c08
AO
4547 * manual/errno.texi: Document MTASC-safety properties.
4548
06e90b14
AO
4549 * manual/intro.texi: Document safety identifiers and
4550 conditionals.
4551
1acd4371
AO
4552 * manual/string.texi (wcstok): Fix prototype.
4553 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4554
23e5b8cb
AO
4555 * manual/time.texi: Document MTASC-safety properties.
4556
11087373
AO
4557 * manual/string.texi: Document MTASC-safety properties.
4558
5da2c93d
AO
4559 * manual/threads.texi: Document MTASC-safety properties.
4560
171e9210
AO
4561 * manual/stdio.texi: Document MTASC-safety properties.
4562
d9e02532
AO
4563 * manual/syslog.texi: Document MTASC-safety properties.
4564
6af8bab7
AO
4565 * manual/sysinfo.texi: Document MTASC-safety properties.
4566
663b02d7
AO
4567 * manual/startup.texi: Document MTASC-safety properties.
4568
973f180b
AO
4569 * manual/socket.texi: Document MTASC-safety properties.
4570
8f3c25c8
AO
4571 * manual/signal.texi: Document MTASC-safety properties.
4572
542210fb
AO
45732014-01-31 Alexandre Oliva <aoliva@redhat.com>
4574
4575 * manual/setjmp.texi: Document MTASC-safety properties.
4576
433c45a2
AO
4577 * manual/search.texi: Document MTASC-safety properties.
4578
c8ce789c
AO
4579 * manual/resource.texi: Document MTASC-safety properties.
4580
19f5d29c
AO
4581 * manual/process.texi: Document MTASC-safety properties.
4582
e2dfb7f4
AO
4583 * manual/platform.texi: Document MTASC-safety properties.
4584
8c1413f5
AO
4585 * manual/pipe.texi: Document MTASC-safety properties.
4586
03483ada
AO
4587 * manual/pattern.texi: Document MTASC-safety properties.
4588
29e7e2df
AO
4589 * manual/message.texi: Document MTASC-safety properties.
4590
9f529d7c
AO
4591 [BZ #12751]
4592 * manual/memory.texi: Document MTASC-safety properties.
4593
27aaa791
AO
4594 * manual/math.texi: Document MTASC-safety properties.
4595
f2d58726
AO
4596 * manual/locale.texi: Document MTASC-safety properties.
4597
2cc3615c
AO
4598 * manual/llio.texi: Document MTASC-safety properties.
4599
d9f0ec97
AO
4600 * manual/libdl.texi: New.
4601
e7c4409a
AO
4602 * manual/lang.texi: Document MTASC-safety properties.
4603
27bdc63c
AO
4604 * manual/job.texi: Document MTASC-safety properties.
4605
a7b90ea9
AO
4606 * manual/getopt.texi: Document MTASC-safety properties.
4607
c49130e3
AO
4608 * manual/ctype.texi: Document MTASC-safety properties.
4609
0d23a5c1
MR
46102014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4611
4612 [BZ #16046]
4613 * csu/libc-tls.c (static_map): Remove variable.
4614 (__libc_setup_tls): Use main executable's link map for TLS data.
4615 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4616 casing for LM_ID_BASE and GL(dl_nns).
4617 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4618 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4619 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4620 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4621 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4622 member.
4623 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4624 l_phnum members.
4625
0037bb60
AO
46262014-01-30 Alexandre Oliva <aoliva@redhat.com>
4627
4628 * manual/debug.texi: Document MTASC-safety properties.
4629
409e00bd
L
46302014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4631
4632 [BZ #16510]
4633 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4634 of __x86_64__ when disabling x87 inline functions.
4635
86e60666
AO
46362014-01-29 Alexandre Oliva <aoliva@redhat.com>
4637
4638 * manual/charset.texi: Document MTASC-safety properties.
4639
76167637
AO
4640 * manual/crypt.texi: Document MTASC-safety properties.
4641
e567f2a0
AO
4642 * manual/conf.texi: Document MTASC-safety properties.
4643
b719dafd
AO
4644 * manual/arith.texi: Document MTASC-safety properties.
4645
4a16c662
AO
4646 * manual/argp.texi: Document MTASC-safety properties.
4647
0a57b83e
AO
4648 * manual/macros.texi: Introduce macros to document multi
4649 thread, asynchronous signal and asynchronous cancellation
4650 safety properties.
4651 * manual/intro.texi: Introduce the properties themselves.
4652
feab2397
KK
46532014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4654
4655 * sysdeps/sh/sh4/Makefile: New file.
4656
1c0d11bc
AS
46572014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4658
4659 * math/gen-libm-test.pl ($srcdir): New variable.
4660 ($auto_input): Use it.
4661
af37a8a3
SP
46622014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4663
d7b00f98
SP
4664 [BZ #16506]
4665 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4666 access beyond array bounds when parsing netgroups file.
4667
af37a8a3
SP
4668 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4669 the old buffer before realloc.
4670
0c00f062
AM
46712014-01-27 Allan McRae <allan@archlinux.org>
4672
4673 * po/fr.po: Update French translation from translation project.
4674
7d69a1b0
KK
46752014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4676
4677 * sysdeps/sh/libm-test-ulps: Regenerate.
4678
6e697ff7
DM
46792014-01-24 David S. Miller <davem@davemloft.net>
4680
4681 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4682
9cadb35c
KK
46832014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4684
4685 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4686 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4687
5d41dadf
SP
46882013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4689
4690 [BZ #16474]
4691 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4692 string pointers after reallocation.
4693
0bad441c
KK
46942014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4695
4696 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4697 __SH4A__ instead of __SH_FPU_ANY__.
4698
7007c661
KK
46992014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4700
4701 * sysdeps/sh/fpu_control.h: New file.
4702 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4703 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4704 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4705 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4706 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4707 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4708 * sysdeps/sh/sys/ucontext.h: Remove.
4709 * sysdeps/sh/sys: Remove directory.
4710
0f0c35e4
AK
47112014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4712
4713 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4714 s390/sys/ucontext.h.
4715 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4716 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4717
4959e284
L
47182014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4719
4720 [BZ #15605]
4721 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4722
d98720e0
AZ
47232014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4724
4725 [BZ#16431]
4726 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4727 Adjust the vDSO correctly for internal calls.
4728 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4729
91cbd0bc
AM
47302014-01-20 Allan McRae <allan@archlinux.org>
4731
4732 * po/ca.po: Update Catalan translation from translation project.
4733
7a02cfad
MF
47342014-01-16 Mike Frysinger <vapier@gentoo.org>
4735
4736 * sysdeps/s390/sotruss-lib.c: New file.
4737
736c304a
AZ
47382014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4739
4740 [BZ#16430]
6e077ee5 4741 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4742 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4743 local calls issues by not having a PLT stub required for IFUNC calls.
4744 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4745
94d0cea0
JM
47462014-01-16 Joseph Myers <joseph@codesourcery.com>
4747
4748 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4749 * math/test-fpucw-static.c: Likewise.
4750
980cb518
SP
47512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4752
4753 [BZ #16453]
4754 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4755
2393fc01
AZ
47562014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4757
4758 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4759 implementation for powerpc.
4760
d359bcc2
OB
47612014-01-15 Ondřej Bílka <neleai@seznam.cz>
4762
4763 [BZ #14782]
4764 * sysdeps/posix/system.c (__libc_system): Do not enable
4765 asynchronous cancellation.
4766
7beb48cb
AK
47672014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4768
4769 [BZ #16427]
4770 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4771 handling only for numbers special also in the IEEE case.
4772
c20d5bf5
AK
47732014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4774
4775 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4776
e83bd4ee
AM
47772014-01-11 Allan McRae <allan@archlinux.org>
4778
76d0ea69
AM
4779 * po/bg.po: Update Bulgarian translation from translation project.
4780
e83bd4ee
AM
4781 * po/de.po: Update German translation from translation project.
4782
bc2ba20a
RM
47832014-01-10 Roland McGrath <roland@hack.frob.com>
4784
4785 * sysdeps/generic/gcc-compat.h: New file.
4786
649ecea2
SP
47872014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4788
4789 * benchtests/asin-inputs: Correct slow inputs.
4790 * benchtests/acos-inputs: Likewise.
4791
1b19c006
AM
47922014-01-10 Allan McRae <allan@archlinux.org>
4793
a46dab08
AM
4794 * po:sv.po: Update Swedish translation from translation project.
4795
421df74a
AM
4796 * po/vi.po: Update Vietnamese translation from translation project.
4797
d61c51a7
AM
4798 * po/eo.po: Update Esperanto translation from translation project.
4799
0339a319
AM
4800 * po/cs.po: Update Czech translation from translation project.
4801
94ad3e99
AM
4802 * po/nl.po: Update Dutch translation from translation project.
4803
e349ca71
AM
4804 * po/pl.po: Update Polish translation from translation project.
4805
ddf930c1
AM
4806 * po/ru.po: Update Russian translation from translation project.
4807
1b19c006
AM
4808 * po/uk.po: Update Ukrainian translation from translation project.
4809
9f236c49
BM
48102014-01-08 Brooks Moses <bmoses@google.com>
4811
4812 * elf/dl-load.c: Fix comment typo.
4813
cd6701cf
CD
48142014-01-08 Carlos O'Donell <carlos@redhat.com>
4815
4816 * po/header.pot: Rename to...
4817 * po/pot.header: ... this.
4818 * po/Makefile: Use pot.header.
4819
66671c84
YK
48202014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4821 Maxim Kuvyrkov <maxim@kugelworks.com>
4822
4823 [BZ #16394]
cd6701cf
CD
4824 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4825 SRC and DEST against LEN.
66671c84 4826
38f34581
AZ
48272014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4828
4829 [BZ #16414]
4830 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4831 implementation.
4832 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4833
48342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4835
4836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4837
4c327f2a
JM
48382014-01-08 Joseph Myers <joseph@codesourcery.com>
4839
4840 [BZ #16408]
4841 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4842 for large positive arguments.
4843
b821f414
JM
48442014-01-07 Joseph Myers <joseph@codesourcery.com>
4845
1f0f2067
JM
4846 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4847
a5a326f6
JM
4848 * math/auto-libm-test-in: Mark various tests with
4849 xfail-rounding:ldbl-128ibm.
4850 * math/auto-libm-test-out: Regenerated.
4851
b821f414
JM
4852 [BZ #16407]
4853 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4854 Increase overflow threshold.
4855
94c8a4bc
OB
48562014-01-07 Ondřej Bílka <neleai@seznam.cz>
4857
4858 [BZ #14286]
4859 * stdio-common/vfprintf.c: Check for integer overflow.
4860
87ded0c3
AK
48612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4862
4863 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4864 the first argument and return value of __tls_get_addr_internal.
4865
c5eebdd0
AK
48662014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4867
4868 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4869 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4870
05d138ef
AK
48712014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4872
4873 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4874 * sysdeps/s390/rtld-global-offsets.sym: New file.
4875 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4876 GLIBC_2.19 symbol.
4877 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4878 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4879 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4880 ... this.
4881 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4882 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4883 ... this.
4884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4885 Regenerate.
4886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4887 Regenerate.
4888 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4889 halfs of GPRs for high_gprs contexts.
4890 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4891 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4892 field.
4893 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4894 uc_flags field.
4895 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4896 64 bit versions:
4897 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4898 for high GPRs (uc_high_gprs) and for future extensions
4899 (__reserved).
4900 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4901 for future extensions (__reserved).
4902 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4903 64 bit versions:
4904 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4905 SC_HIGHGPRS offset definition.
4906 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4907 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4908
93a45ff1
AK
49092014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4910
4911 * Versions.def: Add GLIBC_2.19 for libpthread.
4912 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4913 siglongjmp for libpthread with GLIBC_2.19 symver.
4914 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4915 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4916 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4917 * sysdeps/s390/__longjmp.c: New file.
4918 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4919 * sysdeps/s390/longjmp.c: New file.
4920 * sysdeps/s390/setjmp.S: New file.
4921 * sysdeps/s390/sigjmp.S: New file.
4922 * sysdeps/s390/v1-longjmp.c: New file.
4923 * sysdeps/s390/v1-setjmp.h: New file.
4924 * sysdeps/s390/v1-sigjmp.c: New file.
4925 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4926 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4927 GLIBC_2.19 version.
4928 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4929 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4930 versioned symbols for ____longjmp_chk.
4931 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4932 Likewise.
4933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4934 Regenerate.
4935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4936 Regenerate.
4937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4938 Regenerate.
4939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4940 Regenerate.
4941 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4942 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4943 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4944 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4945 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4946 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4947 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4948 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4949 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4950 * sysdeps/s390/rtld-__longjmp.c: New file.
4951 * sysdeps/s390/rtld-setjmp.S: New file.
4952
eb3fc44b
JM
49532014-01-06 Joseph Myers <joseph@codesourcery.com>
4954
4955 [BZ #16400]
4956 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4957 Return -__logl (x) for small positive arguments without evaluating
4958 a polynomial.
4959
9341dde4
MF
49602014-01-06 Mike Frysinger <vapier@gentoo.org>
4961
4962 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4963 Rename to ...
4964 (__ptrace_peeksiginfo_args): ... this.
4965 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4968
4cff0293
AM
49692014-01-06 Allan McRae <allan@archlinux.org>
4970
4971 * inet/netinet/in.h: Fix typo in comment.
4972
75595dcf
AJ
49732014-01-05 Andreas Jaeger <aj@suse.de>
4974
4975 * sysdeps/i386/fpu/libm-test-ulps: Update.
4976
79c1e109
AM
49772014-01-05 Allan McRae <allan@archlinux.org>
4978
dd804818
AM
4979 * po/libc.pot: Regenerated.
4980
79c1e109
AM
4981 * malloc/memusagestat.c: Fix gettext call formatting.
4982
0c813d1f
SK
49832014-01-04 Sami Kerola <kerolasa@iki.fi>
4984
4985 * nscd/nscd.c: Improve usage() output.
4986
20f4a8d9
MF
49872014-01-04 Mike Frysinger <vapier@gentoo.org>
4988
4989 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4990 * sysdeps/unix/sysv/linux/configure: Regenerated.
4991 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4992 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4993
22562bb2
JM
49942014-01-03 Joseph Myers <joseph@codesourcery.com>
4995
4996 [BZ #16390]
4997 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4998 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4999
d7ad2d9b
AZ
50002014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5001
5002 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5003 extra tokens at end of #undef directive.
5004 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5005 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5006 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5007
7dd009d8
JM
50082014-01-03 Joseph Myers <joseph@codesourcery.com>
5009
24db925a
JM
5010 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5011
7dd009d8
JM
5012 * math/auto-libm-test-in: Mark various tests with
5013 xfail-rounding:ldbl-128ibm.
5014 * math/auto-libm-test-out: Regenerated.
5015
396e3ecf
JM
50162014-01-02 Joseph Myers <joseph@codesourcery.com>
5017
819e5d50
JM
5018 [BZ #16386]
5019 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5020 numbers with subnormal high part when calculating exponent.
5021
90b6a1e5
JM
5022 [BZ #16385]
5023 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5024 fabs.
5025
396e3ecf
JM
5026 [BZ #16384]
5027 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5028 M_LN2l.
5029 (__ieee754_acoshl): Use __log1pl not __log1p.
5030
6c8dbf00
OB
50312013-01-02 Ondřej Bílka <neleai@seznam.cz>
5032
5033 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5034 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5035 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5036 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5037 Convert to GNU style.
5038 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5039 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5040 memalign_check, __malloc_set_state): Likewise.
5041 * malloc/mallocbug.c (main): Likewise.
5042 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5043 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5044 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5045 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5046 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5047 * malloc/malloc.h: Likewise.
5048 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5049 memalignhook, reallochook, mabort): Likewise.
5050 * malloc/mcheck.h: Likewise.
5051 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5052 mmap64, mremap, munmap, dest): Likewise.
5053 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5054 * malloc/morecore.c (__default_morecore): Likewise.
5055 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5056 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5057 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5058 print_and_abort): Likewise.
5059 * malloc/obstack.h: Likewise.
5060 * malloc/set-freeres.c (__libc_freeres): Likewise.
5061 * malloc/tst-mallocstate.c (main): Likewise.
5062 * malloc/tst-mtrace.c (main): Likewise.
5063 * malloc/tst-realloc.c (do_test): Likewise.
5064
d4124212
SP
50652013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5066
9a3c6a6f
SP
5067 [BZ #16366]
5068 * nscd/netgroupcache.c (do_notfound): New function.
5069 (addgetnetgrentX): Use it.
5070
d4124212
SP
5071 [BZ # 16365]
5072 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5073 NSS_STATUS_NOTFOUND.
5074
97b9a009
JM
50752014-01-01 Joseph Myers <joseph@codesourcery.com>
5076
5077 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5079
d4697bc9
AM
50802014-01-01 Allan McRae <allan@archlinux.org>
5081
ddb3687f
AM
5082 * scripts/update-copyrights: Update configure input file suffix.
5083
88726d48
AM
5084 * NEWS: Update copyright year.
5085 * catgets/gencat.c: Likewise.
5086 * csu/version.c: Likewise.
5087 * debug/catchsegv.sh: Likewise.
5088 * debug/pcprofiledump.c: Likewise.
5089 * debug/xtrace.sh: Likewise.
5090 * elf/ldconfig.c: Likewise.
5091 * elf/ldd.bash.in: Likewise.
5092 * elf/pldd.c: Likewise.
5093 * elf/sotruss.ksh: Likewise.
5094 * elf/sprof.c: Likewise.
5095 * iconv/iconv_prog.c: Likewise.
5096 * iconv/iconvconfig.c: Likewise.
5097 * locale/programs/locale.c: Likewise.
5098 * locale/programs/localedef.c: Likewise.
5099 * login/programs/pt_chown.c: Likewise.
5100 * malloc/memusage.sh: Likewise.
5101 * malloc/memusagestat.c: Likewise.
5102 * malloc/mtrace.pl: Likewise.
5103 * manual/libc.texinfo: Likewise.
5104 * nscd/nscd.c: Likewise.
5105 * nss/getent.c: Likewise.
5106 * nss/makedb.c: Likewise.
5107 * posix/getconf.c: Likewise.
5108 * scripts/test-installation.pl: Likewise.
5109
d4697bc9
AM
5110 * All files with FSF copyright notices: Update copyright dates
5111 using scripts/update-copyrights.
5112 * intl/plural.c: Regenerated.
5113 * locale/programs/charmap-kw.h: Likewise.
5114 * locale/programs/locfile-kw.h: Likewise.
5115
c8590f9d
MF
51162013-12-31 Mike Frysinger <vapier@gentoo.org>
5117
5118 * sysdeps/unix/sysv/linux/configure: Regenerated.
5119 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5120 the linux/fanotify.h header.
5121 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5122 HAVE_LINUX_FANOTIFY_H is defined.
5123
b19221b9
SP
51242013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5125
dd1d85e5
SP
5126 * benchtests/cos-inputs: New inputs.
5127 * benchtests/sin-inputs: Likewise.
5128
1acbb90f
SP
5129 * benchtests/atan-inputs: New inputs. Fix name of multiple
5130 precision fallback inputs.
5131
4c012ed3
SP
5132 * benchtests/atanh-inputs: New inputs.
5133 * benchtests/tanh-inputs: Likewise.
5134
eff98324
SP
5135 * benchtests/acosh-inputs: New inputs.
5136 * benchtests/asinh-inputs: Likewise.
5137
ce641152
SP
5138 * benchtests/cosh-inputs: New inputs.
5139 * benchtests/sinh-inputs: Likewise.
5140
b19221b9
SP
5141 * benchtests/acos-inputs: Add more inputs.
5142 * benchtests/asin-inputs: Likewise.
5143
030a4976 51442013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5145
030a4976 5146 [BZ #16375]
9dcc8f11
VS
5147 * manual/arith.texi: Fix spelling.
5148 * manual/charset.texi: Likewise.
5149 * manual/errno.texi: Likewise.
5150 * manual/filesys.texi: Likewise.
5151 * manual/lang.texi: Likewise.
5152 * manual/llio.texi: Likewise.
5153 * manual/locale.texi: Likewise.
5154 * manual/message.texi: Likewise.
5155 * manual/resource.texi: Likewise.
5156 * manual/search.texi: Likewise.
5157 * manual/setjmp.texi: Likewise.
5158 * manual/stdio.texi: Likewise.
5159 * manual/string.texi: Likewise.
5160 * manual/sysinfo.texi: Likewise.
5161 * manual/time.texi: Likewise.
5162
11520a57
CD
51632013-12-27 Carlos O'Donell <carlos@redhat.com>
5164
5165 * po/sl.po: New file.
5166
471103ae
MF
51672013-12-27 Mike Frysinger <vapier@gentoo.org>
5168
5169 * .gitignore: Add core/.gdbinit/.gdb_history.
5170
6c9642ed
AM
51712013-12-27 Allan McRae <allan@archlinux.org>
5172
5173 [BZ #16369]
5174 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5175 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5176
3f637079
BM
51772013-12-24 Brooks Moses <bmoses@google.com>
5178
5179 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5180 all compilers that claim C++98 compliance, not just GCC.
5181 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5182 Likewise.
5183
abc26e99
MK
51842013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5185
5186 * NEWS: Restore accidentally deleted bug-fix entries.
5187
362b47fe
MK
51882013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5189 Ondřej Bílka <neleai@seznam.cz>
5190
5191 [BZ #15073]
5192 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5193 have_lock.
362b47fe 5194
b9bcbbcb
OB
51952013-12-23 Ondřej Bílka <neleai@seznam.cz>
5196
5197 [BZ #12986]
5198 * manual/stdio.texi (String Input Conversions): Clarify that character
5199 classes are not supported.
5200
fb55fcd2
AZ
52012013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5202
5203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5204
ef7344f0
JM
52052013-12-22 Joseph Myers <joseph@codesourcery.com>
5206
4f40e4b3
JM
5207 [BZ #16337]
5208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5209 Calculate results for small negative arguments directly rather
5210 than using reflection formula with special underflow handling.
5211
ef7344f0
JM
5212 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5213 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5214 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5215 (fchflags): Likewise.
5216 (revoke): Likewise.
5217 (setlogin): Likewise.
5218 (sigaltstack): Likewise.
5219 (wait4): Likewise.
5220 (sigblock): Remove.
5221 (sigsetmask): Likewise.
5222 (wait3): Likewise.
5223 (waitpid): Likewise.
5224 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5225 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5226 file.
5227 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5228 * sysdeps/unix/bsd/Makefile: ... here.
5229 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5230 * sysdeps/unix/bsd/Versions: ... here.
5231 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5232 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5233 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5234 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5235 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5236 * sysdeps/unix/bsd/sigblock.c: ... here.
5237 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5238 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5239 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5240 * sysdeps/unix/bsd/sigvec.c: ... here.
5241 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5242 * sysdeps/unix/bsd/tcdrain.c: ... here.
5243 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5244 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5245 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5246 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5247 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5248 * sysdeps/unix/bsd/wait.c: ... here.
5249 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5250 * sysdeps/unix/bsd/wait3.c: ... here.
5251 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5252 * sysdeps/unix/bsd/waitpid.c: ... here.
5253
5b0626b9
JM
52542013-12-21 Joseph Myers <joseph@codesourcery.com>
5255
5256 [BZ #16356]
5257 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5258 round-to-nearest for [!USE_AS_EXPM1L].
5259 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5260 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5261 more tests of exp and exp10. Expect some exp10 tests to miss
5262 exceptions or fail in directed rounding modes.
5263 * math/auto-libm-test-out: Regenerated.
5264 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5265 (exp10_test_tonearest): New function.
5266 (exp10_towardzero_test_data): New array.
5267 (exp10_test_towardzero): New function.
5268 (exp10_downward_test_data): New array.
5269 (exp10_test_downward): New function.
5270 (exp10_upward_test_data): New array.
5271 (exp10_test_upward): New function.
5272 (main): Call the new functions.
5273 * sysdeps/i386/fpu/libm-test-ulps: Update.
5274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5275
7fda5682
JM
52762013-12-20 Joseph Myers <joseph@codesourcery.com>
5277
31e3a405
JM
5278 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5279 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5280 * math/auto-libm-test-out: Regenerated.
5281 * math/libm-test.inc (acosh_test_data): Add more tests.
5282 (atanh_test_data): Likewise.
5283 (ceil_test_data): Likewise.
5284 (copysign_test_data): Likewise.
5285 * sysdeps/i386/fpu/libm-test-ulps: Update.
5286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5287
85bff96a
JM
5288 * timezone/checktab.awk: Update from tzcode 2013i.
5289 * timezone/private.h: Likewise.
5290 * timezone/scheck.c: Likewise.
5291 * timezone/tzfile.h: Likewise.
5292 * timezone/tzselect.ksh: Likewise.
5293 * timezone/zdump.c: Likewise.
5294 * timezone/zic.c: Likewise.
5295
b7867a3b
JM
5296 * math/auto-libm-test-in: Add tests of cpow.
5297 * math/auto-libm-test-out: Regenerated.
5298 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5299 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5300 mpc_cc_c.
5301 (func_calc_desc): Add mpc_cc_c union field.
5302 (test_functions): Add cpow.
5303 (special_fill_2pi): New function.
5304 (special_real_inputs): Add 2pi.
5305 (calc_generic_results): Handle mpc_cc_c.
5306 * sysdeps/i386/fpu/libm-test-ulps: Update.
5307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5308
7fda5682
JM
5309 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5310 csqrt, ctan and ctanh.
5311 * math/auto-libm-test-out: Regenerated.
5312 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5313 (TEST_COND_x86): Likewise.
5314 (ccos_test_data): Use AUTO_TESTS_c_c.
5315 (ccosh_test_data): Likewise.
5316 (cexp_test_data): Likewise.
5317 (clog_test_data): Likewise.
5318 (csqrt_test_data): Likewise.
5319 (ctan_test_data): Likewise.
5320 (ctan_tonearest_test_data): Likewise.
5321 (ctan_towardzero_test_data): Likewise.
5322 (ctan_downward_test_data): Likewise.
5323 (ctan_upward_test_data): Likewise.
5324 (ctanh_test_data): Likewise.
5325 (ctanh_tonearest_test_data): Likewise.
5326 (ctanh_towardzero_test_data): Likewise.
5327 (ctanh_downward_test_data): Likewise.
5328 (ctanh_upward_test_data): Likewise.
5329 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5330 mpc_c_c.
5331 (func_calc_desc): Add mpc_c_c union field.
5332 (FUNC_mpc_c_c): New macro.
5333 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5334 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5335 ctanh.
5336 (special_fill_min_subnorm_p120): New function.
5337 (special_real_inputs): Add min_subnorm_p120.
5338 (calc_generic_results): Handle mpc_c_c.
5339 * sysdeps/i386/fpu/libm-test-ulps: Update.
5340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5341
5ff8d60e
SP
53422013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5343
392dd2de
SP
5344 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5345 do_sin_slow): New functions.
5346 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5347 cslow2, csloww1, csloww2): Use the new functions.
5348
84ba214c
SP
5349 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5350 Use M to change sign of result instead of X. Assume X is
5351 positive.
5352 (csloww1): Likewise.
5353 (__sin): Adjust.
5354 (__cos): Adjust.
5355
975195e4
SP
5356 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5357 arguments A and DA.
5358 (__sin): Adjust.
5359 (__cos): Likewise.
5360
5ff8d60e
SP
5361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5362 (__cos): Likewise.
5363 (sloww1): Don't adjust sign of DX.
5364 (csloww1): Likewise.
5365 (sloww2): Use X directly and don't adjust sign of DX.
5366 (csloww2): Likewise.
5367
eb983568
JM
53682013-12-19 Joseph Myers <joseph@codesourcery.com>
5369
64a17f1a
JM
5370 * math/auto-libm-test-in: Add tests of cabs and carg.
5371 * math/auto-libm-test-out: Regenerated.
5372 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5373 (carg_test_data): Likewise.
5374 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5375 mpc_c_f.
5376 (func_calc_desc): Add mpc_c_f union field.
5377 (test_functions): Add cabs and carg.
5378 (calc_generic_results): Handle mpc_c_f.
5379
eb983568
JM
5380 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5381 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5382 as a macro and a compat symbol.
5383 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5384 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5385 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5386 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5387 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5388 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5389 not use .hidden.
5390 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5391 Likewise.
5392 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5393 Likewise.
5394 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5395 Likewise.
5396 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5397 Likewise.
5398 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5399 Likewise.
5400 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5401 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5402 from GLIBC_2.3.2.
5403
6eeb678a
AZ
54042013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5405
5406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5407
6f6fc482
JM
54082013-12-19 Joseph Myers <joseph@codesourcery.com>
5409
21fea2e2
JM
5410 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5411 trailing whitespace removed.
5412 * scripts/config.guess: Update to version 2013-11-29.
5413 * scripts/config.sub: Update to version 2013-10-01.
5414
6f6fc482
JM
5415 * math/auto-libm-test-in: Add tests of sincos.
5416 * math/auto-libm-test-out: Regenerated.
5417 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5418 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5419 mpfr_f_11.
5420 (func_calc_desc): Add mpfr_f_11 union field.
5421 (test_functions): Add sincos.
5422 (calc_generic_results): Handle mpfr_f_11.
5423 * sysdeps/i386/fpu/libm-test-ulps: Update.
5424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5425
83f5c32d
AS
54262013-12-19 Andreas Schwab <schwab@suse.de>
5427
5428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5429 CALL_MCOUNT.
5430 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5431 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5432 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5433
c688b419
JM
54342013-12-19 Joseph Myers <joseph@codesourcery.com>
5435
335ee092
JM
5436 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5437 * sysdeps/i386/fpu/libm-test-ulps: Update.
5438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5439
f88acd39
JM
5440 [BZ #16293]
5441 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5442 round-to-nearest mode when using frndint.
5443 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5444 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5446 Likewise.
5447 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5448 sinh test to fail.
5449 * math/auto-libm-test-out: Regenerated.
5450 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5451 (TEST_COND_x86): Likewise.
5452 (expm1_tonearest_test_data): New array.
5453 (expm1_test_tonearest): New function.
5454 (expm1_towardzero_test_data): New array.
5455 (expm1_test_towardzero): New function.
5456 (expm1_downward_test_data): New array.
5457 (expm1_test_downward): New function.
5458 (expm1_upward_test_data): New array.
5459 (expm1_test_upward): New function.
5460 (main): Run the new test functions.
5461 * sysdeps/i386/fpu/libm-test-ulps: Update.
5462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5463
c688b419
JM
5464 * include/features.h: Update comment documenting feature test
5465 macros. Mention _DEFAULT_SOURCE in comment.
5466 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5467 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5468 _BSD_SOURCE and _SVID_SOURCE.
5469 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5470 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5471 !_SVID_SOURCE]: Likewise.
5472 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5473 (__USE_POSIX_IMPLICITLY): Define.
5474 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5475 (_POSIX_SOURCE): Undefine and redefine.
5476 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5477 (_POSIX_C_SOURCE): Likewise.
5478 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5479 (Feature Test Macros): Update documentation of default features.
5480
9f6e964c
RS
54812013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5482
5483 * benchtests/Makefile: Add bench-strtok.
5484 * benchtests/bench-strtok.c: New file: strtok benchtest.
5485
ee0a148a
AM
54862013-12-19 Allan McRae <allan@archlinux.org>
5487
5488 * manual/install.texi: Suppress menu for plain text output.
5489 * INSTALL: Regenerated.
5490
b9ab448f
BM
54912013-12-18 Brooks Moses <bmoses@google.com>
5492
5493 [BZ #15846]
5494 * misc/getauxval.c: Include errno.h.
5495 (__getauxval): Set errno to ENOENT if the requested type is not
5496 found.
5497 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5498 don't declare with __attribute_const__.
5499 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5500 * manual/startup.texi: Document that getauxval sets errno.
5501
23776487
JM
55022013-12-18 Joseph Myers <joseph@codesourcery.com>
5503
f889953b
JM
5504 * math/auto-libm-test-in: Add tests of jn and yn.
5505 * math/auto-libm-test-out: Regenerated.
5506 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5507 (yn_test_data): Likewise.
5508 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5509 mpfr_if_f.
5510 (func_calc_desc): Add mpfr_if_f union field.
5511 (FUNC_mpfr_if_f): New macro.
5512 (test_functions): Add jn and yn.
5513 (calc_generic_results): Assert type of second input for
5514 mpfr_ff_f. Handle mpfr_if_f.
5515 (output_for_one_input_case): Disable all checking for arguments
5516 fitting floating-point types in case of an integer argument.
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5519
23776487
JM
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5521 Don't expect fegetround reference in libm.so.
5522
cb756c6d
MS
55232013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5524
5525 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5526 $(config-cflags-nofma).
5527
2dec468f
JM
55282013-12-18 Joseph Myers <joseph@codesourcery.com>
5529
5953eb3a
JM
5530 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5531 * math/auto-libm-test-out: Regenerated.
5532
2dec468f
JM
5533 [BZ #16338]
5534 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5535 to determine exponent and adjust argument to have exponent of -1.
5536 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5537 log2.
5538 * math/auto-libm-test-out: Regenerated.
5539 * sysdeps/i386/fpu/libm-test-ulps: Update.
5540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5541
4d84e6ad
OB
55422013-12-18 Ondřej Bílka <neleai@seznam.cz>
5543
5544 * manual/probes.texi: Remove cases when per-thread arenas are
5545 disabled.
5546
1818483b
AS
55472013-12-18 Andreas Schwab <schwab@suse.de>
5548
5549 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5550 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5551 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5552 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5553 * sysdeps/i386/i686/multiarch/Makefile: Update.
5554 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5555
25de95bf
JM
55562013-12-17 Joseph Myers <joseph@codesourcery.com>
5557
5558 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5559 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5560
674762d9
PE
55612013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5562
ed27ed83 5563 [BZ #15968]
0748546f
PE
5564 Support TZ transition times < 00:00:00.
5565 This is needed for version-3 tz-format files; it supports time
5566 stamps past 2037 for America/Godthab (the only entry in the tz
5567 database for which this change is relevant).
5568 * manual/time.texi (TZ Variable): Document transition times
5569 from -167:59:59 through -00:00:01.
5570 * time/tzset.c (tz_rule): Time of day is now signed.
5571 (__tzset_parse_tz): Parse negative time of day.
5572
4480e934
PE
5573 Document TZ transition times >= 25:00:00.
5574 * manual/time.texi (TZ Variable): Document transition times from
5575 25:00:00 through 167:59:59. These are already supported, and this
5576 support will help with version-3 tz-format files.
5577
69947401
PE
5578 * manual/time.texi (TZ Variable): Modernize North America example
5579 to reflect current (i.e., 2007-and-later) daylight saving rules.
5580
674762d9
PE
5581 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5582
7011c262
JM
55832013-12-17 Joseph Myers <joseph@codesourcery.com>
5584
2fc6557e
JM
5585 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5586 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5587 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5589 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5590 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5591 * sysdeps/unix/bsd/clock.c: Likewise.
5592 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5593 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5594 * sysdeps/unix/bsd/init-posix.c: Likewise.
5595 * sysdeps/unix/bsd/poll.c: Likewise.
5596 * sysdeps/unix/bsd/ptsname.c: Likewise.
5597 * sysdeps/unix/bsd/seekdir.c: Likewise.
5598 * sysdeps/unix/bsd/setegid.c: Likewise.
5599 * sysdeps/unix/bsd/seteuid.c: Likewise.
5600 * sysdeps/unix/bsd/setgid.c: Likewise.
5601 * sysdeps/unix/bsd/setrgid.c: Likewise.
5602 * sysdeps/unix/bsd/setruid.c: Likewise.
5603 * sysdeps/unix/bsd/setsid.c: Likewise.
5604 * sysdeps/unix/bsd/setuid.c: Likewise.
5605 * sysdeps/unix/bsd/sigaction.c: Likewise.
5606 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5607 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5608 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5609 * sysdeps/unix/bsd/telldir.c: Likewise.
5610 * sysdeps/unix/bsd/times.c: Likewise.
5611 * sysdeps/unix/bsd/usleep.c: Likewise.
5612
029c7b25
JM
5613 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5614 ($(objpfx)libbsd-compat.a): Remove rule.
5615
7011c262
JM
5616 * include/features.h (__FAVOR_BSD): Do not define.
5617 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5618 features conflicting with POSIX.
5619 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5620 (_BSD_SOURCE): Remove description of not being a subset of other
5621 feature test macros.
5622 * manual/job.texi (getpgrp): Do not document BSD version.
5623 (getpgid): Do not document by reference to BSD getpgrp.
5624 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5625 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5626 * signal/signal.h [__FAVOR_BSD]: Likewise.
5627 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5628 instead of making contents conditional on [__FAVOR_BSD].
5629 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5630
affb6f78
AZ
56312013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5634
c88769dd
JM
56352013-12-17 Joseph Myers <joseph@codesourcery.com>
5636
6432a540
JM
5637 [BZ #16314]
5638 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5639 values below 2**-450, not 2**-500.
5640 * math/auto-libm-test-in: Don't allow spurious underflow from
5641 hypot.
5642 * math/auto-libm-test-out: Regenerated.
5643
c88769dd
JM
5644 [BZ #16316]
5645 [BZ #16330]
5646 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5647 values of ha and hb and sort them after adjusting subnormal
5648 arguments.
5649 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5650 Likewise.
5651 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5652 values of ea and eb and sort them after adjusting subnormal
5653 arguments.
5654 * math/auto-libm-test-in: Do not expect some hypot tests of
5655 subnormals to fail. Add more hypot tests.
5656 * math/auto-libm-test-out: Regenerated.
5657
29618f6b
KK
56582013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5659
5660 [BZ #13304]
5661 * sysdeps/sh/s_fma.c: New file.
5662 * sysdeps/sh/s_fmaf.c: New file.
5663 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5664 version.
5665 * sysdeps/sh/Implies: Add sh/soft-fp.
5666
eacfdfbf
RM
56672013-12-16 Roland McGrath <roland@hack.frob.com>
5668
5669 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5670 level of indirection to members `objname', `errstring', `malloced'.
5671 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5672 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5673 it as the __longjmp argument (just pass 1 instead).
5674 (_dl_catch_error): Initialize C with argument pointers and address of
5675 volatile local ERRCODE rather than copying values out of C at return.
5676
ff362e5b
JM
56772013-12-16 Joseph Myers <joseph@codesourcery.com>
5678
5679 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5680 * math/auto-libm-test-out: Regenerated.
5681 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5682 (hypot_test_data): Likewise.
5683 (pow_test_data): Likewise.
5684 (pow_tonearest_test_data): Likewise.
5685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5686 mpfr_ff_f.
5687 (func_calc_desc): Add mpfr_ff_f union field.
5688 (FUNC_mpfr_ff_f): New macro.
5689 (test_functions): Add atan2, hypot and pow.
5690 (special_fill_min): New function.
5691 (special_fill_minus_min): Likewise.
5692 (special_fill_min_subnorm): Likewise.
5693 (special_fill_minus_min_subnorm): Likewise.
5694 (special_real_inputs): Add min, -min, min_subnorm and
5695 -min_subnorm.
5696 (calc_generic_results): Handle mpfr_ff_f.
5697 * sysdeps/i386/fpu/libm-test-ulps: Update.
5698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5699
5764c27f
WN
57002013-12-16 Will Newton <will.newton@linaro.org>
5701
5702 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5703 (Aligned Memory Blocks): Add documentation for aligned_alloc
5704 and suggest it as an alternative to posix_memalign.
5705 (Hooks for Malloc): Document __memalign_hook is also called
5706 for aligned_alloc. (Summary of Malloc): Add summary for
5707 aligned alloc. Document __memalign_hook is also called
5708 for aligned_alloc.
5709
0a096e44
WN
57102013-12-16 Will Newton <will.newton@linaro.org>
5711
5712 * manual/memory.texi (Malloc Examples): Clarify default
5713 alignment documentation. Suggest posix_memalign rather
5714 than memalign or valloc.
5715 (Aligned Memory Blocks): Remove suggestion to use memalign
5716 or valloc. Remove obsolete comment about BSD.
5717 Document memalign errno values and mark the function obsolete.
5718 Document posix_memalign returned error codes. Mark valloc
5719 as obsolete. (Hooks for Malloc): __memalign_hook is also
5720 called for posix_memalign and valloc.
5721 (Summary of Malloc): Add posix_memalign to function summary.
5722 __memalign_hook is also called for posix_memalign and valloc.
5723
8d561986
SP
57242013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5725
5726 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5727 TAYLOR_SIN.
5728 (__sin): Adjust.
5729 (__cos): Likewise.
5730 (sloww): Use mynumber union. Expand ternary operator into
5731 if-else statements.
5732 (cslow): use mynumber union.
5733
73616a74
AM
57342013-12-16 Allan McRae <allan@archlinux.org>
5735
9e8ac24b
AM
5736 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5737 * configure: Regenerated.
5738
6f8e37eb
AM
5739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5740
8894bad3
AM
5741 [BZ #14120]
5742 * configure.ac: Added --enable-maintainer-mode. Check for
5743 autoconf when enabled.
5744 * configure: Regenerated.
5745
73616a74
AM
5746 * nscd/nscd.service: New file.
5747 * nscd/nscd.tmpfiles: New file.
5748
584b18eb
OB
57492013-12-14 Ondřej Bílka <neleai@seznam.cz>
5750
5751 [BZ #12100]
5752 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5753 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5754 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5755 (strstr): Add __strstr_sse2_unaligned ifunc.
5756 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5757 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5758 (strcasestr): Remove __strcasestr_sse42 ifunc.
5759 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5762
8a5c7897
KK
57632013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5764
5765 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5766 * sysdeps/sh/bits/fenv.h: ... here.
5767 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5768
fd712ef3
AZ
57692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770
5771 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5772
42fcb46c
AZ
57732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5774
5775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5776 hypotf multiarch implementations.
5777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5778 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5779 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5780 multiarch hypot for PPC64.
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5783 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5784 multiarch hypotf for PPC64.
5785
83efded4
AZ
57862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5787
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5789 modff multiarch implementations.
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5793 multiarch modf for PPC64.
5794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5797 multiarch modff for PPC64.
5798
43e246d2
AZ
57992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5800
5801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5802 and logl multiarch implementations.
5803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5806 multiarch logb for PPC64.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5810 multiarch logb for PPC64.
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5814 multiarch logb for PPC64.
5815
8fdad123
AZ
58162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5817
5818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5819 isinff multiarch implementation.
5820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5821 file.
5822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5824 multiarch isinf for PPC64.
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5826 file.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5828 multiarch isinff for PPC64.
5829
1481d706
AZ
58302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5833 finitef multiarch implementation.
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5835 file.
5836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5838 multiarch finite for PPC64.
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5840 file.
5841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5842 multiarch finitef for PPC64.
5843
5ccd5fc8
AZ
58442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5845
5846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5847 lrint multiarch implementation.
5848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5849 file.
5850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5852 multiarch llrint for PPC64.
5853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5854 multiarch lrint for PPC64.
5855
2568f3fa
AZ
58562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5857
5858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5859 copysignf multiarch implementation.
5860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5861 file.
5862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5863 file.
5864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5865 multiarch copysign for PPC64.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5867 multiarch copysignf for PPC64.
5868
1cb341fd
AZ
58692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5870
5871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5872 multiarch implementation.
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5874 file.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5876 file.
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5878 file.
5879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5880 file.
5881 multiarch llround for PPC64.
5882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5883 multiarch trunc for PPC64.
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5885 multiarch truncf for PPC64.
5886
59a3e194
AZ
58872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5890 multiarch implementation.
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5892 file.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5894 file.
5895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5896 file.
5897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5898 file.
5899 multiarch llround for PPC64.
5900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5901 multiarch round for PPC64.
5902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5903 multiarch roundf for PPC64.
5904
357fd3b4
AZ
59052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5908 multiarch implementation.
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5910 file.
5911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5912 file.
5913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5914 file.
5915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5916 file.
5917 multiarch llround for PPC64.
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5919 multiarch floor for PPC64.
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5921 multiarch floorf for PPC64.
5922
96770f12
AZ
59232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5926 multiarch implementation.
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5928 file.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5930 file.
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5932 file.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5934 file.
5935 multiarch llround for PPC64.
5936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5937 multiarch ceil for PPC64.
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5939 multiarch ceilf for PPC64.
5940
c3627f6e
AZ
59412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942
5943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5944 multiarch implementation.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5946 file.
5947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5948 file.
5949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5950 file.
5951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5952 multiarch llround for PPC64.
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5954 multiarch lround for PPC64.
5955
b2284ad7
AZ
59562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5957
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5959 multiarch implementation.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5963 file.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5967 multiarch isnan for PPC64.
5968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5969 multiarch isnanf for PPC64.
5970
69bbc63d
AZ
59712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5972
5973 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5974 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5975 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5976 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5977 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5979
c24517c9
AZ
59802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5981
5982 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5983 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5985 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5986
a52374e8
AZ
59872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5988
5989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5990 multiarch implementations.
5991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5992 (__libc_ifunc_impl_list): Likewise.
5993 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5994 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5995 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5996 multiarch stpcpy for PPC64.
5997
7f5ec113
AZ
59982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5999
6000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6001 multiarch implementations.
6002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6003 (__libc_ifunc_impl_list): Likewise.
6004 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6005 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6006 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6007 multiarch strcpy for PPC64.
6008
e28bcd42
AZ
60092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6010
6011 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6012 redefine function name.
6013 (_wordcopy_fwd_dest_aligned): Likewise.
6014 (_wordcopy_bwd_aligned): Likewise.
6015 (_wordcopy_bwd_dest_aligned): Likewise.
6016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6017 multiarch implementations.
6018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6019 (__libc_ifunc_impl_list): Likewise.
6020 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6021 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6022 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6023 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6024 multiarch wcscpy for PPC64.
6025
92cacfce
AZ
60262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6027
6028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6029 multiarch implementations.
6030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6031 (__libc_ifunc_impl_list): Likewise.
6032 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6033 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6034 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6035 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6036 multiarch wcscpy for PPC64.
6037
7b714620
AZ
60382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6039
6040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6041 multiarch implementations.
6042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6043 (__libc_ifunc_impl_list): Likewise.
6044 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6045 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6046 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6047 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6048 multiarch wcsrchr for PPC64.
6049
16fd2ae3
AZ
60502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051
6052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6053 multiarch implementations.
6054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6055 (__libc_ifunc_impl_list): Likewise.
6056 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6057 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6058 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6059 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6060 multiarch wcschr for PPC64.
6061
9ee2969b
AZ
60622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6063
6064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6065 multiarch implementations.
6066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6067 (__libc_ifunc_impl_list): Likewise.
6068 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6070 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6071 multiarch strchrnul for PPC64.
6072
372dc060
AZ
60732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074
6075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6076 implementations.
6077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6078 (__libc_ifunc_impl_list): Likewise.
6079 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6080 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6081 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6082 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6083 strchr for PPC64.
6084
24c2c3b9
AZ
60852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6086
6087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6088 implementations.
6089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6090 (__libc_ifunc_impl_list): Likewise.
6091 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6092 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6093 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6094 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6095 strncmp for PPC64.
6096
1c92d9a0
AZ
60972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6098
6099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6100 multiarch implementations.
6101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6102 (__libc_ifunc_impl_list): Likewise.
6103 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6104 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6105 strncasecmp for PPC64.
6106 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6107 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6108 multiarch strncasecmp_l for PPC64.
6109
17de3ee3
AZ
61102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6111
6112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6113 multiarch implementations.
6114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6115 (__libc_ifunc_impl_list): Likewise.
6116 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6117 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6118 multiarch strcasecmp for PPC64.
6119 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6120 file.
6121 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6122 multiarch strcasecmp_l for PPC64.
6123
62982bf9
AZ
61242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6125
6126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6127 implementations.
6128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6129 (__libc_ifunc_impl_list): Likewise.
6130 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6131 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6132 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6133 strnlen for PPC64.
6134
a65f4904
AZ
61352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6136
6137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6138 implementations.
6139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6140 (__libc_ifunc_impl_list): Likewise.
6141 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6142 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6143 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6144 strlen for PPC64.
6145
1fd005ad
AZ
61462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6147
6148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6149 implementations.
6150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6151 (__libc_ifunc_impl_list): Likewise.
6152 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6153 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6154 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6155 rawmemrchr for PPC64.
6156
cd05ba91
AZ
61572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6158
6159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6160 implementation.
6161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6162 (__libc_ifunc_impl_list): Likewise.
6163 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6164 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6165 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6166 memrchr for PPC64.
6167
870f8676
AZ
61682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6171 implementation.
6172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6173 (__libc_ifunc_impl_list): Likewise.
6174 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6175 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6176 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6177 memchr for PPC64.
6178
f00be62b
AZ
61792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6180
6181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6182 implementation.
6183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6184 (__libc_ifunc_impl_list): Likewise.
6185 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6186 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6187 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6188 mempcpy for PPC64.
6189
8a29a3d0
AZ
61902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191
6192 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6193 avoid cretion of __bzero symbol.
6194 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6195 Likewise.
6196 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6197 Likewise.
6198 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6199 Likewise.
6200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6201 multiarch implementations.
6202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6203 (__libc_ifunc_impl_list): Likewise.
6204 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6206 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6207 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6208 bzero for PPC32.
6209 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6210 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6211 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6212 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6213 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6214 memset for PPC64.
6215 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6216
07253fcf
AZ
62172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6218
6219 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6221 implementations.
6222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6223 (__libc_ifunc_impl_list): Likewise.
6224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6225 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6226 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6227 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6228 memcmp for PPC64.
6229
b5beafbc
AZ
62302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231
6232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6233 multiarch for POWER/PPC64.
6234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6235 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6242 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6243 memcpy for PPC64.
6244
5e6a4d4b
AZ
62452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246
6247 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6248 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6249 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6250 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6251 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6252 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6253 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6254 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6255 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6256 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6257 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6258 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6259 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6260 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6261 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6269
ddfab6dc
KK
62702013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6271
6272 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6273
19b5525e
SP
62742013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6275
6276 * benchtests/Makefile (bench): Add exp2 and log2.
6277 (LDLIBS-bench-exp2): Add -lm.
6278 (LDLIBS-bench-log2): Likewise.
6279 * benchtests/exp2-inputs: New inputs file.
6280 * benchtests/log2-inputs: New inputs file.
6281 * benchtests/log-inputs: Add new inputs.
6282 * benchtests/tan-inputs: Likewise.
6283
196f7f5d
SP
62842013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6285
7a74607f
SP
6286 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6287 definition...
6288 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6289 csloww1, csloww2): ... from here.
6290
196f7f5d
SP
6291 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6292 instead of structures.
6293 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6294 (POLYNOMIAL): Likewise.
6295 (TAYLOR_SLOW): Likewise.
6296 (__sin): Likewise.
6297 (__cos): Likewise.
6298 (slow1): Likewise.
6299 (slow2): Likewise.
6300 (sloww): Likewise.
6301 (sloww1); Likewise.
6302 (sloww2): Likewise.
6303 (bsloww1): Likewise.
6304 (bsloww2): Likewise.
6305 (cslow2): Likewise.
6306 (csloww): Likewise.
6307 (csloww1): Likewise.
6308 (csloww2): Likewise.
6309
0dfa665c
OB
63102013-12-10 Ondřej Bílka <neleai@seznam.cz>
6311
6312 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6313 (__malloc_assert, __libc_realloc, __libc_calloc,
6314 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6315 memcpy and memset.
6316 * malloc/hooks.c (realloc_check): Likewise.
6317
5782a80f
OB
63182013-12-10 Ondřej Bílka <neleai@seznam.cz>
6319
6320 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6321 * malloc/arena.c: Remove PER_THREAD conditional.
6322 [!PER_THREAD]: Remove code.
6323 (ptmalloc_unlock_all2): Likewise.
6324 (ptmalloc_init): Likewise.
6325 (_int_new_arena): Likewise.
6326 (arena_get2): Likewise.
6327 * malloc/hooks.c (__malloc_get_state): Likewise.
6328 (__malloc_set_state): Likewise.
6329 * malloc/malloc.c: Likewise.
6330 (struct malloc_state): Likewise.
6331 (struct malloc_par): Likewise.
6332 (__libc_realloc): Likewise.
6333 (__libc_mallopt): Likewise.
6334
aeb95445
AZ
63352013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6336
6337 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6338
e8349efd
OB
63392013-12-09 Ondřej Bílka <neleai@seznam.cz>
6340
6341 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6342 macro to a function. Check for zero perturb_byte.
6343 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6344
f3eeb3fc
OB
63452013-12-09 Ondřej Bílka <neleai@seznam.cz>
6346
6347 * malloc/malloc.c: (force_reg): Remove.
6348 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6349 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6350 force_reg by atomic_forced_read.
6351 * malloc/arena.c (ptmalloc_init): Likewise.
6352 * malloc/hooks.c (top_check): Likewise.
6353
be2f9009
AZ
63542013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6355
6356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6357
e7b914bd
MT
63582013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6359
6360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6361
9f0be4f8
JM
63622013-12-08 Joseph Myers <joseph@codesourcery.com>
6363
6364 * math/auto-libm-test-in: Add tests of lgamma.
6365 * math/auto-libm-test-out: Regenerated.
6366 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6367 (M_LOG_2_SQRT_PIl): Likewise.
6368 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6369 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6370 mpfr_f_f1.
6371 (func_calc_desc): Add mpfr_f_f1 union field.
6372 (ARGS1): New macro.
6373 (ARGS2): Likewise.
6374 (ARGS3): Likewise.
6375 (ARGS4): Likewise.
6376 (RET1): Likewise.
6377 (RET2): Likewise.
6378 (CALC): Likewise.
6379 (FUNC): Likewise.
6380 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6381 (test_functions): Add lgamma.
6382 (calc_generic_results): Handle mpfr_f_f1.
6383 * sysdeps/i386/fpu/libm-test-ulps: Update.
6384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6385
24eeafdb
AZ
63862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6387
6388 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6389 __mpn_add_n for PowerPC64/POWER7.
6390 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6391 __mpn_sub_n for PowerPC64/POWER7.
6392
4a2c0fd4
AZ
63932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6394
6395 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6396 __mpn_addmul_1 for PowerPC64.
6397 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6398 __mpn_submul_1 for PowerPC64.
6399 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6400 for PowerPC64.
6401 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6402 for PowerPC64.
6403
4b5b548c
FS
64042013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6405
6406 [BZ #15089]
6407 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6408
0a3ac0aa
AZ
64092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6410
6411 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6412
ccdc8438
AZ
64132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414
6415 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6416 add multiarch folders.
6417 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6418 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6419 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6420 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6421 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6422 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6423 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6424 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6425 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6426 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6427 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6434
2e973d99
AZ
64352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6436
6437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6438 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6440 New file.
6441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6442 New file.
6443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6444 multiarch __ieee754_hypot for PowerPC32.
6445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6446 New file.
6447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6448 New file.
6449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6450 multiarch __ieee754_hypotf for PowerPC32.
6451
2d9470b2
AZ
64522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6453
6454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6455 long_double_symbol only if __logbl is defined.
6456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6457 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6459 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6461 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6462 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6463 path for implementation.
6464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6467 logb, and logbl multiarch implementations for PowerPC32.
6468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6469 file.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6471 file.
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6473 multiarch logb for PowerPC32.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6475 file.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6477 file.
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6479 multiarch logbf for PowerPC32.
6480 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6482 file.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6484 multiarch logbl implementation for PowerPC32.
6485
5212ffce
AZ
64862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6487
6488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6489 and modff multiarch implementations.
6490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6491 New file.
6492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6493 New file.
6494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6495 multiarch modf for PowerPC32.
6496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6497 New file.
6498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6499 New file.
6500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6501 multiarch modff for PowerPC32.
6502
79dccf31
AZ
65032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6504
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6506 and lrintf multiarch implementations.
6507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6508 New file.
6509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6510 New file.
6511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6512 multiarch lrint for PowerPC32.
6513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6514 file: multiarch lrintf for PowerPC32.
6515
deb66480
AZ
65162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6517
6518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6519 and lroundf multiarch implementations.
6520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6521 New file.
6522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6523 New file.
6524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6525 New file.
6526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6527 multiarch lround for PowerPC32.
6528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6529 file: multiarch lroundf for PowerPC32.
6530
264b036b
AZ
65312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6532
6533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6534 copysign and copysignf multiarch implementations.
6535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6536 New file.
6537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6538 New file.
6539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6540 file: multiarch copysign for PowerPC32.
6541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6542 file: multiarch copysignf for PowerPC32.
6543
d47db6c9
AZ
65442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6545
6546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6547 and truncf multiarch implementations.
6548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6549 New file.
6550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6551 file.
6552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6553 multiarch trunc for PowerPC32.
6554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6555 New file.
6556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6557 New file.
6558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6559 multiarch truncf for PowerPC32.
6560
ddb60b5a
AZ
65612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6562
6563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6564 and roundf multiarch implementations.
6565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6566 New file.
6567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6568 file.
6569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6570 multiarch round for PowerPC32.
6571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6572 New file.
6573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6574 New file.
6575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6576 multiarch roundf for PowerPC32.
6577
bedcf49b
AZ
65782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6579
6580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6581 and floorf multiarch implementations.
6582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6583 New file.
6584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6585 file.
6586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6587 multiarch floor for PowerPC32.
6588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6589 New file.
6590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6591 New file.
6592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6593 multiarch floorf for PowerPC32.
6594
35ae5b40
AZ
65952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6596
6597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6598 and ceilf multiarch implementations.
6599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6600 New file.
6601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6602 file.
6603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6604 multiarch ceil for PowerPC32.
6605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6606 New file.
6607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6608 file.
6609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6610 multiarch ceilf for PowerPC32.
6611
ae1a4cd9
AZ
66122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6613
6614 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6615 is defined.
6616 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6617 FINITEF is defined.
6618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6619 and finitef multiarch implementations.
6620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6621 New file.
6622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6623 file.
6624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6625 multiarch finite for PowerPC32.
6626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6627 New file.
6628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6629 file: multiarch finitef for PowerPC32.
6630
64fffd65
AZ
66312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6632
6633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6634 and isinff multiarch implementations.
6635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6636 file.
6637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6638 file.
6639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6640 multiarch isinf for PowerPC32.
6641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6642 New file.
6643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6644 multiarch isinff for PowerPC32.
6645
8e4e7ba2
AZ
66462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6647
6648 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6649 alias when __isnan is defined.
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6651 and isnanf multiarch implementations.
6652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6653 file.
6654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6655 file.
6656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6657 file.
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6659 file.
6660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6661 multiarch isnan for PowerPC32.
6662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6663 New file.
6664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6665 New file.
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6667 multiarch isnanf for PowerPC32.
6668
ddba588e
AZ
66692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6672 and sqrtf multiarch implementations.
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6674 file.
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6676 file.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6678 multiarch sqrt for PowerPC32.
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6680 file.
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6682 file.
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6684 multiarch sqrtf for PowerPC32.
6685
0f96a2f0
AZ
66862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6687
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6689 and llroundf multiarch implementations.
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6691 New file.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6693 New file.
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6695 New file.
6696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6697 file: multiarch llround for PowerPC32.
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6699 file: multiarch llroundf for PowerPC32.
6700
c9b5d79e
AZ
67012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6702
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6704 multiarch PowerPC32 fpu implementations.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6706 New file.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6708 New file.
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6710 multiarch llrint for PowerPC32.
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6712 New file.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6714 New file.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6716 file.
6717
9cbb3aab
AZ
67182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6719
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6721
ea5a72f8
AZ
67222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6723
6724 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6725 file.
6726 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6727 file.
6728 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6729 file.
6730 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6731 multiarch wordcopy for PPC32.
6732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6733 wordcopy objects.
6734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6735 (__libc_ifunc_impl_list): Likewise.
6736 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6737 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6738 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6739 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6740 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6741 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6742
93be09e7
AZ
67432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6744
6745 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6747 file.
6748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6749 file.
6750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6751 file.
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6753 multiarch wcscpy for PPC32.
6754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6755 multiarch objects.
6756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6757 (__libc_ifunc_impl_list): Likewise.
6758 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6759 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6760 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6761 sysdeps/powerpc/power6/wcscpy.c.
6762
bb04e529
AZ
67632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6764
6765 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6767 file.
6768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6769 file.
6770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6771 file.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6773 multiarch wcsrchr for PPC32.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6775 multiarch objects.
6776 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6777 (__libc_ifunc_impl_list): Likewise.
6778 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6779 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6780 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6781 sysdeps/powerpc/power6/wcsrchr.c.
6782
05b5cd1c
AZ
67832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6784
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6786 file.
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6788 file.
6789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6791 multiarch wcschr for PPc32.
6792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6793 multiarch objects.
6794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6795 (__libc_ifunc_impl_list): Likewise.
6796 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6797 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6798 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6799 sysdeps/powerpc/power6/wcschr.c.
6800
ba964147
AZ
68012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6802
6803 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6805 file.
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6807 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6808 file: multiarch strchr for PPC32.
6809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6810 multiarch objects.
6811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6812 (__libc_ifunc_impl_list): Likewise.
6813
31c81aaa
AZ
68142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815
6816 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6817 name.
6818 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6819 file.
6820 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6821 file.
6822 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6823 multiarch strchrnul for PPC32.
6824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6825 multiarch objects.
6826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6827 (__libc_ifunc_impl_list): Likewise.
6828
0d0607d9
AZ
68292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6830
6831 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6832 file.
6833 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6834 multiarch strncasecmp for PPC32.
6835 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6836 file.
6837 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6838 multiarch strncasecmp_l for PPC32.
6839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6840 strncasecmp multiarch objects.
6841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6842 (__libc_ifunc_impl_list): Likewise.
6843
4dfd5c86
AZ
68442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6845
6846 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6847 file.
6848 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6849 multiarch strncasecmp for PPC32.
6850 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6851 New file.
6852 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6853 multiarch strcasecmp_l for PPC32.
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6855 multiarch objects.
6856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6857 (__libc_ifunc_impl_list): Likewise.
6858
a19e01a3
AZ
68592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6860
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6862 file.
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6864 file.
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6866 multiarch strncmp for PPC32.
6867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6868 multiarch objects.
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6870 (__libc_ifunc_impl_list): Likewise.
6871
ae9cf7a2
AZ
68722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6873
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6875 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6876 file.
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6880 multiarch objects.
6881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6882 (__libc_ifunc_impl_list): Likewise.
6883
3148bb7d
AZ
68842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6885
6886 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6887 file.
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6889 file.
6890 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6892 multiarch objects.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6894 (__libc_ifunc_impl_list): Likewise.
6895
7af8b946
AZ
68962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6897
6898 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6899 file.
6900 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6901 file.
6902 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6903 multiarch rawmemchr for PPC32.
6904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6905 multiarch objects.
6906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6907 (__libc_ifunc_impl_list): Likewise.
6908
03a6aa6a
AZ
69092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6910
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6912 file.
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6914 file.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6916 file: memrchr multiarch for PPC32.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6918 multiarch objects.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6920 (__libc_ifunc_impl_list): Likewise.
6921
1c62e6d9
AZ
69222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6923
6924 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6925 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6926 file.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6929 multiarch memchr for PPC32.
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6931 multiarch objects.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6933 (__libc_ifunc_impl_list): Likewise.
6934
87da8bdb
AZ
69352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936
6937 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6939 file.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6941 file.
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6943 file: multiarch mempcpy for PPC32.
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6945 multiarch objects.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6947 (__libc_ifunc_impl_list): Likewise.
6948
20ed4714
AZ
69492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6950
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6954 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6955 multiarch bzero for PPC32.
6956 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6957 file.
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6959 file.
6960 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6961 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6962 file: multiarch memset for PPC32.
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6965 memset multiarch objects.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6967 (__libc_ifunc_impl_list): Likewise.
6968
ab3e3a46
AZ
69692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6970
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6972 file.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6975 memcmp for PPC32.
6976 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6978 multiarch objects.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6980 (__libc_ifunc_impl_list): Likewise.
6981
930de6f0
AZ
69822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6983
6984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6987 file.
6988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6989 file.
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6991 file.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6993 multiarch memcpy for PPC32.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6995 multiarch objects.
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6997 (__libc_ifunc_impl_list): Likewise.
6998
4c628e00
AZ
69992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7000
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7002 support multiarch for POWER/PPC32.
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7004 Likewise.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7007 Implies file to make multiarch folder appers before the fpu and
7008 default folder for power4 configuration.
7009
f4479220
SP
70102013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7011
7012 * scripts/bench.pl: Append volatile keyword to type.
7013
8517800f
KK
70142013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7015
7016 * sysdeps/sh/sotruss-lib.c: New file.
7017 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7018
180138f1
AZ
70192013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7020
7021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7022
bbf37bdc
JM
70232013-12-05 Joseph Myers <joseph@codesourcery.com>
7024
e47cc4e0
JM
7025 [BZ #6810]
7026 * math/w_tgamma.c: Include <errno.h>.
7027 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7028 * math/w_tgammaf.c: Include <errno.h>.
7029 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7030 * math/w_tgammal.c: Include <errno.h>.
7031 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7032 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7033 underflow. Add more tgamma tests.
7034 * math/auto-libm-test-out: Regenerated.
7035 * sysdeps/i386/fpu/libm-test-ulps: Update.
7036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7037
bbf37bdc
JM
7038 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7039 sin, sinh, tan, tanh, tgamma, y0 and y1.
7040 * math/auto-libm-test-out: Regenerated.
7041 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7042 (TEST_COND_x86): Likewise.
7043 (M_E2l): Remove macro.
7044 (M_E3l): Likewise.
7045 (M_2_SQRT_PIl): Likewise.
7046 (M_SQRT_PIl): Likewise.
7047 (M_1_DIV_El): Likewise.
7048 (log_test_data): Use AUTO_TESTS_f_f.
7049 (log10_test_data): Likewise.
7050 (log1p_test_data): Likewise.
7051 (log2_test_data): Likewise.
7052 (sin_test_data): Likewise.
7053 (sin_tonearest_test_data): Likewise.
7054 (sin_towardzero_test_data): Likewise.
7055 (sin_downward_test_data): Likewise.
7056 (sin_upward_test_data): Likewise.
7057 (sinh_test_data): Likewise.
7058 (sinh_tonearest_test_data): Likewise.
7059 (sinh_towardzero_test_data): Likewise.
7060 (sinh_downward_test_data): Likewise.
7061 (sinh_upward_test_data): Likewise.
7062 (tan_test_data): Likewise.
7063 (tan_tonearest_test_data): Likewise.
7064 (tan_towardzero_test_data): Likewise.
7065 (tan_downward_test_data): Likewise.
7066 (tan_upward_test_data): Likewise.
7067 (tanh_test_data): Likewise.
7068 (tgamma_test_data): Likewise.
7069 (y0_test_data): Likewise.
7070 (y1_test_data): Likewise.
7071 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7072 (special_real_inputs): Add pi/4.
7073 * sysdeps/i386/fpu/libm-test-ulps: Update.
7074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7075
eb5ad6b9
AZ
70762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7077
7078 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7079 "longjmp_target" static probes.
7080 (__longjmp): Rename to __longjmp_symbol.
7081 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7082 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7083 on which longjmp to generate.
7084 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7085 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7086 probe.
7087 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7088 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7089 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7090 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7091 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7092 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7094 __longjmp_symbol based on which __longjmp to generate.
7095 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7096 probe.
7097 (setjmp): Rename to setjmp_symbol.
7098 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7099 (_setjmp): Rename to _setjmp_symbol.
7100 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7101 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7102 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7103 which setjmp to generate.
7104 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7105 "longjmp_target" static probes.
7106
d136c6dc
SP
71072013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7108
9298ecba
SP
7109 * benchtests/README: Add note about output arguments.
7110 * benchtests/bench-sincos.c: Remove file.
7111 * benchtests/sincos-inputs: New file.
7112 * scripts/bench.pl: Identify output arguments and define
7113 static variables for them.
7114
232983e9
SP
7115 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7116
d136c6dc
SP
7117 [BZ #15941]
7118 * Makefile (INSTALL): Add install-plain.texi as the primary
7119 dependency.
7120 * manual/install-plain.texi: New file.
7121 * manual/install.texi: Include node directive only for
7122 non-plaintext output.
7123
699ff837
JM
71242013-12-04 Joseph Myers <joseph@codesourcery.com>
7125
ab07cea8
JM
7126 * stdlib/longlong.h: Update from GCC.
7127
699ff837
JM
7128 [BZ #6807]
7129 [BZ #15901]
7130 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7131 * math/w_j0f.c (y0f): Likewise.
7132 * math/w_j0l.c (__y0l): Likewise.
7133 * math/w_j1.c (y1): Likewise.
7134 * math/w_j1f.c (y1f): Likewise.
7135 * math/w_j1l.c (__y1l): Likewise
7136 * math/w_jn.c (yn): Likewise.
7137 * math/w_jnf.c (ynf): Likewise.
7138 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7139 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7140 value for Bessel function domain errors outside _SVID_ mode.
7141 Adjust sign of return value for yn (negative integer, 0).
7142 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7143 by zero in return for negative x and set sign appropriately for
7144 negative n.
7145 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7146 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7147 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7148 expectations in error cases.
7149 (y1_test_data): Likewise.
7150 (yn_test_data): Likewise.
7151 * sysdeps/i386/fpu/libm-test-ulps: Update.
7152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7153
5b118558
UW
71542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7155
7156 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7157 "64" to "64-v1". Add "64-v2".
7158 (abi-64-options): Rename to ...
7159 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7160 (abi-64-condition): Rename to ...
7161 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7162 (abi-64-ld-soname): Rename to ...
7163 (abi-64-v1-ld-soname): ... this.
7164 (abi-64-v2-options): Define.
7165 (abi-64-v2-condition): Likewise.
7166 (abi-64-v2-ld-soname): Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7168 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7172
61cd8fe4
UW
71732013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7174 Alan Modra <amodra@gmail.com>
7175
7176 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7177 New versions for use with the ELFv2 ABI.
7178 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7179 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7180 declaration.
7181 (struct La_ppc64v2_retval): Likewise.
7182 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7183 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7184 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7185 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7186 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7188 Do not save or restore CR.
7189 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7190 (_dl_profile_resolve): Do no save or restore CR. Support extended
7191 return values for ELFv2 ABI. Fix location of FPR return registers.
7192 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7193 updated values for _CALL_ELF == 2.
7194 (La_regs, La_retval, int_retval): Likewise.
7195
8b8a692c
UW
71962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7197
7198 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7199 (FRAME_MIN_SIZE_PARM): Likewise.
7200 (FRAME_BACKCHAIN): Likewise.
7201 (FRAME_CR_SAVE): Likewise.
7202 (FRAME_LR_SAVE): Likewise.
7203 (FRAME_TOC_SAVE): Likewise.
7204 (FRAME_PARM_SAVE): Likewise.
7205 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7206 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7207 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7208 (call_mcount_parm_offset): New macro.
7209 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7210 (PROF): Use symbolic stack frame offsets.
7211 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7212 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7213 Redefine in terms of FRAME_MIN_SIZE.
7214 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7215 (_dl_profile_resolve): Likewise. Update comment.
7216 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7217 symbols stack frame offsets.
7218 (__sigsetjmp): Likewise.
7219 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7220 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7221 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7222 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7223
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7225 (FRAME_BACKCHAIN): Remove.
7226 (FRAME_CR_SAVE): Likewise.
7227 (FRAME_LR_SAVE): Likewise.
7228 (FRAME_COMPILER_DW): Likewise.
7229 (FRAME_LINKER_DW): Likewise.
7230 (FRAME_TOC_SAVE): Likewise.
7231 (FRAME_PARM_SAVE): Likewise.
7232 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7233 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7234 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7236 (CHECK_SP): Use symbolic stack frame offsets.
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7238 zone" instead of caller's parameter save area for temp storage.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7240 Likewise. Also, use symbolic stack frame offsets.
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7242 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7243 our own stack frame instead of the caller's.
7244 (__socket): Use symbolic stack frame offsets.
7245
122b66de
UW
72462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7247 Alan Modra <amodra@gmail.com>
7248
7249 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7250 Define.
7251 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7252 PPC64_LOCAL_ENTRY_OFFSET): Define.
7253 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7254 New function.
7255 (elf_machine_fixup_plt): Call it.
7256 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7257 reloc arguments.
7258 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7259 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7260 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7261 r2 before calling target.
7262
696caf1d
UW
72632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7264 Alan Modra <amodra@gmail.com>
7265
7266 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7267 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7268 versions of macros to support ELFv2 ABI.
7269 (LOCALENTRY): New macro.
7270 (ENTRY, EALIGN): Use it.
7271 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7272 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7273 fall through into ENTRY entry point.
7274 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7275 Only define if _CALL_ELF != 2.
7276
7277 (elf_machine_matches_host): Verify ABI version matches.
7278 (RTLD_START): Use LOCALENTRY.
7279 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7280 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7281 (PLT_ENTRY_WORDS): New macro.
7282 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7283 (elf_machine_runtime_setup): Support ELFv2 ABI.
7284 (elf_machine_fixup_plt): Likewise.
7285 (elf_machine_plt_conflict): Likewise.
7286 (resolve_ifunc): Likewise.
7287 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7288 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7289 Likewise.
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7291 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7293 (makecontext): Support ELFv2 ABI.
7294 * elf/elf.h (EF_PPC64_ABI): Define.
7295
d31beafa
UW
72962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7297
7298 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7299 New assembler macro.
7300 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7301 [ASSEMBLER] (ENTRY): ... but instead here ...
7302 [ASSEMBLER] (EALIGN): ... and here.
7303 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7304 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7305 [!ASSEMBLER] (ENTRY_2): Use it.
7306 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7307 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7308 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7309 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7310 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7312 Use PPC64_LOAD_FUNCPTR.
7313
b525166b
UW
73142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7315
7316 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7317
7ec07d9a
AM
73182013-12-04 Alan Modra <amodra@gmail.com>
7319
7320 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7321 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7322 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7323 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7324
7325 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7326 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7327 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7328 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7329 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7330 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7331
5162e7dd
UW
73322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7333
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7335 (__makecontext): Fix incorrect CFI when backtracing out of
7336 context created via makecontext.
7337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7338 (__setcontext): Fix incorrect CFI during switch to new context.
7339 (__novec_setcontext): Likewise.
7340
19e3372b
OB
73412013-12-04 Ondřej Bílka <neleai@seznam.cz>
7342
7343 [BZ #4772]
7344 * time/strptime_l.c (__strptime_internal): Allow modifiers
7345 in strptime.
7346 * time/tst-strptime.c (day_tests): Add testcase.
7347
7348
ecaf142d
SP
73492013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7350
7351 * scripts/bench.pl: Skip over blank lines.
7352
fbf964ae
PE
73532013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7354
7355 [BZ #926]
7356 * manual/time.texi (Calendar Time): Clarify what timezone functions
7357 use.
7358
fa60a674
AZ
73592013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7360
7361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7362
d674f0ef
OB
73632013-12-04 Ondřej Bílka <neleai@seznam.cz>
7364
7365 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7366 implementation.
7367 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7368 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7369 * debug/memset_chk.c (__memset_chk): Likewise.
7370 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7371 * debug/strncpy_chk.c: Likewise.
7372
17dea188
JM
73732013-12-03 Joseph Myers <joseph@codesourcery.com>
7374
749008ff
JM
7375 [BZ #15268]
7376 [BZ #15425]
7377 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7378 (__ieee754_exp): For possibly underflowing results, check size of
7379 result and force underflow exception if required.
7380 * math/auto-libm-test-in: Add more tests of exp.
7381 * math/auto-libm-test-out: Regenerated.
7382 * sysdeps/i386/fpu/libm-test-ulps: Update.
7383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7384
17dea188
JM
7385 [BZ #16283]
7386 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7387 * math/w_exp2f.c (__exp2f): Likewise.
7388 * math/w_exp2l.c (__exp2l): Likewise.
7389 * math/auto-libm-test-in: Do not allow missing errno on exp2
7390 underflow.
7391 * math/auto-libm-test-out: Regenerated.
7392
b20de2c3
OB
73932013-12-03 Ondřej Bílka <neleai@seznam.cz>
7394
7395 [BZ #16274]
7396 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7397 handle filename validation.
7398 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7399 (do_open): Delete.
7400
d8e2dbe3
JM
74012013-12-03 Joseph Myers <joseph@codesourcery.com>
7402
34e16df5
JM
7403 [BZ #6786]
7404 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7405 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7406 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7407 <float.h>.
7408 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7409 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7410 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7411 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7412 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7414 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7415 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7416 Add more erfc tests.
7417 * math/auto-libm-test-out: Regenerated.
7418 * sysdeps/i386/fpu/libm-test-ulps: Update.
7419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7420
d8e2dbe3
JM
7421 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7422 exp2, expm1, j0 and j1.
7423 * math/auto-libm-test-out: Regenerated.
7424 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7425 (erfc_test_data): Likewise.
7426 (exp_test_data): Likewise.
7427 (exp_tonearest_test_data): Likewise.
7428 (exp_towardzero_test_data): Likewise.
7429 (exp_downward_test_data): Likewise.
7430 (exp_upward_test_data): Likewise.
7431 (exp10_test_data): Likewise.
7432 (exp2_test_data): Likewise.
7433 (expm1_test_data): Likewise.
7434 (j0_test_data): Likewise.
7435 (j1_test_data): Likewise.
7436 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7437 (input_flag_type): Add flag_xfail_rounding.
7438 (input_flags): Add xfail-rounding.
7439 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7440 (output_for_one_input_case): Handle flag_xfail_rounding.
7441 * sysdeps/i386/fpu/libm-test-ulps: Update.
7442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7443
18d14251
AJ
74442013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7445
3d2e6075 7446 [BZ #16289]
18d14251
AJ
7447 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7448 division by 0.
7449
520d437b
SP
74502013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7451
7452 [BZ #16195]
7453 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7454 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7455 (STAP_PROBE0): New macro.
7456 (STAP_PROBE1): Likewise.
7457 (STAP_PROBE2): Likewise.
7458 (STAP_PROBE3): Likewise.
7459 (STAP_PROBE4): Likewise.
7460
416e0145
OB
74612013-12-02 Ondřej Bílka <neleai@seznam.cz>
7462
7463 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7464
9d17796a
SE
74652013-12-02 Steve Ellcey <sellcey@mips.com>
7466
7467 * benchtests/Makefile (bench): Add sqrt.
7468 (LDLIBS-bench-sqrt): New.
7469 * benchtests/sqrt-input: New.
7470
f524d6a8
PS
74712013-12-02 Pavel Simerda <psimerda@redhat.com>
7472
639a0ef8
PS
7473 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7474 (GAIH_EAI): Likewise.
7475 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7476 (gaih_inet): Likewise.
7477 (getaddrinfo): Don't use GAIH_EAI.
7478
f524d6a8
PS
7479 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7480 (struct gaih): Remove definition.
7481
df3aedaf
SP
74822013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7483
7484 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7485 Use HERRNOP directly.
7486
1ab19dec
AZ
74872013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7488
b42ad38d 7489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7490
176b0c79
JM
74912013-11-30 Joseph Myers <joseph@codesourcery.com>
7492
7493 * math/gen-auto-libm-tests.c (test_functions): Add more
7494 single-argument functions.
7495 (special_fill_pi_2): New function.
7496 (special_fill_minus_pi_2): Likewise.
7497 (special_fill_pi_6): Likewise.
7498 (special_fill_minus_pi_6): Likewise.
7499 (special_fill_pi_3): Likewise.
7500 (special_fill_2pi_3): Likewise.
7501 (special_fill_e): Likewise.
7502 (special_fill_1_e): Likewise.
7503 (special_fill_e_minus_1): Likewise.
7504 (special_real_inputs): Add more special inputs.
7505 (output_for_one_input_case): Do not require ERANGE on underflow to
7506 zero if round-to-nearest result does not underflow to zero, unless
7507 exact results required.
7508 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7509 atan, atanh, cbrt, cos and cosh.
7510 * math/auto-libm-test-out: Regenerated.
7511 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7512 (acos_tonearest_test_data): Likewise.
7513 (acos_towardzero_test_data): Likewise.
7514 (acos_downward_test_data): Likewise.
7515 (acos_upward_test_data): Likewise.
7516 (acosh_test_data): Likewise.
7517 (asin_test_data): Likewise.
7518 (asin_tonearest_test_data): Likewise.
7519 (asin_towardzero_test_data): Likewise.
7520 (asin_upward_test_data): Likewise.
7521 (asinh_test_data): Likewise.
7522 (atan_test_data): Likewise.
7523 (atanh_test_data): Likewise.
7524 (cbrt_test_data): Likewise.
7525 (cos_test_data): Likewise.
7526 (cos_tonearest_test_data): Likewise.
7527 (cos_towardzero_test_data): Likewise.
7528 (cos_downward_test_data): Likewise.
7529 (cos_upward_test_data): Likewise.
7530 (cosh_test_data): Likewise.
7531 (cosh_tonearest_test_data): Likewise.
7532 (cosh_towardzero_test_data): Likewise.
7533 (cosh_downward_test_data): Likewise.
7534 (cosh_upward_test_data): Likewise.
7535 * sysdeps/i386/fpu/libm-test-ulps: Update.
7536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7537
ffb536d0
JM
75382013-11-29 Joseph Myers <joseph@codesourcery.com>
7539
2a77a467
JM
7540 [BZ #6787]
7541 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7542 * math/w_exp10f.c (__exp10f): Likewise.
7543 * math/w_exp10l.c (__exp10l): Likewise.
7544 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7545 errno settings in existing tests.
7546
ea3bc4e8
JM
7547 [BZ #14032]
7548 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7549 precision control set to double precision.
7550 * sysdeps/i386/fpu/w_sqrt.c: New file.
7551 * math/auto-libm-test-in: Add more tests.
7552 * math/auto-libm-test-out: Update.
7553
0712c9d8
JM
7554 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7555 (sqrt_test_tonearest): New function.
7556 (sqrt_towardzero_test_data): New variable.
7557 (sqrt_test_towardzero): New function.
7558 (sqrt_downward_test_data): New variable.
7559 (sqrt_test_downward): New function.
7560 (sqrt_upward_test_data): New variable.
7561 (sqrt_test_upward): New function.
7562 (main): Call the new functions.
7563
ffb536d0
JM
7564 * math/gen-auto-libm-tests.c: New file.
7565 * math/auto-libm-test-in: Likewise.
7566 * math/auto-libm-test-out: New generated file.
7567 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7568 variables.
7569 (%beautify): Add generated representations of zero.
7570 (top level): Set $auto_input and call parse_auto_input.
7571 (beautify): Remove trailing "f" from hex float constants.
7572 (parse_args): Handle XFAIL_TEST.
7573 (convert_condition): New function.
7574 (or_value): Likewise.
7575 (or_cond_value): Likewise.
7576 (generate_testfile): Handle AUTO_TESTS_* lines.
7577 (parse_auto_input): New function.
7578 * math/libm-test.inc (XFAIL_TEST): New macro.
7579 (ERRNO_UNCHANGED): Update value.
7580 (ERRNO_EDOM): Likewise.
7581 (ERRNO_ERANGE): Likewise.
7582 (IGNORE_RESULT): Likewise.
7583 (TEST_COND_flt_32): New macro.
7584 (TEST_COND_dbl_64): Likewise.
7585 (TEST_COND_ldbl_96_intel): Likewise.
7586 (TEST_COND_ldbl_96_m68k): Likewise.
7587 (TEST_COND_ldbl_128): Likewise.
7588 (TEST_COND_ldbl_128ibm): Likewise.
7589 (TEST_COND_long32): Likewise.
7590 (TEST_COND_long64): Likewise.
7591 (TEST_COND_before_rounding): Likewise.
7592 (TEST_COND_after_rounding): Likewise.
7593 (enable_test): Handle XFAIL_TEST flag.
7594 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7595 with finite results.
7596 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7597 auto-libm-test-out.
7598
acd98a8e
AK
75992013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7600 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7601
7602 [BZ #16214]
7603 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7604 __tls_get_addr_internal instead of __tls_get_offset in order to
7605 avoid GOT pointer dependency. Make rtld export
7606 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7607 __tls_get_addr since we are a __tls_get_offset platform.
7608 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7609 GOT pointer being set up before.
7610 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7611
3c1c46a6
JM
76122013-11-28 Joseph Myers <joseph@codesourcery.com>
7613
7475aef5
JM
7614 * manual/math.texi (Errors in Math Functions): Document accuracy
7615 goals.
7616
8bca7cd8
JM
7617 [BZ #15004]
7618 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7619 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7624 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7634
91a1f3fe
JM
7635 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7636 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7637 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7638 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7639 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7640 Likewise.
7641 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7642 Likewise.
7643 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7644 Likewise.
7645 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7646 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7647 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7648 atomic-feupdateenv and flt-rounds.
7649 * sysdeps/powerpc/nofpu/Versions (libc): Add
7650 __atomic_feholdexcept, __atomic_feclearexcept,
7651 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7652 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7653 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7654 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7655 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7656 here.
7657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7658 Update.
7659
c5df7609
JM
7660 * manual/arith.texi (FP Exceptions): Document that exceptions may
7661 not be raised when matherr is used.
7662 (Math Error Reporting): Document overflow in directed rounding
7663 modes. Document that errno may not be set when finite values are
7664 returned on overflow. Document intent to set errno on underflow
7665 only for underflow to zero.
7666
3c1c46a6
JM
7667 [BZ #16271]
7668 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7669 round-to-nearest then adjust result for other rounding modes.
7670 * include/fenv.h (fegetround): Use libm_hidden_proto.
7671 * math/fegetround.c (fegetround): Use libm_hidden_def.
7672 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7673 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7674 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7675 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7676 Likewise.
7677 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7678 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7679 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7680 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7681
5a4c6d53
SP
76822013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7683
7684 [BZ #16077]
7685 * nss/Versions (libnss_files): Add
7686 _nss_files_gethostbyname3_r.
7687 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7688 New function.
7689 (HOST_DB_LOOKUP): Remove macro.
7690 (_nss_files_gethostbyname_r): Implement function without the
7691 HOST_DB_LOOKUP macro.
7692 (_nss_files_gethostbyname2_r): Likewise.
7693
897b98ba
OB
76942013-11-28 Ondřej Bílka <neleai@seznam.cz>
7695
7696 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7697
6f476861
UB
76982013-11-26 Uros Bizjak <ubizjak@gmail.com>
7699
7700 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7701 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7702 warning.
7703
bd12ab55
AZ
77042013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7705
7706 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7707 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7708 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7709 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7710 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7711 __fe_nomask_env_priv and attribute_hidden.
7712 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7713 (libc_feupdateenv_test_ppc): Likewise.
7714 (libc_feresetround_ppc): Likewise.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7716 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7717 compat_symbol macro.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7719 (__fe_nomask_env): Likewise.
7720 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7721
52bb6543
OB
77222013-11-26 Ondřej Bílka <neleai@seznam.cz>
7723
7724 * string/Makefile: Remove ifunc tests.
7725 * string/test-string.h: Define TEST_IFUNC.
7726 * string/test-bcopy-ifunc.c: Remove.
7727 * string/test-bzero-ifunc.c: Likewise.
7728 * string/test-memccpy-ifunc.c: Likewise.
7729 * string/test-memchr-ifunc.c: Likewise.
7730 * string/test-memcmp-ifunc.c: Likewise.
7731 * string/test-memcpy-ifunc.c: Likewise.
7732 * string/test-memmem-ifunc.c: Likewise.
7733 * string/test-memmove-ifunc.c: Likewise.
7734 * string/test-mempcpy-ifunc.c: Likewise.
7735 * string/test-memrchr-ifunc.c: Likewise.
7736 * string/test-memset-ifunc.c: Likewise.
7737 * string/test-rawmemchr-ifunc.c: Likewise.
7738 * string/test-stpcpy-ifunc.c: Likewise.
7739 * string/test-stpncpy-ifunc.c: Likewise.
7740 * string/test-strcasecmp-ifunc.c: Likewise.
7741 * string/test-strcasestr-ifunc.c: Likewise.
7742 * string/test-strcat-ifunc.c: Likewise.
7743 * string/test-strchr-ifunc.c: Likewise.
7744 * string/test-strchrnul-ifunc.c: Likewise.
7745 * string/test-strcmp-ifunc.c: Likewise.
7746 * string/test-strcpy-ifunc.c: Likewise.
7747 * string/test-strcspn-ifunc.c: Likewise.
7748 * string/test-strlen-ifunc.c: Likewise.
7749 * string/test-strncasecmp-ifunc.c: Likewise.
7750 * string/test-strncat-ifunc.c: Likewise.
7751 * string/test-strncmp-ifunc.c: Likewise.
7752 * string/test-strncpy-ifunc.c: Likewise.
7753 * string/test-strnlen-ifunc.c: Likewise.
7754 * string/test-strpbrk-ifunc.c: Likewise.
7755 * string/test-strrchr-ifunc.c: Likewise.
7756 * string/test-strspn-ifunc.c: Likewise.
7757 * string/test-strstr-ifunc.c: Likewise.
7758
ab260039 77592013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7760
7761 * benchtests/Makefile: Remove ifunc tests.
7762 * benchtests/bench-string.h: Define TEST_IFUNC.
7763 * benchtests/bench-bcopy-ifunc.c: Remove.
7764 * benchtests/bench-bzero-ifunc.c: Likewise.
7765 * benchtests/bench-memccpy-ifunc.c: Likewise.
7766 * benchtests/bench-memchr-ifunc.c: Likewise.
7767 * benchtests/bench-memcmp-ifunc.c: Likewise.
7768 * benchtests/bench-memcpy-ifunc.c: Likewise.
7769 * benchtests/bench-memmem-ifunc.c: Likewise.
7770 * benchtests/bench-memmove-ifunc.c: Likewise.
7771 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7772 * benchtests/bench-memrchr-ifunc.c: Likewise.
7773 * benchtests/bench-memset-ifunc.c: Likewise.
7774 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7775 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7776 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7777 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7778 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7779 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7780 * benchtests/bench-strcat-ifunc.c: Likewise.
7781 * benchtests/bench-strchr-ifunc.c: Likewise.
7782 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7783 * benchtests/bench-strcmp-ifunc.c: Likewise.
7784 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7785 * benchtests/bench-strcpy-ifunc.c: Likewise.
7786 * benchtests/bench-strcspn-ifunc.c: Likewise.
7787 * benchtests/bench-strlen-ifunc.c: Likewise.
7788 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7789 * benchtests/bench-strncat-ifunc.c: Likewise.
7790 * benchtests/bench-strncmp-ifunc.c: Likewise.
7791 * benchtests/bench-strncpy-ifunc.c: Likewise.
7792 * benchtests/bench-strnlen-ifunc.c: Likewise.
7793 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7794 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7795 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7796 * benchtests/bench-strspn-ifunc.c: Likewise.
7797 * benchtests/bench-strstr-ifunc.c: Likewise.
7798
77992013-11-26 Ondřej Bílka <neleai@seznam.cz>
7800
ab260039
OB
7801 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7802
d1d9eaf4 78032013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7804
d1d9eaf4
OB
7805 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7806 * rt/aio.h: Likewise.
7807 * sysdeps/gnu/bits/utmp.h: Likewise.
7808 * sysdeps/gnu/bits/utmpx.h: Likewise.
7809 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7810 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7811 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7812 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7813 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7814 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7815 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7816 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7817 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7818 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7820 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7823 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7824 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7825 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7826 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7827 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7828 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7829 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7830 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7831 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7832 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7833 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7835 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7836 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7837 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7838 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7839 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7840 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7841 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7842 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7844 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7845 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7846 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7847 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7848 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7849 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7850 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7851
a7624ed9
CD
78522013-11-25 Carlos O'Donell <carlos@redhat.com>
7853
7854 [BZ #16245]
7855 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7856 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7857
63cfe52b
JM
78582013-11-25 Joseph Myers <joseph@codesourcery.com>
7859
7860 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7861 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7862 Likewise.
7863
41e8926a
AZ
78642013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7865
7866 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7867 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7868 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7869 (__fesetround): Remove define.
7870 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7871 rounding and exceptions handling.
7872 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7873 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7874 (__fe_nomask_env): Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7876 __fegetround instead of fegetround.
7877 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7879
6851bd4d
RM
78802013-11-21 Roland McGrath <roland@hack.frob.com>
7881
070906ff
RM
7882 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7883 it's there.
7884
6851bd4d
RM
7885 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7886
84ae135d
MI
78872013-11-21 Meador Inge <meadori@codesourcery.com>
7888
7889 [BZ #11157]
7890 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7891 (encrypt_r): Likewise.
7892 * malloc/obstack.h (obstack_free): Likewise.
7893 * posix/unistd.h (encrypt): Likewise.
7894
daf75146
GM
78952013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7896
7897 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7898 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7899 DL_CALL_DT_FINI() that call the functions directly.
7900 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7901 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7902 * elf/dl-fini.c: Likewise.
7903
10ad46bc
OB
79042013-11-20 Ondřej Bílka <neleai@seznam.cz>
7905
7906 * malloc/hooks.c (memalign_check): Add alignment rounding.
7907 * malloc/malloc.c (_mid_memalign): New function.
7908 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7909 Implement by calling _mid_memalign.
7910 * manual/probes.texi (Memory Allocation Probes): Remove
7911 memory_valloc_retry and memory_pvalloc_retry.
7912
f3fd2628
SP
79132013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7914
4712799f
SP
7915 * locale/programs/locarchive.c (open_archive): Add const
7916 qualifier to ARCHIVEFNAME and copy default fname to
7917 DEFAULT_FNAME.
7918
0417b20f
SP
7919 [BZ #15601]
7920 * libio/tst-widetext.input: Rename Oriya to Odia.
7921 * locale/iso-639.def: Likewise.
7922
f3fd2628
SP
7923 * manual/probes.texi (Mathematical Function Probes): Add
7924 documentation for sin, cos, asin and acos probes.
7925 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7926 (__sin32): Add slowasin probe.
7927 (__cos32): Add slowacos probe.
7928 (__mpsin): Add slowsin probe.
7929 (__mpcos): Add slowcos probe.
7930
73c1ce4f
JM
79312013-11-19 Joseph Myers <joseph@codesourcery.com>
7932
7933 [BZ #15483]
7934 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7935 thread-local __sim_exceptions_thread and global
7936 __sim_exceptions_global.
7937 (__sim_disabled_exceptions): Change to thread-local
7938 __sim_disabled_exceptions_thread and global
7939 __sim_disabled_exceptions_global.
7940 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7941 and global __sim_round_mode_global.
7942 (__simulate_exceptions): Use thread-local floating-point state and
7943 set global state from it as needed.
7944 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7945 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7946 __sim_round_mode_thread.
7947 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7948 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7949 and global __sim_exceptions_global.
7950 (__sim_disabled_exceptions): Change to thread-local
7951 __sim_disabled_exceptions_thread and global
7952 __sim_disabled_exceptions_global.
7953 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7954 and global __sim_round_mode_global.
7955 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7956 (SIM_SET_GLOBAL): Likewise.
7957 * sysdeps/powerpc/soft-fp/sfp-machine.h
7958 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7959 __sim_round_mode_thread.
7960 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7961 __sim_disabled_exceptions_thread.
7962 (__sim_exceptions): Change to __sim_exceptions_thread.
7963 (__sim_disabled_exceptions): Change to
7964 __sim_disabled_exceptions_thread.
7965 (__sim_round_mode): Change to __sim_round_mode_thread.
7966 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7967 thread-local floating-point state and set global state from it as
7968 needed.
7969 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7970 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7971 (__sim_disabled_exceptions): Remove extern declaration.
7972 (feenableexcept): Use thread-local floating-point state and set
7973 global state from it as needed.
7974 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7975 extern declaration.
7976 (__sim_disabled_exceptions): Likewise.
7977 (__sim_round_mode): Likewise.
7978 (__fegetenv): Use thread-local floating-point state.
7979 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7980 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7981 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7982 floating-point state and set global state from it as needed.
7983 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7984 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7985 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7986 Likewise.
7987 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7988 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7989 Likewise.
7990 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7991 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7992 Use __sim_round_mode_thread.
7993 * math/test-fenv-tls.c: New file.
7994 * math/Makefile (tests): Add test-fenv-tls.
7995 ($(objpfx)test-fenv-tls): Depend on
7996 $(common-objpfx)nptl/libpthread.so.
7997
b5449b12
AS
79982013-11-19 Andreas Schwab <schwab@suse.de>
7999
8000 * locale/programs/locale.c (show_info): Decode wordarray elements.
8001 * locale/categories.def (LC_MONETARY): Add element for
8002 _NL_MONETARY_CRNCYSTR.
8003 * locale/C-monetary.c (conversion_rate): New variable.
8004 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8005 element.
8006
e186536b
CM
80072013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8008
8009 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8010 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8011
5c349950
PP
80122013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8013
8014 * elf/Makefile (tst-auxv): New test.
8015 * elf/tst-auxv.c: New
8016 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8017
699df45b
JM
80182013-11-18 Joseph Myers <joseph@codesourcery.com>
8019
8020 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8021 (hidden_proto): Caller changed.
8022 (hidden_tls_proto): New macro.
8023 (libc_hidden_tls_proto): Likewise.
8024 (rtld_hidden_tls_proto): Likewise.
8025 (libm_hidden_tls_proto): Likewise.
8026 (libresolv_hidden_tls_proto): Likewise.
8027 (librt_hidden_tls_proto): Likewise.
8028 (libdl_hidden_tls_proto): Likewise.
8029 (libnss_files_hidden_tls_proto): Likewise.
8030 (libnsl_hidden_tls_proto): Likewise.
8031 (libnss_nisplus_hidden_tls_proto): Likewise.
8032 (libutil_hidden_tls_proto): Likewise.
8033
b7589107
OB
80342013-11-18 Ondřej Bílka <neleai@seznam.cz>
8035
8036 [BZ #10253]
8037 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8038 (decompose_rpath): Defer expansion to fillin_rpath.
8039 (_dl_init_paths): Pass linkmap to fillin_rpath.
8040
250c23bd
RS
80412013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8042
8043 * benchtests/Makefile: Add strsep.
8044 * benchtests/bench-strsep.c: New file: strsep benchtest.
8045 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8046
a7931fcf
AS
80472013-11-18 Andreas Schwab <schwab@suse.de>
8048
8049 * locale/programs/locale.c (show_info) [case byte]: Check for
8050 '\377' instead of '\177'.
8051 * locale/C-monetary.c (not_available): Always use "\377".
8052 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8053 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8054 detect unavailable sign_posn locale elements.
8055 * locale/localeconv.c (__localeconv): For grouping and
8056 mon_grouping handle "\177" and "\377" like no grouping.
8057 (INT_ELEM): New macro. Use it to set all numeric members.
8058 * locale/programs/ld-monetary.c (monetary_read)
8059 <tok_mon_grouping>: Normalize single -1 to the empty string.
8060 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8061 Likewise.
8062
728dab0e
OB
80632013-11-07 Ondřej Bílka <neleai@seznam.cz>
8064
8065 [BZ #16055]
8066 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8067 when we match (nil).
8068 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8069
66294491
JM
80702013-11-16 Joseph Myers <joseph@codesourcery.com>
8071
ce665817
JM
8072 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8073 (NO_TEST_INLINE): Update value.
8074 (ERRNO_UNCHANGED): Likewise.
8075 (ERRNO_EDOM): Likewise.
8076 (ERRNO_ERANGE): Likewise.
8077 (IGNORE_RESULT): Likewise.
8078 (check_float_internal): Check signs of NaN results if
8079 TEST_NAN_SIGN used.
8080 (check_complex): Pass TEST_NAN_SIGN flag through to second
8081 check_float_internal call.
8082 (copysign_test_data): Add tests with quiet NaNs as second
8083 argument. Use TEST_NAN_SIGN.
8084 (fabs_test_data): Add test of negative quiet NaN argument. Use
8085 TEST_NAN_SIGN.
8086 (signbit_test_data): Add tests of quiet NaN argument.
8087 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8088
ee1466a9
JM
8089 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8090 $ignore_result.
8091 (parse_args): Handle function results specified as IGNORE.
8092 * math/libm-test.inc (IGNORE_RESULT): New macro.
8093 (check_float_internal): Do not check numerical result if flag
8094 IGNORE_RESULT set.
8095 (check_complex): Pass through IGNORE_RESULT to second
8096 check_float_internal call.
8097 (check_int): Do not check numerical result if flag IGNORE_RESULT
8098 set.
8099 (check_long): Likewise.
8100 (check_bool): Likewise.
8101 (check_longlong): Likewise.
8102 (lrint_test_data): Add tests of infinite and NaN arguments.
8103 (lrint_tonearest_test_data): Likewise.
8104 (lrint_towardzero_test_data): Likewise.
8105 (lrint_downward_test_data): Likewise.
8106 (lrint_upward_test_data): Likewise.
8107 (llrint_test_data): Likewise.
8108 (llrint_tonearest_test_data): Likewise.
8109 (llrint_towardzero_test_data): Likewise.
8110 (llrint_downward_test_data): Likewise.
8111 (llrint_upward_test_data): Likewise.
8112 (lround_test_data): Likewise.
8113 (llround_test_data): Likewise.
8114
14407b7e
JM
8115 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8116 (ERRNO_UNCHANGED): Update value.
8117 (ERRNO_EDOM): Likewise.
8118 (ERRNO_ERANGE): Likewise.
8119 (NO_TEST_INLINE_FLOAT): New macro.
8120 (NO_TEST_INLINE_DOUBLE): Likewise.
8121 (enable_test): New function.
8122 (RUN_TEST_f_f): Check enable_test before running test.
8123 (RUN_TEST_2_f): Likewise.
8124 (RUN_TEST_fff_f): Likewise.
8125 (RUN_TEST_c_f): Likewise.
8126 (RUN_TEST_f_f1): Likewise.
8127 (RUN_TEST_fF_f1): Likewise.
8128 (RUN_TEST_fI_f1): Likewise.
8129 (RUN_TEST_ffI_f1): Likewise.
8130 (RUN_TEST_c_c): Likewise.
8131 (RUN_TEST_cc_c): Likewise.
8132 (RUN_TEST_f_i): Likewise.
8133 (RUN_TEST_f_i_tg): Likewise.
8134 (RUN_TEST_ff_i_tg): Likewise.
8135 (RUN_TEST_f_b): Likewise.
8136 (RUN_TEST_f_b_tg): Likewise.
8137 (RUN_TEST_f_l): Likewise.
8138 (RUN_TEST_f_L): Likewise.
8139 (RUN_TEST_fFF_11): Likewise.
8140 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8141 conditionals.
8142 (cosh_test_data): Likewise.
8143 (exp_test_data): Likewise.
8144 (expm1_test_data): Likewise.
8145 (hypot_test_data): Likewise.
8146 (pow_test_data): Likewise.
8147 (sinh_test_data): Likewise.
8148 (tanh_test_data): Likewise.
8149 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8150 flags argument.
8151
ca07f197
JM
8152 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8153 tests with quiet NaN input and output.
8154 (acosh_test_data): Likewise.
8155 (asin_test_data): Likewise.
8156 (asinh_test_data): Likewise.
8157 (atan_test_data): Likewise.
8158 (atanh_test_data): Likewise.
8159 (atan2_test_data): Likewise.
8160 (cbrt_test_data): Likewise.
8161 (cos_test_data): Likewise.
8162 (cosh_test_data): Likewise.
8163 (erf_test_data): Likewise.
8164 (erfc_test_data): Likewise.
8165 (exp_test_data): Likewise.
8166 (exp10_test_data): Likewise.
8167 (exp2_test_data): Likewise.
8168 (expm1_test_data): Likewise.
8169 (hypot_test_data): Likewise.
8170 (j0_test_data): Likewise.
8171 (j1_test_data): Likewise.
8172 (jn_test_data): Likewise.
8173 (lgamma_test_data): Likewise.
8174 (log_test_data): Likewise.
8175 (log10_test_data): Likewise.
8176 (log1p_test_data): Likewise.
8177 (log2_test_data): Likewise.
8178 (pow_test_data): Likewise.
8179 (scalb_test_data): Likewise.
8180 (sin_test_data): Likewise.
8181 (sincos_test_data): Likewise.
8182 (sinh_test_data): Likewise.
8183 (tan_test_data): Likewise.
8184 (tanh_test_data): Likewise.
8185 (tgamma_test_data): Likewise.
8186 (y0_test_data): Likewise.
8187 (y1_test_data): Likewise.
8188 (yn_test_data): Likewise.
8189
66294491
JM
8190 [BZ #16167]
8191 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8192 argument being NaN and avoid computations with second argument in
8193 that case.
8194 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8195 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8196 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8197
1820b143
CL
81982013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8199
8200 * locale/iso-639.def: Add Chitwani Tharu (the).
8201
714bd261
AS
82022013-11-14 Andreas Schwab <schwab@suse.de>
8203
8204 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8205 word instead of empty string.
8206
7ab44563
AZ
82072013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8208
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8210 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8212 (__fe_nomask_env): Likewise.
8213
e8470ea2
SE
82142013-11-13 Steve Ellcey <sellcey@mips.com>
8215
8216 * benchtests/bench-timing.h: Include time.h.
8217
17c1d9f0
L
82182013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8219
8220 [BZ #15997]
8221 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8222 to 3.4.0 for x32.
8223 * sysdeps/unix/sysv/linux/configure: Regenerated.
8224
9310c284
JM
82252013-11-13 Joseph Myers <joseph@codesourcery.com>
8226
8227 [BZ #16151]
8228 * stdlib/strtod_l.c (round_and_return): Do not consider
8229 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8230 exponent one less than half the least subnormal exponent.
8231 * stdlib/test-strtod-round-data: Add more tests.
8232 * stdlib/tst-strtod-round.c (tests): Regenerated.
8233
7a2ad8cf
AZ
82342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8235
8236 [BZ #14143]
8237 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8238 (__fe_mask_env): Likewise.
8239 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8240 libm_hidden_proto and add function prototype.
8241 (__fe_mask_env): Add function prototype.
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8243 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8245 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8247 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8248
50727aa7
MS
82492013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8250
b2f386c1 8251 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8252 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8253
a615be46
MS
82542013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8255
8256 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8257 of htab_find_slot().
8258
7ddace62
DM
82592013-11-11 David S. Miller <davem@davemloft.net>
8260
8261 [BZ #16150]
8262 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8263 symbol in the non-vis3 case in static builds.
8264 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8265 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8266 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8267 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8268
9182aa67
JK
82692013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8270
8271 [BZ #387]
8272 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8273 it is empty.
8274
450a2e2d
AZ
82752013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8276
b2f386c1
SP
8277 * benchtests/Makefile: Add bench-strtod.
8278 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8279
8ec3f656
AS
82802013-11-11 Andreas Schwab <schwab@suse.de>
8281
8282 [BZ #16153]
8283 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8284 terminating NUL in key length.
8285
76a9b998
AZ
82862013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8287
8288 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8289 Add artificial ODP entry for vDSO symbol for PPC64.
8290 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8291 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8292
e4368156
OB
82932013-11-07 Ondřej Bílka <neleai@seznam.cz>
8294
8295 [BZ #15374]
8296 * nss/getent.c (services_keys): Recognize services starting with digit.
8297
8d6bb57c
DM
82982013-11-06 David S. Miller <davem@davemloft.net>
8299
8300 [BZ #15985]
8301 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8302 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8303
e256c421
WN
83042013-11-06 Will Newton <will.newton@linaro.org>
8305
8306 * manual/memory.texi (Malloc Examples): Remove register
8307 keyword from examples.
8308
f6e12daa 83092013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8310
f6e12daa 8311 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8312
9d880655
AS
83132013-11-04 Joseph Myers <joseph@codesourcery.com>
8314
fd2f9486 8315 [BZ #6981]
9d880655
AS
8316 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8317 depending on [__GCC_IEC_559 > 0].
8318 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8319 depending on [__GCC_IEC_559_COMPLEX > 0].
8320
ae129d3c
CL
83212013-11-03 Chris Leonard <cjl@sugarlabs.org>
8322
8323 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8324 to iso-639.def.
8325
4a15c2a4 83262013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8327
8328 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8329
8b35e35d
OB
83302013-11-01 Ondřej Bílka <neleai@seznam.cz>
8331
8332 [BZ #16112]
8333 * malloc/malloc (malloc_info): Do not handle first bin as
8334 special case.
8335
1d70fd6c
CL
83362013-11-01 Chris Leonard <cjl@sugarlabs.org>
8337
8338 * locale/iso-639.def: Add Central Nahuatl (nhn).
8339
8c5c2600
BH
83402013-11-01 Bruno Haible <bruno@clisp.org>
8341
8342 [BZ #7003]
8343 * manual/math.texi (BSD Random): Specify range upper bound as
8344 in POSIX.
8345
da5579c2
CL
83462013-10-31 Chris Leonard <cjl@sugarlabs.org>
8347
8348 * locale/iso-639.def: Add Meadow Mari (mhr).
8349
5d30d853
OB
83502013-10-31 Ondřej Bílka <neleai@seznam.cz>
8351
8352 [BZ #14752], [BZ #15763]
8353 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8354 Validate name.
8355 * rt/tst_shm.c: Add test for escaping directory.
8356
a4966c61
AS
83572013-10-31 Andreas Schwab <schwab@suse.de>
8358
8a43e768 8359 [BZ #15917]
a4966c61
AS
8360 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8361 followed by 'x' as part of digit sequence.
8362 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8363
28d708c4
MAP
83642013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8365
8366 [BZ #16037]
8367 * configure.ac: allow GNU Make 4.0 and greater.
8368 * configure: Regenerated.
8369
a56ee40b
WN
83702013-10-30 Will Newton <will.newton@linaro.org>
8371
8372 [BZ #16038]
8373 * malloc/hooks.c (memalign_check): Limit alignment to the
8374 maximum representable power of two.
8375 * malloc/malloc.c (__libc_memalign): Likewise.
8376 * malloc/tst-memalign.c (do_test): Add test for very
8377 large alignment values.
8378 * malloc/tst-posix_memalign.c (do_test): Likewise.
8379
c6e4925d
OB
83802013-10-30 Ondřej Bílka <neleai@seznam.cz>
8381
8382 [BZ #11087]
8383 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8384 (munmap_chunk): Likewise.
8385 (mremap_chunk): Likewise.
8386
83872013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8388
8a43e768 8389 [BZ #15799]
bbea82f7
OB
8390 * stdlib/div.c (div): Remove obsolete code.
8391 * stdlib/ldiv.c (ldiv): Likewise.
8392 * stdlib/lldiv.c (lldiv): Likewise.
8393
977f4b31
SP
83942013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8395
8396 [BZ #16071]
8397 * nss/nss_files/files-XXX.c (get_contents_ret): New
8398 enumerator.
8399 (get_contents): New function.
8400 (internal_getent): Use it. Expand size of LINEBUFLEN.
8401
cb8a6dbd
MF
84022013-10-30 Mike Frysinger <vapier@gentoo.org>
8403
8404 * configure.in: Moved to ...
8405 * configure.ac: ... here. Change reference to configure.in
8406 to configure.ac.
8407 * sysdeps/arm/preconfigure.ac: ... here.
8408 configure.in to configure.ac.
8409 * sysdeps/gnu/configure.in: Moved to ...
8410 * sysdeps/gnu/configure.ac: ... here.
8411 * sysdeps/i386/configure.in: Moved to ...
8412 * sysdeps/i386/configure.ac: ... here.
8413 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8414 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8415 * sysdeps/mach/configure.in: Moved to ...
8416 * sysdeps/mach/configure.ac: ... here.
8417 * sysdeps/mach/hurd/configure.in: Moved to ...
8418 * sysdeps/mach/hurd/configure.ac: ... here.
8419 * sysdeps/powerpc/configure.in: Moved to ...
8420 * sysdeps/powerpc/configure.ac: ... here.
8421 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8422 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8423 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8424 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8425 * sysdeps/s390/s390-32/configure.in: Moved to ...
8426 * sysdeps/s390/s390-32/configure.ac: ... here.
8427 * sysdeps/s390/s390-64/configure.in: Moved to ...
8428 * sysdeps/s390/s390-64/configure.ac: ... here.
8429 * sysdeps/sh/configure.in: Moved to ...
8430 * sysdeps/sh/configure.ac: ... here.
8431 * sysdeps/sparc/configure.in: Moved to ...
8432 * sysdeps/sparc/configure.ac: ... here.
8433 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8434 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8435 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8436 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8437 * sysdeps/x86_64/configure.in: Moved to ...
8438 * sysdeps/x86_64/configure.ac: ... here.
8439 * sysdeps/x86_64/preconfigure.in: Moved to ...
8440 * sysdeps/x86_64/preconfigure.ac: ... here.
8441 * aclocal.m4: Change reference to configure.in to configure.ac.
8442 * config.h.in: Likewise.
8443 * manual/install.texi: Likewise.
8444 * manual/maint.texi: Likewise.
8445 * Makefile: Likewise.
8446 * malloc/Makefile: Likewise.
8447 * nscd/Makefile: Likewise.
8448 * Makeconfig: Change reference to configure.in and
8449 preconfigure.in to configure.ac and preconfigure.ac
8450 respectively.
8451 * INSTALL: Regenerated.
8452 * configure: Likewise.
8453 * sysdeps/gnu/configure: Likewise.
8454 * sysdeps/i386/configure: Likewise.
8455 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8456 * sysdeps/mach/configure: Likewise.
8457 * sysdeps/mach/hurd/configure: Likewise.
8458 * sysdeps/powerpc/configure: Likewise.
8459 * sysdeps/powerpc/powerpc32/configure: Likewise.
8460 * sysdeps/powerpc/powerpc64/configure: Likewise.
8461 * sysdeps/s390/s390-32/configure: Likewise.
8462 * sysdeps/s390/s390-64/configure: Likewise.
8463 * sysdeps/sh/configure: Likewise.
8464 * sysdeps/sparc/configure: Likewise.
8465 * sysdeps/unix/sysv/linux/configure: Likewise.
8466 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8467 * sysdeps/x86_64/configure: Likewise.
8468 * sysdeps/x86_64/preconfigure: Likewise.
8469
36a4953a
AS
84702013-10-29 Andreas Schwab <schwab@suse.de>
8471
8472 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8473
c79a1204
SP
84742013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8475
dfa1b402
SP
8476 * benchtests/pow-inputs: Add new inputs.
8477
54f73d9c
SP
8478 * benchtests/exp-inputs: Add new inputs.
8479
c79a1204
SP
8480 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8481 conditional check for return value.
8482 (__cos32): Likewise.
8483
67beb545 84842013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8485
8486 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8487 to provide a boost for large inputs with word alignment.
8488 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8489 implementation based on optimized PPC64 strcpy.
8490 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8491 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8492 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8493 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8494
151659f6
OB
84952013-10-25 Ondřej Bílka <neleai@seznam.cz>
8496
482a077e 8497 [BZ #2801]
151659f6
OB
8498 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8499
10b0f26b
OB
85002013-10-25 Ondřej Bílka <neleai@seznam.cz>
8501
8502 [BZ #14876]
8503 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8504 * time/tst-strptime.c (day_tests): Add testcase.
8505
ca42d35e
OB
85062013-10-25 Ondřej Bílka <neleai@seznam.cz>
8507
482a077e 8508 [BZ #14029]
ca42d35e
OB
8509 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8510
52e6d801
FB
85112013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8512
8513 [BZ #16074]
8514 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8515 MAP_FAILED on error.
8516
7cbcdb36
SP
85172013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8518
8519 [BZ #16072]
8520 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8521 heap for large requests.
8522
894f3f10
AM
85232013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8524
8525 [BZ #9954]
8526 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8527 result if the result has no associated interface.
8528 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8529 interface for all 127.X.Y.Z addresses.
8530
b85545a6
CL
85312013-10-24 Chris Leonard <cjl@sugarlabs.org>
8532
8533 * locale/iso-639.def: Add Ligurian (lij)
8534
d1f23d46
OB
85352013-10-21 Ondřej Bílka <neleai@seznam.cz>
8536
8537 [BZ #15825]
8538 * sunrpc/rpc_main.c: Document rpcgen -5.
8539
4db5b08f
MS
85402013-10-19 Michael Stahl <mstahl@redhat.com>
8541
8542 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8543
a471e96a
OB
85442013-10-19 Ondřej Bílka <neleai@seznam.cz>
8545
d1f23d46 8546 [BZ #10278]
a471e96a
OB
8547 * posix/glob.c: Match only directories when trailing slash is present.
8548 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8549 (main): Add testcase.
8550
45c30c61
OB
85512013-10-19 Ondřej Bílka <neleai@seznam.cz>
8552
8553 [BZ #15670]
8554 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8555
484c12fb
CD
85562013-10-18 Carlos O'Donell <carlos@redhat.com>
8557
3d7dc513
CD
8558 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8559 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8560 AUTH_DES and cindex for FIPS 140-2.
8561 (DES Encryption): Add cindex FIPS 46-3.
8562
484c12fb
CD
8563 * locale/locarchive.h (struct locarhandle): Add fname.
8564 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8565 if an optional argument was specified to --list-archive,
8566 otherwise NULL.
8567 * locale/programs/locarchive.c (show_archive_content): Take new
8568 argument fname and pass it via ah.fname to open_archive.
8569 * locale/programs/localedef.h: Update decl.
8570 (open_archive): If AH->fname is non-null, open that file
8571 rather than the default file name, and don't ignore ENOENT.
8572 (create_archive): Set AH.fname to NULL.
8573 (delete_locales_from_archive): Likewise.
8574 (add_locales_to_archive): Likewise.
8575 * locale/programs/locfile.c (write_all_categories): Likewise.
8576
3c8325fb
JM
85772013-10-18 Joseph Myers <joseph@codesourcery.com>
8578 Aldy Hernandez <aldyh@redhat.com>
8579
8580 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8581 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8582 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8583 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8584 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8585 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8586 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8587 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8588 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8589 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8590 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8591 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8592 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8593 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8594 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8595 Likewise.
8596 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8597 Likewise.
8598 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8599 Likewise.
8600 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8601 Likewise.
8602 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8603 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8604 Likewise.
8605 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8606 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8607 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8608 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8609 Likewise.
8610 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8611 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8612 * sysdeps/powerpc/preconfigure: Likewise.
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8614 Likewise.
8615 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8616 Replace contents of file by #include of <fenv_libc.h>.
8617 * sysdeps/powerpc/soft-fp/sfp-machine.h
8618 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8619 and <sys/prctl.h>.
8620 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8622 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8623 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8624 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8625 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8631 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8633 Allow copysignl PLT reference to be missing.
8634
5abe0682
RS
86352013-10-18 Richard Sandiford <richard@codesourcery.com>
8636 Joseph Myers <joseph@codesourcery.com
8637
8638 [BZ #15948]
8639 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8640 single character.
8641 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8642
c7738d08
SP
86432013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8644
8645 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8646 * elf/tst-tls1.c: Likewise.
8647 * elf/tst-tls10.h: Likewise.
8648 * elf/tst-tls14.c: Likewise.
8649 * elf/tst-tls2.c: Likewise.
8650 * elf/tst-tls3.c: Likewise.
8651 * elf/tst-tls4.c: Likewise.
8652 * elf/tst-tls5.c: Likewise.
8653 * elf/tst-tls6.c: Likewise.
8654 * elf/tst-tls7.c: Likewise.
8655 * elf/tst-tls8.c: Likewise.
8656 * elf/tst-tls9.c: Likewise.
8657 * elf/tst-tlsmod1.c: Likewise.
8658 * elf/tst-tlsmod13.c: Likewise.
8659 * elf/tst-tlsmod13a.c: Likewise.
8660 * elf/tst-tlsmod14a.c: Likewise.
8661 * elf/tst-tlsmod16a.c: Likewise.
8662 * elf/tst-tlsmod16b.c: Likewise.
8663 * elf/tst-tlsmod2.c: Likewise.
8664 * elf/tst-tlsmod3.c: Likewise.
8665 * elf/tst-tlsmod4.c: Likewise.
8666 * elf/tst-tlsmod5.c: Likewise.
8667 * elf/tst-tlsmod6.c: Likewise.
8668
0bfcf2c7
OB
86692013-10-18 Ondřej Bílka <neleai@seznam.cz>
8670
8671 [BZ #12486]
8672 * malloc/malloc.c: remove checks for statistics.
8673
264aad1e
OB
86742013-10-17 Ondřej Bílka <neleai@seznam.cz>
8675
8676 [BZ #15277]
8677 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8678 * inet/tst-network.c: Add testcase.
8679
b957ced8
AS
86802013-10-17 Andreas Schwab <schwab@suse.de>
8681
8682 [BZ #15218]
8683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8684 to determine canonical name.
8685
c5d5d574
OB
86862013-10-17 Ondřej Bílka <neleai@seznam.cz>
8687
8688 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8689 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8712 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8713 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8718 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8746
e5c2c2d0
JM
87472013-10-17 Joseph Myers <joseph@codesourcery.com>
8748
8749 [BZ #16041]
8750 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8751 make result into a quiet NaN.
8752
51ca9e29
JM
87532013-10-16 Joseph Myers <joseph@codesourcery.com>
8754
8755 * soft-fp/adddf3.c: Fix horizontal whitespace.
8756 * soft-fp/addsf3.c: Likewise.
8757 * soft-fp/addtf3.c: Likewise.
8758 * soft-fp/divdf3.c: Likewise.
8759 * soft-fp/divsf3.c: Likewise.
8760 * soft-fp/divtf3.c: Likewise.
8761 * soft-fp/double.h: Likewise.
8762 * soft-fp/eqdf2.c: Likewise.
8763 * soft-fp/eqsf2.c: Likewise.
8764 * soft-fp/eqtf2.c: Likewise.
8765 * soft-fp/extenddftf2.c: Likewise.
8766 * soft-fp/extended.h: Likewise.
8767 * soft-fp/extendsfdf2.c: Likewise.
8768 * soft-fp/extendsftf2.c: Likewise.
8769 * soft-fp/extendxftf2.c: Likewise.
8770 * soft-fp/fixdfdi.c: Likewise.
8771 * soft-fp/fixdfsi.c: Likewise.
8772 * soft-fp/fixdfti.c: Likewise.
8773 * soft-fp/fixsfdi.c: Likewise.
8774 * soft-fp/fixsfsi.c: Likewise.
8775 * soft-fp/fixsfti.c: Likewise.
8776 * soft-fp/fixtfdi.c: Likewise.
8777 * soft-fp/fixtfsi.c: Likewise.
8778 * soft-fp/fixtfti.c: Likewise.
8779 * soft-fp/fixunsdfdi.c: Likewise.
8780 * soft-fp/fixunsdfsi.c: Likewise.
8781 * soft-fp/fixunsdfti.c: Likewise.
8782 * soft-fp/fixunssfdi.c: Likewise.
8783 * soft-fp/fixunssfsi.c: Likewise.
8784 * soft-fp/fixunssfti.c: Likewise.
8785 * soft-fp/fixunstfdi.c: Likewise.
8786 * soft-fp/fixunstfsi.c: Likewise.
8787 * soft-fp/fixunstfti.c: Likewise.
8788 * soft-fp/floatdidf.c: Likewise.
8789 * soft-fp/floatdisf.c: Likewise.
8790 * soft-fp/floatditf.c: Likewise.
8791 * soft-fp/floatsidf.c: Likewise.
8792 * soft-fp/floatsisf.c: Likewise.
8793 * soft-fp/floatsitf.c: Likewise.
8794 * soft-fp/floattidf.c: Likewise.
8795 * soft-fp/floattisf.c: Likewise.
8796 * soft-fp/floattitf.c: Likewise.
8797 * soft-fp/floatundidf.c: Likewise.
8798 * soft-fp/floatundisf.c: Likewise.
8799 * soft-fp/floatunditf.c: Likewise.
8800 * soft-fp/floatunsidf.c: Likewise.
8801 * soft-fp/floatunsisf.c: Likewise.
8802 * soft-fp/floatunsitf.c: Likewise.
8803 * soft-fp/floatuntidf.c: Likewise.
8804 * soft-fp/floatuntisf.c: Likewise.
8805 * soft-fp/floatuntitf.c: Likewise.
8806 * soft-fp/fmadf4.c: Likewise.
8807 * soft-fp/fmasf4.c: Likewise.
8808 * soft-fp/fmatf4.c: Likewise.
8809 * soft-fp/gedf2.c: Likewise.
8810 * soft-fp/gesf2.c: Likewise.
8811 * soft-fp/getf2.c: Likewise.
8812 * soft-fp/ledf2.c: Likewise.
8813 * soft-fp/lesf2.c: Likewise.
8814 * soft-fp/letf2.c: Likewise.
8815 * soft-fp/muldf3.c: Likewise.
8816 * soft-fp/mulsf3.c: Likewise.
8817 * soft-fp/multf3.c: Likewise.
8818 * soft-fp/negdf2.c: Likewise.
8819 * soft-fp/negsf2.c: Likewise.
8820 * soft-fp/negtf2.c: Likewise.
8821 * soft-fp/op-1.h: Likewise.
8822 * soft-fp/op-2.h: Likewise.
8823 * soft-fp/op-4.h: Likewise.
8824 * soft-fp/op-8.h: Likewise.
8825 * soft-fp/op-common.h: Likewise.
8826 * soft-fp/quad.h: Likewise.
8827 * soft-fp/single.h: Likewise.
8828 * soft-fp/soft-fp.h: Likewise.
8829 * soft-fp/sqrtdf2.c: Likewise.
8830 * soft-fp/sqrtsf2.c: Likewise.
8831 * soft-fp/sqrttf2.c: Likewise.
8832 * soft-fp/subdf3.c: Likewise.
8833 * soft-fp/subsf3.c: Likewise.
8834 * soft-fp/subtf3.c: Likewise.
8835 * soft-fp/truncdfsf2.c: Likewise.
8836 * soft-fp/trunctfdf2.c: Likewise.
8837 * soft-fp/trunctfsf2.c: Likewise.
8838 * soft-fp/trunctfxf2.c: Likewise.
8839 * soft-fp/unorddf2.c: Likewise.
8840 * soft-fp/unordsf2.c: Likewise.
8841 * soft-fp/unordtf2.c: Likewise.
8842
9ebb0332
JM
88432013-10-15 Joseph Myers <joseph@codesourcery.com>
8844
8845 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8846 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8847
4b1a6d8b
OB
88482013-10-15 Ondřej Bílka <neleai@seznam.cz>
8849
8850 * elf/dl-libc.c: Clear initfini list after freeing.
8851
1e145589
JM
88522013-10-14 Joseph Myers <joseph@codesourcery.com>
8853
8854 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8855 * soft-fp/addsf3.c: Likewise.
8856 * soft-fp/addtf3.c: Likewise.
8857 * soft-fp/divdf3.c: Likewise.
8858 * soft-fp/divsf3.c: Likewise.
8859 * soft-fp/divtf3.c: Likewise.
8860 * soft-fp/double.h: Likewise.
8861 * soft-fp/eqdf2.c: Likewise.
8862 * soft-fp/eqsf2.c: Likewise.
8863 * soft-fp/eqtf2.c: Likewise.
8864 * soft-fp/extenddftf2.c: Likewise.
8865 * soft-fp/extended.h: Likewise.
8866 * soft-fp/extendsfdf2.c: Likewise.
8867 * soft-fp/extendsftf2.c: Likewise.
8868 * soft-fp/extendxftf2.c: Likewise.
8869 * soft-fp/fixdfdi.c: Likewise.
8870 * soft-fp/fixdfsi.c: Likewise.
8871 * soft-fp/fixdfti.c: Likewise.
8872 * soft-fp/fixsfdi.c: Likewise.
8873 * soft-fp/fixsfsi.c: Likewise.
8874 * soft-fp/fixsfti.c: Likewise.
8875 * soft-fp/fixtfdi.c: Likewise.
8876 * soft-fp/fixtfsi.c: Likewise.
8877 * soft-fp/fixtfti.c: Likewise.
8878 * soft-fp/fixunsdfdi.c: Likewise.
8879 * soft-fp/fixunsdfsi.c: Likewise.
8880 * soft-fp/fixunsdfti.c: Likewise.
8881 * soft-fp/fixunssfdi.c: Likewise.
8882 * soft-fp/fixunssfsi.c: Likewise.
8883 * soft-fp/fixunssfti.c: Likewise.
8884 * soft-fp/fixunstfdi.c: Likewise.
8885 * soft-fp/fixunstfsi.c: Likewise.
8886 * soft-fp/fixunstfti.c: Likewise.
8887 * soft-fp/floatdidf.c: Likewise.
8888 * soft-fp/floatdisf.c: Likewise.
8889 * soft-fp/floatditf.c: Likewise.
8890 * soft-fp/floatsidf.c: Likewise.
8891 * soft-fp/floatsisf.c: Likewise.
8892 * soft-fp/floatsitf.c: Likewise.
8893 * soft-fp/floattidf.c: Likewise.
8894 * soft-fp/floattisf.c: Likewise.
8895 * soft-fp/floattitf.c: Likewise.
8896 * soft-fp/floatundidf.c: Likewise.
8897 * soft-fp/floatundisf.c: Likewise.
8898 * soft-fp/floatunsidf.c: Likewise.
8899 * soft-fp/floatunsisf.c: Likewise.
8900 * soft-fp/floatuntidf.c: Likewise.
8901 * soft-fp/floatuntisf.c: Likewise.
8902 * soft-fp/floatuntitf.c: Likewise.
8903 * soft-fp/fmadf4.c: Likewise.
8904 * soft-fp/fmasf4.c: Likewise.
8905 * soft-fp/fmatf4.c: Likewise.
8906 * soft-fp/gedf2.c: Likewise.
8907 * soft-fp/gesf2.c: Likewise.
8908 * soft-fp/getf2.c: Likewise.
8909 * soft-fp/ledf2.c: Likewise.
8910 * soft-fp/lesf2.c: Likewise.
8911 * soft-fp/letf2.c: Likewise.
8912 * soft-fp/muldf3.c: Likewise.
8913 * soft-fp/mulsf3.c: Likewise.
8914 * soft-fp/multf3.c: Likewise.
8915 * soft-fp/negdf2.c: Likewise.
8916 * soft-fp/negsf2.c: Likewise.
8917 * soft-fp/negtf2.c: Likewise.
8918 * soft-fp/op-1.h: Likewise.
8919 * soft-fp/op-2.h: Likewise.
8920 * soft-fp/op-4.h: Likewise.
8921 * soft-fp/op-8.h: Likewise.
8922 * soft-fp/op-common.h: Likewise.
8923 * soft-fp/quad.h: Likewise.
8924 * soft-fp/single.h: Likewise.
8925 * soft-fp/soft-fp.h: Likewise.
8926 * soft-fp/sqrtdf2.c: Likewise.
8927 * soft-fp/sqrtsf2.c: Likewise.
8928 * soft-fp/sqrttf2.c: Likewise.
8929 * soft-fp/subdf3.c: Likewise.
8930 * soft-fp/subsf3.c: Likewise.
8931 * soft-fp/subtf3.c: Likewise.
8932 * soft-fp/truncdfsf2.c: Likewise.
8933 * soft-fp/trunctfdf2.c: Likewise.
8934 * soft-fp/trunctfsf2.c: Likewise.
8935 * soft-fp/trunctfxf2.c: Likewise.
8936 * soft-fp/unorddf2.c: Likewise.
8937 * soft-fp/unordsf2.c: Likewise.
8938 * soft-fp/unordtf2.c: Likewise.
8939
17c48a60
OB
89402013-10-14 Ondřej Bílka <neleai@seznam.cz>
8941
8942 [BZ #15672]
8943 * misc/error.c (error_tail): Fix possible buffer overflow.
8944
cabba934
OB
89452013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8946
8947 [BZ #13028]
8948 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8949 address.
8950
94bf958a
PM
89512013-10-14 P. J. McDermott <pj@pehjota.net>
8952
8953 [BZ #832]
8954 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8955 testing pipefail option.
8956
71b4dea7
JM
89572013-10-12 Joseph Myers <joseph@codesourcery.com>
8958
8959 * soft-fp/double.h: Indent preprocessor directives inside #if.
8960 * soft-fp/extended.h: Likewise.
8961 * soft-fp/op-2.h: Likewise.
8962 * soft-fp/op-4.h: Likewise.
8963 * soft-fp/op-common.h: Likewise.
8964 * soft-fp/quad.h: Likewise.
8965 * soft-fp/single.h: Likewise.
8966 * soft-fp/soft-fp.h: Likewise.
8967
55602758
YC
89682013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8969
8970 * iconv/iconv_prog.c: Fix typos.
8971 * stdio-common/psiginfo-data.h: Likewise.
8972
9cd83302
RT
89732013-10-12 Reuben Thomas <rrt@sc3d.org>
8974
8975 [BZ #15764]
8976 * locale/setlocale.c: Fix typo.
8977
99fd9f47
JM
89782013-10-12 Joseph Myers <joseph@codesourcery.com>
8979
b7ea74f0
JM
8980 [BZ #16036]
8981 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8982 signaling NaN arguments.
8983 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8984 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8985
8a509447
JM
8986 [BZ #14910]
8987 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8988 unordered operands.
8989 * soft-fp/gesf2.c (__gesf2): Likewise.
8990 * soft-fp/getf2.c (__getf2): Likewise.
8991 * soft-fp/ledf2.c (__ledf2): Likewise.
8992 * soft-fp/lesf2.c (__lesf2): Likewise.
8993 * soft-fp/letf2.c (__letf2): Likewise.
8994
98998e9f
JM
8995 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8996 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8997 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8998 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8999 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9000 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9001 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9002 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9003 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9004 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9005 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9006 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9007 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9008 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9009 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9010 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9011 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9012 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9013 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9014 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9015 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9016 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9017 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9018 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9019 * soft-fp/floattidf.c (__floattidf): Likewise.
9020 * soft-fp/floattisf.c (__floattisf): Likewise.
9021 * soft-fp/floattitf.c (__floattitf): Likewise.
9022 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9023 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9024 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9025 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9026 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9027 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9028 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9029 * soft-fp/gesf2.c (__gesf2): Likewise.
9030 * soft-fp/getf2.c (__getf2): Likewise.
9031 * soft-fp/ledf2.c (__ledf2): Likewise.
9032 * soft-fp/lesf2.c (__lesf2): Likewise.
9033 * soft-fp/letf2.c (__letf2): Likewise.
9034
8edc4a11
JM
9035 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9036 Undefine and redefine.
9037 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9038 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9039 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9040 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9041 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9042 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9043 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9044 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9045 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9046 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9047 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9048 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9049 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9050 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9051 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9052
8399acaf
JM
9053 [BZ #16032]
9054 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9055 without decrementing exponent if mantissa >= that for the
9056 denominator, not >.
9057 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9058 denominator, not >. Decrement exponent in < case instead of
9059 incrementing in >= case.
9060 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9061 without decrementing exponent if mantissa >= that for the
9062 denominator, not >.
9063
99fd9f47
JM
9064 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9065 computing saturated result for unsigned overflow.
9066
10e1cf6b
SP
90672013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9068 Jeff Law <law@redhat.com>
9069
9070 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9071 (atan2Mp): Add systemtap probe marker.
9072 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9073 (__ieee754_log): Add systemtap probe marker.
9074 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9075 (atanMp): Add systemtap probe marker.
9076 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9077 (tanMp): Add systemtap probe marker.
9078 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9079 (__slowexp): Add systemtap probe marker.
9080 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9081 (__slowpow): Add systemtap probe marker.
9082 * manual/probes.texi: Document probes.
9083
3d110c7c
EB
90842013-10-11 Eric Biggers <ebiggers3@gmail.com>
9085
9086 [BZ #15362]
9087 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9088 written.
9089 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9090 written.
9091 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9092 written to buffer but not flushed.
9093 * libio/iofwrite_u.c: Likewise.
9094 * libio/iopadn.c: Return bytes returned even if EOF was
9095 encountered.
9096 * libio/iowpadn.c: Likewise.
9097 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9098 if _IO_padn does not write the whole buffer.
9099 [!COMPILE_WPRINTF] (PAD): Likewise.
9100
75b4202a
DM
91012013-10-10 David S. Miller <davem@davemloft.net>
9102
9103 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9104 directory block.
9105
6c6352e6
JM
91062013-10-10 Joseph Myers <joseph@codesourcery.com>
9107
33b853c3
JM
9108 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9109 instead of FSF address.
9110 * soft-fp/fixdfti.c: Likewise.
9111 * soft-fp/fixsfti.c: Likewise.
9112 * soft-fp/fixtfti.c: Likewise.
9113 * soft-fp/fixunsdfti.c: Likewise.
9114 * soft-fp/fixunssfti.c: Likewise.
9115 * soft-fp/fixunstfti.c: Likewise.
9116 * soft-fp/floattidf.c: Likewise.
9117 * soft-fp/floattisf.c: Likewise.
9118 * soft-fp/floattitf.c: Likewise.
9119 * soft-fp/floatuntidf.c: Likewise.
9120 * soft-fp/floatuntisf.c: Likewise.
9121 * soft-fp/floatuntitf.c: Likewise.
9122 * soft-fp/trunctfxf2.c: Likewise.
9123
6c6352e6
JM
9124 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
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
3bf78b71
DM
91392013-10-10 David S. Miller <davem@davemloft.net>
9140
9141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9142
6f10289e
JM
91432013-10-10 Joseph Myers <joseph@codsourcery.com>
9144
bd878fc0
JM
9145 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9146 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9147 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9148 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9149 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9150 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9151 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9152
6f10289e
JM
9153 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9154 for NaNs before doing comparisons on argument.
9155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9156 Likewise.
9157
321e2684
WN
91582013-10-10 Will Newton <will.newton@linaro.org>
9159
9160 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9161 passed to _int_memalign does not overflow.
9162
40fefba1
TR
91632013-10-10 Torvald Riegel <triegel@redhat.com>
9164
9165 * scripts/bench.pl: Add include-sources directive.
9166 * benchtests/README: Update documentation.
9167
2ae21ed2
JM
91682013-10-10 Joseph Myers <joseph@codesourcery.com>
9169
dcc2dd3f
JM
9170 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9171 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9172 instead of FP_INIT_ROUNDMODE.
9173 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9174 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9175
2ae21ed2
JM
9176 [BZ #16034]
9177 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9178 copy class of input value.
9179 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9180 not handle exceptions.
9181 * soft-fp/negsf2.c (__negsf2): Likewise.
9182 * soft-fp/negtf2.c (__negtf2): Likewise.
9183 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9184
cb8f9562
JM
91852013-10-09 Joseph Myers <joseph@codesourcery.com>
9186
9187 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9188 semicolon. From Linux kernel.
9189
5b60c59d
AB
91902013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9191
9192 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9193
b86835ca
YC
91942013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9195
9196 [BZ #156]
9197 * manual/socket.texi: Added statement about buffer
9198 for gethostbyname2_r.
9199
e7044ea7
OB
92002013-10-08 Ondřej Bílka <neleai@seznam.cz>
9201
9202 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9203 Use .p2align directive instead, throughout.
9204 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9205 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9206 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9207 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9208 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9209 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9210 * sysdeps/x86_64/strchr.S: Likewise.
9211 * sysdeps/x86_64/strrchr.S: Likewise.
9212
09544cbc
SP
92132013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9214
88576635
SP
9215 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9216
e7b2d1dd
SP
9217 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9218
09544cbc
SP
9219 * sysdeps/generic/math_private.h (__mpsin1): Remove
9220 declaration.
9221 (__mpcos1): Likewise.
9222 (__mpsin): New argument __range_reduce.
9223 (__mpcos): Likewise.
9224 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9225 (slow): Use __mpsin and __mpcos.
9226 (slow1): Likewise.
9227 (slow2): Likewise.
9228 (sloww): Likewise.
9229 (sloww1): Likewise.
9230 (sloww2): Likewise.
9231 (bsloww): Likewise.
9232 (bsloww1): Likewise.
9233 (bsloww2): Likewise.
9234 (cslow2): Likewise.
9235 (csloww): Likewise.
9236 (csloww1): Likewise.
9237 (csloww2): Likewise.
9238 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9239 range_reduce. Merge in __mpsin1.
9240 (__mpcos): Likewise.
9241 (__mpsin1): Remove.
9242 (__mpcos1): Likewise.
9243
7602d070
JM
92442013-10-07 Joseph Myers <joseph@codesourcery.com>
9245
9246 * locale/loadlocale.c (_nl_intern_locale_data): Use
9247 LOCFILE_ALIGNED_P.
9248 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9249 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9250 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9251 obstack data is appropriately aligned.
9252 (obstack_int32_grow_fast): Likewise.
9253 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9254 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9255 (add_locale_uint32_array): Likewise.
9256
a357259b
SP
92572013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9258
9259 * benchtests/Makefile: Remove ARGLIST and RET variables.
9260 ($(objpfx)bench-%.c): Pass only function name to the script.
9261 * benchtests/README: Update documentation.
9262 * benchtests/acos-inputs: Add new directives.
9263 * benchtests/acosh-inputs: Likewise.
9264 * benchtests/asin-inputs: Likewise.
9265 * benchtests/asinh-inputs: Likewise.
9266 * benchtests/atan-inputs: Likewise.
9267 * benchtests/atanh-inputs: Likewise.
9268 * benchtests/cos-inputs: Likewise.
9269 * benchtests/cosh-inputs: Likewise.
9270 * benchtests/exp-inputs: Likewise.
9271 * benchtests/log-inputs: Likewise.
9272 * benchtests/pow-inputs: Likewise.
9273 * benchtests/rint-inputs: Likewise.
9274 * benchtests/sin-inputs: Likewise.
9275 * benchtests/sinh-inputs: Likewise.
9276 * benchtests/tan-inputs: Likewise.
9277 * benchtests/tanh-inputs: Likewise.
9278 * scripts/bench.pl: Add support for new directives.
9279
9ec1b13d
AM
92802013-10-07 Alan Modra <amodra@gmail.com>
9281
9282 * README: Fix careless merge.
9283
8b7d57cd
AM
92842013-10-05 Alan Modra <amodra@gmail.com>
9285
9286 * NEWS: Mention powerpc64le support and bugs fixed.
9287 * README: Both big-endian and little-endian powerpc64 supported.
9288
7b7bab13
ST
92892013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9290
9291 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9292 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9293 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9294 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9295
d39baad1
RA
92962013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9297
9298 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9299 match prototype.
9300
cd78f7e7
JM
93012013-10-04 Joseph Myers <joseph@codesourcery.com>
9302
29d73d86
JM
9303 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9304 Move -mhard-float appending from
9305 ports/sysdeps/powerpc/powerpc32/Makefile.
9306 [$(with-fp) = yes] (ASFLAGS): Likewise.
9307 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9308 * sysdeps/powerpc/nofpu: Move directory from
9309 ports/sysdeps/powerpc/nofpu.
9310 * sysdeps/powerpc/soft-fp: Move directory from
9311 ports/sysdeps/powerpc/soft-fp.
9312 * sysdeps/powerpc/powerpc32/405: Move directory from
9313 ports/sysdeps/powerpc/powerpc32/405.
9314 * sysdeps/powerpc/powerpc32/440: Move directory from
9315 ports/sysdeps/powerpc/powerpc32/440.
9316 * sysdeps/powerpc/powerpc32/464: Move directory from
9317 ports/sysdeps/powerpc/powerpc32/464.
9318 * sysdeps/powerpc/powerpc32/476: Move directory from
9319 ports/sysdeps/powerpc/powerpc32/476.
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9321 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9323 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9325 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9327 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9329 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9330 * README: Update for powerpc-*-linux-gnu software floating point
9331 support in libc.
9332
e246b347
JM
9333 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9334 case to powerpc/powerpc32*.
9335 * sysdeps/unix/sysv/linux/configure: Regenerated.
9336
89c2003e
JM
9337 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9338 (_FPU_MASK_OM): Define as 0x04.
9339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9341 0x00c10080.
9342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9343 0x0000003c.
9344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9345
cd78f7e7
JM
9346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9347 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9348 getcontext_e500.
9349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9350 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9351 setcontext_e500.
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9353 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9354 and setcontext_e500.
9355
c755294d
CL
93562013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9357
9358 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9359
e16d221c
SP
93602013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9361
9362 * manual/threads.texi (Default Thread Attributes): Fix typo.
9363
215c7d43
WN
93642013-10-04 Will Newton <will.newton@linaro.org>
9365
9366 * malloc/Makefile: Add tst-memalign.
9367 * malloc/tst-memalign.c: New file.
9368
27d0461b
WN
9369 * malloc/tst-posix_memalign.c: Add comments.
9370 (do_test): Add comments and call free on all potentially
9371 allocated pointers. Add space after cast.
9372
1bc92709
WN
9373 * malloc/tst-pvalloc.c: Add comments.
9374 (do_test): Add comments and call free on all potentially
9375 allocated pointers. Remove duplicate check for NULL pointer.
9376 Add space after cast.
9377
66a9be9d
WN
9378 * malloc/tst-valloc.c: Add comments.
9379 (do_test): Add comments and call free on all potentially
9380 allocated pointers. Remove duplicate check for NULL pointer.
9381 Add space after cast.
9382
4cb81307
AM
93832013-10-04 Alan Modra <amodra@gmail.com>
9384
9385 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9386 Use stdint types in rather than __attribute__((mode())).
9387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9388
f8e3e9f3
AM
93892013-10-04 Alan Modra <amodra@gmail.com>
9390
9391 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9392 Correct handling of unaligned relocs for little-endian.
9393 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9394
8f9ebb08
AM
93952013-10-04 Alan Modra <amodra@gmail.com>
9396
9397 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9398 * configure: Regenerate.
9399 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9400 * shlib-versions: Likewise.
9401
0edf96c2
AM
94022013-10-04 Alan Modra <amodra@gmail.com>
9403
9404 * string/tester.c (test_memrchr): Increment reported test cycle.
9405
e0f7a380
AM
94062013-10-04 Alan Modra <amodra@gmail.com>
9407
9408 * string/test-memcpy.c (do_one_test): When reporting errors, print
9409 string address and don't overrun end of string.
9410
466b0393
AM
94112013-10-04 Alan Modra <amodra@gmail.com>
9412
9413 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9414 insrdi. Make better use of reg selection to speed exit slightly.
9415 Schedule entry path a little better. Remove useless "are we done"
9416 checks on entry to main loop. Handle wrapping around zero address.
9417 Correct main loop count. Handle single left-over word from main
9418 loop inline rather than by using loop_small. Remove extra word
9419 case in loop_small caused by wrong loop count. Add little-endian
9420 support.
9421 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9422 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9423 cache hint.
9424 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9425 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9426 support. Avoid rlwimi.
9427 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9428
3be87c77
AM
94292013-10-04 Alan Modra <amodra@gmail.com>
9430
9431 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9432 insrdi. Formatting.
3be87c77
AM
9433 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9434 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9435 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9436 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9437 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9438 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9439
759cfef3
AM
94402013-10-04 Alan Modra <amodra@gmail.com>
9441
9442 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9443 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9444 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9445 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9446 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9447 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9448 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9450 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9451 use of regs. Use power7 mtocrf. Tidy function tails.
9452
fe6e95d7
AM
94532013-10-04 Alan Modra <amodra@gmail.com>
9454
9455 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9456 Formatting. Consistently use rXXX register defines or rN defines.
9457 Use early exit labels that avoid restoring unused non-volatile regs.
9458 Make cr field use more consistent with rWORDn compares. Rename
9459 regs used as shift registers for unaligned loop, using rN defines
9460 for short lifetime/multiple use regs.
9461 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9462 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9463 addi 1,1,64 to pop stack frame. Simplify return value code.
9464 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9465
664318c3
AM
94662013-10-04 Alan Modra <amodra@gmail.com>
9467
9468 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9469 support. Correct typos, formatting. Optimize tail. Use insrdi
9470 rather than rlwimi.
9471 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9472 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9473 little-endian support. Correct typos.
9474 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9475 rather than rlwimi.
9476 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9477 in loop and entry code to keep "and." results.
9478 (strchr): Add little-endian support. Comment. Move cntlzd
9479 earlier in tail.
9480 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9481
43b84013
AM
94822013-10-04 Alan Modra <amodra@gmail.com>
9483
9484 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9485 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9486 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9487 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9488
8a7413f9
AM
94892013-10-04 Alan Modra <amodra@gmail.com>
9490
9491 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9492 (rTMP): Define as r11.
9493 (strcmp): Add little-endian support. Optimise tail.
9494 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9495 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9496 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9497 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9498 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9499 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9501
33ee81de
AM
95022013-10-04 Alan Modra <amodra@gmail.com>
9503
9504 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9505 little-endian support. Remove unnecessary "are we done" tests.
9506 Handle "s" wrapping around zero and extremely large "size".
9507 Correct main loop count. Handle single left-over word from main
9508 loop inline rather than by using small_loop. Correct comments.
9509 Delete "zero" tail, use "end_max" instead.
9510 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9511
db9b4570
AM
95122013-10-04 Alan Modra <amodra@gmail.com>
9513
9514 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9515 support. Don't branch over align.
9516 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9517 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9518 support. Rearrange tmp reg use to suit. Comment.
9519 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9520
f7c399cf
AM
95212013-10-04 Alan Modra <amodra@gmail.com>
9522
9523 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9524
0b2c2ace
AM
95252013-10-04 Alan Modra <amodra@gmail.com>
9526
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9528 conditional form of branch and link when obtaining pc.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9530
02f04a6c
AM
95312013-10-04 Alan Modra <amodra@gmail.com>
9532
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9534 HIWORD/LOWORD.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9537
9b874b2f
AM
95382013-10-04 Alan Modra <amodra@gmail.com>
9539
9540 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9541 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9542 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9543 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9544 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9545 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9546 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9547 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9548 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9549 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9550
be1e5d31
AB
95512013-10-04 Anton Blanchard <anton@au1.ibm.com>
9552 Alistair Popple <alistair@ozlabs.au.ibm.com>
9553 Alan Modra <amodra@gmail.com>
9554
9555 [BZ #15723]
9556 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9557 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9558 _dl_hwcap access for little-endian.
9559 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9560 destroy vmx regs when saving unaligned.
9561 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9562 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9563 destroy vmx regs when saving unaligned.
9564
fef13a78
AM
95652013-10-04 Alan Modra <amodra@gmail.com>
9566
9567 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9568 Don't use a union to pack hi/low value.
9569
76a66d51
AB
95702013-10-04 Anton Blanchard <anton@au1.ibm.com>
9571
9572 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9573 for little-endian.
9574 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9575 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9576 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9577 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9578 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9579
6a31fe7f
AM
95802013-10-04 Alan Modra <amodra@gmail.com>
9581
9582 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9583 constants to usual value for .cst8 section, and remove redundant
9584 high address load.
9585 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9586 constant for 0x1p52. Load little-endian words of double from
9587 correct stack offsets.
9588
7b88401f
AM
95892013-10-04 Alan Modra <amodra@gmail.com>
9590
9591 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9592 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9593 words of double from correct stack offsets.
9594 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9595 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9596 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9598 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9599 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9600 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9601 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9602 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9603 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9604 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9605 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9606 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9607 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9608 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9610 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9611
9c008155
AM
96122013-10-04 Alan Modra <amodra@gmail.com>
9613
9614 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9615 64-bit int/double union.
9616 (_FPU_SETCW): Likewise.
9617 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9618 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9619
da13146d
AM
96202013-10-04 Alan Modra <amodra@gmail.com>
9621
9622 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9623 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9624
603e8410
AM
96252013-10-04 Alan Modra <amodra@gmail.com>
9626
9627 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9628 use vector int constants.
9629 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9630
4a28b3ca
AB
96312013-10-04 Anton Blanchard <anton@au1.ibm.com>
9632
9633 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9634 array with long long.
9635 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9636 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9637 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9638 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9639 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9640 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9641 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9642 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9643 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9644 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9645 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9646 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9647 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9648
2ca85d2b
AB
96492013-10-04 Anton Blanchard <anton@au1.ibm.com>
9650
9651 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9652 (__signbit): Likewise. Correct for little-endian.
9653 (__signbitl): Call __signbit.
9654 (lrint): Correct for little-endian.
9655 (lrintf): Call lrint.
9656
62a728ae
AM
96572013-10-04 Alan Modra <amodra@gmail.com>
9658
9659 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9660 union 32-bit int array member with 64-bit int array.
9661 (t515, tm256): Double rather than long double.
9662 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9663
32c301df
AM
96642013-10-04 Alan Modra <amodra@gmail.com>
9665
9666 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9667 Delete.
9668 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9670 version of math_ldbl.h.
9671
650ef4bd
AM
96722013-10-04 Alan Modra <amodra@gmail.com>
9673
9674 [BZ #15734], [BZ #15735]
9675 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9676 all uses of ieee875 long double macros and unions. Simplify test
9677 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9678 ldbl_extract_mantissa value for ix,iy exponents. Properly
9679 normalize after ldbl_extract_mantissa, and don't add hidden bit
9680 already handled. Don't treat low word of ieee854 mantissa like
9681 low word of IBM long double and mask off bit when testing for
9682 zero.
9683 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9684 all uses of ieee875 long double macros and unions. Simplify tests
9685 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9686 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9687 two1022, instead use their values. Recognise that tests for large
9688 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9689 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9690 Rewrite all uses of ieee875 long double macros and unions. Simplify
9691 test for 0.0L and nan. Correct negation.
9692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9693 ieee875 long double macros and unions. Correct output for large
9694 magnitude x. Correct absolute value calculation.
9695 (__erfcl): Likewise.
9696 * math/libm-test.inc: Add tests for errors discovered in IBM long
9697 double versions of fmodl, remainderl, erfl and erfcl.
9698
765714ca
AM
96992013-10-04 Alan Modra <amodra@gmail.com>
9700
9701 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9702 all uses of ieee854 long double macros and unions. Simplify tests
9703 for long doubles that are fully specified by the high double.
9704 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9705 Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9707 Remove dead code too.
9708 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9709 (__ieee754_ynl): Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9713 Remove dead code too.
9714 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9718 Simplify.
9719 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9720 Simplify.
9721 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9724 Comment on variable precision.
9725 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9727 Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9732 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9733
4ebd120c
AM
97342013-10-04 Alan Modra <amodra@gmail.com>
9735
9736 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9737 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9738 all uses of ieee854 long double macros and unions.
9739 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9745 Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9752 Simplify sign and nan test too.
9753 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9757 Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9759 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9760 Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9767
1b6adf88
AM
97682013-10-04 Alan Modra <amodra@gmail.com>
9769
9770 * stdio-common/printf_size.c (__printf_size): Don't use
9771 union ieee854_long_double in fpnum union.
9772 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9773 signbit macro to retrieve sign from long double.
9774 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9775 retrieve sign from long double.
9776 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9777 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9778 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9779 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9780 * math/test-misc.c (main): Don't use union ieee854_long_double.
9781
4cf69995
AM
97822013-10-04 Alan Modra <amodra@gmail.com>
9783
9784 [BZ #15680]
9785 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9786 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9787 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9788 calculation. Remove unnecessary test for denormal exponent.
9789 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9790 Correct handling of denormals. Avoid undefined shift behaviour.
9791 Correct normalisation of low mantissa when low double is denormal.
9792 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9793 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9794 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9795 Correct normalisation of low mantissa. Test for overflow of high
9796 mantissa and normalise.
9797 (ldbl_nearbyint): Use more readable constant for two52.
9798 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9799 (__mpn_construct_long_double): Fix test for overflow of high
9800 mantissa and correct normalisation. Avoid undefined shift.
9801
9605ca6c
AM
98022013-10-04 Alan Modra <amodra@gmail.com>
9803
9804 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9805 (union ibm_extended_long_double): Define as an array of ieee754_double.
9806 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9807 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9808 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9809 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9813 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9816 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9817
975569d0
JM
98182013-10-03 Joseph Myers <joseph@codesourcery.com>
9819
d3d23756
JM
9820 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9821 page size instead of calling getpagesize.
9822
975569d0
JM
9823 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9824 (LOCFILE_ALIGN_MASK): Likewise.
9825 (LOCFILE_ALIGN_UP): Likewise.
9826 (LOCFILE_ALIGNED_P): Likewise.
9827 * locale/programs/ld-collate.c (collate_output): Use the new
9828 macros instead of __alignof__ (int32_t).
9829 * locale/weight.h (findidx): Likewise.
9830
b1fe1f2b
OB
98312013-10-03 Ondřej Bílka <neleai@seznam.cz>
9832
9833 [BZ #431]
9834 * manual/string.texi: Fix strncat and wcsncat.
9835
5f855e35
BM
98362013-10-03 Brooks Moses <bmoses@google.com>
9837
9838 [BZ #15915]
9839 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9840 * Makerules: ...here, and adjust associated comments.
9841
3cef6009
WN
98422013-10-02 Will Newton <will.newton@linaro.org>
9843
9844 * malloc/Makefile: Add tst-pvalloc.
9845 * malloc/tst-pvalloc.c: New file.
9846
7815420b
WN
98472013-10-02 Will Newton <will.newton@linaro.org>
9848
9849 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9850 improve test coverage.
9851
4868b204
WN
98522013-10-02 Will Newton <will.newton@linaro.org>
9853
9854 * malloc/Makefile: Add tst-posix_memalign.
9855 * malloc/tst-posix_memalign.c: New file.
9856
29c793b3
EB
98572013-10-01 Eric Blake <eblake@redhat.com>
9858
9859 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9860 Use __THROWNL rather than __THROW on static functions.
9861
fd967522
PM
98622013-09-30 Petr Machata <pmachata@redhat.com>
9863
9864 * elf/elf.h (R_AARCH64_ABS16): New macro.
9865 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9866 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9867 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9868 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9869 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9870 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9871 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9872 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9873 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9874 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9875 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9876 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9877 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9878 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9879 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9880 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9881 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9882 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9883 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9884 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9885 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9886 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9887 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9888 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9889 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9890 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9891 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9892 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9893 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9894 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9895 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9896 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9897 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9898 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9899 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9900 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9901 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9902 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9903 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9904 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9905 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9906 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9907 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9908 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9909 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9910 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9911 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9912 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9913 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9914 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9915 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9916 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9917 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9918 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9919 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9920 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9921 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9922 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9923 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9924 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9925 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9926 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9927 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9928 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9929 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9930 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9931 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9932 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9933 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9934 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9935 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9936 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9937 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9938 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9939 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9940 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9941 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9942 (R_AARCH64_TLSDESC_LDR): Likewise.
9943 (R_AARCH64_TLSDESC_ADD): Likewise.
9944 (R_AARCH64_TLSDESC_CALL): Likewise.
9945
b2179107
AS
99462013-09-30 Andreas Schwab <schwab@suse.de>
9947
9948 [BZ #15048]
9949 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9950 the nss database lookup.
9951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9953
47f28d0a
MF
99542013-09-28 Mike Frysinger <vapier@gentoo.org>
9955
9956 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9957
99582013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9959
9960 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9961 ${Bash-specific parameter/pattern/string} parameter expansion.
9962 * sysdeps/unix/make-syscalls.sh: Likewise.
9963
f4518a17
KK
99642013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9965
9966 * sysdeps/sh/stackguard-macros.h: New file.
9967
dc1a95c7
OB
99682013-09-26 Ondřej Bílka <neleai@seznam.cz>
9969
9970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9972 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9973 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9974 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9975 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9976
5ebbff8f
AZ
99772013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9978
9979 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9980 Fix thread ID register.
9981
4fd2cf9f
JM
99822013-09-25 Joseph Myers <joseph@codesourcery.com>
9983
9984 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9985 [POSIX || UNIX98]: Require rather than permitting all symbols from
9986 <time.h>.
9987 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9988 element of struct sched_param.
9989 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9990 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9991 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9992 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9993 constant.
9994
12c22bc4
OL
99952013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9996
9997 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9998 argument calculation.
9999
a03d8ea7
JM
100002013-09-24 Joseph Myers <joseph@codesourcery.com>
10001
10002 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10003 Expect macro.
10004 [POSIX] (pthread_attr_t): Do not require type.
10005 [POSIX] (pthread_cond_t): Likewise.
10006 [POSIX] (pthread_condattr_t): Likewise.
10007 [POSIX] (pthread_key_t): Likewise.
10008 [POSIX] (pthread_mutex_t): Likewise.
10009 [POSIX] (pthread_mutexattr_t): Likewise.
10010 [POSIX] (pthread_once_t): Likewise.
10011 [POSIX] (pthread_t): Likewise.
10012 [POSIX-based standards] (pthread_atfork): Expect function.
10013
6055173a
JM
100142013-09-24 Joseph Myers <joseph@codesourcery.com>
10015 Richard Sandiford <richard@codesourcery.com>
10016
10017 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10018 (swap_endianness_p): New extern variable.
10019 (set_big_endian): New inline function.
10020 (maybe_swap_uint32): Likewise.
10021 (maybe_swap_uint32_array): Likewise.
10022 (maybe_swap_uint32_obstack): Likewise.
10023 * locale/programs/locfile.c: Include <stdbool.h>.
10024 (swap_endianness_p): New variable.
10025 (add_locale_uint32): Call maybe_swap_uint32.
10026 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10027 (write_locale_data): Call maybe_swap_uint32_array.
10028 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10029 maybe_swap_uint32.
10030 (obstack_int32_grow_fast): Likewise.
10031 (output_weightwc): Call maybe_swap_uint32_obstack.
10032 (collate_output): Likewise.
10033 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10034 (OPT_LITTLE_ENDIAN): Likewise.
10035 (options): Add --little-endian and --big-endian options.
10036 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10037 * locale/programs/locarchive.c: Include "locfile.h".
10038 (GET): New macro.
10039 (SET): Likewise.
10040 (INC): Likewise.
10041 (create_archive): Use the new macros to access fields of
10042 structures directly mapped from or written to locale archives.
10043 (oldlocrecentcmp): Likewise.
10044 (enlarge_archive): Likewise.
10045 (insert_name): Likewise.
10046 (add_alias): Likewise.
10047 (add_locale): Likewise.
10048 (delete_locales_from_archive): Likewise.
10049 (show_archive_content): Likewise.
10050 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10051 locale data.
10052
39bf0bb4
RM
100532013-09-24 Roland McGrath <roland@hack.frob.com>
10054
10055 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10056 http://www.gnu.org/doc/freemanuals.texi.
10057 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10058
f02eed10
WN
100592013-09-24 Will Newton <will.newton@linaro.org>
10060
10061 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10062 macro.
10063
a3a6c312
JM
100642013-09-23 Joseph Myers <joseph@codesourcery.com>
10065
10066 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10067 unsigned char.
10068
107375ac
MR
100692013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10070
10071 * manual/threads.texi (POSIX Threads): Fix a typo.
10072
141f3a77
SP
100732013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10074
303e567a
SP
10075 [BZ #14547]
10076 * string/tst-strcoll-overflow.c: New test case.
10077 * string/Makefile (xtests): Add tst-strcoll-overflow.
10078 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10079 cache if string sizes may cause integer overflow.
10080
141f3a77
SP
10081 [BZ #14547]
10082 * string/strcoll_l.c (coll_seq): New members rule, idx,
10083 save_idx and back_us.
10084 (get_next_seq_nocache): New function.
10085 (do_compare_nocache): New function.
10086 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10087 when malloc fails.
10088
c61b4d41
CD
100892013-09-23 Carlos O'Donell <carlos@redhat.com>
10090
0b1f8e35
CD
10091 [BZ #15754]
10092 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10093 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10094 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10095
c61b4d41
CD
10096 [BZ #15754]
10097 * elf/Makefile (tests): Add tst-ptrguard1.
10098 (tests-static): Add tst-ptrguard1-static.
10099 (tst-ptrguard1-ARGS): Define.
10100 (tst-ptrguard1-static-ARGS): Define.
10101 * elf/tst-ptrguard1.c: New file.
10102 * elf/tst-ptrguard1-static.c: New file.
10103 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10104 * sysdeps/i386/stackguard-macros.h: Likewise.
10105 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10106 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10107 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10108 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10109 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10110 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10111
101122013-09-23 Hector Marco <hecmargi@upv.es>
10113 Ismael Ripoll <iripoll@disca.upv.es>
10114 Carlos O'Donell <carlos@redhat.com>
10115
10116 [BZ #15754]
10117 * sysdeps/generic/stackguard-macros.h: Define
10118 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10119 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10120 Define __pointer_chk_guard_local.
10121 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10122 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10123
f5f4e7b4
VV
101242013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10125
10126 [BZ #15859]
10127 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10128
5bb43a43
AS
101292013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10130
10131 * include/string.h (__ffs): Declare as hidden.
10132 * string/ffs.c (__ffs): Define as hidden.
10133 * sysdeps/i386/ffs.c (__ffs): Likewise.
10134 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10135 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10136 * sysdeps/s390/ffs.c (__ffs): Likewise.
10137 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10138
3ea5be54
AO
101392013-09-20 Alexandre Oliva <aoliva@redhat.com>
10140
ffb89e53
AO
10141 * NEWS: Mention malloc probes.
10142
322dea08
AO
10143 * malloc/arena.c (new_heap): New memory_heap_new probe.
10144 (grow_heap): New memory_heap_more probe.
10145 (shrink_heap): New memory_heap_less probe.
10146 (heap_trim): New memory_heap_free probe.
10147 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10148 (systrim): New memory_sbrk_less probe.
10149 * manual/probes.texi: Document them.
10150
655673f3
AO
10151 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10152 * manual/probes.texi: Document it.
10153
35fed6f1
AO
10154 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10155 (__libc_realloc): Add memory_realloc_retry probe.
10156 (__libc_memalign): Add memory_memalign_retry probe.
10157 (__libc_valloc): Add memory_valloc_retry probe.
10158 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10159 (__libc_calloc): Add memory_calloc_retry probe.
10160 * manual/probes.texi: Document them.
10161
6999d38c
AO
10162 * malloc/arena.c (get_free_list): Add probe
10163 memory_arena_reuse_free_list.
10164 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10165 and memory_arena_reuse.
10166 (arena_get2) [!PER_THREAD]: Likewise.
10167 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10168 memory_arena_reuse_realloc.
10169 * manual/probes.texi: Document them.
10170
0653427f
AO
10171 * malloc/malloc.c (__libc_free): Add
10172 memory_mallopt_free_dyn_thresholds probe.
10173 (__libc_mallopt): Add multiple memory_mallopt probes.
10174 * manual/probes.texi: Document them.
10175
3ea5be54
AO
10176 * malloc/malloc.c: Include stap-probe.h.
10177 (__libc_mallopt): Add memory_mallopt probe.
10178 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10179 * manual/probes.texi: New.
10180 * manual/Makefile (chapters): Add probes.
10181 * manual/threads.texi: Set next node.
10182
e35696c3 101832013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10184
e35696c3
CL
10185 [BZ #15963, #13985]
10186 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10187 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10188 Add `Chinese' to `nan' entry name.
10189
4aafb73c
SP
101902013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10191
10192 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10193 (POLYNOMIAL): Likewise.
10194 (TAYLOR_SINCOS): Likewise.
10195 (TAYLOR_SLOW): Likewise.
10196 (__sin): Use TAYLOR_SINCOS.
10197 (__cos): Likewise.
10198 (slow): Use TAYLOR_SLOW.
10199 (sloww): Likewise.
10200 (bsloww): Likewise.
10201 (csloww): Likewise.
10202
d84f25c7
LD
102032013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10204
10205 * stdlib/strtod_l.c: Fix buffer overrun.
10206
5eea0404
SP
102072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10208
7849ff93
SP
10209 * benchtests/Makefile (bench): Add sincos.
10210 * benchtests/bench-sincos.c: New file.
10211
cfa3c886
SP
10212 * math/libm-test.inc (cos_test_data): New test inputs.
10213 (sin_test_data): Likewise.
10214
b348e1e3
SP
10215 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10216 macro.
10217 (__sin): Use it.
10218 (__cos): Likewise.
10219 (slow1): Likewise.
10220 (slow2): Likewise.
10221 (sloww1): Likewise.
10222 (sloww2): Likewise.
10223 (bsloww1): Likewise.
10224 (bsloww2): Likewise.
10225 (cslow2): Likewise.
10226 (csloww1): Likewise.
10227 (csloww2): Likewise.
10228
6cce25f8
SP
10229 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10230 function.
10231 (__sin): Use it.
10232 (__cos): Likewise.
10233
5eea0404
SP
10234 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10235 gotos.
10236 (__cos): Likewise.
10237
9c21573c
MR
102382013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10239
10240 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10241 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10242 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10243 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10244 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10245 * elf/cache.c (print_entry): Handle the new cache flags.
10246
24d22e65
JM
102472013-09-18 Joseph Myers <joseph@codesourcery.com>
10248 Aldy Hernandez <aldyh@redhat.com>
10249
10250 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10251 Change condition to [_SOFT_FLOAT].
10252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10264 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10267 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10268 declaration.
10269
d13ef066
JM
102702013-09-18 Joseph Myers <joseph@codesourcery.com>
10271
2e071de0
JM
10272 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10273 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10274 (__longjmp): Use LOAD_GP to load saved GPRs.
10275 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10276 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10277 (__sigsetjmp): Use SAVE_GP to save GPRs.
10278
d13ef066
JM
10279 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10280 Do not append -msoft-float.
10281 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10282
97a0650b
SP
102832013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10284
10285 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10286
11ca09e9
JM
102872013-09-17 Joseph Myers <joseph@codesourcery.com>
10288
10289 [BZ #15966]
10290 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10291 (_FPU_GETCW): Use initial "__" on variable and field names but not
10292 on macro parameter name.
10293 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10294 parentheses around reference to macro parameter.
10295
08ffcf34
RS
102962013-09-13 Richard Sandiford <richard@codesourcery.com>
10297
10298 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10299 prototype.
10300 (ctype_startup): Use uint32_t in cast and sizeof for
10301 ctype->charnames.
10302
ae7080d3
JL
103032013-09-11 Jia Liu <proljc@gmail.com>
10304
10305 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10306 __daddr_t_defined.
10307 [__FreeBSD__]: Likewise.
10308
5905e7b3
OB
103092013-09-11 Ondřej Bílka <neleai@seznam.cz>
10310
10311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10312 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10313 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10314 (strchr): Remove __strchr_sse42 ifunc selection.
10315 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10316 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10317
b987c776
WN
103182013-09-11 Will Newton <will.newton@linaro.org>
10319
10320 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10321 parameter to RES. Remove hardcoded 1000 value.
10322 * benchtests/bench-skeleton.c (main): Pass RES parameter
10323 to TIMING_INIT and multiply result by 1000.
10324
ddf985af
AZ
103252013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10326
10327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10328
ffdd3181
AS
103292013-09-11 Andreas Schwab <schwab@suse.de>
10330
10331 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10332 if not defined.
10333 (O_TMPFILE) [__USE_GNU]: Define.
10334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10335 Define.
10336
b73ed247
WN
103372013-09-11 Will Newton <will.newton@linaro.org>
10338
10339 [BZ #15857]
10340 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10341 does not overflow.
10342
55e17aad
WN
103432013-09-11 Will Newton <will.newton@linaro.org>
10344
10345 [BZ #15856]
10346 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10347 does not overflow.
10348
1159a193
WN
103492013-09-11 Will Newton <will.newton@linaro.org>
10350
10351 [BZ #15855]
10352 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10353 does not overflow.
10354
5905e7b3 103552013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10356
10357 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10358 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10362
cdfc721b
AM
103632013-09-10 Allan McRae <allan@archlinux.org>
10364
aa04af00
AM
10365 [BZ #15748]
10366 * manual/arith.texi (Parsing of Floats): Clarify
10367 cross-reference.
10368
cdfc721b
AM
10369 [BZ #15849]
10370 * manual/install.texi (Running make install): Mention
10371 --enable-pt-chown.
10372 * INSTALL: Regenerated.
10373
95e7cf29
MR
103742013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10375
10376 * csu/init-first.c (_init): Remove the !SHARED condition around
10377 FPU control word initialization.
10378 * elf/dl-support.c (_dl_fpu_control): New variable.
10379 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10380 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10381 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10382 * math/test-fpucw-static.c: New file.
10383 * math/test-fpucw-ieee.c: New file.
10384 * math/test-fpucw-ieee-static.c: New file.
10385 * math/Makefile (tests): Add `test-fpucw-ieee' and
10386 `$(tests-static)'.
10387 (tests-static): New variable.
10388 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10389 dependency to...
10390 [($(build-shared),yes)]
10391 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10392 ... this.
10393 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10394 New dependency.
10395
83e43bf0
AM
103962013-09-09 Allan McRae <allan@archlinux.org>
10397
a9f5ce09
AM
10398 [BZ #15939]
10399 * manual/string.texi (Collation Functions): Fix typo in
10400 strcoll example.
10401 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10402
34829bc2
AM
10403 [BZ #15893]
10404 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10405
3932737d
AM
10406 [BZ #15892]
10407 * libio/memstream.c (open_memstream): Fix memory leak.
10408 * libio/wmemstream.c (open_wmemstream): Likewise.
10409
83e43bf0
AM
10410 [BZ #15895]
10411 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10412
0c66b8e9
WN
104132013-09-09 Will Newton <will.newton@linaro.org>
10414
10415 * malloc/Makefile: Add tst-realloc to tests.
10416 * malloc/tst-realloc.c: New file.
10417
f6b00fd1
AM
104182013-09-09 Allan McRae <allan@archlinux.org>
10419
10420 [BZ #15844]
10421 * COPYING: Update from GNU website to fix FSF address.
10422 * COPYING.LIB: Likewise.
10423
eec55e16
DM
104242013-09-06 David S. Miller <davem@davemloft.net>
10425
10426 * po/zh_TW.po: Update Chinese (traditional) translation from
10427 translation project.
10428
1ecbb381
RS
104292013-09-06 Richard Sandiford <richard@codesourcery.com>
10430 Joseph Myers <joseph@codesourcery.com>
10431
10432 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10433 "localeinfo.h".
10434 (obstack_chunk_alloc): New macro.
10435 (obstack_chunk_free): Likewise.
10436 (record_offset): New function.
10437 (init_locale_data): Likewise.
10438 (align_locale_data): Likewise.
10439 (add_locale_empty): Likewise.
10440 (add_locale_raw_data): Likewise.
10441 (add_locale_raw_obstack): Likewise.
10442 (add_locale_string): Likewise.
10443 (add_locale_wstring): Likewise.
10444 (add_locale_uint32): Likewise.
10445 (add_locale_uint32_array): Likewise.
10446 (add_locale_char): Likewise.
10447 (start_locale_structure): Likewise.
10448 (end_locale_structure): Likewise.
10449 (start_locale_prelude): Likewise.
10450 (end_locale_prelude): Likewise.
10451 (write_locale_data): Take locale_file structure rather than an
10452 iovec.
10453 * locale/programs/locfile.h: Include "obstack.h".
10454 (struct locale_file): Change to store locale file contents instead
10455 of header.
10456 (init_locale_data): New prototype.
10457 (align_locale_data): Likewise.
10458 (add_locale_empty): Likewise.
10459 (add_locale_raw_data): Likewise.
10460 (add_locale_raw_obstack): Likewise.
10461 (add_locale_string): Likewise.
10462 (add_locale_wstring): Likewise.
10463 (add_locale_uint32): Likewise.
10464 (add_locale_uint32_array): Likewise.
10465 (add_locale_char): Likewise.
10466 (start_locale_structure): Likewise.
10467 (end_locale_structure): Likewise.
10468 (start_locale_prelude): Likewise.
10469 (end_locale_prelude): Likewise.
10470 (write_locale_data): Update prototype.
10471 * locale/programs/3level.h (struct TABLE): Remove result field.
10472 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10473 Use new locale_file interface.
10474 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10475 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10476 * locale/programs/ld-address.c (address_output): Use new
10477 locale_file interface.
10478 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10479 NO_ADD_LOCALE.
10480 (collate_finish): Don't call collseq_table_finalize.
10481 (collate_output): Use new locale_file interface.
10482 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10483 in file.
10484 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10485 (TABLE): Move defines earlier in file.
10486 (ELEMENT): Likewise.
10487 (DEFAULT): Likewise.
10488 (wctrans_table_add): Move macro and inline function earlier in
10489 file.
10490 (struct wctype_table): Move type earlier in file.
10491 (add_locale_wctype_table): New static prototype.
10492 (struct locale_ctype_t): Use logical types instead of struct iovec
10493 pointers for members.
10494 (ctype_output): Use new locale_file interface.
10495 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10496 new locale_file interface.
10497 (allocate_arrays): Update for use of new locale_file interface.
10498 * locale/programs/ld-identification.c (identification_output): Use
10499 new locale_file interface.
10500 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10501 * locale/programs/ld-messages.c (messages_output): Likewise.
10502 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10503 * locale/programs/ld-name.c (name_output): Likewise.
10504 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10505 * locale/programs/ld-paper.c (paper_output): Likewise.
10506 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10507 * locale/programs/ld-time.c (time_output): Likewise.
10508
e029e2e5
AZ
105092013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510
10511 * benchtests/Makefile: Add memrchr benchmark.
10512 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10513 benchmark as memrchr.
10514 * benchtests/bench-memrchr-ifunc.c: New file.
10515 * benchtests/bench-memrchr.c: New file.
10516
bbf6e8e4
WN
105172013-09-06 Will Newton <will.newton@linaro.org>
10518
10519 * benchtests/Makefile (string-bench): Add memcpy.
10520
6c82a2f8
CD
105212013-09-05 Carlos O'Donell <carlos@redhat.com>
10522 Cong Wang <amwang@redhat.com>
10523
e732c5f0 10524 [BZ #15850]
6c82a2f8
CD
10525 * sysdeps/unix/sysv/linux/bits/in.h
10526 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10527 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10528 before __USE_KERNEL_IPV6_DEFS uses.
10529 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10530 IPPROTO_BEETPH.
10531 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10532 sockaddr_in6, or ipv6_mreq.
10533
5430fc65
AZ
105342013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10535
10536 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10537 memory access for final bytes in some large inputs.
10538 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10539
4660856c
AZ
105402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541
10542 * string/test-memrchr.c: New file.
10543 * string/test-memrchr-ifunc.c: New file.
10544 * string/Makefile: Add new memrchr testcase.
10545
bb8ea713
MF
105462013-09-05 Mike Frysinger <vapier@gentoo.org>
10547
10548 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10549 fanotify_init returns EPERM.
10550
b92a20b5
JM
105512013-09-04 Joseph Myers <joseph@codesourcery.com>
10552
10553 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10554 errors.
10555 (top level): Treat second token from macro or constant entries for
10556 allowed headers as allowed.
10557 * include/complex.h: Condition internal declarations on
10558 [!_ISOMAC].
10559 * include/fenv.h: Condition include of <stdbool.h> and internal
10560 declarations on [!_ISOMAC].
7447ccd9
CL
10561
105622013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10563
3e181dda 10564 [BZ #15923]
7447ccd9
CL
10565 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10566
3f2e46a4
JM
105672013-09-04 Joseph Myers <joseph@codesourcery.com>
10568
10569 * configure.in (--enable-versioning): Remove configure option.
10570 (libc_cv_asm_symver_directive): Remove configure test.
10571 (libc_cv_ld_version_script_option): Likewise.
10572 (VERSIONING): Remove variable and AC_SUBST.
10573 (DO_VERSIONING): Remove AC_DEFINE.
10574 * configure: Regenerated.
10575 * config.h.in (DO_VERSIONING): Remove macro.
10576 * Makerules [$(versioning) = yes]: Change conditionals to
10577 [$(build-shared) = yes].
10578 * config.make.in (versioning): Remove variable.
10579 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10580 [$(build-shared) = yes].
10581 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10582 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10583 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10584 [$(build-shared) = yes].
10585 * extra-lib.mk [$(versioning) = yes]: Likewise.
10586 * hurd/Makefile [$(versioning) = yes]: Likewise.
10587 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10588 [SHARED].
10589 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10590 [SHARED].
10591 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10592 [SHARED && !NO_HIDDEN].
10593 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10594 [SHARED].
10595 [SHARED && DO_VERSIONING]: Likewise..
10596 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10597 [$(build-shared) = yes].
10598 * manual/install.texi (--disable-versioning): Remove
10599 documentation.
10600 * INSTALL: Regenerated.
10601 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10602 to [SHARED].
10603 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10604 [$(build-shared) = yes].
10605 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10606 * sysdeps/i386/i686/multiarch/strstr-c.c
10607 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10608 [SHARED && !NO_HIDDEN].
10609 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10610 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10611 * sysdeps/powerpc/powerpc32/dl-machine.c
10612 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10613 * sysdeps/powerpc/powerpc32/sysdep.h
10614 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10615 to [SHARED && PIC && !NO_HIDDEN].
10616 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10617 conditional to [SHARED].
10618
44558701
WN
106192013-09-04 Will Newton <will.newton@linaro.org>
10620
10621 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10622 * benchtests/bench-string.h: Include bench-timing.h instead
10623 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10624 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10625 call to HP_TIMING_DIFF_INIT.
10626 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10627 instead of hp-timing.h macros.
10628 * benchtests/bench-memchr.c: Likewise.
10629 * benchtests/bench-memcmp.c: Likewise.
10630 * benchtests/bench-memcpy.c: Likewise.
10631 * benchtests/bench-memmem.c: Likewise.
10632 * benchtests/bench-memmove.c: Likewise.
10633 * benchtests/bench-memset.c: Likewise.
10634 * benchtests/bench-rawmemchr.c: Likewise.
10635 * benchtests/bench-strcasecmp.c: Likewise.
10636 * benchtests/bench-strcasestr.c: Likewise.
10637 * benchtests/bench-strcat.c: Likewise.
10638 * benchtests/bench-strchr.c: Likewise.
10639 * benchtests/bench-strcmp.c: Likewise.
10640 * benchtests/bench-strcpy.c: Likewise.
10641 * benchtests/bench-strcpy_chk.c: Likewise.
10642 * benchtests/bench-strlen.c: Likewise.
10643 * benchtests/bench-strncasecmp.c: Likewise.
10644 * benchtests/bench-strncat.c: Likewise.
10645 * benchtests/bench-strncmp.c: Likewise.
10646 * benchtests/bench-strncpy.c: Likewise.
10647 * benchtests/bench-strnlen.c: Likewise.
10648 * benchtests/bench-strpbrk.c: Likewise.
10649 * benchtests/bench-strrchr.c: Likewise.
10650 * benchtests/bench-strspn.c: Likewise.
10651 * benchtests/bench-strstr.c: Likewise.
10652
cae16d66
WN
106532013-09-04 Will Newton <will.newton@linaro.org>
10654
10655 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10656
ffa3cd7f
JM
106572013-09-03 Joseph Myers <joseph@codesourcery.com>
10658
10659 [BZ #15427]
10660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10661 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10662 * math/libm-test.inc (lgamma_test_data): Add more tests.
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10665
8f02859f
OB
106662013-09-03 Ondřej Bílka <neleai@seznam.cz>
10667
10668 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10670 Add ifunc.
10671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10672 Add strcmp-sse2-unaligned
10673 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10674
18d43716
MF
106752013-09-02 Mike Frysinger <vapier@gentoo.org>
10676
10677 * Versions.def (libc): Add GLIBC_2.19.
10678
ac444012
MF
106792013-09-02 Mike Frysinger <vapier@gentoo.org>
10680
10681 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10682 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10683
b7835e32
JM
106842013-09-02 Joseph Myers <joseph@codesourcery.com>
10685
10686 [BZ #14155]
10687 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10688 intermediate calculations in recurrence.
10689 (__ieee754_ynf): Likewise.
10690 * math/libm-test.inc (jn_test_data): Do not allow spurious
10691 underflow exception. Add more tests.
10692 (yn_test_data): Add more tests.
10693 * sysdeps/i386/fpu/libm-test-ulps: Update.
10694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10695
8220f4f0
OB
106962013-09-02 Ondřej Bílka <neleai@seznam.cz>
10697
10698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10699
f24a6d08
OB
107002013-08-30 Ondřej Bílka <neleai@seznam.cz>
10701
10702 * csu/init-first.c: Fix then/than typos.
10703 * locale/programs/ld-collate.c: Likewise.
10704 * locale/programs/linereader.h: Likewise.
10705 * manual/charset.texi: Likewise.
10706 * manual/filesys.texi: Likewise.
10707 * manual/stdio.texi: Likewise.
10708 * manual/string.texi: Likewise.
10709 * stdlib/fmtmsg.c: Likewise.
10710 * sysdeps/i386/stpncpy.S: Likewise.
10711 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10712 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10713 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10714 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10715
382466e0
OB
107162013-08-30 Ondřej Bílka <neleai@seznam.cz>
10717
10718 * elf/dl-open.c: Fix typos.
10719 * iconvdata/gbbig5.c: Likewise.
10720 * iconvdata/iso-2022-jp.c: Likewise.
10721 * iconv/gconv_int.h: Likewise.
10722 * iconv/loop.c: Likewise.
10723 * nis/rpcsvc/nis.h: Likewise.
10724 * resolv/ns_name.c: Likewise.
10725 * stdio-common/vfscanf.c: Likewise.
10726 * streams/stropts.h: Likewise.
10727 * sunrpc/rpc_thread.c: Likewise.
10728 * sysdeps/i386/strpbrk.S: Likewise.
10729 * sysdeps/ieee754/k_standard.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10732 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10733 * sysdeps/mach/hurd/profil.c: Likewise.
10734 * sysdeps/s390/dl-procinfo.h: Likewise.
10735 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10736 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10737 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10738 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10739 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10740
0186c6e9
OB
107412013-08-30 Ondřej Bílka <neleai@seznam.cz>
10742
10743 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10745
d4e16af1
OB
107462013-08-29 Ondřej Bílka <neleai@seznam.cz>
10747
10748 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10749 aix specific files.
10750 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10751 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10752 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10753 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10754 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10755 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10756 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10757 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10758
88335980
TS
107592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10760 Roland McGrath <roland@hack.frob.com>
10761
10762 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10763 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10764
ed479b02
ST
107652013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10766
10767 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10768 __executable_start symbol instead of _start.
10769
f1cc4c86
TS
107702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10771
d821f07c
TS
10772 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10773 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10774 Move macros to...
10775 * sysdeps/gnu/ldsodefs.h: ... this new file.
10776
c54290cf
TS
10777 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10778 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10779 instead of ELFOSABI_LINUX.
10780
0007fc9b 10781 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10782 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10783 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10784 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10785 Likewise.
10786 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10787 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10789 Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10791 (ibm_extended_long_double): Add ieee_nan member.
10792 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10793 (do_test): New function.
10794
f1cc4c86
TS
10795 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10796 TEST_TRUNC.
10797 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10798 functions, renamed from truncdfsf_test, trunctfsf_test,
10799 trunctfdf_test.
10800 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10801 functions.
10802 (do_test): Run all these.
10803
6f65e668
OB
108042013-08-29 Ondřej Bílka <neleai@seznam.cz>
10805
10806 * argp/argp-help.c: Fix typos.
10807 * argp/argp-parse.c: Likewise.
10808 * debug/backtracesyms.c: Likewise.
10809 * elf/elf.h: Likewise.
10810 * malloc/malloc.c: Likewise.
10811 * nis/nis_print.c: Likewise.
10812 * resolv/res_comp.c: Likewise.
10813 * stdlib/stdlib.h: Likewise.
10814 * sunrpc/clnt_tcp.c: Likewise.
10815 * sunrpc/clnt_udp.c: Likewise.
10816 * sunrpc/clnt_unix.c: Likewise.
10817 * sysdeps/unix/bsd/ptsname.c: Likewise.
10818 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10819 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10821 Likewise.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10823 Likewise.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10825 Likewise.
6f65e668
OB
10826 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10827
3a309239
SP
108282013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10829
10830 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10832
3b813b29
MF
108332013-08-27 Mike Frysinger <vapier@gentoo.org>
10834
10835 [BZ #15897]
10836 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10837 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10838 ($(objpfx)bug-dl-leaf): New rule.
10839 ($(objpfx)bug-dl-leaf.so): Likewise.
10840 ($(objpfx)bug-dl-leaf.out): Likewise.
10841 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10842 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10843 * dlfcn/bug-dl-leaf.c: New test.
10844 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10845 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10846 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10847 (dlclose): Likewise.
10848 (dlmopen): Likewise.
10849
8cc3269f
RM
108502013-08-27 Roland McGrath <roland@hack.frob.com>
10851
7f9d0034
RM
10852 * include/netdb.h [!_ISOMAC]:
10853 Don't include <tls.h>.
10854 (h_errno, __libc_h_errno): Move declaration and macros out of
10855 [_LIBC_REENTRANT].
10856
fb431262
RM
10857 * include/resolv.h [_RESOLV_H_]:
10858 Don't include <tls.h>.
10859 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10860 * resolv/res_libc.c: Don't include <tls.h>.
10861 (_res): Use __attribute__ ((nocommon)) in place of
10862 __attribute__ ((section (".bss"))).
10863
bd81123a
RM
10864 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10865 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10866
c4e42566
RM
10867 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10868
f890a59b
RM
10869 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10870 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10871
10872 * resolv/res_mkquery.c: Include <sys/time.h>.
10873
5d1f0a09
RM
10874 * inet/ifreq.c: Moved to ...
10875 * sysdeps/unix/ifreq.c: ... here.
10876 * inet/ifreq.c: New file, true stub version.
10877
6fcf28b3
RM
10878 * socket/sa_len.c: New file.
10879 * socket/Makefile (aux): Add it.
10880 * sysdeps/unix/sysv/linux/Makefile
10881 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10882 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10883 and #include <socket/sa_len.c>.
10884 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10885 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10886
e041fb8b
RM
10887 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10888 * bits/socket.h: ... here.
10889
8cc3269f
RM
10890 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10891 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10892 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10893
5d228a43
AS
108942013-08-27 Andreas Schwab <schwab@suse.de>
10895
45b8accc
AS
10896 [BZ #15736]
10897 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10898 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10899 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10900 * string/test-strcasecmp.c (test_main): Run tests in several
10901 locales.
10902 * string/test-strncasecmp.c (test_main): Likewise.
10903
5d228a43
AS
10904 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10905 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10906 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10907 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10908 (__strncasecmp_ssse3) [PIC]: Likewise.
10909
59d112a4
RM
109102013-08-26 Roland McGrath <roland@hack.frob.com>
10911
53234cc3
RM
10912 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10913
59d112a4
RM
10914 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10915 instead of explicitly declaring xdecrypt.
10916 * nis/nss_nis/nis-publickey.c: Likewise.
10917
595aba70
SP
109182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10919
10920 [BZ #15890]
10921 * nscd/aicache.c: Include res_hconf.h.
10922 (addhstaiX): Initialize res_hconf.
10923
ffabd393
AS
109242013-08-26 Andreas Schwab <schwab@suse.de>
10925
10926 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10927 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10928
e0a69f5c
SP
109292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10930
10931 * nscd/aicache.c (addhstaiX): Fix indentation.
10932
8c12f01d
MF
109332013-08-25 Mike Frysinger <vapier@gentoo.org>
10934
10935 * configure.ac: Quote $build_pt_chown test.
10936 * configure: Regenerated.
10937
8fe89494
JM
109382013-08-23 Joseph Myers <joseph@codesourcery.com>
10939
10940 [BZ #15532]
10941 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10942 * math/s_cexpf.c (__cexpf): Likewise.
10943 * math/s_cexpl.c (__cexpl): Likewise.
10944 * math/libm-test.inc (cexp_test_data): Correct expected return
10945 value for NaN + i0. Add another test.
10946
75b181d6
DM
109472013-08-22 David S. Miller <davem@davemloft.net>
10948
10949 * po/ca.po: Update Catalan translation from translation project.
936241e4 10950 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10951
acd06bb1
JM
109522013-08-21 Joseph Myers <joseph@codesourcery.com>
10953
10954 [BZ #15797]
10955 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10956 is infinite, not alongside NaN test.
10957 * math/s_fdimf.c (__fdimf): Likewise.
10958 * math/s_fdiml.c (__fdiml): Likewise.
10959 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10960 errno is unchanged.
10961
c0c3f78a
OB
109622013-08-21 Ondřej Bílka <neleai@seznam.cz>
10963
10964 * argp/argp-help.c: Fix typos.
10965 * crypt/speeds.c: Likewise.
10966 * csu/check_fds.c: Likewise.
10967 * elf/dl-load.c: Likewise.
10968 * elf/dl-open.c: Likewise.
10969 * elf/reldep3.c: Likewise.
10970 * elf/reldep.c: Likewise.
10971 * elf/sprof.c: Likewise.
10972 * iconv/iconv_charmap.c: Likewise.
10973 * iconv/skeleton.c: Likewise.
10974 * iconv/strtab.c: Likewise.
10975 * io/lockf64.c: Likewise.
10976 * libio/libioP.h: Likewise.
10977 * resolv/gai_notify.c: Likewise.
10978 * resolv/ns_name.c: Likewise.
10979 * resolv/ns_samedomain.c: Likewise.
10980 * resolv/res_send.c: Likewise.
10981 * stdlib/random.c: Likewise.
10982 * sunrpc/rpc/xdr.h: Likewise.
10983 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10984 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10985 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10986 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10987 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10988 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10990 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10991 * sysdeps/mach/hurd/check_fds.c: Likewise.
10992 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10993 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10994 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10995 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10996 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10997 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10998 * sysdeps/pthread/aio_notify.c: Likewise.
10999 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11000 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11001 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11003 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11004
46ed1038
LD
110052013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11006
11007 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11008 version if bit_Slow_SSE4_2 is set.
11009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11010 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11011
d400dcac
AZ
110122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11013
11014 [BZ #15867]
11015 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11016 trampoline stack frame information.
11017 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11018 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11019 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11020 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11021 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11022 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11023 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11024 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11025 sa_flags value.
11026 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11027 interrupting a syscall and set with option SA_SIGINFO.
11028
42c8fdd8
JM
110292013-08-20 Joseph Myers <joseph@codesourcery.com>
11030
c980f2f4
JM
11031 [BZ #15531]
11032 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11033 argument is infinite.
11034 * math/s_cprojf.c (__cprojf): Likewise.
11035 * math/s_cprojl.c (__cprojl): Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11037 * math/libm-test.inc (cproj_test_data): Add more tests.
11038
0716c4fc
JM
11039 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11040
42c8fdd8
JM
11041 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11042 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11043 size. Use __ffs to determine corresponding shift.
11044
b31469d0
JM
110452013-08-20 Joseph Myers <joseph@codesourcery.com>
11046 Roland McGrath <roland@hack.frob.com>
11047
11048 * Makefile (INSTALL): Remove trailing blank lines from output of
11049 makeinfo.
11050
4e39af6e
AK
110512013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11052
11053 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11054 Align 32 bit compat elf_greg to 8 bytes.
11055
f315524e
AA
110562013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11057
11058 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11059
1326ba1a
SP
110602013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11061
11062 * string/strcoll_l.c (coll_seq): New structure.
11063 (get_next_seq_cached): New function.
11064 (get_next_seq): New function.
11065 (do_compare): New function.
11066 (STRCOLL): Use GNU style definition. Simplify implementation
11067 by using get_next_seq, get_next_seq_cached and do_compare.
11068
91ce4085
FW
110692013-08-16 Florian Weimer <fweimer@redhat.com>
11070
11071 [BZ #14699]
11072 CVE-2013-4237
11073 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11074 member.
11075 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11076 member.
11077 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11078 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11079 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11080 conditional.
11081 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11082 GETDENTS_64BIT_ALIGNED.
11083 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11084 * manual/filesys.texi (Reading/Closing Directory): Document
11085 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11086 strongly.
11087 * manual/conf.texi (Limits for Files): Add portability note to
11088 NAME_MAX, PATH_MAX.
11089 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11090
ca0a6bc4
AS
110912013-08-13 Andreas Schwab <schwab@suse.de>
11092
11093 [BZ #15749]
11094 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11095 of fabs.
11096 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11097 LDBL_MAX_EXP >= 16384]: Add tests for it.
11098
6c1fd795
DM
110992013-08-12 David S. Miller <davem@davemloft.net>
11100
11101 * version.h (RELEASE): Set to "development".
11102 (VERSION): Set to "2.18.90".
11103 * NEWS: Add 2.19 section.
11104
31ad488d
DM
111052013-08-03 David S. Miller <davem@davemloft.net>
11106
11107 * po/ko.po: Update Korean translation from translation project.
11108
db24e684
DM
111092013-08-01 David S. Miller <davem@davemloft.net>
11110
11111 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11112 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11113 Bilka.
11114
f723285b
DM
111152013-07-30 David S. Miller <davem@davemloft.net>
11116
11117 * po/fr.po: Update French translation from translation project.
11118
3cbc52db
DM
111192013-07-28 David S. Miller <davem@davemloft.net>
11120
30bbc0cc
DM
11121 * po/cs.po: Update Czech translation from translation project.
11122
3cbc52db
DM
11123 * po/sv.po: Update Swedish translation from translation project.
11124
d492e6d0
DM
111252013-07-27 David S. Miller <davem@davemloft.net>
11126
f1a7f492
DM
11127 * po/eo.po: Update Esperanto translation from translation project.
11128
90e62a4a
DM
11129 * po/vi.po: Update Vietnamese translation from translation project.
11130
d492e6d0
DM
11131 * po/de.po: Update German translation from translation project.
11132
d4baa62d
DM
111332013-07-26 David S. Miller <davem@davemloft.net>
11134
641aa7b4
DM
11135 * po/bg.po: Update Bulgarian translation from translation project.
11136
d4baa62d
DM
11137 * po/nl.po: Update Dutch translation from translation project.
11138 * po/pl.po: Update Polish translation from translation project.
11139 * po/ru.po: Update Russian translation from translation project.
11140
61a9dcb9
DM
111412013-07-24 David S. Miller <davem@davemloft.net>
11142
11143 * po/libc.pot: Update.
11144
7b1f8b58
AZ
111452013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11146
11147 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11148 variable page size.
11149 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11150 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11151 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11152
a8fc7a03
AK
111532013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11154
11155 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11156
e4608715
CD
111572013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11158 Andreas Schwab <schwab@suse.de>
11159 Roland McGrath <roland@hack.frob.com>
11160 Joseph Myers <joseph@codesourcery.com>
11161 Carlos O'Donell <carlos@redhat.com>
11162
11163 [BZ #15755]
11164 * config.h.in: Define HAVE_PT_CHOWN.
11165 * config.make.in (build-pt-chown): New variable.
11166 * configure.in (--enable-pt_chown): New configure option.
11167 * configure: Regenerate.
11168 * login/Makefile: Include Makeconfig. Build pt_chown only if
11169 build-pt-chown is enabled.
11170 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11171 pt_chown to fix pty ownership.
11172 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11173 CLOSE_ALL_FDS.
11174 * manual/install.texi (Configuring and compiling): Mention
11175 --enable-pt_chown. Add @findex for grantpt.
11176 * INSTALL: Regenerate.
11177
da2d62df
DM
111782013-07-20 David S. Miller <davem@davemloft.net>
11179
11180 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11181 difference between 32-bit and 64-bit.
11182
d7e06450
CD
111832013-07-15 Carlos O'Donell <carlos@redhat.com>
11184
11185 [BZ #15711]
11186 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11187 Avoid system header dependency with -ffreestanding.
11188 ($(objpfx)bits/syscall%d): Likewise.
11189
f959cfd7
DM
111902013-07-13 David S. Miller <davem@davemloft.net>
11191
11192 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11193 underflows from atanl/atan2l due to bug 15319.
11194 (casinh_test_data): Likewise.
11195
c61f8513
DM
111962013-07-07 David S. Miller <davem@davemloft.net>
11197
11198 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11199
72c90ed0
JA
112002013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11201
11202 * sysdeps/i386/fpu/libm-test-ulps: Update.
11203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11204
52dfbe13
SP
112052013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11206
11207 * configure.in (--enable-lock-elision): Fix message text.
11208 * INSTALL: Regenerate.
11209 * configure: Regenerate.
11210
3f169543
AZ
112112013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11212
11213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11214
521c6785
AJ
112152013-07-03 Andreas Jaeger <aj@suse.de>
11216
11217 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11218 define.
11219 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11220 (ptrace_peeksiginfo_args): Add.
11221 (__ptrace_peeksiginfo_flags): Add.
11222 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11223 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11225
d2cc15cb
AM
112262013-07-03 Allan McRae <allan@archlinux.org>
11227
11228 * sysdeps/i386/fpu/libm-test-ulps: Update.
11229
3aaeeca7
DM
112302013-07-02 David S. Miller <davem@davemloft.net>
11231
11232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11233
5314ed1a
MT
112342013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11235
11236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11237
67338156
JM
112382013-07-02 Joseph Myers <joseph@codesourcery.com>
11239
11240 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11242
1717da59
AK
112432013-07-02 Andi Kleen <ak@linux.intel.com>
11244
11245 * config.h.in (ENABLE_LOCK_ELISION): Add.
11246 * configure.in (--enable-lock-elision): Add option.
11247 * manual/install.texi: Document --enable lock elision.
11248 * configure: Regenerate
11249 * INSTALL: Regenerate.
11250
1c81621c
L
112512013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11254 SSE4.2 strcasecmp for libc.a.
11255 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11256
77f01ab5
JM
112572013-07-02 Joseph Myers <joseph@codesourcery.com>
11258
11259 [BZ #13304]
11260 * soft-fp/op-common.h (_FP_FMA): New macro.
11261 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11262 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11263 (_FP_MUL_MEAT_1_imm): ... here.
11264 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11265 (_FP_MUL_MEAT_1_wide): ... here.
11266 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11267 (_FP_MUL_MEAT_1_hard): ... here.
11268 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11269 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11270 (_FP_MUL_MEAT_2_wide): ... here.
11271 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11272 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11273 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11274 (_FP_MUL_MEAT_2_gmp): ... here.
11275 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11276 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11277 (_FP_MUL_MEAT_4_wide): ... here.
11278 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11279 (_FP_MUL_MEAT_4_gmp): ... here.
11280 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11281 (_FP_WFRACBITS_DW_S): Likewise.
11282 (_FP_WFRACXBITS_DW_S): Likewise.
11283 (_FP_HIGHBIT_DW_S): Likewise.
11284 (FP_FMA_S): Likewise.
11285 (_FP_FRAC_HIGH_DW_S): Likewise.
11286 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11287 (_FP_WFRACBITS_DW_D): Likewise.
11288 (_FP_WFRACXBITS_DW_D): Likewise.
11289 (_FP_HIGHBIT_DW_D): Likewise.
11290 (FP_FMA_D): Likewise.
11291 (_FP_FRAC_HIGH_DW_D): Likewise.
11292 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11293 (_FP_WFRACBITS_DW_E): Likewise.
11294 (_FP_WFRACXBITS_DW_E): Likewise.
11295 (_FP_HIGHBIT_DW_E): Likewise.
11296 (FP_FMA_E): Likewise.
11297 (_FP_FRAC_HIGH_DW_E): Likewise.
11298 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11299 (_FP_WFRACBITS_DW_Q): Likewise.
11300 (_FP_WFRACXBITS_DW_Q): Likewise.
11301 (_FP_HIGHBIT_DW_Q): Likewise.
11302 (FP_FMA_Q): Likewise.
11303 (_FP_FRAC_HIGH_DW_Q): Likewise.
11304 * soft-fp/fmasf4.c: New file.
11305 * soft-fp/fmadf4.c: Likewise.
11306 * soft-fp/fmatf4.c: Likewise.
11307
6308fd9a
LD
113082013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11309
11310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11311 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11312 Silvermont.
11313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11314 macro.
11315 (index_Slow_SSE4_2): Likewise.
11316 (index_Prefer_PMINUB_for_stringop): Likewise.
11317 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11318 bit_Slow_SSE4_2 is set.
11319 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11320 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11321
89cd9569
RA
113222013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11323
11324 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11325 rtld_global._dl_hwcap2.
11326 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11327 POWER8.
11328 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11329 POWER8 feature descriptions defined in _dl_hwcap2.
11330 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11331 string handling for POWER8 feature bits.
11332 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11333 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11334 _dl_powerpc_cap_flags.
11335 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11336 * sysdeps/powerpc/rtld-global-offsets.sym
11337 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11338 _dl_hwcap2 in the rtld_global_ro structure.
11339
1ae8bfe0
RA
113402013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11341
11342 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11343 hardware capabilities in support of AT_HWCAP2.
11344 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11345 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11346 GLRO(dl_hwcap2).
11347 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11348 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11349 explicitly the unknown a_type display mechanism is used.
11350 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11351 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11352 struct member.
11353 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11354 to macro prototype for AT_HWCAP2 support.
11355 * sysdeps/i386/dl-procinfo.h: Likewise.
11356 * sysdeps/s390/dl-procinfo.h: Likewise.
11357 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11358 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11359 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11360 return -1 for unknown a_type display fallback.
11361 * sysdeps/sparc/dl-procinfo.h: Likewise.
11362 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11363 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11364
8fbec010
JM
113652013-06-28 Joseph Myers <joseph@codesourcery.com>
11366
11367 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11368 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11369
0432680e
PY
113702013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11371
11372 [BZ #12492]
11373 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11374 mprotect making __stack_prot writable.
11375
ce61a2ad
NF
113762013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11377 Joseph Myers <joseph@codesourcery.com>
11378
11379 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11380 as being properly aligned.
11381
f91f1c0f
MR
113822013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11383
3d0f5d0c
MR
11384 * dlfcn/modstatic5.c: New file.
11385 * dlfcn/tststatic5.c: New file.
11386 * dlfcn/Makefile (tests): Add tststatic5.
11387 (tests-static): Likewise.
11388 (modules-names): Add modstatic5.
11389 (tststatic5-ENV): New variable.
11390 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11391
f91f1c0f
MR
11392 [BZ #15022]
11393 * elf/dl-support.c (_dl_main_map): New variable.
11394 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11395 (_dl_nns, _dl_load_adds): Set to 1.
11396 (_dl_initial_searchlist): Refer to _dl_main_map.
11397 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11398 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11399 call to _dl_get_origin.
11400 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11401 around call_map.
11402 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11403 * dlfcn/modstatic3.c: New file.
11404 * dlfcn/tststatic3.c: New file.
11405 * dlfcn/tststatic4.c: New file.
11406 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11407 (tests-static): Likewise.
11408 (modules-names): Add modstatic3.
11409 (tststatic3-ENV, tststatic4-ENV): New variables.
11410 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11411 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11412
cbe7d24b
JM
114132013-06-26 Joseph Myers <joseph@codesourcery.com>
11414
11415 * configure.in (CC): Require GCC version 4.4 or later.
11416 * configure: Regenerated.
11417 * manual/install.texi (Tools for Compilation): Update GCC version
11418 requirement.
11419 * INSTALL: Regenerated.
11420
11b8a0e1
LD
114212013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11422
11423 [BZ #15674]
bb5bb87c
L
11424 * string/test-memcmp.c (check2): New.
11425 (main): Call check2.
11426
11b8a0e1
LD
11427 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11428
b0037103
MR
114292013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11430
11431 [BZ #15022]
11432 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11433 over to...
11434 (dl_open_worker) [!SHARED]: ... here.
11435
c18c701d
RA
114362013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11437
11438 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11439
1d17fa5f
RH
114402013-06-25 Richard Henderson <rth@redhat.com>
11441
11442 * locale/programs/locarchive.c: Include <libc-internal.h>
11443
8fcb833a
JM
114442013-06-25 Joseph Myers <joseph@codesourcery.com>
11445
11446 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11447 trailing whitespace removed.
11448
17db6e8d
MF
114492013-06-24 Mike Frysinger <vapier@gentoo.org>
11450
11451 [BZ #10283]
17db6e8d
MF
11452 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11453 * locale/programs/locarchive.c: Include libc-mmap.h.
11454 (prepare_address_space): Take two new outputs (the mmap base and len).
11455 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11456 values.
11457 (create_archive): Declare new mmap base and len values for
11458 prepare_address_space, and store the result in ah.
11459 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11460 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11461 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11462 Declare new mmap base and len values for
11463 prepare_address_space, and store the result in new_ah.
11464 (open_archive): Declare new mmap base and len values for
11465 prepare_address_space, and store the result in ah.
11466 (close_archive): If ah->mmap_base is not NULL, use that and
11467 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11468 * sysdeps/generic/libc-mmap.h: New file.
11469
d605071e
MF
114702013-06-24 Mike Frysinger <vapier@gentoo.org>
11471
11472 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11473 (ALIGN_UP): Likewise.
11474 (PTR_ALIGN_DOWN): Likewise.
11475 (PTR_ALIGN_UP): Likewise.
11476
2f063a6e
RA
114772013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11478
11479 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11480 entry mapped to PPC_PLATFORM_POWER8.
11481 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11482 POWER8.
11483 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11484 (_dl_string_platform): Add case for exporting platform position for
11485 POWER8.
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11487 search path to sysdeps/powerpc/powerpc32/power8 directory.
11488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11489 search path to sysdeps/powerpc/powerpc64/power8 directory.
11490 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11491 power7 directories.
11492 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11493 power7 directories.
11494
a31ee4b3
SP
114952013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11496
a74ca98f
SP
11497 * INSTALL: Regenerate.
11498
a31ee4b3
SP
11499 * nscd/connections.c (nscd_init): Fix comment.
11500
695c378f
JM
115012013-06-22 Joseph Myers <joseph@codesourcery.com>
11502
d8412221
JM
11503 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11504
695c378f
JM
11505 [BZ #15667]
11506 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11507 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11508
d1d54715
MR
115092013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11510
11511 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11512 DL_DST_REQ_STATIC.
11513 (DL_DST_REQ_STATIC): Remove macro.
11514
8fdda7af
JM
115152013-06-21 Joseph Myers <joseph@codesourcery.com>
11516
11517 [BZ #7006]
11518 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11519 with a shift of 0 bits.
11520
f3bc5e5a
MR
115212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11522
11523 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11524 $(tststatic-ENV).
11525
be09e8c9
KK
115262013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11527
11528 [BZ #15655]
11529 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11530
85c2e611
AZ
115312013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11532
11533 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11534 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11535 accepts -fno-tree-loop-distribute-patterns.
11536 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11537 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11538 recursive call.
11539 * string/memset.c (memset): Likewise.
11540 * string/test-memmove.c (simple_memmove): Disable loop transformation
11541 to library calls.
11542 * string/test-memset.c (simple_memset): Likewise.
11543 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11544 * benchtests/bench-memset.c (simple_memset): Likewise.
11545 * configure: Regenerated.
11546
c91e0825
JM
115472013-06-20 Joseph Myers <joseph@codesourcery.com>
11548
b8c792af
JM
11549 * math/test-misc.c (main): Ignore fesetround failure when failures
11550 of subsequent rounding tests would be ignored.
11551
c91e0825
JM
11552 [BZ #15654]
11553 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11554 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11555 * math/fegetenv.c (__fegetenv): Return 0.
11556 * math/fegetexcept.c (fegetexcept): Return 0.
11557 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11558 FE_TONEAREST.
11559 * math/feholdexcpt.c (feholdexcept): Return 0.
11560 * math/fesetenv.c (__fesetenv): Return 0.
11561 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11562 argument FE_TONEAREST.
11563 * math/feupdateenv.c (__feupdateenv): Return 0.
11564 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11565
bfcacbde
RM
115662013-06-18 Roland McGrath <roland@hack.frob.com>
11567
11568 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11569 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11570 ($(objpfx)rtld-%.os rules): Use them.
11571
e55a9b25
AZ
115722013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11573
11574 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11575 fields.
11576
346d65b3
RM
115772013-06-17 Roland McGrath <roland@hack.frob.com>
11578
12086fb4
RM
11579 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11580 length of target pattern, then descending length of dependency pattern.
11581 * configure.in (AWK): Require gawk 3.1.2 or newer.
11582 * manual/install.texi (Tools for Compilation): Say that we do.
11583 * configure: Regenerated.
11584
346d65b3
RM
11585 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11586 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11587 * scripts/sysd-rules.awk: ... this new script.
11588 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11589 than a glob-style pattern.
11590
1a846317
JM
115912013-06-17 Joseph Myers <joseph@codesourcery.com>
11592
11593 * math/test-misc.c (main): Do not treat incorrectly rounded
11594 conversions as failure unless ROUNDING_TESTS passes.
11595
8fc75e6f
JM
115962013-06-15 Joseph Myers <joseph@codesourcery.com>
11597
3711a167
JM
11598 [BZ #15631]
11599 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11600 restore exception state around main square root computation, then
11601 check for inexactness explicitly.
11602
8fc75e6f
JM
11603 * math/libm-test.inc (fma_test_data): Add another test.
11604
61dd6208
SP
116052013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11606
adf23d2c
SP
11607 * manual/threads.texi (Non-POSIX Extensions): New document
11608 node. Document pthread_getattr_default_np and
11609 pthread_setattr_default_np.
11610
61dd6208
SP
11611 * Versions.def (libpthread): Add GLIBC_2.18.
11612 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11614 Likewise.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11616 Likewise.
11617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11618 Likewise.
11619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11620 Likewise.
11621 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11622 Likewise.
11623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11624 Likewise.
11625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11626 Likewise.
11627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11628 Likewise.
11629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11630 Likewise.
11631
d086fc7b
LD
116322013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11633
11634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11635 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11636
747ef469
SP
116372013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11638 H.J. Lu <hjl.tools@gmail.com>
11639
11640 [BZ #15627]
11641 * sysdeps/x86_64/rtld-memset.c: Remove file.
11642 * sysdeps/x86_64/rtld-memset.S: New file.
11643
1b2feed2
JM
116442013-06-14 Joseph Myers <joseph@codesourcery.com>
11645
11646 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11647 (test_in_one_mode): Take arguments for whether the rounding mode
11648 is supported for each floating-point type.
11649 (do_test): Pass new arguments to test_in_one_mode using
11650 ROUNDING_TESTS.
11651
a58ad3f8
RM
116522013-06-13 Roland McGrath <roland@hack.frob.com>
11653
11654 * posix/tst-waitid.c (do_test): Distinguish different instances of
11655 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11656 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11657 before entering the kernel for waitpid.
11658
c204ab28
SP
116592013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11660
11661 * NEWS: Fix note on clock function precision. Text by Roland
11662 McGrath.
11663
f4a29fba
RM
116642013-06-13 Roland McGrath <roland@hack.frob.com>
11665
11666 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11667 it into place only when and if the sanity check passes.
11668
1f24b9ad
JM
116692013-06-13 Joseph Myers <joseph@codesourcery.com>
11670
11671 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11672 output for whether conversion result is exact. Take argument
11673 indicating whether type is IBM long double.
11674 (round_for_all): Change need_exact field to ibm_ld.
11675 * stdlib/tst-strtod-round.c (struct exactness): New type.
11676 (struct test): Change bool ld_ok field to struct exactness exact.
11677 (TEST): Update all definitions for change to field.
11678 (tests): Regenerate array contents.
11679 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11680 field value. Check for IBM long double here.
11681 (do_test): Update calls to test_in_one_mode.
11682
58206c68
SP
116832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11684
11685 [BZ #12515]
11686 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11687 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11688
2d6f4c5b 116892013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11690
11691 [BZ #15605]
11692 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11693 generated by the compiler on loop optimizations.
11694 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11695 general definitions.
11696
94f2c076
JM
116972013-06-12 Joseph Myers <joseph@codesourcery.com>
11698
11699 * math/bug-nextafter.c: Include <math-tests.h>.
11700 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11701 the relevant type.
11702 * math/bug-nexttoward.c: Include <math-tests.h>.
11703 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11704 the relevant type.
11705 * math/test-misc.c: Include <math-tests.h>.
11706 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11707 the relevant type.
11708
e0e50a0a
AJ
117092013-06-12 Andreas Jaeger <aj@suse.de>
11710
11711 * po/ia.po: Update Interlingua translation from translation
11712 project.
11713
25061094
SP
117142013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11715
11716 * include/fenv.h: Include stdbool.h.
11717 (struct rm_ctx): New structure.
11718 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11719 Define macro.
11720 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11721 (SET_RESTORE_ROUNDF): Likewise.
11722 (SET_RESTORE_ROUNDL): Likewise.
11723 (SET_RESTORE_ROUND_NOEX): Likewise.
11724 (SET_RESTORE_ROUND_NOEXF): Likewise.
11725 (SET_RESTORE_ROUND_NOEXL): Likewise.
11726 (SET_RESTORE_ROUND_53BIT): Likewise.
11727 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11728 (libc_feresetround_noexf_ctx): Likewise.
11729 (libc_feresetround_noexl_ctx): Likewise.
11730 (libc_feholdsetround_53bit_ctx): Likewise.
11731 (libc_feresetround_53bit_ctx): Likewise.
11732 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11733 (libc_feholdexcept_setround_sse_ctx): New function.
11734 (libc_fesetenv_sse_ctx): Likewise.
11735 (libc_feupdateenv_sse_ctx): Likewise.
11736 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11737 (libc_feholdexcept_setround_387_ctx): Likewise.
11738 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11739 (libc_feholdsetround_387_prec_ctx): Likewise.
11740 (libc_feholdsetround_387_ctx): Likewise.
11741 (libc_feholdsetround_387_53bit_ctx): Likewise.
11742 (libc_feholdsetround_sse_ctx): Likewise.
11743 (libc_feresetround_sse_ctx): Likewise.
11744 (libc_feresetround_387_ctx): Likewise.
11745 (libc_feupdateenv_387_ctx): Likewise.
11746 (libc_feholdexcept_setroundf_ctx): Define macro.
11747 (libc_fesetenvf_ctx): Likewise.
11748 (libc_feupdateenvf_ctx): Likewise.
11749 (libc_feholdsetroundf_ctx): Likewise.
11750 (libc_feresetroundf_ctx): Likewise.
11751 (libc_feholdexcept_setround_ctx): Likewise.
11752 (libc_fesetenv_ctx): Likewise.
11753 (libc_feupdateenv_ctx): Likewise.
11754 (libc_feholdsetround_ctx): Likewise.
11755 (libc_feresetround_ctx): Likewise.
11756 (libc_feholdexcept_setroundl_ctx): Likewise.
11757 (libc_feupdateenvl_ctx): Likewise.
11758 (libc_feholdsetroundl_ctx): Likewise.
11759 (libc_feresetroundl_ctx): Likewise.
11760 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11761 (libc_feresetround_53bit_ctx): Likewise.
11762
59b30555
SP
117632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11764
11765 * locale/iso-639.def: Convert to UTF-8.
11766
f1d73d30
JM
117672013-06-11 Joseph Myers <joseph@codesourcery.com>
11768
11769 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11770 (EXCEPTION_TESTS_double): Likewise.
11771 (EXCEPTION_TESTS_long_double): Likewise.
11772 (EXCEPTION_TESTS): Likewise.
11773 * math/libm-test.inc (test_exceptions): Only test exceptions if
11774 EXCEPTION_TESTS (FLOAT).
11775
94aca5e7
SP
117762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11777
11778 * benchtests/Makefile (string-bench): Add strcpy_chk and
11779 stpcpy_chk.
11780 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11781 * benchtests/bench-stpcpy_chk.c: New file.
11782 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11783 * benchtests/bench-strcpy_chk.c: New file.
11784 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11785 code.
11786 (do_test): Likewise.
11787
fac0c5f2
RA
117882013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11789
11790 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11791 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11792 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11793 with tabs where appropriate.
11794 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11795 dl-procinfo.h.
11796 [PPC_PLATFORM_PPC440]: Likewise.
11797 [PPC_PLATFORM_PPC464]: Likewise.
11798 [PPC_PLATFORM_PPC476]: Likewise.
11799 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11800 ppc464, and ppc476 platform strings merging from ports/
11801 dl-procinfo.h.
11802
f22bc486
AS
118032013-06-11 Andreas Schwab <schwab@suse.de>
11804
11805 [BZ #14991]
11806 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11807 (from_ucs4_idx): Regenerate.
11808 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11809 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11810 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11811 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11812 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11813 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11814 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11815 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11816 from FROM_LOOP and TO_LOOP specific macros.
11817 (BODY): Handle combining characters.
11818 * iconvdata/BIG5HKSCS.irreversible: Update.
11819 * iconvdata/BIG5HKSCS.precomposed: New file.
11820 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11821 characters.
11822 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11823
c1f75dc3
SP
118242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11825
4eacded2
SP
11826 * include/sys/time.h: Fix indentation and add copyright header.
11827
fec799f8
SP
11828 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11829 (do_test): Likewise.
11830 * string/test-memchr.c (do_one_test): Likewise.
11831 (do_test): Likewise.
11832 * string/test-memcmp.c (do_one_test): Likewise.
11833 (do_test): Likewise.
11834 * string/test-memcpy.c (do_one_test): Likewise.
11835 (do_test): Likewise.
11836 * string/test-memmem.c (do_one_test): Likewise.
11837 (do_test): Likewise.
11838 (do_random_tests): Likewise.
11839 * string/test-memmove.c (do_one_test): Likewise.
11840 (do_test): Likewise.
11841 * string/test-memset.c (do_one_test): Likewise.
11842 (do_test): Likewise.
11843 * string/test-rawmemchr.c (do_one_test): Likewise.
11844 (do_test): Likewise.
11845 * string/test-strcasecmp.c (do_one_test): Likewise.
11846 (do_test): Likewise.
11847 * string/test-strcasestr.c (do_one_test): Likewise.
11848 (do_test): Likewise.
11849 * string/test-strcat.c (do_one_test): Likewise.
11850 (do_test): Likewise.
11851 * string/test-strchr.c (do_one_test): Likewise.
11852 (do_test): Likewise.
11853 * string/test-strcmp.c (do_one_test): Likewise.
11854 (do_test): Likewise.
11855 * string/test-strcpy.c (do_one_test): Likewise.
11856 (do_test): Likewise.
11857 * string/test-string.h: Likewise.
11858 (test_init): Likewise.
11859 * string/test-strlen.c (do_one_test): Likewise.
11860 (do_test): Likewise.
11861 * string/test-strncasecmp.c (do_one_test): Likewise.
11862 (do_test): Likewise.
11863 * string/test-strncat.c (do_one_test): Likewise.
11864 (do_test): Likewise.
11865 * string/test-strncmp.c (do_one_test): Likewise.
11866 (do_test_limit): Likewise.
11867 (do_test): Likewise.
11868 * string/test-strncpy.c (do_one_test): Likewise.
11869 (do_test): Likewise.
11870 * string/test-strnlen.c (do_one_test): Likewise.
11871 (do_test): Likewise.
11872 * string/test-strpbrk.c (do_one_test): Likewise.
11873 (do_test): Likewise.
11874 * string/test-strrchr.c (do_one_test): Likewise.
11875 (do_test): Likewise.
11876 * string/test-strspn.c (do_one_test): Likewise.
11877 (do_test): Likewise.
11878 * string/test-strstr.c (do_one_test): Likewise.
11879 (do_test): Likewise.
11880
97020474
SP
11881 * benchtests/Makefile (string-bench): Add string benchmarks.
11882 * benchtests/bench-bcopy-ifunc.c: New file.
11883 * benchtests/bench-bcopy.c: New file.
11884 * benchtests/bench-bzero-ifunc.c: New file.
11885 * benchtests/bench-bzero.c: New file.
11886 * benchtests/bench-memccpy-ifunc.c: New file.
11887 * benchtests/bench-memccpy.c: New file.
11888 * benchtests/bench-memchr-ifunc.c: New file.
11889 * benchtests/bench-memchr.c: New file.
11890 * benchtests/bench-memcmp-ifunc.c: New file.
11891 * benchtests/bench-memcmp.c: New file.
11892 * benchtests/bench-memmem-ifunc.c: New file.
11893 * benchtests/bench-memmem.c: New file.
11894 * benchtests/bench-memmove-ifunc.c: New file.
11895 * benchtests/bench-memmove.c: New file.
11896 * benchtests/bench-mempcpy-ifunc.c: New file.
11897 * benchtests/bench-mempcpy.c: New file.
11898 * benchtests/bench-memset-ifunc.c: New file.
11899 * benchtests/bench-memset.c: New file.
11900 * benchtests/bench-rawmemchr-ifunc.c: New file.
11901 * benchtests/bench-rawmemchr.c: New file.
11902 * benchtests/bench-stpcpy-ifunc.c: New file.
11903 * benchtests/bench-stpcpy.c: New file.
11904 * benchtests/bench-stpncpy-ifunc.c: New file.
11905 * benchtests/bench-stpncpy.c: New file.
11906 * benchtests/bench-strcasecmp-ifunc.c: New file.
11907 * benchtests/bench-strcasecmp.c: New file.
11908 * benchtests/bench-strcasestr-ifunc.c: New file.
11909 * benchtests/bench-strcasestr.c: New file.
11910 * benchtests/bench-strcat-ifunc.c: New file.
11911 * benchtests/bench-strcat.c: New file.
11912 * benchtests/bench-strchr-ifunc.c: New file.
11913 * benchtests/bench-strchr.c: New file.
11914 * benchtests/bench-strchrnul-ifunc.c: New file.
11915 * benchtests/bench-strchrnul.c: New file.
11916 * benchtests/bench-strcmp-ifunc.c: New file.
11917 * benchtests/bench-strcmp.c: New file.
11918 * benchtests/bench-strcpy-ifunc.c: New file.
11919 * benchtests/bench-strcpy.c: New file.
11920 * benchtests/bench-strcspn-ifunc.c: New file.
11921 * benchtests/bench-strcspn.c: New file.
11922 * benchtests/bench-strlen-ifunc.c: New file.
11923 * benchtests/bench-strlen.c: New file.
11924 * benchtests/bench-strncasecmp-ifunc.c: New file.
11925 * benchtests/bench-strncasecmp.c: New file.
11926 * benchtests/bench-strncat-ifunc.c: New file.
11927 * benchtests/bench-strncat.c: New file.
11928 * benchtests/bench-strncmp-ifunc.c: New file.
11929 * benchtests/bench-strncmp.c: New file.
11930 * benchtests/bench-strncpy-ifunc.c: New file.
11931 * benchtests/bench-strncpy.c: New file.
11932 * benchtests/bench-strnlen-ifunc.c: New file.
11933 * benchtests/bench-strnlen.c: New file.
11934 * benchtests/bench-strpbrk-ifunc.c: New file.
11935 * benchtests/bench-strpbrk.c: New file.
11936 * benchtests/bench-strrchr-ifunc.c: New file.
11937 * benchtests/bench-strrchr.c: New file.
11938 * benchtests/bench-strspn-ifunc.c: New file.
11939 * benchtests/bench-strspn.c: New file.
11940 * benchtests/bench-strstr-ifunc.c: New file.
11941 * benchtests/bench-strstr.c: New file.
11942
c1f75dc3
SP
11943 * benchtests/Makefile: Disable parallel execution of targets.
11944 (string-bench): Add memcpy.
11945 (benchset): New variable to store a list of benchmark sets.
11946 (bench-func): Renamed from bench.
11947 (bench-set): New target.
11948 (bench): Depend on bench-func and bench-set.
11949 * benchtests/README: Add section on benchmark sets.
11950 * benchtests/bench-memcpy-ifunc.c: New file.
11951 * benchtests/bench-memcpy.c: New file.
11952 * benchtests/bench-string.h: New file.
11953
50fd745b
AS
119542013-06-11 Andreas Schwab <schwab@suse.de>
11955
11956 [BZ #15577]
11957 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11958 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11959 values in the triple.
11960 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11961 terminator in the group key.
11962
3ee7e9fe
AJ
119632013-06-11 Andreas Jaeger <aj@suse.de>
11964
11965 * po/zh_TW.po: Update Chinese (traditional) translation from
11966 translation project.
11967
89fb6835
SP
119682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11969
11970 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11971 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11972 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11973 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11974 (clock_getcpuclockid): Likewise.
11975 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11976 Add weak_alias and libc_hidden_def.
11977 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11978 * rt/clock_gettime.c (clock_gettime): Rename to
11979 __clock_gettime. Add weak_alias and libc_hidden_def.
11980 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11981 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11982 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11983 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11984 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11985 Likewise.
11986 * rt/clock_settime.c (clock_settime): Rename to
11987 __clock_settime. Add weak_alias and libc_hidden_def.
11988 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11989
0efa6f8b
JM
119902013-06-10 Joseph Myers <joseph@codesourcery.com>
11991
b8c61b4b
JM
11992 * mach/err_boot.sub: Remove trailing whitespace.
11993 * mach/err_ipc.sub: Likewise.
11994 * mach/err_mach.sub: Likewise.
11995
0efa6f8b
JM
11996 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11997 (ROUNDING_TESTS_double): Likewise.
11998 (ROUNDING_TESTS_long_double): Likewise.
11999 (ROUNDING_TESTS): Likewise.
12000 * math/libm-test.inc: Include <math-tests.h>.
12001 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12002 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12003 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12004 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12005
50b818bf
SP
120062013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12007
12008 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12009 of assigning.
12010
60d2f8f3
JM
120112013-06-08 Joseph Myers <joseph@codesourcery.com>
12012
4902d2c3
JM
12013 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12014 otherwise empty TRANS lines.
12015 * sysdeps/gnu/errlist.c: Regenerated.
12016
60d2f8f3
JM
12017 * catgets/gencat.c (error_print): Use (void) in function
12018 definition.
12019 * crypt/crypt_util.c (__init_des): Likewise.
12020 * crypt/speeds.c (Stop): Likewise.
12021 (main): Likewise.
12022 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12023 * inet/ruserpass.c (token): Likewise.
12024 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12025 * intl/localealias.c (extend_alias_table): Likewise.
12026 * intl/plural-exp.c (init_germanic_plural): Likewise.
12027 * libio/fcloseall.c (__fcloseall): Likewise.
12028 * libio/genops.c (_IO_flush_all): Likewise.
12029 (_IO_flush_all_linebuffered): Likewise.
12030 (_IO_cleanup): Likewise.
12031 (_IO_iter_begin): Likewise.
12032 (_IO_iter_end): Likewise.
12033 (_IO_list_lock): Likewise.
12034 (_IO_list_unlock): Likewise.
12035 (_IO_list_resetlock): Likewise.
12036 * libio/getchar.c (getchar): Likewise.
12037 * libio/getchar_u.c (getchar_unlocked): Likewise.
12038 * libio/getwchar.c (getwchar): Likewise.
12039 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12040 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12041 * login/getpt.c (__getpt): Likewise.
12042 * login/tst-utmp.c (main): Likewise.
12043 * malloc/hooks.c (__malloc_check_init): Likewise.
12044 * malloc/malloc.c (__malloc_stats): Likewise.
12045 * malloc/mtrace.c (tr_break): Likewise.
12046 (mtrace): Likewise.
12047 (muntrace): Likewise.
12048 * misc/fstab.c (endfsent): Likewise.
12049 * misc/getclktck.c (__getclktck): Likewise.
12050 * misc/getdtsz.c (__getdtablesize): Likewise.
12051 * misc/gethostid.c (gethostid): Likewise.
12052 * misc/getpagesize.c (__getpagesize): Likewise.
12053 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12054 (__get_nprocs): Likewise.
12055 (__get_phys_pages): Likewise.
12056 (__get_avphys_pages): Likewise.
12057 * misc/getttyent.c (getttyent): Likewise.
12058 (setttyent): Likewise.
12059 (endttyent): Likewise.
12060 * misc/getusershell.c (getusershell): Likewise.
12061 (endusershell): Likewise.
12062 (setusershell): Likewise.
12063 (initshells): Likewise.
12064 * misc/hsearch.c (__hdestroy): Likewise.
12065 * misc/sync.c (sync): Likewise.
12066 * misc/syslog.c (closelog_internal): Likewise.
12067 (closelog): Likewise.
12068 * misc/ttyslot.c (ttyslot): Likewise.
12069 * misc/vhangup.c (vhangup): Likewise.
12070 * posix/fork.c (__fork): Likewise.
12071 * posix/getegid.c (__getegid): Likewise.
12072 * posix/geteuid.c (__geteuid): Likewise.
12073 * posix/getgid.c (__getgid): Likewise.
12074 * posix/getpid.c (__getpid): Likewise.
12075 * posix/getppid.c (__getppid): Likewise.
12076 * posix/getuid.c (__getuid): Likewise.
12077 * posix/pause.c (pause): Likewise.
12078 * posix/setpgrp.c (setpgrp): Likewise.
12079 * posix/setsid.c (__setsid): Likewise.
12080 * posix/test-vfork.c (noop): Likewise.
12081 * resolv/gethnamaddr.c (_endhtent): Likewise.
12082 (_gethtent): Likewise.
12083 (ht_endhostent): Likewise.
12084 (gethostent): Likewise.
12085 (dns_service): Likewise.
12086 * stdlib/drand48.c (drand48): Likewise.
12087 * stdlib/lrand48.c (lrand48): Likewise.
12088 * stdlib/mrand48.c (mrand48): Likewise.
12089 * stdlib/rand.c (rand): Likewise.
12090 * stdlib/random.c (__random): Likewise.
12091 * stdlib/setenv.c (clearenv): Likewise.
12092 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12093 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12094 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12095 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12096 (__get_nprocs): Likewise.
12097 (__get_phys_pages): Likewise.
12098 (__get_avphys_pages): Likewise.
12099 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12100 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12101 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12102 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12103 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12104 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12105 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12106 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12107 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12108 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12109 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12110 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12111 * sysdeps/posix/clock.c (clock): Likewise.
12112 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12113 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12114 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12115 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12116 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12118 (__get_nprocs_conf): Likewise.
12119 (__get_phys_pages): Likewise.
12120 (__get_avphys_pages): Likewise.
12121 * time/clock.c (clock): Likewise.
12122 * time/tzset.c (__tzname_max): Likewise.
12123
2e09a79a
JM
121242013-06-07 Joseph Myers <joseph@codesourcery.com>
12125
12126 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12127 (__bswap_32): Do not use "register".
12128 * crypt/crypt.c (_ufc_doit_r): Likewise.
12129 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12130 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12131 * gmon/gmon.c (__monstartup): Likewise.
12132 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12133 * hurd/hurdmalloc.c (more_memory): Likewise.
12134 (malloc): Likewise.
12135 (free): Likewise.
12136 (realloc): Likewise.
12137 (malloc_fork_prepare): Likewise.
12138 (malloc_fork_parent): Likewise.
12139 (malloc_fork_child): Likewise.
12140 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12141 (_svcauth_des): Likewise.
12142 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12143 * inet/inet_net.c (inet_network): Likewise.
12144 * inet/inet_netof.c (inet_netof): Likewise.
12145 * inet/rcmd.c (__validuser2_sa): Likewise.
12146 * io/fts.c (fts_open): Likewise.
12147 (fts_load): Likewise.
12148 (fts_close): Likewise.
12149 (fts_read): Likewise.
12150 (fts_children): Likewise.
12151 (fts_build): Likewise.
12152 (fts_stat): Likewise.
12153 (fts_sort): Likewise.
12154 (fts_alloc): Likewise.
12155 (fts_lfree): Likewise.
12156 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12157 (_IO_file_xsgetn): Likewise.
12158 (_IO_file_xsgetn_mmap): Likewise.
12159 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12160 (_IO_cookie_write): Likewise.
12161 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12162 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12163 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12164 * malloc/obstack.c (_obstack_begin): Likewise.
12165 (_obstack_begin_1): Likewise.
12166 (_obstack_newchunk): Likewise.
12167 (_obstack_allocated_p): Likewise.
12168 (obstack_free): Likewise.
12169 (_obstack_memory_used): Likewise.
12170 * misc/getttyent.c (getttynam): Likewise.
12171 (getttyent): Likewise.
12172 (skip): Likewise.
12173 (value): Likewise.
12174 * misc/getusershell.c (initshells): Likewise.
12175 * misc/syslog.c (__vsyslog_chk): Likewise.
12176 * misc/ttyslot.c (ttyslot): Likewise.
12177 * nis/nis_hash.c (__nis_hash): Likewise.
12178 * posix/fnmatch_loop.c (FCT): Likewise.
12179 * posix/getconf.c (print_all): Likewise.
12180 (main): Likewise.
12181 * posix/getopt.c (exchange): Likewise.
12182 * posix/glob.c (globfree): Likewise.
12183 (prefix_array): Likewise.
12184 (__glob_pattern_type): Likewise.
12185 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12186 (NS_GET32): Likewise.
12187 (NS_PUT16): Likewise.
12188 (NS_PUT32): Likewise.
12189 * resolv/gethnamaddr.c (getanswer): Likewise.
12190 (gethostbyname2): Likewise.
12191 (gethostbyaddr): Likewise.
12192 (_gethtent): Likewise.
12193 (_gethtbyname2): Likewise.
12194 (_gethtbyaddr): Likewise.
12195 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12196 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12197 * resolv/res_init.c (__res_vinit): Likewise.
12198 (net_mask): Likewise.
12199 * resolv/res_mkquery.c (outchar): Likewise.
12200 (PRINT): Likewise.
12201 * stdio-common/printf_fp.c (outchar): Likewise.
12202 (PRINT): Likewise.
12203 * stdio-common/printf_fphex.c (outchar): Likewise.
12204 (PRINT): Likewise.
12205 * stdio-common/printf_size.c (outchar): Likewise.
12206 (PRINT): Likewise.
12207 * stdio-common/test_rdwr.c (main): Likewise.
12208 * stdio-common/tfformat.c (matches): Likewise.
12209 * stdio-common/vfprintf.c (outchar): Likewise.
12210 (printf_unknown): Likewise.
12211 (buffered_vfprintf): Likewise.
12212 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12213 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12214 (ReadFile): Likewise.
12215 * stdlib/qsort.c (SWAP): Likewise.
12216 (_quicksort): Likewise.
12217 * stdlib/setenv.c (__add_to_environ): Likewise.
12218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12219 * stdlib/strtol_l.c (__strtol_l): Likewise.
12220 * stdlib/tst-strtod.c (main): Likewise.
12221 * stdlib/tst-strtol.c (main): Likewise.
12222 * stdlib/tst-strtoll.c (main): Likewise.
12223 * string/bits/string2.h (__strcmp_cc): Likewise.
12224 (__strcmp_cg): Likewise.
12225 (__strcspn_c1): Likewise.
12226 (__strcspn_c2): Likewise.
12227 (__strcspn_c3): Likewise.
12228 (__strspn_c1): Likewise.
12229 (__strspn_c2): Likewise.
12230 (__strspn_c3): Likewise.
12231 (__strsep_1c): Likewise.
12232 (__strsep_2c): Likewise.
12233 (__strsep_3c): Likewise.
12234 * string/memccpy.c (__memccpy): Likewise.
12235 * string/stpcpy.c (__stpcpy): Likewise.
12236 * string/strcmp.c (strcmp): Likewise.
12237 * string/strrchr.c (strrchr): Likewise.
12238 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12239 Likewise.
12240 * sysdeps/mach/hurd/getcwd.c
12241 (_hurd_canonicalize_directory_name_internal): Likewise.
12242 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12243 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12244 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12245 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12246 Likewise, in both definitions.
12247 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12248 definitions.
12249 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12250 64] (__bswap_64): Likewise.
12251 * time/test_time.c (main): Likewise.
12252 * time/tzfile.c (__tzfile_read): Likewise.
12253 (__tzfile_compute): Likewise.
12254 * time/tzset.c (__tzset_parse_tz): Likewise.
12255 (tzset_internal): Likewise.
12256 (compute_change): Likewise.
12257 * wcsmbs/wcscat.c (__wcscat): Likewise.
12258 * wcsmbs/wcschr.c (wcschr): Likewise.
12259 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12260 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12261 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12262 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12263 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12264 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12265 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12266 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12267 * wcsmbs/wmemset.c (wmemset): Likewise.
12268
9e54314b
JM
122692013-06-06 Joseph Myers <joseph@codesourcery.com>
12270
12271 * scripts/config.guess: Update to version 2013-05-16.
12272 * scripts/config.sub: Update to version 2013-04-24.
12273 * scripts/install-sh: Update to version 2011-11-20.07.
12274 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12275 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12276
350635a5
OB
122772013-06-06 Ondřej Bílka <neleai@seznam.cz>
12278
12279 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12280 * elf/sln.c: Likewise.
12281 * hurd/hurd/ioctl.h: Likewise.
12282 * hurd/hurdmalloc.c: Likewise.
12283 * hurd/xattr.c: Likewise.
12284 * include/shlib-compat.h: Likewise.
12285 * inet/ruserpass.c: Likewise.
12286 * libio/iofgets_u.c: Likewise.
12287 * libio/iofgetws_u.c: Likewise.
12288 * locale/programs/ld-identification.c: Likewise.
12289 * locale/programs/ld-time.c: Likewise.
12290 * mach/msg-destroy.c: Likewise.
12291 * nss/nss_files/files-netgrp.c: Likewise.
12292 * resolv/res_data.c: Likewise.
12293 * soft-fp/op-1.h: Likewise.
12294 * soft-fp/op-2.h: Likewise.
12295 * soft-fp/op-4.h: Likewise.
12296 * soft-fp/op-common.h: Likewise.
12297 * stdio-common/printf_fphex.c: Likewise.
12298 * stdlib/strtod_l.c: Likewise.
12299 * sunrpc/rpc/clnt.h: Likewise.
12300 * sysdeps/generic/framestate.c: Likewise.
12301 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12302 * sysdeps/i386/bsd-setjmp.S: Likewise.
12303 * sysdeps/i386/__longjmp.S: Likewise.
12304 * sysdeps/i386/setjmp.S: Likewise.
12305 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12306 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12307 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12323 * sysdeps/ieee754/support.c: Likewise.
12324 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12325 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12326 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12327 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12328 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12329 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12330 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12331 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12332 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12333 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12334 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12335 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12336 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12337 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12338 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12339 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12340 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12342
44a988af
OB
123432013-06-05 Ondřej Bílka <neleai@seznam.cz>
12344
25506f09 12345 * posix/transbug.c: Remove executable mode.
44a988af 12346
9c84384c
JM
123472013-06-05 Joseph Myers <joseph@codesourcery.com>
12348
12349 * crypt/speeds.c: Remove trailing whitespace.
12350 * dlfcn/default.c: Likewise.
12351 * elf/ifuncdep2.c: Likewise.
12352 * elf/ifuncmain1.c: Likewise.
12353 * elf/ifuncmain1vis.c: Likewise.
12354 * elf/testobj.h: Likewise.
12355 * elf/tst-stackguard1.c: Likewise.
12356 * gmon/sys/gmon.h: Likewise.
12357 * hurd/hurdmsg.c: Likewise.
12358 * hurd/new-fd.c: Likewise.
12359 * hurd/ports-get.c: Likewise.
12360 * iconvdata/ibm1008_420.c: Likewise.
12361 * inet/tst-getni1.c: Likewise.
12362 * inet/tst-getni2.c: Likewise.
12363 * libio/ioungetc.c: Likewise.
12364 * libio/wfiledoalloc.c: Likewise.
12365 * manual/libm-err-tab.pl: Likewise.
12366 * math/w_dremf.c: Likewise.
12367 * misc/ftruncate.c: Likewise.
12368 * posix/bug-glob2.c: Likewise.
12369 * posix/tst-pcre.c: Likewise.
12370 * posix/wait4.c: Likewise.
12371 * resolv/README: Likewise.
12372 * resolv/res_debug.h: Likewise.
12373 * resolv/tst-inet_ntop.c: Likewise.
12374 * setjmp/bug269-setjmp.c: Likewise.
12375 * soft-fp/extended.h: Likewise.
12376 * soft-fp/op-1.h: Likewise.
12377 * soft-fp/op-2.h: Likewise.
12378 * soft-fp/op-4.h: Likewise.
12379 * soft-fp/op-8.h: Likewise.
12380 * soft-fp/testit.c: Likewise.
12381 * stdio-common/bug16.c: Likewise.
12382 * stdlib/random.c: Likewise.
12383 * sunrpc/rpcsvc/rquota.x: Likewise.
12384 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12385 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12386 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12387 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12388 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12389 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12390 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12391 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12392 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12393 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12394 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12395 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12396 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12397 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12398 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12399 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12402 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12403 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12404 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12405 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12406 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12407 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12408 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12409 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12410 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12411 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12413 * sysdeps/ieee754/s_lib_version.c: Likewise.
12414 * sysdeps/mach/hurd/check_fds.c: Likewise.
12415 * sysdeps/mach/hurd/getsockname.c: Likewise.
12416 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12417 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12418 * sysdeps/powerpc/bits/link.h: Likewise.
12419 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12420 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12421 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12422 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12423 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12424 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12425 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12426 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12427 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12428 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12429 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12430 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12431 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12433 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12434 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12435 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12436 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12438 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12439 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12440 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12441 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12442 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12443 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12446 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12448 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12450 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12451 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12452 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12453 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12455 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12456 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12457 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12458 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12459 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12460 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12461 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12462 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12463 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12464 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12465 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12466 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12467 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12468 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12469 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12471 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12472 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12473 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12474 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12475 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12477 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12479 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12480 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12481 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12483 * sysdeps/powerpc/sysdep.h: Likewise.
12484 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12485 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12486 * sysdeps/sh/dl-trampoline.S: Likewise.
12487 * sysdeps/sh/memset.S: Likewise.
12488 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12489 * sysdeps/sh/strlen.S: Likewise.
12490 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12491 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12492 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12493 * sysdeps/sparc/sparc32/rem.S: Likewise.
12494 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12495 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12496 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12497 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12498 * sysdeps/sparc/sparc32/urem.S: Likewise.
12499 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12500 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12501 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12502 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12503 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12504 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12505 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12506 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12507 * sysdeps/unix/bsd/times.c: Likewise.
12508 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12509 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12513 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12515 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12516 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12517 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12518 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12519 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12520 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12521 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12522 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12523 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12524 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12525 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12526 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12527 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12528 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12529 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12530 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12531 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12532 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12533 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12534 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12535 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12536 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12537 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12538 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12539 * sysdeps/x86_64/strcspn.S: Likewise.
12540
869378a5
RA
125412013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12542
12543 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12544 generated file. Regenerate properly from gen-translit.pl.
12545 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12546 locale/C-translit.h.
12547
840e2943
AS
125482013-06-05 Andreas Schwab <schwab@suse.de>
12549
12550 [BZ #15100]
12551 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12552 week as 6 instead of -1.
12553 * time/tst-strptime.c (day_tests): Add test case.
12554
4c60cb0c
SP
125552013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12556
12557 * sysdeps/generic/math_private.h
12558 (libc_feholdexcept_setround_53bit): Replace with
12559 libc_feholdsetround_53bit.
12560 (libc_feupdateenv_53bit): Replace with
12561 libc_feresetround_53bit.
12562 (SET_RESTORE_ROUND_53BIT): Adjust.
12563
d180203e
SP
125642013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12565
96df079a
SP
12566 * string/test-strchrnul.c: Add copyright header.
12567
d180203e
SP
12568 * posix/tst-getaddrinfo4.c: Increase test timeout.
12569
8b0ccb2d
CD
125702013-06-03 Carlos O'Donell <carlos@redhat.com>
12571
12572 [BZ #15536]
12573 * math/libm-test.inc (MAX_EXP): Remove
12574 (MIN_EXP): Define.
12575 (ulp): Use MIN_EXP - MANT_DIG.
12576 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12577
3b3c4d40
CD
125782013-05-31 Carlos O'Donell <carlos@redhat.com>
12579
12580 * po/be.po: Revert last change.
12581 * po/zh_CN.po: Likewise.
12582 * po/header.pot: Likewise.
12583
fab7ce3f
JM
125842013-05-31 Joseph Myers <joseph@codesourcery.com>
12585
12586 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12587 link-libc-deps to empty as target-specific variable.
12588 * Makerules (link-libc-args): New variable.
12589 (libc-for-link): Likewise.
12590 (link-libc-deps): Likewise.
12591 (lib%.so): Depend on $(link-libc-deps). Link with
12592 $(link-libc-args).
12593 (build-module): Link with $(link-libc-args).
12594 (build-module-asneeded): Likewise.
12595 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12596 list of objects.
12597 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12598 target-specific variable.
12599 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12600 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12601 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12602 libc.
12603 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12604 libc and ld.so.
12605 ($(objpfx)libpcprofile.so): Likewise.
12606 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12607 libc_nonshared.a.
12608 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12609 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12610 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12611 $(link-libc-deps).
12612 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12613 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12614 * login/Makefile ($(objpfx)libutil.so): Likewise.
12615 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12616 * math/Makefile ($(objpfx)libm.so): Likewise.
12617 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12618 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12619 variable instead of depending directly on libc.
12620 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12621 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12622 $(link-libc-deps).
12623 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12624 libc.
12625 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12626 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12627 ($(objpfx)libanl.so): Likewise.
12628 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12629 ld.so.
12630 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12631 $(link-libc-deps).
12632 * sysdeps/i386/fpu/Makefile: Remove file.
12633 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12634 ($(objpfx)libm.so): Remove dependency on ld.so.
12635
eca5920c
PF
126362013-05-30 Patsy Franklin <pfrankli@redhat.com>
12637
12638 [BZ # 15553]
12639 * nis/yp_xdr.c (XDRMAXNAME): Define.
12640 (XDRMAXRECORD): Define.
12641 (xdr_domainname): Use XDRMAXNAME.
12642 (xdr_mapname): Likewise.
12643 (xdr_peername): Likewise.
12644 (xdr_keydat): Use XDRMAXRECORD.
12645 (xdr_valdat): Likewise.
12646
126472013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12648
12649 [BZ #14256]
12650 * manual/errno.texi (ESTALE): Update to account for more than
12651 just NFS file systems.
12652 * sysdeps/gnu/errlist.c: Regenerated.
12653
b9375348
SP
126542013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12655
12656 [BZ #15465]
12657 * elf/Makefile (tests): Add tst-null-argv.
12658 (modules-names): Add tst-null-argv-lib.
12659 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12660 (tst-null-argv-ENV): Set environment for tst-null-argv.
12661 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12662 (RTLD_PROGNAME): New macro.
12663 * elf/tst-null-argv.c: New test case.
12664 * elf/tst-null-argv-lib.c: Library for test case.
12665 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12666 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12667 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12668 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12669 * elf/dl-init.c (call_init): Likewise.
12670 (_dl_init): Likewise.
12671 * elf/dl-load.c (print_search_path): Likewise.
12672 (_dl_map_object): Likewise.
12673 * elf/dl-lookup.c (do_lookup_x): Likewise.
12674 (add_dependency): Likewise.
12675 (_dl_lookup_symbol_x): Likewise.
12676 (_dl_debug_bindings): Likewise.
12677 * elf/dl-open.c (_dl_show_scope): Likewise.
12678 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12679 * elf/dl-version.c (match_symbol): Likewise.
12680 (_dl_check_map_versions): Likewise.
12681 * elf/rtld.c (dl_main): Likewise.
12682 (print_unresolved): Use RTLD_PROGNAME.
12683 (print_missing_version): Likewise.
12684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12685 (elf_machine_rela): Likewise.
12686 * sysdeps/powerpc/powerpc32/dl-machine.c
12687 (__process_machine_rela): Likewise.
12688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12689 Likewise.
12690 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12691 Likewise.
12692 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12693 Likewise.
12694 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12696 Likewise.
12697 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12698 Likewise.
12699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12700
8a9f20c8
CD
127012013-05-28 Carlos O'Donell <carlos@redhat.com>
12702
12703 * po/be.po: Add descriptive title.
12704 * po/zh_CN.po: Likewise.
12705 * po/header.pot: Likewise.
12706
0e60d68e
MF
127072013-05-28 Mike Frysinger <vapier@gentoo.org>
12708
12709 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12710 error message.
12711 (enlarge_archive): Likewise.
12712
56b672e9
BN
127132013-05-28 Ben North <ben@redfrontdoor.org>
12714
12715 * manual/arith.texi (frexp): It is the magnitude of the return
12716 value which lies in [0.5, 1), not the return value itself.
12717
5e056687
AZ
127182013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12719
12720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12721
2b66ef5d
TS
127222013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12723
528c2405
TS
12724 * stdio-common/bug26.c (main): Correct fscanf template.
12725
07b4c13d
TS
12726 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12727 declare _dl_skip_args.
12728
ec9dd97c
TS
12729 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12730 Don't declare.
12731
2b66ef5d
TS
12732 * manual/platform.texi: Add missing @end deftypefun.
12733
4f8dfe27
JM
127342013-05-24 Joseph Myers <joseph@codesourcery.com>
12735
0323d086
JM
12736 [BZ #15529]
12737 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12738 bit of mantissa of 2^16382.
12739 * math/libm-test.inc (hypot_test_data): Add more tests.
12740
dd4259b9
JM
12741 * math/libm-test.inc: Add drem and pow10 to list of tested
12742 functions.
12743 (pow10_test): New function.
12744 (drem_test): Likewise.
12745 (drem_test_tonearest): Likewise.
12746 (drem_test_towardzero): Likewise.
12747 (drem_test_downward): Likewise.
12748 (drem_test_upward): Likewise.
12749 (main): Call the new functions.
12750
4f8dfe27
JM
12751 * math/libm-test.inc (finite_test_data): Remove.
12752 (finite_test): Run tests from isfinite_test_data.
12753 (gamma_test_data): Remove.
12754 (gamma_test): Run tests from lgamma_test_data.
12755 * sysdeps/i386/fpu/libm-test-ulps: Update.
12756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12757
d116b7c4
AZ
127582013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12759
12760 * manual/platform.texi: Add PowerPC PPR function set documentation.
12761 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12762 implementation.
12763
e96e3767
CD
127642013-05-24 Carlos O'Donell <carlos@redhat.com>
12765
12766 * math/libm-test.inc (MAX_EXP): Define.
12767 (ULPDIFF): Define.
12768 (ulp): New function.
12769 (check_float_internal): Use ULPDIFF.
12770 (cpow_test): Disable failing test.
12771 (check_ulp): Test ulp() implemetnation.
12772 (main): Call check_ulp before starting tests.
12773
b679a606
JM
127742013-05-24 Joseph Myers <joseph@codesourcery.com>
12775
e8bdba36
JM
12776 * math/gen-libm-test.pl (generate_testfile): Do not handle
12777 START_DATA and END_DATA.
12778 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12779 END_DATA.
12780 (acos_tonearest_test_data): Likewise.
12781 (acos_towardzero_test_data): Likewise.
12782 (acos_downward_test_data): Likewise.
12783 (acos_upward_test_data): Likewise.
12784 (acosh_test_data): Likewise.
12785 (asin_test_data): Likewise.
12786 (asin_tonearest_test_data): Likewise.
12787 (asin_towardzero_test_data): Likewise.
12788 (asin_downward_test_data): Likewise.
12789 (asin_upward_test_data): Likewise.
12790 (asinh_test_data): Likewise.
12791 (atan_test_data): Likewise.
12792 (atanh_test_data): Likewise.
12793 (atan2_test_data): Likewise.
12794 (cabs_test_data): Likewise.
12795 (cacos_test_data): Likewise.
12796 (cacosh_test_data): Likewise.
12797 (carg_test_data): Likewise.
12798 (casin_test_data): Likewise.
12799 (casinh_test_data): Likewise.
12800 (catan_test_data): Likewise.
12801 (catanh_test_data): Likewise.
12802 (cbrt_test_data): Likewise.
12803 (ccos_test_data): Likewise.
12804 (ccosh_test_data): Likewise.
12805 (ceil_test_data): Likewise.
12806 (cexp_test_data): Likewise.
12807 (cimag_test_data): Likewise.
12808 (clog_test_data): Likewise.
12809 (clog10_test_data): Likewise.
12810 (conj_test_data): Likewise.
12811 (copysign_test_data): Likewise.
12812 (cos_test_data): Likewise.
12813 (cos_tonearest_test_data): Likewise.
12814 (cos_towardzero_test_data): Likewise.
12815 (cos_downward_test_data): Likewise.
12816 (cos_upward_test_data): Likewise.
12817 (cosh_test_data): Likewise.
12818 (cosh_tonearest_test_data): Likewise.
12819 (cosh_towardzero_test_data): Likewise.
12820 (cosh_downward_test_data): Likewise.
12821 (cosh_upward_test_data): Likewise.
12822 (cpow_test_data): Likewise.
12823 (cproj_test_data): Likewise.
12824 (creal_test_data): Likewise.
12825 (csin_test_data): Likewise.
12826 (csinh_test_data): Likewise.
12827 (csqrt_test_data): Likewise.
12828 (ctan_test_data): Likewise.
12829 (ctan_tonearest_test_data): Likewise.
12830 (ctan_towardzero_test_data): Likewise.
12831 (ctan_downward_test_data): Likewise.
12832 (ctan_upward_test_data): Likewise.
12833 (ctanh_test_data): Likewise.
12834 (ctanh_tonearest_test_data): Likewise.
12835 (ctanh_towardzero_test_data): Likewise.
12836 (ctanh_downward_test_data): Likewise.
12837 (ctanh_upward_test_data): Likewise.
12838 (erf_test_data): Likewise.
12839 (erfc_test_data): Likewise.
12840 (exp_test_data): Likewise.
12841 (exp_tonearest_test_data): Likewise.
12842 (exp_towardzero_test_data): Likewise.
12843 (exp_downward_test_data): Likewise.
12844 (exp_upward_test_data): Likewise.
12845 (exp10_test_data): Likewise.
12846 (exp2_test_data): Likewise.
12847 (expm1_test_data): Likewise.
12848 (fabs_test_data): Likewise.
12849 (fdim_test_data): Likewise.
12850 (finite_test_data): Likewise.
12851 (floor_test_data): Likewise.
12852 (fma_test_data): Likewise.
12853 (fma_towardzero_test_data): Likewise.
12854 (fma_downward_test_data): Likewise.
12855 (fma_upward_test_data): Likewise.
12856 (fmax_test_data): Likewise.
12857 (fmin_test_data): Likewise.
12858 (fmod_test_data): Likewise.
12859 (fpclassify_test_data): Likewise.
12860 (frexp_test_data): Likewise.
12861 (gamma_test_data): Likewise.
12862 (hypot_test_data): Likewise.
12863 (ilogb_test_data): Likewise.
12864 (isfinite_test_data): Likewise.
12865 (isgreater_test_data): Likewise.
12866 (isgreaterequal_test_data): Likewise.
12867 (isinf_test_data): Likewise.
12868 (isless_test_data): Likewise.
12869 (islessequal_test_data): Likewise.
12870 (islessgreater_test_data): Likewise.
12871 (isnan_test_data): Likewise.
12872 (isnormal_test_data): Likewise.
12873 (issignaling_test_data): Likewise.
12874 (isunordered_test_data): Likewise.
12875 (j0_test_data): Likewise.
12876 (j1_test_data): Likewise.
12877 (jn_test_data): Likewise.
12878 (ldexp_test_data): Likewise.
12879 (lgamma_test_data): Likewise.
12880 (lrint_test_data): Likewise.
12881 (lrint_tonearest_test_data): Likewise.
12882 (lrint_towardzero_test_data): Likewise.
12883 (lrint_downward_test_data): Likewise.
12884 (lrint_upward_test_data): Likewise.
12885 (llrint_test_data): Likewise.
12886 (llrint_tonearest_test_data): Likewise.
12887 (llrint_towardzero_test_data): Likewise.
12888 (llrint_downward_test_data): Likewise.
12889 (llrint_upward_test_data): Likewise.
12890 (log_test_data): Likewise.
12891 (log10_test_data): Likewise.
12892 (log1p_test_data): Likewise.
12893 (log2_test_data): Likewise.
12894 (logb_test_data): Likewise.
12895 (logb_downward_test_data): Likewise.
12896 (lround_test_data): Likewise.
12897 (llround_test_data): Likewise.
12898 (modf_test_data): Likewise.
12899 (nearbyint_test_data): Likewise.
12900 (nextafter_test_data): Likewise.
12901 (nexttoward_test_data): Likewise.
12902 (pow_test_data): Likewise.
12903 (pow_tonearest_test_data): Likewise.
12904 (pow_towardzero_test_data): Likewise.
12905 (pow_downward_test_data): Likewise.
12906 (pow_upward_test_data): Likewise.
12907 (remainder_test_data): Likewise.
12908 (remainder_tonearest_test_data): Likewise.
12909 (remainder_towardzero_test_data): Likewise.
12910 (remainder_downward_test_data): Likewise.
12911 (remainder_upward_test_data): Likewise.
12912 (remquo_test_data): Likewise.
12913 (rint_test_data): Likewise.
12914 (rint_tonearest_test_data): Likewise.
12915 (rint_towardzero_test_data): Likewise.
12916 (rint_downward_test_data): Likewise.
12917 (rint_upward_test_data): Likewise.
12918 (round_test_data): Likewise.
12919 (scalb_test_data): Likewise.
12920 (scalbn_test_data): Likewise.
12921 (scalbln_test_data): Likewise.
12922 (signbit_test_data): Likewise.
12923 (sin_test_data): Likewise.
12924 (sin_tonearest_test_data): Likewise.
12925 (sin_towardzero_test_data): Likewise.
12926 (sin_downward_test_data): Likewise.
12927 (sin_upward_test_data): Likewise.
12928 (sincos_test_data): Likewise.
12929 (sinh_test_data): Likewise.
12930 (sinh_tonearest_test_data): Likewise.
12931 (sinh_towardzero_test_data): Likewise.
12932 (sinh_downward_test_data): Likewise.
12933 (sinh_upward_test_data): Likewise.
12934 (sqrt_test_data): Likewise.
12935 (tan_test_data): Likewise.
12936 (tan_tonearest_test_data): Likewise.
12937 (tan_towardzero_test_data): Likewise.
12938 (tan_downward_test_data): Likewise.
12939 (tan_upward_test_data): Likewise.
12940 (tanh_test_data): Likewise.
12941 (tgamma_test_data): Likewise.
12942 (trunc_test_data): Likewise.
12943 (y0_test_data): Likewise.
12944 (y1_test_data): Likewise.
12945 (yn_test_data): Likewise.
12946 (significand_test_data): Likewise.
12947
b679a606
JM
12948 * math/gen-libm-test.pl (@functions): Remove variable.
12949 (generate_testfile): Don't handle START and END lines.
12950 * math/libm-test.inc (START): New macro.
12951 (END): Likewise.
12952 (END_COMPLEX): Likewise.
12953 (acos_test): Use END macro without arguments.
12954 (acos_test_tonearest): Likewise.
12955 (acos_test_towardzero): Likewise.
12956 (acos_test_downward): Likewise.
12957 (acos_test_upward): Likewise.
12958 (acosh_test): Likewise.
12959 (asin_test): Likewise.
12960 (asin_test_tonearest): Likewise.
12961 (asin_test_towardzero): Likewise.
12962 (asin_test_downward): Likewise.
12963 (asin_test_upward): Likewise.
12964 (asinh_test): Likewise.
12965 (atan_test): Likewise.
12966 (atanh_test): Likewise.
12967 (atan2_test): Likewise.
12968 (cabs_test): Likewise.
12969 (cacos_test): Use END_COMPLEX macro without arguments.
12970 (cacosh_test): Likewise.
12971 (carg_test): Use END macro without arguments.
12972 (casin_test): Use END_COMPLEX macro without arguments.
12973 (casinh_test): Likewise.
12974 (catan_test): Likewise.
12975 (catanh_test): Likewise.
12976 (cbrt_test): Use END macro without arguments.
12977 (ccos_test): Use END_COMPLEX macro without arguments.
12978 (ccosh_test): Likewise.
12979 (ceil_test): Use END macro without arguments.
12980 (cexp_test): Use END_COMPLEX macro without arguments.
12981 (cimag_test): Use END macro without arguments.
12982 (clog_test): Use END_COMPLEX macro without arguments.
12983 (clog10_test): Likewise.
12984 (conj_test): Likewise.
12985 (copysign_test): Use END macro without arguments.
12986 (cos_test): Likewise.
12987 (cos_test_tonearest): Likewise.
12988 (cos_test_towardzero): Likewise.
12989 (cos_test_downward): Likewise.
12990 (cos_test_upward): Likewise.
12991 (cosh_test): Likewise.
12992 (cosh_test_tonearest): Likewise.
12993 (cosh_test_towardzero): Likewise.
12994 (cosh_test_downward): Likewise.
12995 (cosh_test_upward): Likewise.
12996 (cpow_test): Use END_COMPLEX macro without arguments.
12997 (cproj_test): Likewise.
12998 (creal_test): Use END macro without arguments.
12999 (csin_test): Use END_COMPLEX macro without arguments.
13000 (csinh_test): Likewise.
13001 (csqrt_test): Likewise.
13002 (ctan_test): Likewise.
13003 (ctan_test_tonearest): Likewise.
13004 (ctan_test_towardzero): Likewise.
13005 (ctan_test_downward): Likewise.
13006 (ctan_test_upward): Likewise.
13007 (ctanh_test): Likewise.
13008 (ctanh_test_tonearest): Likewise.
13009 (ctanh_test_towardzero): Likewise.
13010 (ctanh_test_downward): Likewise.
13011 (ctanh_test_upward): Likewise.
13012 (erf_test): Use END macro without arguments.
13013 (erfc_test): Likewise.
13014 (exp_test): Likewise.
13015 (exp_test_tonearest): Likewise.
13016 (exp_test_towardzero): Likewise.
13017 (exp_test_downward): Likewise.
13018 (exp_test_upward): Likewise.
13019 (exp10_test): Likewise.
13020 (exp2_test): Likewise.
13021 (expm1_test): Likewise.
13022 (fabs_test): Likewise.
13023 (fdim_test): Likewise.
13024 (finite_test): Likewise.
13025 (floor_test): Likewise.
13026 (fma_test): Likewise.
13027 (fma_test_towardzero): Likewise.
13028 (fma_test_downward): Likewise.
13029 (fma_test_upward): Likewise.
13030 (fmax_test): Likewise.
13031 (fmin_test): Likewise.
13032 (fmod_test): Likewise.
13033 (fpclassify_test): Likewise.
13034 (frexp_test): Likewise.
13035 (gamma_test): Likewise.
13036 (hypot_test): Likewise.
13037 (ilogb_test): Likewise.
13038 (isfinite_test): Likewise.
13039 (isgreater_test): Likewise.
13040 (isgreaterequal_test): Likewise.
13041 (isinf_test): Likewise.
13042 (isless_test): Likewise.
13043 (islessequal_test): Likewise.
13044 (islessgreater_test): Likewise.
13045 (isnan_test): Likewise.
13046 (isnormal_test): Likewise.
13047 (issignaling_test): Likewise.
13048 (isunordered_test): Likewise.
13049 (j0_test): Likewise.
13050 (j1_test): Likewise.
13051 (jn_test): Likewise.
13052 (ldexp_test): Likewise.
13053 (lgamma_test): Likewise.
13054 (lrint_test): Likewise.
13055 (lrint_test_tonearest): Likewise.
13056 (lrint_test_towardzero): Likewise.
13057 (lrint_test_downward): Likewise.
13058 (lrint_test_upward): Likewise.
13059 (llrint_test): Likewise.
13060 (llrint_test_tonearest): Likewise.
13061 (llrint_test_towardzero): Likewise.
13062 (llrint_test_downward): Likewise.
13063 (llrint_test_upward): Likewise.
13064 (log_test): Likewise.
13065 (log10_test): Likewise.
13066 (log1p_test): Likewise.
13067 (log2_test): Likewise.
13068 (logb_test): Likewise.
13069 (logb_test_downward): Likewise.
13070 (lround_test): Likewise.
13071 (llround_test): Likewise.
13072 (modf_test): Likewise.
13073 (nearbyint_test): Likewise.
13074 (nextafter_test): Likewise.
13075 (nexttoward_test): Likewise.
13076 (pow_test): Likewise.
13077 (pow_test_tonearest): Likewise.
13078 (pow_test_towardzero): Likewise.
13079 (pow_test_downward): Likewise.
13080 (pow_test_upward): Likewise.
13081 (remainder_test): Likewise.
13082 (remainder_test_tonearest): Likewise.
13083 (remainder_test_towardzero): Likewise.
13084 (remainder_test_downward): Likewise.
13085 (remainder_test_upward): Likewise.
13086 (remquo_test): Likewise.
13087 (rint_test): Likewise.
13088 (rint_test_tonearest): Likewise.
13089 (rint_test_towardzero): Likewise.
13090 (rint_test_downward): Likewise.
13091 (rint_test_upward): Likewise.
13092 (round_test): Likewise.
13093 (scalb_test): Likewise.
13094 (scalbn_test): Likewise.
13095 (scalbln_test): Likewise.
13096 (signbit_test): Likewise.
13097 (sin_test): Likewise.
13098 (sin_test_tonearest): Likewise.
13099 (sin_test_towardzero): Likewise.
13100 (sin_test_downward): Likewise.
13101 (sin_test_upward): Likewise.
13102 (sincos_test): Likewise.
13103 (sinh_test): Likewise.
13104 (sinh_test_tonearest): Likewise.
13105 (sinh_test_towardzero): Likewise.
13106 (sinh_test_downward): Likewise.
13107 (sinh_test_upward): Likewise.
13108 (sqrt_test): Likewise.
13109 (tan_test): Likewise.
13110 (tan_test_tonearest): Likewise.
13111 (tan_test_towardzero): Likewise.
13112 (tan_test_downward): Likewise.
13113 (tan_test_upward): Likewise.
13114 (tanh_test): Likewise.
13115 (tgamma_test): Likewise.
13116 (trunc_test): Likewise.
13117 (y0_test): Likewise.
13118 (y1_test): Likewise.
13119 (yn_test): Likewise.
13120 (significand_test): Likewise.
13121
bae143d2
OB
131222013-05-24 Ondřej Bílka <neleai@seznam.cz>
13123
13124 [BZ #15381]
13125 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13126
9323d39b
EM
131272013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13128
d4ea44a0 13129 [BZ #14894]
9323d39b
EM
13130 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13131 __ppc_mdoio and __ppc_mdoom.
13132 * manual/platform.texi: Document new functions __ppc_yield,
13133 __ppc_mdoio and __ppc_mdoom.
13134
13e23af7
CD
131352013-05-22 Carlos O'Donell <carlos@redhat.com>
13136
13137 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13138 (main): Mention "tls" pseudo-hwcap is legacy.
13139 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13140
351fe550
JM
131412013-05-22 Joseph Myers <joseph@codesourcery.com>
13142
13143 * math/gen-libm-test.pl (parse_args): Output only string of
13144 arguments as text for test name, not full call or descriptions of
13145 tests for extra outputs.
13146 (generate_testfile): Do not pass function name to parse_args.
13147 Generate this_func variable from START.
13148 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13149 field to arg_str.
13150 (struct test_ff_f_data): Likewise.
13151 (test_ff_f_data_nexttoward): Likewise.
13152 (struct test_fi_f_data): Likewise.
13153 (struct test_fl_f_data): Likewise.
13154 (struct test_if_f_data): Likewise.
13155 (struct test_fff_f_data): Likewise.
13156 (struct test_c_f_data): Likewise.
13157 (struct test_f_f1_data): Likewise. Remove field extra_name.
13158 (struct test_fF_f1_data): Likewise.
13159 (struct test_ffI_f1_data): Likewise.
13160 (struct test_c_c_data): Rename test_name field to arg_str.
13161 (struct test_cc_c_data): Likewise.
13162 (struct test_f_i_data): Likewise.
13163 (struct test_ff_i_data): Likewise.
13164 (struct test_f_l_data): Likewise.
13165 (struct test_f_L_data): Likewise.
13166 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13167 and extra2_name.
13168 (COMMON_TEST_SETUP): New macro.
13169 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13170 (COMMON_TEST_CLEANUP): Likewise.
13171 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13172 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13173 macros.
13174 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13175 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13176 macros.
13177 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13178 (RUN_TEST_fff_f): Take argument string. Call new setup and
13179 cleanup macros.
13180 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13181 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13182 macros.
13183 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13184 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13185 macros.
13186 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13187 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13188 cleanup macros.
13189 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13190 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13191 cleanup macros.
13192 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13193 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13194 cleanup macros.
13195 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13196 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13197 macros.
13198 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13199 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13200 macros.
13201 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13202 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13203 macros.
13204 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13205 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13206 cleanup macros.
13207 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13208 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13209 cleanup macros.
13210 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13211 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13212 macros.
13213 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13214 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13215 cleanup macros.
13216 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13217 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13218 macros.
13219 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13220 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13221 macros.
13222 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13223 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13224 cleanup macros.
13225 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13226
85118d4d
EBM
132272013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13228
13229 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13230 to _sifields.sigfault.
13231 (si_addr_lsb): Define new macro.
13232 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13234 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13235
7a44c18f
CD
132362013-05-03 Carlos O'Donell <carlos at redhat.com>
13237
13238 [BZ #15441]
13239 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13240 returns -1.
13241 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13242 null return -1.
13243 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13244 loading the domain.
13245
b50a7181
JM
132462013-05-22 Joseph Myers <joseph@codesourcery.com>
13247
13248 * math/gen-libm-test.pl (parse_args): Do not include expected
13249 result in test name.
13250 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13252 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13253 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13254 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13256
051063c8
SP
132572013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13258
3ce9e010
SP
13259 * benchtests/Makefile: Sort function entries.
13260
051063c8
SP
13261 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13262 tanh, asinh, acosh, atanh.
13263 * benchtests/acos-inputs: New file.
13264 * benchtests/acosh-inputs: New file.
13265 * benchtests/asin-inputs: New file.
13266 * benchtests/asinh-inputs: New file.
13267 * benchtests/atanh-inputs: New file.
13268 * benchtests/cosh-inputs: New file.
13269 * benchtests/log-inputs: New file.
13270 * benchtests/sinh-inputs: New file.
13271 * benchtests/tanh-inputs: New file.
13272
47c22455
DL
132732013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13274
13275 [BZ #15339]
13276 * posix/tst-getaddrinfo4.c: New test.
13277 * posix/Makefile (tests): Add it.
13278
3d04f5db
SP
132792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13280
13281 [BZ #15339]
13282 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13283 when no services were used.
13284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13285 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13286
d5dd6189
AS
132872013-05-21 Andreas Schwab <schwab@suse.de>
13288
13289 [BZ #15014]
13290 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13291 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13292 successful.
13293 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13294 redundant variable declarations and reallocation of buffer when
13295 parsing as IPv6 address. Always set NSS status when called from
13296 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13297 buffer too small. Correct computation of needed size.
13298 * nss/Makefile (tests): Add test-digits-dots.
13299 * nss/test-digits-dots.c: New test.
13300
fef94eab
SP
133012013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13302
13303 * benchtests/Makefile: Remove instructions for adding
13304 benchmark tests.
13305 * benchtests/README: New file to explain how to execute and
13306 enhance the benchmark tests.
13307
e39adf43
AS
133082013-05-21 Andreas Schwab <schwab@suse.de>
13309
13310 [BZ #15493]
13311 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13312 * setjmp/tst-sigsetjmp.c: New test.
13313
b2b671b6
OB
133142013-05-20 Ondřej Bílka <neleai@seznam.cz>
13315
13316 * sysdeps/x86_64/memset.S (memset): New implementation.
13317 (__bzero): Likewise.
13318 (__memset_tail): New function.
13319
2d48b41c
OB
133202013-05-20 Ondřej Bílka <neleai@seznam.cz>
13321
13322 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13323 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13324 __memcpy_sse2_unaligned ifunc selection.
13325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13326 Add memcpy-sse2-unaligned.S.
13327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13328 Add: __memcpy_sse2_unaligned.
13329
f16cc3eb
JM
133302013-05-19 Joseph Myers <joseph@codesourcery.com>
13331
3e694268
JM
13332 [BZ #15490]
13333 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13334 math_force_eval before restoring floating-point envrionment.
13335 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13337 Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13339 <math_private.h>.
13340 (__nearbyintl): Use math_force_eval before restoring
13341 floating-point environment.
13342 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13343
db62a907
JM
13344 * math/gen-libm-test.pl (special_functions): Remove.
13345 (parse_args): Don't handle TEST_extra. Handle functions with no
13346 return value.
13347 * math/libm-test.inc (struct test_sincos_data): Replace with
13348 struct test_fFF_11_data.
13349 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13350 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13351 (sincos_test_data): Change element type to struct
13352 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13353 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13354 RUN_TEST_LOOP_sincos.
13355 * math/README.libm-test: Don't mention special handling of
13356 individual functions.
13357 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13359 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13360 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13361 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13363
f16cc3eb
JM
13364 * math/gen-libm-test.pl (get_variable): Remove function.
13365 (parse_args): Don't show pointer parameters to call in test
13366 names. Use "extra output N" in test names for extra outputs
13367 rather than naming variables.
13368
3779b5b6
JM
133692013-05-18 Joseph Myers <joseph@codesourcery.com>
13370
2ee094ff
JM
13371 [BZ #15488]
13372 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13373 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13374 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13375 double tests.
13376 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13377 disable.
13378 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13379 check_long_double.
13380
3779b5b6
JM
13381 * math/gen-libm-test.pl (@tests): Remove variable.
13382 ($count): Likewise.
13383 (new_test): Remove function.
13384 (show_exceptions): New function.
13385 (special_functions): Use show_exceptions instead of new_test.
13386 (parse_args): Likewise.
13387 (generate_testfile): Pass only function name in generated call to
13388 print_max_error or print_complex_max_error.
13389 (get_ulps): Do not handle complex tests specially.
13390 (output_test): Rename to ...
13391 (get_all_ulps_for_test): ... this. Return a string rather than
13392 printing to a file. Require ulps to be present.
13393 (output_ulps): Generate arrays rather than #defines.
13394 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13395 (struct ulp_data): New type.
13396 (BUILD_COMPLEX_ULP): Remove macro.
13397 (compare_ulp_data): New function.
13398 (find_ulps): Likewise.
13399 (find_test_ulps): Likewise.
13400 (find_function_ulps): Likewise.
13401 (find_complex_function_ulps): Likewise.
13402 (print_max_error): Determine allowed ulps using
13403 find_function_ulps.
13404 (print_complex_max_error): Determine allowed ulps using
13405 find_complex_function_ulps.
13406 (check_float_internal): Determine max ulps using find_test_ulps.
13407 (check_float): Do not take max_ulp parameter. Update call to
13408 check_float_internal.
13409 (check_complex): Likewise.
13410 (check_int): Do not take max_ulp parameter.
13411 (check_long): Likewise.
13412 (check_bool): Likewise.
13413 (check_longlong): Likewise.
13414 (struct test_f_f_data): Remove max_ulp field.
13415 (struct test_ff_f_data): Likewise.
13416 (struct test_ff_f_data_nexttoward): Likewise.
13417 (struct test_fi_f_data): Likewise.
13418 (struct test_fl_f_data): Likewise.
13419 (struct test_if_f_data): Likewise.
13420 (struct test_fff_f_data): Likewise.
13421 (struct test_c_f_data): Likewise.
13422 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13423 (struct test_fF_f1_data): Likewise.
13424 (struct test_ffI_f1_data): Likewise.
13425 (struct test_c_c_data): Remove max_ulp field.
13426 (struct test_cc_c_data): Likewise.
13427 (struct test_f_i_data): Likewise.
13428 (struct test_ff_i_data): Likewise.
13429 (struct test_f_l_data): Likewise.
13430 (struct test_f_L_data): Likewise.
13431 (struct test_sincos_data): Likewise.
13432 (RUN_TEST_f_f): Do not handle ulps.
13433 (RUN_TEST_LOOP_f_f): Likewise.
13434 (RUN_TEST_2_f): Likewise.
13435 (RUN_TEST_LOOP_2_f): Likewise.
13436 (RUN_TEST_fff_f): Likewise.
13437 (RUN_TEST_LOOP_fff_f): Likewise.
13438 (RUN_TEST_c_f): Likewise.
13439 (RUN_TEST_LOOP_c_f): Likewise.
13440 (RUN_TEST_f_f1): Likewise.
13441 (RUN_TEST_LOOP_f_f1): Likewise.
13442 (RUN_TEST_fF_f1): Likewise.
13443 (RUN_TEST_LOOP_fF_f1): Likewise.
13444 (RUN_TEST_fI_f1): Likewise.
13445 (RUN_TEST_LOOP_fI_f1): Likewise.
13446 (RUN_TEST_ffI_f1): Likewise.
13447 (RUN_TEST_LOOP_ffI_f1): Likewise.
13448 (RUN_TEST_c_c): Likewise.
13449 (RUN_TEST_LOOP_c_c): Likewise.
13450 (RUN_TEST_cc_c): Likewise.
13451 (RUN_TEST_LOOP_cc_c): Likewise.
13452 (RUN_TEST_f_i): Likewise.
13453 (RUN_TEST_LOOP_f_i): Likewise.
13454 (RUN_TEST_f_i_tg): Likewise.
13455 (RUN_TEST_LOOP_f_i_tg): Likewise.
13456 (RUN_TEST_ff_i_tg): Likewise.
13457 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13458 (RUN_TEST_f_b): Likewise.
13459 (RUN_TEST_LOOP_f_b): Likewise.
13460 (RUN_TEST_f_b_tg): Likewise.
13461 (RUN_TEST_LOOP_f_b_tg): Likewise.
13462 (RUN_TEST_f_l): Likewise.
13463 (RUN_TEST_LOOP_f_l): Likewise.
13464 (RUN_TEST_f_L): Likewise.
13465 (RUN_TEST_LOOP_f_L): Likewise.
13466 (RUN_TEST_sincos): Likewise.
13467 (RUN_TEST_LOOP_sincos): Likewise.
13468
8269107f
JM
134692013-05-17 Joseph Myers <joseph@codesourcery.com>
13470
bb38759d
JM
13471 [BZ #15480]
13472 [BZ #15485]
13473 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13474 main case of finite arguments, set rounding mode to FE_TONEAREST
13475 and discard exceptions.
13476 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13477 exceptions.
13478 (remainder_tonearest_test_data): New variable.
13479 (remainder_test_tonearest): New function.
13480 (remainder_towardzero_test_data): New variable.
13481 (remainder_test_towardzero): New function.
13482 (remainder_downward_test_data): New variable.
13483 (remainder_test_downward): New function.
13484 (remainder_upward_test_data): New variable.
13485 (remainder_test_upward): New function.
13486 (main): Call the new test functions.
13487
a00bdcf0
JM
13488 * math/libm-test.inc (struct test_f_f1_data): Remove field
13489 extra_init.
13490 (struct test_fF_f1_data): Likewise.
13491 (struct test_ffI_f1_data): Likewise.
13492 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13493 based on value of EXTRA_EXPECTED.
13494 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13495 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13496 EXTRA_VAR based on value of EXTRA_EXPECTED.
13497 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13498 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13499 EXTRA_VAR based on value of EXTRA_EXPECTED.
13500 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13501 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13502 EXTRA_VAR based on value of EXTRA_EXPECTED.
13503 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13504 * math/gen-libm-test.pl (parse_args): Don't output initializers
13505 for extra output values.
13506
de407f79
JM
13507 * math/libm-test.inc (check_int): Expect result to be exactly
13508 equal to expected value and do not handle ulps.
13509 (check_long): Likewise.
13510 (check_longlong): Likewise.
13511
8269107f
JM
13512 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13513 exceptions.
13514 (cimag_test_data): Likewise.
13515 (conj_test_data): Likewise.
13516 (copysign_test_data): Likewise.
13517 (cproj_test_data): Likewise.
13518 (creal_test_data): Likewise.
13519 (fabs_test_data): Likewise.
13520 (fdim_test_data): Likewise.
13521 (finite_test_data): Likewise.
13522 (floor_test_data): Likewise.
13523 (fmax_test_data): Likewise.
13524 (fmin_test_data): Likewise.
13525 (fmod_test_data): Likewise.
13526 (fpclassify_test_data): Likewise.
13527 (frexp_test_data): Likewise.
13528 (ilogb_test_data): Likewise.
13529 (isfinite_test_data): Likewise.
13530 (isgreater_test_data): Likewise.
13531 (isgreaterequal_test_data): Likewise.
13532 (isinf_test_data): Likewise.
13533 (isless_test_data): Likewise.
13534 (islessequal_test_data): Likewise.
13535 (islessgreater_test_data): Likewise.
13536 (isnan_test_data): Likewise.
13537 (isnormal_test_data): Likewise.
13538 (issignaling_test_data): Likewise.
13539 (isunordered_test_data): Likewise.
13540 (ldexp_test_data): Likewise.
13541 (lrint_test_data): Likewise.
13542 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13543 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13544 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13545 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13546 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13547 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13548 test input.
13549 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13550 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13551 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13552 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13553 that test input.
13554 (lrint_downward_test_data): Test for "inexact" exceptions.
13555 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13556 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13557 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13558 test input.
13559 (lrint_upward_test_data): Test for "inexact" exceptions.
13560 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13561 test input.
13562 (llrint_test_data): Test for "inexact" exceptions.
13563 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13564 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13565 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13566 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13567 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13568 (llrint_downward_test_data): Test for "inexact" exceptions.
13569 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13570 (llrint_upward_test_data): Test for "inexact" exceptions.
13571 (logb_test_data): Likewise.
13572 (logb_downward_test_data): Likewise.
13573 (nextafter_test_data): Likewise.
13574 (nexttoward_test_data): Likewise.
13575 (remainder_test_data): Likewise.
13576 (remquo_test_data): Likewise.
13577 (scalbn_test_data): Likewise.
13578 (scalbln_test_data): Likewise.
13579 (signbit_test_data): Likewise.
13580 (sqrt_test_data): Likewise.
13581 (significand_test_data): Likewise.
13582
48a18de1
SP
135832013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13584
13585 [BZ #15424]
13586 * benchtests/bench-modf.c (struct args): Mark arg0 as
13587 volatile.
13588 * scripts/bench.pl: Mark members of struct args as volatile.
13589
13d3b41a
AZ
135902013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13591
68191c1d 13592 [BZ # 15497]
13d3b41a
AZ
13593 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13594 negative infinity on POWER6 or lower.
13595 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13596
2848b105
MR
135972013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13598
13599 [BZ #15442]
13600 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13601 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13602 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13603 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13604 (_FP_SETQNAN): New macro.
13605 (_FP_SETQNAN_SEMIRAW): Likewise.
13606 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13607 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13608 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13609 (FP_EXTEND): Use _FP_FRAC_SNANP.
13610 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13611 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13612 into account.
13613 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13614 New macro.
13615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13616 Likewise.
13617
323e5cb7
JM
136182013-05-16 Joseph Myers <joseph@codesourcery.com>
13619
c58b274f
JM
13620 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13621 with DIVIDE_BY_ZERO_EXCEPTION.
13622 (gamma_test_data): Likewise.
13623 (lgamma_test_data): Likewise.
13624 (log_test_data): Likewise.
13625 (log10_test_data): Likewise.
13626 (log2_test_data): Likewise.
13627 (tgamma_test_data): Likewise.
13628
0ab34904
JM
13629 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13630 (acos_test_tonearest): Likewise.
13631 (acos_test_towardzero): Likewise.
13632 (acos_test_downward): Likewise.
13633 (acos_test_upward): Likewise.
13634 (acosh_test): Likewise.
13635 (asin_test): Likewise.
13636 (asin_test_tonearest): Likewise.
13637 (asin_test_towardzero): Likewise.
13638 (asin_test_downward): Likewise.
13639 (asin_test_upward): Likewise.
13640 (asinh_test): Likewise.
13641 (atan_test): Likewise.
13642 (atanh_test): Likewise.
13643 (atan2_test): Likewise.
13644 (cabs_test): Likewise.
13645 (cacos_test): Likewise.
13646 (cacosh_test): Likewise.
13647 (casin_test): Likewise.
13648 (casinh_test): Likewise.
13649 (catan_test): Likewise.
13650 (catanh_test): Likewise.
13651 (cbrt_test): Likewise.
13652 (ccos_test): Likewise.
13653 (ccosh_test): Likewise.
13654 (cexp_test): Likewise.
13655 (clog_test): Likewise.
13656 (clog10_test): Likewise.
13657 (cos_test): Likewise.
13658 (cos_test_tonearest): Likewise.
13659 (cos_test_towardzero): Likewise.
13660 (cos_test_downward): Likewise.
13661 (cos_test_upward): Likewise.
13662 (cosh_test): Likewise.
13663 (cosh_test_tonearest): Likewise.
13664 (cosh_test_towardzero): Likewise.
13665 (cosh_test_downward): Likewise.
13666 (cosh_test_upward): Likewise.
13667 (cpow_test): Likewise.
13668 (csin_test): Likewise.
13669 (csinh_test): Likewise.
13670 (csqrt_test): Likewise.
13671 (ctan_test): Likewise.
13672 (ctan_test_tonearest): Likewise.
13673 (ctan_test_towardzero): Likewise.
13674 (ctan_test_downward): Likewise.
13675 (ctan_test_upward): Likewise.
13676 (ctanh_test): Likewise.
13677 (ctanh_test_tonearest): Likewise.
13678 (ctanh_test_towardzero): Likewise.
13679 (ctanh_test_downward): Likewise.
13680 (ctanh_test_upward): Likewise.
13681 (erf_test): Likewise.
13682 (erfc_test): Likewise.
13683 (exp_test): Likewise.
13684 (exp_test_tonearest): Likewise.
13685 (exp_test_towardzero): Likewise.
13686 (exp_test_downward): Likewise.
13687 (exp_test_upward): Likewise.
13688 (exp10_test): Likewise.
13689 (exp2_test): Likewise.
13690 (expm1_test): Likewise.
13691 (fmod_test): Likewise.
13692 (gamma_test): Likewise.
13693 (hypot_test): Likewise.
13694 (j0_test): Likewise.
13695 (j1_test): Likewise.
13696 (jn_test): Likewise.
13697 (lgamma_test): Likewise.
13698 (log_test): Likewise.
13699 (log10_test): Likewise.
13700 (log1p_test): Likewise.
13701 (log2_test): Likewise.
13702 (logb_test_downward): Likewise.
13703 (pow_test): Likewise.
13704 (pow_test_tonearest): Likewise.
13705 (pow_test_towardzero): Likewise.
13706 (pow_test_downward): Likewise.
13707 (pow_test_upward): Likewise.
13708 (remainder_test): Likewise.
13709 (remquo_test): Likewise.
13710 (sin_test): Likewise.
13711 (sin_test_tonearest): Likewise.
13712 (sin_test_towardzero): Likewise.
13713 (sin_test_downward): Likewise.
13714 (sin_test_upward): Likewise.
13715 (sincos_test): Likewise.
13716 (sinh_test): Likewise.
13717 (sinh_test_tonearest): Likewise.
13718 (sinh_test_towardzero): Likewise.
13719 (sinh_test_downward): Likewise.
13720 (sinh_test_upward): Likewise.
13721 (sqrt_test): Likewise.
13722 (tan_test): Likewise.
13723 (tan_test_tonearest): Likewise.
13724 (tan_test_towardzero): Likewise.
13725 (tan_test_downward): Likewise.
13726 (tan_test_upward): Likewise.
13727 (tanh_test): Likewise.
13728 (tgamma_test): Likewise.
13729 (y0_test): Likewise.
13730 (y1_test): Likewise.
13731 (yn_test): Likewise.
13732
323e5cb7
JM
13733 * math/gen-libm-test.pl (adjust_arg): Remove function.
13734 (special_function): Remove argument $in_func. Only handle
13735 generating output for tables of tests, not inside functions.
13736 (parse_args): Likewise.
13737 (generate_testfile): Remove variable $in_func. Update call to
13738 parse_args.
13739 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13740 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13741 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13742 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13743 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13744 (MAX_VALUE_INIT): Rename macro to max_value.
13745 (MIN_VALUE_INIT): Rename macro to min_value.
13746 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13747 (plus_zero): Remove variable.
13748 (minus_zero): Likewise.
13749 (plus_infty): Likewise.
13750 (minus_infty): Likewise.
13751 (qnan_value): Likewise.
13752 (max_value): Likewise.
13753 (min_value): Likewise.
13754 (min_subnorm_value): Likewise.
13755
e054f494
RA
137562013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13757
13758 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13759 uint64_t or uint32_t usage.
13760 * crypt/sha256-block.c: Likewise.
13761 * crypt/sha256-crypt.c: Likewise.
13762 * crypt/sha256.c: Likewise.
13763 * crypt/sha512-block.c: Likewise.
13764 * crypt/sha512-crypt.c: Likewise.
13765 * crypt/sha512.c: Likewise.
13766 * debug/backtrace-tst.c: Likewise.
13767 * debug/pcprofiledump.c: Likewise.
13768 * elf/cache.c: Likewise.
13769 * elf/dl-cache.c: Likewise.
13770 * elf/dl-misc.c: Likewise.
13771 * elf/dl-profile.c: Likewise.
13772 * elf/dl-support.c: Likewise.
13773 * elf/ldconfig.c: Likewise.
13774 * elf/sprof.c: Likewise.
13775 * iconv/dummy-repertoire.c: Likewise.
13776 * iconv/iconv_charmap.c: Likewise.
13777 * iconv/skeleton.c: Likewise.
13778 * iconvdata/8bit-generic.c: Likewise.
13779 * iconvdata/cp737.h: Likewise.
13780 * iconvdata/cp775.h: Likewise.
13781 * iconvdata/ibm1008.h: Likewise.
13782 * iconvdata/ibm1025.h: Likewise.
13783 * iconvdata/ibm1046.h: Likewise.
13784 * iconvdata/ibm1097.h: Likewise.
13785 * iconvdata/ibm1112.h: Likewise.
13786 * iconvdata/ibm1122.h: Likewise.
13787 * iconvdata/ibm1123.h: Likewise.
13788 * iconvdata/ibm1124.h: Likewise.
13789 * iconvdata/ibm1129.h: Likewise.
13790 * iconvdata/ibm1130.h: Likewise.
13791 * iconvdata/ibm1132.h: Likewise.
13792 * iconvdata/ibm1133.h: Likewise.
13793 * iconvdata/ibm1137.h: Likewise.
13794 * iconvdata/ibm1140.h: Likewise.
13795 * iconvdata/ibm1141.h: Likewise.
13796 * iconvdata/ibm1142.h: Likewise.
13797 * iconvdata/ibm1143.h: Likewise.
13798 * iconvdata/ibm1144.h: Likewise.
13799 * iconvdata/ibm1145.h: Likewise.
13800 * iconvdata/ibm1146.h: Likewise.
13801 * iconvdata/ibm1147.h: Likewise.
13802 * iconvdata/ibm1148.h: Likewise.
13803 * iconvdata/ibm1149.h: Likewise.
13804 * iconvdata/ibm1153.h: Likewise.
13805 * iconvdata/ibm1154.h: Likewise.
13806 * iconvdata/ibm1155.h: Likewise.
13807 * iconvdata/ibm1156.h: Likewise.
13808 * iconvdata/ibm1157.h: Likewise.
13809 * iconvdata/ibm1158.h: Likewise.
13810 * iconvdata/ibm1160.h: Likewise.
13811 * iconvdata/ibm1161.h: Likewise.
13812 * iconvdata/ibm1162.h: Likewise.
13813 * iconvdata/ibm1163.h: Likewise.
13814 * iconvdata/ibm1164.h: Likewise.
13815 * iconvdata/ibm1166.h: Likewise.
13816 * iconvdata/ibm1167.h: Likewise.
13817 * iconvdata/ibm12712.h: Likewise.
13818 * iconvdata/ibm1390.h: Likewise.
13819 * iconvdata/ibm1399.h: Likewise.
13820 * iconvdata/ibm16804.h: Likewise.
13821 * iconvdata/ibm4517.h: Likewise.
13822 * iconvdata/ibm4899.h: Likewise.
13823 * iconvdata/ibm4909.h: Likewise.
13824 * iconvdata/ibm4971.h: Likewise.
13825 * iconvdata/ibm5347.h: Likewise.
13826 * iconvdata/ibm803.h: Likewise.
13827 * iconvdata/ibm856.h: Likewise.
13828 * iconvdata/ibm901.h: Likewise.
13829 * iconvdata/ibm902.h: Likewise.
13830 * iconvdata/ibm9030.h: Likewise.
13831 * iconvdata/ibm9066.h: Likewise.
13832 * iconvdata/ibm921.h: Likewise.
13833 * iconvdata/ibm922.h: Likewise.
13834 * iconvdata/ibm9448.h: Likewise.
13835 * iconvdata/isiri-3342.h: Likewise.
13836 * iconvdata/jis0201.h: Likewise.
13837 * include/link.h: Likewise.
13838 * include/netdb.h: Likewise.
13839 * inet/check_native.c: Likewise.
13840 * inet/check_pf.c: Likewise.
13841 * inet/getipv4sourcefilter.c: Likewise.
13842 * inet/getnameinfo.c: Likewise.
13843 * inet/getsourcefilter.c: Likewise.
13844 * inet/htonl.c: Likewise.
13845 * inet/setipv4sourcefilter.c: Likewise.
13846 * inet/setsourcefilter.c: Likewise.
13847 * inet/test-inet6_opt.c: Likewise.
13848 * inet/tst-network.c: Likewise.
13849 * locale/C-collate.c: Likewise.
13850 * locale/C-ctype.c: Likewise.
13851 * locale/C-time.c: Likewise.
13852 * locale/C-translit.h: Likewise.
13853 * locale/loadarchive.c: Likewise.
13854 * locale/programs/3level.h: Likewise.
13855 * locale/programs/charmap.c: Likewise.
13856 * locale/programs/charmap.h: Likewise.
13857 * locale/programs/ld-address.c: Likewise.
13858 * locale/programs/ld-collate.c: Likewise.
13859 * locale/programs/ld-ctype.c: Likewise.
13860 * locale/programs/ld-identification.c: Likewise.
13861 * locale/programs/ld-measurement.c: Likewise.
13862 * locale/programs/ld-messages.c: Likewise.
13863 * locale/programs/ld-monetary.c: Likewise.
13864 * locale/programs/ld-name.c: Likewise.
13865 * locale/programs/ld-numeric.c: Likewise.
13866 * locale/programs/ld-paper.c: Likewise.
13867 * locale/programs/ld-telephone.c: Likewise.
13868 * locale/programs/ld-time.c: Likewise.
13869 * locale/programs/linereader.c: Likewise.
13870 * locale/programs/locale.c: Likewise.
13871 * locale/programs/locarchive.c: Likewise.
13872 * locale/programs/locfile.h: Likewise.
13873 * locale/programs/repertoire.c: Likewise.
13874 * locale/programs/simple-hash.c: Likewise.
13875 * locale/programs/simple-hash.h: Likewise.
13876 * malloc/memusage.c: Likewise.
13877 * malloc/memusagestat.c: Likewise.
13878 * nis/nis_defaults.c: Likewise.
13879 * nis/nis_hash.c: Likewise.
13880 * nis/nis_print.c: Likewise.
13881 * nis/nis_xdr.c: Likewise.
13882 * nscd/connections.c: Likewise.
13883 * nscd/hstcache.c: Likewise.
13884 * nscd/nscd_gethst_r.c: Likewise.
13885 * nscd/nscd_getserv_r.c: Likewise.
13886 * nscd/nscd_helper.c: Likewise.
13887 * nscd/servicescache.c: Likewise.
13888 * nss/makedb.c: Likewise.
13889 * nss/nss_db/db-XXX.c: Likewise.
13890 * nss/nss_db/db-initgroups.c: Likewise.
13891 * nss/nss_db/db-netgrp.c: Likewise.
13892 * nss/nss_files/files-network.c: Likewise.
13893 * nss/nss_files/files-parse.c: Likewise.
13894 * posix/bug-regex5.c: Likewise.
13895 * posix/fnmatch_loop.c: Likewise.
13896 * posix/regcomp.c: Likewise.
13897 * posix/regexec.c: Likewise.
13898 * posix/tst-rfc3484-2.c: Likewise.
13899 * posix/tst-rfc3484-3.c: Likewise.
13900 * posix/tst-rfc3484.c: Likewise.
13901 * resolv/nss_dns/dns-canon.c: Likewise.
13902 * resolv/nss_dns/dns-network.c: Likewise.
13903 * resolv/res_init.c: Likewise.
13904 * resolv/res_mkquery.c: Likewise.
13905 * resolv/tst-aton.c: Likewise.
13906 * stdlib/cxa_atexit.c: Likewise.
13907 * stdlib/cxa_finalize.c: Likewise.
13908 * stdlib/gen-fpioconst.c: Likewise.
13909 * stdlib/strtol_l.c: Likewise.
13910 * string/tst-endian.c: Likewise.
13911 * sunrpc/auth_des.c: Likewise.
13912 * sunrpc/clnt_udp.c: Likewise.
13913 * sunrpc/rtime.c: Likewise.
13914 * sunrpc/svcauth_des.c: Likewise.
13915 * sunrpc/xdr.c: Likewise.
13916 * sunrpc/xdr_intXX_t.c: Likewise.
13917 * sunrpc/xdr_rec.c: Likewise.
13918 * sysdeps/generic/ldconfig.h: Likewise.
13919 * sysdeps/generic/ldsodefs.h: Likewise.
13920 * sysdeps/generic/memusage.h: Likewise.
13921 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13924 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13931 * sysdeps/posix/getaddrinfo.c: Likewise.
13932 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13934 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13935 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13936 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13937 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13938 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13939 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13940 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13942 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13943 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13944 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13945 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13946 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13947 * sysdeps/x86_64/dl-tls.h: Likewise.
13948 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13949 * time/alt_digit.c: Likewise.
13950 * time/era.c: Likewise.
13951 * wcsmbs/tst-c16c32-1.c: Likewise.
13952
8c75f674
JM
139532013-05-16 Joseph Myers <joseph@codesourcery.com>
13954
13955 * math/libm-test.inc (struct test_sincos_data): New type.
13956 (RUN_TEST_LOOP_sincos): New macro.
13957 (sincos_test_data): New variable.
13958 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13959
e6e49e59
RH
139602013-05-16 Richard Henderson <rth@redhat.com>
13961
13962 * math/atest-exp2.c (LIMB64): New macro.
13963 (CONSTSZ): New macro.
13964 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13965 (hexdig): Move ...
13966 (print_mpn_fp): ... to function scope.
13967 (read_mpn_hex): Remove.
13968 (get_log2): Remove.
13969 (exp2_mpn): Use mp_log2.
13970 (main): Use mp_exp1.
13971
15c7c18d
JM
139722013-05-16 Joseph Myers <joseph@codesourcery.com>
13973
105a07df
JM
13974 * math/libm-test.inc: Remove comment about not testing "inexact"
13975 exceptions.
13976 (INEXACT_EXCEPTION): New macro.
13977 (NO_INEXACT_EXCEPTION): Likewise.
13978 (INVALID_EXCEPTION_OK): Update value.
13979 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13980 (OVERFLOW_EXCEPTION_OK): Likewise.
13981 (UNDERFLOW_EXCEPTION_OK): Likewise.
13982 (IGNORE_ZERO_INF_SIGN): Likewise.
13983 (ERRNO_UNCHANGED): Likewise.
13984 (ERRNO_EDOM): Likewise.
13985 (ERRNO_ERANGE): Likewise.
13986 (test_exceptions): Handle testing "inexact" exceptions.
13987 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13988 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13989 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13990 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13991 INEXACT_EXCEPTION.
13992 (rint_towardzero_test_data): Likewise.
13993 (rint_downward_test_data): Likewise.
13994 (rint_upward_test_data): Likewise.
13995
e9eee333
JM
13996 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13997 with OVERFLOW_EXCEPTION.
13998 (exp10_test_data): Likewise.
13999 (exp2_test_data): Likewise.
14000 (expm1_test_data): Likewise.
14001 (lgamma_test_data): Likewise.
14002 (pow_test_data): Likewise.
14003 (tgamma_test_data): Likewise.
14004 (yn_test_data): Remove duplicate test of overflow.
14005
1c38ff73
JM
14006 * math/libm-test.inc (struct test_cc_c_data): New type.
14007 (RUN_TEST_LOOP_cc_c): New macro.
14008 (cpow_test_data): New variable.
14009 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14010
15c7c18d
JM
14011 * math/libm-test.inc (struct test_f_L_data): New type.
14012 (RUN_TEST_LOOP_f_L): New macro.
14013 (llrint_test_data): New variable.
14014 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14015 (llrint_tonearest_test_data): New variable.
14016 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14017 (llrint_towardzero_test_data): New variable.
14018 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14019 (llrint_downward_test_data): New variable.
14020 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14021 (llrint_upward_test_data): New variable.
14022 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14023 (llround_test_data): New variable.
14024 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14025
f137ff13
PC
140262013-05-13 Peter Collingbourne <pcc@google.com>
14027
14028 * math/atest-exp2.c (get_log2): Remove const attribute.
14029
3608cb24
JM
140302013-05-15 Joseph Myers <joseph@codesourcery.com>
14031
14032 * math/libm-test.inc (struct test_f_l_data): New type.
14033 (RUN_TEST_LOOP_f_l): New macro.
14034 (lrint_test_data): New variable.
14035 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14036 (lrint_tonearest_test_data): New variable.
14037 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14038 (lrint_towardzero_test_data): New variable.
14039 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14040 (lrint_downward_test_data): New variable.
14041 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14042 (lrint_upward_test_data): New variable.
14043 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14044 (lround_test_data): New variable.
14045 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14046
39b1f617
PC
140472013-05-15 Peter Collingbourne <pcc@google.com>
14048
1deff3dc
PC
14049 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14050 (EXTRACT_WORDS64) Use where appropriate.
14051 (INSERT_WORDS64) Likewise.
14052
791f3ba0
PC
14053 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14054 constraints with x constraints.
14055 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14056
39b1f617
PC
14057 * malloc/obstack.c (_obstack_compat): Add initializer.
14058
12fba011
EM
140592013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14060
14061 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14062 si_trapno and add si_addr_lsb to _sifields.sigfault.
14063 (si_trapno): Remove macro.
14064 (si_addr_lsb): Define new macro.
14065 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14066
d369f531
JM
140672013-05-15 Joseph Myers <joseph@codesourcery.com>
14068
b861c6c4
JM
14069 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14070 instead of TEST_f_l.
14071 (llrint_test_tonearest): Likewise.
14072 (llrint_test_towardzero): Likewise.
14073 (llrint_test_downward): Likewise.
14074 (llrint_test_upward): Likewise.
14075 (llround_test): Likewise.
14076
7abeee12
JM
14077 * math/libm-test.inc (struct test_f_i_data): Add comment.
14078 (RUN_TEST_LOOP_f_b): New macro.
14079 (RUN_TEST_LOOP_f_b_tg): Likewise.
14080 (finite_test_data): New variable.
14081 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14082 (isfinite_test_data): New variable.
14083 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14084 (isinf_test_data): New variable.
14085 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14086 (isnan_test_data): New variable.
14087 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14088 (isnormal_test_data): New variable.
14089 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14090 (issignaling_test_data): New variable.
14091 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14092 (signbit_test_data): New variable.
14093 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14094
cbe8c4d3
JM
14095 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14096 with INVALID_EXCEPTION.
14097 (acosh_test_data): Likewise.
14098 (asin_test_data): Likewise.
14099 (atanh_test_data): Likewise.
14100 (fmod_test_data): Likewise.
14101 (log_test_data): Likewise.
14102 (log10_test_data): Likewise.
14103 (log2_test_data): Likewise.
14104 (pow_test_data): Likewise.
14105 (sqrt_test_data): Likewise.
14106 (y0_test_data): Likewise.
14107 (y1_test_data): Likewise.
14108 (yn_test_data): Likewise.
14109
5575c0e5
JM
14110 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14111 function contents.
14112
d369f531
JM
14113 * math/libm-test.inc (struct test_ff_i_data): New type.
14114 (RUN_TEST_LOOP_ff_i_tg): New macro.
14115 (isgreater_test_data): New variable.
14116 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14117 (isgreaterequal_test_data): New variable.
14118 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14119 (isless_test_data): New variable.
14120 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14121 (islessequal_test_data): New variable.
14122 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14123 (islessgreater_test_data): New variable.
14124 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14125 (isunordered_test_data): New variable.
14126 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14127
781fd748
DM
141282013-05-14 David S. Miller <davem@davemloft.net>
14129
14130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14131
87aa21df
JM
141322013-05-14 Joseph Myers <joseph@codesourcery.com>
14133
5e908270
JM
14134 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14135
f71172e5
JM
14136 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14137 extra_test to int.
14138 (struct test_f_i_data): Change type of max_ulp to int.
14139
8cfa635a
JM
14140 * math/libm-test.inc (test_ffI_f1_data): New type.
14141 (RUN_TEST_LOOP_ffI_f1): New macro.
14142 (remquo_test_data): New variable.
14143 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14144
2bcb36b2
JM
14145 * setjmp/tst-setjmp-fp.c: New file.
14146 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14147 (link-libm): New variable.
14148 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14149
acbd839a
JM
14150 * math/libm-test.inc (struct test_f_i_data): New type.
14151 (RUN_TEST_LOOP_f_i): New macro.
14152 (RUN_TEST_LOOP_f_i_tg): Likewise.
14153 (fpclassify_test_data): New variable.
14154 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14155 (ilogb_test_data): New variable.
14156 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14157
e414d745
JM
14158 * math/libm-test.inc (scalbln_test): Correct function name in END
14159 call.
14160
d9c2a0fd
JM
14161 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14162 (RUN_TEST_LOOP_fI_f1): New macro.
14163 (frexp_test_data): New variable.
14164 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14165
9dc9095d
JM
14166 * math/libm-test.inc (struct test_fF_f1_data): New type.
14167 (RUN_TEST_LOOP_fF_f1): New macro.
14168 (modf_test_data): New variable.
14169 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14170
87aa21df
JM
14171 * math/libm-test.inc (struct test_f_f1_data): New type.
14172 (RUN_TEST_LOOP_f_f1): New macro.
14173 (gamma_test_data): New variable.
14174 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14175 (lgamma_test_data): New variable.
14176 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14177
141af660
CD
141782013-05-13 Carlos O'Donell <carlos@redhat.com>
14179
14180 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14181 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14182 (main): Comment "tls" pseudo-hwcap.
14183
6d33265c
JM
141842013-05-13 Joseph Myers <joseph@codesourcery.com>
14185
68fc074c
JM
14186 * math/libm-test.inc (struct test_fl_f_data): New type.
14187 (RUN_TEST_LOOP_fl_f): New variable.
14188 (scalbln_test_data): New variable.
14189 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14190
243216e1
JM
14191 * math/libm-test.inc (struct test_fi_f_data): New type.
14192 (RUN_TEST_LOOP_fi_f): New macro.
14193 (ldexp_test_data): New variable.
14194 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14195 (scalbn_test_data): New variable.
14196 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14197
6a1992e2
JM
14198 * math/libm-test.inc (struct test_c_f_data): New type.
14199 (RUN_TEST_LOOP_c_f): New macro.
14200 (cabs_test_data): New variable.
14201 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14202 (carg_test_data): New variable.
14203 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14204 (cimag_test_data): New variable.
14205 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14206 (creal_test_data): New variable.
14207 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14208
0e400df5
JM
14209 * math/libm-test.inc (struct test_if_f_data): New type.
14210 (RUN_TEST_LOOP_if_f): New macro.
14211 (jn_test_data): New variable.
14212 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14213 (yn_test_data): New variable.
14214 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14215
6d33265c
JM
14216 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14217
f98ece5f
AZ
142182013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14219
14220 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14221 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14222
0f7d347b
SP
142232013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14224
43fe811b
SP
14225 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14226 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14227 (bench-deps): Add bench-timing.h.
14228 * benchtests-bench-skeleton.c: Include bench-timing.h.
14229 (main): Use TIMING_* macros instead of clock_gettime.
14230 * benchtests/bench-timing.h: New file.
14231
0f7d347b
SP
14232 [BZ #14582]
14233 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14234 Renamed from _LIB_VERSION.
14235 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14236
601a3a5f
JM
142372013-05-12 Joseph Myers <joseph@codesourcery.com>
14238
4f184d30
JM
14239 * math/libm-test.inc (struct test_fff_f_data): New type.
14240 (RUN_TEST_LOOP_fff_f): New macro.
14241 (fma_test_data): New variable.
14242 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14243 (fma_towardzero_test_data): New variable.
14244 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14245 (fma_downward_test_data): New variable.
14246 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14247 (fma_upward_test_data): New variable.
14248 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14249
08198877
JM
14250 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14251 (struct test_c_c_data): New type.
14252 (RUN_TEST_LOOP_c_c): New macro.
14253 (cacos_test_data): New variable.
14254 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14255 (cacosh_test_data): New variable.
14256 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14257 (casin_test_data): New variable.
14258 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14259 (casinh_test_data): New variable.
14260 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14261 (catan_test_data): New variable.
14262 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14263 (catanh_test_data): New variable.
14264 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14265 (ccos_test_data): New variable.
14266 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14267 (ccosh_test_data): New variable.
14268 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14269 (cexp_test_data): New variable.
14270 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14271 (clog_test_data): New variable.
14272 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14273 (clog10_test_data): New variable.
14274 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14275 (conj_test_data): New variable.
14276 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14277 (cproj_test_data): New variable.
14278 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14279 (csin_test_data): New variable.
14280 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14281 (csinh_test_data): New variable.
14282 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14283 (csqrt_test_data): New variable.
14284 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14285 (ctan_test_data): New variable.
14286 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14287 (ctan_tonearest_test_data): New variable.
14288 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14289 (ctan_towardzero_test_data): New variable.
14290 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14291 (ctan_downward_test_data): New variable.
14292 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14293 (ctan_upward_test_data): New variable.
14294 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14295 (ctanh_test_data): New variable.
14296 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14297 (ctanh_tonearest_test_data): New variable.
14298 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14299 (ctanh_towardzero_test_data): New variable.
14300 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14301 (ctanh_downward_test_data): New variable.
14302 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14303 (ctanh_upward_test_data): New variable.
14304 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14305 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14306 of BUILD_COMPLEX.
14307
601a3a5f
JM
14308 * math/libm-test.inc (struct test_ff_f_data): New type.
14309 (struct test_ff_f_data_nexttoward): Likewise.
14310 (RUN_TEST_LOOP_2_f): New macro.
14311 (RUN_TEST_LOOP_ff_f): Likewise.
14312 (atan2_test_data): New variable.
14313 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14314 (copysign_test_data): New variable.
14315 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14316 (fdim_test_data): New variable.
14317 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14318 (fmax_test_data): New variable.
14319 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14320 (fmin_test_data): New variable.
14321 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14322 (fmod_test_data): New variable.
14323 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14324 (hypot_test_data): New variable.
14325 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14326 (nextafter_test_data): New variable.
14327 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14328 (nexttoward_test_data): New variable.
14329 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14330 (pow_test_data): New variable.
14331 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14332 (pow_tonearest_test_data): New variable.
14333 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14334 (pow_towardzero_test_data): New variable.
14335 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14336 (pow_downward_test_data): New variable.
14337 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14338 (pow_upward_test_data): New variable.
14339 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14340 (remainder_test_data): New variable.
14341 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14342 (scalb_test_data): New variable.
14343 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14344 * sysdeps/i386/fpu/libm-test-ulps: Update.
14345
74c57478
JM
143462013-05-11 Joseph Myers <joseph@codesourcery.com>
14347
8329e4da
JM
14348 * math/libm-test.inc (fma_test): Use max_value instead of local
14349 variable fltmax.
14350 (nextafter_test): Likewise.
14351
74c57478
JM
14352 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14353 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14354 (acos_downward_test_data): New variable.
14355 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14356 (acos_upward_test_data): New variable.
14357 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14358 (acosh_test_data): New variable.
14359 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14360 (asin_test_data): New variable.
14361 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14362 (asin_tonearest_test_data): New variable.
14363 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14364 (asin_towardzero_test_data): New variable.
14365 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14366 (asin_downward_test_data): New variable.
14367 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14368 (asin_upward_test_data): New variable.
14369 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14370 (asinh_test_data): New variable.
14371 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14372 (atan_test_data): New variable.
14373 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14374 (atanh_test_data): New variable.
14375 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14376 (cbrt_test_data): New variable.
14377 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14378 (ceil_test_data): New variable.
14379 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14380 (cos_test_data): New variable.
14381 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14382 (cos_tonearest_test_data): New variable.
14383 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14384 (cos_towardzero_test_data): New variable.
14385 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14386 (cos_downward_test_data): New variable.
14387 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14388 (cos_upward_test_data): New variable.
14389 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14390 (cosh_test_data): New variable.
14391 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14392 (cosh_tonearest_test_data): New variable.
14393 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14394 (cosh_towardzero_test_data): New variable.
14395 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14396 (cosh_downward_test_data): New variable.
14397 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14398 (cosh_upward_test_data): New variable.
14399 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14400 (erf_test_data): New variable.
14401 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14402 (erfc_test_data): New variable.
14403 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14404 (exp_test_data): New variable.
14405 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14406 (exp_tonearest_test_data): New variable.
14407 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14408 (exp_towardzero_test_data): New variable.
14409 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14410 (exp_downward_test_data): New variable.
14411 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14412 (exp_upward_test_data): New variable.
14413 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14414 (exp10_test_data): New variable.
14415 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14416 (exp2_test_data): New variable.
14417 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14418 (expm1_test_data): New variable.
14419 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14420 (fabs_test_data): New variable.
14421 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14422 (floor_test_data): New variable.
14423 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14424 (j0_test_data): New variable.
14425 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14426 (j1_test_data): New variable.
14427 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14428 (log_test_data): New variable.
14429 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14430 (log10_test_data): New variable.
14431 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14432 (log1p_test_data): New variable.
14433 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14434 (log2_test_data): New variable.
14435 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14436 (logb_test_data): New variable.
14437 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14438 (logb_downward_test_data): New variable.
14439 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14440 (nearbyint_test_data): New variable.
14441 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14442 (rint_test_data): New variable.
14443 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14444 (rint_tonearest_test_data): New variable.
14445 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14446 (rint_towardzero_test_data): New variable.
14447 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14448 (rint_downward_test_data): New variable.
14449 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14450 (rint_upward_test_data): New variable.
14451 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14452 (round_test_data): New variable.
14453 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14454 (sin_test_data): New variable.
14455 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14456 (sin_tonearest_test_data): New variable.
14457 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14458 (sin_towardzero_test_data): New variable.
14459 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14460 (sin_downward_test_data): New variable.
14461 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14462 (sin_upward_test_data): New variable.
14463 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14464 (sinh_test_data): New variable.
14465 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14466 (sinh_tonearest_test_data): New variable.
14467 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14468 (sinh_towardzero_test_data): New variable.
14469 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14470 (sinh_downward_test_data): New variable.
14471 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14472 (sinh_upward_test_data): New variable.
14473 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14474 (sqrt_test_data): New variable.
14475 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14476 (tan_test_data): New variable.
14477 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14478 (tan_tonearest_test_data): New variable.
14479 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14480 (tan_towardzero_test_data): New variable.
14481 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14482 (tan_downward_test_data): New variable.
14483 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14484 (tan_upward_test_data): New variable.
14485 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14486 (tanh_test_data): New variable.
14487 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14488 (tgamma_test_data): New variable.
14489 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14490 (trunc_test_data): New variable.
14491 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14492 (y0_test_data): New variable.
14493 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14494 (y1_test_data): New variable.
14495 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14496 (significand_test_data): New variable.
14497 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14498
7187d844
CG
144992013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14500
14501 [BZ #12387]
14502 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14503
f63fae73
PT
145042013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14505
14506 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14507
8a67a4b3
AJ
145082013-05-10 Andreas Jaeger <aj@suse.de>
14509
14510 [BZ #15448]
14511 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14512 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14513
51df539d
JM
145142013-05-10 Joseph Myers <joseph@codesourcery.com>
14515
14516 * math/gen-libm-test.pl (adjust_arg): New function.
14517 (special_functions): Handle generating output in both functions
14518 and arrays.
14519 (parse_args): Likewise.
14520 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14521 $in_func argument to parse_args.
14522 * math/libm-test.inc (struct test_f_f_data): New type.
14523 (IF_ROUND_INIT_): New macro.
14524 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14525 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14526 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14527 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14528 (ROUND_RESTORE_): Likewise.
14529 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14530 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14531 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14532 (ROUND_RESTORE_FE_UPWARD): Likewise.
14533 (RUN_TEST_LOOP_f_f): New macro.
14534 (acos_test_data): New variable.
14535 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14536 (acos_tonearest_test_data): New variable.
14537 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14538
5c637fe5
SP
145392013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14540
14541 * benchtests/bench-skeleton.c (startup): Fix coding style.
14542
ab2b9461
JM
145432013-05-10 Joseph Myers <joseph@codesourcery.com>
14544
14545 [BZ #6809]
14546 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14547 negative infinity argument.
14548 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14549 negative infinity argument.
14550 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14551 negative infinity argument.
14552 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14553 domain errors.
14554
4c0fe6fe
FW
145552013-05-10 Florian Weimer <fweimer@redhat.com>
14556
14557 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14558 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14559 * iconv/iconv_prog.c (main): Likewise.
14560 * locale/programs/charmap-dir.c (charmap_readdir)
14561 (fopen_uncompressed): Likewise.
14562 * locale/programs/locfile.c (siblings_uncached)
14563 (write_locale_data): Use lstat64 instead of lstat.
14564 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14565 stat.
14566
a3375d29
AJ
145672013-05-10 Andreas Jaeger <aj@suse.de>
14568
14569 [BZ #15395]
14570 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14571 localization.
14572 Include <locale.h>.
14573
36129722
CD
145742013-05-09 Carlos O'Donell <carlos@redhat.com>
14575
14576 * elf/dl-close.c (_dl_close_worker): Add comments.
14577
faa7f811
JM
145782013-05-09 Joseph Myers <joseph@codesourcery.com>
14579
ed41ffef
JM
14580 [BZ #15359]
14581 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14582 high part of pi/2.
14583 (__ieee754_rem_pio2l): Update comments.
14584
d0213cd0
JM
14585 [BZ #15429]
14586 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14587 high part of pi/2.
14588 (__ieee754_rem_pio2l): Update comments.
14589
0d3e777a
JM
14590 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14591 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14592
24f56066
JM
14593 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14594 M_PI_4l.
14595
faa7f811
JM
14596 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14597 (M_PI_34_LOG10El): Likewise.
14598 (M_PI2_LOG10El): Likewise.
14599 (M_PI4_LOG10El): Likewise.
14600 (M_PI_LOG10El): Likewise.
14601
e9a5e0fd
AZ
146022013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14603
14604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14605
d8cd06db
JM
146062013-05-08 Joseph Myers <joseph@codesourcery.com>
14607
a0d9f9d7
JM
14608 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14609 (MINUS_ZERO_INIT): Likewise.
14610 (PLUS_INFTY_INIT): Likewise.
14611 (MINUS_INFTY_INIT): Likewise.
14612 (QNAN_VALUE_INIT): Likewise.
14613 (MAX_VALUE_INIT): Likewise.
14614 (MIN_VALUE_INIT): Likewise.
14615 (MIN_SUBNORM_VALUE_INIT): Likewise.
14616 (plus_zero): Initialize with PLUS_ZERO_INIT.
14617 (minus_zero): Initialize with MINUS_ZERO_INIT.
14618 (plus_infty): Initialize with PLUS_INFTY_INIT.
14619 (minus_infty): Initialize with MINUS_INFTY_INIT.
14620 (qnan_value): Initialize with QNAN_VALUE_INIT.
14621 (max_value): Initialize with MAX_VALUE_INIT.
14622 (min_value): Initialize with MIN_VALUE_INIT.
14623 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14624
ae08db3b
JM
14625 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14626 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14627 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14628 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14629
f44bf14a
JM
14630 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14631 (RUN_TEST_2_f): Likewise.
14632 (RUN_TEST_ff_f): Likewise.
14633 (RUN_TEST_fi_f): Likewise.
14634 (RUN_TEST_fl_f): Likewise.
14635 (RUN_TEST_fff_f): Likewise.
14636 (RUN_TEST_c_f): Likewise.
14637 (RUN_TEST_f_f1): Likewise.
14638 (RUN_TEST_fF_f1): Likewise.
14639 (RUN_TEST_fI_f1): Likewise.
14640 (RUN_TEST_ffI_f1): Likewise.
14641 (RUN_TEST_c_c): Likewise.
14642 (RUN_TEST_cc_c): Likewise.
14643 (RUN_TEST_f_i): Likewise.
14644 (RUN_TEST_f_i_tg): Likewise.
14645 (RUN_TEST_ff_i_tg): Likewise.
14646 (RUN_TEST_f_b): Likewise.
14647 (RUN_TEST_f_b_tg): Likewise.
14648 (RUN_TEST_f_l): Likewise.
14649 (RUN_TEST_f_L): Likewise.
14650 (RUN_TEST_sincos): Likewise.
14651 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14652 whether to show exceptions. Do not include ");\n" in return
14653 value.
14654 (special_functions): Output call to RUN_TEST_sincos instead of
14655 check_float calls. Update calls to new_test.
14656 (parse_args): Output call to single RUN_TEST_* macro instead of
14657 check_* calls and other assignments. Update calls to new_test.
14658
d8cd06db
JM
14659 [BZ #2546]
14660 [BZ #2560]
14661 [BZ #5159]
14662 [BZ #15426]
14663 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14664 input to result for tgamma overflow.
14665 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14666 (gamma_coeff): New variable.
14667 (NCOEFF): New macro.
14668 (gamma_positive): New function.
14669 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14670 underflow here. Use gamma_positive instead of exp (lgamma) for
14671 other arguments.
14672 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14673 (gamma_coeff): New variable.
14674 (NCOEFF): New macro.
14675 (gammaf_positive): New function.
14676 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14677 underflow here. Use gamma_positive instead of exp (lgamma) for
14678 other arguments.
14679 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14680 (gamma_coeff): New variable.
14681 (NCOEFF): New macro.
14682 (gammal_positive): New function.
14683 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14684 underflow here. Use gamma_positive instead of exp (lgamma) for
14685 other arguments.
14686 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14687 (gamma_coeff): New variable.
14688 (NCOEFF): New macro.
14689 (gammal_positive): New function.
14690 (__ieee754_gammal_r): Handle positive infinity, overflow and
14691 underflow here. Handle NaN the same as positive infinity. Remove
14692 check x < 0xffffffff for negative integers. Use gamma_positive
14693 instead of exp (lgamma) for other arguments.
14694 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14695 (gamma_coeff): New variable.
14696 (NCOEFF): New macro.
14697 (gammal_positive): New function.
14698 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14699 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14703 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14704 * sysdeps/generic/math_private.h (__gamma_productf): New
14705 prototype.
14706 (__gamma_product): Likewise.
14707 (__gamma_productl): Likewise.
14708 * math/Makefile (libm-calls): Add gamma_product.
14709 * math/libm-test.inc (tgamma_test): Add more tests.
14710 * sysdeps/i386/fpu/libm-test-ulps: Update.
14711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14712
bb7cf681
OB
147132013-05-08 Ondřej Bílka <neleai@seznam.cz>
14714
14715 * benchtests/bench-skeleton.c (main): Preheat CPU.
14716
ba853947
AJ
147172013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14718
14719 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14720
8347c74c
RM
147212013-05-07 Roland McGrath <roland@hack.frob.com>
14722
14723 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14724 and _dl_skip_args_internal.
14725
e8dd4791
CD
147262013-05-07 Carlos O'Donell <carlos@redhat.com>
14727
14728 * manual/message.texi (Message Translation): Talk about users.
14729 Message to key mapping impacts design.
14730
c7405830
RM
147312013-05-06 Roland McGrath <roland@hack.frob.com>
14732
a9173057
RM
14733 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14734
976e2f03
RM
14735 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14736
9723ffc5
RM
14737 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14738 * sysdeps/wordsize-64/glob64.c: ... here.
14739
962e6658
RM
14740 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14741 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14742 New macros.
14743
ee586a6d
RM
14744 * debug/getlogin_r_chk.c: Moved to ...
14745 * login/getlogin_r_chk.c: ... here.
14746 * debug/Makefile (routines): Move getlogin_r_chk to ...
14747 * login/Makefile (routines): ... here.
14748 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14749 * login/Versions (libc: GLIBC_2.4): ... here.
14750
355f9165
RM
14751 * io/poll.c (__poll): Renamed from poll.
14752 Add libc_hidden_def.
14753 (poll): Define as weak alias.
14754
bd9ffde6
RM
14755 * debug/ptsname_r_chk.c: Moved to ...
14756 * login/ptsname_r_chk.c: ... here.
14757 * debug/Makefile (routines): Move ptsname_r_chk to ...
14758 * login/Makefile (routines): ... here.
14759 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14760 * login/Versions (libc: GLIBC_2.4): ... here.
14761
8fb16a04
RM
14762 * posix/getlogin.c: Moved to ...
14763 * login/getlogin.c: ... here.
14764 * posix/getlogin_r.c: Moved to ...
14765 * login/getlogin_r.c: ... here.
14766 * posix/getlogin_r.c: Moved to ...
14767 * login/getlogin_r.c: ... here.
14768 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14769 * login/Makefile (routines): ... here.
14770 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14771 * login/Versions (libc: GLIBC_2.0): ... here.
14772
b99b892f
RM
14773 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14774 (setrlimit): Define as weak alias.
14775
c7405830
RM
14776 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14777 Call __ names for open, ftruncate, and close.
14778 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14779 (truncate): Define as weak alias.
14780
5bf96de5
JM
147812013-05-06 Joseph Myers <joseph@codesourcery.com>
14782
9ea3513c
JM
14783 * math/gen-libm-test.pl (parse_args): Initialize x before each
14784 test of frexp, modf and remquo.
14785
5bf96de5
JM
14786 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14787 test signgam value.
14788
16e616a7
AZ
147892013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14790
14791 [BZ #15418]
14792 [BZ #15419]
14793 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14794 internal tests.
14795 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14796
d5e82754
RM
147972013-05-06 Roland McGrath <roland@hack.frob.com>
14798
14799 * elf/dl-writev.h: New file.
14800 * elf/dl-misc.c: Include it.
14801 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14802 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14803
a7548d41
JM
148042013-05-04 Joseph Myers <joseph@codesourcery.com>
14805
b7dab1e4
JM
14806 * math/libm-test.inc (noXFails): Remove variable.
14807 (noXPasses): Likewise.
14808 (BUILD_COMPLEX_INT): Remove macro.
14809 (print_screen): Remove xfail argument.
14810 (print_screen_max_error): Likewise.
14811 (update_stats): Likewise.
14812 (print_max_error): Likewise. Update calls to other affected
14813 functions.
14814 (print_complex_max_error): Likewise.
14815 (test_single_exception): Update calls to print_screen.
14816 (test_single_errno): Likewise.
14817 (check_float_internal): Remove xfail argument. Update calls to
14818 other affected functions.
14819 (check_float): Likewise.
14820 (check_complex): Likewise.
14821 (check_int): Likewise.
14822 (check_long): Likewise.
14823 (check_bool): Likewise.
14824 (check_longlong): Likewise.
14825 (main): Don't print noXFails and noXPasses.
14826 * math/gen-libm-test.pl (top level): Don't mention expected
14827 failure handling in comment.
14828 (new_test): Don't handle expected failures.
14829 (parse_args): Don't mention expected failure handling in comment.
14830 (generate_testfile): Don't handle expected failures.
14831 (parse_ulps): Likewise.
14832 (print_ulps_file): Likewise.
14833 (get_failure): Remove function.
14834 (output_test): Don't handle expected failures.
14835 * make/README.libm-test: Don't mention expected failure handling.
14836
a7548d41
JM
14837 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14838 (minus_zero): Likewise.
14839 (plus_infty): Likewise.
14840 (minus_infty): Likewise.
14841 (qnan_value): Likewise.
14842 (max_value): Likewise.
14843 (min_value): Likewise.
14844 (min_subnorm_value): Likewise.
14845 (initialize): Do not initialize those variables dynamically.
14846
60bfd54c
RM
148472013-05-03 Roland McGrath <roland@hack.frob.com>
14848
cc0e6ed8
RM
14849 * io/open.c (__open_2): Moved to ...
14850 * io/open_2.c: ... this new file.
14851 * io/open64.c (__open64_2): Moved to ...
14852 * io/open64_2.c: ... this new file.
14853 * io/openat.c (__openat_2): Moved to ...
14854 * io/openat_2.c: ... this new file.
14855 * io/openat64.c (__openat64_2): Moved to ...
14856 * io/openat64_2.c: ... this new file.
14857 * io/Makefile (routines): Add them.
14858 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14859 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14860 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14861 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14862 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14863 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14864 (__openat64): Add hidden_ver.
14865 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14866 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14867
60bfd54c
RM
14868 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14869 Separately conditionalize setting of GLRO(dl_sysinfo) so
14870 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14871 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14872
83e7640f
AZ
148732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14874
14875 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14876 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14877 definition.
14878 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14879 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14880 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14881 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14882 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14883
d5dc2af3
JM
148842013-05-03 Joseph Myers <joseph@codesourcery.com>
14885
c31a5b1e
JM
14886 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14887 test signgam value.
14888
d5dc2af3
JM
14889 * math/libm-test.inc (hypot_test): Do not use
14890 IGNORE_ZERO_INF_SIGN.
14891
164fd39d
AJ
148922013-05-03 Andreas Jaeger <aj@suse.de>
14893
14894 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14895 Linux 3.9.
14896 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14897 (PF_MAX): Adjust for VSOCK change.
14898
8237f48c
AZ
148992013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14900
14901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14902
9df02941
CD
149032013-05-02 Carlos O'Donell <carlos@redhat.com>
14904
14905 [BZ #15264]
14906 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14907 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14908 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14909
d422395e
DM
149102013-05-02 David S. Miller <davem@davemloft.net>
14911
14912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14913
a07c5731
OB
149142013-05-01 Ondřej Bílka <neleai@seznam.cz>
14915
14916 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14917
1324e37f
RM
149182013-05-01 Roland McGrath <roland@hack.frob.com>
14919
14920 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14921
0695940b
RS
149222013-05-01 Richard Smith <richard@metafoo.co.uk>
14923
bb5f27ad 14924 [BZ #14952]
0695940b
RS
14925 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14926 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14927 Use __attribute__ ((__gnu_inline__)).
14928 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14929 Don't use __attribute__ ((__gnu_inline__)).
14930
10de07f5
JM
149312013-05-01 Joseph Myers <joseph@codesourcery.com>
14932
14933 [BZ #15423]
14934 * math/s_catan.c (__catan): Handle small real or imaginary part of
14935 input specially to avoid spurious underflow.
14936 * math/s_catanf.c (__catanf): Likewise.
14937 * math/s_catanh.c (__catanh): Likewise.
14938 * math/s_catanhf.c (__catanhf): Likewise.
14939 * math/s_catanhl.c (__catanhl): Likewise.
14940 * math/s_catanl.c (__catanl): Likewise.
14941 * math/libm-test.inc (catan_test): Add more tests.
14942 (catanh_test): Likewise.
14943 * sysdeps/i386/fpu/libm-test-ulps: Update.
14944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14945
cb4d5414
AZ
149462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14947
14948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14949
caf84319
JM
149502013-04-30 Joseph Myers <joseph@codesourcery.com>
14951
14952 [BZ #15416]
14953 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14954 accurately for denominator in atan2.
14955 * math/s_catanf.c (__catanf): Likewise.
14956 * math/s_catanh.c (__catanh): Likewise.
14957 * math/s_catanhf.c (__catanhf): Likewise.
14958 * math/s_catanhl.c (__catanhl): Likewise.
14959 * math/s_catanl.c (__catanl): Likewise.
14960 * math/libm-test.inc (catan_test): Add more tests.
14961 (catanh_test): Likewise.
14962 * sysdeps/i386/fpu/libm-test-ulps: Update.
14963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14964
d569c6ee
SP
149652013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14966
6dbe713d
SP
14967 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14968
f0ee064b
SP
14969 * benchtests/Makefile (bench): Remove slow benchmarks.
14970 * benchtests/atan-inputs: Add slow benchmark inputs.
14971 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14972 (BENCH_FUNC): Accept variant offset.
14973 (VARIANT): Define.
14974 * benchtests/bench-skeleton.c (main): Run benchmark for each
14975 variant.
14976 * benchtests/cos-inputs: Add slow benchmark inputs.
14977 * benchtests/exp-inputs: Likewise.
14978 * benchtests/pow-inputs: Likewise.
14979 * benchtests/sin-inputs: Likewise.
14980 * benchtests/slowatan-inputs: Remove.
14981 * benchtests/slowatan.c: Remove.
14982 * benchtests/slowcos-inputs: Remove.
14983 * benchtests/slowcos.c: Remove.
14984 * benchtests/slowexp-inputs: Remove.
14985 * benchtests/slowexp.c: Remove.
14986 * benchtests/slowpow-inputs: Remove.
14987 * benchtests/slowpow.c: Remove.
14988 * benchtests/slowsin-inputs: Remove.
14989 * benchtests/slowsin.c: Remove.
14990 * benchtests/slowtan-inputs: Remove.
14991 * benchtests/slowtan.c: Remove.
14992 * benchtests/tan-inputs: Add slow benchmark inputs.
14993 * scripts/bench.pl: Parse comments and directives.
14994
d569c6ee
SP
14995 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14996 in CPPFLAGS.
14997 ($(objpfx)bench-%.c): Remove *-ITER.
14998 * benchtests/bench-modf.c: Remove definition of ITER.
14999 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15000 (main): Loop for DURATION seconds instead of fixed number of
15001 iterations.
15002 * scripts/bench.pl: Don't expect iterations in parameters.
15003
a6a242fe
RM
150042013-04-29 Roland McGrath <roland@hack.frob.com>
15005
15006 * io/fchdir.c (__fchdir): Renamed from fchdir.
15007 (fchdir): Define as weak alias.
15008
f2da7793
JM
150092013-04-29 Joseph Myers <joseph@codesourcery.com>
15010
15011 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15012 (ERRNO_EDOM): Likewise.
15013 (ERRNO_ERANGE): Likewise.
15014 (noErrnoTests): New variable.
15015 (init_max_error): Set errno to 0.
15016 (test_single_errno): New function.
15017 (test_errno): Likewise.
15018 (check_float_internal): Call test_errno. Set errno to 0.
15019 (check_complex): Refer to errno tests in comment.
15020 (check_int): Call test_errno. Set errno to 0.
15021 (check_long): Likewise.
15022 (check_bool): Likewise.
15023 (check_longlong): Likewise.
15024 (cos_test): Use ERRNO_* flags for errno tests instead of
15025 check_int.
15026 (expm1_test): Likewise.
15027 (fmod_test): Likewise.
15028 (ilogb_test): Likewise.
15029 (lgamma_test): Likewise.
15030 (pow_test): Likewise.
15031 (remainder_test): Likewise.
15032 (sin_test): Likewise.
15033 (tan_test): Likewise.
15034 (yn_test): Likewise.
15035 (initialize): Set errno to 0.
15036 (main): Print number of errno tests.
15037 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15038
b1a36ceb
AJ
150392013-04-29 Andreas Jaeger <aj@suse.de>
15040
c3ed8088
AJ
15041 [BZ #15084]
15042 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15043 and RES_USEVC.
15044
f1a24198
AJ
15045 [BZ #15085]
15046 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15047 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15048 unimplemented.
15049
9ce3b2cb
AJ
15050 [BZ #15380]
15051 * stdlib/random.c (__initstate): Return NULL if
15052 __initstate fails.
15053
f1a24198 15054 [BZ #15086]
b1a36ceb
AJ
15055 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15056 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15057 RES_SNGLKUPREOP.
15058
7e7b6f36
AZ
150592013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15060
15061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15062
4d14f449
JM
150632013-04-29 Joseph Myers <joseph@codesourcery.com>
15064
15065 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15066 of individual tests.
15067 (casin_test): Likewise.
15068 (casinh_test): Likewise.
15069
5b4217d7
JM
150702013-04-27 Joseph Myers <joseph@codesourcery.com>
15071
15072 [BZ #15409]
15073 * math/s_catan.c (__catan): Handle arguments with large real or
15074 imaginary part separately without squaring.
15075 * math/s_catanf.c (__catanf): Likewise.
15076 * math/s_catanh.c (__catanh): Likewise.
15077 * math/s_catanhf.c (__catanhf): Likewise.
15078 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15079 and redefine.
15080 (__catanhl): Handle arguments with large real or imaginary part
15081 separately without squaring.
15082 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15083 and redefine.
15084 (__catanl): Handle arguments with large real or imaginary part
15085 separately without squaring.
15086 * math/libm-test.inc (catan_test): Add more tests.
15087 (catanh_test): Likewise.
15088 * sysdeps/i386/fpu/libm-test-ulps: Update.
15089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15090
4220c3ef
AJ
150912013-04-27 Andreas Jaeger <aj@suse.de>
15092
15093 [BZ #15007]
15094 * stdlib/stdlib.h: Update guards for qecvt.
15095 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15096 <stdlib.h>.
15097
4721b2d1
AM
150982013-04-27 Allan McRae <allan@archlinux.org>
15099
15100 * sysdeps/i386/fpu/libm-test-ulps: Update.
15101
f0302940
JM
151022013-04-26 Joseph Myers <joseph@codesourcery.com>
15103
9457fd95
JM
15104 [BZ #15406]
15105 * math/s_catan.c: Include <float.h>.
15106 (__catan): Ensure underflow exception occurs for underflowed
15107 result.
15108 * math/s_catanf.c: Include <float.h>.
15109 (__catanf): Ensure underflow exception occurs for underflowed
15110 result.
15111 * math/s_catanh.c: Include <float.h>.
15112 (__catanh): Ensure underflow exception occurs for underflowed
15113 result.
15114 * math/s_catanhf.c: Include <float.h>.
15115 (__catanhf): Ensure underflow exception occurs for underflowed
15116 result.
15117 * math/s_catanhl.c: Include <float.h>.
15118 (__catanhl): Ensure underflow exception occurs for underflowed
15119 result.
15120 * math/s_catanl.c: Include <float.h>.
15121 (__catanl): Ensure underflow exception occurs for underflowed
15122 result.
15123 * math/libm-test.inc (catan_test): Add more tests.
15124 (catanh_test): Likewise.
15125
f0302940
JM
15126 [BZ #15405]
15127 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15128 underflowed result.
15129 * math/s_ccoshf.c (__ccoshf): Likewise.
15130 * math/s_ccoshl.c (__ccoshl): Likewise.
15131 * math/s_csin.c (__csin): Likewise.
15132 * math/s_csinf.c (__csinf): Likewise.
15133 * math/s_csinh.c (__csinh): Likewise.
15134 * math/s_csinhf.c (__csinhf): Likewise.
15135 * math/s_csinhl.c (__csinhl): Likewise.
15136 * math/s_csinl.c (__csinl): Likewise.
15137 * math/libm-test.inc (ccos_test): Add more tests.
15138 (ccosh_test): Likewise.
15139 (csin_test): Likewise.
15140 (csinh_test): Likewise.
15141
aa630f59
AZ
151422013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15143
15144 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15145 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15146 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15147 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15148 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15149 powerpc/power5+/fpu folders.
15150 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15151
15152
1b835983
MT
151532013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15154
15155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15156
73709b26
JM
151572013-04-25 Joseph Myers <joseph@codesourcery.com>
15158
15159 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15160 additions to variable.
15161 [$(config-machine) = x86_64] (modules-names): Likewise.
15162 ($(objpfx)tst-audit3): Remove dependency.
15163 ($(objpfx)tst-audit3.out): Likewise.
15164 ($(objpfx)tst-audit4): Likewise.
15165 ($(objpfx)tst-audit4.out): Likewise.
15166 ($(objpfx)tst-audit5): Likewise.
15167 ($(objpfx)tst-audit5.out): Likewise.
15168 ($(objpfx)tst-audit6): Likewise.
15169 ($(objpfx)tst-audit6.out): Likewise.
15170 ($(objpfx)tst-audit7): Likewise.
15171 ($(objpfx)tst-audit7.out): Likewise.
15172 (tst-audit3-ENV): Remove variable.
15173 (tst-audit4-ENV): Likewise.
15174 (tst-audit5-ENV): Likewise.
15175 (tst-audit6-ENV): Likewise.
15176 (tst-audit7-ENV): Likewise.
15177 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15178 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15179 addition to variable.
15180 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15181 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15182 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15183 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15184 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15185 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15186 tst-audit3, tst-audit4 and tst-audit5.
15187 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15188 tst-audit6 and tst-audit7.
15189 [$(subdir) = elf] (modules-names): Add audit modules for those
15190 tests.
15191 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15192 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15193 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15194 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15195 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15196 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15197 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15198 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15199 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15200 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15201 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15202 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15203 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15204 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15205 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15206 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15207 Likewise.
15208 [$(subdir) = elf && $(config-cflags-avx) = yes]
15209 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15210 [$(subdir) = elf && $(config-cflags-avx) = yes]
15211 (CFLAGS-tst-auditmod4a.c): Likewise.
15212 [$(subdir) = elf && $(config-cflags-avx) = yes]
15213 (CFLAGS-tst-auditmod4b.c): Likewise.
15214 [$(subdir) = elf && $(config-cflags-avx) = yes]
15215 (CFLAGS-tst-auditmod6b.c): Likewise.
15216 [$(subdir) = elf && $(config-cflags-avx) = yes]
15217 (CFLAGS-tst-auditmod6c.c): Likewise.
15218 [$(subdir) = elf && $(config-cflags-avx) = yes]
15219 (CFLAGS-tst-auditmod7b.c): Likewise.
15220 * elf/tst-audit3.c: Move to ...
15221 * sysdeps/x86_64/tst-audit3.c: ... here.
15222 * elf/tst-audit4.c: Move to ...
15223 * sysdeps/x86_64/tst-audit4.c: ... here.
15224 * elf/tst-audit5.c: Move to ...
15225 * sysdeps/x86_64/tst-audit5.c: ... here.
15226 * elf/tst-audit6.c: Move to ...
15227 * sysdeps/x86_64/tst-audit6.c: ... here.
15228 * elf/tst-audit7.c: Move to ...
15229 * sysdeps/x86_64/tst-audit7.c: ... here.
15230 * elf/tst-auditmod3a.c: Move to ...
15231 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15232 * elf/tst-auditmod3b.c: Move to ...
15233 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15234 * elf/tst-auditmod4a.c: Move to ...
15235 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15236 * elf/tst-auditmod4b.c: Move to ...
15237 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15238 * elf/tst-auditmod5a.c: Move to ...
15239 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15240 * elf/tst-auditmod5b.c: Move to ...
15241 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15242 * elf/tst-auditmod6a.c: Move to ...
15243 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15244 * elf/tst-auditmod6b.c: Move to ...
15245 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15246 * elf/tst-auditmod6c.c: Move to ...
15247 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15248 * elf/tst-auditmod7a.c: Move to ...
15249 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15250 * elf/tst-auditmod7b.c: Move to ...
15251 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15252
1ef74943
PP
152532013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15254
15255 [BZ #15366]
15256 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15257 define unconditionally.
15258 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15259 define unconditionally.
15260 (INT8_C, INT16_C, etc.): Likewise.
15261
93fd48c5
MR
152622013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15263
ae9552cf
MR
15264 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15265 __ehdr_start with hidden visibility.
15266
93fd48c5
MR
15267 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15268
418601aa
CD
152692013-04-24 Carlos O'Donell <carlos@redhat.com>
15270
15271 * math/libm-test.inc (cos_test): Use accurate hex constants.
15272 (sincost_test): Likewise.
15273
2f38fbfe
JM
152742013-04-24 Joseph Myers <joseph@codesourcery.com>
15275
5e221800
JM
15276 * math/libm-test.inc (catan_test): Add more tests.
15277 (catanh_test): Likewise.
15278
77f143fd
JM
15279 * math/s_catanf.c (__catanf): Use suffixed floating-point
15280 constants.
15281 * math/s_catanhf.c (__catanhf): Likewise.
15282 * math/s_catanhl.c (__catanhl): Likewise.
15283 * math/s_catanl.c (__catanl): Likewise.
15284
2f38fbfe
JM
15285 [BZ #15394]
15286 * math/s_catan.c (__catan): Calculate imaginary part of result
15287 with log1p not log unless computing log of number close to 0.
15288 * math/s_catanf.c (__catanf): Likewise.
15289 * math/s_catanl.c (__catanl): Likewise.
15290 * math/s_catanh.c (__catanh): Calculate real part of result with
15291 log1p not log unless computing log of number close to 0.
15292 * math/s_catanhf.c (__catanhf): Likewise.
15293 * math/s_catanhl.c (__catanhl): Likewise.
15294 * math/libm-test.inc (catan_test): Add more tests.
15295 (catanh_test): Likewise.
15296 * sysdeps/i386/fpu/libm-test-ulps: Update.
15297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15298
45d69176
SP
152992013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15300
15301 * benchtests/Makefile: Mention files in which fast and slow
15302 paths of math functions are implemented.
15303
87f51853
RM
153042013-04-23 Roland McGrath <roland@hack.frob.com>
15305
15306 * sysdeps/posix/timespec_get.c: New file.
15307
3c026539
AZ
153082013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15309
15310 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15311 POWER.
15312 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15313 for POWER.
15314 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15315 powerpc/power5/fpu folders.
15316 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15317 * benchtests/Makefile: Add modf testcase.
15318 * benchtests/bench-modf.c: New file: Benchmark test for mo
15319
ff491d14
SP
153202013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15321
15322 [BZ #14888]
15323 * time/Makefile (tests): Add tst-strptime-whitespace.
15324 * time/strptime_l.c (get_number): Use ISSPACE.
15325 (__strptime_internal): Likewise.
15326 * time/tst-strptime-whitespace.c: New test case.
15327
7ed3f4e8
AS
153282013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15329
15330 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15331 member.
15332 (_nss_files_init): Set it here.
15333
5c95f7b6
HC
153342013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15335
15336 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15337 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15338 unsigned.
15339
d34c9158
JBG
153402013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15341
15342 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15343
2169712d
SP
153442013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15345
15346 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15347 size just once.
15348
29c5de99
DM
153492013-04-21 David S. Miller <davem@davemloft.net>
15350
15351 * po/ru.po: Update Russion translation from translation project.
15352
ccdad15d
AC
153532013-04-17 Adam Conrad <adconrad@0c3.net>
15354
15355 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15356 and setfsgid.
15357
0f122b8d
CD
153582013-04-17 Carlos O'Donell <carlos@redhat.com>
15359
5c5b07da 15360 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15361 * configure: Regenerate.
5c5b07da 15362 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15363 Add example to error message.
15364 * sysdeps/i386/configure: Regenerate.
15365
037714dd
SP
153662013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15367
15368 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15369 slowtan.
15370 * benchtests/cos-inputs: New file.
15371 * benchtests/slowcos-inputs: New file.
15372 * benchtests/slowcos.c: New file.
15373 * benchtests/slowtan-inputs: New file.
15374 * benchtests/slowtan.c: New file.
15375 * benchtests/tan-inputs: New file.
15376
e913141d
RM
153772013-04-16 Roland McGrath <roland@hack.frob.com>
15378
15379 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15380 considered kosher.
15381
a2964074
SP
153822013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15383
4856bcd2
SP
15384 * benchtests/Makefile: Include cppflags-iterator.mk to add
15385 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15386
a2964074
SP
15387 * Makefile.in (bench-clean): New target.
15388 * benchtests/Makefile (bench-clean): Likewise.
15389
9fbf9aca
DH
153902013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15391
15392 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15393
207d1e2a
TS
153942013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15395
15396 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15397
306dfba9
AS
153982013-04-15 Andreas Schwab <schwab@suse.de>
15399
15400 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15402 * nscd/pwdcache.c (cache_addpw): Likewise.
15403 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15404 more than recsize.
15405
206a6699
SP
154062013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15407
15408 * benchtests/Makefile (bench): Write all output to
15409 bench-out.tmp together.
15410
0582f6b3
AS
154112013-04-15 Andreas Schwab <schwab@suse.de>
15412
15413 * nscd/nscd.c (main): Don't fork again after closing files.
15414
acb4325f
SP
154152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15416
5cb26d0a
SP
15417 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15418
acb4325f
SP
15419 * benchtests/Rules (bench-deps): Collect dependencies into a
15420 single variable. Add Makefile to dependencies.
15421 ($(objpfx)bench-%.c): Depend on bench-deps.
15422
47792506
RM
154232013-04-12 Roland McGrath <roland@hack.frob.com>
15424 Xavier Roche <roche+kml2@exalead.com>
15425
15426 [BZ #15361]
15427 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15428 just that it's a file descriptor.
15429 * manual/llio.texi (Synchronizing AIO Operations): Update description
15430 for EBADF error from aio_fsync.
15431
8fc1bee5
SP
154322013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15433
15434 * Rules (bench): Move target definition...
15435 * benchtests/Makefile: ... here.
15436
aba5e333
CD
154372013-04-11 Carlos O'Donell <carlos@redhat.com>
15438
15439 * math/libm-test.inc (cos_test): Fix PI/2 test.
15440 (sincos_test): Likewise.
15441 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15442 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15443
273cdee8
AS
154442013-04-11 Andreas Schwab <schwab@suse.de>
15445
6ecec3b6
AS
15446 [BZ #13988]
15447 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15448 accept exponent character only when digits were seen.
15449 * stdio-common/Makefile (tests): Add bug26.
15450 * stdio-common/bug26.c: New file.
15451
273cdee8
AS
15452 [BZ #14293]
15453 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15454 non-freeable.
15455
8da491f5
SP
154562013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15457
01dc6df9
SP
15458 * Makeconfig (rtld-prefix): Define built linker prefix.
15459 * Rules (run-bench): Use it.
15460 * math/Makefile (run-regen-ulps): Likewise.
15461
8da491f5
SP
15462 * Rules (bench): Remove eval.
15463
abe7f530
SP
154642013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15465 Roland McGrath <roland@hack.frob.com>
15466 Ondrej Bilka <neleai@seznam.cz>
15467
15468 [BZ #15346]
15469 * time/getdate.c: Include ctype.h and alloca.h.
15470 (__getdate_r): Trim leading and trailing spaces of input.
15471 * time/tst-getdate.c (tests): Add tests with leading and
15472 trailing spaces.
15473
61c23e62
RM
154742013-04-08 Roland McGrath <roland@hack.frob.com>
15475
15476 [BZ #14280]
15477 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15478 when computing value.
15479
7208a313
CD
154802013-04-06 Carlos O'Donell <carlos@redhat.com>
15481
085b2d41
CD
15482 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15483 Use testrun.sh to run libm tests.
15484
7208a313
CD
15485 [BZ #15309]
15486 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15487
872c0acd
MM
154882013-04-06 Marko Myllynen <myllynen@redhat.com>
15489
15490 [BZ #15264]
15491 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15492
26510bdd
CD
154932013-04-06 Carlos O'Donell <carlos@redhat.com>
15494
15495 * Makefile.in (regen-ulps): New target.
15496 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15497 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15498 [ifneq (no,$(PERL)] (regen-ulps): New target.
15499 [ifeq (no,$(PERL)] (regen-ulps): New target.
15500 * math/libm-test.inc (ulps_file_name): Define.
15501 (output_dir): New variable.
15502 (options): Add "output-dir" option.
15503 (parse_opt): Handle 'o' case.
15504 (main): If output_dir is non-NULL use it as a prefix
15505 otherwise use "".
15506 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15507
a01f19c8
CD
155082013-04-06 Carlos O'Donell <carlos@redhat.com>
15509
15510 [BZ #10060, #10062]
15511 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15512 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15513 fail configure if __sync_val_compare_and_swap is not inlined.
15514 * sysdeps/i386/configure: Regenerate.
15515 * configure.in: Build for i686 when configured for i386.
15516 * configure: Regenerate.
15517 * README: Remove i386 reference.
15518
b7a329a5
CD
155192013-04-06 Carlos O'Donell <carlos@redhat.com>
15520
15521 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15523
bf0f50df
TS
155242013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15525
ee091edf
TS
15526 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15527 (lmsnanval): New variables.
15528 (F): Add conversion tests.
15529 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15530 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15531
a8b792d6
TS
15532 * stdio-common/tstdiomisc.c (F): Properly collect individual
15533 tests' results.
15534
a1cbf437
TS
15535 [BZ #14686, #15336]
15536 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15537 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15538 Instead, use input NaN values or generate a qNaN by arithmetic
15539 operation. Also fix bugs to comply with the standard.
15540 * math/libm-test.inc (remainder_test): Add more tests.
15541
8b43a0c9
TS
15542 [BZ #15335, #15342]
15543 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15545 input NaN values or generate a qNaN by arithmetic operation.
15546
d91da4ce
TS
15547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15548 unreachable code.
15549
bf0f50df
TS
15550 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15551 definitions.
15552
05e166c8
JM
155532013-04-03 Joseph Myers <joseph@codesourcery.com>
15554
15555 [BZ #14478]
15556 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15557 underflowed result.
15558 * math/s_cexpf.c (__cexpf): Likewise.
15559 * math/s_cexpl.c (__cexpl): Likewise.
15560 * math/libm-test.inc (cexp_test): Add more tests.
15561
1cef1b19
AS
155622013-04-03 Andreas Schwab <schwab@suse.de>
15563
15564 [BZ #15330]
15565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15566 order arrays from heap if bigger than alloca cutoff.
15567
74d87055
TS
155682013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15569
15570 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15571 (SNAN_TESTS_double): Refer to GCC PR56831.
15572 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15573 GCC PR56828.
15574
d755bba4
SP
155752013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15576
90d5d5bb
SP
15577 * Rules (bench): Move bench.out after the run is complete.
15578
73e0cd5d
SP
15579 * Rules (bench): Echo currently running benchmark.
15580
64aabd4b
SP
15581 * benchtests/Makefile (bench): Add atan and slowatan.
15582 * benchtests/atan-inputs: New file.
15583 * benchtests/slowatan-inputs: New file.
15584 * benchtests/slowatan.c: New file.
15585
c871eccd
SP
15586 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15588 its value.
15589
d755bba4
SP
15590 [BZ #15305]
15591 * sysdeps/unix/sysv/linux/kernel-features.h
15592 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15593 __ASSUME_XFS_RESTRICTED_CHOWN.
15594 * sysdeps/unix/sysv/linux/pathconf.c
15595 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15596 Save and restore errno.
15597
52ce4860
JM
155982013-04-02 Joseph Myers <joseph@codesourcery.com>
15599
15600 [BZ #15327]
15601 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15602 arguments using __kernel_casinh.
15603 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15604 arguments using __kernel_casinhf.
15605 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15606 arguments using __kernel_casinhl.
15607 * math/libm-test.inc (cacosh_test): Add more tests.
15608 * sysdeps/i386/fpu/libm-test-ulps: Update.
15609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15610
81f311c2
SP
156112013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15612
e7906a47
SP
15613 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15614 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15615
92e3664b
SP
15616 * bench/Makefile (bench): Add sin and slowsin.
15617 * benchtests/sin-inputs: New file.
15618 * benchtests/slowsin-inputs: New file.
15619 * benchtests/slowsin.c: New file.
15620
81f311c2
SP
15621 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15622 (bench): Add slowexp and slowpow.
15623 (exp-ITER): Increase iterations.
15624 (pow-ITER): Likewise.
15625 * benchtests/exp-inputs: Change input.
15626 * benchtests/pow-inputs: Likewise.
15627 * benchtests/slowexp-inputs: New file.
15628 * benchtests/slowexp.c: New file.
15629 * benchtests/slowpow-inputs: New file.
15630 * benchtests/slowpow.c: New file.
15631
ab0f1aa9
AZ
156322013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15633
15634 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15635 instructions.
15636 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15637 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15638 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15639 * benchtests/Makefile: Add rint benchtest.
15640 * benchtests/rint-inputs: Input for rint benchtest.
15641
57267616
TS
156422013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15643
15644 * Versions.def (libm): Add GLIBC_2.18.
15645 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15646 hidden libm prototypes.
15647 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15648 * math/Makefile (libm-calls): Add s_issignaling.
15649 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15650 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15651 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15652 declaration.
15653 * math/math.h [__USE_GNU] (issignaling): New macro.
15654 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15655 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15657 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15660 * manual/arith.texi (issignaling): New section.
15661 * manual/libm-err-tab.pl (@all_functions): Update comment.
15662 * math/gen-libm-test.pl (parse_args): Apply special handling for
15663 issignaling.
15664 * math/libm-test.inc (print_float, issignaling_test): New
15665 functions.
15666 (check_float_internal): Add issignaling checks.
15667 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15668 default definition.
15669 * sysdeps/powerpc/math-tests.h: New file.
15670 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15671 tests.
15672 * math/test-snan.c (TEST_FUNC): Likewise.
15673
6142896d
DM
156742013-03-30 David S. Miller <davem@davemloft.net>
15675
15676 * po/de.po: Update from translation team.
15677
ccc8cadf
JM
156782013-03-30 Joseph Myers <joseph@codesourcery.com>
15679
15680 [BZ #10357]
15681 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15682 imaginary part less than 1.0 and real part less than 0.5
15683 specially.
15684 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15685 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15686 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15687 (cacos_test): Add more tests.
15688 (casin_test): Likewise.
15689 (casinh_test): Likewise.
15690 * sysdeps/i386/fpu/libm-test-ulps: Update.
15691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15692
0f6a8d4b
SP
156932013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15694
0d1029de
SP
15695 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15696 ONE with its value.
15697
c2d94018
SP
15698 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15699 (__pow_mp): Replace ONE and MONE with their values.
15700 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15703 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15704 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15705 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15706
27ec37f1
SP
15707 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15708
a64d7e0e
SP
15709 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15710 (__pow_mp): Replace ZERO and MZERO with their values.
15711 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15712 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15713 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15715 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15716 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15717 (__sqr): Likewise.
15718
d26dd3eb
SP
15719 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15720
0f6a8d4b
SP
15721 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15722
e57b0c61
RM
157232013-03-28 Roland McGrath <roland@hack.frob.com>
15724
15725 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15726 Declare with __attribute__ ((weak)).
15727 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15728 Call __call_tls_dtors only if it's not NULL.
15729
356b3480
RM
157302013-03-28 Roland McGrath <roland@hack.frob.com>
15731
288f7d79
RM
15732 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15733 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15734 magic __ehdr_start linker symbol if it's defined.
15735 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15736 them up here if it was already done.
15737
dc0a0263
RM
15738 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15739 (_dl_aux_init): Use const in cast when setting it.
15740 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15741 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15742 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15743
3d3436ae
RM
15744 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15745 Declare them here.
15746 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15747 * csu/libc-tls.c: Nor here.
15748 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15749
356b3480
RM
15750 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15751 (__libc_message): Never call vsyslog.
15752
b0f1246a
AM
157532013-03-28 Alan Modra <amodra@gmail.com>
15754
15755 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15756 Define as empty.
15757 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15758 Likewise.
15759
fbbe2b9a
AZ
157602013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15761
15762 [BZ #15214]
15763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15764 underflow.
15765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15766
1728ab37
SP
157672013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15768
7a86be6e
SP
15769 [BZ #15304]
15770 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15771 Don't add gid passed as argument.
15772
1728ab37
SP
15773 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15774
3a7182a1
JM
157752013-03-27 Joseph Myers <joseph@codesourcery.com>
15776
15777 [BZ #15307]
15778 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15779 imaginary part between 1.0 and 1.5 and real part less than 0.5
15780 specially.
15781 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15782 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15783 * math/libm-test.inc (cacos_test): Add more tests.
15784 (casin_test): Likewise.
15785 (casinh_test): Likewise.
15786 * sysdeps/i386/fpu/libm-test-ulps: Update.
15787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15788
6f2e90e7
SP
157892013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15790
5739f705
SP
15791 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15792 constants.
15793 (norm): Likewise.
15794 (denorm): Likewise.
15795 (__dbl_mp): Likewise.
15796 (add_magnitudes): Likewise.
15797 (sub_magnitudes): Likewise.
15798 (__add): Likewise.
15799 (__sub): Likewise.
15800 (__mul): Likewise.
15801 (__sqr): Likewise.
15802 (__inv): Likewise.
15803 (__dvd): Likewise.
15804
e375e83d
SP
15805 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15806 commented code.
15807 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15808 (__dubcos): Likewise.
15809 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15810 (__ieee754_acos): Likewise.
15811 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15812 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15813 (__exp1): Likewise.
15814 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15816 (log1): Likewise.
15817 (my_log2): Likewise.
15818 (checkint): Likewise.
15819 * sysdeps/ieee754/dbl-64/e_remainder.c
15820 (__ieee754_remainder): Likewise.
15821 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15823 (bsloww): Likewise.
15824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15825
6f2e90e7
SP
15826 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15827 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15828 MANTISSA_STORE_T to store computations on mantissa. Use
15829 macros for rounding and division.
15830 (denorm): Likewise.
15831 (__dbl_mp): Likewise.
15832 (add_magnitudes): Likewise.
15833 (sub_magnitudes): Likewise.
15834 (__mul): Likewise.
15835 (__sqr): Likewise.
15836 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15837 powers of two in terms of TWOPOW macro.
15838 (mp_no): Make type of mantissa as MANTISSA_T.
15839 [!RADIXI]: Define RADIXI.
15840 [!TWO52]: Define TWO52.
15841 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15842
fce14d4e
AZ
158432013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15844
15845 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15846 llroundl symbol when building for PPC32.
15847
9ad027fb
MW
158482013-03-24 Mark H Weaver <mhw@netris.org>
15849
15850 * manual/arith.texi (Normalization Functions): Fix prototypes for
15851 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15852
e42a38dd
AZ
158532013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15854
15855 [BZ #13889]
15856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15857 high value to check if expl overflow.
15858 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15859 to check for underflow and overflow.
15860 * math/libm-test.inc: Add exp test.
15861
2e0fb521
DL
158622013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15863
15864 [BZ #11120]
15865 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15866 with NOT_IN_libc.
15867
b5784d95
AZ
158682013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15869
15870 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15871 symbol.
15872
5aa4a1a1
TS
158732013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15874
bdef0be7
TS
15875 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15876 wrap blocks consisting of several statements.
15877
5aa4a1a1
TS
15878 * sysdeps/generic/math-tests.h: New file.
15879 * sysdeps/i386/fpu/math-tests.h: Likewise.
15880 * math/test-snan.c: Include it.
15881 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15882
98c48fe5
JM
158832013-03-21 Joseph Myers <joseph@codesourcery.com>
15884
15885 [BZ #15285]
15886 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15887 (__ieee754_j0l): Do not improve calculations using cos of twice
15888 input for inputs above LDBL_MAX / 2.0L.
15889 (__ieee754_y0l): Likewise.
15890 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15891 (__ieee754_j1l): Do not improve calculations using cos of twice
15892 input for inputs above LDBL_MAX / 2.0L.
15893 (__ieee754_y1l): Likewise.
15894 * math/libm-test.inc (j0_test): Add another test.
15895 (j1_test): Likewise.
15896 (y0_test): Likewise.
15897 (y1_test): Likewise.
15898 * sysdeps/i386/fpu/libm-test-ulps: Update.
15899
3775a8bc
SP
159002013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15901
15902 * Rules ($(objpfx)bench-%.c): Include code from a C source
15903 file.
15904
0a1b2ae6
JM
159052013-03-21 Joseph Myers <joseph@codesourcery.com>
15906
15907 [BZ #15287]
15908 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15909 imaginary part 1.0 and real part less than 0.5 specially.
15910 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15911 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15912 * math/libm-test.inc (cacos_test): Add more tests.
15913 (casin_test): Likewise.
15914 (casinh_test): Likewise.
15915 * sysdeps/i386/fpu/libm-test-ulps: Update.
15916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15917
b33d4ce4
SP
159182013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15919
15920 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15921 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15922
bef0b507
JM
159232013-03-20 Joseph Myers <joseph@codesourcery.com>
15924
15925 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15926 * config.make.in (config-cflags-sse4): Remove variable.
15927 (config-cflags-avx): Likewise.
15928 (config-cflags-sse2avx): Likewise.
15929 (config-cflags-novzeroupper): Likewise.
15930 (config-asflags-i686): Likewise.
15931 (have-mfma4): Likewise.
15932 (have-as-vis3): Likewise.
15933 (MIG): Likewise.
15934 * configure.in (MIG): Do not AC_SUBST.
15935 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15936 (libc_cv_cc_sse4): Do not AC_SUBST.
15937 (libc_cv_cc_avx): Likewise.
15938 (libc_cv_cc_sse2avx): Likewise.
15939 (libc_cv_cc_novzeroupper): Likewise.
15940 (libc_cv_cc_fma4): Likewise.
15941 (libc_cv_as_i686): Likewise.
15942 (libc_cv_sparc_as_vis3): Likewise.
15943 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15944 LIBC_CONFIG_VAR.
15945 (config-asflags-i686): Likewise.
15946 (config-cflags-avx): Likewise.
15947 (config-cflags-sse2avx): Likewise.
15948 (have-mfma4): Likewise.
15949 (config-cflags-novzeroupper): Likewise.
15950 * sysdeps/mach/configure.in (MIG): Likewise.
15951 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15952 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15953 LIBC_CONFIG_VAR.
15954 (config-cflags-avx): Likewise.
15955 (config-cflags-sse2avx): Likewise.
15956 (have-mfma4): Likewise.
15957 (config-cflags-novzeroupper): Likewise.
15958 * configure: Regenerated.
15959 * sysdeps/i386/configure: Likewise.
15960 * sysdeps/mach/configure: Likewise.
15961 * sysdeps/sparc/configure: Likewise.
15962 * sysdeps/x86_64/configure: Likewise.
15963
912cc4b3
RM
159642013-03-20 Roland McGrath <roland@hack.frob.com>
15965
15966 [BZ #14812]
15967 * locale/programs/localedef.c (options): Put N_ translation marker
15968 on argument names, not just descriptions.
15969
04eed2b0
MS
159702013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15971
15972 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15973
a065ceff
OB
159742013-03-20 Ondřej Bílka <neleai@seznam.cz>
15975
9bb2a810 15976 [BZ #14176]
a065ceff
OB
15977 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15978
a600e5ce
RM
159792013-03-19 Roland McGrath <roland@hack.frob.com>
15980
15981 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15982 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15983 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15984 [!BEFORE_ABORT] (before_abort): New function.
15985 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15986 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15987 (writev_for_fatal): New function.
15988 (WRITEV_FOR_FATAL): New macro; call that.
15989 (backtrace_and_maps): New function.
15990 (BEFORE_ABORT): New macro; call that.
15991 (struct str_list): Type removed.
15992 (__libc_message, __libc_fatal): Functions removed.
15993 Include <sysdeps/posix/libc_fatal.c> instead.
15994
6b18bea6
JM
159952013-03-19 Joseph Myers <joseph@codesourcery.com>
15996
15997 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15998 constants.
15999 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16000 double constants.
16001
aaa8cb4b
AS
160022013-03-19 Andreas Schwab <schwab@suse.de>
16003
44673770
AS
16004 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16005 * sysdeps/gnu/configure: Regenerate.
16006
aaa8cb4b
AS
16007 * configure.in: Substitute libc_cv_rtlddir.
16008 * configure: Regenerate.
16009 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16010 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16011 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16012 * elf/Makefile (install-others, CFLAGS-interp.c)
16013 (ldso_install, common-ldd-rewrite): Likewise.
16014 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16015 $(inst_slibdir)/$(rtld-installed-name).
16016 * scripts/rellns-sh: Add -p option.
16017 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16018 for source.
16019
d3cfc668
SP
160202013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16021
16022 * manual/nptl.texi: Renamed to ...
16023 * manual/threads.texi: ... this.
16024 * manual/Makefile (chapters): Update.
16025
0e2b9cdd
RM
160262013-03-18 Roland McGrath <roland@hack.frob.com>
16027
16028 [BZ #14812]
16029 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16030 on argument names, not just descriptions.
0e2b9cdd
RM
16031 * malloc/memusagestat.c (options): Likewise.
16032 * nss/getent.c (options): Likewise.
63270c24
RM
16033
160342013-03-18 Benno Schulenberg <bensberg@justemail.net>
16035
16036 [BZ #14812]
16037 * iconv/iconv_prog.c (options): Put N_ translation marker
16038 on argument names, not just descriptions.
16039 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16040
b2e1393c
OB
160412013-03-18 Ondrej Bilka <neleai@seznam.cz>
16042
16043 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16044 implementation which is faster on all x86_64 architectures.
16045 Tested on AMD, Intel Nehalem, SNB, IVB.
16046 * sysdeps/x86_64/strnlen.S: Likewise.
16047
16048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16049 Remove all multiarch strlen and strnlen versions.
16050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16051 Remove strlen and strnlen related parts.
16052
16053 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16054 Inline strlen part.
16055 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16056
16057 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16058 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16059 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16060 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16061 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16062 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16063
ec4ff04d
CD
160642013-03-17 Carlos O'Donell <carlos@redhat.com>
16065
16066 * manual/memory.texi (Malloc Tunable Parameters):
16067 Sort parameters alphabetically. Add comments for missing entries.
16068
cd18e90a
DM
160692013-03-17 David S. Miller <davem@davemloft.net>
16070
16071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16072
2a185d32
JM
160732013-03-16 Joseph Myers <joseph@codesourcery.com>
16074
d2f9799e
JM
16075 [BZ #15283]
16076 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16077 for arguments at most half maximum finite value.
16078 * math/libm-test.inc (j0_test): Add more tests.
16079 (j1_test): Likewise.
16080 (y0_test): Likewise.
16081 (y1_test): Likewise.
16082 * sysdeps/i386/fpu/libm-test-ulps: Update.
16083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16084
2a185d32
JM
16085 [BZ #14155]
16086 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16087 1 / x and functions P and Q for arguments above 0x1p256L.
16088 (__ieee754_y0l): Likewise.
16089 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16090 (__ieee754_y1l): Likewise.
16091 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16092 (j1_test): Likewise.
16093 (y0_test): Likewise.
16094 (y1_test): Likewise.
16095
6cbec759
TS
160962013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16097
16098 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16099 variable.
16100
bc16e260
RM
161012013-03-15 Roland McGrath <roland@hack.frob.com>
16102
aefc9b8c
RM
16103 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16104 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16105 zero since it's initialized to EXEC_PAGESIZE.
16106
bc16e260
RM
16107 * sysdeps/unix/sysv/linux/ldsodefs.h
16108 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16109 * sysdeps/generic/ldsodefs.h: ... here.
16110
a57da955
TS
161112013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16112
af00a34d
TS
16113 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16114
495ded2c
TS
16115 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16116 math/test-snan.c.
16117 * math/test-snan.c: Renamed from
16118 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16119 * math/Makefile (tests): Add test-snan.
16120 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16121 test-powerpc-snan.
16122
777b0332
TS
16123 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16124 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16125 functions.
16126 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16127 __builtin_nan family of functions.
16128 * math/libm-test.inc (initialize): Initialize qnan_value with
16129 __builtin_nan family of functions.
16130 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16131 Remove variables.
16132 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16133 Remove functions.
16134 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16135 storage class. Initialize qNaN_var and sNaN_var with
16136 __builtin_nan and __builtin_nans families of functions,
16137 respectively.
16138
64d063b8
TS
16139 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16140 (sqrt_test): Remove duplicate test with qNaN input.
16141 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16142 (round_test, signbit_test, significand_test): Note missing +/-Inf
16143 as well as qNaN tests.
16144
67e971f1
TS
16145 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16146 qNaN_var. Fix a few strings, too.
16147 * math/libm-test.inc (nan_value): Rename to qnan_value.
16148 * math/gen-libm-test.pl (%beautify): Adjust to that.
16149 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16150 * math/test-misc.c (main): Likewise.
16151 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16152 to __qnan_bytes, and __qnan_union, respectively.
16153 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16154 Likewise.
16155 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16156 and lqnanval, respectively.
16157 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16158 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16159 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16160 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16161
64487e12
TS
16162 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16163 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16164 doubles.
16165
e015e27b
TS
16166 * math/test-misc.c (main): Fix copy'n'pastos.
16167 * misc/tst-efgcvt.c (special): Likewise.
16168
a57da955
TS
16169 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16170 Remove declarations.
16171
1e380345
SP
161722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16173
16174 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16175 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16176 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16177 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16178
ef26eece
AZ
161792013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16180
16181 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16182 macro to return vdso values correctly in IFUNC implementations.
16183 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16184 Optimization by using IFUNC.
16185
8cfdb7e0
SP
161862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16187 Richard Henderson <rth@redhat.com>
16188 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16189
16190 * Makefile.in (bench): New target.
16191 * NEWS: Mention the benchmark framework.
16192 * Rules (bench): Likewise.
16193 (binaries-bench): Generate binaries for functions to
16194 benchmark.
16195 * benchtests/Makefile: New makefile for benchmark tests.
16196 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16197 programs.
16198 * benchtests/exp-inputs: New input file for EXP function.
16199 * benchtests/pow-inputs: New input file for POW function.
16200 * scripts/bench.pl: New script to generate source files for
16201 benchmark programs.
16202
bcda9880
SP
162032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16204
d22ca8cd
SP
16205 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16206 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16207 computations on mantissa. Use macros for rounding and
16208 division.
16209 (denorm): Likewise.
16210 (__dbl_mp): Likewise.
16211 (add_magnitudes): Likewise.
16212 (sub_magnitudes): Likewise.
16213 (__mul): Likewise.
16214 (__sqr): Likewise.
16215 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16216 powers of two in terms of TWOPOW macro.
16217 (mp_no): Make type of mantissa as MANTISSA_T.
16218 [!RADIXI]: Define RADIXI.
16219 [!TWO52]: Define TWO52.
16220 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16221
bcda9880
SP
16222 * manual/nptl.texi (cindex): Modify threads to pthreads.
16223
06d5adfb
JM
162242013-03-15 Joseph Myers <joseph@codesourcery.com>
16225
16226 * sysdeps/x86_64/preconfigure: Regenerated.
16227
41c7328e
JM
162282013-03-14 Joseph Myers <joseph@codesourcery.com>
16229
16230 [BZ #14155]
16231 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16232 0x1p28 and above.
16233 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16234 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16235 0x1p28 and above.
16236 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16237 * math/libm-test.inc (j0_test): Do not allow one spurious
16238 underflow exception.
16239 (y1_test): Likewise.
16240
e25cfa60
SP
162412013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16242
0409959c
SP
16243 * manual/Makefile (chapters): Add nptl.
16244 * manual/debug.texi (Debugging Support): Add link to Threads
16245 chapter.
16246 * manual/nptl.texi: New file.
16247
e25cfa60
SP
16248 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16249
58a1335e
PB
162502013-03-14 Petr Baudis <pasky@ucw.cz>
16251
16252 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16253 for non-NULL pointer before the memory validity test. Pointed
16254 out by Holger Brunck <holger.brunck@keymile.com>.
16255
9dc7c64f
AS
162562013-03-13 Andreas Schwab <schwab@suse.de>
16257
16258 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16259 instead of .os.
16260
54206aa6
JM
162612013-03-13 Joseph Myers <joseph@codesourcery.com>
16262
16263 * timezone/zic.c: Update from tzcode 2013b.
16264
e98cdb38
CD
162652013-03-12 Carlos O'Donell <carlos@redhat.com>
16266
16267 * manual/install.texi (Configuring and compiling):
16268 Mention i686 and i586.
16269 * INSTALL: Regenerate.
16270
9967e003
RM
162712013-03-12 Roland McGrath <roland@hack.frob.com>
16272
16273 * sysdeps/init_array/elf-init.c: New file.
16274 * csu/elf-init.c
16275 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16276 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16277
16278 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16279 __gmon_start__ as global, but as static with a .preinit_array pointer.
16280 * sysdeps/init_array/gmon-start.c: New file. Use that.
16281 * sysdeps/init_array/crti.S: New file, empty except for comments.
16282 * sysdeps/init_array/crtn.S: Likewise.
16283
e6b5a293 162842013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16285
16286 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16287 definining bcopy.
80f844c9
OB
16288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16289 Remove Prefer_SSE_for_memop.
16290 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16291 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16292 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16294 memset-x86-64.
80f844c9 16295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16296 Remove bzero, memset ifunc support.
80f844c9
OB
16297 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16298 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16299 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16300 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16301
fb6b0fcb
AS
163022013-03-11 Andreas Schwab <schwab@suse.de>
16303
16304 [BZ #15234]
16305 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16306 by SHLIB_COMPAT.
16307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16308 (GLIBC_2.16): Remove pthread_atfork.
16309
3e6bd4b1
PP
163102013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16311
16312 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16313 (ptestcases.h): Likewise.
16314
222d7f00
RM
163152013-03-08 Roland McGrath <roland@hack.frob.com>
16316
16317 * Makeconfig ($(common-objpfx)config.status): Depend on
16318 sysdeps/*/preconfigure{,.in} too.
16319
1ba4f030
JM
163202013-03-08 Joseph Myers <joseph@codesourcery.com>
16321
a222d91a
JM
16322 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16323 (__free_hook): Use void * instead of __malloc_ptr_t.
16324 (__malloc_hook): Likewise.
16325 (__realloc_hook): Likewise.
16326 (__memalign_hook): Likewise.
16327 (__after_morecore_hook): Likewise.
16328 * malloc/arena.c (save_malloc_hook): Likewise.
16329 (save_free_hook): Likewise.
16330 * malloc/hooks.c (malloc_hook_ini): Likewise.
16331 (realloc_hook_ini): Likewise.
16332 (memalign_hook_ini): Likewise.
16333 * malloc/malloc.c (malloc_hook_ini): Likewise.
16334 (realloc_hook_ini): Likewise.
16335 (memalign_hook_ini): Likewise.
16336 (__free_hook): Likewise.
16337 (__malloc_hook): Likewise.
16338 (__realloc_hook): Likewise.
16339 (__memalign_hook): Likewise.
16340 (__libc_malloc): Likewise.
16341 (__libc_free): Likewise.
16342 (__libc_realloc): Likewise.
16343 (__libc_memalign): Likewise.
16344 (__libc_valloc): Likewise.
16345 (__libc_pvalloc): Likewise.
16346 (__libc_calloc): Likewise.
16347 (__posix_memalign): Likewise.
16348 * malloc/morecore.c (__sbrk): Likewise.
16349 (__default_morecore): Likewise.
16350
5cc45e10
JM
16351 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16352
dd54b864
JM
16353 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16354 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16355 __malloc_ptrdiff_t.
16356
1ba4f030
JM
16357 * malloc/malloc.h (__malloc_size_t): Remove macro.
16358 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16359 __malloc_size_t.
16360 (old_memalign_hook): Likewise.
16361 (old_realloc_hook): Likewise.
16362 (struct hdr): Likewise.
16363 (flood): Likewise.
16364 (mallochook): Likewise.
16365 (memalignhook): Likewise.
16366 (reallochook): Likewise.
16367 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16368 (tr_old_realloc_hook): Likewise.
16369 (tr_old_memalign_hook): Likewise.
16370 (tr_mallochook): Likewise.
16371 (tr_reallochook): Likewise.
16372 (tr_memalignhook): Likewise.
16373
edf66e57
AZ
163742013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16375
16376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16377 default_ldbl_pack and using as default implementation.
16378 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16379 implementation.
16380 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16381 redundant definition.
16382 (ldbl_insert_mantissa): Likewise.
16383 (ldbl_canonicalize): Likewise.
16384 (ldbl_nearbyint): Likewise.
16385 (ldbl_pack): Rename to ldbl_pack_ppc.
16386 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16387 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16388 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16389
6d9145d8
SP
163902013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16391
16392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16393 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16394 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16395 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16397 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16398 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16399 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16400
4dd4e157
AJ
164012013-03-07 Andreas Jaeger <aj@suse.de>
16402
16403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16404 bits/mman-linux.h.
16405
adbb8027
SP
164062013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16407
ce544b5b
SP
16408 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16409 Include mpa.h and declare __MPEXP.
16410 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16412 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16413 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16415 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16416 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16417
4cc149fd
SP
16418 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16419 (__slowpow): Use long double EXPL and LOGL functions to
16420 compute POW.
16421 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16422 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16425 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16426 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16427
e6ebd4a7
SP
16428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16429 intermediate variable to calculate exponent.
16430 (__sqr): Likewise.
16431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16432 Likewise.
16433 (__sqr): Likewise.
16434
82a9811d
SP
16435 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16436 [!NO__SQR]: Define __sqr.
16437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16438 and NO__SQR. Remove all code except __mul and __sqr. Include
16439 sysdeps/ieee754/dbl-64/mpa.c.
16440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16441
adbb8027
SP
16442 [BZ #12723]
16443 * posix/Makefile (tests): Add tst-pathconf.
16444 * posix/tst-pathconf.c: New test case.
16445 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16446 _PC_PIPE_BUF.
16447 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16448
39120df9
PF
164492013-03-06 Patsy Franklin <pfrankli@redhat.com>
16450
16451 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16452
67525cb8
AJ
164532013-03-06 Andreas Jaeger <aj@suse.de>
16454
664a9ce4
AJ
16455 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16456 definition via __MAP_ANONYMOUS.
16457
8e39047d
AJ
16458 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16459 it's not part of Linux headers.
16460
67525cb8
AJ
16461 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16462 (MAP_HUGE_MASK): Define.
16463
16464 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16465 Define.
16466 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16468 Define.
16469 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16470 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16471 Define.
16472 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16474 Define.
16475 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16476
16477 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16478 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16479 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16480 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16481 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16482 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16483
16484 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16485 Handle f2fs.
16486
16487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16488 Handle f2fs and efivarfs.
16489
16490 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16491 f2fs.
16492
16493 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16494 (EFIVARFS_MAGIC): Add.
16495 (F2FS_LINK_MAX): Add.
16496
e1b42695
PP
164972013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16498
16499 * stdio-common/vfprintf.c: Replace __builtin_expect with
16500 __glibc_unlikely.
16501
2d67d91a
JM
165022013-03-06 Joseph Myers <joseph@codesourcery.com>
16503
16504 [BZ #13550]
16505 * sysdeps/generic/bp-sym.h: Remove file.
16506 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16507 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16508 <bp-sym.h> and <bp-asm.h>.
16509 (__longjmp): Don't use BP_SYM.
16510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16511 and <bp-asm.h>.
16512 (memcpy): Don't use BP_SYM.
16513 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16514 <bp-sym.h> and <bp-asm.h>.
16515 (memcpy): Don't use BP_SYM.
16516 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16517 <bp-asm.h>.
16518 (memcpy): Don't use BP_SYM.
16519 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16520 <bp-asm.h>.
16521 (memset): Don't use BP_SYM.
16522 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16523 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16524 (__bzero): Don't use BP_SYM.
16525 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16526 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16527 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16528 <bp-sym.h> and <bp-asm.h>.
16529 (memcmp): Don't use BP_SYM. Remove comment about bounded
16530 pointers.
16531 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16532 <bp-sym.h> and <bp-asm.h>.
16533 (memcpy): Don't use BP_SYM.
16534 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16535 <bp-sym.h> and <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/strncmp.S: Don't include
16543 <bp-sym.h> and <bp-asm.h>.
16544 (strncmp): Don't use BP_SYM. Remove comment about bounded
16545 pointers.
16546 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16547 <bp-sym.h> and <bp-asm.h>.
16548 (memcpy): Don't use BP_SYM.
16549 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
16558 <bp-sym.h> and <bp-asm.h>.
16559 (__memchr): Don't use BP_SYM.
16560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16561 <bp-sym.h> and <bp-asm.h>.
16562 (memcmp): Don't use BP_SYM. Remove comment about bounded
16563 pointers.
16564 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16565 <bp-sym.h> and <bp-asm.h>.
16566 (memcpy): Don't use BP_SYM.
16567 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16568 <bp-sym.h> and <bp-asm.h>.
16569 (__mempcpy): Don't use BP_SYM.
16570 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16571 <bp-sym.h> and <bp-asm.h>.
16572 (__memrchr): Don't use BP_SYM.
16573 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16574 <bp-sym.h> and <bp-asm.h>.
16575 (memset): Don't use BP_SYM.
16576 (__bzero): Likewise.
16577 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16578 <bp-sym.h> and <bp-asm.h>.
16579 (__rawmemchr): Don't use BP_SYM.
16580 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16581 <bp-sym.h> and <bp-asm.h>.
16582 (__STRCMP): Don't use BP_SYM.
16583 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16584 <bp-sym.h> and <bp-asm.h>.
16585 (strchr): Don't use BP_SYM.
16586 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16587 <bp-sym.h> and <bp-asm.h>.
16588 (__strchrnul): Don't use BP_SYM.
16589 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16590 <bp-sym.h> and <bp-asm.h>.
16591 (strlen): Don't use BP_SYM.
16592 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16593 <bp-sym.h> and <bp-asm.h>.
16594 (strncmp): Don't use BP_SYM. Remove comment about bounded
16595 pointers.
16596 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16597 <bp-sym.h> and <bp-asm.h>.
16598 (__strnlen): Don't use BP_SYM.
16599 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16600 <bp-sym.h> and <bp-asm.h>.
16601 (__GI__setjmp): Don't use BP_SYM.
16602 (_setjmp): Likewise.
16603 (__sigsetjmp): Likewise.
16604 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16605 (L(start_addresses)): Don't use BP_SYM.
16606 (_start): Likewise.
16607 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16608 <bp-asm.h>.
16609 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16610 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16611 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16612 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16613 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16614 <bp-asm.h>.
16615 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16616 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16617 about bounded pointers.
16618 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16619 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16620 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16621 <bp-asm.h>.
16622 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16623 about bounded pointers. Remove GKM FIXME comments.
16624 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16625 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16626 <bp-asm.h>.
16627 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16628 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16629 Remove GKM FIXME comments.
16630 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16631 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16632 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16633 <bp-asm.h>.
16634 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16635 about bounded pointers. Remove GKM FIXME comment.
16636 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16637 and <bp-asm.h>.
16638 (strncmp): Don't use BP_SYM. Remove comment about bounded
16639 pointers.
16640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16641 <bp-sym.h> and <bp-asm.h>.
16642 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16644 <bp-sym.h> and <bp-asm.h>.
16645 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16646 comment.
16647
cdcf361f
PP
166482013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16649
16650 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16651 call free(NULL).
16652
3c4a2b15
DM
166532013-03-05 David S. Miller <davem@davemloft.net>
16654
16655 * po/es.po: Update from translation team.
16656
cdcf361f 166572013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16658
16659 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16660 <bits/mman-linux.h>.
16661 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16662 is fine.
16663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16664 <bits/mman-linux.h> to end of file.
16665 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16666 is fine.
16667 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16668 <bits/mman-linux.h> to end of file.
16669 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16670 is fine.
16671 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16672 <bits/mman-linux.h> to end of file.
16673
16674 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16675 (MCL_CURRENT, MCL_FUTURE): Define here.
16676
5f67c04f
AK
166772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16678
8a4473cc 16679 [BZ #15232]
5f67c04f
AK
16680 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16681 attribute_hidden.
16682 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16683
c3e94a95
AK
166842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16685
16686 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16687 fourth parameter needed for rt_sigprocmask syscall.
16688 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16689 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16690 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16691 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16692 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16693 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16694
cfb6382a
JM
166952013-03-04 Joseph Myers <joseph@codesourcery.com>
16696
16697 [BZ #13550]
16698 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16699 comment about bounded pointers.
16700 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16701 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16702
539d8e01
AJ
167032013-03-04 Andreas Jaeger <aj@suse.de>
16704
16705 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16706 common definitions.
16707
16708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16709 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16710 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16711 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16712 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16713 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16714
2e167a70 167152013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16716
16717 [BZ #15055]
16718 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16719 __ieee754_sqrl instead of __sqrl.
16720
68508633
JM
167212013-03-01 Joseph Myers <joseph@codesourcery.com>
16722
16723 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16724 * sysdeps/powerpc/fpu_control.h: ... here.
16725 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16726 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16727 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16728 * sysdeps/powerpc/bits/mathinline.h: ... here.
16729
7775448e
RM
167302013-03-01 Roland McGrath <roland@hack.frob.com>
16731
16732 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16733 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16734 to just [NEED_DL_SYSINFO_DSO].
16735 * elf/dl-support.c: Likewise.
16736 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16737 * elf/rtld.c (dl_main): Likewise.
16738 * elf/setup-vdso.h (setup_vdso): Likewise.
16739 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16740 * sysdeps/unix/sysv/linux/dl-sysdep.c
16741 (_dl_discover_osversion): Likewise.
16742
4e9b5995
CD
167432013-03-01 Carlos O'Donell <carlos@redhat.com>
16744
16745 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16746 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16747
e23872c8
SP
167482013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16749
e5c74c63
SP
16750 * NEWS: Mention libm performance improvements and non-x86 PI
16751 futex support.
16752
e23872c8
SP
16753 * csu/libc-start.c (__pthread_initialize_minimal): Change
16754 function arguments.
16755 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16756
b5510883
JM
167572013-02-28 Joseph Myers <joseph@codesourcery.com>
16758
16759 [BZ #13550]
16760 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16761 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16762 <bp-sym.h> and <bp-asm.h>.
16763 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16764 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16765 and <bp-asm.h>.
16766 (memcpy): Don't use BP_SYM.
16767 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16768 <bp-asm.h>.
16769 (__mpn_add_n): Don't use BP_SYM.
16770 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16771 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16772 and <bp-asm.h>.
16773 (__mpn_addmul_1): Don't use BP_SYM.
16774 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16775 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16776 <bp-sym.h>.
16777 (_setjmp): Don't use BP_SYM.
16778 (__novmx_setjmp): Likewise.
16779 (__GI__setjmp): Likewise.
16780 (__vmx_setjmp): Likewise.
16781 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16782 <bp-sym.h>.
16783 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16784 (__bzero): Don't use BP_SYM.
16785 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16786 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16787 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16788 <bp-sym.h> and <bp-asm.h>.
16789 (memcpy): Don't use BP_SYM.
16790 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16791 <bp-sym.h> and <bp-asm.h>.
16792 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16793 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16794 <bp-sym.h> and <bp-asm.h>.
16795 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16796 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16797 <bp-asm.h>.
16798 (__mpn_lshift): Don't use BP_SYM.
16799 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16800 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16801 <bp-asm.h>.
16802 (memset): Don't use BP_SYM.
16803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16805 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16806 <bp-asm.h>.
16807 (__mpn_mul_1): Don't use BP_SYM.
16808 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16809 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16810 <bp-sym.h> and <bp-asm.h>.
16811 (memcmp): Don't use BP_SYM.
16812 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16813 <bp-sym.h> and <bp-asm.h>.
16814 (memcpy): Don't use BP_SYM.
16815 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16816 <bp-sym.h> and <bp-asm.h>.
16817 (memset): Don't use BP_SYM.
16818 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16819 <bp-sym.h> and <bp-asm.h>.
16820 (strncmp): Don't use BP_SYM.
16821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16822 <bp-sym.h> and <bp-asm.h>.
16823 (memcpy): Don't use BP_SYM.
16824 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16825 <bp-sym.h> and <bp-asm.h>.
16826 (memset): Don't use BP_SYM.
16827 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16828 <bp-sym.h> and <bp-asm.h>.
16829 (__memchr): Don't use BP_SYM.
16830 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16831 <bp-sym.h> and <bp-asm.h>.
16832 (memcmp): Don't use BP_SYM.
16833 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (memcpy): Don't use BP_SYM.
16836 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16837 <bp-sym.h> and <bp-asm.h>.
16838 (__mempcpy): Don't use BP_SYM.
16839 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16840 <bp-sym.h> and <bp-asm.h>.
16841 (__memrchr): Don't use BP_SYM.
16842 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16843 <bp-sym.h> and <bp-asm.h>.
16844 (memset): Don't use BP_SYM.
16845 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16846 <bp-sym.h> and <bp-asm.h>.
16847 (__rawmemchr): Don't use BP_SYM.
16848 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16849 <bp-sym.h> and <bp-asm.h>.
16850 (__STRCMP): Don't use BP_SYM.
16851 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16852 <bp-sym.h> and <bp-asm.h>.
16853 (strchr): Don't use BP_SYM.
16854 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__strchrnul): Don't use BP_SYM.
16857 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16858 <bp-sym.h> and <bp-asm.h>.
16859 (strlen): Don't use BP_SYM.
16860 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16861 <bp-sym.h> and <bp-asm.h>.
16862 (strncmp): Don't use BP_SYM.
16863 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16864 <bp-sym.h> and <bp-asm.h>.
16865 (__strnlen): Don't use BP_SYM.
16866 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16867 <bp-asm.h>.
16868 (__mpn_rshift): Don't use BP_SYM.
16869 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16870 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16871 <bp-sym.h> and <bp-asm.h>.
16872 (__sigsetjmp): Don't use BP_SYM.
16873 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16874 (L(start_addresses)): Don't use BP_SYM.
16875 (_start): Likewise.
16876 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16877 <bp-asm.h>.
16878 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16879 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16880 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16881 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16882 <bp-asm.h>.
16883 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16884 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16885 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16886 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16887 <bp-asm.h>.
16888 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16889 comments.
16890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16891 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16892 <bp-asm.h>.
16893 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16894 FIXME comments.
16895 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16896 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16897 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16898 <bp-asm.h>.
16899 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16900 comment.
16901 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16902 and <bp-asm.h>.
16903 (strncmp): Don't use BP_SYM,
16904 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16905 <bp-asm.h>.
16906 (__mpn_sub_n): Don't use BP_SYM.
16907 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16908 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16909 and <bp-asm.h>.
16910 (__mpn_submul_1): Don't use BP_SYM.
16911 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16913 <bp-sym.h> and <bp-asm.h>.
16914 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16916 <bp-sym.h> and <bp-asm.h>.
16917 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16918 comment.
16919
8d19fe64
SP
169202013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16921
16922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16923 Use ZK to minimize writes to Z.
16924 (sub_magnitudes): Simplify code a bit.
16925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16926 Use ZK to minimize writes to Z.
16927 (sub_magnitudes): Simplify code a bit.
16928
85bd816a
RM
169292013-02-27 Roland McGrath <roland@hack.frob.com>
16930
16931 * csu/gmon-start.c: Add special exception to license text.
16932
b5977bf2
RH
169332013-02-27 Richard Henderson <rth@redhat.com>
16934
16935 * scripts/config.guess: Update from config.git.
16936 * scripts/config.sub: Likewise.
16937
11d6e2f2
SP
169382013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16939
09c14ed2
SP
16940 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16941
a688864e
SP
16942 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16943
6295157a
SP
16944 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16945
b8de2202
SP
16946 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16947
11d6e2f2
SP
16948 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16949
7e80ddb8
RM
169502013-02-26 Roland McGrath <roland@hack.frob.com>
16951
16952 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16953 [$(build-shared = yes].
7e80ddb8 16954
7da6d9ed
SP
169552013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16956
45f05884
SP
16957 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16958 (__mul): Reduce iterations for calculating mantissa.
16959
2236d359
SP
16960 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16961 MPTWO.
16962 (__mpranred): Likewise.
16963
7da6d9ed
SP
16964 [BZ #15160]
16965 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16966 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16967
b7688c42
PE
169682013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16969
16970 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16971 Define __attribute__.
16972
53a5c423
SP
169732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16974
16975 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16976 unused.
16977 * posix/regex_internal.h (__attribute): Remove.
16978 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16979 (re_string_context_at): Likewise.
16980 (bitset_not): Use __attribute__ and mark function as possibly
16981 unused.
16982 (bitset_merge): Likewise.
16983 (bitset_mask): Likewise.
16984 (re_string_char_size_at): Likewise.
16985 (re_string_wchar_at): Likewise.
16986 (re_string_elem_size_at): Likewise.
16987
60f5a8b5
SP
169882013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16989
2a983a2e
SP
16990 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16991 code.
16992 (cc32): Likewise.
16993
e69804d1
SP
16994 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16995 (__acr): Likewise.
16996 (__cpy): Likewise.
16997 (norm): Likewise.
16998 (denorm): Likewise.
16999 (__dbl_mp): Likewise.
17000 (add_magnitudes): Likewise.
17001 (sub_magnitudes): Likewise.
17002 (__mul): Likewise.
17003 (__inv): Likewise.
17004
2f22a1e8
SP
17005 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17006 style.
17007
8930ddc7
SP
17008 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17009 style.
17010
dc60cb11
SP
17011 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17012 code.
17013
60f5a8b5
SP
17014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17015 up changes with default code.
17016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17017 Likewise.
17018
b4d1fd33
AM
170192013-02-24 Allan McRae <allan@archlinux.org>
17020
faf6f8bc
AM
17021 * manual/socket.texi (The Internet Namespace): Order menu items
17022 to match that in the file.
17023
b4d1fd33
AM
17024 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17025 node listing of the info page menu.
17026
2366713d
JM
170272013-02-21 Joseph Myers <joseph@codesourcery.com>
17028
17029 [BZ #13550]
17030 * sysdeps/i386/bp-asm.h: Remove file.
17031 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17032 (PARMS): Do not use macros from bp-asm.h.
17033 (S1): Likewise.
17034 (S2): Likewise.
17035 (SIZE): Likewise.
17036 (__mpn_add_n): Do not use BP_SYM
17037 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17038 "bp-asm.h".
17039 (PARMS): Do not use macros from bp-asm.h.
17040 (S1): Likewise.
17041 (SIZE): Likewise.
17042 (__mpn_addmul_1): Do not use BP_SYM
17043 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17044 "bp-asm.h".
17045 (PARMS): Do not use macros from bp-asm.h.
17046 (SIGMSK): Likewise.
17047 (_setjmp): Likewise. Do not use BP_SYM.
17048 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17049 "bp-asm.h".
17050 (PARMS): Do not use macros from bp-asm.h.
17051 (SIGMSK): Likewise.
17052 (setjmp): Likewise. Do not use BP_SYM.
17053 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17054 "bp-asm.h".
17055 (PARMS): Do not use macros from bp-asm.h.
17056 (__frexp): Do not use BP_SYM.
17057 (frexp): Likewise.
17058 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17059 "bp-asm.h".
17060 (PARMS): Do not use macros from bp-asm.h.
17061 (__frexpf): Do not use BP_SYM.
17062 (frexpf): Likewise.
17063 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17064 "bp-asm.h".
17065 (PARMS): Do not use macros from bp-asm.h.
17066 (__frexpl): Do not use BP_SYM.
17067 (frexpl): Likewise.
17068 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17069 "bp-asm.h".
17070 (PARMS): Do not use macros from bp-asm.h.
17071 (__remquo): Do not use BP_SYM.
17072 (remquo): Likewise.
17073 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17074 "bp-asm.h".
17075 (PARMS): Do not use macros from bp-asm.h.
17076 (__remquof): Do not use BP_SYM.
17077 (remquof): Likewise.
17078 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17079 "bp-asm.h".
17080 (PARMS): Do not use macros from bp-asm.h.
17081 (__remquol): Do not use BP_SYM.
17082 (remquol): Likewise.
17083 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17084 "bp-asm.h".
17085 (PARMS): Do not use macros from bp-asm.h.
17086 (DEST): Likewise.
17087 (SRC): Likewise.
17088 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17089 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17090 "bp-asm.h".
17091 (PARMS): Do not use macros from bp-asm.h.
17092 (strlen): Do not use BP_SYM.
17093 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17094 "bp-asm.h".
17095 (PARMS): Do not use macros from bp-asm.h.
17096 (S1): Likewise.
17097 (S2): Likewise.
17098 (SIZE): Likewise.
17099 (__mpn_add_n): Do not use BP_SYM.
17100 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17101 "bp-asm.h".
17102 (PARMS): Do not use macros from bp-asm.h.
17103 (S1): Likewise.
17104 (SIZE): Likewise.
17105 (__mpn_addmul_1): Do not use BP_SYM.
17106 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17107 weak_alias.
17108 (bzero): Likewise.
17109 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17110 "bp-asm.h".
17111 (PARMS): Do not use macros from bp-asm.h.
17112 (S): Likewise.
17113 (SIZE): Likewise.
17114 (__mpn_lshift): Do not use BP_SYM.
17115 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17116 "bp-asm.h".
17117 (PARMS): Do not use macros from bp-asm.h.
17118 (DEST): Likewise.
17119 (SRC): Likewise.
17120 (LEN): Likewise.
17121 (memcpy): Likewise. Do not use BP_SYM.
17122 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17123 libc_hidden_def and weak_alias.
17124 (mempcpy): Do not use BP_SYM in weak_alias.
17125 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17126 "bp-asm.h".
17127 (PARMS): Do not use macros from bp-asm.h.
17128 (DEST): Likewise.
17129 (LEN): Likewise.
17130 [!BZERO_P] (CHR): Likewise.
17131 (memset): Likewise. Do not use BP_SYM.
17132 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17133 "bp-asm.h".
17134 (PARMS): Do not use macros from bp-asm.h.
17135 (S1): Likewise.
17136 (SIZE): Likewise.
17137 (__mpn_mul_1): Do not use BP_SYM.
17138 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17139 "bp-asm.h".
17140 (PARMS): Do not use macros from bp-asm.h.
17141 (S): Likewise.
17142 (SIZE): Likewise.
17143 (__mpn_rshift): Do not use BP_SYM.
17144 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17145 "bp-asm.h".
17146 (PARMS): Do not use macros from bp-asm.h.
17147 (STR): Likewise.
17148 (CHR): Likewise.
17149 (strchr): Likewise. Do not use BP_SYM.
17150 (index): Do not use BP_SYM in weak_alias.
17151 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17152 "bp-asm.h".
17153 (PARMS): Do not use macros from bp-asm.h.
17154 (DEST): Likewise.
17155 (SRC): Likewise.
17156 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17157 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17158 "bp-asm.h".
17159 (PARMS): Do not use macros from bp-asm.h.
17160 (strlen): Do not use BP_SYM.
17161 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17162 "bp-asm.h".
17163 (PARMS): Do not use macros from bp-asm.h.
17164 (S1): Likewise.
17165 (S2): Likewise.
17166 (SIZE): Likewise.
17167 (__mpn_sub_n): Do not use BP_SYM.
17168 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17169 "bp-asm.h".
17170 (PARMS): Do not use macros from bp-asm.h.
17171 (S1): Likewise.
17172 (SIZE): Likewise.
17173 (__mpn_submul_1): Do not use BP_SYM.
17174 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17175 "bp-asm.h".
17176 (PARMS): Do not use macros from bp-asm.h.
17177 (S1): Likewise.
17178 (S2): Likewise.
17179 (SIZE): Likewise.
17180 (__mpn_add_n): Do not use BP_SYM.
17181 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17182 weak_alias.
17183 (bzero): Likewise.
17184 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17185 "bp-asm.h".
17186 (PARMS): Do not use macros from bp-asm.h.
17187 (BLK2): Likewise.
17188 (LEN): Likewise.
17189 (memcmp): Do not use BP_SYM.
17190 (bcmp): Do not use BP_SYM in weak_alias.
17191 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17192 "bp-asm.h".
17193 (PARMS): Do not use macros from bp-asm.h.
17194 (DEST): Likewise.
17195 (SRC): Likewise.
17196 (LEN): Likewise.
17197 (memcpy): Likewise. Do not use BP_SYM.
17198 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17199 "bp-asm.h".
17200 (PARMS): Do not use macros from bp-asm.h.
17201 (DEST): Likewise.
17202 (SRC): Likewise.
17203 (LEN): Likewise.
17204 (memmove): Likewise. Do not use BP_SYM.
17205 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17206 "bp-asm.h".
17207 (PARMS): Do not use macros from bp-asm.h.
17208 (DEST): Likewise.
17209 (SRC): Likewise.
17210 (LEN): Likewise.
17211 (__mempcpy): Likewise. Do not use BP_SYM.
17212 (mempcpy): Do not use BP_SYM in weak_alias.
17213 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
17218 [!BZERO_P] (CHR): Likewise.
17219 (memset): Likewise. Do not use BP_SYM.
17220 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17221 "bp-asm.h".
17222 (PARMS): Do not use macros from bp-asm.h.
17223 (STR2): Likewise.
17224 (strcmp): Do not use BP_SYM.
17225 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17226 "bp-asm.h".
17227 (PARMS): Do not use macros from bp-asm.h.
17228 (STR): Likewise.
17229 (DELIM): Likewise.
17230 [USE_AS_STRTOK_R] (SAVE): Likewise.
17231 (FUNCTION): Likewise. Do not use BP_SYM.
17232 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17233 aliases.
17234 (strtok_r): Likewise.
17235 (__GI___strtok_r): Likewise.
17236 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17237 (PARMS): Do not use macros from bp-asm.h.
17238 (S): Likewise.
17239 (SIZE): Likewise.
17240 (__mpn_lshift): Do not use BP_SYM.
17241 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17242 (PARMS): Do not use macros from bp-asm.h.
17243 (STR): Likewise.
17244 (CHR): Likewise.
17245 (__memchr): Do not use BP_SYM.
17246 (memchr): Do not use BP_SYM in weak_alias.
17247 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17248 (PARMS): Do not use macros from bp-asm.h.
17249 (BLK2): Likewise.
17250 (LEN): Likewise.
17251 (memcmp): Do not use BP_SYM.
17252 (bcmp): Do not use BP_SYM in weak_alias.
17253 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17254 (PARMS): Do not use macros from bp-asm.h.
17255 (S1): Likewise.
17256 (SIZE): Likewise.
17257 (__mpn_mul_1): Do not use BP_SYM.
17258 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17259 "bp-asm.h".
17260 (PARMS): Do not use macros from bp-asm.h.
17261 (STR): Likewise.
17262 (CHR): Likewise.
17263 (__rawmemchr): Do not use BP_SYM.
17264 (rawmemchr): Do not use BP_SYM in weak_alias.
17265 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17266 (PARMS): Do not use macros from bp-asm.h.
17267 (S): Likewise.
17268 (SIZE): Likewise.
17269 (__mpn_rshift): Do not use BP_SYM.
17270 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17271 (PARMS): Do not use macros from bp-asm.h.
17272 (SIGMSK): Likewise.
17273 (__sigsetjmp): Likewise. Do not use BP_SYM.
17274 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17275 (_start): Do not use BP_SYM.
17276 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17277 (PARMS): Do not use macros from bp-asm.h.
17278 (DEST): Likewise.
17279 (SRC): Likewise.
17280 (__stpcpy): Likewise. Do not use BP_SYM.
17281 (stpcpy): Do not use BP_SYM in weak_alias.
17282 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17283 "bp-asm.h".
17284 (PARMS): Do not use macros from bp-asm.h.
17285 (DEST): Likewise.
17286 (SRC): Likewise.
17287 (LEN): Likewise.
17288 (__stpncpy): Likewise. Do not use BP_SYM.
17289 (stpncpy): Do not use BP_SYM in weak_alias.
17290 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17291 (PARMS): Do not use macros from bp-asm.h.
17292 (STR): Likewise.
17293 (CHR): Likewise.
17294 (strchr): Likewise. Do not use BP_SYM.
17295 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17296 "bp-asm.h".
17297 (PARMS): Do not use macros from bp-asm.h.
17298 (STR): Likewise.
17299 (CHR): Likewise.
17300 (__strchrnul): Likewise. Do not use BP_SYM.
17301 (strchrnul): Do not use BP_SYM in weak_alias.
17302 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17303 "bp-asm.h".
17304 (PARMS): Do not use macros from bp-asm.h.
17305 (STOP): Likewise.
17306 (strcspn): Do not use BP_SYM.
17307 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17308 "bp-asm.h".
17309 (PARMS): Do not use macros from bp-asm.h.
17310 (STR): Likewise.
17311 (STOP): Likewise.
17312 (strpbrk): Likewise. Do not use BP_SYM.
17313 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17314 "bp-asm.h".
17315 (PARMS): Do not use macros from bp-asm.h.
17316 (STR): Likewise.
17317 (CHR): Likewise.
17318 (strrchr): Likewise. Do not use BP_SYM.
17319 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17320 (PARMS): Do not use macros from bp-asm.h.
17321 (SKIP): Likewise.
17322 (strspn): Do not use BP_SYM.
17323 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17324 (PARMS): Do not use macros from bp-asm.h.
17325 (STR): Likewise.
17326 (DELIM): Likewise.
17327 (SAVE): Likewise.
17328 (FUNCTION): Likewise. Do not use BP_SYM.
17329 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17330 aliases.
17331 (strtok_r): Likewise.
17332 (__GI___strtok_r): Likewise.
17333 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17334 (PARMS): Do not use macros from bp-asm.h.
17335 (S1): Likewise.
17336 (S2): Likewise.
17337 (SIZE): Likewise.
17338 (__mpn_sub_n): Do not use BP_SYM.
17339 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17340 "bp-asm.h".
17341 (PARMS): Do not use macros from bp-asm.h.
17342 (S1): Likewise.
17343 (SIZE): Likewise.
17344 (__mpn_submul_1): Do not use BP_SYM.
17345 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17346 <bp-sym.h>.
17347 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17348 and <bp-asm.h>.
17349 (PARMS): Do not use macros from bp-asm.h.
17350 (FLAGS): Likewise.
17351 (PTID): Likewise.
17352 (TLS): Likewise.
17353 (CTID): Likewise.
17354 (__clone): Do not use BP_SYM.
17355 (clone): Do not use BP_SYM in weak_alias.
17356 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17357 and <bp-asm.h>.
17358 (PARMS): Do not use macros from bp-asm.h.
17359 (LEN): Likewise.
17360 (__mmap64): Do not use BP_SYM.
17361 (mmap64): Do not use BP_SYM in weak_alias.
17362 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17363 <bp-sym.h> and <bp-asm.h>.
17364 (PARMS): Do not use macros from bp-asm.h.
17365 (__posix_fadvise64_l64): Do not use BP_SYM.
17366 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17367 (PARMS): Do not use macros from bp-asm.h.
17368 (NSOPS): Likewise.
17369 (semtimedop): Do not use BP_SYM.
17370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17371 and <bp-asm.h>.
17372
582a3cff
AM
173732013-02-21 Allan McRae <allan@archlinux.org>
17374
17375 * manual/message.texi (Charset conversion in gettext):
17376 Move @end statement to beginning of line.
17377
bab8a695
SP
173782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17379
80945231
SP
17380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17381 static.
17382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17383 Likewise.
17384
bab8a695
SP
17385 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17386 (denorm): Likewise.
17387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17389
e21d7aa7
AK
173902013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17391
17392 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17393 tail-call to the resolved function if pltexit isn't needed.
17394
4c7a4263
SP
173952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17396
17397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17398 or Y being zero as being unlikely.
17399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17400 Likewise.
17401
41f49342
CD
174022013-02-20 Carlos O'Donell <carlos@redhat.com>
17403
17404 * manual/nss.texi (System Databases and Name Service Switch):
17405 Remove frobnicate @pxref.
17406
50022a93
TS
174072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17408
17409 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17410 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17411
08cbd996
PM
174122013-02-20 Petr Machata <pmachata@redhat.com>
17413
17414 * elf/elf.h (R_ARM_TARGET1): New macro.
17415 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17416 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17417 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17418 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17419 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17420 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17421 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17422 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17423 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17424 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17425 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17426 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17427 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17428 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17429 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17430 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17431 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17432 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17433 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17434 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17435 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17436 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17437 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17438 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17439 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17440 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17441 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17442 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17443 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17444 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17445 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17446 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17447 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17448 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17449 (R_ARM_THM_GOT_BREL12): Likewise.
17450 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17451 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17452 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17453 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17454 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17455 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17456 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17457 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17458 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17459
c7b275d6
TS
174602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17461
17462 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17463 __attribute_used__ to __attribute__ ((unused)).
17464
20cd7fb3
SP
174652013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17466
17467 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17468 powerpc mpa.c.
17469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17470 comment formatting.
17471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17472
92945b52
JM
174732013-02-19 Joseph Myers <joseph@codesourcery.com>
17474
17475 [BZ #13550]
17476 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17477 Remove macro.
17478 (ENTER): Remove both macro definitions.
17479 (LEAVE): Likewise.
17480 (CHECK_BOUNDS_LOW): Likewise.
17481 (CHECK_BOUNDS_HIGH): Likewise.
17482 (CHECK_BOUNDS_BOTH): Likewise.
17483 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17484 (RETURN_BOUNDED_POINTER): Likewise.
17485 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17486 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17487 (POP_ERRNO_LOCATION_RETURN): Likewise.
17488 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17489 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17490 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17491 macros.
17492 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17493 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17494 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17495 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17496 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17497 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17498 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17499 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17500 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17501 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17502 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17503 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17504 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17505 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17506 removed macros.
17507 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17508 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17509 macros.
17510 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17511 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17512 * sysdeps/i386/i586/memset.S (memset): Likewise.
17513 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17514 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17515 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17516 macros.
17517 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17518 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17519 Change uses of L(2) to L(out).
17520 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17521 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17522 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17523 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17524 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17525 removed macros.
17526 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17527 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17528 macros.
17529 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17530 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17531 (RETURN): Do not use macro LEAVE.
17532 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17533 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17534 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17535 * sysdeps/i386/i686/memset.S (memset): Likewise.
17536 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17537 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17538 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17539 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17540 Likewise.
17541 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17542 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17543 L(1_2) and L(1_3) into L(1).
17544 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17545 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17546 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17547 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17548 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17549 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17550 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17551 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17552 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17553 macros.
17554 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17555 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17556 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17557 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17558 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17559 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17560 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17561 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17562 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17563 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17564 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17565 * sysdeps/i386/strspn.S (strspn): Likewise.
17566 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17567 conditional code.
17568 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17569 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17570 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17571 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17572 L(1_3) into L(1_1).
17573 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17574 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17575 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17576 macros.
17577 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17578
2389741a
JJ
175792013-02-19 Jakub Jelinek <jakub@redhat.com>
17580
17581 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17582 macro.
17583
2016b3cd
SP
175842013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17585
e4f22324
SP
17586 * math/atest-exp.c (exp_mpn): Remove ROUND.
17587 * math/atest-exp2.c (exp_mpn): Likewise.
17588 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17589
2016b3cd
SP
17590 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17591 * stdlib/tst-tls-atexit-lib.c: Likewise.
17592 * stdlib/tst-tls-atexit.c: Likewise.
17593
4be9b544
MF
175942013-02-18 Mike Frysinger <vapier@gentoo.org>
17595
17596 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17597 and __attribute_alloc_size__.
17598
2f62b9ee
MF
175992013-02-18 Mike Frysinger <vapier@gentoo.org>
17600
17601 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17602 __attribute_alloc_size__.
17603 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17604 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17605
6ff444c4
MF
176062013-02-18 Mike Frysinger <vapier@gentoo.org>
17607
17608 * include/programs/xmalloc.h: New file.
17609 * catgets/gencat.c: Include it.
17610 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17611 * elf/pldd.c: Likewise.
17612 * iconv/iconv_charmap.c: Likewise.
17613 * iconv/iconvconfig.c: Likewise.
17614 * iconv/strtab.c: Likewise.
17615 * locale/programs/locale.c: Likewise.
17616 * locale/programs/localedef.h: Likewise.
17617 * locale/programs/simple-hash.c: Likewise.
17618 * nscd/nscd.h: Likewise.
17619 * nss/makedb.c: Likewise.
17620 * sysdeps/generic/ldconfig.h: Likewise.
17621
be179c8a
SP
176222013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17623
ba384f6e
SP
17624 * Versions.def: Add GLIBC_2.18.
17625 * include/link.h (struct link_map): New member l_tls_dtor_count.
17626 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17627 (__call_tls_dtors): Likewise.
17628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17629 __cxa_thread_atexit_impl.
17630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17631 Likewise.
17632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17633 Likewise.
17634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17635 Likewise.
17636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17637 Likewise.
17638 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17640 Likewise.
17641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17642 Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17645 Likewise.
17646 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17647 (tests): Add test case tst-tls-atexit.
17648 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17649 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17650 (GLIBC_PRIVATE): Add __call_tls_dtors.
17651 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17652 for libstdc++.
17653 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17654 * stdlib/tst-tls-atexit.c: New test case.
17655 * stdlib/tst-tls-atexit-lib.c: New test case.
17656
ffaa74cf 17657 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17658
be179c8a
SP
17659 * elf/Versions (ld): Add _dl_find_dso_for_object.
17660 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17661 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17662 (dl_open_worker): Use _dl_find_dso_for_object.
17663 * elf/dl-sym.c (do_sym): Likewise.
17664 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17665
f78b5caa
AK
176662013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17667
17668 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17669 Syntactic changes only.
17670 (_dl_runtime_profile): Do a tail-call to the resolved function.
17671
29691210
JM
176722013-02-17 Joseph Myers <joseph@codesourcery.com>
17673
17674 [BZ #13550]
17675 * sysdeps/x86_64/bp-asm.h: Remove file.
17676 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17677 <bp-sym.h> and <bp-asm.h>.
17678 (__clone): Do not use BP_SYM.
17679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17680 <bp-sym.h> and <bp-asm.h>.
17681 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17682 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17683 "bp-asm.h".
17684 (_setjmp): Do not use BP_SYM.
17685 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17686 "bp-asm.h".
17687 (setjmp): Do not use BP_SYM.
17688 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17689 libc_hidden_def.
17690 (mempcpy): Do not use BP_SYM in weak_alias.
17691 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17692 "bp-asm.h".
17693 (strchr): Do not use BP_SYM.
17694 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17695 "bp-asm.h".
17696 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17697 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17698 (_start): Do not use BP_SYM.
17699 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17700 "bp-asm.h".
17701 (strcat): Do not use BP_SYM.
17702 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17703 "bp-asm.h".
17704 (STRCMP): Do not use BP_SYM.
17705 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17706 "bp-asm.h".
17707 (STRCPY): Do not use BP_SYM.
17708 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17709 "bp-asm.h".
17710 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17711 "bp-asm.h".
17712 (FUNCTION): Do not use BP_SYM.
17713 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17714 weak_alias.
17715 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17716
f238fd19
AJ
177172013-02-17 Andreas Jaeger <aj@suse.de>
17718
17719 * time/Versions: Sort entries.
17720 * string/Versions: Likewise.
17721 * resolv/Versions: Likewise.
17722 * posix/Versions: Likewise.
17723 * iconv/Versions: Likewise.
17724 * elf/Versions: Likewise.
17725 * wcsmbs/Versions: Likewise.
17726
bd07f23c 177272013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17728
22af19f9
SP
17729 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17730 loop termination condition.
17731
4709fe76
SP
17732 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17733 variable to calculate EZ.
17734 (__sqr): Likewise.
2d0e0f29
SP
17735
17736 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17737 the lower precision input.
17738
daaa7713
JM
177392013-02-15 Joseph Myers <joseph@codesourcery.com>
17740
17741 [BZ #13550]
17742 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17743 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17744 (run-via-rtld-prefix): Do not handle %-bp tests.
17745 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17746 (all-object-suffixes): Remove .ob.
17747 (bppfx): Remove variable.
17748 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17749 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17750 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17751 [$(build-bounded) = yes] (libtype.ob): Likewise.
17752 * Makerules (elide-routines.ob): Remove variable.
17753 (do-tests-clean): Do not handle *-bp.out.
17754 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17755 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17756 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17757 (tests): Do not include $(tests-bp.out).
17758 (xtests): Do not include $(xtests-bp.out).
17759 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17760 [$(build-bounded) = yes] ($(addprefix
17761 $(objpfx),$(binaries-bounded))): Remove rule.
17762 ($(objpfx)%-bp.out): Remove rule.
17763 * config.make.in (build-bounded): Remove variable.
17764 * crypt/Makefile [$(build-bounded) = yes]
17765 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17766 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17767 append to variable.
17768 [$(build-bounded) = yes] (install-lib): Likewise.
17769 [$(build-bounded) = yes] (generated): Likewise.
17770 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17771 Remove rule.
17772 * intl/Makefile [$(build-bounded) = yes]
17773 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17774 * math/Makefile [$(build-bounded) = yes]
17775 ($(tests:%=$(objpfx)%-bp): Likewise.
17776 * misc/Makefile [$(build-bounded) = yes]
17777 ($(objpfx)tst-tsearch-bp): Likewise.
17778 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17779 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17780 Remove dependency.
17781 * string/Makefile (o-objects.ob): Remove variable.
17782 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17783 (CFLAGS-.ob): Remove variable.
17784 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17785 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17786 both definitions of variable.
17787 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17788 (ASFLAGS-.ob): Remove variable.
17789
e97ed6dd
JM
177902013-02-14 Joseph Myers <joseph@codesourcery.com>
17791
2bdd4ca6
JM
17792 [BZ #13550]
17793 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17794 Remove __BOUNDED_POINTERS__ from condition.
17795 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17796 * string/bits/string2.h [!__NO_STRING_INLINES &&
17797 !__BOUNDED_POINTERS__]: Likewise.
17798 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17799 Likewise.
17800 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17801 Remove conditional code.
17802 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17803 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17804 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17805 condition.
17806
e97ed6dd
JM
17807 [BZ #13550]
17808 * csu/libc-start.c: Do not include <bp-sym.h>.
17809 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17810 * elf/dl-open.c: Do not include <bp-sym.h>.
17811 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17812 * math/fegetenv.c: Do not include <bp-sym.h>.
17813 (fegetenv): Do not use BP_SYM in versioned symbols.
17814 * nptl/sysdeps/pthread/bits/libc-lockP.h
17815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17816 <bp-sym.h>.
17817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17818 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17820 (__pthread_mutex_destroy): Likewise.
17821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17822 (__pthread_mutex_lock): Likewise.
17823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17824 (__pthread_mutex_trylock): Likewise.
17825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17826 (__pthread_mutex_unlock): Likewise.
17827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17828 (__pthread_mutexattr_init): Likewise.
17829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17830 (__pthread_mutexattr_destroy): Likewise.
17831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17832 (__pthread_mutexattr_settype): Likewise.
17833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17834 (__pthread_rwlock_init): Likewise.
17835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17836 (__pthread_rwlock_destroy): Likewise.
17837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17838 (__pthread_rwlock_rdlock): Likewise.
17839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17840 (__pthread_rwlock_tryrdlock): Likewise.
17841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17842 (__pthread_rwlock_wrlock): Likewise.
17843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17844 (__pthread_rwlock_trywrlock): Likewise.
17845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17846 (__pthread_rwlock_unlock): Likewise.
17847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17848 (__pthread_key_create): Likewise.
17849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17850 (__pthread_setspecific): Likewise.
17851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17852 (__pthread_getspecific): Likewise.
17853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17854 Likewise.
17855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17856 (_pthread_cleanup_push_defer): Likewise.
17857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17858 (_pthread_cleanup_pop_restore): Likewise.
17859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17860 (pthread_setcancelstate): Likewise.
17861 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17862 <bp-sym.h>.
17863 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17864 (memchr): Do not use BP_SYM in weak_alias.
17865 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17866 (fegetenv): Do not use BP_SYM in versioned symbols.
17867 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17868 (fesetenv): Do not use BP_SYM in versioned symbols.
17869 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17870 (feupdateenv): Do not use BP_SYM in versioned symbols.
17871 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17872 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17873 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17874 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17875 (open64): Do not use BP_SYM in weak_alias.
17876 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17877 (fegetenv): Do not use BP_SYM in versioned symbols.
17878 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17879 (fesetenv): Do not use BP_SYM in versioned symbols.
17880 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17881 (feupdateenv): Do not use BP_SYM in versioned symbols.
17882 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17883 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17884 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17885 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17886 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17887 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17888 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17889 <bp-sym.h>.
17890 (__libc_start_main): Do not use BP_SYM.
17891
d6752ccd
SP
178922013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17893
cb57ce60
SP
17894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17895 redundant return line.
17896 (norm): Likewise.
17897 (denorm): Likewise.
17898 (dbl_mp): Likewise.
17899 (sub_magnitudes): Likewise.
17900 (__add): Likewise.
17901 (__sub): Likewise.
17902 (__mul): Likewise.
17903 (__inv): Likewise.
17904 (__dvd): Likewise.
17905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17906 (norm): Likewise.
17907 (denorm): Likewise.
17908 (dbl_mp): Likewise.
17909 (sub_magnitudes): Likewise.
17910 (__add): Likewise.
17911 (__sub): Likewise.
17912 (__mul): Likewise.
17913 (__inv): Likewise.
17914 (__dvd): Likewise.
17915
f414520d
SP
17916 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17917 instead of __mul.
17918 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17919 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17920 (cc32): Likewise.
17921
d6752ccd
SP
17922 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17923 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17925 of __mul for squares.
17926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17927 function
17928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17929 Likewise.
17930 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17931 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17932
70d9946a
JM
179332013-02-13 Joseph Myers <joseph@codesourcery.com>
17934
17935 [BZ #13550]
17936 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17937 code.
17938 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17939 prototype or function definition. Rename ubp_* variables and
17940 parameters. Remove argv definitions conditional on
17941 [__BOUNDED_POINTERS__].
17942 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17943 * elf/dl-runtime.c (_dl_fixup): Likewise.
17944 * include/set-hooks.h (RUN_HOOK): Likewise.
17945 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17946 definition.
17947 * string/strcpy.c (strcpy): Do not use __unbounded.
17948 * sysdeps/generic/frame.h (struct layout): Likewise.
17949 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17950 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17951 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17952 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17953 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17954 (__backtrace): Likewise.
17955 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17956 use __ptrvalue.
17957 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17958 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17959 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17960 Likewise.
17961 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17962 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17963 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17964 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17965 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17966 Do not use __unbounded.
17967 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17968 Rename __unboundedrlimits parameter to rlimits in prototype.
17969 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17970 Do not use __unbounded.
17971 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17972 not use __ptrvalue.
17973 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17974 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17975 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17976 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17977 __ptrvalue or __unbounded.
17978 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17979 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17980 use __unbounded.
17981 (__new_msgctl): Do not use __ptrvalue.
17982 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17983 __unbounded.
17984 (__libc_msgrcv): Do not use __ptrvalue.
17985 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17986 startup_info): Do not use __unbounded.
17987 (__libc_start_main): Likewise. Rename ubp_* variables and
17988 parameters. Remove argv definitions conditional on
17989 [__BOUNDED_POINTERS__].
17990 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17991 __ptrvalue.
17992 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17993 use __unbounded.
17994 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17995 or __ptrvalue.
17996 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17997 use __unbounded.
17998 (__new_shmctl): Do not use __ptrvalue.
17999 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18000 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18001 Likewise.
18002 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18004 (__libc_sigaction): Likewise.
18005 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18006 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18007 Likewise.
18008 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18009
cc7834d6
OB
180102013-02-13 Ondřej Bílka <neleai@seznam.cz>
18011
ffb1ec7b 18012 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18013
18014 * string/mempcpy.c: Implement by calling memcpy.
18015
bdf02814
SP
180162013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18017
c2af38aa
SP
18018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18019
4e92d59e
SP
18020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18021 evaluation.
18022
909279a5
SP
18023 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18024 values in the mantissa.
18025
bdf02814
SP
18026 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18027 minimize writes to Z.
18028 (sub_magnitudes): Simplify code a bit.
18029
cd525923
RM
180302013-02-12 Roland McGrath <roland@hack.frob.com>
18031
18032 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18033 from the message. The linker prefixes all warnings with that already.
18034
7e2f0d2d
AS
180352013-02-12 Andreas Schwab <schwab@suse.de>
18036
a445af0b
AS
18037 [BZ #15078]
18038 * posix/regexec.c (extend_buffers): Add parameter min_len.
18039 (check_matching): Pass minimum needed length.
18040 (clean_state_log_if_needed): Likewise.
18041 (get_subexp): Likewise.
18042 * posix/Makefile (tests): Add bug-regex34.
18043 (bug-regex34-ENV): Define.
18044 * posix/bug-regex34.c: New file.
18045
7e2f0d2d
AS
18046 [BZ #11561]
18047 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18048 elements compare against the byte sequence of it, not its name.
18049 * posix/Makefile (tests): Add bug-regex35.
18050 (bug-regex35-ENV): Define.
18051 * posix/bug-regex35.c: New file.
18052
a175b684
TV
180532013-02-11 Tom de Vries <tom@codesourcery.com>
18054
18055 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18056 comment.
18057 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18058 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18059 (CHECK_EOL): Add undef.
18060
310998fe 180612013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18062
18063 * bits/stdlib-bsearch.h: New file.
18064 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18065 * stdlib/stdlib.h: Likewise.
41eda41d 18066
8ded91fb
RM
180672013-02-11 Roland McGrath <roland@hack.frob.com>
18068
18069 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18070 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18071 declaration.
18072 * manual/search.texi (Array Search Function): Add missing const in
18073 lfind prototype.
18074 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18075 declaration to use rlim_t.
18076 (Basic Scheduling Functions): Remove erroneous const from
18077 sched_getparam prototype. Remove erroneous * from
18078 sched_get_priority_max and sched_get_priority_min prototypes.
18079 (Resource Usage): Fix summary @comment on vtimes to refer to
18080 sys/vtimes.h rather than vtimes.h.
18081 Add missing *s in vtimes prototype.
18082 (Limits on Resources): Fix ulimit prototype to return long int.
18083 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18084 prototypes to use long int rather than double.
18085 (BSD Random): Fix initstate and setstate to use char *, not void *.
18086 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18087 prototype to make second argument 'struct aiocb64 *const[]'.
18088 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18089 (Status of AIO Operations): Remove erroneous const in aio_return and
18090 aio_return64 prototypes.
18091 (Synchronizing I/O): Fix sync prototype to return void.
18092 * manual/startup.texi (Suboptions): Remove an erroneous const in
18093 getsubopt prototype.
18094 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18095 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18096 use size_t rather than int.
18097 (Scanning All Users): Likewise for getpwent_r.
18098 (Setting Groups): Add missing const to setgroups prototype.
18099 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18100 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18101 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18102 'const void *' rather than 'const char *'.
18103 (Host Address Functions): Likewise for inet_ntop.
18104 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18105 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18106 ssize_t for return value.
18107 (Sending Data): Likewise for send, sendto, sendmsg.
18108 (Socket Option Functions): Add a missing const in setsockopt prototype.
18109 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18110 use wchar_t for the argument.
18111 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18112 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18113 take no arguments.
18114 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18115 double/float/long double for second argument.
18116 Fix return types of significand, significandf, significandl.
18117 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18118 argument in fchmod prototype.
18119 (File Owner): Use uid_t and gid_t in fchown prototype.
18120 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18121 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18122 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18123 use 'const struct dirent **' as argument types to CMP function pointer
18124 argument.
18125 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18126 (File Times): Fix summary magic @comment for struct utimbuf and utime
18127 to refer to utime.h, not time.h.
18128 * manual/string.texi (Argz Functions): Add missing const in
18129 argz_extract and argz_next prototypes.
18130 (Finding Tokens in a String): Likewise for basename.
18131 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18132 (Copying and Concatenation): Fix typo in wmemmove prototype.
18133 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18134 (Signal Stack): Remove erroneous const in sigstack prototype.
18135 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18136 prototype.
18137 (Simple Calendar Time): Likewise for stime.
18138 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18139 prototype.
18140 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18141 say sys/sysctl.h instead.
18142 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18143 and vsyslog prototypes.
18144
fe77fe6d
TV
181452013-02-11 Tom de Vries <tom@codesourcery.com>
18146
18147 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18148 Remove.
18149
3a09b620
RM
181502013-02-11 Roland McGrath <roland@hack.frob.com>
18151
18152 * misc/sys/mman.h: Fix typo in mremap comment.
18153
550a0b89
RM
181542013-02-08 Roland McGrath <roland@hack.frob.com>
18155
18156 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18157 the '\0' terminator.
18158
a2da1673
JM
181592013-02-08 Joseph Myers <joseph@codesourcery.com>
18160
18161 [BZ #13550]
18162 * debug/segfault.c: Don't include <bp-checks.h>.
18163 * sysdeps/generic/bp-checks.h: Remove file.
18164 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18165 (__GETDENTS): Don't use CHECK_N.
18166 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18167 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18168 (__getgroups): Don't use CHECK_N.
18169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18170 (setgroups): Don't use CHECK_N.
18171 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18172 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18173 (__libc_msgrcv): Don't use CHECK_N.
18174 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18175 (__libc_msgsnd): Don't use CHECK_N.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18177 <bp-checks.h>.
18178 (__libc_pread): Don't use CHECK_N.
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18180 include <bp-checks.h>.
18181 (__libc_pread64): Don't use CHECK_N.
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18183 include <bp-checks.h>.
18184 (__libc_pwrite): Don't use CHECK_N.
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18186 include <bp-checks.h>.
18187 (__libc_pwrite64): Don't use CHECK_N.
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18189 <bp-checks.h>.
18190 (__libc_pread): Don't use CHECK_N.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18192 include <bp-checks.h>.
18193 (__libc_pread64): Don't use CHECK_N.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18195 include <bp-checks.h>.
18196 (__libc_pwrite): Don't use CHECK_N.
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18198 include <bp-checks.h>.
18199 (__libc_pwrite64): Don't use CHECK_N.
18200 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18201 (do_pread): Don't use CHECK_N.
18202 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18203 (do_pread64): Don't use CHECK_N.
18204 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18205 (do_pwrite): Don't use CHECK_N.
18206 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18207 (do_pwrite64): Don't use CHECK_N.
18208 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18209 (__libc_readv): Don't use CHECK_N.
18210 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18211 (semop): Don't use CHECK_N.
18212 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18213 <bp-checks.h>.
18214 (semtimedop): Don't use CHECK_N.
18215 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18216 (__libc_pread): Don't use CHECK_N.
18217 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18218 <bp-checks.h>.
18219 (__libc_pread64): Don't use CHECK_N.
18220 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18221 <bp-checks.h>.
18222 (__libc_pwrite): Don't use CHECK_N.
18223 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18224 <bp-checks.h>.
18225 (__libc_pwrite64): Don't use CHECK_N.
18226 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18227 <bp-checks.h>.
18228 (__libc_msgrcv): Don't use CHECK_N.
18229 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18230 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18231 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18232 (__libc_writev): Don't use CHECK_N.
18233
b84660a8
RM
182342013-02-08 Roland McGrath <roland@hack.frob.com>
18235
7f3e75f8
RM
18236 * string/strcpy.c: Removed unused variable.
18237
b84660a8
RM
18238 * Makeconfig (+sysdep-includes): Define with := rather than =.
18239 Use an existing include/ subdir of each sysdeps dir before it.
18240
471514d3
CD
182412013-02-08 Carlos O'Donell <carlos@redhat.com>
18242
18243 * nscd/connection.c (register_traced_file): Comment function.
18244 [HAVE_INOTIFY] (union __inev): Define.
18245 [HAVE_INOTIFY] (inotify_check_files): New function.
18246 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18247 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18248 clear_db_cache.
18249 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18250
b2d3c3be
CD
182512013-02-08 Carlos O'Donell <carlos@redhat.com>
18252
18253 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18254 loaded if not already and that a failure is permanent.
18255
b39949d2
CD
182562013-02-08 Carlos O'Donell <carlos@redhat.com>
18257
ddacd1db 18258 [BZ #15006]
b39949d2
CD
18259 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18260 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18261
b2c9eff4
JM
182622013-02-08 Joseph Myers <joseph@codesourcery.com>
18263
f3aae3f3
JM
18264 [BZ #13550]
18265 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18266 (CHECK_1_NULL_OK): Likewise.
18267 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18268 (__fxstat): Do not use CHECK_1.
18269 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18270 <bp-checks.h>.
18271 (___fxstat64): Do not use CHECK_1.
18272 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18273 <bp-checks.h>.
18274 (__fxstatat): Do not use CHECK_1.
18275 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18276 <bp-checks.h>.
18277 (__fxstatat64): Do not use CHECK_1.
18278 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18279 <bp-checks.h>.
18280 (__fxstat): Do not use CHECK_1.
18281 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18282 <bp-checks.h>.
18283 (__fxstatat): Do not use CHECK_1.
18284 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18285 <bp-checks.h>.
18286 (__getresgid): Do not use CHECK_1.
18287 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18288 <bp-checks.h>.
18289 (__getresuid): Do not use CHECK_1.
18290 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18291 <bp-checks.h>.
18292 (__lxstat): Do not use CHECK_1.
18293 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18294 <bp-checks.h>.
18295 (__old_msgctl): Do not use CHECK_1.
18296 (__new_msgctl): Likewise.
18297 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18298 <bp-checks.h>.
18299 (__new_setrlimit): Do not use CHECK_1.
18300 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18301 <bp-checks.h>.
18302 (__old_shmctl): Do not use CHECK_1.
18303 (__new_shmctl): Likewise.
18304 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18305 <bp-checks.h>.
18306 (__xstat): Do not use CHECK_1.
18307 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18308 (__lxstat): Do not use CHECK_1.
18309 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18310 <bp-checks.h>.
18311 (___lxstat64): Do not use CHECK_1.
18312 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18313 (__old_msgctl): Do not use CHECK_1.
18314 (__new_msgctl): Likewise.
18315 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18316 <bp-checks.h>.
18317 (__gettimeofday): Do not use CHECK_1.
18318 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18319 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18320 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18321 <bp-checks.h>.
18322 (__gettimeofday): Do not use CHECK_1.
18323 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18324 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18325 (__new_shmctl): Do not use CHECK_1.
18326 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18327 <bp-checks.h>.
18328 (do_sigtimedwait): Do not use CHECK_1.
18329 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18330 <bp-checks.h>.
18331 (do_sigwaitinfo): Do not use CHECK_1.
18332 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18333 <bp-checks.h>.
18334 (msgctl): Do not use CHECK_1.
18335 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18336 <bp-checks.h>.
18337 (shmctl): Do not use CHECK_1.
18338 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18339 (ustat): Do not use CHECK_1.
18340 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18341 <bp-checks.h>.
18342 (__fxstat): Do not use CHECK_1.
18343 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18344 <bp-checks.h>.
18345 (__fxstatat): Do not use CHECK_1.
18346 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18347 <bp-checks.h>.
18348 (__lxstat): Do not use CHECK_1.
18349 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18350 <bp-checks.h>.
18351 (__xstat): Do not use CHECK_1.
18352 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18353 (__xstat): Do not use CHECK_1.
18354 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18355 (___xstat64): Do not use CHECK_1.
18356
b2c9eff4
JM
18357 [BZ #13550]
18358 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18359 definitions.
18360 (CHECK_BOUNDS_HIGH): Likewise.
18361 * string/strcpy.c: Do not include <bp-checks.h>.
18362 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18363
f1d70dad
RM
183642013-02-07 Roland McGrath <roland@hack.frob.com>
18365
18366 * nscd/nscd-client.h (__nscd_drop_map_ref):
18367 Add __attribute__ ((unused)).
18368 * nis/nss-nisplus.h (niserr2nss): Likewise.
18369
18370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18371 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18372
18373 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18374 Remove inline keyword.
18375 * include/rounding-mode.h (round_away): Likewise.
18376 * libio/wfileops.c (adjust_wide_data): Likewise.
18377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18378 (__m128i_strloadu_tolower): Likewise.
18379 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18380 (__m128i_strloadu_tolower): Likewise.
18381 * time/mktime.c (ydhms_diff): Likewise.
18382 * locale/elem-hash.h (elem_hash): Likewise.
18383 * locale/setlocale.c (setdata): Likewise.
18384 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18385 (re_string_wchar_at): Likewise.
18386 (bitset_not, bitset_merge, bitset_mask): Likewise.
18387 [!(__GNUC__ > 3)] (inline): Remove macro.
18388 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18389 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18390 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18391 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18392 * string/memcmp.c (memcmp_bytes): Likewise.
18393 * locale/programs/locarchive.c (compute_hashval): Likewise.
18394 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18395 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18396 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18397 * nss/getent.c (print_rpc, print_protocols): Likewise.
18398 (print_passwd, print_group, print_aliases): Likewise.
18399 * nis/nss-nisplus.h (niserr2nss): Likewise.
18400 * nscd/connections.c (restart_p): Likewise.
18401 Change return type to bool.
18402
eab55bfb
RM
184032013-02-05 Roland McGrath <roland@hack.frob.com>
18404
7bd642f5
RM
18405 * Makeconfig (all-Depend-files): Add existing
18406 $(sorted-subdirs:=/Depend) files.
18407 (all-subdirs): Remove nss.
18408 * sysdeps/unix/inet/Subdirs: Add it here instead.
18409 * hesiod/Depend: New file.
18410
573c29b2
RM
18411 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18412 instead of calling alloca.
18413
b2e25af0
RM
18414 * io/lseek.c (__lseek): Rename to __libc_lseek.
18415 Define __lseek as an alias.
18416
eab55bfb
RM
18417 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18418
9a0d1941
CD
184192013-02-04 Carlos O'Donell <carlos@redhat.com>
18420
18421 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18422 else clause and remove check for non-standard endianness.
18423
b83bbec4
DM
184242013-02-04 David S. Miller <davem@davemloft.net>
18425
18426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18427
6277fdab
JM
184282013-02-04 Joseph Myers <joseph@codesourcery.com>
18429
18430 [BZ #13550]
18431 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18432 (__ubp_memchr): Remove prototype.
18433 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18434 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18435 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18436 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18437 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18438 Remove alias.
18439 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18440 (__ubp_memchr): Likewise.
18441 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18442 (__ubp_memchr): Likewise.
18443 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18444 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18445 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18446 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18447 CHECK_STRING.
18448 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18449 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18450 (__getcwd): Do not use CHECK_STRING.
18451 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18452 <bp-checks.h>.
18453 (__real_chown): Do not use CHECK_STRING.
18454 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18455 <bp-checks.h>.
18456 (fchownat): Do not use CHECK_STRING.
18457 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18458 CHECK_STRING.
18459 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18460 <bp-checks.h>.
18461 (__lchown): Do not use CHECK_STRING.
18462 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18463 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18464 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18465 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18467 include <bp-checks.h>.
18468 (truncate64): Do not use CHECK_STRING.
18469 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18470 <bp-checks.h>.
18471 (__real_chown): Do not use CHECK_STRING.
18472 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18473 <bp-checks.h>.
18474 (__lchown): Do not use CHECK_STRING.
18475 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18476 <bp-checks.h>.
18477 (__chown): Do not use CHECK_STRING.
18478 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18479 <bp-checks.h>.
18480 (truncate64): Do not use CHECK_STRING.
18481 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18482 Likewise.
18483 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18484 (__xmknod): Do not use CHECK_STRING.
18485 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18486 <bp-checks.h>.
18487 (__xmknodat): Do not use CHECK_STRING.
18488 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18489 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18490
903ae060
AS
184912013-02-04 Andreas Schwab <schwab@suse.de>
18492
18493 [BZ #14142]
18494 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18495 * include/netdb.h: Likewise for h_errno.
18496 * elf/tst-stackguard1.c: Include <tls.h>.
18497
542f9466
JK
184982013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18499
18500 * elf/link.h (struct link_map): Extend the l_addr comment.
18501 * include/link.h (struct link_map): Likewise.
18502
e782a927
JM
185032013-02-01 Joseph Myers <joseph@codesourcery.com>
18504
18505 [BZ #13550]
18506 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18507 (BOUNDED_1): Remove macro.
18508 * debug/backtrace.c: Don't include <bp-checks.h>.
18509 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18510 (__backtrace): Likewise.
18511 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18512 <bp-checks.h>.
18513 (__backtrace): Don't use BOUNDED_1.
18514 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18515 <bp-checks.h>.
18516 (__backtrace): Don't use BOUNDED_1.
18517 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18518 (__backtrace): Don't use BOUNDED_1.
18519 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18520 (shmat): Don't use BOUNDED_N.
18521
8cf28c5e
JM
185222013-01-31 Joseph Myers <joseph@codesourcery.com>
18523
3a7ac8a0
JM
18524 [BZ #13550]
18525 * sysdeps/generic/bp-start.h: Remove file.
18526 * csu/libc-start.c: Don't include <bp-start.h>.
18527 (LIBC_START_MAIN): Set up __environ directly instead of using
18528 INIT_ARGV_and_ENVIRON.
18529 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18530 <bp-start.h>.
18531
f3499f95
JM
18532 [BZ #13550]
18533 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18534 definitions.
18535 (CHECK_FCNTL): Likewise.
18536 (CHECK_N_PAGES): Likewise.
18537
32a45bea
JM
18538 [BZ #13550]
18539 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18540 definitions.
18541 (CHECK_SIGSET_NULL_OK): Likewise.
18542 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18543 <bp-checks.h>.
18544 (sigpending): Don't use CHECK_SIGSET.
18545 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18546 <bp-checks.h>.
18547 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18548 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18549 <bp-checks.h>.
18550 (do_sigsuspend): Don't use CHECK_SIGSET.
18551 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18552 use CHECK_SIGSET.
18553 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18554 (do_sigwait): Don't use CHECK_SIGSET.
18555 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18556 use CHECK_SIGSET.
18557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18558 include <bp-checks.h>.
18559 (sigpending): Don't use CHECK_SIGSET.
18560 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18561 include <bp-checks.h>.
18562 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18563 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18564 <bp-checks.h>.
18565 (sigpending): Don't use CHECK_SIGSET.
18566 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18567 <bp-checks.h>.
18568 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18569
2e8a5c8c
JM
18570 [BZ #13550]
18571 * sysdeps/generic/bp-semctl.h: Remove file.
18572 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18573 <bp-checks.h> and <bp-semctl.h>.
18574 (__old_semctl): Don't use CHECK_SEMCTL.
18575 (__new_semctl): Likewise.
18576 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18577 and <bp-semctl.h>.
18578 (__old_semctl): Don't use CHECK_SEMCTL.
18579 (__new_semctl): Likewise.
18580 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18581 <bp-checks.h> and <bp-semctl.h>.
18582 (__old_semctl): Don't use CHECK_SEMCTL.
18583 (__new_semctl): Likewise.
18584 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18585 <bp-checks.h> and <bp-semctl.h>.
18586 (semctl): Don't use CHECK_SEMCTL.
18587
c2d54929
JM
18588 [BZ #13550]
18589 * Makerules (elide-bp-thunks): Remove variable.
18590 (elide-routines.oS): Don't use $(elide-bp-thunks).
18591 (elide-routines.os): Likewise.
18592 (elide-routines.o): Likewise.
18593 (elide-routines.op): Likewise.
18594 (elide-routines.og): Likewise.
18595 (objects): Don't use $(bp-thunks).
18596 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18597 include.
18598 (common-generated): Do not add s-proto-bp.d.
18599 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18600 (int): Likewise.
18601 (typ): Likewise.
18602 Do not generate makefile rules for bounded-pointer thunks.
18603 * sysdeps/generic/bp-thunks.h: Remove file.
18604 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18605 * sysdeps/unix/s-proto-bp.S: Likewise.
18606
8cf28c5e
JM
18607 [BZ #15062]
18608 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18609 parts of result separately when argument is not close to line from
18610 -i to i and one part of argument is small.
18611 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18612 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18613 * math/libm-test.inc (cacos_test): Add more tests.
18614 (casin_test): Likewise.
18615 (casinh_test): Likewise.
18616 * sysdeps/i386/fpu/libm-test-ulps: Update.
18617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18618
c4e33b8d
DM
186192013-01-31 David S. Miller <davem@davemloft.net>
18620
18621 * po/de.po: Update from translation team.
18622
3b60b421
MK
186232013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18624
18625 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18626
bb931195
TS
186272013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18628
b5a5da23
TS
18629 * configure.in (_AC_PROG_CC_C89): New definition.
18630 * configure: Regenerate.
18631
bb931195
TS
18632 * configure.in (AC_PROG_CPP): New definition.
18633 * configure: Regenerate.
18634
8c53a12c
JM
186352013-01-23 Joseph Myers <joseph@codesourcery.com>
18636
18637 * debug/tst-backtrace.h: New file.
18638 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18639 (ret): Remove variable.
18640 (x): Likewise.
18641 (FAIL): Remove macro.
18642 (NO_INLINE): Likewise.
18643 (fn1): Use match function instead of strstr.
18644 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18645 (ret): Remove variable.
18646 (x): Likewise.
18647 (FAIL): Remove macro.
18648 (NO_INLINE): Likewise.
18649 (fn): Use match function instead of strstr.
18650 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18651 (ret): Remove variable.
18652 (x): Likewise.
18653 (FAIL): Remove macro.
18654 (NO_INLINE): Likewise.
18655 (handle_signal): Use match function instead of strstr.
18656 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18657 (ret): Remove variable.
18658 (x): Likewise.
18659 (FAIL): Remove macro.
18660 (NO_INLINE): Likewise.
18661 (handle_signal): Use match function instead of strstr.
18662
4858fa2a
RM
186632013-01-23 Roland McGrath <roland@hack.frob.com>
18664
18665 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18666
bae8e7f5
DM
186672013-01-23 David S. Miller <davem@davemloft.net>
18668
18669 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18670 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18671 argument of CAS if possible.
18672 * sysdeps/sparc/sparc64/bits/atomic.h
18673 (__arch_compare_and_exchange_val_32_acq): Likewise.
18674 (__arch_compare_and_exchange_val_64_acq): Likewise.
18675
9cbbc4ae
PT
186762013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18677
18678 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18679 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18680 Include <limits.h>.
67b3f58c 18681 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18682
5655a0b5
AC
186832013-01-23 Adam Conrad <adconrad@0c3.net>
18684
18685 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18686 (LDFLAGS-tst-array5): Likewise.
18687
052aff95
JM
186882013-01-23 Joseph Myers <joseph@codesourcery.com>
18689
18690 [BZ #15036]
18691 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18692 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18693 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18694 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18695
7c1e01aa
DM
186962013-01-21 David S. Miller <davem@davemloft.net>
18697
18698 * sysdeps/sparc/backtrace.c: New file.
18699 * sysdeps/sparc/sparc32/backtrace.h: New file.
18700 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18701 * sysdeps/sparc/sparc64/backtrace.h: New file.
18702 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18703 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18704 -funwind-tables.
18705
ab087e0a
AS
187062013-01-21 Andreas Schwab <schwab@suse.de>
18707
18708 [BZ #15020]
18709 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18710 closed its stdout.
18711
ed689c2f
AS
187122013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18713
18714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18715 "mpa2.h".
18716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18717
31d470ac
JM
187182013-01-18 Joseph Myers <joseph@codesourcery.com>
18719 Mark Mitchell <mark@codesourcery.com>
18720 Tom de Vries <tom@codesourcery.com>
18721 Paul Pluzhnikov <ppluzhnikov@google.com>
18722
18723 * debug/tst-backtrace2.c: New file.
18724 * debug/tst-backtrace3.c: Likewise.
18725 * debug/tst-backtrace4.c: Likewise.
18726 * debug/tst-backtrace5.c: Likewise.
18727 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18728 (CFLAGS-tst-backtrace3.c): Likewise.
18729 (CFLAGS-tst-backtrace4.c): Likewise.
18730 (CFLAGS-tst-backtrace5.c): Likewise.
18731 (LDFLAGS-tst-backtrace2): Likewise.
18732 (LDFLAGS-tst-backtrace3): Likewise.
18733 (LDFLAGS-tst-backtrace4): Likewise.
18734 (LDFLAGS-tst-backtrace5): Likewise.
18735 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18736 tst-backtrace4 and tst-backtrace5.
18737
90567f30 187382013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18739 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18740
18741 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18742 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18743 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18744 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18746 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18747 "+r" and remove output regs list as redundant. Add explicit inline
18748 asm to specify register of return val to work around compiler codegen
18749 bug. Remove (int) cast on return value. Add return type parameter to
18750 use in macro so that this macro does not truncate return value for
18751 64-bit values.
18752 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18753 pass to INTERNAL_VSYSCALL_NCS.
18754 (INLINE_VSYSCALL): Add 'long int' as return type to
18755 INTERNAL_VSYSCALL_NCS macro invocation.
18756 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18757 INTERNAL_VSYSCALL_NCS macro invocation.
18758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18759
d3b9ea61
SP
187602013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18761
0b57daeb
SP
18762 [BZ #14496]
18763 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18764 Fix application of SIMD FP exception mask.
18765
caa99d06
SP
18766 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18767 mp_no from a power of two.
18768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18769 __mpexp_twomm1. Use __pow_mp.
18770
d3b9ea61
SP
18771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18772 multiplication.
18773
1dbaee3c
DM
187742013-01-17 David S. Miller <davem@davemloft.net>
18775
18776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18777
728d7b43
JM
187782013-01-17 Joseph Myers <joseph@codesourcery.com>
18779
18780 [BZ #15023]
18781 * include/complex.h: Condition contents on [!_COMPLEX_H].
18782 (__kernel_casinhf): New prototype.
18783 (__kernel_casinh): Likewise.
18784 (__kernel_casinhl): Likewise.
18785 * math/Makefile (libm_calls): Add k_casinh.
18786 * math/k_casinh.c: New file.
18787 * math/k_casinhf.c: Likewise.
18788 * math/k_casinhl.c: Likewise.
18789 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18790 finite nonzero arguments.
18791 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18792 finite nonzero arguments.
18793 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18794 finite nonzero arguments.
18795 * math/s_casinh.c: Do not include <float.h>.
18796 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18797 * math/s_casinhf.c: Do not include <float.h>.
18798 (__casinhf): Move code for finite nonzero arguments to
18799 k_casinhf.c.
18800 * math/s_casinhl.c: Do not include <float.h>.
18801 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18802 redefine.
18803 (__casinhl): Move code for finite nonzero arguments to
18804 k_casinhl.c.
18805 * math/libm-test.inc (cacos_test): Add more tests.
18806 * sysdeps/i386/fpu/libm-test-ulps: Update.
18807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18808
2a26ef3a
PT
188092013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18810
18811 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18812 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18813 [!HAVE_MREMAP]: Remove [defined linux] case.
18814 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18815
a897655d
SP
188162013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18817
18818 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18819
881ebe89 188202013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18821
18822 * elf/elf.h (R_386_SIZE32): New relocation.
18823 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18824 R_386_SIZE32.
18825 (elf_machine_rela): Likewise.
18826 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18827 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18828
59981e9b
JM
188292013-01-17 Joseph Myers <joseph@codesourcery.com>
18830
18831 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18832 (FP_FAST_FMA): Do not define.
18833 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18834 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18835 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18836 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18837 !_SOFT_FLOAT]: Likewise.
18838 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18839 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18840 value.
18841 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18842 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18843 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18844 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18845 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18846 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18847 file.
18848
cfa8054f
AS
188492013-01-16 Andreas Schwab <schwab@suse.de>
18850
18851 [BZ #14327]
18852 * include/stdlib.h (__mktemp): Add declaration.
18853 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18854 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18855
dd930cc5
SP
188562013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18857
881ebe89
SP
18858 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18859 definitions.
18860 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18861 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18862 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18863 definitions here.
18864 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18865 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18866 definitions.
18867 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18868 and ONE.
18869 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18870 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18871 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18872 definitions.
18873 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18874 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18875 definitions.
18876 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18877
dd930cc5
SP
18878 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18879
c19a9f89
DM
188802013-01-15 David S. Miller <davem@davemloft.net>
18881
1aa61767
DM
18882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18883 trunc{,f} to libm-sysdep_routes.
18884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18886 file.
18887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18889 file.
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18891 file.
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18894 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18895 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18896 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18897 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18898 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18899 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18900
c42d5e98
DM
18901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18902 nearbyint{,f} to libm-sysdep_routes.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18905 New file.
18906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18907 file.
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18909 New file.
18910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18911 file.
18912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18915 file.
18916 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18917 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18918 file.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18920 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18922
c19a9f89
DM
18923 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18924 libc_feholdexcept and libc_fesetenv.
18925
357679d2
MF
189262013-01-15 Mike Frysinger <vapier@gentoo.org>
18927
18928 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18929
65a82e3d
DM
189302013-01-14 David S. Miller <davem@davemloft.net>
18931
8b954ab9
DM
18932 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18933 (SPARC_ASM_VIS2_IFUNC): Likewise.
18934 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18936 use of 'siam' instruction.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18938 Likewise.
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18940 Likewise.
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18942 Likewise.
18943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18948 file.
18949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18950 file.
18951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18952 file.
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18954 file.
18955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18960 new VIS2 routines.
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18964 Likewise.
18965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18970 routines to libm-sysdep_routines.
18971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18972
65a82e3d
DM
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18974 fdim/fdimf to libm-sysdep_routines.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18976 file.
18977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18979 file.
18980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18983 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18984 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18985 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18986 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18987
e34ab705
SP
189882013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18989
2a91b573
SP
18990 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18991 to optimize copies.
18992
1066a534
SP
18993 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18996
e34ab705
SP
18997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18998 local variable MPTWO.
18999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19000 Likewise.
19001
aba5e596
MF
190022013-01-13 Mike Frysinger <vapier@gentoo.org>
19003
19004 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19005 GLOB_NOESCAPE.
19006
e557e9e5
MF
190072013-01-13 Mike Frysinger <vapier@gentoo.org>
19008
19009 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19010
0428cec9
MF
190112013-01-13 Mike Frysinger <vapier@gentoo.org>
19012
19013 * manual/pattern.texi (glob_t): Document gl_flags.
19014 (glob64_t): Likewise.
19015
8794a964
DM
190162013-01-11 David S. Miller <davem@davemloft.net>
19017
66438c3f
RM
19018 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19019 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19020 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19021 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19022 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19023 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19024 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19025 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19026 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19027 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19028 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19029 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19030 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19031
4ae4244d
DM
19032 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19033 sparc V9 rather than using V8 code.
19034 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19035 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19036
8794a964
DM
19037 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19038 Move to...
19039 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19040 Here.
19041
6270516e
RM
190422013-01-11 Roland McGrath <roland@hack.frob.com>
19043
19044 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19045 not in the main loop.
19046 * configure: Regenerated.
19047
6a57d931
JM
190482013-01-11 Joseph Myers <joseph@codesourcery.com>
19049
19050 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19051 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19052 to just #else.
19053 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19054 [!__GLIBC_HAVE_LONG_LONG] case.
19055 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19056 condition to just #else.
19057 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19058 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19059 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19060 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19061 unconditional.
19062 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19063 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19064 #elif condition to just #else.
19065 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19066 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19067 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19068 #elif condition to just #else.
19069
0e8529e9
SE
190702013-01-11 Steve Ellcey <sellcey@mips.com>
19071
19072 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19073 (EF_MIPS_ARCH_64): Fix value.
19074 (EF_MIPS_ARCH_32R2): New.
19075 (EF_MIPS_ARCH_64R2): New.
19076
740b3dbe
L
190772013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19078
19079 * Makeconfig (+link-pie-before-libc): New.
19080 (+link-pie-after-libc): Likewise.
19081 (+link-pie-tests): Likewise.
19082 (+link-pie): Rewritten.
19083 (link-before-libc): Remove $(config-LDFLAGS).
19084 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19085 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19086 (config-LDFLAGS): Renamed to ...
19087 (rtld-LDFLAGS): This.
19088 (rtld-tests-LDFLAGS): New macro.
19089 (link-libc-rpath-link): Likewise.
19090 (link-libc-tests-rpath-link): Likewise.
19091 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19092 (link-libc): Prepand $(link-libc-rpath-link).
19093 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19094 (test-program-prefix): New macro.
19095 (test-via-rtld-prefix): Likewise.
19096 (test-program-cmd): Likewise.
19097 (host-test-program-cmd): Likewise.
19098 * Makefile ($(common-objpfx)testrun.sh): Replace
19099 $(run-program-prefix) with $(test-program-prefix).
19100 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19101 $(rtld-LDFLAGS).
19102 ($(common-objpfx)shlib.lds): Likewise.
19103 (build-module-helper): Likewise.
19104 ($(common-objpfx)format.lds): Likewise.
19105 * Rules (binaries-pie-tests): New.
19106 (binaries-pie-notests): Likewise.
19107 (binaries-pie): Rewritten.
19108 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19109 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19110 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19111 (make-test-out): Replace $(host-built-program-cmd) with
19112 $(host-test-program-cmd).
19113 * config.make.in (build-hardcoded-path-in-tests): New variable.
19114 * configure.in (--enable-hardcoded-path-in-tests): New configure
19115 option.
19116 (hardcoded_path_in_tests): New AC_SUBST.
19117 * configure: Regenerated.
19118 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19119 $(built-program-cmd) with $(test-program-cmd).
19120 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19121 (test_program_cmd): This.
19122 * elf/Makefile ($(objpfx)order.out): Run test with
19123 $(test-program-prefix).
19124 ($(objpfx)order2.out): Likewise.
19125 ($(objpfx)tst-initorder.out): Likewise.
19126 ($(objpfx)tst-initorder2.out): Likewise.
19127 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19128 $(test-program-cmd).
19129 ($(objpfx)tst-array1-static.out): Likewise.
19130 ($(objpfx)tst-array2.out): Likewise.
19131 ($(objpfx)tst-array3.out): Likewise.
19132 ($(objpfx)tst-array4.out): Likewise.
19133 ($(objpfx)tst-array5.out): Likewise.
19134 ($(objpfx)tst-array5-static.out): Likewise.
19135 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19136 $(test-program-cmd).
19137 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19138 $(run-program-prefix) with $(test-program-prefix).
19139 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19140 (test_program_prefix): This.
19141 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19142 $(run-program-prefix) with $(test-program-prefix).
19143 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19144 (test_program_prefix): This.
19145 * iconvdata/tst-tables.sh: Likewise.
19146 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19147 $(run-program-prefix) with $(test-program-prefix).
19148 ($(objpfx)tst-translit.out): Likewise.
19149 ($(objpfx)tst-gettext2.out): Likewise.
19150 ($(objpfx)tst-gettext4.out): Likewise.
19151 ($(objpfx)tst-gettext6.out): Likewise.
19152 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19153 (test_program_prefix): This.
19154 * intl/tst-gettext2.sh: Likewise.
19155 * intl/tst-gettext4.sh Likewise.
19156 * intl/tst-gettext6.sh: Likewise.
19157 * intl/tst-translit.sh: Likewise.
19158 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19159 with $(test-program-cmd).
19160 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19161 $(run-program-prefix) with $(test-program-prefix).
19162 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19163 (test_program_prefix): This.
19164 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19165 $(run-program-prefix) with $(test-program-prefix).
19166 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19167 (test_program_prefix): This.
19168 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19169 * posix/Makefile ($(objpfx)globtest.out): Replace
19170 $(run-via-rtld-prefix) and $(test-wrapper) with
19171 $(test-program-prefix) and $(test-via-rtld-prefix).
19172 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19173 $(test-program-prefix).
19174 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19175 $(host-test-program-cmd).
19176 (tst-spawn-ARGS): Likewise.
19177 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19178 $(test-program-prefix).
19179 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19180 (test_via_rtld_prefix): This.
19181 (test_wrapper): Renamed to ...
19182 (test_program_prefix): This.
19183 (run_program_prefix): Replaced by test_program_prefix.
19184 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19185 (test_program_prefix): This.
19186 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19187 with $(host-test-program-cmd).
19188 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19189 $(run-program-prefix) with $(test-program-prefix).
19190 ($(objpfx)tst-printf.out): Likewise.
19191 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19192 $(test-program-cmd).
19193 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19194 (test_program_prefix): This.
19195 * stdio-common/tst-unbputc.sh: Likewise.
19196 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19197 $(run-program-prefix) with $(test-program-prefix).
19198 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19199 (test_program_prefix): This.
19200 * string/Makefile ($(objpfx)tst-svc.out): Replace
19201 $(built-program-cmd) with $(test-program-cmd).
19202
c6fe55cf
AJ
192032013-01-11 Andreas Jaeger <aj@suse.de>
19204
19205 [BZ #15003]
19206 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19207 value. Sync with Linux 3.7.
19208
9e6919c8
DM
192092013-01-10 David S. Miller <davem@davemloft.net>
19210
19211 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19212 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19213 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19214
1c9f1a02
RM
192152013-01-10 Roland McGrath <roland@hack.frob.com>
19216
19217 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19218 never set.
19219 * configure: Regenerated.
19220
b9de2dde
DM
192212013-01-10 David S. Miller <davem@davemloft.net>
19222
19223 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19224 sparc V9 rather than using V8 code.
19225 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19226 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19227
e7f68ef4
RM
192282013-01-10 Roland McGrath <roland@hack.frob.com>
19229
19230 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19231 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19232 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19233 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19234 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19235 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19236 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19237 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19238 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19239 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19240 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19241 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19242 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19243 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19244 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19245 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19246 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19247 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19248 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19249 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19250 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19251 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19252 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19253 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19254 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19255 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19256 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19257
5a47cc9c
DM
192582013-01-10 David S. Miller <davem@davemloft.net>
19259
19260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19261
4cf8f209
L
192622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19263
19264 * posix/Makefile (tests-static): New variable.
19265 (tests): Add $(tests-static).
19266 (tst-exec-static-ARGS): New variable.
19267 (tst-spawn-static-ARGS): Likewise.
19268 * posix/tst-exec-static.c: New file.
19269 * posix/tst-spawn-static.c: Likewise.
19270 * posix/tst-exec.c: Support run directly.
19271 * posix/tst-spawn.c: Likewise.
19272
fed0faa1
JM
192732013-01-10 Joseph Myers <joseph@codesourcery.com>
19274
828beb13
JM
19275 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19276 long.
19277 * math/bits/mathcalls.h (llrint): Likewise.
19278 (llround): Likewise.
19279 * stdlib/stdlib.h (struct drand48_data): Likewise.
19280 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19281 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19282 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19283 Likewise.
19284 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19285 Likewise.
19286 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19287 (elf_greg_t): Likewise.
19288 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19289 (__jmp_buf): Likewise.
19290 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19291 definitions.
19292 (llrint): Likewise, for all definitions.
19293 (llrintl): Likewise.
19294
fed0faa1
JM
19295 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19296 Remove [__GNUC__] condition.
19297 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19298 condition to just [__USE_ISOC99].
19299 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19300
1a20cb20
L
193012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19302
19303 [BZ #14200]
19304 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19305 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19306 defined.
19307 (_POSIX_V6_ILP32_OFF32): Likewise.
19308 (_XBS5_ILP32_OFF32): Likewise.
19309 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19310 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19311
751b85f7
SP
193122013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19313
7490eb81
SP
19314 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19315
751b85f7
SP
19316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19317 doubles __mpexp_twomm1. Adjust usage.
19318 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19319 Remove.
19320
988197f0
AS
193212013-01-10 Andreas Schwab <schwab@suse.de>
19322
19323 [BZ #14964]
19324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19325 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19326
e83d7298
DM
193272013-01-09 David S. Miller <davem@davemloft.net>
19328
034ed64b 19329 [BZ #15003]
e83d7298
DM
19330 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19331 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19332 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19333 TCP_FASTOPEN): Define.
19334 (tcp_repair_opt): New structure.
19335 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19336 enum values.
19337 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19338 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19339 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19340 (tcp_cookie_transactions): New structure.
19341
d5e0b9bd
AB
193422013-01-09 Anton Blanchard <anton@samba.org>
19343
19344 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19345 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19347 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19348
0c07e3ea
JM
193492013-01-09 Joseph Myers <joseph@codesourcery.com>
19350
19351 * include/features.h (__USE_ANSI): Remove.
19352
232f7002
RM
193532013-01-09 Roland McGrath <roland@hack.frob.com>
19354
ad98e30c
RM
19355 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19356
232f7002
RM
19357 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19358
950c99ca
SP
193592013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19360
b5792741
SP
19361 * sysdeps/s390/fpu/libm-test-ulps: Update.
19362
47cf2278
SP
19363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19364
950c99ca
SP
19365 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19366 (__acr): Likewise.
19367 (__cpy): Likewise.
19368 (norm): Likewise.
19369 (denorm): Likewise.
19370 (__mp_dbl): Likewise.
19371 (__dbl_mp): Likewise.
19372 (add_magnitudes): Likewise.
19373 (sub_magnitudes): Likewise.
19374 (__add): Likewise.
19375 (__sub): Likewise.
19376 (__mul): Likewise.
19377 (__inv): Likewise.
19378 (__dvd): Likewise.
19379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19380 (__acr): Likewise.
19381 (__cpy): Likewise.
19382 (norm): Likewise.
19383 (denorm): Likewise.
19384 (__mp_dbl): Likewise.
19385 (__dbl_mp): Likewise.
19386 (add_magnitudes): Likewise.
19387 (sub_magnitudes): Likewise.
19388 (__add): Likewise.
19389 (__sub): Likewise.
19390 (__mul): Likewise.
19391 (__inv): Likewise.
19392 (__dvd): Likewise.
19393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19394 (__acr): Likewise.
19395 (__cpy): Likewise.
19396 (norm): Likewise.
19397 (denorm): Likewise.
19398 (__mp_dbl): Likewise.
19399 (__dbl_mp): Likewise.
19400 (add_magnitudes): Likewise.
19401 (sub_magnitudes): Likewise.
19402 (__add): Likewise.
19403 (__sub): Likewise.
19404 (__mul): Likewise.
19405 (__inv): Likewise.
19406 (__dvd): Likewise.
19407
eede9df9
JM
194082013-01-08 Joseph Myers <joseph@codesourcery.com>
19409
19410 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19411 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19412 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19413 2 && __USE_EXTERN_INLINES]: Likewise.
19414
c40ea3d9
AJ
194152013-01-08 Andreas Jaeger <aj@suse.de>
19416
19417 [BZ# 14985]
19418 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19419 Remove.
19420 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19421 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19422
2ccdea26
AB
194232013-01-07 Anton Blanchard <anton@samba.org>
19424
19425 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19426 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19427 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19428 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19429 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19430 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19431 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19432 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19434 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19435 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19437 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19438 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19439 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19440 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19441 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19442 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19443 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19444 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19448 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19449 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19450 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19451 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19452 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19454 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19455 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19457 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19458 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19459 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19460 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19461 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19462 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19463 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19464 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19465 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19466 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19467 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19468
a9708fed
JM
194692013-01-07 Joseph Myers <joseph@codesourcery.com>
19470
375607b9
JM
19471 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19472 (__MALLOC_PMT): Likewise.
19473 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19474 [__GNUC__], only on [_LIBC].
19475 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19476 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19477 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19478 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19479 forward declaration.
19480 (realloc_hook_ini): Likewise.
19481 (memalign_hook_ini): Likewise.
19482 (__libc_memalign): Do not use __MALLOC_PMT in variable
19483 declaration.
19484 (__libc_valloc): Likewise.
19485 (__libc_pvalloc): Likewise.
19486 (__libc_calloc): Likewise.
19487 (__posix_memalign): Likewise.
19488
a9708fed
JM
19489 [BZ #14996]
19490 * math/s_casinh.c: Include <float.h>.
19491 (__casinh): Do not do computation with squaring and square root
19492 for large arguments.
19493 * math/s_casinhf.c: Include <float.h>.
19494 (__casinhf): Do not do computation with squaring and square root
19495 for large arguments.
19496 * math/s_casinhl.c: Include <float.h>.
19497 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19498 (__casinhl): Do not do computation with squaring and square root
19499 for large arguments.
19500 * math/libm-test.inc (casin_test): Add more tests.
19501 (casinh_test): Likewise.
19502 * sysdeps/i386/fpu/libm-test-ulps: Update.
19503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19504
afec409a
L
195052013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19506
19507 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19508 (__x86_64_raw_data_cache_size): Likewise.
19509 (__x86_64_data_cache_size_half): Likewise.
19510 (__x86_64_raw_data_cache_size_half): Likewise.
19511 (__x86_64_shared_cache_size): Likewise.
19512 (__x86_64_raw_shared_cache_size): Likewise.
19513 (__x86_64_shared_cache_size_half): Likewise.
19514 (__x86_64_raw_shared_cache_size_half): Likewise.
19515 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19516 to ...
19517 (__x86_data_cache_size): This.
19518 (__x86_64_raw_data_cache_size): Renamed to ...
19519 (__x86_raw_data_cache_size): This.
19520 (__x86_64_data_cache_size_half): Renamed to ...
19521 (__x86_data_cache_size_half): This.
19522 (__x86_64_raw_data_cache_size_half): Renamed to ...
19523 (__x86_raw_data_cache_size_half): This.
19524 (__x86_64_shared_cache_size): Renamed to ...
19525 (__x86_shared_cache_size): This.
19526 (__x86_64_raw_shared_cache_size): Renamed to ...
19527 (__x86_raw_shared_cache_size): This.
19528 (__x86_64_shared_cache_size_half): Renamed to ...
19529 (__x86_shared_cache_size_half): This.
19530 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19531 (__x86_raw_shared_cache_size_half): This.
19532 * sysdeps/x86_64/memcpy.S: Updated.
19533 * sysdeps/x86_64/memset.S: Likewise.
19534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19536 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19537
0b3986d0
DM
195382013-01-04 David S. Miller <davem@davemloft.net>
19539
19540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19541
e47686e9
AS
195422013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19543
d643bac1
AS
19544 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19545 1 to avoid redefinition warning.
19546 (__USE_GNU): Don't define.
19547 (init_signaling_nan): Protoize.
19548
e47686e9
AS
19549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19550
b18decba
SP
195512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19552
fffb407f
SP
19553 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19555 (__cpymn): Likewise.
19556 (norm): Remove commented code.
19557 (denorm): Likewise.
19558 (__mp_dbl): Likewise.
19559 (__inv): Likewise.
19560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19561 (__cpymn): Likewise.
19562 (norm): Remove commented code.
19563 (denorm): Likewise.
19564 (__mp_dbl): Likewise.
19565 (__inv): Likewise.
19566
b18decba
SP
19567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19568 mp_no value for 1.0 and 2.0.
19569 (norm): Use RADIXI instead of radixi.d.
19570 (denorm): Likewise.
19571 (__mul): Use 0.0 instead of zero.d.
19572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19573 mp_no value for 1.0 and 2.0.
19574 (norm): Use RADIXI instead of radixi.d.
19575 (denorm): Likewise.
19576 (__mul): Use 0.0 instead of zero.d.
19577
cdc1c96f
JM
195782013-01-04 Joseph Myers <joseph@codesourcery.com>
19579
19580 [BZ #14994]
19581 * math/s_casinh.c (__casinh): Reduce finite argument to first
19582 quadrant then set signs of results at the end.
19583 * math/s_casinhf.c (__casinhf): Likewise.
19584 * math/s_casinhl.c (__casinhl): Likewise.
19585 * math/libm-test.inc (casin_test): Add more tests.
19586 (casinh_test): Likewise.
19587 * sysdeps/i386/fpu/libm-test-ulps: Update.
19588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19589
302913e1
SP
195902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19591
6420d207
SP
19592 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19593
a9e48ab4
SP
19594 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19595
b7837264
SP
19596 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19597 declarations.
19598 (denorm): Likewise.
19599 (__mp_dbl): Likewise.
19600 (__inv): Likewise.
19601
f8af25d2
SP
19602 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19603 and adjust the header comment.
19604
302913e1
SP
19605 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19606 variable name from declaration.
19607
5d7dd1ca
L
196082013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19609
19610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19611 Initialize COMMON_CPUID_INDEX_7 element.
19612 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19613 (CPUID_RTM): Likewise.
19614 (HAS_RTM): Likewise.
19615 (COMMON_CPUID_INDEX_7): New enum.
19616
2f5f40f4
AS
196172013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19618
19619 [BZ #14981]
19620 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19621 size is zero, record memory as freed.
19622
4056f4a0
AJ
196232013-01-03 Andreas Jaeger <aj@suse.de>
19624
19625 * po/ia.po: Add new Interlingua translation.
19626
ab15736f 196272012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19628
19629 * locale/programs/localedef.c: Fix description of '--posix' flag.
19630
568035b7
JM
196312013-01-02 Joseph Myers <joseph@codesourcery.com>
19632
e6898b8d
JM
19633 * NEWS: Update dates in second copyright notice.
19634 * README: Update copyright dates in example.
19635 * manual/libc.texinfo: Update copyright dates.
19636 * scripts/test-installation.pl: Update copyright date in --version
19637 output.
19638
0e2f9562
JM
19639 * hurd/ctty-input.c: Fix copyright notice formatting.
19640 * hurd/ctty-output.c: Likewise.
19641 * hurd/dtable.c: Likewise.
19642 * hurd/hurd-raise.c: Likewise.
19643 * hurd/hurdprio.c: Likewise.
19644 * hurd/msgportdemux.c: Likewise.
19645 * misc/sys/file.h: Likewise.
19646 * misc/sys/ioctl.h: Likewise.
19647 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19648 * sysdeps/mach/hurd/chdir.c: Likewise.
19649 * sysdeps/mach/hurd/fchdir.c: Likewise.
19650 * sysdeps/mach/hurd/rename.c: Likewise.
19651 * sysdeps/mach/hurd/rmdir.c: Likewise.
19652 * sysdeps/mach/hurd/seekdir.c: Likewise.
19653 * sysdeps/mach/hurd/setsid.c: Likewise.
19654 * sysdeps/posix/wait3.c: Likewise.
19655
568035b7
JM
19656 * All files with FSF copyright notices: Update copyright dates
19657 using scripts/update-copyrights.
19658 * intl/plural.c: Regenerated.
19659 * locale/programs/charmap-kw.h: Likewise.
19660 * locale/programs/locfile-kw.h: Likewise.
19661
da08f647
SP
196622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19663
0f5477af
SP
19664 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19665 four values.
19666
44e0d4c2
SP
19667 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19668 calculation loop and add branch prediction.
19669
4d55b4e5
SP
19670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19671 check access beyond bounds of m1np.
19672
da08f647
SP
19673 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19674 MPTWO.
19675 (__inv): Remove local variable MPTWO to use the global
19676 constant.
19677 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19678 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19679 variable MPTWO.
19680 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19681 MP3HALFS static const.
19682
8e051029
DM
196832013-01-01 David S. Miller <davem@davemloft.net>
19684
19685 * po/ca.po: Update from translation team.
19686
f4cf5f2d
JM
196872013-01-01 Joseph Myers <joseph@codesourcery.com>
19688
19689 * scripts/update-copyrights: New file.
19690 * Makeconfig: Reformat copyright notice.
19691 * ctype/ctype.h: Likewise.
19692 * debug/swprintf_chk.c: Likewise.
19693 * elf/dl-cache.c: Likewise.
19694 * elf/dl-debug.c: Likewise.
19695 * elf/dl-object.c: Likewise.
19696 * grp/initgroups.c: Likewise.
19697 * hurd/Makefile: Likewise.
19698 * hurd/hurd/signal.h: Likewise.
19699 * hurd/hurdfault.c: Likewise.
19700 * hurd/hurdioctl.c: Likewise.
19701 * hurd/hurdlookup.c: Likewise.
19702 * hurd/intr-msg.c: Likewise.
19703 * iconv/gconv_open.c: Likewise.
19704 * libio/swprintf.c: Likewise.
19705 * locale/lc-ctype.c: Likewise.
19706 * locale/nl_langinfo.c: Likewise.
19707 * mach/Machrules: Likewise.
19708 * mach/Makefile: Likewise.
19709 * malloc/obstack.h: Likewise.
19710 * manual/Makefile: Likewise.
19711 * manual/tsort.awk: Likewise.
19712 * misc/bits/stab.def: Likewise.
19713 * nis/nis_print_group_entry.c: Likewise.
19714 * nis/nis_table.c: Likewise.
19715 * nis/nss_compat/compat-pwd.c: Likewise.
19716 * nis/nss_compat/compat-spwd.c: Likewise.
19717 * po/Makefile: Likewise.
19718 * posix/fnmatch.c: Likewise.
19719 * posix/regex.h: Likewise.
19720 * resolv/Makefile: Likewise.
19721 * resolv/nss_dns/dns-network.c: Likewise.
19722 * resolv/res_hconf.c: Likewise.
19723 * scripts/gen-sorted.awk: Likewise.
19724 * soft-fp/soft-fp.h: Likewise.
19725 * stdio-common/printf.h: Likewise.
19726 * stdlib/monetary.h: Likewise.
19727 * stdlib/random.c: Likewise.
19728 * stdlib/random_r.c: Likewise.
19729 * sysdeps/generic/Makefile: Likewise.
19730 * sysdeps/gnu/Makefile: Likewise.
19731 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19733 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19738 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19742 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19743 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19744 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19746 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19747 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19754 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19755 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19756 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19757 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19758 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19759 * sysdeps/mach/hurd/errnos.awk: Likewise.
19760 * sysdeps/mach/hurd/fork.c: Likewise.
19761 * sysdeps/mach/hurd/getcwd.c: Likewise.
19762 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19763 * sysdeps/mach/hurd/mmap.c: Likewise.
19764 * sysdeps/mach/hurd/utimes.c: Likewise.
19765 * sysdeps/mach/hurd/xmknod.c: Likewise.
19766 * sysdeps/posix/profil.c: Likewise.
19767 * sysdeps/posix/readdir_r.c: Likewise.
19768 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19769 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19770 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19771 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19773 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19774 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19775 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19777 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19778 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19779 * sysdeps/pthread/lio_listio.c: Likewise.
19780 * sysdeps/sparc/dl-procinfo.h: Likewise.
19781 * sysdeps/unix/i386/sysdep.S: Likewise.
19782 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19783 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19784 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19785 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19787 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19788 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19789 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19790 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19791 * sysdeps/wordsize-32/divdi3.c: Likewise.
19792 * time/sys/time.h: Likewise.
19793 * wcsmbs/Makefile: Likewise.
19794
0549fbba
DM
197952013-01-01 David S. Miller <davem@davemloft.net>
19796
a141f1a7
DM
19797 * po/fr.po: Update from translation team.
19798
0549fbba
DM
19799 * catgets/gencat.c: Update copyright year.
19800 * csu/version.c: Likewise.
19801 * debug/catchsegv.sh: Likewise.
19802 * debug/pcprofiledump.c: Likewise.
19803 * debug/xtrace.sh: Likewise.
19804 * elf/ldconfig.c: Likewise.
19805 * elf/ldd.bash.in: Likewise.
19806 * elf/pldd.c: Likewise.
19807 * elf/sotruss.ksh: Likewise.
19808 * elf/sprof.c: Likewise.
19809 * iconv/iconv_prog.c: Likewise.
19810 * iconv/iconvconfig.c: Likewise.
19811 * locale/programs/locale.c: Likewise.
19812 * locale/programs/localedef.c: Likewise.
19813 * login/programs/pt_chown.c: Likewise.
19814 * malloc/memusage.sh: Likewise.
19815 * malloc/memusagestat.c: Likewise.
19816 * malloc/mtrace.pl: Likewise.
19817 * nscd/nscd.c: Likewise.
19818 * nss/getent.c: Likewise.
19819 * nss/makedb.c: Likewise.
19820 * posix/getconf.c: Likewise.
19821
18ea052c
SP
198222012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19823
19824 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19825 numbers.
19826
9c89fca6
MF
198272012-12-30 Mike Frysinger <vapier@gentoo.org>
19828
19829 * math/bits/mathcalls.h (modf): Use __nonnull.
19830
085ec079
SP
198312012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19832
19833 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19834 (split): Use macro CN instead of the bare value.
19835 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19836 could be used.
19837 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19838 instead of the bare value.
19839 (power1): Likewise.
19840
6d9f97e1
SP
198412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19842
d63f73be
SP
19843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19844 __ATAN_TWOM.
19845 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19846
6d9f97e1
SP
19847 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19848 their values.
19849 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19850 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19851 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19852 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19853
4c4febf5
AJ
198542012-12-28 Andreas Jaeger <aj@suse.de>
19855
af5843ef
AJ
19856 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19857 values are from Linux 3.7.
19858
4c4febf5
AJ
19859 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19860 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19861
99136f82
SP
198622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19863
2f216c3c 19864 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19865 TRUE case.
19866
99136f82
SP
19867 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19868 (norm): Likewise.
19869 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19870 variables with preprocessor constants.
19871 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19872 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19873 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19874
7fffbdff
BH
198752012-12-27 Bruno Haible <bruno@clisp.org>
19876
19877 [BZ #14317]
19878 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19879 only if needed.
19880
b76eb5f0
SP
198812012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19882
31a7fe5c
SP
19883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19884 and use variable directly.
19885 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19886
b76eb5f0
SP
19887 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19888 MPONE.
19889 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19890 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19891 variable MPONE.
19892 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19894 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19895 include directive. Remove local variable MPONE.
19896 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19897 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19898 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19899
2c8bfe7d
DM
199002012-12-25 David S. Miller <davem@davemloft.net>
19901
19902 * version.h (RELEASE): Set to "development".
19903 (VERSION): Set to "2.17.90".
19904 * NEWS: Add 2.18 section.
19905
147d03b0
DM
199062012-12-21 David S. Miller <davem@davemloft.net>
19907
19908 * po/hr.po: Update from translation team.
19909
a8ebb2b9
AK
199102012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19911
19912 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19913
95b4f1b6
SE
199142012-12-19 Steve Ellcey <sellcey@mips.com>
19915
b2d94007 19916 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19917
cedb2a90
MS
199182012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19919
19920 * manual/contrib.texi (Contributors): Spelling correction.
19921
bbf527d6
DM
199222012-12-15 David S. Miller <davem@davemloft.net>
19923
19924 * po/ru.po: Update from translation team.
19925
bc38c906
DM
199262012-12-13 David S. Miller <davem@davemloft.net>
19927
85429b1a
DM
19928 * NEWS: Mention IFUNC testsuite enhancements.
19929
d283e353
DM
19930 * po/pl.po: Update from translation team.
19931 * po/bg.po: Likewise.
19932
bc38c906
DM
19933 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19934 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19935
a181b0d7
DM
199362012-12-11 David S. Miller <davem@davemloft.net>
19937
4641d57e
DM
19938 * po/sv.po: Update from translation team.
19939
f7bc6495
DM
19940 * po/vi.po: Update from translation team.
19941
6fc9048f
DM
19942 * po/cs.po: Update from translation team.
19943
a181b0d7
DM
19944 * po/de.po: Update from translation team.
19945 * po/eo.po: Likewise.
19946 * po/nl.po: Likewise.
19947
f70bfe80
SP
199482012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19949
3c8b4190
SP
19950 [BZ #14246]
19951 * manual/argp.texi (Argp Helper Functions): Move node to follow
19952 Argp Parsing State.
19953
f70bfe80
SP
19954 [BZ #14872]
19955 * manual/conf.texi (Limits on File System Capacity): Mention if
19956 terminating null is included in the max size.
19957
188f0adf
AJ
199582012-12-10 Andreas Jaeger <aj@suse.de>
19959
19960 * po/cs.po: Update from translation team.
19961
56e7d3ad
SP
199622012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19963
19964 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19965 void pointer and cast to uintptr_t.
19966 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19967 path.
19968 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19969 * sysdeps/s390/s390-64/memset.S: Likewise.
19970
76f2d2ea 199712012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19972
19973 [BZ #14833]
19974 * menual/message.texi (Message Translation): Fix typos.
19975 (Helper programs for gettext): Likewise.
19976
67cbf9a2
AS
199772012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19978
19979 [BZ #14898]
19980 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19981 Change to -1.
19982
682d0e9a
DM
199832012-12-07 David S. Miller <davem@davemloft.net>
19984
19985 * po/libc.pot: Update.
19986
573cd484
RH
199872012-12-07 Richard Henderson <rth@redhat.com>
19988
7e9da188 19989 [BZ #10114]
573cd484
RH
19990 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19991 normal/normal case to before the switch.
19992 (_FP_DIV): Likewise.
19993
e933a943
MF
199942012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19995 Mike Frysinger <vapier@gentoo.org>
19996
19997 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19998 check for __NR_fadvise64_64.
19999
82123268
CM
200002012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20001
20002 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20003 0, not just to plain "0" as a statement.
20004 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20005 with cw.
20006
d9814526
JM
200072012-12-06 Joseph Myers <joseph@codesourcery.com>
20008
20009 * NEWS: Use sourceware.org in Bugzilla URL.
20010
7728c574
SP
200112012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20012
f16946dd
SP
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20014 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20015
5704bbcb
SP
20016 * stdio-common/tst-put-error.c (do_test): Add newline to the
20017 padded test to ensure flush.
20018
17aa0516
JL
200192012-12-05 Jeff Law <law@redhat.com>
20020
20021 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20022
363313b5
JM
200232012-12-05 Joseph Myers <joseph@codesourcery.com>
20024
effbd42a
JM
20025 * README: Don't refer to ports add-on as distributed separately.
20026 Mention AArch64 in list of systems supported in the ports add-on.
20027
87600365
JM
20028 * LICENSES: Add more non-FSF copyright and license notices.
20029
a0d7066a
JM
20030 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20031 ((unused)).
20032
66ca5a5b
JM
20033 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20034
363313b5
JM
20035 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20036 10000 as width of padded output.
20037
b37984ad
JM
200382012-12-04 Joseph Myers <joseph@codesourcery.com>
20039
9003570a
JM
20040 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20041
b37984ad
JM
20042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20043 variable LX with __attribute__ ((unused)).
20044 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20045 Likewise.
20046 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20048 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20049 with __attribute__ ((unused)).
20050
c8df52ec
DM
200512012-12-04 David S. Miller <davem@abraco.davemloft.net>
20052
20053 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20054
b3b099af
JM
200552012-12-04 Joseph Myers <joseph@codesourcery.com>
20056
c33aa6e3
JM
20057 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20058 (CFLAGS-nldbl-acos.c): New variable.
20059 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20060 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20061 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20062 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20063 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20064 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20065 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20066 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20140 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20141 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20142 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20143 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20144 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20145 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20146 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20147 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20148 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20149 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20150 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20151 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20152 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20153 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20154 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20155 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20156
20f0018d
JM
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20158 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20159
b3b099af
JM
20160 [BZ #14914]
20161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20162 whole low double instead of just low 47 bits when splitting values
20163 into two parts.
20164
029264d1
AM
201652012-12-03 Allan McRae <allan@archlinux.org>
20166
20167 * manual/stdio.texi (Predefined Printf Handlers): Remove
20168 @hsep and @vsep usage.
20169
c9d6789e
MF
201702012-12-03 Mike Frysinger <vapier@gentoo.org>
20171
20172 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20173 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20174
4b7634a5
JL
201752012-12-03 Jeff Law <law@redhat.com>
20176
20177 * time/sys/time.h (settimeofday): Do not mark TV argument
20178 as __nonnull.
20179
eb6cbd24
MF
201802012-12-01 Mike Frysinger <vapier@gentoo.org>
20181
20182 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20183 when currently writing and seek to current position when not.
20184 * libio/Makefile (tests): Remove bug-fclose1.
20185 * libio/bug-fclose1.c: Delete.
20186
f638872a
JM
201872012-12-01 Joseph Myers <joseph@codesourcery.com>
20188
20189 * manual/arith.texi (feenableexcept): Fix typo.
20190 (fedisableexcept): Likewise.
20191
48085d14
RM
201922012-11-30 Roland McGrath <roland@hack.frob.com>
20193
20194 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20195 second, differently-typed declaration, rather than a cast.
20196
1a538b9f
SP
201972012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20198
20199 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20200 * include/rpc/svc.h: ... here.
20201
d07f2ff1 202022012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20203
20204 [BZ #13013]
20205 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20206 depending n and resplen2 to catch cases where answer
20207 equals answerp2.
20208
c93ec1f0
CD
202092012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20210
20211 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20212 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20213
37db69de
MF
202142012-11-29 Mike Frysinger <vapier@gentoo.org>
20215
20216 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20217
e10c4e4f
RM
202182012-11-29 Roland McGrath <roland@hack.frob.com>
20219
20220 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20221
2af1b328
JL
202222012-11-28 Jeff Law <law@redhat.com>
20223
20224 [BZ #13761]
20225 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20226 dataset_temporary. Track alloca usage into alloca_used.
20227 If dataset is large allocate and release it via malloc/free.
20228
111db5b1
FW
202292012-06-04 Florian Weimer <fweimer@redhat.com>
20230
f06cc227 20231 [BZ #14197]
111db5b1
FW
20232 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20233
dd694abd
DM
202342012-11-28 David S. Miller <davem@davemloft.net>
20235
20236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20237
9984dd01
JM
202382012-11-28 Joseph Myers <joseph@codesourcery.com>
20239
20240 [BZ #14803]
20241 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20242 of pi/2 rounded to nearest to 64 bits.
20243 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20244 nearest to 64 bits.
20245 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20246 bits.
20247
14bc93a9
JL
202482012-11-28 Jeff Law <law@redhat.com>
20249 Martin Osvald <mosvald@redhat.com>
20250
20251 [BZ #14889]
20252 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20253 * sunrpc/svc.c: Include time.h.
20254 (__svc_accept_failed): New function.
20255 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20256 any reason other than EINTR, call __svc_accept_failed.
20257 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20258 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20259
e3c6aa3a
AS
202602012-11-28 Andreas Schwab <schwab@suse.de>
20261
20262 * scripts/abilist.awk: Also handle indirect functions in .opd
20263 section.
20264
1bead169
JM
202652012-11-28 Joseph Myers <joseph@codesourcery.com>
20266
20267 [BZ #13881]
20268 * sysdeps/x86/fpu/powl_helper.c: New file.
20269 * sysdeps/x86/fpu/Makefile: Likewise.
20270 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20271 (p3): New object.
20272 (__ieee754_powl): Use __powl_helper for finite arguments except
20273 integer exponents below 8.
20274 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20275 (p3): New object.
20276 (__ieee754_powl): Use __powl_helper for finite arguments except
20277 integer exponents below 8.
20278 * math/libm-test.inc (pow_test): Add more tests and enable some
20279 previously disabled tests.
20280 * sysdeps/i386/fpu/libm-test-ulps: Update.
20281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20282
0817d63d
SP
202832012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20284 Carlos O'Donell <carlos_odonell@mentor.com>
20285
20286 * nss/makedb.c (is_prime): Assert that input is odd and greater
20287 than 4. Note that fact in a comment too.
20288 (next_prime): Add 4 to input.
20289
de2fd463
SP
202902012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20291
20292 [BZ #11741]
20293 * libio/Makefile (tests): Add test case tst-fwrite-error.
20294 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20295 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20296 * libio/tst-fwrite-error.c: New test case.
20297
c515fb51
L
202982012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20299
20300 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20301 before casting to void *.
20302 * include/libc-internal.h (__pointer_type): New macro.
20303 (__integer_if_pointer_type_sub): Likewise.
20304 (__integer_if_pointer_type): Likewise.
20305 (cast_to_integer): Likewise.
20306 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20307 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20308 before casting to atomic64_t.
20309 (atomic_exchange_acq): Likewise.
20310 (__arch_exchange_and_add_body): Likewise.
20311 (__arch_add_body): Likewise.
20312 (atomic_add_negative): Likewise.
20313 (atomic_add_zero): Likewise.
20314
4cf77aa9
JM
203152012-11-26 Joseph Myers <joseph@codesourcery.com>
20316
20317 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20318 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20319 (add_fdes): Likewise.
20320 (linear_search_fdes): Likewise.
20321 (binary_search_unencoded_fdes): Likewise.
20322
d260b3b4
AS
203232012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20324
20325 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20326
67060746
AC
203272012-11-24 Adam Conrad <adconrad@0c3.net>
20328
20329 * configure.in: Autodetect C++ header directories.
20330 * configure: Regenerated.
20331
800938a1
MF
203322012-11-23 Mike Frysinger <vapier@gentoo.org>
20333
20334 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20335
4e6e34e6
AS
203362012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20337
20338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20339
7c7feb47
JM
203402012-11-22 Joseph Myers <joseph@codesourcery.com>
20341
7184dcdf
JM
20342 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20343 LDBL_MANT_DIG == 106]: Disable some tests.
20344 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20345 Likewise.
20346 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20347 Likewise.
20348
0a42601f
JM
20349 [BZ #14871]
20350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20351 input for small inputs. Return +/- pi/2 for large inputs.
20352 * math/libm-test.inc (atan_test): Add more tests.
20353
79c9b9fe
JM
20354 * sysdeps/generic/unwind-dw2-fde-glibc.c
20355 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20356 __attribute__ ((unused)).
20357
c60d3bf2
JM
20358 [BZ #14645]
20359 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20360 x * y if x and y are nonzero and z is zero.
20361
ef1e0867
JM
20362 [BZ #14811]
20363 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20364 nonzero exponents with absolute value below 0x1p-117 to +/-
20365 0x1p-117.
20366
1468ded3
JM
20367 [BZ #14869]
20368 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20369 up arguments below 2**-450, not just those below 2**-500.
20370 * math/libm-test.inc (hypot_test): Add another test.
20371
8e27e3cc
JM
20372 [BZ #14868]
20373 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20374 Return a+b for ratio over 2**120, not 2**60.
20375 * math/libm-test.inc (hypot_test): Add another test.
20376
c9c0279b
JM
20377 * math/libm-test.inc (clog_test): Use
20378 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20379 (clog10_test): Likewise.
20380
7c7feb47
JM
20381 [BZ #6778]
20382 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20383
fff1530e
AS
203842012-11-22 Andreas Schwab <schwab@suse.de>
20385
20386 * sysdeps/i386/fpu/libm-test-ulps: Update.
20387
94558d30
PT
203882012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20389
20390 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20391 printf output with newline.
20392
7e1be741
L
203932012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20394
6bfea974
L
20395 [BZ #14865]
20396 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20397 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20398 -z nodlopen, -z initfirst and -z execstack support.
20399 * configure: Regenerated.
20400
7e1be741
L
20401 * elf/elf.h (DF_1_NODIRECT): New macro.
20402 (DF_1_IGNMULDEF): Likewise.
20403 (DF_1_NOKSYMS): Likewise.
20404 (DF_1_NOHDR): Likewise.
20405 (DF_1_EDITED): Likewise.
20406 (DF_1_NORELOC): Likewise.
20407 (DF_1_SYMINTPOSE): Likewise.
20408 (DF_1_GLOBAUDIT): Likewise.
20409 (DF_1_SINGLETON): Likewise.
20410 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20411 DT_1_SUPPORTED_MASK bits.
20412 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20413
105ce2ce
CD
204142012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20415
20416 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20417
123be9de
TS
204182012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20419
d072f3f7
TS
20420 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20421 macro.
20422
123be9de
TS
20423 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20424 (sendmmsg): Move declarations...
20425 * socket/sys/socket.h: ... here.
20426 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20427 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20428 include it from...
20429 * socket/recvmmsg.c: ... this new file.
20430 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20431 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20432 definition of __sendmmsg hidden.
20433 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20434 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20435 Move ENOSYS stub into and include it from...
20436 * socket/sendmmsg.c: ... this new file.
20437 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20438 (sysdep_routines): Move recvmmsg and sendmmsg...
20439 * socket/Makefile (routines): ... here.
20440 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20441 (GLIBC_PRIVATE): Add __sendmmsg.
20442 * include/sys/socket.h (__sendmmsg): Add declarations.
20443 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20444 sendmmsg.
20445
cf9a5d18
JM
204462012-11-20 Joseph Myers <joseph@codesourcery.com>
20447
20448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20449 variable I1 with __attribute__ ((unused)).
20450 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20451
ecd4caf9
JM
204522012-11-19 Joseph Myers <joseph@codesourcery.com>
20453
be14d48f
JM
20454 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20455 DUMMY variables with __attribute__ ((unused)).
20456
ecd4caf9
JM
20457 * bits/byteswap.h: Include <bits/types.h>.
20458 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20459
986cab95
PT
204602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20461
20462 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20463 string_t. Do not manually set errno.
20464 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20465 length with __strnlen. Make sure to both set errno and return it on
20466 failure.
20467
6d33cc9d
DM
204682012-11-19 David S. Miller <davem@davemloft.net>
20469
20470 With help from Joseph Myers.
20471 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20472 very large arguments properly.
20473 * math/libm-test.inc (atan_test): New tests.
20474 (atan2_test): New tests.
20475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20477
ee663277
JM
204782012-11-19 Joseph Myers <joseph@codesourcery.com>
20479
877f2d8e
JM
20480 [BZ #14856]
20481 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20482 Define to 3.
20483
116fc08a
JM
20484 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20485 [POSIX] (EADDRNOTAVAIL): Likewise.
20486 [POSIX] (EAFNOSUPPORT): Likewise.
20487 [POSIX] (EALREADY): Likewise.
20488 [POSIX] (ECONNABORTED): Likewise.
20489 [POSIX] (ECONNREFUSED): Likewise.
20490 [POSIX] (ECONNRESET): Likewise.
20491 [POSIX] (EDESTADDRREQ): Likewise.
20492 [POSIX] (EDQUOT): Likewise.
20493 [POSIX] (EHOSTUNREACH): Likewise.
20494 [POSIX] (EIDRM): Likewise.
20495 [POSIX] (EISCONN): Likewise.
20496 [POSIX] (ELOOP): Likewise.
20497 [POSIX] (EMULTIHOP): Likewise.
20498 [POSIX] (ENETDOWN): Likewise.
20499 [POSIX] (ENETUNREACH): Likewise.
20500 [POSIX] (ENOBUFS): Likewise.
20501 [POSIX] (ENODATA): Likewise.
20502 [POSIX] (ENOLINK): Likewise.
20503 [POSIX] (ENOMSG): Likewise.
20504 [POSIX] (ENOPROTOOPT): Likewise.
20505 [POSIX] (ENOSR): Likewise.
20506 [POSIX] (ENOSTR): Likewise.
20507 [POSIX] (ENOTCONN): Likewise.
20508 [POSIX] (ENOTSOCK): Likewise.
20509 [POSIX] (EOPNOTSUPP): Likewise.
20510 [POSIX] (EOVERFLOW): Likewise.
20511 [POSIX] (EPROTO): Likewise.
20512 [POSIX] (EPROTONOSUPPORT): Likewise.
20513 [POSIX] (EPROTOTYPE): Likewise.
20514 [POSIX] (ESTALE): Likewise.
20515 [POSIX] (ETIME): Likewise.
20516 [POSIX] (ETXTBSY): Likewise.
20517 [POSIX] (EWOULDBLOCK): Likewise.
20518 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20519 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20520 [POSIX] (SEEK_CUR): Likewise.
20521 [POSIX] (SEEK_END): Likewise.
20522 [POSIX || UNIX98] (mode_t): Do not require.
20523 [POSIX] (off_t): Likewise.
20524 [POSIX] (pid_t): Likewise.
20525 [POSIX] (sys/stat.h): Do not allow header.
20526 [POSIX] (unistd.h): Likewise.
20527 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20528 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20529 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20530 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20531 require.
20532 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20533 sigevent): Specify elements.
20534 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20535 entry.
20536 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20537 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20538
a483863f
JM
20539 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20540 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20541 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20542 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20543 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20544 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20545 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20546 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20548 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20549 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20550 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20551 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20552 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20553 Likewise.
20554 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20555 Likewise.
20556 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20557 Likewise.
20558 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20559 Likewise.
20560 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20561 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20562 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20563 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20565 Specify lower bound on value.
20566 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20572 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20573 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20574 value.
20575 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20576 as optional.
20577 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20593 entry.
20594 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20595 optional.
20596 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20602 Likewise.
20603 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20608 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20609 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20610 as optional.
20611 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20615 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20616 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20617 specify as optional.
20618 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20621 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20622 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20623 [XPG3] (NL_LANGMAX): Likewise.
20624 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20625 [POSIX || XPG3] (NL_NMAX): Likewise.
20626 [POSIX || XPG3] (NL_SETMAX): Likewise.
20627 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20628 [XPG3] (NZERO): Likewise.
20629 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20630 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20631 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20632 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20633 (REG_ERANGE): Expect.
20634 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20635 optional-constant.
20636 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20637 Use (void) in prototype.
20638 [POSIX] (*_t): Allow.
20639 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20640 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20641 (WRDE_BADVAL): Expect.
20642
5ba924e3
JM
20643 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20644 expect.
20645 [XPG3 || XPG4] (O_RSYNC): Likewise.
20646 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20647 Likewise.
20648 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20649 [XPG3 || XPG4] (sigqueue): Likewise.
20650 [XPG3 || XPG4] (sigtimedwait): Likewise.
20651 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20652 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20653 [XPG3 || XPG4] (vsnprintf): Likewise.
20654 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20655 Likewise.
20656 [XPG3 || XPG4] (blksize_t): Likewise.
20657 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20658 Likewise.
20659 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20660 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20661 [XPG3 || XPG4] (struct itimerspec): Likewise.
20662 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20663 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20664 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20665 [XPG3 || XPG4] (clockid_t): Likewise.
20666 [XPG3 || XPG4] (timer_t): Likewise.
20667 [XPG3 || XPG4] (clock_getres): Likewise.
20668 [XPG3 || XPG4] (clock_gettime): Likewise.
20669 [XPG3 || XPG4] (clock_settime): Likewise.
20670 [XPG3 || XPG4] (nanosleep): Likewise.
20671 [XPG3 || XPG4] (timer_create): Likewise.
20672 [XPG3 || XPG4] (timer_delete): Likewise.
20673 [XPG3 || XPG4] (timer_gettime): Likewise.
20674 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20675 [XPG3 || XPG4] (timer_settime): Likewise.
20676 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20677 [XPG3 || XPG4] (getlogin_r): Likewise.
20678 [XPG3 || XPG4] (pread): Likewise.
20679 [XPG3 || XPG4] (pthread_atfork): Likewise.
20680 [XPG3 || XPG4] (pwrite): Likewise.
20681
ee663277
JM
20682 [BZ #14835]
20683 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20684 <bits/siginfo.h>.
20685
942caa16
PT
206862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20687
e19af380
PT
20688 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20689 finalizing MALLSTREAM.
20690
942caa16
PT
20691 * sysdeps/mach/hurd/syncfs.c: New file.
20692
cfde9b46
SP
206932012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20694
20695 [BZ #14719]
20696 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20697 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20698 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20699 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20700 (_nss_dns_gethostbyname4_r): Likewise.
20701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20702 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20703
f6da27e5
PH
207042012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20705
20706 [BZ #13763]
20707 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20708
6665d4a2
SM
207092012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20710
1f51ee92
SM
20711 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20712 * elf/cache.c (print_entry): Print ",AArch64" for
20713 FLAG_AARCH64_LIB64
20714
6665d4a2
SM
20715 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20716 * elf/cache.c (print_entry): Print ",hard-float" for
20717 FLAG_ARM_LIBHF.
20718
05b227bd
DM
207192012-11-18 David S. Miller <davem@davemloft.net>
20720
20721 With help from Joseph Myers.
20722 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20723 cutoff to 2**-13.
20724 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20725 cutoff to 2**-25.
20726 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20727 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20728 small.
20729 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20730 * math/libm-test.inc (y0_test): New tests.
20731 (y1_test): New tests.
20732 * sysdeps/i386/fpu/libm-test-ulps: Update.
20733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20735
786b0b67
AS
207362012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20737
20738 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20739 64-bit targets.
20740 * configure: Regenerated.
20741
8e18b86d
DM
207422012-11-17 David S. Miller <davem@davemloft.net>
20743
20744 [BZ #14811]
20745 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20746 nonzero exponents with absolute value below 0x1p-128 to +/-
20747 0x1p-128.
20748
531f1ae0
JM
207492012-11-17 Joseph Myers <joseph@codesourcery.com>
20750
12df29e2
JM
20751 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20752
150dc1a0
JM
20753 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20754
531f1ae0
JM
20755 * posix/getconf-speclist.c: New file.
20756 * posix/posix-envs.def: Likewise.
20757 * posix/confstr.c (START_ENV_GROUP): New macro.
20758 (END_ENV_GROUP): Likewise.
20759 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20760 (KNOWN_PRESENT_ENV_STRING): Likewise.
20761 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20762 (UNKNOWN_ENVIRONMENT): Likewise.
20763 (confstr): Include posix-envs.def instead of handling
20764 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20765 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20766 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20767 (END_ENV_GROUP): Likewise.
20768 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20769 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20770 (UNKNOWN_ENVIRONMENT): Likewise.
20771 (__sysconf): Include posix-envs.def instead of handling associated
20772 cases directly here.
20773 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20774 preprocessing getconf-speclist.c rather than running getconf or
20775 generating empty file.
20776
a93f9cbc
PT
207772012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20778
20779 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20780
d64d9f87
AL
207812012-11-16 Andrej Lajovic <natrij@gmail.com>
20782
20783 [BZ #14672]
20784 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20785
447885eb
DM
207862012-11-16 David S. Miller <davem@davemloft.net>
20787
20788 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20789 smaller than LDBL_EPSILON/2.0L, just return xm1.
20790
bcbf9830
L
207912012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20792
20793 * elf/tst-array1.c (init): Set constructor priority to 1000.
20794 (fini): Set destructor priority to 1000.
20795 * elf/tst-array2dep.c: Likewise.
20796
2b766585
SP
207972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20798
20799 [BZ #11741]
20800 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20801 (_IO_new_file_xsputn): Also return EOF if none of the input
20802 data was written when overflow failed.
20803 * libio/iopadn.c (_IO_padn): Likewise.
20804 * libio/iowpadn.c (_IO_wpadn): Likewise.
20805 * stdio-common/tst-put-error.c: Add copyright notice.
20806 (do_test): Add case for printing padded string.
20807 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20808 _IO_padn returned error.
20809 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20810 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20811 return EOF.
20812
b1848fde
SP
208132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20814
20815 * libio/libioP.h: Add comment note that the references to C++
20816 bits are now obsolete.
20817
2fd89785
MS
208182012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20819
20820 * math/libm-test.inc (check_complex): Use asprintf.
20821
e3ea5409
JM
208222012-11-14 Joseph Myers <joseph@codesourcery.com>
20823
20824 * debug/pcprofiledump.c (print_version): Update copyright year.
20825 * malloc/memusagestat.c (print_version): Likewise.
20826
2e64d265
L
208272012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20828
20829 [BZ #14831]
20830 * elf/Makefile (tests): Add tst-audit8.
20831 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20832 ($(objpfx)tst-audit8.out): New target.
20833 (tst-audit8-ENV): New variable.
20834 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20835 audit if l_reloc_result is NULL.
20836 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20837 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20838 * elf/tst-audit8.c: New file.
20839
c485e4d2
MS
208402012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20841
20842 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20843 * misc/Makefile (CFLAGS-select.c): Define.
20844 * posix/Makefile (CFLAGS-pause.c): Define.
20845
3a0d900a
DM
208462012-11-13 David S. Miller <davem@davemloft.net>
20847
20848 * crypt/Makefile: Move test targets after toplevel Rules
20849 inclusion. Grab any necessary sysdep routines when linking.
20850 * crypt/md5.c (md5_process_block): Remove define, we will always
20851 name it __md5_process_block.
20852 (md5_finish_ctx): Update md5_process_block call.
20853 (md5_stream): Likewise.
20854 (md5_process_bytes): Likewise.
20855 (md5_process_block): Rename to __md5_process_block and move to ...
20856 * crypt/md5-block.c: ... here.
20857 * crypt/sha256.c (sha256_process_block): Move to ...
20858 * crypt/sha256-block.c: ... here.
20859 * crypt/sha512.c (sha512_process_block): Move to ...
20860 * crypt/sha512-block.c: ... here.
20861 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20862 path.
20863 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20864 * sysdeps/sparc/sparc64/multiarch/Makefile
20865 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20866 crypt subdir.
20867 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20868 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20869 multiarch changes.
20870 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20871 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20872 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20873 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20874 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20875 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20876 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20877 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20878 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20879 file.
20880 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20881 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20882 file.
20883 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20884
8ca89318
JM
208852012-11-13 Joseph Myers <joseph@codesourcery.com>
20886
e27d476a
JM
20887 * timezone/tzselect.ksh: Update from tzcode git revision
20888 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20889 * timezone/zdump.c: Likewise.
20890 * timezone/zic.c: Likewise.
20891 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20892 in TZVERSION setting, not $(PKGVERSION).
20893 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20894 REPORT_BUGS_TO settings.
20895
8ca89318
JM
20896 [BZ #14838]
20897 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20898 macro.
20899
47594329
MS
209002012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20901
20902 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20903 detection to immediately after _FP_ROUND().
20904 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20905 bits are 0.
20906
640ac3f1
DM
209072012-11-11 David S. Miller <davem@davemloft.net>
20908
20909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20910 inttypes.h
20911 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20912 __close rather than their public counterparts.
20913
3d2577bb
JM
209142012-11-10 Joseph Myers <joseph@codesourcery.com>
20915
20916 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20917 file.
20918 [UNIX98] (sem_timedwait): Do not expect.
20919 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20920 [XPG4 || UNIX98] (sockatmark): Do not expect.
20921 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20922 (clock_getcpuclockid): Do not expect.
20923 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20924 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20925 Do not expect.
20926 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20927 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20928 [UNIX98] (vwscanf): Likewise.
20929 [UNIX98] (vswscanf): Likewise.
20930
fb1ae1ee
JM
209312012-11-09 Joseph Myers <joseph@codesourcery.com>
20932
9ec6f8bd
JM
20933 * timezone/version.h: Remove file.
20934 * timezone/README: Do not refer to version.h.
20935 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20936 $(objpfx)version.h.
20937 ($(objpfx)zdump.o): Likewise.
c3f81911 20938 ($(objpfx)version.h): New target.
9ec6f8bd 20939
0aa8f8a1
JM
20940 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20941 2012i.
20942 * timezone/README: Don't mention modification to tzselect.ksh.
20943 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20944 work on unmodified tzselect.ksh. Substitute version numbers in
20945 tzselect.ksh.
20946
4e87147f
JM
20947 * Makefile (format-me): Remove.
20948 (INSTALL): Adjust indentation. Use commands directly instead of
20949 using $(format-me).
20950
8b748aed
JM
20951 * aclocal.m4 (ACX_PKGVERSION): New macro.
20952 (ACX_BUGURL): Likewise.
20953 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20954 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20955 (REPORT_BUGS_TO): Likewise.
20956 * configure: Regenerated.
20957 * config.h.in (PKGVERSION): New macro.
20958 (REPORT_BUGS_TO): Likewise.
20959 * config.make.in (PKGVERSION): New variable.
20960 (PKGVERSION_TEXI): Likewise.
20961 (REPORT_BUGS_TO): Likewise.
20962 (REPORT_BUGS_TEXI): Likewise.
20963 * Makefile (format-me): Use -I$(common-objpfx)manual.
20964 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20965 ($(common-objpfx)manual/%): New target.
20966 (manual/%): Remove target.
20967 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20968 (print_version): Use PKGVERSION.
20969 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20970 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20971 and REPORT_BUGS_TO.
20972 ($(objpfx)xtrace): Likewise.
20973 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20974 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20975 (print_version): Use PKGVERSION.
20976 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20977 (do_version): Use PKGVERSION.
20978 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20979 REPORT_BUGS_TO.
20980 (common-ldd-rewrite): Likewise.
20981 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20982 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20983 (print_version): Use PKGVERSION.
20984 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20985 * elf/pldd.c (argp_program_bug_address): Remove variable.
20986 (more_help): New function.
20987 (argp): Use more_help.
20988 (print_version): Use PKGVERSION.
20989 * elf/sln.c (main): Use PKGVERSION.
20990 (usage): Use REPORT_BUGS_TO.
20991 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20992 (top level): Use PKGVERSION.
20993 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20994 (print_version): Use PKGVERSION.
20995 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20996 (print_version): Use PKGVERSION.
20997 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20998 (print_version): Use PKGVERSION.
20999 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21000 (print_version): Use PKGVERSION.
21001 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21002 (print_version): Use PKGVERSION.
21003 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21004 (print_version): Use PKGVERSION.
21005 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21006 and BUGURL.
21007 ($(objpfx)memusage): Likewise.
21008 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21009 (do_version): Use PKGVERSION.
21010 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21011 (print_version): Use PKGVERSION.
21012 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21013 ($PKGVERSION): New variable.
21014 ($REPORT_BUGS_TO): Likewise.
21015 (usage): Use $REPORT_BUGS_TO.
21016 (top level): Use $PKGVERSION.
21017 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21018 ($(objpfx)pkgvers.texi): New rule.
21019 ($(objpfx)stamp-pkgvers): Likewise.
21020 * manual/install.texi: Include pkgvers.texi.
21021 (--with-pkgversion): Document new configure option.
21022 (--with-bugurl): Likewise.
21023 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21024 than necessarily for this particular distribution. Use
21025 REPORT_BUGS_TO for where to report bugs.
21026 * INSTALL: Regenerated.
21027 * manual/libc.texinfo: Include pkgvers.texi.
21028 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21029 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21030 (print_version): Use PKGVERSION.
21031 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21032 (print_version): Use PKGVERSION.
21033 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21034 (print_version): Use PKGVERSION.
21035 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21036 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21037 macro.
21038 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21039 (print_version): Use PKGVERSION.
21040 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21041 (print_version): Use PKGVERSION.
21042 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21043 and PKGVERSION.
21044
92e4b6a9
JM
21045 * timezone/checktab.awk: Update from tzcode 2012i.
21046 * timezone/ialloc.c: Likewise.
21047 * timezone/private.h: Likewise.
21048 * timezone/scheck.c: Likewise.
21049 * timezone/tzfile.h: Likewise.
21050 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21051 (TZVERSION): Hardcode tzcode version number.
21052 * timezone/zdump.c: Update from tzcode 2012i.
21053 * timezone/zic.c: Likewise.
21054 * timezone/version.h: New file.
21055 * timezone/README: Describe version.h. Update upstream location.
21056
9bde902c
JM
21057 [BZ #14824]
21058 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21059 (mktemp): Enable declaration.
21060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21064 Likewise.
21065 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21066 Likewise.
21067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21068 Likewise.
21069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21070 Likewise.
21071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21072 Likewise.
21073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21074 Likewise.
21075
fb1ae1ee
JM
21076 [BZ #14821]
21077 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21078 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21079 for copies of such integer values.
21080 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21081 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21082
2c1adbcb
AJ
210832012-11-09 Andreas Jaeger <aj@suse.de>
21084
21085 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21086 definitions and declarations that are provided by
21087 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21088
d0f8457e
AK
210892012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21090
3a235abb 21091 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21092 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21093 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21094 definition.
21095
57241e26
MS
210962012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21097
21098 * elf/elf.h: Update comment before AArch64 relocations.
21099
60e8270d
DM
211002012-11-07 David S. Miller <davem@davemloft.net>
21101
21102 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21103 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21104 (__start_context): Declare.
21105 (__makecontext_ret): Delete.
21106 (__makecontext): Hook up __start_context instead of
21107 __makecontext_ret.
21108 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21109 (sysdep_routines): Add __start_context when in stdlib.
21110
0fbb0fbc
JM
211112012-11-07 Joseph Myers <joseph@codesourcery.com>
21112
21113 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21114 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21115 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21116 hardcoded "nm".
21117 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21118 (READELF): New variable. Use it instead of hardcoded "readelf".
21119
eb48db7e
L
211202012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21121
21122 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21123 * sysdeps/x86/Makefile: Here.
21124 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21125 * sysdeps/x86/tst-xmmymm.sh: This.
21126
05bcf62a
JM
211272012-11-07 Joseph Myers <joseph@codesourcery.com>
21128
c4b6cf53
JM
21129 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21130 expectations.
21131 [UNIX98] (pthread_barrier_t): Do not expect.
21132 [UNIX98] (pthread_barrierattr_t): Likewise.
21133 [UNIX98] (pthread_spinlock_t): Likewise.
21134 [UNIX98] (pthread_barrier_destroy): Likewise.
21135 [UNIX98] (pthread_barrier_init): Likewise.
21136 [UNIX98] (pthread_barrier_wait): Likewise.
21137 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21138 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21139 [UNIX98] (pthread_barrierattr_init): Likewise.
21140 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21141 [UNIX98] (pthread_getcpuclockid): Likewise.
21142 [UNIX98] (pthread_mutex_timedlock): Likewise.
21143 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21144 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21145 [UNIX98] (pthread_sigmask): Likewise.
21146 [UNIX98] (pthread_spin_destroy): Likewise.
21147 [UNIX98] (pthread_spin_init): Likewise.
21148 [UNIX98] (pthread_spin_lock): Likewise.
21149 [UNIX98] (pthread_spin_trylock): Likewise.
21150 [UNIX98] (pthread_spin_unlock): Likewise.
21151 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21152 Do not expect.
21153 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21154 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21155 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21156 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21157 [XPG3 || XPG4] (pthread_key_t): Likewise.
21158 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21159 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21160 [XPG3 || XPG4] (pthread_once_t): Likewise.
21161 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21162 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21163 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21164 [XPG3 || XPG4] (pthread_t): Likewise.
21165
cbe6e120
JM
21166 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21167 not expect.
21168 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21169
1b126443
JM
21170 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21171 Change function return type to int.
21172
b961a573
JM
21173 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21174 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21175 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21176 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21177 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21178 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21179 [!POSIX] (posix_madvise): Likewise.
21180 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21181 && !UNIX98].
21182 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21183 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21184 (mode_t): Likewise.
21185 (posix_mem_offset): Likewise.
21186 (posix_typed_mem_get_info): Likewise.
21187 (posix_typed_mem_open): Likewise.
21188
9e188909
JM
21189 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21190 Change condition to [XOPEN2K8].
21191
05bcf62a
JM
21192 * conform/conformtest.pl: Preprocess allow-header data with -x c
21193 instead of from stdin.
21194 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21195 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21196 [C99-based standards] (cerfc): Likewise.
21197 [C99-based standards] (cexp2): Likewise.
21198 [C99-based standards] (cexpm1): Likewise.
21199 [C99-based standards] (clog10): Likewise.
21200 [C99-based standards] (clog1p): Likewise.
21201 [C99-based standards] (clog2): Likewise.
21202 [C99-based standards] (clgamma): Likewise.
21203 [C99-based standards] (ctgamma): Likewise.
21204 [C99-based standards] (cerff): Likewise.
21205 [C99-based standards] (cerfcf): Likewise.
21206 [C99-based standards] (cexp2f): Likewise.
21207 [C99-based standards] (cexpm1f): Likewise.
21208 [C99-based standards] (clog10f): Likewise.
21209 [C99-based standards] (clog1pf): Likewise.
21210 [C99-based standards] (clog2f): Likewise.
21211 [C99-based standards] (clgammaf): Likewise.
21212 [C99-based standards] (ctgammaf): Likewise.
21213 [C99-based standards] (cerfl): Likewise.
21214 [C99-based standards] (cerfcl): Likewise.
21215 [C99-based standards] (cexp2l): Likewise.
21216 [C99-based standards] (cexpm1l): Likewise.
21217 [C99-based standards] (clog10l): Likewise.
21218 [C99-based standards] (clog1pl): Likewise.
21219 [C99-based standards] (clog2l): Likewise.
21220 [C99-based standards] (clgammal): Likewise.
21221 [C99-based standards] (ctgammal): Likewise.
21222 * conform/data/inttypes.h-data [C99-based standards]: Include
21223 stdint.h-data. Remove all expectations for stdint.h contents.
21224 [C99-based standards] (PRI*): Do not allow.
21225 [C99-based standards] (SCN*): Likewise.
21226 [C99-based standards] (*_t): Likewise.
21227 [C99-based-standards] (PRId8): Expect macro.
21228 [C99-based-standards] (PRIi8): Likewise.
21229 [C99-based-standards] (PRIo8): Likewise.
21230 [C99-based-standards] (PRIu8): Likewise.
21231 [C99-based-standards] (PRIx8): Likewise.
21232 [C99-based-standards] (PRIX8): Likewise.
21233 [C99-based-standards] (SCNd8): Likewise.
21234 [C99-based-standards] (SCNi8): Likewise.
21235 [C99-based-standards] (SCNo8): Likewise.
21236 [C99-based-standards] (SCNu8): Likewise.
21237 [C99-based-standards] (SCNx8): Likewise.
21238 [C99-based-standards] (PRIdLEAST8): Likewise.
21239 [C99-based-standards] (PRIiLEAST8): Likewise.
21240 [C99-based-standards] (PRIoLEAST8): Likewise.
21241 [C99-based-standards] (PRIuLEAST8): Likewise.
21242 [C99-based-standards] (PRIxLEAST8): Likewise.
21243 [C99-based-standards] (PRIXLEAST8): Likewise.
21244 [C99-based-standards] (SCNdLEAST8): Likewise.
21245 [C99-based-standards] (SCNiLEAST8): Likewise.
21246 [C99-based-standards] (SCNoLEAST8): Likewise.
21247 [C99-based-standards] (SCNuLEAST8): Likewise.
21248 [C99-based-standards] (SCNxLEAST8): Likewise.
21249 [C99-based-standards] (PRIdFAST8): Likewise.
21250 [C99-based-standards] (PRIiFAST8): Likewise.
21251 [C99-based-standards] (PRIoFAST8): Likewise.
21252 [C99-based-standards] (PRIuFAST8): Likewise.
21253 [C99-based-standards] (PRIxFAST8): Likewise.
21254 [C99-based-standards] (PRIXFAST8): Likewise.
21255 [C99-based-standards] (SCNdFAST8): Likewise.
21256 [C99-based-standards] (SCNiFAST8): Likewise.
21257 [C99-based-standards] (SCNoFAST8): Likewise.
21258 [C99-based-standards] (SCNuFAST8): Likewise.
21259 [C99-based-standards] (SCNxFAST8): Likewise.
21260 [C99-based-standards] (PRId16): Likewise.
21261 [C99-based-standards] (PRIi16): Likewise.
21262 [C99-based-standards] (PRIo16): Likewise.
21263 [C99-based-standards] (PRIu16): Likewise.
21264 [C99-based-standards] (PRIx16): Likewise.
21265 [C99-based-standards] (PRIX16): Likewise.
21266 [C99-based-standards] (SCNd16): Likewise.
21267 [C99-based-standards] (SCNi16): Likewise.
21268 [C99-based-standards] (SCNo16): Likewise.
21269 [C99-based-standards] (SCNu16): Likewise.
21270 [C99-based-standards] (SCNx16): Likewise.
21271 [C99-based-standards] (PRIdLEAST16): Likewise.
21272 [C99-based-standards] (PRIiLEAST16): Likewise.
21273 [C99-based-standards] (PRIoLEAST16): Likewise.
21274 [C99-based-standards] (PRIuLEAST16): Likewise.
21275 [C99-based-standards] (PRIxLEAST16): Likewise.
21276 [C99-based-standards] (PRIXLEAST16): Likewise.
21277 [C99-based-standards] (SCNdLEAST16): Likewise.
21278 [C99-based-standards] (SCNiLEAST16): Likewise.
21279 [C99-based-standards] (SCNoLEAST16): Likewise.
21280 [C99-based-standards] (SCNuLEAST16): Likewise.
21281 [C99-based-standards] (SCNxLEAST16): Likewise.
21282 [C99-based-standards] (PRIdFAST16): Likewise.
21283 [C99-based-standards] (PRIiFAST16): Likewise.
21284 [C99-based-standards] (PRIoFAST16): Likewise.
21285 [C99-based-standards] (PRIuFAST16): Likewise.
21286 [C99-based-standards] (PRIxFAST16): Likewise.
21287 [C99-based-standards] (PRIXFAST16): Likewise.
21288 [C99-based-standards] (SCNdFAST16): Likewise.
21289 [C99-based-standards] (SCNiFAST16): Likewise.
21290 [C99-based-standards] (SCNoFAST16): Likewise.
21291 [C99-based-standards] (SCNuFAST16): Likewise.
21292 [C99-based-standards] (SCNxFAST16): Likewise.
21293 [C99-based-standards] (PRId32): Likewise.
21294 [C99-based-standards] (PRIi32): Likewise.
21295 [C99-based-standards] (PRIo32): Likewise.
21296 [C99-based-standards] (PRIu32): Likewise.
21297 [C99-based-standards] (PRIx32): Likewise.
21298 [C99-based-standards] (PRIX32): Likewise.
21299 [C99-based-standards] (SCNd32): Likewise.
21300 [C99-based-standards] (SCNi32): Likewise.
21301 [C99-based-standards] (SCNo32): Likewise.
21302 [C99-based-standards] (SCNu32): Likewise.
21303 [C99-based-standards] (SCNx32): Likewise.
21304 [C99-based-standards] (PRIdLEAST32): Likewise.
21305 [C99-based-standards] (PRIiLEAST32): Likewise.
21306 [C99-based-standards] (PRIoLEAST32): Likewise.
21307 [C99-based-standards] (PRIuLEAST32): Likewise.
21308 [C99-based-standards] (PRIxLEAST32): Likewise.
21309 [C99-based-standards] (PRIXLEAST32): Likewise.
21310 [C99-based-standards] (SCNdLEAST32): Likewise.
21311 [C99-based-standards] (SCNiLEAST32): Likewise.
21312 [C99-based-standards] (SCNoLEAST32): Likewise.
21313 [C99-based-standards] (SCNuLEAST32): Likewise.
21314 [C99-based-standards] (SCNxLEAST32): Likewise.
21315 [C99-based-standards] (PRIdFAST32): Likewise.
21316 [C99-based-standards] (PRIiFAST32): Likewise.
21317 [C99-based-standards] (PRIoFAST32): Likewise.
21318 [C99-based-standards] (PRIuFAST32): Likewise.
21319 [C99-based-standards] (PRIxFAST32): Likewise.
21320 [C99-based-standards] (PRIXFAST32): Likewise.
21321 [C99-based-standards] (SCNdFAST32): Likewise.
21322 [C99-based-standards] (SCNiFAST32): Likewise.
21323 [C99-based-standards] (SCNoFAST32): Likewise.
21324 [C99-based-standards] (SCNuFAST32): Likewise.
21325 [C99-based-standards] (SCNxFAST32): Likewise.
21326 [C99-based-standards] (PRId64): Likewise.
21327 [C99-based-standards] (PRIi64): Likewise.
21328 [C99-based-standards] (PRIo64): Likewise.
21329 [C99-based-standards] (PRIu64): Likewise.
21330 [C99-based-standards] (PRIx64): Likewise.
21331 [C99-based-standards] (PRIX64): Likewise.
21332 [C99-based-standards] (SCNd64): Likewise.
21333 [C99-based-standards] (SCNi64): Likewise.
21334 [C99-based-standards] (SCNo64): Likewise.
21335 [C99-based-standards] (SCNu64): Likewise.
21336 [C99-based-standards] (SCNx64): Likewise.
21337 [C99-based-standards] (PRIdLEAST64): Likewise.
21338 [C99-based-standards] (PRIiLEAST64): Likewise.
21339 [C99-based-standards] (PRIoLEAST64): Likewise.
21340 [C99-based-standards] (PRIuLEAST64): Likewise.
21341 [C99-based-standards] (PRIxLEAST64): Likewise.
21342 [C99-based-standards] (PRIXLEAST64): Likewise.
21343 [C99-based-standards] (SCNdLEAST64): Likewise.
21344 [C99-based-standards] (SCNiLEAST64): Likewise.
21345 [C99-based-standards] (SCNoLEAST64): Likewise.
21346 [C99-based-standards] (SCNuLEAST64): Likewise.
21347 [C99-based-standards] (SCNxLEAST64): Likewise.
21348 [C99-based-standards] (PRIdFAST64): Likewise.
21349 [C99-based-standards] (PRIiFAST64): Likewise.
21350 [C99-based-standards] (PRIoFAST64): Likewise.
21351 [C99-based-standards] (PRIuFAST64): Likewise.
21352 [C99-based-standards] (PRIxFAST64): Likewise.
21353 [C99-based-standards] (PRIXFAST64): Likewise.
21354 [C99-based-standards] (SCNdFAST64): Likewise.
21355 [C99-based-standards] (SCNiFAST64): Likewise.
21356 [C99-based-standards] (SCNoFAST64): Likewise.
21357 [C99-based-standards] (SCNuFAST64): Likewise.
21358 [C99-based-standards] (SCNxFAST64): Likewise.
21359 [C99-based-standards] (PRIdMAX): Likewise.
21360 [C99-based-standards] (PRIiMAX): Likewise.
21361 [C99-based-standards] (PRIoMAX): Likewise.
21362 [C99-based-standards] (PRIuMAX): Likewise.
21363 [C99-based-standards] (PRIxMAX): Likewise.
21364 [C99-based-standards] (PRIXMAX): Likewise.
21365 [C99-based-standards] (SCNdMAX): Likewise.
21366 [C99-based-standards] (SCNiMAX): Likewise.
21367 [C99-based-standards] (SCNoMAX): Likewise.
21368 [C99-based-standards] (SCNuMAX): Likewise.
21369 [C99-based-standards] (SCNxMAX): Likewise.
21370 [C99-based-standards] (PRIdPTR): Likewise.
21371 [C99-based-standards] (PRIiPTR): Likewise.
21372 [C99-based-standards] (PRIoPTR): Likewise.
21373 [C99-based-standards] (PRIuPTR): Likewise.
21374 [C99-based-standards] (PRIxPTR): Likewise.
21375 [C99-based-standards] (PRIXPTR): Likewise.
21376 [C99-based-standards] (SCNdPTR): Likewise.
21377 [C99-based-standards] (SCNiPTR): Likewise.
21378 [C99-based-standards] (SCNoPTR): Likewise.
21379 [C99-based-standards] (SCNuPTR): Likewise.
21380 [C99-based-standards] (SCNxPTR): Likewise.
21381 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21382 allow.
21383 * conform/data/stdint.h-data: Update comments to clarify
21384 requirements.
21385 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21386 type.
21387 [C99-based standards] (INT8_MAX): Likewise.
21388 [C99-based standards] (INT16_MIN): Likewise.
21389 [C99-based standards] (INT16_MAX): Likewise.
21390 [C99-based standards] (INT32_MIN): Likewise.
21391 [C99-based standards] (INT32_MAX): Likewise.
21392 [C99-based standards] (INT64_MIN): Likewise.
21393 [C99-based standards] (INT64_MAX): Likewise.
21394 [C99-based standards] (UINT8_MAX): Likewise.
21395 [C99-based standards] (UINT16_MAX): Likewise.
21396 [C99-based standards] (UINT32_MAX): Likewise.
21397 [C99-based standards] (UINT64_MAX): Likewise.
21398 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21399 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21400 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21401 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21402 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21403 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21404 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21405 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21406 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21407 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21408 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21409 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21410 [C99-based standards] (INT_FAST8_MIN): Likewise.
21411 [C99-based standards] (INT_FAST8_MAX): Likewise.
21412 [C99-based standards] (INT_FAST16_MIN): Likewise.
21413 [C99-based standards] (INT_FAST16_MAX): Likewise.
21414 [C99-based standards] (INT_FAST32_MIN): Likewise.
21415 [C99-based standards] (INT_FAST32_MAX): Likewise.
21416 [C99-based standards] (INT_FAST64_MIN): Likewise.
21417 [C99-based standards] (INT_FAST64_MAX): Likewise.
21418 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21419 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21420 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21421 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21422 [C99-based standards] (INTPTR_MIN): Likewise.
21423 [C99-based standards] (INTPTR_MAX): Likewise.
21424 [C99-based standards] (UINTPTR_MAX): Likewise.
21425 [C99-based standards] (INTMAX_MIN): Likewise.
21426 [C99-based standards] (INTMAX_MAX): Likewise.
21427 [C99-based standards] (UINTMAX_MAX): Likewise.
21428 [C99-based standards] (PTRDIFF_MIN): Likewise.
21429 [C99-based standards] (PTRDIFF_MAX): Likewise.
21430 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21431 [C99-based standards] (SIZE_MAX): Likewise.
21432 [C99-based standards] (WCHAR_MAX): Likewise.
21433 [C99-based standards] (WINT_MAX): Likewise.
21434 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21435 constraint on value.
21436 [C99-based standards] (WCHAR_MIN): Likewise.
21437 [C99-based standards] (WINT_MIN): Likewise.
21438 [C99-based standards] (*_t): Allow.
21439 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21440 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21441 Include math.h-data and complex.h-data. Remove all expectations
21442 of math.h and complex.h contents.
21443 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21444 at end of line.
21445 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21446 (struct tm): Expect tag.
21447 [C99-based-standards] (wcstof): Expect function.
21448 [C99-based-standards] (wcstold): Likewise.
21449 [C99-based-standards] (wcstoll): Likewise.
21450 [C99-based-standards] (wcstoull): Likewise.
21451 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21452 macro-int-constant. Specify type.
21453 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21454 constraint on value.
21455 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21456 Specify type.
21457 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21458 Specify value.
21459 [ISO C standards]: Do not allow headers.
21460 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21461 wcs[abcdefghijklmnopqrstuvwxyz]*.
21462 [ISO C standards] (*_t): Do not allow.
21463 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21464 Expect function.
21465 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21466 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21467 Specify type.
21468 [ISO C standards]: Do not allow headers.
21469 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21470 is[abcdefghijklmnopqrstuvwxyz]*.
21471 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21472 to[abcdefghijklmnopqrstuvwxyz]*.
21473 [ISO C standards] (*_t): Do not allow.
21474 * conform/data/stdalign.h-data: New file.
21475 * conform/data/stdbool.h-data: Likewise.
21476 * conform/data/stdnoreturn.h-data: Likewise.
21477
7514feb8
RM
214782012-11-07 Roland McGrath <roland@hack.frob.com>
21479
21480 [BZ #14815]
21481 * manual/filesys.texi (Directory Entries): Typo fix.
21482 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21483
19b2ecfc
MS
214842012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21485
21486 * elf/elf.h (EM_AARCH64): New macro.
21487 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21488 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21489 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21490 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21491 (R_AARCH64_TLSDESC): Likewise.
21492 (NT_ARM_TLS): Likewise.
21493 (NT_ARM_HW_BREAK): Likewise.
21494 (NT_ARM_HW_WATCH): Likewise.
21495
60e235ee
JM
214962012-11-07 Joseph Myers <joseph@codesourcery.com>
21497
21498 [BZ #14811]
21499 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21500 (__ieee754_powl): Saturate nonzero exponents with absolute value
21501 below 0x1p-79 to +/- 0x1p-79.
21502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21503 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21504 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21505 nonzero exponents with absolute value below 0x1p-32 to +/-
21506 0x1p-32.
21507 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21508 (__ieee754_powl): Saturate nonzero exponents with absolute value
21509 below 0x1p-79 to +/- 0x1p-79.
21510 * math/libm-test.inc (pow_test): Add more tests.
21511
0ab234b7
AK
215122012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21513
21514 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21515 _dl_s390_cap_flags with kernel. Increase string length.
21516 (_dl_s390_platforms): Add z196 and zEC12.
21517
45832f74
JM
215182012-11-07 Joseph Myers <joseph@codesourcery.com>
21519
21520 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21521 Change XOPEN21K to XOPEN2K.
21522
19218757
MK
215232012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21524
21525 * string/memmove.c: Use memcpy when possible.
21526
c5f45721
AJ
215272012-11-06 Andreas Jaeger <aj@suse.de>
21528
21529 * po/eo.po: Update from translation team.
21530
82477c28
JM
215312012-11-06 Joseph Myers <joseph@codesourcery.com>
21532
21533 [BZ #14793]
21534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21535 exponent and small x and y exponents, scale x or y up. Increase
21536 by 2 the exponent used in scaling up.
21537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21539 * math/libm-test.inc (fma_test): Add more tests.
21540 (fma_test_towardzero): Likewise.
21541 (fma_test_downward): Likewise.
21542 (fma_test_upward): Likewise.
21543
99252c8c
JM
215442012-11-05 Joseph Myers <joseph@codesourcery.com>
21545
acfa885f
JM
21546 [BZ #14805]
21547 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21548 fenv_t *.
21549
99252c8c
JM
21550 [BZ #14801]
21551 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21552 namespace for names of struct fields.
21553 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21554 fenv_t fields.
21555 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21556 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21557
d6d98dea
ST
215582012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21559
21560 [BZ #3665]
21561 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21562
e10bb107
TS
215632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21564
21565 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21566 PTR_DEMANGLE.
21567
21568 [BZ #5246]
21569 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21570 PTR_DEMANGLE.
21571
a0c2940d
JM
215722012-11-04 Joseph Myers <joseph@codesourcery.com>
21573
21574 [BZ #14797]
21575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21576 definitely overflow as x * y not x * y + z.
21577 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21578 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21579 * math/libm-test.inc (fma_test): Add more tests.
21580 (fma_test_towardzero): Likewise.
21581 (fma_test_downward): Likewise.
21582 (fma_test_upward): Likewise.
21583
b830319d
TS
215842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21585
21586 [BZ #157]
21587
21588 * include/stub-tag.h: Remove file.
21589 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21590 '#include' of it.
21591 * manual/maint.texi (Porting): Don't reference it.
21592 * Makerules ($(objpfx)stubs): Likewise.
21593 * dirent/closedir.c: Don't include <stub-tag.h>.
21594 * dirent/dirfd.c: Likewise.
21595 * dirent/fdopendir.c: Likewise.
21596 * dirent/getdents.c: Likewise.
21597 * dirent/getdents64.c: Likewise.
21598 * dirent/opendir.c: Likewise.
21599 * dirent/readdir.c: Likewise.
21600 * dirent/readdir64.c: Likewise.
21601 * dirent/readdir64_r.c: Likewise.
21602 * dirent/readdir_r.c: Likewise.
21603 * dirent/rewinddir.c: Likewise.
21604 * dirent/seekdir.c: Likewise.
21605 * dirent/telldir.c: Likewise.
21606 * gmon/profil.c: Likewise.
21607 * grp/setgroups.c: Likewise.
21608 * inet/if_index.c: Likewise.
21609 * io/access.c: Likewise.
21610 * io/chdir.c: Likewise.
21611 * io/chmod.c: Likewise.
21612 * io/chown.c: Likewise.
21613 * io/close.c: Likewise.
21614 * io/dup.c: Likewise.
21615 * io/dup2.c: Likewise.
21616 * io/dup3.c: Likewise.
21617 * io/euidaccess.c: Likewise.
21618 * io/faccessat.c: Likewise.
21619 * io/fchdir.c: Likewise.
21620 * io/fchmod.c: Likewise.
21621 * io/fchmodat.c: Likewise.
21622 * io/fchown.c: Likewise.
21623 * io/fchownat.c: Likewise.
21624 * io/fcntl.c: Likewise.
21625 * io/flock.c: Likewise.
21626 * io/fstatfs.c: Likewise.
21627 * io/fstatfs64.c: Likewise.
21628 * io/fstatvfs.c: Likewise.
21629 * io/fstatvfs64.c: Likewise.
21630 * io/futimens.c: Likewise.
21631 * io/fxstat.c: Likewise.
21632 * io/fxstat64.c: Likewise.
21633 * io/fxstatat.c: Likewise.
21634 * io/fxstatat64.c: Likewise.
21635 * io/getcwd.c: Likewise.
21636 * io/isatty.c: Likewise.
21637 * io/lchmod.c: Likewise.
21638 * io/lchown.c: Likewise.
21639 * io/link.c: Likewise.
21640 * io/linkat.c: Likewise.
21641 * io/lseek.c: Likewise.
21642 * io/lseek64.c: Likewise.
21643 * io/lxstat64.c: Likewise.
21644 * io/mkdir.c: Likewise.
21645 * io/mkdirat.c: Likewise.
21646 * io/mkfifo.c: Likewise.
21647 * io/mkfifoat.c: Likewise.
21648 * io/open.c: Likewise.
21649 * io/open64.c: Likewise.
21650 * io/openat.c: Likewise.
21651 * io/openat64.c: Likewise.
21652 * io/pipe.c: Likewise.
21653 * io/pipe2.c: Likewise.
21654 * io/poll.c: Likewise.
21655 * io/posix_fadvise.c: Likewise.
21656 * io/posix_fadvise64.c: Likewise.
21657 * io/posix_fallocate.c: Likewise.
21658 * io/posix_fallocate64.c: Likewise.
21659 * io/read.c: Likewise.
21660 * io/readlink.c: Likewise.
21661 * io/readlinkat.c: Likewise.
21662 * io/rmdir.c: Likewise.
21663 * io/sendfile.c: Likewise.
21664 * io/sendfile64.c: Likewise.
21665 * io/statfs.c: Likewise.
21666 * io/statfs64.c: Likewise.
21667 * io/statvfs.c: Likewise.
21668 * io/statvfs64.c: Likewise.
21669 * io/symlink.c: Likewise.
21670 * io/symlinkat.c: Likewise.
21671 * io/ttyname.c: Likewise.
21672 * io/ttyname_r.c: Likewise.
21673 * io/umask.c: Likewise.
21674 * io/unlink.c: Likewise.
21675 * io/unlinkat.c: Likewise.
21676 * io/utime.c: Likewise.
21677 * io/utimensat.c: Likewise.
21678 * io/write.c: Likewise.
21679 * io/xmknod.c: Likewise.
21680 * io/xmknodat.c: Likewise.
21681 * io/xstat.c: Likewise.
21682 * io/xstat64.c: Likewise.
21683 * login/getpt.c: Likewise.
21684 * login/grantpt.c: Likewise.
21685 * login/unlockpt.c: Likewise.
21686 * math/e_acoshl.c: Likewise.
21687 * math/e_acosl.c: Likewise.
21688 * math/e_asinl.c: Likewise.
21689 * math/e_atan2l.c: Likewise.
21690 * math/e_atanhl.c: Likewise.
21691 * math/e_coshl.c: Likewise.
21692 * math/e_expl.c: Likewise.
21693 * math/e_fmodl.c: Likewise.
21694 * math/e_gammal_r.c: Likewise.
21695 * math/e_hypotl.c: Likewise.
21696 * math/e_j0l.c: Likewise.
21697 * math/e_j1l.c: Likewise.
21698 * math/e_jnl.c: Likewise.
21699 * math/e_lgammal_r.c: Likewise.
21700 * math/e_log10l.c: Likewise.
21701 * math/e_log2l.c: Likewise.
21702 * math/e_logl.c: Likewise.
21703 * math/e_powl.c: Likewise.
21704 * math/e_rem_pio2l.c: Likewise.
21705 * math/e_sinhl.c: Likewise.
21706 * math/e_sqrtl.c: Likewise.
21707 * math/fclrexcpt.c: Likewise.
21708 * math/fedisblxcpt.c: Likewise.
21709 * math/feenablxcpt.c: Likewise.
21710 * math/fegetenv.c: Likewise.
21711 * math/fegetexcept.c: Likewise.
21712 * math/fegetround.c: Likewise.
21713 * math/feholdexcpt.c: Likewise.
21714 * math/fesetenv.c: Likewise.
21715 * math/fesetround.c: Likewise.
21716 * math/feupdateenv.c: Likewise.
21717 * math/fgetexcptflg.c: Likewise.
21718 * math/fraiseexcpt.c: Likewise.
21719 * math/fsetexcptflg.c: Likewise.
21720 * math/ftestexcept.c: Likewise.
21721 * math/k_cosl.c: Likewise.
21722 * math/k_rem_pio2l.c: Likewise.
21723 * math/k_sinl.c: Likewise.
21724 * math/k_tanl.c: Likewise.
21725 * math/s_asinhl.c: Likewise.
21726 * math/s_atanl.c: Likewise.
21727 * math/s_cbrtl.c: Likewise.
21728 * math/s_erfl.c: Likewise.
21729 * math/s_expm1l.c: Likewise.
21730 * math/s_log1pl.c: Likewise.
21731 * math/s_tanhl.c: Likewise.
21732 * misc/acct.c: Likewise.
21733 * misc/brk.c: Likewise.
21734 * misc/chflags.c: Likewise.
21735 * misc/chroot.c: Likewise.
21736 * misc/fchflags.c: Likewise.
21737 * misc/fgetxattr.c: Likewise.
21738 * misc/flistxattr.c: Likewise.
21739 * misc/fremovexattr.c: Likewise.
21740 * misc/fsetxattr.c: Likewise.
21741 * misc/fsync.c: Likewise.
21742 * misc/ftruncate.c: Likewise.
21743 * misc/futimes.c: Likewise.
21744 * misc/futimesat.c: Likewise.
21745 * misc/getdomain.c: Likewise.
21746 * misc/getdtsz.c: Likewise.
21747 * misc/gethostid.c: Likewise.
21748 * misc/gethostname.c: Likewise.
21749 * misc/getloadavg.c: Likewise.
21750 * misc/getpagesize.c: Likewise.
21751 * misc/getsysstats.c: Likewise.
21752 * misc/getxattr.c: Likewise.
21753 * misc/gtty.c: Likewise.
21754 * misc/ioctl.c: Likewise.
21755 * misc/lgetxattr.c: Likewise.
21756 * misc/listxattr.c: Likewise.
21757 * misc/llistxattr.c: Likewise.
21758 * misc/lremovexattr.c: Likewise.
21759 * misc/lsetxattr.c: Likewise.
21760 * misc/lutimes.c: Likewise.
21761 * misc/madvise.c: Likewise.
21762 * misc/mincore.c: Likewise.
21763 * misc/mlock.c: Likewise.
21764 * misc/mlockall.c: Likewise.
21765 * misc/mmap.c: Likewise.
21766 * misc/mprotect.c: Likewise.
21767 * misc/msync.c: Likewise.
21768 * misc/munlock.c: Likewise.
21769 * misc/munlockall.c: Likewise.
21770 * misc/munmap.c: Likewise.
21771 * misc/preadv.c: Likewise.
21772 * misc/preadv64.c: Likewise.
21773 * misc/ptrace.c: Likewise.
21774 * misc/pwritev.c: Likewise.
21775 * misc/pwritev64.c: Likewise.
21776 * misc/readv.c: Likewise.
21777 * misc/reboot.c: Likewise.
21778 * misc/remap_file_pages.c: Likewise.
21779 * misc/removexattr.c: Likewise.
21780 * misc/revoke.c: Likewise.
21781 * misc/select.c: Likewise.
21782 * misc/setdomain.c: Likewise.
21783 * misc/setegid.c: Likewise.
21784 * misc/seteuid.c: Likewise.
21785 * misc/sethostid.c: Likewise.
21786 * misc/sethostname.c: Likewise.
21787 * misc/setregid.c: Likewise.
21788 * misc/setreuid.c: Likewise.
21789 * misc/setxattr.c: Likewise.
21790 * misc/sstk.c: Likewise.
21791 * misc/stty.c: Likewise.
21792 * misc/swapoff.c: Likewise.
21793 * misc/swapon.c: Likewise.
21794 * misc/sync.c: Likewise.
21795 * misc/syncfs.c: Likewise.
21796 * misc/syscall.c: Likewise.
21797 * misc/truncate.c: Likewise.
21798 * misc/ualarm.c: Likewise.
21799 * misc/usleep.c: Likewise.
21800 * misc/ustat.c: Likewise.
21801 * misc/utimes.c: Likewise.
21802 * misc/vhangup.c: Likewise.
21803 * misc/writev.c: Likewise.
21804 * posix/_exit.c: Likewise.
21805 * posix/alarm.c: Likewise.
21806 * posix/execve.c: Likewise.
21807 * posix/fexecve.c: Likewise.
21808 * posix/fork.c: Likewise.
21809 * posix/fpathconf.c: Likewise.
21810 * posix/getaddrinfo.c: Likewise.
21811 * posix/getegid.c: Likewise.
21812 * posix/geteuid.c: Likewise.
21813 * posix/getgid.c: Likewise.
21814 * posix/getgroups.c: Likewise.
21815 * posix/getlogin.c: Likewise.
21816 * posix/getlogin_r.c: Likewise.
21817 * posix/getpgid.c: Likewise.
21818 * posix/getpid.c: Likewise.
21819 * posix/getppid.c: Likewise.
21820 * posix/getresgid.c: Likewise.
21821 * posix/getresuid.c: Likewise.
21822 * posix/getsid.c: Likewise.
21823 * posix/getuid.c: Likewise.
21824 * posix/glob64.c: Likewise.
21825 * posix/nanosleep.c: Likewise.
21826 * posix/pathconf.c: Likewise.
21827 * posix/pause.c: Likewise.
21828 * posix/posix_madvise.c: Likewise.
21829 * posix/pread.c: Likewise.
21830 * posix/pread64.c: Likewise.
21831 * posix/pwrite.c: Likewise.
21832 * posix/pwrite64.c: Likewise.
21833 * posix/sched_getaffinity.c: Likewise.
21834 * posix/sched_getp.c: Likewise.
21835 * posix/sched_gets.c: Likewise.
21836 * posix/sched_primax.c: Likewise.
21837 * posix/sched_primin.c: Likewise.
21838 * posix/sched_rr_gi.c: Likewise.
21839 * posix/sched_setaffinity.c: Likewise.
21840 * posix/sched_setp.c: Likewise.
21841 * posix/sched_sets.c: Likewise.
21842 * posix/sched_yield.c: Likewise.
21843 * posix/setgid.c: Likewise.
21844 * posix/setlogin.c: Likewise.
21845 * posix/setpgid.c: Likewise.
21846 * posix/setresgid.c: Likewise.
21847 * posix/setresuid.c: Likewise.
21848 * posix/setsid.c: Likewise.
21849 * posix/setuid.c: Likewise.
21850 * posix/sleep.c: Likewise.
21851 * posix/spawni.c: Likewise.
21852 * posix/sysconf.c: Likewise.
21853 * posix/times.c: Likewise.
21854 * posix/wait.c: Likewise.
21855 * posix/wait3.c: Likewise.
21856 * posix/wait4.c: Likewise.
21857 * posix/waitpid.c: Likewise.
21858 * resolv/gai_sigqueue.c: Likewise.
21859 * resource/getpriority.c: Likewise.
21860 * resource/getrlimit.c: Likewise.
21861 * resource/getrusage.c: Likewise.
21862 * resource/nice.c: Likewise.
21863 * resource/setpriority.c: Likewise.
21864 * resource/setrlimit.c: Likewise.
21865 * resource/ulimit.c: Likewise.
21866 * rt/aio_cancel.c: Likewise.
21867 * rt/aio_fsync.c: Likewise.
21868 * rt/aio_read.c: Likewise.
21869 * rt/aio_sigqueue.c: Likewise.
21870 * rt/aio_suspend.c: Likewise.
21871 * rt/aio_write.c: Likewise.
21872 * rt/clock_getres.c: Likewise.
21873 * rt/clock_gettime.c: Likewise.
21874 * rt/clock_nanosleep.c: Likewise.
21875 * rt/clock_settime.c: Likewise.
21876 * rt/lio_listio.c: Likewise.
21877 * rt/mq_close.c: Likewise.
21878 * rt/mq_getattr.c: Likewise.
21879 * rt/mq_notify.c: Likewise.
21880 * rt/mq_open.c: Likewise.
21881 * rt/mq_receive.c: Likewise.
21882 * rt/mq_send.c: Likewise.
21883 * rt/mq_setattr.c: Likewise.
21884 * rt/mq_timedreceive.c: Likewise.
21885 * rt/mq_timedsend.c: Likewise.
21886 * rt/mq_unlink.c: Likewise.
21887 * rt/shm_open.c: Likewise.
21888 * rt/shm_unlink.c: Likewise.
21889 * rt/timer_create.c: Likewise.
21890 * rt/timer_delete.c: Likewise.
21891 * rt/timer_getoverr.c: Likewise.
21892 * rt/timer_gettime.c: Likewise.
21893 * rt/timer_settime.c: Likewise.
21894 * setjmp/__longjmp.c: Likewise.
21895 * setjmp/setjmp.c: Likewise.
21896 * signal/kill.c: Likewise.
21897 * signal/killpg.c: Likewise.
21898 * signal/raise.c: Likewise.
21899 * signal/sigaction.c: Likewise.
21900 * signal/sigaltstack.c: Likewise.
21901 * signal/sigblock.c: Likewise.
21902 * signal/sigignore.c: Likewise.
21903 * signal/sigintr.c: Likewise.
21904 * signal/signal.c: Likewise.
21905 * signal/sigpause.c: Likewise.
21906 * signal/sigpending.c: Likewise.
21907 * signal/sigqueue.c: Likewise.
21908 * signal/sigreturn.c: Likewise.
21909 * signal/sigset.c: Likewise.
21910 * signal/sigsetmask.c: Likewise.
21911 * signal/sigstack.c: Likewise.
21912 * signal/sigsuspend.c: Likewise.
21913 * signal/sigtimedwait.c: Likewise.
21914 * signal/sigvec.c: Likewise.
21915 * signal/sigwait.c: Likewise.
21916 * signal/sigwaitinfo.c: Likewise.
21917 * signal/sysv_signal.c: Likewise.
21918 * socket/accept.c: Likewise.
21919 * socket/accept4.c: Likewise.
21920 * socket/bind.c: Likewise.
21921 * socket/connect.c: Likewise.
21922 * socket/getpeername.c: Likewise.
21923 * socket/getsockname.c: Likewise.
21924 * socket/getsockopt.c: Likewise.
21925 * socket/isfdtype.c: Likewise.
21926 * socket/listen.c: Likewise.
21927 * socket/recv.c: Likewise.
21928 * socket/recvfrom.c: Likewise.
21929 * socket/recvmsg.c: Likewise.
21930 * socket/send.c: Likewise.
21931 * socket/sendmsg.c: Likewise.
21932 * socket/sendto.c: Likewise.
21933 * socket/setsockopt.c: Likewise.
21934 * socket/shutdown.c: Likewise.
21935 * socket/sockatmark.c: Likewise.
21936 * socket/socket.c: Likewise.
21937 * socket/socketpair.c: Likewise.
21938 * stdio-common/ctermid.c: Likewise.
21939 * stdio-common/cuserid.c: Likewise.
21940 * stdio-common/remove.c: Likewise.
21941 * stdio-common/rename.c: Likewise.
21942 * stdio-common/renameat.c: Likewise.
21943 * stdio-common/tempname.c: Likewise.
21944 * stdlib/getcontext.c: Likewise.
21945 * stdlib/makecontext.c: Likewise.
21946 * stdlib/setcontext.c: Likewise.
21947 * stdlib/swapcontext.c: Likewise.
21948 * stdlib/system.c: Likewise.
21949 * streams/fattach.c: Likewise.
21950 * streams/fdetach.c: Likewise.
21951 * streams/getmsg.c: Likewise.
21952 * streams/getpmsg.c: Likewise.
21953 * streams/putmsg.c: Likewise.
21954 * streams/putpmsg.c: Likewise.
21955 * sysdeps/unix/bsd/getpt.c: Likewise.
21956 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21957 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21958 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21960 Likewise.
21961 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21962 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21963 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21964 * sysvipc/msgctl.c: Likewise.
21965 * sysvipc/msgget.c: Likewise.
21966 * sysvipc/msgrcv.c: Likewise.
21967 * sysvipc/msgsnd.c: Likewise.
21968 * sysvipc/semctl.c: Likewise.
21969 * sysvipc/semget.c: Likewise.
21970 * sysvipc/semop.c: Likewise.
21971 * sysvipc/semtimedop.c: Likewise.
21972 * sysvipc/shmat.c: Likewise.
21973 * sysvipc/shmctl.c: Likewise.
21974 * sysvipc/shmdt.c: Likewise.
21975 * sysvipc/shmget.c: Likewise.
21976 * termios/tcdrain.c: Likewise.
21977 * termios/tcflow.c: Likewise.
21978 * termios/tcflush.c: Likewise.
21979 * termios/tcgetattr.c: Likewise.
21980 * termios/tcgetpgrp.c: Likewise.
21981 * termios/tcsendbrk.c: Likewise.
21982 * termios/tcsetattr.c: Likewise.
21983 * termios/tcsetpgrp.c: Likewise.
21984 * time/adjtime.c: Likewise.
21985 * time/clock.c: Likewise.
21986 * time/getitimer.c: Likewise.
21987 * time/gettimeofday.c: Likewise.
21988 * time/setitimer.c: Likewise.
21989 * time/settimeofday.c: Likewise.
21990 * time/stime.c: Likewise.
21991 * time/time.c: Likewise.
21992
219932012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21994
a20492cf
PT
21995 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21996 /usr/old/bin.
21997
72e182e3
PT
21998 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21999 instead of spaces.
22000 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22001
fbeafede
JM
220022012-11-03 Joseph Myers <joseph@codesourcery.com>
22003
5b5b04d6
JM
22004 [BZ #14796]
22005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22006 FE_TONEAREST before applying Dekker multiplication and Knuth
22007 addition. Clear inexact exceptions and check for exact zero
22008 results afterwards.
22009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22012 * math/libm-test.inc (fma_test): Add more tests.
22013 (fma_test_towardzero): Likewise.
22014 (fma_test_downward): Likewise.
22015 (fma_test_upward): Likewise.
22016 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22017 function.
22018 (libc_fesetround): New macro.
22019 (libc_fesetroundf): Likewise.
22020 (libc_fesetroundl): Likewise.
22021 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22022 function.
22023 (libc_fesetround_387): Likewise.
22024 (libc_fesetroundf): New macro.
22025 (libc_fesetround): Likewise.
22026 (libc_fesetroundl): Likewise.
22027 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22028 function.
22029 (libc_fesetroundf): New macro.
22030 (libc_fesetround): Likewise.
22031 (libc_fesetroundl): Likewise.
22032 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22033 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22034 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22035 libm_hidden_ver.
22036 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22037 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22038 libm_hidden_def.
22039 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22040 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22041 libm_hidden_ver.
22042 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22043 libm_hidden_def.
22044
fbeafede
JM
22045 [BZ #3439]
22046 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22047 integer constant usable in #if and use that to give value to enum
22048 constant.
22049 (FE_DIVBYZERO): Likewise.
22050 (FE_UNDERFLOW): Likewise.
22051 (FE_OVERFLOW): Likewise.
22052 (FE_INVALID): Likewise.
22053 (FE_INVALID_SNAN): Likewise.
22054 (FE_INVALID_ISI): Likewise.
22055 (FE_INVALID_IDI): Likewise.
22056 (FE_INVALID_ZDZ): Likewise.
22057 (FE_INVALID_IMZ): Likewise.
22058 (FE_INVALID_COMPARE): Likewise.
22059 (FE_INVALID_SOFTWARE): Likewise.
22060 (FE_INVALID_SQRT): Likewise.
22061 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22062 (FE_TONEAREST): Likewise.
22063 (FE_TOWARDZERO): Likewise.
22064 (FE_UPWARD): Likewise.
22065 (FE_DOWNWARD): Likewise.
22066 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22067 (FE_DIVBYZERO): Likewise.
22068 (FE_OVERFLOW): Likewise.
22069 (FE_UNDERFLOW): Likewise.
22070 (FE_INEXACT): Likewise.
22071 (FE_TONEAREST): Likewise.
22072 (FE_DOWNWARD): Likewise.
22073 (FE_UPWARD): Likewise.
22074 (FE_TOWARDZERO): Likewise.
22075 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22076 (FE_UNDERFLOW): Likewise.
22077 (FE_OVERFLOW): Likewise.
22078 (FE_DIVBYZERO): Likewise.
22079 (FE_INVALID): Likewise.
22080 (FE_TONEAREST): Likewise.
22081 (FE_TOWARDZERO): Likewise.
22082 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22083 (FE_OVERFLOW): Likewise.
22084 (FE_UNDERFLOW): Likewise.
22085 (FE_DIVBYZERO): Likewise.
22086 (FE_INEXACT): Likewise.
22087 (FE_TONEAREST): Likewise.
22088 (FE_TOWARDZERO): Likewise.
22089 (FE_UPWARD): Likewise.
22090 (FE_DOWNWARD): Likewise.
22091 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22092 (FE_DIVBYZERO): Likewise.
22093 (FE_OVERFLOW): Likewise.
22094 (FE_UNDERFLOW): Likewise.
22095 (FE_INEXACT): Likewise.
22096 (FE_TONEAREST): Likewise.
22097 (FE_DOWNWARD): Likewise.
22098 (FE_UPWARD): Likewise.
22099 (FE_TOWARDZERO): Likewise.
22100
105ca950
CM
221012012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22102
22103 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22104
a542b389
AS
221052012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22106
22107 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22108 commands. Quote $PWD.
22109 (blacklist_exports): Don't use remove_newlines. Replace "declare
22110 -x" by "export".
22111 (remove_newlines): Remove.
22112
f62c8abc
L
221132012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22116 * stdlib/stdlib.h (atof): Moved to ...
22117 * include/bits/stdlib-float.h: Here. New file.
22118 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22119 * stdlib/bits/stdlib-float.h: New file.
22120 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22121 -mno-sse -mno-mmx.
22122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22123 <xmmintrin.h>.
22124
0155d5b2
JM
221252012-11-02 Joseph Myers <joseph@codesourcery.com>
22126
a68d0680
JM
22127 * conform/conformtest.pl (@headers): Add fenv.h.
22128 * conform/data/fenv.h-data: New file.
22129 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22130 include of <math/fenv.h>.
22131
caf7f573
JM
22132 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22133 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22134 && !UNIX98]. Enables tests for XOPEN2K8.
22135 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22136 POSIX2008]: Likewise.
22137
6c073ad6
JM
22138 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22139 (struct rusage): Do not expect type or its members.
22140
0155d5b2
JM
22141 [BZ #3439]
22142 * math/math.h (FP_NAN): Define macro to integer constant usable in
22143 #if and use that to give value to enum constant.
22144 (FP_INFINITE): Likewise.
22145 (FP_ZERO): Likewise.
22146 (FP_SUBNORMAL): Likewise.
22147 (FP_NORMAL): Likewise.
22148
b5dcacb4
AS
221492012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22150
22151 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22152 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22153 arguments.
22154
f7934be8
RM
221552012-11-02 Roland McGrath <roland@hack.frob.com>
22156
22157 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22158 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22159 autoconf-time if not.
22160 * configure.in: Remove AC_PREREQ.
22161
d7d08bde
TMQMF
221622012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22163
22164 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22165 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22166 of the internal implementation.
22167
dcdae19a
JM
221682012-11-02 Joseph Myers <joseph@codesourcery.com>
22169
22170 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22171 except include of <misc/sys/syslog.h>.
22172
d6cffd3e
AS
221732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22174
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22176 function returns with a NULL context exit with zero.
22177
b3563932
TMQMF
221782012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22179
22180 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22181
b288a93d
L
221822012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22185 (run_program_cmd): This.
22186 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22187 (tst_langinfo): New variable. Use it.
22188
a2421a68
SAS
221892012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22190
22191 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22192 floating point opcodes.
22193
6f796e1b
TS
221942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22195
7402596b
TS
22196 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22197 variable.
22198
d0d4f868
TS
22199 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22200
6f796e1b
TS
22201 * sysdeps/mach/hurd/powerpc: Remove directory.
22202 * sysdeps/mach/powerpc: Likewise.
22203
4da224a2
AS
222042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22205
22206 * scripts/check-local-headers.sh: Ignore c++ headers.
22207
341dd673
TS
222082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22209
22210 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22211 __libc_cleanup_region_start argument.
22212
473611b2
JM
222132012-11-01 Joseph Myers <joseph@codesourcery.com>
22214
22215 [BZ #14784]
22216 [BZ #14785]
22217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22218 x * y using scaling, not as x * y + z.
22219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22221 * math/libm-test.inc (fma_test): Add more tests.
22222 (fma_test_towardzero): Likewise.
22223 (fma_test_downward): Likewise.
22224 (fma_test_upward): Likewise.
22225
4078da3d
TS
222262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22227
22228 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22229
903252aa
JM
222302012-10-31 Joseph Myers <joseph@codesourcery.com>
22231
22232 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22233 New variable.
22234
cbc818d0
TS
222352012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22236
22237 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22238
5a03cb1e
AS
222392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22240
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22242 Fix sort order.
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22244 Likewise.
22245
90aff2ff
TMQMF
222462012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22247
22248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22249 Fix the order of the list for glibc 2.17.
22250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22251 Likewise.
22252
1818fcb7
AS
222532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22254
22255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22256
ef82f4da
JM
222572012-10-31 Joseph Myers <joseph@codesourcery.com>
22258
16a0e2ec
JM
22259 [BZ #14610]
22260 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22261 for low part of x being zero before using __atanl (y).
22262 * math/libm-test.inc (atan2_test): Add another test.
22263
0eb69512
JM
22264 * manual/install.texi (Configuring and compiling): Document
22265 general use of test-wrapper and test-wrapper-env.
22266 * INSTALL: Regenerated.
22267
ef82f4da
JM
22268 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22269 (__fma): Do not extract and scale down low bits on after-rounding
22270 systems when result rounded to normal precision would have normal
22271 exponent.
22272 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22273 (__fmal): Do not extract and scale down low bits on after-rounding
22274 systems when result rounded to normal precision would have normal
22275 exponent.
22276 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22277 (__fmal): Do not extract and scale down low bits on after-rounding
22278 systems when result rounded to normal precision would have normal
22279 exponent.
22280 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22281 macro.
22282 (fma_test): Add more tests.
22283 (fma_test_towardzero): Likewise.
22284 (fma_test_downward): Likewise.
22285 (fma_test_upward): Likewise.
22286
954ef0d9
L
222872012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22288
22289 * sysdeps/i386/tininess.h: Renamed to ...
22290 * sysdeps/x86/tininess.h: This.
22291 * sysdeps/x86_64/tininess.h: Removed.
22292
df61ffb2
JM
222932012-10-30 Joseph Myers <joseph@codesourcery.com>
22294
22295 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22296 input. Use $(build-program-cmd).
22297 ($(objpfx)tst-array1-static.out): Likewise.
22298 ($(objpfx)tst-array2.out): Likewise.
22299 ($(objpfx)tst-array3.out): Likewise.
22300 ($(objpfx)tst-array4.out): Likewise.
22301 ($(objpfx)tst-array5.out): Likewise.
22302 ($(objpfx)tst-array5-static.out): Likewise.
22303
01767843
CM
223042012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22305
47cc1490
CM
22306 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22307 if defined.
22308
01767843
CM
22309 * nss/nsswitch.h (nss_interface_function): Provide new
22310 macro for use with NSS functions.
22311 * grp/initgroups.c: Use new macro.
22312 * nss/getXXbyYY.c: Likewise.
22313 * nss/getXXbyYY_r.c: Likewise.
22314 * nss/getXXent.c: Likewise.
22315 * nss/getXXent_r.c: Likewise.
22316 * sysdeps/posix/getaddrinfo.c: Likewise.
22317
8321aa97
AJ
223182012-10-30 Andreas Jaeger <aj@suse.de>
22319
22320 * po/ru.po: Update Russion translation from translation project.
22321
2a27fd6d
JM
223222012-10-30 Joseph Myers <joseph@codesourcery.com>
22323
8627a232
JM
22324 [BZ #14152]
22325 [BZ #14783]
22326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22327 result and shift together with sticky bit instead of replicating
22328 round-to-nearest rounding.
22329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22331 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22332 missing underflow exceptions.
22333 (fma_test_towardzero): Add more tests.
22334 (fma_test_downward): Likewise.
22335 (fma_test_upward): Likewise.
22336
2a27fd6d
JM
22337 [BZ #14047]
22338 * sysdeps/generic/tininess.h: New file.
22339 * sysdeps/i386/tininess.h: Likewise.
22340 * sysdeps/sh/tininess.h: Likewise.
22341 * sysdeps/x86_64/tininess.h: Likewise.
22342 * stdlib/tst-strtod-underflow.c: Likewise.
22343 * stdlib/tst-tininess.c: Likewise.
22344 * stdlib/strtod_l.c: Include <tininess.h>.
22345 (round_and_return): Do not set errno for exact underflow cases.
22346 Force an underflow exception when setting errno for underflow.
22347 Determine underflow based on rounding to normal precision if
22348 TININESS_AFTER_ROUNDING.
22349 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22350 ERANGE for exact underflow cases.
22351 * stdlib/Makefile (tests): Add tst-tininess and
22352 tst-strtod-underflow.
22353 ($(objpfx)tst-tininess): Use $(link-libm).
22354 ($(objpfx)tst-strtod-underflow): Likewise.
22355
e7170363
AJ
223562012-10-30 Andreas Jaeger <aj@suse.de>
22357
e5088dc6
AJ
22358 [BZ#14767]
22359 * elf/Makefile (tests): Remove conditional for have-initfini-array
22360 since this is now always required and the variable does not exist
22361 anymore.
22362 (tests-static): Likewise.
22363 (modules-names): Likewise.
22364
e7170363 22365 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22366
22367 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22368 merged with constructor/destructor.
22369 (init_array): Likewise.
22370 * elf/tst-array2dep.c (fini_array): Likewise.
22371 (init_array): Likewise.
22372
60457d8a
MF
223732012-10-29 Mike Frysinger <vapier@gentoo.org>
22374
22375 * manual/message.texi: Delete @cartouche tags.
22376
8bece752
PT
223772012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22378
94ce799f
PT
22379 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22380 EOPNOTSUPP.
22381 * sysdeps/mach/hurd/fsync.c: Likewise.
22382
8bece752
PT
22383 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22384 [_POSIX_REALTIME_SIGNALS]: Change condition to
22385 [_POSIX_REALTIME_SIGNALS > 0].
22386
86ebe6b1
AJ
223872012-10-27 Andreas Jaeger <aj@suse.de>
22388
22389 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22390 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22392 [__WORDSIZE != 64]: Likewise.
22393
54399c08
L
223942012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22395
22396 * iconvdata/tst-table.sh: Remove ${SHELL}.
22397 * iconvdata/tst-tables.sh: Likewise.
22398
e2211bed
DM
223992012-10-25 David S. Miller <davem@davemloft.net>
22400
22401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22402 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22403 of strtoull.
22404
f303f97c
DM
22405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22406 ifunc-impl-list.c
22407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22408 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22409 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22410 file.
22411
1e9d84cd
RM
224122012-10-25 Roland McGrath <roland@hack.frob.com>
22413
22414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22415 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22416 __getdirentries.
22417
df381762
JM
224182012-10-25 Joseph Myers <joseph@codesourcery.com>
22419 Jim Blandy <jimb@codesourcery.com>
22420
22421 * scripts/cross-test-ssh.sh: New file.
22422 * manual/install.texi (Configuring and compiling): Document use of
22423 cross-test-ssh.sh.
22424 * INSTALL: Regenerated.
22425
bff64913
PT
224262012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22427
22428 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22429 EOPNOTSUPP.
22430
25fe8932
JM
224312012-10-25 Joseph Myers <joseph@codesourcery.com>
22432
22433 * Makeconfig (run-program-prefix): Fix comment.
22434
cc1290d0
JM
224352012-10-24 Joseph Myers <joseph@codesourcery.com>
22436 Jim Blandy <jimb@codesourcery.com>
22437
22438 * Makeconfig (test-wrapper): New variable,
22439 (test-wrapper-env): Likewise.
22440 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22441 (run-built-tests): Define to yes.
22442 (run-program-prefix): Use $(test-wrapper).
22443 (built-program-cmd): Likewise.
22444 * Rules (make-test-out): Use $(test-wrapper-env) and
22445 $(host-built-program-cmd).
22446 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22447 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22448 tst-pathopt.sh.
22449 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22450 $(test-wrapper-env) to tst-rtld-load-self.sh.
22451 ($(objpfx)order2.out): Use $(test-wrapper).
22452 ($(objpfx)tst-initorder.out): Likewise.
22453 ($(objpfx)tst-initorder2.out): Likewise.
22454 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22455 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22456 (test_wrapper_env): New variable. Use it to run ld.so.
22457 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22458 Use it to run ld.so.
22459 (test_wrapper_env): Likewise.
22460 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22461 $(test-wrapper) to run-iconv-test.sh.
22462 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22463 (ICONV): Use $test_wrapper.
22464 * posix/Makefile ($(objpfx)globtest.out): Pass
22465 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22466 globtest.sh, not $(run-program-prefix).
22467 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22468 (test_wrapper): Likewise.
22469 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22470 set together with run_via_rtld_prefix.
22471 (run_program_prefix): Define in terms of test_wrapper and
22472 run_via_rtld_prefix.
22473
6e6249d0
RM
224742012-10-24 Roland McGrath <roland@hack.frob.com>
22475
22476 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22477 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22478 Targets removed.
22479
22480 [BZ #14743]
22481 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22482 Declare __clock_getres, __clock_gettime, __clock_settime,
22483 __clock_nanosleep, and __clock_getcpuclockid.
22484 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22485 Remove librt_hidden_def (clock_gettime).
22486 * sysdeps/unix/clock_gettime.c: Likewise.
22487 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22488 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22489 * rt/clock_getres.c: Define __clock_getres as an alias.
22490 * sysdeps/posix/clock_getres.c: Likewise.
22491 * rt/clock_settime.c: Define __clock_settime as an alias.
22492 * sysdeps/unix/clock_settime.c: Likewise.
22493 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22494 * sysdeps/unix/clock_nanosleep.c: Likewise.
22495 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22496 * rt/clock-compat.c: New file.
22497 * rt/Makefile (librt-routines): Add clock-compat and move
22498 $(clock-routines) to ...
22499 (routines): ... here, new variable.
22500 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22501 Don't add get_clockfreq here.
22502 * rt/Versions (libc: GLIBC_2.17): New version set.
22503 Add clock_* symbols here.
22504 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22506 (GLIBC_2.17): Add clock_* symbols.
22507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22511 Likewise.
22512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22513 Likewise.
22514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22518 * NEWS: Mention the move.
22519
22520 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22521 Use __open, __read, __close rather than their public counterparts.
22522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22523 (__get_clockfreq_via_cpuinfo): Likewise.
22524 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22525 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22526
22527 * config.h.in (HAVE_IFUNC): New #undef.
22528 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22529 was successful.
22530 * configure: Regenerated.
22531
0cae3f4b
MF
225322012-10-24 Mike Frysinger <vapier@gentoo.org>
22533
22534 * configure.in: Move READELF check to start of file.
22535 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22536 libc_cv_asm_gnu_indirect_function in the process.
22537 * configure: Regenerated.
22538
8175a253
MF
225392012-10-24 Mike Frysinger <vapier@gentoo.org>
22540
22541 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22542 send the output to /dev/null.
22543 (libc_cv_cc_with_libunwind): Likewise.
22544 (libc_cv_as_noexecstack): Likewise.
22545 * configure: Regenerate.
22546
0708a7d1
JM
225472012-10-24 Joseph Myers <joseph@codesourcery.com>
22548
10b40d85
JM
22549 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22550
0708a7d1
JM
22551 * posix/globtest.sh (TMPDIR): Do not set.
22552 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22553 (testout): Likewise.
22554
9fddec1a
AJ
225552012-10-24 Andreas Jaeger <aj@suse.de>
22556
3a8db22f
AJ
22557 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22558 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22559 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22560 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22561 posix_fadvise64, posix_fallocate64.
22562
9fddec1a
AJ
22563 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22564 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22565 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22566 Likewise.
22567 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22568 Likewise.
22569 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22570
22571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22572 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22573 <bits/fcntl-linux.h>.
22574 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22575
22576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22577 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22578 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22579 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22580 [__WORDSIZE != 64]: Likewise.
22581
ebfd1bbd
JM
225822012-10-23 Joseph Myers <joseph@codesourcery.com>
22583
03ac099f
JM
22584 * Makeconfig (run-built-tests): New variable.
22585 * Rules [$(cross-compiling) = yes]: Change condition to
22586 [$(run-built-tests) = no].
22587 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22588 to [$(run-built-tests) = yes].
22589 * elf/Makefile [$(cross-compiling) = no]: Likewise
22590 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22591 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22592 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22593 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22594 * io/Makefile [$(cross-compiling) = no]: Likewise.
22595 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22596 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22597 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22598 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22599 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22600 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22601 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22602 * string/Makefile [$(cross-compiling) = no]: Likewise.
22603
ebfd1bbd
JM
22604 * posix/Makefile ($(objpfx)globtest.out): Pass
22605 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22606 $(rtld-installed-name).
22607 * posix/globtest.sh (elf_objpfx): Remove variable.
22608 (rtld_installed_name): Likewise.
22609 (library_path): Likewise.
22610 (run_program_prefix): New variable. Use for running globtest
22611 binary.
22612
166bca24
JB
226132012-10-23 Jim Blandy <jimb@codesourcery.com>
22614 Joseph Myers <joseph@codesourcery.com>
22615
22616 * Makeconfig (host-built-program-cmd): New variable.
22617 * elf/Makefile (tst-stackguard1-ARGS): Use
22618 $(host-built-program-cmd).
22619 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22620 (tst-spawn-ARGS): Likewise.
22621 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22622
88866099
JM
226232012-10-23 Joseph Myers <joseph@codesourcery.com>
22624 Jim Blandy <jimb@codesourcery.com>
22625
22626 * Makeconfig (run-via-rtld-prefix): New variable.
22627 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22628 (built-program-cmd): Likewise.
22629
b4b4c296
AJ
226302012-10-22 Andreas Jaeger <aj@suse.de>
22631
22632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22633 __O_RSYNC if it exists, otherwise to O_SYNC.
22634
6fb54a22
JB
226352012-10-22 Jim Blandy <jimb@codesourcery.com>
22636 Joseph Myers <joseph@codesourcery.com>
22637
22638 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22639 /dev/null.
22640 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22641 from /dev/null
22642 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22643 /dev/null.
22644
481b90b9
AJ
226452012-10-22 Andreas Jaeger <aj@suse.de>
22646
2a0e2669
AJ
22647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22648 Define always.
22649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22650
76e38f9a
AJ
22651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22652 bits/fcntl-linux.h.
22653
7cd37b43
AJ
22654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22655 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22656
481b90b9
AJ
22657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22658 to __O_LARGEFILE.
22659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22660 to __O_LARGEFILE.
22661
aba75984
JB
226622012-10-21 Jim Blandy <jimb@codesourcery.com>
22663 Joseph Myers <joseph@codesourcery.com>
22664
22665 * config.make.in (NM): New variable.
22666
88d4247f
AJ
226672012-10-21 Andreas Jaeger <aj@suse.de>
22668
22669 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22670 definitions and declarations that are provided by
22671 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22672
f2eed205
L
226732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22674
22675 [BZ #14683]
22676 * elf/Makefile (tests-static): Add tst-leaks1-static.
22677 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22678 ($(objpfx)tst-leaks1-static): New rule.
22679 ($(objpfx)tst-leaks1-static-mem): Likewise.
22680 (tst-leaks1-static-ENV): New macro.
22681 * elf/dl-open.c (dl_open_worker): Check the main application
22682 only if SHARED is defined.
22683 * elf/tst-leaks1-static.c: New file.
22684
335e6931
AJ
226852012-10-20 Andreas Jaeger <aj@suse.de>
22686
22687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22688 generic values for Linux.
22689 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22690 and declarations that are provided by <bits/fcntl-linux.h> and
22691 include <bits/fcntl-linux.h>.
22692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22694
ac5c94d3
RM
226952012-10-20 Roland McGrath <roland@hack.frob.com>
22696
22697 * io/fcntl.h: Move include of <bits/types.h> to the top and
22698 include it unconditionally.
22699
de54b33a
L
227002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22701
228cfb01
L
22702 * wcsmbs/Makefile (tests-ifunc): New variable.
22703 (tests): Add $(tests-ifunc).
22704 * wcsmbs/test-wcschr-ifunc.c: New file.
22705 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22706 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22707 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22708 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22709 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22710
69f07e5f
L
22711 * string/Makefile (tests-ifunc): New variable.
22712 (tests): Add $(tests-ifunc).
22713 * string/test-memccpy.c (TEST_NAME): New macro.
22714 * string/test-memchr.c (TEST_NAME): Likewise.
22715 * string/test-memcmp.c (TEST_NAME): Likewise.
22716 * string/test-memcpy.c (TEST_NAME): Likewise.
22717 * string/test-memmem.c (TEST_NAME): Likewise.
22718 * string/test-memmove.c (TEST_NAME): Likewise.
22719 * string/test-memset.c (TEST_NAME): Likewise.
22720 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22721 * string/test-stpcpy.c (TEST_NAME): Likewise.
22722 * string/test-stpncpy.c (TEST_NAME): Likewise.
22723 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22724 * string/test-strcasestr.c (TEST_NAME): Likewise.
22725 * string/test-strcat.c (TEST_NAME): Likewise.
22726 * string/test-strchr.c (TEST_NAME): Likewise.
22727 * string/test-strcmp.c(TEST_NAME): Likewise.
22728 * string/test-strcpy.c (TEST_NAME): Likewise.
22729 * string/test-strcspn.c (TEST_NAME): Likewise.
22730 * string/test-strlen.c (TEST_NAME): Likewise.
22731 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22732 * string/test-strncmp.c (TEST_NAME): Likewise.
22733 * string/test-strncpy.c (TEST_NAME): Likewise.
22734 * string/test-strnlen.c (TEST_NAME): Likewise.
22735 * string/test-strpbrk.c (TEST_NAME): Likewise.
22736 * string/test-strrchr.c (TEST_NAME): Likewise.
22737 * string/test-strspn.c (TEST_NAME): Likewise.
22738 * string/test-strstr.c (TEST_NAME): Likewise.
22739 * string/test-bcopy-ifunc.c: New file.
22740 * string/test-bzero-ifunc.c: Likewise.
22741 * string/test-memccpy-ifunc.c: Likewise.
22742 * string/test-memchr-ifunc.c: Likewise.
22743 * string/test-memcmp-ifunc.c: Likewise.
22744 * string/test-memcpy-ifunc.c: Likewise.
22745 * string/test-memmem-ifunc.c: Likewise.
22746 * string/test-memmove-ifunc.c: Likewise.
22747 * string/test-mempcpy-ifunc.c: Likewise.
22748 * string/test-memset-ifunc.c: Likewise.
22749 * string/test-rawmemchr-ifunc.c: Likewise.
22750 * string/test-stpcpy-ifunc.c: Likewise.
22751 * string/test-stpncpy-ifunc.c: Likewise.
22752 * string/test-strcasecmp-ifunc.c: Likewise.
22753 * string/test-strcasestr-ifunc.c: Likewise.
22754 * string/test-strcat-ifunc.c: Likewise.
22755 * string/test-strchr-ifunc.c: Likewise.
22756 * string/test-strchrnul-ifunc.c: Likewise.
22757 * string/test-strcmp-ifunc.c: Likewise.
22758 * string/test-strcpy-ifunc.c: Likewise.
22759 * string/test-strcspn-ifunc.c: Likewise.
22760 * string/test-strlen-ifunc.c: Likewise.
22761 * string/test-strncasecmp-ifunc.c: Likewise.
22762 * string/test-strncat-ifunc.c: Likewise.
22763 * string/test-strncmp-ifunc.c: Likewise.
22764 * string/test-strncpy-ifunc.c: Likewise.
22765 * string/test-strnlen-ifunc.c: Likewise.
22766 * string/test-strpbrk-ifunc.c: Likewise.
22767 * string/test-strrchr-ifunc.c: Likewise.
22768 * string/test-strspn-ifunc.c: Likewise.
22769 * string/test-strstr-ifunc.c: Likewise.
22770
de54b33a
L
22771 * debug/Makefile (tests-ifunc): New variable.
22772 (tests): Add $(tests-ifunc).
22773 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22774 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22775 * debug/test-stpcpy_chk-ifunc.c: New file.
22776 * debug/test-strcpy_chk-ifunc.c: Likewise.
22777
88481c16
SP
227782012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22779
22780 [BZ #13601]
22781 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22782 header is not read in.
22783
135948bd
JM
227842012-10-19 Joseph Myers <joseph@codesourcery.com>
22785
89f1c388
JM
22786 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22787 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22788 directly. Pass built executable to script as
22789 $(built-program-cmd).
22790 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22791 $testprogram without using LD_LIBRARY_PATH and $ldso.
22792
e40a0d21
JM
22793 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22794 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22795 $(rtld-installed-name).
22796 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22797 (rtld_installed_name): Likewise.
22798 (library_path): Likewise.
22799 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22800 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22801 $(run-program-prefix) to tst-tables.sh.
22802 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22803 it to run tst-table-from and tst-table-to.
22804 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22805 Pass it to tst-table.sh.
22806 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22807 $(run-program-prefix) to tst-gettext.sh.
22808 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22809 tst-translit.sh.
22810 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22811 tst-gettext2.sh.
22812 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22813 to run tst-gettext.
22814 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22815 to run tst-gettext2.
22816 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22817 to run tst-translit.
22818 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22819 $(run-program-prefix) to tst-mtrace.sh.
22820 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22821 to run tst-mtrace.
22822 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22823 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22824 $(rtld-installed-name).
22825 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22826 (rtld_installed_name): Likewise.
22827 (run_program_prefix): New variable. Use it to run wordexp-test.
22828
728e272a
JM
22829 * Makeconfig (ARCH): Remove all definitions.
22830 (machine): Likewise.
22831 [ARCH]: Remove conditional code.
22832 [!objdir]: Give error.
22833 [!objdir] (objpfx): Remove.
22834 [!objdir] (common-objpfx): Likewise.
22835 [!objdir] (common-objdir): Likewise.
22836 * configure.in (config_makefile): Remove. Hardcode Makefile in
22837 AC_CONFIG_FILES call.
22838 * configure: Regenerated.
22839
d528cdcf
JM
22840 [BZ #13888]
22841 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22842 or TMPDIR.
22843 (testout): Likewise.
22844
135948bd
JM
22845 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22846 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22847 $(rtld-installed-name).
22848 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22849 (rtld_installed_name): Likwise.
22850 (runit): Remove function.
22851 (run_getconf): New variable, Use it for running getconf binary.
22852
38c78296
L
228532012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22854
22855 [BZ #14716]
22856 * string/test-memmem.c (check_result): New function.
22857 (do_one_test): Use it.
22858 (check1): New function.
22859 (test_main): Use it.
22860
d077f65f
MT
228612012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22862
22863 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22864
ced52c71
JM
228652012-10-18 Joseph Myers <joseph@codesourcery.com>
22866
22867 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22868 (_G_LSEEK64): Likewise.
22869 (_G_MMAP64): Likewise.
22870 (_G_FSTAT64): Likewise.
22871 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22872 (_G_LSEEK64): Likewise.
22873 (_G_MMAP64): Likewise.
22874 (_G_FSTAT64): Likewise.
22875 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22876 unconditional. Call __mmap64 directly.
22877 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22878 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22879 __lseek64 directly.
22880 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22881 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22882 __mmap64 directly.
22883 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22884 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22885 __lseek64 directly.
22886 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22887 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22888 __lseek64 directly.
22889 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22890 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22891 __lseek64 directly.
22892 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22893 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22894 __fxstat64 directly.
22895 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22896 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22897 unconditional.
22898 (freopen64) [!_G_OPEN64]: Remove conditional code.
22899 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22900 unconditional.
22901 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22902 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22903 unconditional.
22904 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22905 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22906 unconditional.
22907 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22908 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22909 unconditional.
22910 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22911 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22912 unconditional.
22913 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22914 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22915 unconditional.
22916 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22917 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22918 unconditional.
22919 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22920
b741de23
SP
229212012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22922
22923 [BZ #12140]
22924 * manual/memory.texi (Malloc Tunable Parameters): Add note
22925 about free list pointers overwriting some perturb bytes.
22926 Wording suggested by Roland McGrath.
22927
f9b9d9c9
JM
229282012-10-17 Joseph Myers <joseph@codesourcery.com>
22929
22930 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22931 (lgamma_test): Likewise.
22932 (tgamma_test): Likewise.
22933
172a631a
FW
229342012-10-16 Florian Weimer <fweimer@redhat.com>
22935
22936 [BZ #14700]
22937 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22938 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22939
e9f37252
MK
229402012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22941
22942 * NEWS: Mention BZ #14716.
22943 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22944 when removing AVAILABLE1_USES_J macro.
22945
d394eb74
L
229462012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22947
22948 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22949 (__bswap_64): __uint64_t for unsigned 64-bit int.
22950
ca38dc17
AS
229512012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22952
22953 * include/string.h (memmem): Declare libc hidden alias.
22954 * string/memmem.c (memmem): Define libc hidden alias.
22955 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22956 __read, __close instead of open, read, close.
22957
9a387d1f
L
229582012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22959
ac49ecaf
L
22960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22961 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22962 global and hidden.
22963 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22964 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22965 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22966 Likewise.
22967 (__rawmemchr_sse2): Likewise.
22968 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22969 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22970 (__strchr_sse2): Likewise.
22971 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22972 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22973 (__strcasecmp_sse2): Likewise.
22974 (__strncasecmp_sse2): Likewise.
22975 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22976 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22977 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22978 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22979 (__strrchr_sse2): Likewise.
22980 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22981 ifunc-impl-list.c.
22982 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22983 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22984 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22985 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22986 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22987 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22988 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22989 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22990 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22991 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22992 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22993 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22994 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22995 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22996 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22997 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22998 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22999 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23000 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23001 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23002 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23003 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23004 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23005 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23006 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23007 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23008 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23009 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23010 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23011 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23012
b090e8ea
L
23013 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23014 global and hidden.
23015 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23016 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23017 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23018 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23019 Likewise.
23020 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23021 Likewise.
23022 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23023 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23024 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23025 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23026 ifunc-impl-list.c.
23027 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23028 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23029 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23030 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23031 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23032 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23033 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23034 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23035 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23036 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23037 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23038 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23039 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23040 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23041 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23043 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23044 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23045 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23046 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23047 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23048 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23049 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23050 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23051 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23052 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23053 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23054 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23055 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23056 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23057 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23058 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23059 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23060 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23061 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23062 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23063 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23064 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23065 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23066 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23067 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23068
11dd4af6
L
23069 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23070 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23071 * include/ifunc-impl-list.h: New file.
23072 * misc/ifunc-impl-list.c: Likewise.
23073 * misc/Makefile (routines): Add ifunc-impl-list.
23074 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23075 * string/test-string.h: Include <ifunc-impl-list.h>.
23076 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23077 impl_array): New variables.
23078 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23079 are defined.
23080 (test_init): Call __libc_ifunc_impl_list to initialize
23081 func_list if TEST_IFUNC and TEST_NAME are defined.
23082
9a387d1f
L
23083 * string/Makefile (strop-tests): Add bcopy and bzero.
23084 * string/test-bcopy.c: New file.
23085 * string/test-bzero.c: Likewise.
23086 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23087 defined.
23088 * string/test-memset.c: Support bzero test if TEST_BZERO is
23089 defined.
23090 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23091 __libc_memmove.
23092 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23093 __libc_memset.
23094 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23095 of memset.
23096
472371b9
JM
230972012-10-10 Joseph Myers <joseph@codesourcery.com>
23098
1e4a9536
JM
23099 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23100 * configure: Regenerated.
23101
d173d12e
JM
23102 * Makeconfig (+link-static-before-libc): Don't include
23103 $(link-static-libc).
23104
472371b9
JM
23105 * libio/libio.h (_IO_pos_t): Remove.
23106
89a3ad0b
AO
231072012-10-10 Alexandre Oliva <aoliva@redhat.com>
23108
23109 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23110 McGrath.
23111
e7451425
AO
231122012-10-10 Alexandre Oliva <aoliva@redhat.com>
23113
23114 * crypt/crypt-entry.c: Include fips-private.h.
23115 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23116 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23117 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23118 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23119
4ba74a35
AO
231202012-10-10 Alexandre Oliva <aoliva@redhat.com>
23121
23122 * crypt/crypt-private.h: Include stdbool.h.
23123 (_ufc_setup_salt_r): Return bool.
23124 * crypt/crypt-entry.c: Include errno.h.
23125 (__crypt_r): Return NULL with EINVAL for bad salt.
23126 * crypt/crypt_util.c (bad_for_salt): New.
23127 (_ufc_setup_salt_r): Check that salt is long enough and within
23128 the specified alphabet.
23129 * crypt/badsalttest.c: New file.
23130 * crypt/Makefile (tests): Add it.
23131 ($(objpfx)badsalttest): New.
23132
f96f1242
MK
231332012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23134
23135 * NEWS: Add entry for BZ #14602.
23136
0e8e0c1c
JM
231372012-10-09 Joseph Myers <joseph@codesourcery.com>
23138
23139 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23140 type-generic.
23141 * math/libm-test.inc: Update comment listing what functions and
23142 macros are tested.
23143 (isgreater_test): New function.
23144 (isgreaterequal_test): Likewise.
23145 (isless_test): Likewise.
23146 (islessequal_test): Likewise.
23147 (islessgreater_test): Likewise.
23148 (isunordered_test): Likewise.
23149 (main): Call the new functions.
23150
273edc5e
RM
231512012-10-09 Roland McGrath <roland@hack.frob.com>
23152
b8493de0
RM
23153 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23154 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23155 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23156 * sysdeps/i386/configure: Regenerated.
23157 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23158 * sysdeps/mach/configure: Regenerated.
23159 * sysdeps/mach/hurd/configure: Regenerated.
23160 * sysdeps/powerpc/configure: Regenerated.
23161 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23162 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23163 * sysdeps/s390/s390-32/configure: Regenerated.
23164 * sysdeps/s390/s390-64/configure: Regenerated.
23165 * sysdeps/sh/configure: Regenerated.
23166 * sysdeps/sparc/configure: Regenerated.
23167 * sysdeps/unix/sysv/linux/configure: Regenerated.
23168 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23169 * sysdeps/x86_64/configure: Regenerated.
23170
273edc5e
RM
23171 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23172 defined. Don't check if MAP is NULL.
23173
c8450f70
JM
231742012-10-09 Joseph Myers <joseph@codesourcery.com>
23175
23176 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23177 (_G_stat64): Likewise.
23178 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23179 (_G_stat64): Likewise.
23180 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23181 instead of struct _G_stat64.
23182 * libio/fileops.c (mmap_remap_check): Likewise.
23183 (decide_maybe_mmap): Likewise.
23184 (_IO_new_file_seekoff): Likewise.
23185 (_IO_file_stat): Likewise.
23186 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23187 _G_off64_t.
23188 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23189 instead of struct _G_stat64.
23190 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23191
57e605ba
MK
231922012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23193
23194 [BZ #14602]
23195 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23196 Replace with ...
23197 (CHECK_EOL): New macro.
23198 (two_way_short_needle): Check beginning of haystack for EOL. Use
23199 CHECK_EOL.
23200 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23201 Replace with CHECK_EOL.
23202 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23203 Replace with CHECK_EOL.
23204
ef1bb361
JM
232052012-10-08 Joseph Myers <joseph@codesourcery.com>
23206
23207 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23208 type-generic.
23209 * math/libm-test.inc: Update comment listing what functions and
23210 macros are tested.
23211 (finite_test): New function.
23212 (isinf_test): Likewise.
23213 (isnan_test): Likewise.
23214 (fpclassify_test): Test subnormal input.
23215 (isfinite_test): Likewise.
23216 (isnormal_test): Likewise.
23217 (main): Call the new functions.
23218
55f11534
JN
232192012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23220
23221 [BZ #14660]
23222 * Makerules (%.dynsym): Force C locale when running
23223 $(OBJDUMP) --dynamic-syms.
23224
1ab29350
AS
232252012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23226
23227 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23228 <stdint.h>.
23229
f1ecb7ef
DM
232302012-10-06 David S. Miller <davem@davemloft.net>
23231
23232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23233 upper 32-bits of the length value in %o2 since we use branch-on-register
23234 tests which consider the entire 64-bit register.
23235
5d41d91a
L
232362012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23237
23238 * string/test-strstr.c (check2): Add a test for page boundary.
23239
3baddb72
DM
232402012-10-05 David S. Miller <davem@davemloft.net>
23241
23242 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23243 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23244 file.
23245 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23246 sysdep_routines.
23247 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23248 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23249 and bzero when HWCAP_SPARC_CRYPTO is present.
23250
9cee5585
L
232512012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23252
d7e0dab9
L
23253 [BZ #14602]
23254 * string/test-strstr.c (check2): New function.
23255 (test_main): Call check2.
23256
03759f47
L
23257 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23258 and bug-strchr1.
23259 * string/bug-strcasestr1.c (do_test): Moved to ...
23260 * string/test-strcasestr.c (check1): Here. New function.
23261 (do_one_test): Break out result checking code into ...
23262 (check_result): This. New function.
23263 (do_one_test): Call check_result.
23264 (test_main): Call check1.
23265 * string/bug-strchr1.c (do_test): Moved to ...
23266 * string/test-strchr.c (check1): Here. New function.
23267 (do_one_test): Break out result checking code into ...
23268 (check_result): This. New function.
23269 (do_one_test): Call check_result.
23270 (test_main): Call check1.
23271 * string/bug-strstr1.c (main): Moved to ...
046f153e 23272 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23273 (do_one_test): Break out result checking code into ...
23274 (check_result): This. New function.
23275 (do_one_test): Call check_result.
23276 (test_main): Call check1.
23277 * string/bug-strcasestr1.c: Removed.
23278 * string/bug-strchr1.c: Likewise.
23279 * string/bug-strstr1.c: Likewise.
23280
53cea63e
L
23281 * elf/Makefile (dl-routines): Add hwcaps.
23282 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23283 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23284 (_dl_important_hwcaps): Moved to ...
23285 * elf/dl-hwcaps.c: Here. New file.
23286 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23287
9cee5585 23288 [BZ #14557]
bb859b06
L
23289 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23290 if IS_IN_rtld isn't defined.
23291
9cee5585
L
23292 * elf/dl-support.c (_dl_sysinfo_map): New.
23293 Include "get-dynamic-info.h" and "setup-vdso.h".
23294 (_dl_non_dynamic_init): Call setup_vdso.
23295 * elf/dynamic-link.h: Don't include <assert.h>.
23296 (elf_get_dynamic_info): Moved to ...
23297 * elf/get-dynamic-info.h: Here. New file.
23298 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23299 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23300 * elf/setup-vdso.h: Here. New file.
23301 * elf/rtld.c: Include "setup-vdso.h".
23302 (dl_main): Call setup_vdso.
23303
23c31b76
JM
233042012-10-05 Joseph Myers <joseph@codesourcery.com>
23305
28234b07
JM
23306 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23307 creal in comment listing functions tested. List finite, isinf,
23308 isnan, isless, islessequal, isgreater, isgreaterequal,
23309 islessgreater, isunordered, lgamma_r and pow10 as functions and
23310 macros not tested. Mention which functions not tested are aliases
23311 for other functions. Fix typo. Note that signs of NaNs are not
23312 tested.
23313
23c31b76
JM
23314 * scripts/config.guess: Update from config.git.
23315 * scripts/config.sub: Likewise.
23316
9043e228
RM
233172012-10-04 Roland McGrath <roland@hack.frob.com>
23318
23319 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23320 * misc/madvise.c (madvise): Renamed to __madvise.
23321 Make madvise a weak alias.
23322 * include/sys/mman.h: Declare __madvise.
23323 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23324 * sysdeps/unix/syscalls.list
23325 (madvise): Make __madvise the strong name, and madvise a weak alias.
23326 * sysdeps/unix/sysv/linux/syscalls.list
23327 (madvise, mmap): Remove redundant entries.
23328 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23329 * malloc/malloc.c (mtrim): Likewise.
23330 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23331
f57f8055
RM
233322012-10-03 Roland McGrath <roland@hack.frob.com>
23333
23334 * sysdeps/mach/hurd/dl-cache.c: File removed.
23335 * config.h.in (USE_LDCONFIG): New #undef.
23336 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23337 * configure: Regenerated.
23338 * elf/Makefile (dl-routines): Add dl-cache only under
23339 [$(use-ldconfig) = yes].
23340 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23341 cache on [USE_LDCONFIG].
23342 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23343 [USE_LDCONFIG].
23344 * elf/rtld.c (dl_main): Likewise.
23345
5bb0c10a
PT
233462012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23347
23348 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23349 _SC_LEVEL4_CACHE_LINESIZE.
23350
010188c6
RM
233512012-10-03 Roland McGrath <roland@hack.frob.com>
23352
23353 * sysdeps/unix/bsd/confstr.h: File removed.
23354
b6c5ec07
AO
233552012-10-02 Alexandre Oliva <aoliva@redhat.com>
23356
23357 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23358 sys/sdt-config.h.
23359
408223d4
RM
233602012-10-02 Roland McGrath <roland@hack.frob.com>
23361
23362 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23363 Make 'mapoff' field ElfW(Off) rather than off_t.
23364
bb9510dc
DL
233652012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23366
fc997c6e
DL
23367 * nscd/Makefile: Remove nscd-cflags and all its users.
23368 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23369 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23370
bb9510dc
DL
23371 [BZ #10631]
23372 * malloc.c (malloc_printerr): Clarify error message.
23373
05699367
L
233742012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23375
23376 [BZ #14648]
23377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23378 Set bit_FMA_Usable if FMA is supported.
23379 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23380 macro.
23381 (bit_FMA4_Usable): Updated.
23382 (index_FMA_Usable): New macro.
23383 (CPUID_FMA): Likewise
23384 (HAS_FMA): Defined with bit_FMA_Usable.
23385
51367701
RM
233862012-10-01 Roland McGrath <roland@hack.frob.com>
23387
23388 * bits/types.h (__swblk_t): Type removed.
23389 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23390 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23392 (__SWBLK_T_TYPE): Likewise.
23393 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23394 (__SWBLK_T_TYPE): Likewise.
23395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23396 (__SWBLK_T_TYPE): Likewise.
23397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23398 (__SWBLK_T_TYPE): Likewise.
23399
4d57bf63 234002012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23401 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23402
23403 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23404 (xdr_mapname): Use YPMAXMAP as maxsize.
23405 (xdr_peername): Use YPMAXPEER as maxsize.
23406 (xdr_keydat): Use YPAXRECORD as maxsize.
23407 (xdr_valdat): Use YPMAXRECORD as maxsize.
23408
93c65d43
RM
234092012-10-01 Roland McGrath <roland@hack.frob.com>
23410
497a03d6
RM
23411 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23412
93c65d43
RM
23413 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23414 * csu/init-first.c: ... here.
23415 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23416 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23417 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23418 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23419 * sysdeps/i386/init-first.c: File removed.
23420 * sysdeps/sh/init-first.c: File removed.
23421
bec749fd
JM
234222012-10-01 Joseph Myers <joseph@codesourcery.com>
23423
23424 [BZ #14645]
23425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23426 if x * y might underflow to zero and z is zero.
23427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23429 * math/libm-test.inc (min_subnorm_value): New variable.
23430 (fma_test): Add more tests.
23431 (fma_test_towardzero): Likewise.
23432 (fma_test_downward): Likewise
23433 (fma_test_upward): Likewise.
23434 (initialize): Set min_subnorm_value.
23435
8ec5b013
JM
234362012-09-29 Joseph Myers <joseph@codesourcery.com>
23437
23438 [BZ #14638]
23439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23440 0 + 0.
23441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23442 mode for addition resulting in exact zero.
23443 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23445 exact 0 + 0.
23446 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23448 * math/libm-test.inc (fma_test): Add more tests.
23449 (fma_test_towardzero): New function.
23450 (fma_test_downward): Likewise.
23451 (fma_test_upward): Likewise.
23452 (main): Call the new functions.
23453
b1fa802e
DM
234542012-09-28 David S. Miller <davem@davemloft.net>
23455
23456 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23457
d3b9fd9e
RM
234582012-09-28 Roland McGrath <roland@hack.frob.com>
23459
ea4d37b3
RM
23460 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23461 instead of SIGALRM.
23462
ac51c949
RM
23463 * sysdeps/gnu/_G_config.h: Moved to ...
23464 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23465 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23466 * sysdeps/generic/_G_config.h: ... here.
23467
28c195f7
RM
23468 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23469
848917f9
RM
23470 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23471
6bacf05b
RM
23472 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23473 Conditionalize target on [libnss_test1.so-version].
23474
91363dbb
RM
23475 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23476
cc87f7d8
RM
23477 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23478 (elfobjdir): Move out of conditionals.
23479
b1c608fe
RM
23480 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23481 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23482 (__nss_lookup_function): Conditionalize label remove_from_tree on
23483 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23484
1d9a6d96
DM
234852012-09-28 David S. Miller <davem@davemloft.net>
23486
23487 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23488 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23489 file.
23490 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23491 sysdep_routines.
23492 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23494 when HWCAP_SPARC_CRYPTO is present.
23495
72581615
PT
234962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23497
23498 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23499
715a900c
JL
235002012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23501
23502 [BZ #6530]
23503 * stdio-common/vfprintf.c (process_string_arg): Revert
23504 2000-07-22 change.
23505
235062011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23507
23508 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23509 for testcase.
23510 * stdio-common/tst-sprintf.c: Include <locale.h>
23511 (main): Test sprintf's handling of incomplete multibyte
23512 characters.
23513
9bac1d86
L
235142012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23515
23516 * elf/dl-runtime.c (VERSYMIDX): Removed.
23517 * elf/dl-version.c (VERSYMIDX): Likewise.
23518 * elf/do-rel.h (VERSYMIDX): Likewise.
23519 (VALIDX): Likewise.
23520 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23521 * elf/rtld.c (VALIDX): Likewise.
23522 (ADDRIDX): Likewise.
9bac1d86
L
23523 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23524 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23525 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23526 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23527 (VALIDX): Likewise.
23528 (ADDRIDX): Likewise.
9bac1d86 23529
b31606c0
PT
235302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23531
23532 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23533
11541177
JL
235342012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23535
23536 [BZ #11438]
23537 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23538 to global scope.
23539 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23540 addresses are in the same scope as 192.0.2/24.
23541 * posix/gai.conf: Document new scope table defaults.
23542
adb26fae
SP
235432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23544
23545 [BZ #5298]
23546 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23547 for ftell. Compute offsets from write pointers instead.
23548 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23549
4573c6b0
SP
235502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23551
23552 [BZ #14543]
23553 * libio/Makefile (tests): New test case tst-fseek.
23554 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23555 combination works in wide mode.
23556 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23557 state when the external buffer state changes.
23558
aa9bbfe6
DM
235592012-09-27 David S. Miller <davem@davemloft.net>
23560
23561 [BZ #14376]
23562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23563 pass reloc->r_addend in as the 'high' argument to
23564 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23565
784421e7
DM
23566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23567
c39bc8b8
PT
235682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23569
23570 * rt/tst-aio2.c: Include <pthread.h>.
23571 * rt/tst-aio3.c: Likewise.
23572
1ccc2399
SE
235732012-09-27 Steve Ellcey <sellcey@mips.com>
23574
23575 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23576
31ed4153
L
235772012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23578
25f5f885
L
23579 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23580 contents on [SHARED].
31ed4153 23581
b7bfe116
MP
235822012-09-26 Marek Polacek <polacek@redhat.com>
23583
23584 [BZ #14530]
23585 [BZ #13741]
23586 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23587 for C++ and GCC <4.3 as well as for non GCC compilers.
23588
43c4edba
MT
235892012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23590
23591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23592
6a1bf82f
RM
235932012-09-25 Roland McGrath <roland@hack.frob.com>
23594
23595 * Makefile.in (all, install): Declare with .PHONY.
23596 Reported by Michael Hope <michael.hope@linaro.org>.
23597
8ad11b9a
TMQMF
235982012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23599
23600 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23601 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23602 system header.
23603 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23604 Likewise.
23605 (sydep_routines): Add the new and the internal functions.
23606 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23607 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23609 (GLIBC_2.17): Add the new function.
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23611 (GLIBC_2.17): Likewise.
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23613 (GLIBC_2.17): Likewise.
23614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23615 (GLIBC_2.17): Likewise.
23616 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23617
7e2fca8d
AM
236182012-09-25 Alan Modra <amodra@gmail.com>
23619
23620 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23621 Add release barrier before setting once_control to say
23622 initialisation is done. Add hints on lwarx. Use macro in
23623 place of isync.
23624 (clear_once_control): Add release barrier.
23625
b87c4b24
JM
236262012-09-25 Joseph Myers <joseph@codesourcery.com>
23627
d032e0d2
JM
23628 [BZ #13629]
23629 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23630 specially.
23631 * math/s_clog10.c (__clog10): Likewise.
23632 * math/s_clog10f.c (__clog10f): Likewise.
23633 * math/s_clog10l.c (__clog10l): Likewise.
23634 * math/s_clogf.c (__clogf): Likewise.
23635 * math/s_clogl.c (__clogl): Likewise.
23636 * math/Makefile (libm-calls): Add x2y2m1.
23637 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23638 (__x2y2m1): Likewise.
23639 (__x2y2m1l): Likewise.
23640 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23641 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23644 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23645 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23646 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23647 * sysdeps/i386/fpu/libm-test-ulps: Update.
23648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23649
b87c4b24
JM
23650 [BZ #14621]
23651 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23652 int as type of variable DEPTH.
23653 (glob): Use size_t instead of int as type of variables NEWCOUNT
23654 and OLD_PATHC.
23655
6d3bf199
LD
236562012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23657
22bf5c17
LD
23658 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23659 Add s_sincosf-sse2.
23660 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23661 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23662 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23663 macros for using routine as __sincosf_ia32.
23664 Use macro for function declaration and weak_alias.
23665 * sysdeps/i386/fpu/libm-test-ulps: Update.
23666
23667 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23669
23670 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23671 subnormal argument.
23672 * math/s_cexpf.c (__cexpf): Likewise.
23673 * math/s_csinf.c (__csinf): Likewise.
23674 * math/s_csinhf.c (__csinhf): Likewise.
23675 * math/s_ctanf.c (__ctanf): Likewise.
23676 * math/s_ctanhf.c (__ctanhf): Likewise.
23677 * math/s_ccosh.c (__ccoshf): Likewise.
23678 * math/s_cexp.c (__cexpl): Likewise.
23679 * math/s_csin.c (__csin): Likewise.
23680 * math/s_csinh.c (__csinh): Likewise.
23681 * math/s_ctan.c (__ctan): Likewise.
23682 * math/s_ctanh.c (ctanh): Likewise.
23683 * math/s_ccoshl.c (__ccoshl): Likewise.
23684 * math/s_cexpl.c (__cexpl): Likewise.
23685 * math/s_csinl.c (__csinl): Likewise.
23686 * math/s_csinhl.c (__csinhl): Likewise.
23687 * math/s_ctanl.c (__ctanl): Likewise.
23688 * math/s_ctanhl.c (__ctanhl): Likewise.
23689
203e5603
JM
236902012-09-25 Joseph Myers <joseph@codesourcery.com>
23691
23692 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23693 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23694 (_IO_off_t): Define to __off_t, not _G_off_t.
23695 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23696 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23697 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23698 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23699 type of __dummy and __dummy2 fields.
23700 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23701 (_G_ssize_t): Likewise.
23702 (_G_off_t): Likewise.
23703 (_G_pid_t): Likewise.
23704 (_G_uid_t): Likewise.
23705 (_G_wchar_t): Likewise.
23706 (_G_wint_t): Likewise.
23707 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23708 (_G_ssize_t): Likewise.
23709 (_G_off_t): Likewise.
23710 (_G_pid_t): Likewise.
23711 (_G_uid_t): Likewise.
23712 (_G_wchar_t): Likewise.
23713 (_G_wint_t): Likewise.
23714 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23715 (_G_ssize_t): Likewise.
23716 (_G_off_t): Likewise.
23717 (_G_pid_t): Likewise.
23718 (_G_uid_t): Likewise.
23719 (_G_wchar_t): Likewise.
23720 (_G_wint_t): Likewise.
23721
9fab36eb
SP
237222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23723
23724 * malloc/arena.c: Include malloc-sysdep.h.
23725 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23726 is sufficient to shrink the heap or an unmap is needed.
23727 * sysdeps/generic/malloc-sysdep.h: New file. Define
23728 new function check_may_shrink_heap.
23729 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23730 new function check_may_shrink_heap.
23731
2b4f00d1
SP
237322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23733
23734 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23735 comments.
23736
9a9028b1
DL
237372012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23738
57c69bef
DL
23739 * catgets/test-gencat.sh: Add "set -e".
23740 * elf/tst-pathopt.sh: Likewise.
23741 * grp/tst_fgetgrent.sh: Likewise.
23742 * iconvdata/run-iconv-test.sh: Likewise.
23743 * intl/tst-gettext.sh: Likewise.
23744 * intl/tst-gettext2.sh: Likewise.
23745 * intl/tst-gettext4.sh: Likewise.
23746 * intl/tst-gettext6.sh: Likewise.
23747 * intl/tst-translit.sh: Likewise.
23748 * io/ftwtest-sh: Likewise.
23749 * libio/test-freopen.sh: Likewise.
23750 * malloc/tst-mtrace.sh: Likewise.
23751 * posix/globtest.sh: Likewise.
23752 * posix/tst-getconf.sh: Likewise.
23753 * posix/wordexp-tst.sh: Likewise.
23754 * stdio-common/tst-printf.sh: Likewise.
23755 * stdio-common/tst-unbputc.sh: Likewise.
23756 * stdlib/tst-fmtmsg.sh: Likewise.
23757 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23758 * catgets/Makefile: Do not specify -e option when running
23759 testsuite shell scripts.
23760 * elf/Makefile: Likewise.
23761 * grp/Makefile: Likewise.
23762 * iconvdata/Makefile: Likewise.
23763 * intl/Makefile: Likewise.
23764 * io/Makefile: Likewise.
23765 * libio/Makefile: Likewise.
23766 * malloc/Makefile: Likewise.
23767 * posix/Makefile: Likewise.
23768 * stdio-common/Makefile: Likewise.
23769 * stdlib/Makefile: Likewise.
23770 * sysdeps/x86_64/Makefile: Likewise.
23771
9a9028b1
DL
23772 * io/ftwtest-sh: Add copyright header.
23773 * posix/globtest.sh: Likewise.
23774 * posix/tst-getconf.sh: Likewise.
23775 * posix/wordexp-tst.sh: Likewise.
23776 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23777
ced6f16e
L
237782012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23779
94b32c39
L
23780 [BZ #13679]
23781 * Makeconfig (+link): Defined as $(+link-static) if
23782 $(build-shared) isn't yes.
23783 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23784 isn't yes.
23785 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23786
189e935b
L
23787 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23788
ced6f16e
L
23789 [BZ #14562]
23790 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23791 new chunk size with MALLOC_ALIGN_MASK.
23792
a9f8e53a
JM
237932012-09-24 Joseph Myers <joseph@codesourcery.com>
23794
23795 [BZ #5044]
23796 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23797 <rounding-mode.h>.
23798 (__printf_fphex): Determine rounding using get_rounding_mode and
23799 round_away.
23800 * stdio-common/tst-printf-round.c (struct hex_test): New
23801 structure.
23802 (hex_tests): New variable.
23803 (test_hex_in_one_mode): New function.
23804 (do_test): Also run tests for hex float output.
23805
43153109
JM
238062012-09-21 Joseph Myers <joseph@codesourcery.com>
23807
23808 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23809 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23810 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23811 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23812 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23813 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23814 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23815 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23816
8a26625d
JM
238172012-09-20 Joseph Myers <joseph@codesourcery.com>
23818
23819 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23820 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23821 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23822 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23823
f3fd569c
DL
238242012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23825
23826 [BZ #14579]
23827 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23828 mode only.
23829 * elf/tst-rtld-load-self.sh: New test.
23830 * elf/Makefile: Run it.
23831
63bbedd4
JM
238322012-09-18 Joseph Myers <joseph@codesourcery.com>
23833
23834 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23835 (tst-writev-ENV): Remove.
23836 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23837
626f8b6a
CM
238382012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23839
23840 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23841
b7aaa4d6
JM
238422012-09-17 Joseph Myers <joseph@codesourcery.com>
23843
23844 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23845 unconditional.
23846 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23847 Likewise.
23848 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23849 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23850 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23851 Likewise.
23852
65513990
L
238532012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23854
23855 [BZ #14587]
23856 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23857 * config.make.in (have-cpp-asm-debuginfo): Removed.
23858 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23859 * configure: Regenerated.
23860
784761be
JM
238612012-09-14 Joseph Myers <joseph@codesourcery.com>
23862
23863 [BZ #5044]
23864 * stdio-common/printf_fp.c: Include <stdbool.h> and
23865 <rounding-mode.h>.
23866 (___printf_fp): Determine rounding using get_rounding_mode and
23867 round_away.
23868 * stdio-common/tst-printf-round.c: New file.
23869 * stdio-common/Makefile (tests): Add tst-printf-round.
23870 (link-libm): New variable.
23871 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23872
9503345f
L
238732012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23874
23875 [BZ #14576]
23876 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23877 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23878 Likewise.
23879 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23880 Likewise.
23881
ad35fc00
JM
238822012-09-13 Joseph Myers <joseph@codesourcery.com>
23883
23884 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23885 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23886 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23887 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23888
6c9b0f68
JM
238892012-09-12 Joseph Myers <joseph@codesourcery.com>
23890
23891 [BZ #14518]
23892 * include/rounding-mode.h: New file.
23893 * sysdeps/generic/get-rounding-mode.h: Likewise.
23894 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23895 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23896 (MAX_VALUE): New macro.
23897 (MIN_VALUE): Likewise.
23898 (overflow_value): New function.
23899 (underflow_value): Likewise.
23900 (round_and_return): Use overflow_value and underflow_value to
23901 determine return values in overflow and underflow cases. Use
23902 round_away to determine rounding depending on rounding mode.
23903 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23904 determine return values in overflow and underflow cases.
23905 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23906 (struct test_results): New structure.
23907 (struct test): Use struct test_results to store expected results
23908 for all rounding modes.
23909 (TEST): Include expected results for all rounding modes.
23910 (test_in_one_mode): New function.
23911 (do_test): Use test_in_one_mode to compute and check results.
23912 Check results for all rounding modes.
23913 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23914 $(link-libm).
23915
19fcedd5
AM
239162012-12-09 Allan McRae <allan@archlinux.org>
23917
1e9d84cd 23918 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23919
8bbfd2f1
JM
239202012-09-11 Joseph Myers <joseph@codesourcery.com>
23921
23922 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23923 (_G_int32_t): Likewise.
23924 (_G_uint16_t): Likewise.
23925 (_G_uint32_t): Likewise.
23926 (_G_HAVE_BOOL): Likewise.
23927 (_G_HAVE_ATEXIT): Likewise.
23928 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23929 (_G_HAVE_IO_FILE_OPEN): Likewise.
23930 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23931 (_G_int32_t): Likewise.
23932 (_G_uint16_t): Likewise.
23933 (_G_uint32_t): Likewise.
23934 (_G_HAVE_BOOL): Likewise.
23935 (_G_HAVE_ATEXIT): Likewise.
23936 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23937 (_G_HAVE_IO_FILE_OPEN): Likewise.
23938 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23939 (_G_int32_t): Likewise.
23940 (_G_uint16_t): Likewise.
23941 (_G_uint32_t): Likewise.
23942 (_G_HAVE_BOOL): Likewise.
23943 (_G_HAVE_ATEXIT): Likewise.
23944 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23945 (_G_HAVE_IO_FILE_OPEN): Likewise.
23946
b1dc5912
L
239472012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23948
23949 * csu/libc-tls.c: Update copyright years.
23950
0e886ef9
JM
239512012-09-10 Joseph Myers <joseph@codesourcery.com>
23952
28361c5e
JM
23953 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23954 [!_G_USING_THUNKS]: Remove conditional code.
23955 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23956 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23957
0e886ef9
JM
23958 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23959 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23960 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23961 (_G_VTABLE_LABEL_PREFIX): Likewise.
23962 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23963 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23964 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23965 (_G_VTABLE_LABEL_PREFIX): Likewise.
23966 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23967 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23968 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23969 (_G_VTABLE_LABEL_PREFIX): Likewise.
23970 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23971
bcba7aa2
L
239722012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23973
23974 * libio/Makefile: Include ../Makeconfig before tests.
23975 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23976 only if $(build-shared) is yes.
23977
06585ee8
L
23978 * iconv/gconv_db.c: Update copyright years.
23979
80ccd52c
LD
239802012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23981
23982 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23983 unwind info if defined PIC. Fix special cases description.
23984 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23985
23986 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23987 DP_HI_MASK entry.
23988 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23989
691bc9c1
L
239902012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23991
3d9b46b3
L
23992 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23993
de2139a9
L
23994 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23995 is NULL.
23996
5ca78dd0
L
23997 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23998 (LDLIBS-tst-chk4): This.
23999 (LDFLAGS-tst-chk5): Renamed to ...
24000 (LDLIBS-tst-chk5): This.
24001 (LDFLAGS-tst-chk6): Renamed to ...
24002 (LDLIBS-tst-chk6): This.
24003 (LDFLAGS-tst-lfschk4): Renamed to ...
24004 (LDLIBS-tst-lfschk4): This.
24005 (LDFLAGS-tst-lfschk5): Renamed to ...
24006 (LDLIBS-tst-lfschk5): This.
24007 (LDFLAGS-tst-lfschk6): Renamed to ...
24008 (LDLIBS-tst-lfschk6): This.
24009
691bc9c1
L
24010 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24011 on $(common-objpfx)soversions.mk.
24012
65cafb1c
JM
240132012-09-07 Joseph Myers <joseph@codesourcery.com>
24014
24015 [BZ #10014]
24016 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24017 example host name.
24018
c78ab094
SP
240192012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24020
24021 * malloc/arena.c (arena_get_retry): New function that gets
24022 another arena for the caller to try its request on.
24023 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24024 current arena cannot fulfill the request.
24025 (__libc_memalign): Likewise.
24026 (__libc_memalign): Likewise.
24027 (__libc_pvalloc): Likewise.
24028 (__libc_calloc): Likewise.
24029
01f49f59
JT
240302012-09-05 John Tobey <john.tobey@gmail.com>
24031
24032 [BZ #13542]
24033 * manual/arith.texi (Operations on Complex): Fix description
24034 of carg branch cut.
24035
4c23fed5
JM
240362012-09-06 Joseph Myers <joseph@codesourcery.com>
24037
1d3c8572
JM
24038 [BZ #10014]
24039 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24040 host name.
24041
4c23fed5
JM
24042 [BZ #10038]
24043 * manual/memory.texi (Memory): Make order of menu items match
24044 order of sections.
24045
04570aaa
L
240462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24047
24048 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24049 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24050 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24051
b80af2f4
L
240522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24053
24054 * csu/libc-tls.c (static_dtv): Renamed to ...
24055 (_dl_static_dtv): This. Make it global.
24056 (_dl_initial_dtv): Removed.
24057 (__libc_setup_tls): Updated.
24058 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24059 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24060 DL_INITIAL_DTV.
24061
2abe9f15
PM
240622012-09-06 Petr Machata <pmachata@redhat.com>
24063
24064 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24065 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24066 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24067 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24068
0948c3af
L
240692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24070
24071 [BZ #14545]
24072 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24073 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24074 freeing dtv[-1].
24075
a5055ad1
L
240762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24077
24078 [BZ #14544]
24079 * Makeconfig (link-static-before-libc): Replace $(+prector)
24080 with $(+prectorT).
24081 (link-static-after-libc): Replace $(+postctor) with
24082 $(+postctorT).
24083 (link-bounded): Replace $(+prector)/$(+postctor) with
24084 $(+prectorT)/$(+postctorT).
24085 (+prectorT): New macro.
24086 (+postctorT): Likewise.
24087
ed8c2ecd
JM
240882012-09-06 Joseph Myers <joseph@codesourcery.com>
24089
24090 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24091 (round_str): Handle values above the maximum for IBM long double
24092 as inexact.
24093 * stdlib/tst-strtod-round.c (tests): Regenerated.
24094
14c996c8
AK
240952012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24096
24097 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24098 assembler flag.
24099 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24100 zarch_nohighgprs around the zarch optimized routines.
24101 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24102 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24103 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24104 for zarch.
24105
430d6ce6
DM
241062012-09-05 David S. Miller <davem@davemloft.net>
24107
24108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24109
ff04dda4
DM
24110 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24111 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24112 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24113 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24114 entries.
24115
24d4e01b
AO
241162012-09-05 Alexandre Oliva <aoliva@redhat.com>
24117
24118 * malloc/arena.c: Fold copyright years.
24119 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24120
61d58174
AO
241212012-09-05 Alexandre Oliva <aoliva@redhat.com>
24122
24123 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24124
20196a5e
AO
241252012-09-05 Alexandre Oliva <aoliva@redhat.com>
24126
24127 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24128
5c447383
AO
241292012-09-05 Alexandre Oliva <aoliva@redhat.com>
24130
24131 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24132 change internal state upon failure.
24133
fad64255
AO
241342012-09-05 Alexandre Oliva <aoliva@redhat.com>
24135
24136 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24137 * malloc/memusage.c (mmap): Likewise.
24138 (mmap64, mremap): Likewise. Adjust name in comment.
24139
1ffb8c90
SP
241402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24141
24142 * libio/fileops.c: Fix typos in comments.
24143 * libio/oldfileops.c: Likewise.
24144 * libio/wfileops.c: Likewise.
24145
6ef9cc37
SP
241462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24147
24148 [BZ #1349]
24149 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24150 (tst-malloc-usable-ENV): Set environment for test case.
24151 * malloc/hooks.c (malloc_check_get_size): New function to get
24152 requested size.
24153 * malloc/malloc.c (musable): Use malloc_check_get_size.
24154 * malloc/tst-malloc-usable.c: New test case.
24155
4d038ae3
AS
241562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24157
24158 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24159
c4e85184
AM
241602012-09-05 Allan McRae <allan@archlinux.org>
24161
b9dafc56 24162 [BZ #13966]
c4e85184
AM
24163 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24164 determine header location.
24165 * configure: Regenerated.
24166
e1343020
AS
241672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24168
24169 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24170 float format.
24171 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24172 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24173 format.
e1343020
AS
24174 (test): Regenerate.
24175
0a9f1987
DM
241762012-09-04 David S. Miller <davem@davemloft.net>
24177
24178 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24179 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24180 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24181
29237804
FW
241822012-09-04 Florian Weimer <fweimer@redhat.com>
24183
24184 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24185 failures.
24186
edb3cb88
FW
24187 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24188
60160d83
JM
241892012-09-04 Joseph Myers <joseph@codesourcery.com>
24190
24191 [BZ #9914]
24192 * libio/iogetdelim.c: Include <limits.h>.
24193 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24194 + len + 1 would overflow.
24195
bcd6c8dc
AJ
241962012-09-03 Andreas Jaeger <aj@suse.de>
24197
24198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24199 * sysdeps/i386/fpu/libm-test-ulps: Update.
24200
4ffffbd2
LD
242012012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24202
24203 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24204 Add s_sinf-sse2, s_conf-sse2.
24205
24206 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24207 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24208 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24209 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24210
24211 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24212 for using routine as __sinf_ia32.
24213 Use macro for function declaration and weak_alias.
24214 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24215 for using routine as __cosf_ia32.
24216 Use macro for function declaration and weak_alias.
24217
24218 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24219 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24220
24221 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24222 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24224
24225 * math/libm-test.inc (cos_test): Add more test cases.
24226 (sin_test): Likewise.
24227 (sincos_test): Likewise.
24228
511fa286
AK
242292012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24230
24231 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24232 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24233 hidden.
24234 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24235
5f30cfec
L
242362012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24237
24238 [BZ #14538]
24239 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24240 first element of the GOT.
24241 (elf_machine_load_address): Return the difference between
24242 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24243
0786794f
AM
242442012-09-01 Allan McRae <allan@archlinux.org>
24245
5f30cfec
L
24246 [BZ #13412]
24247 * configure.in (AWK): Require gawk version 3.0 or later.
24248 * configure: Regenerated.
0786794f 24249
26889eac
JM
242502012-09-01 Joseph Myers <joseph@codesourcery.com>
24251
24252 * sysdeps/unix/sysv/linux/kernel-features.h
24253 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24255 [__NR_clock_getres]: Make code unconditional.
24256 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24257 (clock_getcpuclockid): Remove code left unreachable by removal of
24258 conditionals.
24259 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24260 code unconditional.
24261 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24262 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24263 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24264 Make code unconditional.
24265 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24266 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24267 * sysdeps/unix/sysv/linux/clock_settime.c
24268 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24269 conditional code.
24270 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24271 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24272
d22e28b0
L
242732012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24274
24275 [BZ #14476]
24276 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24277 scripts/test-installation.pl.
24278
24279 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24280 and $ld_so_version if it is set.
24281
050af9c4
SP
242822012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24283
24284 [BZ #14516]
24285 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24286 failure if reading from procfs failed.
24287 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24288
ad845c0b
JM
242892012-08-27 Joseph Myers <joseph@codesourcery.com>
24290
24291 * sysdeps/unix/sysv/linux/kernel-features.h
24292 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24293 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24294 Remove conditional code.
24295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24296 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24297 Remove conditional code.
24298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24299 * sysdeps/unix/sysv/linux/i386/fxstat.c
24300 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24301 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24302 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24303 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24305 * sysdeps/unix/sysv/linux/i386/lxstat.c
24306 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24308 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24309 Remove conditional code.
24310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24311 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24312 Remove conditional code.
24313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24314 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24315 <kernel-features.h>.
24316 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24317 Remove.
24318 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24319 Remove conditional code.
24320 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24321 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24322 Remove conditional.
24323
5dbf56af
MF
243242012-08-27 Mike Frysinger <vapier@gentoo.org>
24325
24326 [BZ #5400]
24327 * NEWS: Add fixed bug number.
24328
d6e70f43
JM
243292012-08-27 Joseph Myers <joseph@codesourcery.com>
24330
7efb4737
JM
24331 [BZ #14519]
24332 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24333 underflowing exponent in case of negative sign.
24334 * stdlib/tst-strtod-round-data: Add more tests.
24335 * stdlib/tst-strtod-round.c (tests): Regenerated.
24336
af92131a
JM
24337 [BZ #3479]
24338 * stdlib/strtod_l.c (NDIG): Remove.
24339 (HEXNDIG): Likewise.
24340 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24341 smallest representable value.
24342 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24343 lie within an exact representation of 1/2 ulp of the result.
24344 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24345 unconditionally.
24346 (TENS_P9_IDX): Define unconditionally.
24347 (TENS_P9_SIZE): Likewise.
24348 (TENS_P10_IDX): Likewise.
24349 (TENS_P10_SIZE): Likewise.
24350 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24351 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24352 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24353 entries for 10^2^13 and 10^2^14.
24354 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24355 (TENS_P13_IDX): Define.
24356 (TENS_P13_SIZE): Likewise.
24357 (TENS_P14_IDX): Likewise.
24358 (TENS_P14_SIZE): Likewise.
24359 (_fpioconst_pow10): Change array size to
24360 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24361 unconditional.
24362 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24363 1024]: Add entries for 10^2^13 and 10^2^14.
24364 [LAST_POW10 > _LAST_POW10]: Remove #error.
24365 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24366 (_fpioconst_pow10): Change array size to
24367 FPIOCONST_POW10_ARRAY_SIZE.
24368 * stdlib/gen-fpioconst.c: New file.
24369 * stdlib/gen-tst-strtod-round.c: Likewise.
24370 * stdlib/tst-strtod-round-data: Likewise.
24371 * stdlib/tst-strtod-round.c: Likewise.
24372 * stdlib/Makefile (tests): Add tst-strtod-round.
24373
d6e70f43
JM
24374 [BZ #14459]
24375 * stdlib/strtod_l.c: Include <stdint.h>.
24376 (NDEBUG): Do not define.
24377 (round_and_return): Change EXPONENT parameter to type intmax_t.
24378 Rearrange calculations to avoid internal overflow possibilities.
24379 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24380 Rearrange calculations to avoid internal overflow possibilities.
24381 Assert that number fits inside MPNSIZE limbs.
24382 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24383 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24384 calculations and add assertions to avoid internal overflow
24385 possibilities. Add casts to avoid signed/unsigned operations.
24386 * stdlib/tst-strtod-overflow.c: New file.
24387 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24388
1f529f7d
MP
243892012-08-25 Marek Polacek <polacek@redhat.com>
24390
24391 * time/time.h: Fix some typos in comments.
24392
59a629f1
RM
243932012-08-23 Roland McGrath <roland@hack.frob.com>
24394
24395 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24396 * posix/tst-rfc3484-2.c: Likewise.
24397 * posix/tst-rfc3484-3.c: Likewise.
24398
d3bafbc9
SM
243992012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24400
24401 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24402 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24403
4efcc022
JM
244042012-08-23 Joseph Myers <joseph@codesourcery.com>
24405
24406 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24407 #include of fxstatat64.c.
24408
3cc3ef96
RM
244092012-08-22 Roland McGrath <roland@hack.frob.com>
24410
f04e2132
RM
24411 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24412 * shadow/getspent_r.c: Likewise.
24413 * shadow/getspnam.c: Likewise.
24414 * shadow/getspnam_r.c: Likewise.
24415 * gshadow/getsgent.c: Likewise.
24416 * gshadow/getsgent_r.c: Likewise.
24417 * gshadow/getsgnam.c: Likewise.
24418 * gshadow/getsgnam_r.c: Likewise.
24419 * inet/getnetbyad.c: Likewise.
24420 * inet/getnetbyad_r.c: Likewise.
24421 * inet/getnetbynm.c: Likewise.
24422 * inet/getnetbynm_r.c: Likewise.
24423 * inet/getnetent.c: Likewise.
24424 * inet/getnetent_r.c: Likewise.
24425 * inet/getproto.c: Likewise.
24426 * inet/getproto_r.c: Likewise.
24427 * inet/getprtent.c: Likewise.
24428 * inet/getprtent_r.c: Likewise.
24429 * inet/getprtname.c: Likewise.
24430 * inet/getprtname_r.c: Likewise.
24431 * inet/getrpcbyname.c: Likewise.
24432 * inet/getrpcbyname_r.c: Likewise.
24433 * inet/getrpcbynumber.c: Likewise.
24434 * inet/getrpcbynumber_r.c: Likewise.
24435 * inet/getrpcent.c: Likewise.
24436 * inet/getrpcent_r.c: Likewise.
24437 * inet/getaliasent.c: Likewise.
24438 * inet/getaliasent_r.c: Likewise.
24439 * inet/getaliasname.c: Likewise.
24440 * inet/getaliasname_r.c: Likewise.
24441 * nscd/getgrgid_r.c: Likewise.
24442 * nscd/getgrnam_r.c: Likewise.
24443 * nscd/gethstbyad_r.c: Likewise.
24444 * nscd/gethstbynm3_r.c: Likewise.
24445 * nscd/getpwnam_r.c: Likewise.
24446 * nscd/getpwuid_r.c: Likewise.
24447 * nscd/getsrvbynm_r.c: Likewise.
24448 * nscd/getsrvbypt_r.c: Likewise.
24449 * nscd/gai.c: Likewise.
24450
c53d909c
RM
24451 * configure.in (build_nscd): New substituted variable, set
24452 by --disable-build-nscd and defaults to $use_nscd.
24453 * configure: Regenerated.
24454 * config.make.in (build-nscd): New substituted variable.
24455 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24456 Change conditional to require [$(build-nscd) = yes] as well.
24457 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24458
3cc3ef96
RM
24459 [BZ# 13696]
24460 * configure.in (use_nscd): New substituted variable, set by
24461 --disable-nscd. If enabled, define USE_NSCD.
24462 * configure: Regenerated.
24463 * config.h.in: Add USE_NSCD.
24464 * config.make.in (use-nscd): New substituted variable.
24465 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24466 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24467 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24468 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24469 (CFLAGS-getgrnam_r.c): Likewise.
24470 (CFLAGS-initgroups.c): Likewise.
24471 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24472 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24473 Variables removed.
24474 * inet/getnetgrent_r.c
24475 (nscd_setnetgrent): New function, broken out of ...
24476 (setnetgrent): ... here. Call it.
24477 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24478 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24479 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24480 * nscd/Makefile (routines, aux): Move definitions after include of
24481 Makeconfig. Conditionalize on [$(use-nscd) != no].
24482 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24483 Conditionalize on [USE_NSCD].
24484 (is_nscd, nscd_init_cb): Likewise.
24485 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24486 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24487 * nss/nss_db/db-init.c: Likewise.
24488 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24489 [USE_NSCD].
24490 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24491 (make_request): Use it.
24492 (cache_valid_p): New function.
24493 (__check_pf): Use it.
24494 * NEWS: Add item for --disable-nscd.
24495
07e51550
DL
244962012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24497
24498 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24499 to support sed >= 4.2.1-20-ga9bf076.
24500 * configure: Regenerated.
24501
35a5b08b
RM
245022012-08-22 Roland McGrath <roland@hack.frob.com>
24503
24504 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24505 Conditionalize whole body on [IREL].
24506
8479f23a
JL
245072012-08-22 Jeff Law <law@redhat.com>
24508
24509 [BZ #14505]
24510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24511 if the family is PF_UNSPEC.
24512
48da0b21
MF
245132012-08-22 Mike Frysinger <vapier@gentoo.org>
24514
24515 * Makerules (lib-version): Rename from V.
24516 (install-lib-nosubdir): Change V to lib-version.
24517
15d0da8c
WS
245182012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24519
24520 [BZ #14252]
24521 * powerpc32/power6/wcschr.c: New file.
24522 * powerpc32/power6/wcscpy.c: New file.
24523 * powerpc32/power6/wcsrchr.c: New file.
24524 * powerpc64/power6/wcschr.c: New file.
24525 * powerpc64/power6/wcscpy.c: New file.
24526 * powerpc64/power6/wcsrchr.c: New file.
24527
bcca0895
MK
245282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24529
24530 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24531 (two_way_short_needle): Use it.
5a4aaa33
RM
24532 * string/strstr.c (AVAILABLE1_USES_J): Define.
24533 * string/strcasestr.c: Likewise.
99677e57
MK
24534
24535 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24536 array references.
24537 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24538
400726de
MK
24539 [BZ #11607]
24540 * NEWS: Add an entry.
24541 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24542 define their defaults.
24543 (two_way_short_needle): Detect end-of-string on-the-fly.
24544 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24545 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24546 * string/bug-strcasestr1.c: New test.
24547 * string/Makefile: Run it.
24548
20a71f2c
MK
245492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24550
24551 [BZ #11607]
24552 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24553 the first character.
24554
21ad0558
RM
245552012-08-21 Roland McGrath <roland@hack.frob.com>
24556
24557 * csu/elf-init.c (__libc_csu_irel): Function removed.
24558 * csu/libc-start.c (apply_irel): New function.
24559 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24560
0e1d9911
JM
245612012-08-21 Joseph Myers <joseph@codesourcery.com>
24562
24563 * sysdeps/unix/sysv/linux/kernel-features.h
24564 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24565 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24566 <kernel-features.h>.
24567 [__NR_fadvise64_64]: Make code unconditional.
24568 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24569 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24570 !__NR_fadvise64_64)]: Likewise.
24571 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24572 !__NR_fadvise64_64))]: Likewise.
24573 [__NR_fadvise64]: Make code unconditional.
24574 [!__NR_fadvise64]: Remove conditional code.
24575 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24576 <kernel-features.h>.
24577 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24578 unconditional.
24579 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24580 conditional code.
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24582 not include <kernel-features.h>.
24583 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24584 unconditional.
24585 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24586 conditional code.
24587 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24588 include <kernel-features.h>.
24589 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24590 unconditional.
24591 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24592 conditional code.
24593
14a50c9d
WS
245942012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24595
24596 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24597 slight instruction rearrangements per scrollpipe analysis.
24598 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24599
c0f4faf0
RM
246002012-08-20 Roland McGrath <roland@hack.frob.com>
24601
696da859
RM
24602 * manual/syslog.texi (syslog; vsyslog, closelog):
24603 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24604 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24605
c0f4faf0
RM
24606 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24607 DSOCAPS to match condition on defining it.
24608
348363b2
JM
246092012-08-20 Joseph Myers <joseph@codesourcery.com>
24610
a35cbf28
JM
24611 * sysdeps/unix/sysv/linux/kernel-features.h
24612 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24614 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24615 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24617 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24618 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24620 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24621 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24622
445f7ecd
JM
24623 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24624 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24625
348363b2
JM
24626 * sysdeps/unix/sysv/linux/kernel-features.h
24627 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24628 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24629 unconditional.
24630 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24631 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24632 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24633 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24634 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24635 Make code unconditional.
24636 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24637 (__mmap64) [!__NR_mmap2]: Likewise.
24638 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24639 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24640 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24641 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24642 [__NR_mmap2]: Make code unconditional.
24643 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24644 (__mmap64) [!__NR_mmap2]: Likewise.
24645
bc5bc0e5
AK
246462012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24647
24648 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24649
88d506de
AJ
246502012-08-18 Andreas Jaeger <aj@suse.de>
24651
24652 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24653
493387d2
MF
246542012-08-18 Mike Frysinger <vapier@gentoo.org>
24655
24656 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24657 * include/unistd.h (__have_sock_cloexec): Likewise.
24658 (__have_pipe2): Likewise.
24659 (__have_dup3): Likewise.
24660
a277af22
MF
246612012-08-18 Mike Frysinger <vapier@gentoo.org>
24662
24663 [BZ #9685]
24664 * include/unistd.h (__have_pipe2): Change define into an extern int.
24665 (__have_dup3): Likewise.
24666 * socket/have_sock_cloexec.c: Include fcntl.h.
24667 (__have_pipe2): New variable.
24668 (__have_dup3): Likewise.
24669
fdab8fd3
MF
246702012-08-17 Mike Frysinger <vapier@gentoo.org>
24671
24672 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24673
31035e80
MP
246742012-08-17 Marek Polacek <polacek@redhat.com>
24675
24676 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24677 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24678
3bd9e993
RM
246792012-08-17 Roland McGrath <roland@hack.frob.com>
24680
c91c505f
RM
24681 * configure.in: Add AC_SUBST for sysheaders.
24682 * configure: Regenerated.
24683 * config.make.in (sysheaders): New substituted variable.
24684
7c6f9d53
RM
24685 * sysdeps/unix/mkfifo.c: Moved ...
24686 * sysdeps/posix/mkfifo.c: ... here.
24687 * sysdeps/unix/mkfifoat.c: Moved ...
24688 * sysdeps/posix/mkfifoat.c: ... here.
24689
24690 * sysdeps/unix/utime.c: Moved ...
24691 * sysdeps/posix/utime.c: ... here.
24692
24693 * sysdeps/unix/time.c: Moved ...
24694 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24695 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24696 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24697
24698 * sysdeps/unix/nice.c: Moved ...
24699 * sysdeps/posix/nice.c: ... here.
24700
24701 * sysdeps/unix/alarm.c: Moved ...
24702 * sysdeps/posix/alarm.c: ... here.
24703
3bd9e993
RM
24704 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24705
d1f09384
JL
247062012-08-17 Jeff Law <law@redhat.com>
24707
24708 * intl/Makefile (codeset_mo): New variable.
24709 ($(codeset_mo)): New target.
24710 (tst-codeset.out): Depend on that. Remove explicit rule.
24711 (tst-gettext3.out, tst-gettext5.out): Likewise.
24712 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24713 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24714 * intl/tst-codeset.sh: Remove.
24715 * intl/tst-gettext3.sh: Likewise.
24716 * intl/tst-gettext5.sh: Likewise.
24717
2ae1ae5c
RM
247182012-08-17 Roland McGrath <roland@hack.frob.com>
24719
c31fdb83
RM
24720 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24721 * sysdeps/unix/syscalls.list: ... here.
24722
a0844057
RM
24723 * sysdeps/posix/getaddrinfo.c
24724 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24725 (gaiconf_init, gaiconf_reload): Use them.
24726 [!_STATBUF_ST_NSEC]
24727 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24728 Define using time_t rather than struct timespec.
24729
750c1f2a
RM
24730 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24731 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24732 Macros removed.
24733 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24734 [!NO_THREADS].
24735 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24736 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24737 Likewise.
24738
2ae1ae5c
RM
24739 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24740 __libc_cleanup_push argument.
24741
e66a42f5
RM
24742 * bits/param.h: New file.
24743 * misc/sys/param.h: New file.
24744 * include/sys/param.h: New file.
24745 * misc/Makefile (headers): Add bits/param.h.
24746 * sysdeps/generic/sys/param.h: File removed.
24747 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24748 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24749 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24750 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24751
b7c08a66
RM
24752 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24753 last change.
24754
b2e1c562
RM
24755 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24756 [_IO_MTSAFE_IO].
24757 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24758 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24759 New macros.
24760
c75ccd4c
RM
24761 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24762 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24763 rather than -D_IO_MTSAFE_IO conditionally.
24764 * stdio-common/Makefile (CPPFLAGS): Likewise.
24765 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24766 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24767 Use $(libio-mtsafe).
24768 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24769 of -D_IO_MTSAFE_IO.
24770 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24771 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24772 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24773 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24774 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24775 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24776 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24777 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24778 (CFLAGS-fread_u_chk.c): Likewise.
24779 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24780 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24781 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24782 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24783 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24784 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24785 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24786 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24787 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24788
24789 * libio/Makefile: Test [$(libc-reentrant) = yes]
24790 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24791
24792 * Makeconfig
24793 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24794 * sysdeps/pthread/configure: File removed.
24795 * sysdeps/pthread/Makeconfig: New file.
24796 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24797 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24798
d9195db8
GB
247992012-08-16 Gary Benson <gbenson@redhat.com>
24800
24801 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24802 unmapping the first object in a namespace.
24803
86466cd9
RM
248042012-08-16 Roland McGrath <roland@hack.frob.com>
24805
24806 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24807 (__internal_setnetgrent): ... this. Add internal_function to
24808 definition. Add libc_hidden_def.
24809 (setnetgrent): Update caller.
24810 (internal_endnetgrent): Renamed to ...
24811 (__internal_endnetgrent): ... this. Add internal_function to
24812 definition. Add libc_hidden_def.
24813 (endnetgrent): Update caller.
24814 (internal_getnetgrent_r): Renamed to ...
24815 (__internal_getnetgrent_r): ... this. Add internal_function to
24816 definition. Add libc_hidden_def.
24817 (__getnetgrent_r): Update caller.
24818 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24819
c3c8283c
JM
248202012-08-16 Joseph Myers <joseph@codesourcery.com>
24821
24822 * stdlib/longlong.h: Update from GCC.
24823
db1ee0a8
RM
248242012-08-16 Roland McGrath <roland@hack.frob.com>
24825
24826 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24827 on _QL, which is set by umul_ppmm but never used.
24828 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24829 variables, which are set by GMP macros but never used.
24830 * stdio-common/_itowa.c (_itowa): Likewise.
24831 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24832 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24833
30f69637
CD
248342012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24835
24836 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24837 struct La_sh_regs is not constant.
24838 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24839 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24840 and struct La_sparc64_regs are not constant.
24841
93a78ac4
JM
248422012-08-16 Joseph Myers <joseph@codesourcery.com>
24843
24844 * sysdeps/unix/sysv/linux/kernel-features.h
24845 (__ASSUME_POSIX_TIMERS): Remove.
24846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24847 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24848 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24849 Make code unconditional.
24850 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24851 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24852 Make code unconditional.
24853 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24854 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24855 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24856 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24857 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24858 Make code unconditional.
24859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24860 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24861 (__libc_missing_posix_timers): Remove.
24862
dd924cd7
RM
248632012-08-15 Roland McGrath <roland@hack.frob.com>
24864
4b4f2771
RM
24865 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24866 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24867
601c888b
RM
24868 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24869
176790a7
RM
24870 * elf/dl-sym.c: Include <stdlib.h>.
24871
329bc018
RM
24872 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24873 constants, which avoids warnings in 32-bit builds.
24874
e04e272d
RM
24875 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24876 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24877
952bf94a
RM
24878 * misc/lseek.c: File moved to ...
24879 * io/lseek.c: ... here.
24880
7c99b50a
RM
24881 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24882
dd924cd7
RM
24883 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24884 shifting LEN more than 31 bits at once.
24885
b3f479a8
LD
248862012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24887
24888 [BZ #14195]
8c4ae0d4
RM
24889 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24890 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24891 * string/test-strncasecmp.c (check1): Renamed to...
24892 (bz12205): ...this.
24893 (bz14195): Add new testcase for two empty input strings and N > 0.
24894 (test_main): Call new testcase, adapt for renamed function.
24895
9c55864e
AJ
248962012-08-15 Andreas Jaeger <aj@suse.de>
24897
24898 [BZ #14090]
24899 * crypt/md5test2.c: New test, based on test supplied by Serge
24900 Belyshev <belyshev@depni.sinp.msu.ru>.
24901 * crypt/Makefile (xtests): Add md5test-giant..
24902 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24903
02dcb6c5
PE
249042012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24905
24906 [BZ #14090]
24907 * crypt/md5.c (md5_process_block): Don't assume the buffer
24908 length is less than 2**32.
24909 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24910 length is less than 2**64.
24911
a3f95dcc
RM
249122012-08-15 Roland McGrath <roland@hack.frob.com>
24913
be75d758
RM
24914 * string/str-two-way.h: Include <sys/param.h>.
24915 (MAX): Macro removed.
24916
7312ca90
RM
24917 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24918 Move #define and #undef of memmove to just before and after
24919 including <string.h>.
24920
9a0a5486
RM
24921 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24922 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24923 and after including <string.h>. Move declarations of
24924 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24925 to before #include "string/memmove.c".
24926
67cc348d
RM
24927 * include/dirent.h: Declare __getdirentries.
24928
a3f95dcc
RM
24929 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24930 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24931
ca98e171
MF
249322012-08-14 Mike Frysinger <vapier@gentoo.org>
24933
24934 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24935 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24936 * sysdeps/i386/configure: Regenerated.
24937 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24938 STABS_CURRENT_FILE, and STABS_FUN.
24939 (END): Remove call to STABS_FUN_END.
24940 (STABS_CURRENT_FILE1): Delete.
24941 (STABS_CURRENT_FILE): Likewise.
24942 (STABS_FUN): Likewise.
24943 (STABS_FUN_END): Likewise.
24944 (STABS_FUN2): Likewise.
24945 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24946 * sysdeps/x86_64/configure: Regenerated.
24947
5908bf46
RM
249482012-08-14 Roland McGrath <roland@hack.frob.com>
24949
24950 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24951 * elf/dl-lookup.c: Likewise.
5908bf46 24952
f2c05b9e
JM
249532012-08-14 Joseph Myers <joseph@codesourcery.com>
24954
24955 * sysdeps/unix/sysv/linux/kernel-features.h
24956 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24957 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24958 unconditionally.
24959 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24960 unconditionally.
24961 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24962 condition on __ASSUME_CLONE_THREAD_FLAGS.
24963
e11f5155
AJ
249642012-08-14 Andreas Jaeger <aj@suse.de>
24965
24966 * sysdeps/i386/fpu/libm-test-ulps: Update.
24967
51a9ba86
MK
249682012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24969
2fdd4f78
AJ
24970 * include/atomic.h (atomic_exchange_and_add): Split into ...
24971 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24972 New atomic macros.
51a9ba86 24973
ba6cba9e
MT
249742012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24975
24976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24977
42443a47
JL
249782012-08-13 Jeff Law <law@redhat.com>
24979
24980 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24981 null byte in the output string.
24982
121dce05
JM
249832012-08-10 Joseph Myers <joseph@codesourcery.com>
24984
24985 * sysdeps/unix/sysv/linux/kernel-features.h
24986 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24987 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24988 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24989 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24990 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24991 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24992 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24993
bf51f568
JL
249942012-08-09 Jeff Law <law@redhat.com>
24995
24996 [BZ #13939]
24997 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24998 When avoid_arena is set, don't retry in the that arena. Pick the
24999 next one, whatever it might be.
25000 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25001 (arena_lock): Pass in new parameter to arena_get2.
25002 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25003 arena_get2.
25004 (__libc_malloc): Unify retrying after main arena failure with
25005 __libc_memalign version.
25006 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25007
f85fa270
L
250082012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25009
25010 [BZ #14166]
25011 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25012 to __redirect_strstr.
25013 (__strstr_sse42): Use typeof __redirect_strstr.
25014 (__strstr_ia32): Likewise.
25015 (__libc_strstr): New prototype.
25016 (strstr): Renamed to ...
25017 (__libc_strstr): This.
25018 (strstr): New strong alias of __libc_strstr.
25019 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25020 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25021 __redirect_time.
25022 Include <time.h>.
25023 (__libc_time): New prototype.
25024 (time_ifunc): Replace time with __libc_time.
25025 (time): New strong alias and hidden definition of __libc_time.
25026 (__GI_time): Remove strong alias.
25027 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25028 Include <stddef.h>.
25029 (memmove): Redefined to __redirect_memmove.
25030 (__memmove_sse2): Use typeof __redirect_memmove.
25031 (__memmove_ssse3): Likewise.
25032 (__memmove_ssse3_back): Likewise.
25033 (__libc_memmove): New prototype.
25034 (memmove): Renamed to ...
25035 (__libc_memmove): This.
25036 (memmove): New strong alias of __libc_memmove.
25037
33b4a91e
MS
250382012-08-08 Mark Salter <msalter@redhat.com>
25039
25040 * elf/elf.h
25041 (R_MN10300_TLS_GD): Define.
25042 (R_MN10300_TLS_LD): Likewise.
25043 (R_MN10300_TLS_LDO): Likewise.
25044 (R_MN10300_TLS_GOTIE): Likewise.
25045 (R_MN10300_TLS_IE): Likewise.
25046 (R_MN10300_TLS_LE): Likewise.
25047 (R_MN10300_TLS_DTPMOD): Likewise.
25048 (R_MN10300_TLS_DTPOFF): Likewise.
25049 (R_MN10300_TLS_TPOFF): Likewise.
25050 (R_MN10300_SYM_DIFF): Likewise.
25051 (R_MN10300_ALIGN): Likewise.
25052 (R_MN10300_NUM): Update.
25053
b36137f1
JM
250542012-08-08 Joseph Myers <joseph@codesourcery.com>
25055
25056 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25057 Remove.
25058
cdd915fd
RM
250592012-08-08 Roland McGrath <roland@hack.frob.com>
25060
a2433aac
RM
25061 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25062
cdd915fd
RM
25063 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25064 sysdeps/unix -> sysdeps/posix move.
25065 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25066
bf9b740a
AM
250672012-08-07 Allan McRae <allan@archlinux.org>
25068
25069 [BZ #14303]
25070 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25071 (SUNOS_CPP): Likewise.
25072 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25073 not found.
25074 (open_input): Call CPP using execvp.
25075
93df14ee
JM
250762012-08-07 Joseph Myers <joseph@codesourcery.com>
25077
25078 * sysdeps/unix/sysv/linux/kernel-features.h
25079 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25080 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25081 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25082 (__ASSUME_WAITID_SYSCALL): Likewise.
25083 * sysdeps/unix/sysv/linux/dl-execstack.c
25084 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25085 code unconditional.
25086 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25087 conditional code.
25088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25089 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25090 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25091 code.
25092 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25093 unconditional.
25094 [__ASSUME_WAITID_SYSCALL]: Likewise.
25095 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25096
d34689de
RM
250972012-08-07 Roland McGrath <roland@hack.frob.com>
25098
a281decc
RM
25099 * sysdeps/unix/closedir.c: Renamed to ...
25100 * sysdeps/posix/closedir.c: ... here.
25101 * sysdeps/unix/dirfd.c: Renamed to ...
25102 * sysdeps/posix/dirfd.c: ... here.
25103 * sysdeps/unix/dirstream.h: Renamed to ...
25104 * sysdeps/posix/dirstream.h: ... here.
25105 * sysdeps/unix/fdopendir.c: Renamed to ...
25106 * sysdeps/posix/fdopendir.c: ... here.
25107 * sysdeps/unix/opendir.c: Renamed to ...
25108 * sysdeps/posix/opendir.c: ... here.
25109 * sysdeps/unix/readdir.c: Renamed to ...
25110 * sysdeps/posix/readdir.c: ... here.
25111 * sysdeps/unix/readdir_r.c: Renamed to ...
25112 * sysdeps/posix/readdir_r.c: ... here.
25113 * sysdeps/unix/rewinddir.c: Renamed to ...
25114 * sysdeps/posix/rewinddir.c: ... here.
25115 * sysdeps/unix/seekdir.c: Renamed to ...
25116 * sysdeps/posix/seekdir.c: ... here.
25117 * sysdeps/unix/telldir.c: Renamed to ...
25118 * sysdeps/posix/telldir.c: ... here.
25119 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25120 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25121 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25122 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25123
22895b47
RM
25124 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25125 * bits/fcntl.h: ... here.
25126
707a53b6
RM
25127 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25128 not 0.
25129 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25130 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25131 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25132 (struct flock): Move l_start, l_len to the beginning.
25133 Use __pid_t for l_pid.
25134 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25135 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25136 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25137 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25138 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25139 [__USE_LARGEFILE64] (struct flock64): New type.
25140 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25141
f0bd3e25
RM
25142 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25143 * bits/dirent.h: ... here.
25144
d34689de
RM
25145 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25146 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25147
6dad2c06
JM
251482012-08-07 Joseph Myers <joseph@codesourcery.com>
25149
25150 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25151 Change from 2.6.0 to 2.6.16.
25152 * sysdeps/unix/sysv/linux/configure: Regenerated.
25153 * sysdeps/unix/sysv/linux/kernel-features.h
25154 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25155 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25156 version.
25157 (__ASSUME_UTIMES): Likewise.
25158 (__ASSUME_CLONE_STOPPED): Remove.
25159 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25160 architectures, not kernel version.
25161 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25162 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25163 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25164 (__ASSUME_WAITID_SYSCALL): Likewise.
25165 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25166 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25167 * README: State 2.6.16 as minimum Linux kernel version. Do not
25168 refer to older versions.
25169
03af9520
RM
251702012-08-06 Roland McGrath <roland@hack.frob.com>
25171
8e49df1d
RM
25172 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25173 Define alphasort64 as an alias.
25174 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25175 Define versionsort64 as an alias.
25176 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25177 Define scandir64 as an alias.
25178 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25179 Define scandirat64 as an alias.
25180 * dirent/alphasort64.c (alphasort64):
25181 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25182 * dirent/versionsort64.c: Likewise.
25183 * dirent/scandir64.c: Likewise.
25184 * dirent/scandirat64.c: Likewise.
25185 * sysdeps/wordsize-64/alphasort.c: File removed.
25186 * sysdeps/wordsize-64/alphasort64.c: File removed.
25187 * sysdeps/wordsize-64/scandir.c: File removed.
25188 * sysdeps/wordsize-64/scandir64.c: File removed.
25189 * sysdeps/wordsize-64/scandirat.c: File removed.
25190 * sysdeps/wordsize-64/scandirat64.c: File removed.
25191 * sysdeps/wordsize-64/versionsort.c: File removed.
25192 * sysdeps/wordsize-64/versionsort64.c: File removed.
25193 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25194 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25195 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25196 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25197 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25198 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25199 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25200 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25201
25202 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25204 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25206 [defined __arch64__ || defined __sparcv9]
25207 (__INO_T_MATCHES_INO64_T): New macro.
25208 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25209 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25210 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25211 * sysdeps/unix/sysv/linux/bits/dirent.h
25212 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25213 (_DIRENT_MATCHES_DIRENT64): New macro.
25214
03af9520
RM
25215 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25216 Define lockf64 as an alias.
25217 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25218 Define fseeko64 as an alias.
25219 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25220 Define ftello64 as an alias.
25221 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25222 Define _IO_fgetpos64 and fgetpos64 as aliases.
25223 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25224 Define _IO_fsetpos64 and fsetpos64 as aliases.
25225 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25226 Conditionalize body on this.
25227 * libio/fseeko64.c: Likewise.
25228 * libio/ftello64.c: Likewise.
25229 * libio/iofgetpos64.c: Likewise.
25230 * libio/iofsetpos64.c: Likewise.
25231 * sysdeps/wordsize-64/lockf.c: File removed.
25232 * sysdeps/wordsize-64/lockf64.c: File removed.
25233 * sysdeps/wordsize-64/fseeko.c: File removed.
25234 * sysdeps/wordsize-64/fseeko64.c: File removed.
25235 * sysdeps/wordsize-64/ftello.c: File removed.
25236 * sysdeps/wordsize-64/ftello64.c: File removed.
25237 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25238 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25239 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25240 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25241 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25242 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25243 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25244 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25245 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25246 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25248 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25249 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25250 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25251
25252 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25254 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25256 [defined __arch64__ || defined __sparcv9]
25257 (__OFF_T_MATCHES_OFF64_T): New macro.
25258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25259 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25261 (__OFF_T_MATCHES_OFF64_T): New macro.
25262
c5757acd
L
252632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25264
25265 * stdlib/secure-getenv.c (__secure_getenv): Replace
25266 GLIBC_2_16 with GLIBC_2_17.
25267
3a31811e
L
252682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25269
25270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25271 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25272
faa2bccb
DM
252732012-08-03 David S. Miller <davem@davemloft.net>
25274
25275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25276
85fe1997
JM
252772012-08-03 Joseph Myers <joseph@codesourcery.com>
25278
25279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25280 Remove.
25281 (__ASSUME_CORRECT_SI_PID): Likewise.
25282 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25283 (__ASSUME_TMPFS_NAME): Likewise.
25284 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25285 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25286 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25287 (HAVE_AUX_SECURE): Make definition unconditional.
25288 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25289 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25290
4f75b7a0
RM
252912012-08-03 Roland McGrath <roland@hack.frob.com>
25292
25293 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25294 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25295 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25296 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25297 __eloop_threshold instead of SYMLOOP_MAX.
25298
25299 * sysdeps/generic/eloop-threshold.h: New file.
25300 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25301 of MAXSYMLINKS.
25302 * elf/chroot_canon.c (chroot_canon): Likewise.
25303
7aab07e4
JM
253042012-08-03 Joseph Myers <joseph@codesourcery.com>
25305
25306 [BZ #13717]
25307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25308 Change to 2.6.0 everywhere.
25309 * sysdeps/unix/sysv/linux/configure: Regenerated.
25310 * sysdeps/unix/sysv/linux/kernel-features.h
25311 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25312 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25313 kernel versions.
25314 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25315 (__ASSUME_FUTEX_REQUEUE): Remove.
25316 (__ASSUME_STATFS64): Define unconditionally.
25317 (__ASSUME_AT_SECURE): Likewise.
25318 (__ASSUME_CORRECT_SI_PID): Likewise.
25319 (__ASSUME_TGKILL): Define without depending on kernel version for
25320 i386.
25321 (__ASSUME_UTIMES): Likewise.
25322 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25323 kernel version.
25324 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25325 (__ASSUME_TMPFS_NAME): Likewise.
25326 * README: Update reference to Linux kernel versions.
25327
b67e9372
MP
253282012-08-02 Marek Polacek <polacek@redhat.com>
25329
1f529f7d 25330 [BZ# 14150]
b67e9372
MP
25331 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25332 libc_cv_asm_type_prefix with %.
25333 * configure: Regenerated.
d2441631
RM
25334 * include/libc-symbols.h: Remove comment about
25335 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25336 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25337 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25338 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25339 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25340 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25341 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25342 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25343 * elf/tst-unique2mod1.c: Likewise.
25344 * elf/tst-unique1mod2.c: Likewise.
25345 * elf/tst-unique1mod1.c: Likewise.
25346 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25347 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25348 Replace ASM_TYPE_DIRECTIVE with .type.
25349 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25350 * sysdeps/i386/sysdep.h: Likewise.
25351 * sysdeps/x86_64/sysdep.h: Likewise.
25352 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25354 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25355 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25356 * sysdeps/powerpc/powerpc32/sysdep.h:
25357 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25358 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25359 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25360 * sysdeps/i386/fpu/e_powf.S: Likewise.
25361 * sysdeps/i386/fpu/e_expl.S: Likewise.
25362 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25363 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25364 * sysdeps/i386/fpu/e_pow.S: Likewise.
25365 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25366 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25367 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25368 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25369 * sysdeps/i386/fpu/e_log2.S: Likewise.
25370 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25371 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25372 * sysdeps/i386/fpu/e_powl.S: Likewise.
25373 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25374 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25375 * sysdeps/i386/fpu/e_logl.S: Likewise.
25376 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25377 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25378 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25379 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25380 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25381 * sysdeps/i386/fpu/e_log.S: Likewise.
25382 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25383 * sysdeps/i386/fpu/e_logf.S: Likewise.
25384 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25385 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25386 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25387 * sysdeps/i386/fpu/e_log10.S: Likewise.
25388 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25389 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25390 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25391 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25392 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25393 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25394 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25395 * sysdeps/i386/i686/strtok.S: Likewise.
25396 * sysdeps/i386/i386-mcount.S: Likewise.
25397 * sysdeps/i386/strtok.S: Likewise.
25398 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25399 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25400 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25401 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25402 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25403 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25404 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25405 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25406 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25407 * sysdeps/x86_64/_mcount.S: Likewise.
25408 * sysdeps/x86_64/strtok.S: Likewise.
25409 * sysdeps/sh/_mcount.S: Likewise.
25410
2747bf9a
RM
254112012-08-01 Roland McGrath <roland@hack.frob.com>
25412
25413 * libio/iofopen.c: Include <fcntl.h>.
25414 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25415 (_IO_fopen64, fopen64): Define as aliases.
25416 * libio/iofopen64.c: Include <fcntl.h>.
25417 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25418 Conditionalize body on this.
25419 * sysdeps/wordsize-64/iofopen.c: File removed.
25420 * sysdeps/wordsize-64/iofopen64.c: File removed.
25421
3fb791b8
MP
254222012-08-01 Marek Polacek <polacek@redhat.com>
25423
25424 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25425 Use dlfcn directly instead of a variable.
25426 (binfmt-subdir): Do not define.
25427 (dlfcn): Likewise.
25428
a9f1039f
JM
254292012-08-01 Joseph Myers <joseph@codesourcery.com>
25430
23bddc06
JM
25431 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25432 Remove all definitions.
25433 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25434 <kernel-features.h>.
25435 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25436 (miss_F_GETOWN_EX): Remove all definitions.
25437 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25438 macro definition.
25439 [!__ASSUME_FCNTL64]: Remove conditional code.
25440 [__ASSUME_FCNTL64]: Make code unconditional.
25441 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25442 <kernel-features.h>.
25443 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25444 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25445 (lockf64) [__NR_fcntl64]: Make code unconditional.
25446 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25447
a9f1039f
JM
25448 * sysdeps/unix/sysv/linux/kernel-features.h
25449 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25450 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25451 Make code unconditional.
25452 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25453 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25455 [__NR_vfork]: Make code unconditional.
25456 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25457 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25459 [__NR_vfork]: Make code unconditional.
25460 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25461 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25462
09c0ee5f
RM
254632012-08-01 Roland McGrath <roland@hack.frob.com>
25464
48aec5b9
RM
25465 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25466 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25467
cd97c966
RM
25468 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25469 Define mkstemp64 as an alias.
3f55550c
RM
25470 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25471 Define mkstemps64 as an alias.
cd97c966
RM
25472 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25473 Define mkostemp64 as an alias.
b8625cfc
RM
25474 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25475 Define mkostemps64 as an alias.
cd97c966
RM
25476 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25477 Conditionalize body on this.
25478 * misc/mkostemp64.c: Likewise.
b8625cfc 25479 * misc/mkostemps64.c: Likewise.
3f55550c 25480 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25481 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25482 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25483 * sysdeps/wordsize-64/mkostemp.c: File removed.
25484 * sysdeps/wordsize-64/mkstemp.c: File removed.
25485 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25486 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25487 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25488 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25489
09c0ee5f
RM
25490 [BZ #14138]
25491 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25492 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25493 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25494 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25495
25496 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25497 compat_symbol macros from <shlib-compat.h> rather than the underlying
25498 default_symbol_version and symbol_version macros, so that DEFAULT
25499 lines in shlib-versions are respected.
25500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25501
7e66ee51
FW
255022012-08-01 Florian Weimer <fweimer@redhat.com>
25503
25504 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25505 Declare with warn_unused_result.
25506 (setgid, setregid, setegid, setresgid): Likewise.
25507 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25508 Likewise.
25509 * WUR-REPORT: Remove set*id functions.
25510
d2a54255
PT
255112012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25512
25513 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25514
7ecdb005
RM
255152012-07-31 Roland McGrath <roland@hack.frob.com>
25516
b4180a5e 25517 [BZ #10191]
789bd351
RM
25518 * include/sys/socket.h (__libc_accept, __libc_accept4):
25519 Add attribute_hidden.
25520 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25521
40ce302d
RM
25522 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25523 use of PTR_MANGLE.
25524 * inet/getnetgrent_r.c (setup): Likewise.
25525
7ecdb005
RM
25526 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25527
e2eabb2c
DM
255282012-07-31 David S. Miller <davem@davemloft.net>
25529
25530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25531
d0419dbf
JM
255322012-07-31 Joseph Myers <joseph@codesourcery.com>
25533
25534 [BZ #13629]
25535 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25536 value between 1.0 and 2.0 and smaller part has absolute value less
25537 than 1.0.
25538 * math/s_clog10.c (__clog10): Likewise.
25539 * math/s_clog10f.c (__clog10f): Likewise.
25540 * math/s_clog10l.c (__clog10l): Likewise.
25541 * math/s_clogf.c (__clogf): Likewise.
25542 * math/s_clogl.c (__clogl): Likewise.
25543 * math/libm-test.inc (clog_test): Add more tests.
25544 (clog10_test): Likewise.
25545 * sysdeps/i386/fpu/libm-test-ulps: Update.
25546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25547
2bc13872
FW
255482012-07-31 Florian Weimer <fweimer@redhat.com>
25549
25550 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25551 Exit with zero in case no suitable GID is found, and write a
25552 message to standard error.
25553
bea9b193
RM
255542012-07-30 Roland McGrath <roland@hack.frob.com>
25555
25556 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25557 rather than to 1.
25558 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25559 (MAXPATHLEN): Removed.
25560 (NOGROUP, NODEV): New macros.
25561 (setbit, clrbit, isset, isclr): New macros.
25562 (howmany, roundup, powerof2): New macros.
25563 (DEV_BSIZE): New macro.
25564
25565 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25566 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25567
25568 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25569 definition on [!__NO_LONG_DOUBLE_MATH].
25570
25571 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25572 PTR_MANGLE and PTR_DEMANGLE.
25573
25574 * socket/accept4.c (accept4): Rename to __libc_accept4.
25575 Define accept4 as a weak alias.
25576
25577 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25578 on [_DIRENT_HAVE_D_TYPE].
25579 * io/ftw.c (ftw_dir): Likewise.
25580
25581 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25582
25583 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25584
25585 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25586 Use the BSD numbers rather than the arbitrary ones we had.
25587 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25588 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25589 (SIGXCPU, SIGXFSZ): New macros.
25590 (_NSIG): Now 32.
25591
25592 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25593 initializer on [_LIBC_REENTRANT].
25594
25595 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25596 definitions inside [_POSIX_MAPPED_FILES].
25597
25598 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25599
25600 * dirent/opendir.c: Include <fcntl.h>.
25601
25602 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25603 (__libc_getspecific): Likewise.
25604 (__libc_key_create): Likewise.
25605
25606 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25607 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25608 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25609 (tmpfile64): Define as alias.
25610 * sysdeps/wordsize-64/tmpfile.c: File removed.
25611 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25612 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25614
25615 * stdio-common/vfscanf.c: Include <stdbool.h>.
25616 * nss/makedb.c: Likewise.
25617 * stdio-common/_i18n_number.h: Likewise.
25618 * argp/argp-help.c: Likewise.
25619 * posix/wordexp.c: Likewise.
25620 * sysdeps/posix/spawni.c: Likewise.
25621 * nss/nss_files/files-initgroups.c: Likewise.
25622 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25623 * nss/nss_files/files-initgroups.c: Likewise.
25624 * nss/nss_db/db-netgrp.c: Likewise.
25625 * nss/nss_db/db-initgroups.c: Likewise.
25626 * io/fchmodat.c: Include <sys/stat.h>.
25627
25628 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25629 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25630
25631 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25632 [HAVE_MMAP].
25633
25634 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25635 Add multiple inclusion protection.
25636
e5abc686
DM
256372012-07-27 David S. Miller <davem@davemloft.net>
25638
25639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25640
815e6fa3
GB
256412012-07-27 Gary Benson <gbenson@redhat.com>
25642
25643 [BZ #14298]
25644 * elf/rtld.c: Include <stap-probe.h>.
25645 (dl_main): Added static probes "init_start" and "init_complete".
25646 * elf/dl-load.c: Include <stap-probe.h>.
25647 (lose): Take new parameter "nsid".
25648 Added static probe "map_failed".
25649 (_dl_map_object_from_fd): Pass namespace id to lose.
25650 Added static probe "map_start".
25651 (open_verify): Pass namespace id to lose.
25652 * elf/dl-open.c: Include <stap-probe.h>.
25653 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25654 and "reloc_complete".
25655 * elf/dl-close.c: Include <stap-probe.h>.
25656 (_dl_close_worker): Added static probes "unmap_start" and
25657 "unmap_complete".
25658 * elf/rtld-debugger-interface.txt: New file documenting the above.
25659
9f98c16c
RM
256602012-07-26 Roland McGrath <roland@hack.frob.com>
25661
25662 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25663 rather than a string variable.
25664 * sunrpc/rpc_main.c (h_output): Likewise.
25665 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25666
f3c22df3
PT
256672012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25668
25669 * inet/check_native.c: New file.
25670
3129cfc6
JM
256712012-07-26 Joseph Myers <joseph@codesourcery.com>
25672
da865e95
JM
25673 [BZ #13629]
25674 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25675 if larger part has absolute value 1.0.
25676 * math/s_clog10.c (__clog10): Likewise.
25677 * math/s_clog10f.c (__clog10f): Likewise.
25678 * math/s_clog10l.c (__clog10l): Likewise.
25679 * math/s_clogf.c (__clogf): Likewise.
25680 * math/s_clogl.c (__clogl): Likewise.
25681 * math/libm-test.inc (clog_test): Add more tests.
25682 (clog10_test): Likewise.
25683 * sysdeps/i386/fpu/libm-test-ulps: Update.
25684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25685
3129cfc6
JM
25686 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25687 (pltexit): Likewise.
25688 (La_regs): Likewise.
25689 (La_retval): Likewise.
25690 (int_retval): Likewise.
25691 Update #error for removed macros to refer only to definitions in
25692 tst-audit.h.
25693 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25694 macro.
25695 (pltexit): Likewise.
25696 (La_regs): Likewise.
25697 (La_retval): Likewise.
25698 (int_retval): Likewise.
25699 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25700 macro.
25701 (pltexit): Likewise.
25702 (La_regs): Likewise.
25703 (La_retval): Likewise.
25704 (int_retval): Likewise.
25705 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25706 macro.
25707 (pltexit): Likewise.
25708 (La_regs): Likewise.
25709 (La_retval): Likewise.
25710 (int_retval): Likewise.
25711 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25712 macro.
25713 (pltexit): Likewise.
25714 (La_regs): Likewise.
25715 (La_retval): Likewise.
25716 (int_retval): Likewise.
25717 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25718 macro.
25719 (pltexit): Likewise.
25720 (La_regs): Likewise.
25721 (La_retval): Likewise.
25722 (int_retval): Likewise.
25723 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25724 macro.
25725 (pltexit): Likewise.
25726 (La_regs): Likewise.
25727 (La_retval): Likewise.
25728 (int_retval): Likewise.
25729 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25730 macro definitions in tst-audit.h.
25731 * sysdeps/i386/tst-audit.h: New file.
25732 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25733 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25734 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25735 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25736 * sysdeps/sh/tst-audit.h: Likewise.
25737 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25738 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25739 * sysdeps/x86_64/tst-audit.h: Likewise.
25740
bfc07087
AJ
257412012-07-26 Andreas Jaeger <aj@suse.de>
25742
b1b2aaf8
AJ
25743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25744 ptrace.
25745
25746 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25747 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25748 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25749 PTRACE_O_MASK.
25750 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25751 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25752 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25753
bfc07087
AJ
25754 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25755 value.
25756
25757 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25758 _sigsys.
25759 (si_call_addr, si_syscall, si_arch): Define new macro.
25760 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25761 _sigsys.
25762 (si_call_addr, si_syscall, si_arch): Define new marcro.
25763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25764 _sigsys.
25765 (si_call_addr, si_syscall, si_arch): Define new macro.
25766 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25767 _sigsys.
25768 (si_call_addr, si_syscall, si_arch): Define new macro.
25769
89b4b02f
JM
257702012-07-25 Joseph Myers <joseph@codesourcery.com>
25771
25772 [BZ #13717]
25773 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25774 Change to 2.4.21 where previously 2.4.1.
25775 * sysdeps/unix/sysv/linux/configure: Regenerated.
25776 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25777 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25778 Linux kernel version.
25779 (__ASSUME_STD_AUXV): Remove.
25780 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25781 kernel version.
25782 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25783 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25784 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25785 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25786 (__ASSUME_NETLINK_SUPPORT): Likewise.
25787 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25788 (__no_netlink_support): Remove conditional definition.
25789 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25790 Remove.
25791 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25792 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25793 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25794 (if_nameindex_ioctl): Remove.
25795 (if_nameindex_netlink): Do not handle __no_netlink_support.
25796 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25797 code.
25798 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25799 Remove conditional code.
25800 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25801 code.
25802 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25803 unconditional.
25804 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25805 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25806 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25807 Remove.
25808 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25809 [!__ASSUME_STD_AUXV]: Remove conditional code.
25810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25811 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25812 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25814 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25815 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25816 code.
25817 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25819 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25820 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25821 conditional code.
25822 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25824 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25825 code.
25826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25827 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25828 conditional code.
25829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25830 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25831 code unconditional.
25832 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25833 conditional code.
25834 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25835 unconditional.
25836 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25837 conditional code.
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25839 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25840 unconditional.
25841 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25842 conditional code.
25843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25844 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25845 code unconditional.
25846 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25847 conditional code.
25848 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25849 unconditional.
25850 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25851 conditional code.
25852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25853 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25854 code unconditional.
25855 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25856 conditional code.
25857 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25858 unconditional.
25859 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25860 conditional code.
25861
842a39cd
AS
258622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25863
25864 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25865 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25866 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25867 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25868 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25869 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25870 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25871 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25872 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25873 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25874 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25875 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25876 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25877 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25878 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25879 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25880 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25881 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25882 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25884 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25885 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25887
84b3fd84
FW
258882012-07-25 Florian Weimer <fweimer@redhat.com>
25889
25890 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25891 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25892 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25893 Introduce __libc_secure_getenv.
0c7936d5
FW
25894 * stdlib/Versions (2.17): Add secure_getenv
25895 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25896 * stdlib/secure-getenv.c: Rename __secure_getenv to
25897 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25898 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25899 * stdlib/tst-secure-getenv.c: New.
25900 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25901 * manual/startup.texi (Environment Access): Document
25902 secure_getenv.
84b3fd84
FW
25903 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25904 __libc_secure_getenv.
25905 * inet/ruserpass.c (ruserpass): Likewise.
25906 * malloc/mtrace.c (mtrace): Likewise.
25907 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25908 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25909 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25910 * sysdeps/posix/tempname.c: Likewise. Evaluate
25911 HAVE_SECURE_GETENV.
25912 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25913 __secure_getenv to __libc_secure_getenv.
84b3fd84 25914 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25916 Likewise.
25917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25918 Likewise.
25919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25926
56e49b71
JM
259272012-07-25 Joseph Myers <joseph@codesourcery.com>
25928
25929 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25930 (struct La_i86_retval): Likewise.
25931 (struct La_x86_64_regs): Likewise.
25932 (struct La_x86_64_retval): Likewise.
25933 (struct La_x32_regs): Likewise.
25934 (struct La_x32_retval): Likewise.
25935 (struct La_ppc32_regs): Likewise.
25936 (struct La_ppc32_retval): Likewise.
25937 (struct La_ppc64_regs): Likewise.
25938 (struct La_ppc64_retval): Likewise.
25939 (struct La_sh_regs): Likewise.
25940 (struct La_sh_retval): Likewise.
25941 (struct La_s390_32_regs): Likewise.
25942 (struct La_s390_32_retval): Likewise.
25943 (struct La_s390_64_regs): Likewise.
25944 (struct La_s390_64_retval): Likewise.
25945 (struct La_sparc32_regs): Likewise.
25946 (struct La_sparc32_retval): Likewise.
25947 (struct La_sparc64_regs): Likewise.
25948 (struct La_sparc64_retval): Likewise.
25949 (struct audit_ifaces): Remove architecture-specific pltenter and
25950 pltexit members.
25951 * sysdeps/i386/ldsodefs.h: New file.
25952 * sysdeps/powerpc/ldsodefs.h: Likewise.
25953 * sysdeps/s390/ldsodefs.h: Likewise.
25954 * sysdeps/sh/ldsodefs.h: Likewise.
25955 * sysdeps/sparc/ldsodefs.h: Likewise.
25956 * sysdeps/x86_64/ldsodefs.h: Likewise.
25957
354691b7
MP
259582012-07-25 Marek Polacek <polacek@redhat.com>
25959
25960 [BZ #6808]
25961 * math/libm-test.inc (yn_test): Add another test.
25962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25963 to ERANGE when the result is +-Inf.
25964 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25965 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25966 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25967 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25968
bf9e2071
JM
259692012-07-24 Joseph Myers <joseph@codesourcery.com>
25970
25971 * conform/data/time.h-data (NULL): Use macro-constant. Require
25972 equal to 0.
25973 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25974 clock_t.
25975 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25976
57633811
TS
259772012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25978
25979 * configure.in <sysdeps resolving>: Correct printing
25980 Implies_before.
25981 * configure: Regenerate.
25982
c23c33b0
TS
259832012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25984
25985 * math/w_ilogb.c: Include <limits.h>.
25986 * math/w_ilogbl.c: Likewise.
25987
b5982523
JM
259882012-07-20 Joseph Myers <joseph@codesourcery.com>
25989
25990 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25991 va_copy. Document allowing for unavailable va_copy only as
25992 pre-C99 compatibility.
25993 * manual/string.texi (Copying and Concatenation): Use va_copy
25994 instead of __va_copy in concat example.
25995
ac4ea442
PT
259962012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25997
25998 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25999 (__sendto): Use create_address_port. Initialize APORT and deallocate
26000 it if not null.
26001
f98eafbd
PT
26002 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26003 with O_NOLINK passed to __file_name_lookup.
26004
898c7aab
PT
26005 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26006 with O_NOLINK passed to __file_name_lookup.
26007
0ced335a
PT
26008 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26009 negative N or less than NGIDS.
26010
b3404dbd
PT
26011 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26012 type to string_t. Set ERANGE as errno and return it if NAME is not big
26013 enough. Use memcpy instead of strncpy.
26014
0f48659e
JM
260152012-07-20 Joseph Myers <joseph@codesourcery.com>
26016
26017 * elf/Makefile (check-data): Remove.
26018 (localplt.data): New vpath directive.
26019 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26020 instead of $(check-data).
26021 * scripts/data/localplt-generic.data: Move to ...
26022 * sysdeps/generic/localplt.data: ... here.
26023 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26024 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26025 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26027 ... here.
26028 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26030 ... here.
26031 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26033 ... here.
26034 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26036 ... here.
26037 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26039 ... here.
26040 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26042 ... here.
26043
d37cbdaa
AZ
260442012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26045
26046 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26047 PPC32 and PPC64 files.
26048 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26049 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26050
46f85fc2
AK
260512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26052
26053 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26054 __makecontext_ret to ...
26055 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26056 ... here and call exit if uc_link is NULL. New file.
26057 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26058 __makecontext_ret.S.
26059 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26060 __makecontext_ret to ...
26061 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26062 ... here and call exit if uc_link is NULL. New file.
26063 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26064 __makecontext_ret.S.
26065
08f43f9b
AK
260662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26067
26068 * elf/elf.h (R_390_IRELATIVE): New definition.
26069 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26070 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26071 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26072 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26073 (elf_machine_lazy_rel): Likewise.
26074 * sysdeps/s390/dl-irel.h: New file.
26075 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26076 * sysdeps/s390/s390-64/memset.S: New asm code.
26077 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26078 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26079 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26080 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26081 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26082 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26083 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26084 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26085 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26086 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26087 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26088 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26089 * sysdeps/s390/s390-32/memset.S: New asm code.
26090 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26091
3b05db33
MP
260922012-07-17 Marek Polacek <polacek@redhat.com>
26093
26094 [BZ #14349]
26095 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26096 * sysdeps/s390/s390-64/configure.in: Likewise.
26097 * sysdeps/sparc/configure.in: Likewise.
26098 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26099 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26100 * sysdeps/i386/configure.in: Likewise.
26101 * sysdeps/x86_64/configure.in: Likewise.
26102 * sysdeps/sh/configure.in: Likewise.
26103 * sysdeps/s390/s390-32/configure: Regenerated.
26104 * sysdeps/s390/s390-64/configure: Likewise.
26105 * sysdeps/x86_64/configure: Likewise.
26106 * sysdeps/sh/configure: Likewise.
26107 * sysdeps/powerpc/powerpc64/configure: Likewise.
26108 * sysdeps/powerpc/powerpc32/configure: Likewise.
26109 * sysdeps/sparc/configure: Likwise.
26110 * sysdeps/i386/configure: Likewise.
26111
a66877c6
MP
26112 * elf/dl-open.c: Comment fixes.
26113
cfc82fd8
JM
261142012-07-17 Joseph Myers <joseph@codesourcery.com>
26115
bd29910a
JM
26116 * Makefile [CXX] (check-data): Remove.
26117 [CXX] (c++-types.data): New vpath directive.
26118 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26119 vpath. Do not allow for C++ type data being missing.
26120 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26121 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26122 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26123 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26124 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26125 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26126 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26128 ... here.
26129 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26131 ... here.
26132 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26134 ... here.
26135 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26137 ... here.
26138 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26140 ... here.
26141 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26143 ... here.
26144 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26146 ... here.
26147 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26149
cfc82fd8
JM
26150 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26151 definitions to architecture-specific files.
26152 (TLS_IE): Likewise.
26153 (TLS_LD): Likewise.
26154 (TLS_GD): Likewise.
26155 * sysdeps/i386/tls-macros.h: New file.
26156 * sysdeps/powerpc/tls-macros.h: Likewise.
26157 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26158 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26159 * sysdeps/sh/tls-macros.h: Likewise.
26160 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26161 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26162 * sysdeps/x86_64/tls-macros.h: Likewise.
26163
f7db3170
TS
261642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26165
07cbfc23
TS
26166 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26167 zero value for regular exit case.
26168
f7db3170
TS
26169 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26170 (__start_context): Preserve zero value for regular exit case.
26171
dc97c227
TS
261722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26173 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26174
26175 * manual/setjmp.texi (setcontext): Clarify normal process
26176 termination when uc_link is the null pointer.
26177 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26178 exit call.
26179
d0cd7d02
AS
261802012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26181
26182 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26183 preprocessor. Test for each exception mask separately.
26184
dd318934
AJ
261852012-07-16 Andreas Jaeger <aj@suse.de>
26186
26187 * po/ru.po: Update from translation team.
26188
8048311a
JM
261892012-07-15 Joseph Myers <joseph@codesourcery.com>
26190
26191 * conform/data/string.h-data (NULL): Use macro-constant. Require
26192 equal to 0.
26193 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26194 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26195 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26196 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26197 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26198
b637d46e
AJ
261992012-07-13 Andreas Jaeger <aj@suse.de>
26200
26201 * po/fr.po: Update from translation team.
26202
541428fe
MP
262032012-07-12 Marek Polacek <polacek@redhat.com>
26204
26205 [BZ #14173]
26206 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26207 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26208 loop condition.
26209
ec332e94
JM
262102012-07-12 Joseph Myers <joseph@codesourcery.com>
26211
26212 [BZ #13717]
26213 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26214 Change to 2.4.1 where previously 2.4.0.
26215 * sysdeps/unix/sysv/linux/configure: Regenerated.
26216 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26217 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26218 version.
26219 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26220 (__ASSUME_AT_CLKTCK): Remove.
26221 (__ASSUME_AT_PAGESIZE): Likewise.
26222 (__ASSUME_AT_XID): Likewise.
26223 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26224 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26225 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26226 unconditionally.
26227 (HAVE_AUX_PAGESIZE): Likewise.
26228 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26229 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26230 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26231
7b6e99be
JB
262322012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26233
26234 [BZ #14307]
26235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26236 the temporary buffer used to invoke __gethostbyname2_r,
26237 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26238 host_data / struct gaih_addrtuple.
26239 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26240 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26241 header file nss/nsswitch.h.
26242 * nss/nsswitch.h (global scope): Add definition of implementation
26243 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26244 resolv/nss_dns/dns-host.c).
26245
608404eb
AJ
262462012-07-11 Andreas Jaeger <aj@suse.de>
26247
26248 * po/fr.po: Update from translation team.
26249
71220aca
AJ
26250 * po/sv.po: Update from translation team
26251 * po/fr.po: Another update from translation team.
26252
28cfe843
AZ
262532012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26254
26255 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26256 for subnormals or multiply small sinh result by itself.
26257 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26259
6b90f981
DM
262602012-07-11 David S. Miller <davem@davemloft.net>
26261
26262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26263
c6825772
AS
262642012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26265
26266 [BZ #14347]
26267 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26268 (INTERNAL_MARK): Shift it here.
26269
7b8e0d49
MP
262702012-07-10 Marek Polacek <polacek@redhat.com>
26271
26272 [BZ #14151]
26273 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26274 libc_cv_asm_global_directive with .globl.
26275 * configure: Regenerated.
26276 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26277 with .globl.
26278 * sysdeps/i386/configure: Regenerated.
26279 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26280 with .globl.
26281 * sysdeps/x86_64/configure: Regenerated.
26282 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26283 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26284 * elf/tst-unique2mod2.c: Likewise.
26285 * elf/tst-unique2mod1.c: Likewise.
26286 * elf/tst-unique1mod2.c: Likewise.
26287 * elf/tst-unique1mod1.c: Likewise.
26288 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26289 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26290 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26291 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26292 * sysdeps/mach/sysdep.h: Likewise.
26293 * sysdeps/i386/sysdep.h: Likewise.
26294 * sysdeps/i386/i386-mcount.S: Likewise.
26295 * sysdeps/x86_64/_mcount.S: Likewise.
26296 * sysdeps/x86_64/sysdep.h: Likewise.
26297 * sysdeps/sh/_mcount.S: Likewise.
26298 * sysdeps/sh/sysdep.h: Likewise.
26299 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26300 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26301 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26302 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26303 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26304 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26305 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26306 * locale/localeinfo.h: Likewise.
26307 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26308 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26309
6c55cda3
RM
263102012-07-09 Roland McGrath <roland@hack.frob.com>
26311
26312 [BZ #14336]
26313 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26314 system".
26315 * manual/message.texi (The Uniforum approach): Likewise.
26316 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26317 (glibc iconv Implementation): Likewise.
26318
638a572e
JM
263192012-07-09 Joseph Myers <joseph@codesourcery.com>
26320
26321 [BZ #14337]
26322 * math/s_clog.c (__clog): Avoid scaling a value down where that
26323 could result in underflow.
26324 * math/s_clog10.c (__clog10): Likewise.
26325 * math/s_clog10f.c (__clog10f): Likewise.
26326 * math/s_clog10l.c (__clog10l): Likewise.
26327 * math/s_clogf.c (__clogf): Likewise.
26328 * math/s_clogl.c (__clogl): Likewise.
26329 * math/libm-test.inc (clog_test): Add more tests.
26330 (clog10_test): Likewise.
26331 * sysdeps/i386/fpu/libm-test-ulps: Update.
26332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26333
261f4859
AS
263342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26335
0abaf3e4
AS
26336 [BZ #14283]
26337 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26338 by 7 not 8 to examine high bit of fractional part.
26339
261f4859
AS
26340 [BZ #14042]
26341 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26342 for call to __mcount_internal.
26343 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26344 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26345 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26346
f17ac40d
JM
263472012-07-06 Joseph Myers <joseph@codesourcery.com>
26348
9ad63c23
JM
26349 [BZ #14154]
26350 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26351 approximation for values within 0x1p-13f of an odd multiple of
26352 pi/4.
26353 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26354 exception. Add more tests.
26355 * sysdeps/i386/fpu/libm-test-ulps: Update.
26356
f17ac40d
JM
26357 [BZ #6778]
26358 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26359 inputs and return -1 for them. Do not check for +Inf in case not
26360 reachable for +Inf.
26361 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26362 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26363 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26364 and return -1 for them. Do not check for +Inf in case not
26365 reachable for +Inf.
26366 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26367 define.
26368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26369 and return -1 for them. Do not check for +Inf in case not
26370 reachable for +Inf.
26371 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26372 spurious underflow.
26373 * sysdeps/i386/fpu/libm-test-ulps: Update.
26374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26375
fb21f89b
MF
263762012-07-06 Mike Frysinger <vapier@gentoo.org>
26377
26378 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26379
cdfe2c5e
JM
263802012-07-05 Joseph Myers <joseph@codesourcery.com>
26381
26382 [BZ #14157]
26383 [BZ #14331]
26384 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26385 could result in spurious underflow. Scale down values above
26386 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26387 * math/s_csqrtf.c (__csqrtf): Likewise.
26388 * math/s_csqrtl.c (__csqrtl): Likewise.
26389 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26390 spurious underflow.
26391 * sysdeps/i386/fpu/libm-test-ulps: Update.
26392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26393
70d35b67
AS
263942012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26395
704bc459
AS
26396 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26397 xopen-msg.sed.
26398 * catgets/xopen-msg.awk: New file.
26399 * catgets/xopen-msg.sed: Removed.
26400
70d35b67
AS
26401 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26402 po2text.sed.
26403 * intl/po2test.awk: New file.
26404 * intl/po2test.sed: Removed.
26405
ca61cf32
JM
264062012-07-04 Joseph Myers <joseph@codesourcery.com>
26407
26408 [BZ #14328]
26409 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26410 or multiply small sinh result by itself.
26411 * math/s_ctanf.c (__ctanf): Likewise.
26412 * math/s_ctanh.c (__ctanh): Likewise.
26413 * math/s_ctanhf.c (__ctanhf): Likewise.
26414 * math/s_ctanhl.c (__ctanhl): Likewise.
26415 * math/s_ctanl.c (__ctanl): Likewise.
26416 * math/libm-test.inc (ctan_test_tonearest): New function.
26417 (ctan_test_towardzero): Likewise.
26418 (ctan_test_downward): Likewise.
26419 (ctan_test_upward): Likewise.
26420 (ctanh_test_tonearest): Likewise.
26421 (ctanh_test_towardzero): Likewise.
26422 (ctanh_test_downward): Likewise.
26423 (ctanh_test_upward): Likewise.
26424 (main): Call these new functions.
26425 * sysdeps/i386/fpu/libm-test-ulps: Update.
26426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26427
ca48a46a
MF
264282012-07-03 Mike Frysinger <vapier@gentoo.org>
26429
26430 * .gitignore: Delete /ports entry.
26431
9d63d37d
AJ
264322012-07-03 Andreas Jaeger <aj@suse.de>
26433
26434 * po/bg.po: Update from translation team.
26435 * po/cs.po: Likewise.
26436 * po/de.po: Likewise.
26437 * po/hr.po: Likewise.
26438 * po/nl.pl: Likewise.
26439 * po/pl.po: Likewise.
26440 * po/vi.po: Likewise.
26441
370ca3d2
JM
264422012-07-03 Joseph Myers <joseph@codesourcery.com>
26443
95f5a9a8
JM
26444 * Makeconfig [!+link] (+link-before-libc): New variable.
26445 [!+link] (+link-after-libc): Likewise.
26446 [!+link] (+link-tests): Likewise.
26447 [!+link] (+link): Define in terms of $(+link-before-libc) and
26448 $(+link-after-libc).
26449 [!+link-static] (+link-static-before-libc): New variable.
26450 [!+link-static] (+link-static-after-libc): Likewise.
26451 [!+link-static] (+link-static-tests): Likewise.
26452 [!+link-static] (+link-static): Define in terms of
26453 $(+link-static-before-libc) and $(+link-static-after-libc).
26454 [build-shared] (link-libc-before-gnulib): New variable.
26455 [build-shared] (link-libc-tests): Likewise.
26456 [build-shared] (link-libc): Define in terms of
26457 $(link-libc-before-gnulib).
26458 [!build-shared] (link-libc-tests): New variable.
26459 (link-libc-static-tests): New variable.
26460 [!gnulib] (gnulib-arch): New variable.
26461 [!gnulib] (gnulib-tests): Likewise.
26462 [!gnulib] (static-gnulib-arch): Likewise.
26463 [!gnulib] (static-gnulib-tests): Likewise.
26464 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26465 Define with "=" instead of ":=".
26466 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26467 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26468 * Rules (binaries-all-notests): New variable.
26469 (binaries-all-tests): Likewise.
26470 (binaries-static-notests): Likewise.
26471 (binaries-static-tests): Likewise.
26472 (binaries-all): Define using $(binaries-all-notests) and
26473 $(binaries-all-tests).
26474 (binaries-static): Define using $(binaries-static-notests) and
26475 $(binaries-static-tests).
26476 (binaries-shared-tests): New variable.
26477 (binaries-shared-notests): Likewise.
26478 (binaries-shared): Remove variable.
26479 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26480 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26481 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26482 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26483 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26484 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26485 * elf/Makefile (sln-modules): New variable.
26486 (extra-objs): Add $(sln-modules:=.o).
26487 (ldconfig-modules): Add static-stubs.
26488 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26489 * elf/static-stubs.c: New file.
26490
7a845b2c
JM
26491 [BZ #14283]
26492 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26493 by 7 not 8 to examine high bit of fractional part. Use volatile
26494 variables when splitting into final array of floats if
26495 __FLT_EVAL_METHOD__ != 0.
26496 * math/libm-test.inc (cos_test): Add another test.
26497 (sin_test): Likewise.
26498 * sysdeps/i386/fpu/libm-test-ulps: Update.
26499
e2283f38
JM
26500 [BZ #14273]
26501 * math/libm-test.inc (cosh_test): Add more tests.
26502
370ca3d2
JM
26503 * version.h (RELEASE): Set to "development".
26504 (VERSION): Set to "2.16.90".
26505
ee9247c3
CD
265062012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26507
26508 * NEWS: Update copyright. Remove last-updated date.
26509 Mention math library bug fixes and timezone data changes.
26510 * README: Mention GNU/Hurd, x32, and HPPA support status.
26511
4648c381
TS
265122012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26513
26514 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26515
aac78a43
AJ
265162012-06-27 Andreas Jaeger <aj@suse.de>
26517
26518 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26519
ed3dbfad
AJ
265202012-06-25 Andreas Jaeger <aj@suse.de>
26521
26522 * sysdeps/s390/fpu/libm-test-ulps: Update.
26523
4d0ee855
AS
265242012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26525 Thomas Schwinge <thomas@codesourcery.com>
26526
26527 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26528 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26529 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26530 fanotify_mark.
26531
af1bce34
TS
265322012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26533
a9fa33ba
TS
26534 * sysdeps/mach/start.c: Remove file.
26535 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26536 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26537 * sysdeps/sh/init-first.c: Likewise.
26538
58f902b8
TS
26539 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26540 registers for frame unwinding purposes, add CFI directives.
26541 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26543 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26544 Likewise.
26545
1518f58b
TS
26546 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26547 __fortify_fail returning.
26548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26549
db9b5059
TS
26550 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26551 sysdeps/sh/____longjmp_chk.S.
26552 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26553 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26554 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26555 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26556
967705fe
TS
26557 * sysdeps/sh/abort-instr.h: New file.
26558 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26559 process in case exit returns.
26560
a9def8c4
TS
26561 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26562 initialize the GOT register before use.
26563
2a649725
TS
26564 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26565 calculation of ARGC > 4.
26566
af1bce34
TS
26567 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26568 meaningful names to some local labels.
26569
d230f50a
KK
265702012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26571 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26572
26573 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26574 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26575 (__arch_compare_and_exchange_val_16_acq): Likewise.
26576 (__arch_compare_and_exchange_val_32_acq): Likewise.
26577 (atomic_exchange_and_add): Fix gUSA sequence.
26578 (atomic_add): Likewise.
26579 (atomic_add_negative): Likewise.
26580 (atomic_add_zero): Likewise.
26581 (atomic_bit_test_set): Likewise.
26582
0479b305
AS
265832012-06-22 Andreas Schwab <schwab@redhat.com>
26584
26585 [BZ #13579]
26586 * include/link.h (struct link_map): Add l_free_initfini.
26587 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26588 l_initfini.
26589 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26590 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26591 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26592 set.
26593
0e3933b9
CD
265942012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26595
26596 * configure.in: Use AC_LANG_SOURCE.
26597 * configure: Regenerate.
26598
4248b1b1
RM
265992012-06-22 Roland McGrath <roland@hack.frob.com>
26600
26601 * configure.in (libc_cv_localstatedir): New substituted variable.
26602 * configure: Regenerated.
26603 * config.make.in (localstatedir): New variable, substituted from
26604 libc_cv_localstatedir.
26605 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26606 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26607 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26608 * sysdeps/gnu/configure: Regenerated.
26609
006dd861
JL
266102012-06-21 Jeff Law <law@redhat.com>
26611
26612 [BZ #14277]
26613 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26614 free. Simplify list management for _LIBC case.
26615
79662d42
JM
266162012-06-21 Joseph Myers <joseph@codesourcery.com>
26617
b7abb4bf
JM
26618 [BZ #14273]
26619 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26620 Clear sign bit of 64-bit integer value before comparing against
26621 overflow value.
26622
79662d42
JM
26623 * sysdeps/mach/configure: Regenerated.
26624
1f150908
L
266252012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26626
26627 [BZ #14278]
26628 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26629
28363bbf
JL
266302012-06-21 Jeff Law <law@redhat.com>
26631
26632 [BZ #13882]
26633 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26634 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26635 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26636 * elf/dl-open.c (dl_open_worker): Likewise.
26637
09615db4
CD
266382012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26639
26640 * scripts/list-sources.sh: Scan PORTS for translations.
26641 * po/libc.pot: Regenerated.
26642
2174c6dd
AJ
266432012-06-21 Andreas Jaeger <aj@suse.de>
26644
26645 [BZ #12194]
26646 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26647 warning.
26648 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26649 * bits/byteswap-16.h (__bswap_16): Likewise.
26650 * bits/byteswap.h (__bswap_constant_16): Likewise.
26651
3ee947b1
L
266522012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26653
26654 [BZ #14117]
a2f34833
L
26655 * sysdeps/i386/fpu_control.h: Removed.
26656 * sysdeps/x86_64/fpu_control.h: Moved to ...
26657 * sysdeps/x86/fpu_control.h: Here.
26658
3ee947b1
L
26659 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26660 (_FPU_SETCW): Likewise.
26661
ed1825f8
L
266622012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26663
25f1282a
L
26664 [BZ #14117]
26665 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26666 * sysdeps/x86/fpu/bits/mathinline.h: This.
26667 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26668
ed1825f8
L
26669 [BZ #14050]
26670 [BZ #14117]
26671 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26672 functions if __x86_64__ is defined.
26673
36d54b74
CLT
266742012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26675
26676 * string/endian.h: Add !__ASSEMBLER__ condition for including
26677 conversion interfaces.
26678
10285c21
JM
266792012-06-15 Joseph Myers <joseph@codesourcery.com>
26680
26681 [BZ #14241]
26682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26683 of ABS(x) in calculating zero to negative powers other than odd
26684 integers.
26685 * math/libm-test.inc (pow_test): Add more tests.
26686
06c5abbd
AJ
266872012-06-15 Andreas Jaeger <aj@suse.de>
26688
26689 * manual/contrib.texi (Contributors): Update entry of Liubov
26690 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26691 Machado Filho.
26692
a3aeac40
CH
266932012-06-15 Cyril Hrubis <metan@ucw.cz>
26694
26695 * string/string.h: Add __wur to GNU version of strerror_r.
26696
49bdf4c1
L
266972012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26698
26699 [BZ #14229]
26700 * string/Makefile (tests): Add tst-strtok_r.
26701 * string/tst-strtok_r.c: New file.
26702 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26703 RAX_LP/RDX_LP on SAVE_PTR.
26704
834f9b8d
RM
267052012-06-14 Roland McGrath <roland@hack.frob.com>
26706
26707 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26708
75fa1921
JM
267092012-06-14 Joseph Myers <joseph@codesourcery.com>
26710
26711 * libm_test.inc (csqrt_test): Allow more spurious underflow
26712 exceptions.
26713 (j0_test): Likewise.
26714 (j1_test): Likewise.
26715 (y0_test): Likewise.
26716 (y1_test): Likewise.
26717
771766df
CD
267182012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26719
26720 * po/Makefile (libc.pot): Use UTF-8 charset.
26721
ceb9e56b
PP
267222012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26723
26724 [BZ #14210]
26725 Suppress sign-conversion warning from FD_SET.
26726 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26727 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26728 not unsigned long int.
26729 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26730
ddb28975
L
267312012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26732
26733 [BZ #14050]
26734 [BZ #14117]
26735 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26736 __extern_always_inline instead of __extern_inline.
26737 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26738 (__signbit): Likewise.
26739 (__signbitl): Support C++ namespace.
26740 (lrintf): New inline function.
26741 (lrint): Likewise.
26742 (llrintf): Likewise.
26743 (llrint): Likewise.
26744 (fmaxf): Likewise.
26745 (fmax): Likewise.
26746 (fminf): Likewise.
26747 (fmin): Likewise.
26748 (rint): Likewise.
26749 (rintf): Likewise.
26750 (ceil): Likewise.
26751 (ceilf): Likewise.
26752 (floor): Likewise.
26753 (floorf): Likewise.
26754 (nearbyint): Likewise.
26755 (nearbyintf): Likewise.
26756
d7b4fb26
TS
267572012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26758
26759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26760 non-default versions.
26761
eb55f5c2
RM
267622012-06-11 Roland McGrath <roland@hack.frob.com>
26763
26764 [BZ #14218]
26765 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26766
366af02c
TS
267672012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26768
99ff6e5c
TS
26769 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26770 (FE_UPWARD, FE_DOWNWARD): Don't define.
26771 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26772 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26773
366af02c
TS
26774 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26775 reading it.
26776 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26777 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26778
793ea851
KK
267792012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26780
26781 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26783 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26784 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26785
a728a38f
L
267862012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26787
26788 [BZ #14117]
c08010c7
L
26789 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26790 * sysdeps/i386/fpu/Implies: New file.
26791 * sysdeps/x86_64/fpu/Implies: Likewise.
26792 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26793 * sysdeps/x86/fpu/bits/fenv.h: This.
26794
a728a38f
L
26795 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26796 __SSE_MATH__.
26797
6e230d11
SP
267982012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26799
26800 [BZ #14134]
26801 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26802 character 0xffff that matches the last element of the
26803 conversion table.
26804
1b671feb
AZ
268052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26806
26807 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26808 fmodl commit.
26809
6043738b
AZ
268102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26811
26812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26813 values higher than 25.6283.
26814
34ae0b32
AZ
268152012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26816
26817 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26818 subnormal exponent extraction and add some __builtin_expect.
26819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26820 Fix for subnormal mantissa calculation.
26821
1214ec8f
MF
268222012-06-04 Mike Frysinger <vapier@gentoo.org>
26823
26824 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26825 cpu2 is -1 and errno is not ENOSYS.
26826
f3d1f93c
L
268272012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26828
26829 [BZ #14117]
0e4a3cd7
L
26830 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26831 * sysdeps/x86/bits/string.h: This.
26832 * sysdeps/x86_64/bits/string.h: Removed.
26833
6704c645
L
26834 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26835 if not compiling for x86-64, but compiling for >= i486.
26836
48495318
L
26837 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26838 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26839
14adcbfc
L
26840 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26841 New macro from Linux kernel 3.4.0.
26842 (FP_XSTATE_MAGIC2): Likewise.
26843 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26844 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26845 (struct _fpx_sw_bytes): New struct.
26846 (struct _xsave_hdr): Likewise.
26847 (struct _ymmh_state): Likewise.
26848 (struct _xstate): Likewise.
26849
68e408ab
L
26850 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26851 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26853 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26854 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26855 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26856
f3d1f93c
L
26857 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26858 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26859 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26860 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26861 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26862 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26863
d9dc34cd
TMQMF
268642012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26865
26866 [BZ #13743]
26867 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26868 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26869 (sysdep_headers): Include sys/platform/ppc.h.
26870 * sysdeps/powerpc/test-gettimebase.c: Test for
26871 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26872 * manual/Makefile (appendices): Include platform.texi.
26873 * manual/contrib.texi (Contributors): Update @node pointers.
26874 * manual/maint.texi (Maintenance): Likewise.
26875 (Platform): New node.
26876 * manual/platform.texi: New file. Document the new features.
26877
4af3879c
SP
268782012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26879 Jakub Jelinek <jakub@redhat.com>
26880
26881 [BZ #14188]
26882 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26883 where __builtin_expect is unavailable.
26884
2fd6ff13
DM
268852012-06-03 David S. Miller <davem@davemloft.net>
26886
26887 * stdlib/longlong.h: Updated from GCC.
26888
173f7220
AS
268892012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26890
26891 [BZ #14042]
26892 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26893 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26894 __mcount_internal.
26895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26896 (GLIBC_2.16): Likewise.
26897
f34a1c6f
L
268982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26899
26900 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26901
88a4576f
JM
269022012-06-01 Joseph Myers <joseph@codesourcery.com>
26903
ea32bcdd
JM
26904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26905 (default-abi): New variable.
26906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26907 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26908 variable.
26909 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26910 Likewise.
26911 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26912 Likewise.
26913 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26914 Likewise.
26915
88a4576f
JM
26916 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26917 definition. Document in comment.
26918
402fe938
DM
269192012-06-01 David S. Miller <davem@davemloft.net>
26920
26921 * stdlib/longlong.h: Updated from GCC.
26922
3553723f
L
269232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26924
26925 [BZ #14117]
3bd872c4
L
26926 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26927 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26928 sys/debugreg.h sys/io.h here.
26929 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26930 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26931 sys/io.h.
26932 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26933 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26934 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26935 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26936 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26937 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26938
3553723f
L
26939 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26940 Define only if __x86_64__ is defined.
26941
4842e4fe
JM
269422012-06-01 Joseph Myers <joseph@codesourcery.com>
26943
c5bfe3d5
JM
26944 [BZ #14048]
26945 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26946 Use int64_t for variable i.
26947 * math/libm-test.inc (fmod_test): Add more tests.
26948
4842e4fe
JM
26949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26950 z computation is not scheduled after fetestexcept.
26951 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26952 Use math_force_eval instead of asm to ensure calculation scheduled
26953 before exception test.
26954 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26955 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26956
efb73488
AJ
269572012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26958
26959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26960 computation is not scheduled after fetestexcept.
26961
29bcce7c
L
269622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26963
26964 [BZ #14117]
26965 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26966 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26967
73a68f94
AZ
269682012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26969
26970 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26971 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26972
67b6df78
L
269732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26974
edf2933a 26975 [BZ #14117]
ebc64a18
L
26976 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26977 <bits/wordsize.h>.
26978 (__WCHAR_MIN): Support __WORDSIZE == 64.
26979 (__WCHAR_MAX): Likewise.
26980
edf2933a
L
26981 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26983
57c6cf40
L
26984 [BZ #14183]
26985 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26986 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26987
67b6df78 26988 [BZ #14117]
8eb6281e
L
26989 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26990 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26991
aac639f4
L
26992 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26993 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26994
67b6df78
L
26995 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26996 Defined to 1 if __x86_64__ isn't defined.
26997 (_STAT_VER_LINUX_OLD): New.
26998 (st_atime): Remove duplicate.
26999 (st_mtime): Likewise.
27000 (st_ctime): Likewise.
27001
1c2cfe81
DM
270022012-05-31 David S. Miller <davem@davemloft.net>
27003
27004 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27005 entries.
27006
5be8418c
AS
270072012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27008
e7725326
AS
27009 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27010 gen-libm-test.pl.
27011
5be8418c
AS
27012 [BZ #14132]
27013 * elf/dl-reloc.c: Include <_itoa.h>.
27014 (_dl_reloc_bad_type): Remove use of INTUSE.
27015 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27016 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27017 * stdio-common/psiginfo.c (psiginfo): Likewise.
27018 * stdio-common/psignal.c (psignal): Likewise.
27019 * string/strsignal.c (strsignal): Likewise.
27020 * include/signal.h (_sys_siglist): Declare hidden proto.
27021 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27022 INTVARDEF with libc_hidden_data_def.
27023 * stdio-common/itoa-udigits.c: Likewise.
27024 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27025 (_itoa_lower_digits_internal): Remove declaration.
27026 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27027 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27028 (_sys_sigabbrev_internal): Remove aliases.
27029 (_sys_siglist): Define hidden alias.
27030
507352f1
MT
270312012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27032
27033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27034 bits/sysctl.h.
27035
42bbb1c3
L
270362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27037
27038 [BZ #14117]
6bd784b6
L
27039 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27040 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27041
8bca20f0
L
27042 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27043 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27044 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27045 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27047 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27048
f9e890a9
L
27049 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27050 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27051 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27052
471101a1
L
27053 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27054 with __addr.
27055 (insw): Likewise.
27056 (insl): Likewise.
27057 (outsb): Likewise.
27058 (outsw): Likewise.
27059 (outsl): Likewise.
27060
6451c862
L
27061 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27062 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27063 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27064
a254b8c9
L
27065 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27066 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27067 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27068 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27069 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27070 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27071
b8dfdd92
L
27072 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27073 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27074
578cd270
L
27075 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27076 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27077
de662f5f
L
27078 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27080 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27081
25653439
L
27082 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27083 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27084 to ...
27085 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27086
6bad24a0
L
27087 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27088 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27089 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27090
42bbb1c3
L
27091 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27092 for x86-64.
27093 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27094
2d10d547
JM
270952012-05-31 Joseph Myers <joseph@codesourcery.com>
27096
27097 * math/math.h (M_El): Use two more decimal places.
27098 (M_LOG2El): Likewise.
27099 (M_LOG10El): Likewise.
27100 (M_LN2l): Likewise.
27101 (M_LN10l): Likewise.
27102 (M_PIl): Likewise.
27103 (M_PI_2l): Likewise.
27104 (M_PI_4l): Likewise.
27105 (M_1_PIl): Likewise.
27106 (M_2_PIl): Likewise.
27107 (M_2_SQRTPIl): Likewise.
27108 (M_SQRT2l): Likewise.
27109 (M_SQRT1_2l): Likewise.
27110
f230c29b
DM
271112012-05-31 David S. Miller <davem@davemloft.net>
27112
27113 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27114 values between float registers.
27115 * sysdeps/sparc/sparc64/memset.S: Likewise.
27116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27117
fed806c3
MF
271182012-05-31 Mike Frysinger <vapier@gentoo.org>
27119
27120 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27121 -D_FORTIFY_SOURCE=1.
27122 (CPPFLAGS-tst-longjmp_chk.c): Define.
27123 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27124 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27125 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27126 CFLAGS-tst-wchar-h.c.
27127
30917259
MP
271282012-05-31 Marek Polacek <polacek@redhat.com>
27129
27130 [BZ #14132]
27131 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27132 __endmntent_internal): Remove declaration.
27133 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27134 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27135 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27136
1c58d5dc
DM
271372012-05-30 David S. Miller <davem@davemloft.net>
27138
27139 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27140 (___Q_simulate_exceptions): Use real FP ops rather than writing
27141 into the %fsr.
27142 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27143 Likewise.
27144
7dc00e0d
L
271452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27146
27147 [BZ #14117]
0bd53985
L
27148 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27149 * sysdeps/x86/bits/xtitypes.h: This.
27150
3a257e66
L
27151 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27152 * sysdeps/x86/bits/wordsize.h: This.
27153
62f62904
L
27154 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27155 * sysdeps/x86/bits/huge_vall.h: This.
27156
404fe9d9
L
27157 * sysdeps/i386/bits/select.h: Removed.
27158 * sysdeps/x86_64/bits/select.h: Renamed to ...
27159 * sysdeps/x86/bits/select.h: This.
27160
d48d0446
L
27161 * sysdeps/i386/bits/setjmp.h: Removed.
27162 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27163 * sysdeps/x86/bits/setjmp.h: This.
27164
7dc00e0d
L
27165 * sysdeps/i386/bits/mathdef.h: Removed.
27166 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27167 * sysdeps/x86/bits/mathdef.h: This.
27168
03277f8f
AS
271692012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27170
27171 [BZ #14132]
27172 * include/sys/socket.h (__connect_internal)
27173 (__libc_sa_len_internal): Remove declaration.
27174 (__connect, __libc_sa_len): Declare hidden_proto.
27175 (SA_LEN): Remove use of INTUSE.
27176 * socket/connect.c: Add libc_hidden_def.
27177 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27178 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27179 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27180 alias.
27181 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27182 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27183 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27184 of adding _internal alias.
27185
13764867
L
271862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27187
27188 [BZ #14117]
6bd97696
L
27189 * sysdeps/i386/bits/link.h: Removed.
27190 * sysdeps/i386/bits/linkmap.h: Likewise.
27191 * sysdeps/x86_64/bits/link.h: Renamed to ...
27192 * sysdeps/x86/bits/link.h: This.
27193 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27194 * sysdeps/x86/bits/linkmap.h: This.
27195
f726f0bb
L
27196 * sysdeps/i386/bits/endian.h: Removed.
27197 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27198 * sysdeps/x86/bits/endian.h: This.
27199
13764867
L
27200 * sysdeps/i386/bits/byteswap.h: Removed.
27201 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27202 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27203 * sysdeps/x86/bits/byteswap.h: This.
27204 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27205 * sysdeps/x86/bits/byteswap-16.h: This.
27206 * sysdeps/i386/Implies: Add x86.
27207 * sysdeps/x86_64/Implies: Likewise.
27208
ae251b0b
DM
272092012-05-30 David S. Miller <davem@davemloft.net>
27210
27211 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27212 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27213 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27214 (FP_TRAPPING_EXCEPTIONS): Define.
27215 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27216 (FP_TRAPPING_EXCEPTIONS): Define.
27217 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27218 subnormals only when inexact has been signalled or underflow
27219 exceptions are enabled.
27220 (_FP_PACK_CANONICAL): Likewise.
27221
d5c90867
L
272222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27223
27224 [BZ #14183]
27225 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27226 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27227
63f1549e
RH
272282012-05-30 Richard Henderson <rth@twiddle.net>
27229
8d8f2279
RH
27230 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27231 with #ifndef NOT_IN_libc.
27232
63f1549e
RH
27233 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27234 marked to avoid plt entry.
27235
0ab0291b
L
272362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27237
27238 [BZ #14112]
27239 * Makeconfig (default-abi): New macro.
27240 (abi-includes): Likewise.
27241 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27242 $(abi-$(default-abi)-lib-soname) for soname if defined.
27243 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27244 abi-variants.
27245 * Makefile (installed-stubs): Likewise.
27246 * include/stubs-biarch.h: Removed.
27247 * scripts/lib-names.awk: Only handle one library at a time.
27248 * scripts/soversions.awk: Remove WORDSIZE support.
27249 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27250 entries.
27251 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27252 Removed.
27253 (syscall-list-default-condition): Likewise.
27254 (syscall-list-default-condition): Likewise.
27255 (syscall-list-includes): Likewise.
27256 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27257 syscall-list-* with abi-*. Handle undefined abi-variants.
27258 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27259 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27260 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27261 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27262 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27263 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27264 Removed.
27265 (syscall-list-32-options): Likewise.
27266 (syscall-list-32-condition): Likewise.
27267 (syscall-list-64-options): Likewise.
27268 (syscall-list-64-condition): Likewise.
27269 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27270 macro.
27271 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27272 Renamed to ...
27273 (abi-*): This.
27274 (abi-64-ld-soname): New macro.
27275 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27276 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27277 Renamed to ...
27278 (abi-*): This.
27279 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27280 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27281
4da0431d
JM
272822012-05-30 Joseph Myers <joseph@codesourcery.com>
27283
3a85279c
JM
27284 * sysdeps/unix/sysv/linux/kernel-features.h
27285 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27286 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27287 include <kernel-features.h>.
27288 [!__NR_ftruncate64]: Remove conditional code.
27289 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27290 [__NR_ftruncate64]: Make code unconditional.
27291 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27292 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27293 include <kernel-features.h>.
27294 [!__NR_ftruncate64]: Remove conditional code.
27295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27296 [__NR_ftruncate64]: Make code unconditional.
27297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27299 include <kernel-features.h>.
27300 [!__NR_ftruncate64]: Remove conditional code.
27301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27302 [__NR_ftruncate64]: Make code unconditional.
27303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27305 include <kernel-features.h>.
27306 [!__NR_ftruncate64]: Remove conditional code.
27307 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27308 [__NR_ftruncate64]: Make code unconditional.
27309 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27310
4da0431d
JM
27311 * configure.in (libc_cv_fpie): Weaken to a compile test using
27312 LIBC_TRY_CC_OPTION.
27313 * configure: Regenerated.
27314
11ef492c
AK
273152012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27316
27317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27321 Refreshed.
27322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27328 Refreshed.
27329
d66ef399
DM
273302012-05-27 David S. Miller <davem@davemloft.net>
27331
27332 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27333 (___Q_zero): New.
27334 (__Q_simulate_exceptions): Return void. Change to simulate
27335 exceptions by writing into the %fsr.
27336 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27337 (__Qp_handle_exceptions): Likewise.
27338 (numbers): Delete.
27339 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27340 __Qp_handle_exceptions.
27341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27342 __Qp_handle_exceptions.
27343 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27344 as unused and give dummy FP_RND_NEAREST initializer.
27345 (FP_INHIBIT_RESULTS): Define.
27346 (___Q_simulate_exceptions): Update declaration.
27347 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27348 formatting.
27349 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27350 as unused and give dummy FP_RND_NEAREST initializer.
27351 (__Qp_handle_exceptions): Update declaration.
27352 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27353 formatting.
27354
04fb54b5
TS
273552012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27356
27357 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27358 the temporary FPU control word.
27359 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27360 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27361 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27362 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27364 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27365 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27366 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27367 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27368 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27370
3f99608f
KK
273712012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27372
27373 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27374 fields.
27375
65a4de4e
CLT
273762012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27377
27378 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27379 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27380 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27381 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27382 Likewise.
27383 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27384 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27385 Likewise.
27386
15749d40
UD
273872012-05-27 Ulrich Drepper <drepper@gmail.com>
27388
27389 * po/h.po: Update from translation team.
27390
25dbcb27
AS
273912012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27392
3d3f8e55
AS
27393 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27394
25dbcb27
AS
27395 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27396 handling of denormals.
27397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27398 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27399 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27400 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27404 Likewise.
27405
7ad47a80 274062012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27407
27408 [BZ #14152]
27409 * math/libm-test.inc (fma_test): Don't always expect underflow
27410 exception.
27411
9c6ea9fa
SP
274122012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27413
27414 [BZ #12416]
27415 * elf/tst-execstack.c: Include stackinfo.h.
27416 (do_test): Adjust test case to ensure that pthread_getattr_np
27417 behaviour remains the same after marking stack executable.
27418
a8239222
JM
274192012-05-25 Joseph Myers <joseph@codesourcery.com>
27420
27421 * sysdeps/unix/sysv/linux/kernel-features.h
27422 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27423 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27424 kernel-features.h.
27425 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27426 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27427 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27428 kernel-features.h.
27429 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27430 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27431
918b5606
L
274322012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27433
27434 * configure.in: Define the default includes to being none.
27435 * configure: Regenerated.
27436
3a097cc7
RM
274372012-05-25 Roland McGrath <roland@hack.frob.com>
27438
8422c9a5
RM
27439 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27440 * sysdeps/x86_64/setjmp.S: Likewise.
27441 * sysdeps/i386/bsd-setjmp.S: Likewise.
27442 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27443 * sysdeps/i386/setjmp.S: Likewise.
27444 * sysdeps/i386/__longjmp.S: Likewise.
27445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27446 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27447
3a097cc7
RM
27448 * include/stap-probe.h: New file.
27449 * configure.in: Handle --enable-systemtap.
27450 * configure: Regenerated.
27451 * config.h.in (USE_STAP_PROBE): New #undef.
27452 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27453 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27454 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27455
21708942
JM
274562012-05-25 Joseph Myers <joseph@codesourcery.com>
27457
27458 [BZ #13717]
27459 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27460 to 2.4.0 where earlier.
27461 * sysdeps/unix/sysv/linux/configure: Regenerated.
27462 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27463 <kernel-features.h>.
27464 [__ASSUME_32BITUIDS]: Make code unconditional.
27465 [!__ASSUME_32BITUIDS]: Remove conditional code.
27466 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27467 <kernel-features.h>.
27468 [__ASSUME_32BITUIDS]: Make code unconditional.
27469 [!__ASSUME_32BITUIDS]: Remove conditional code.
27470 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27471 [__ASSUME_32BITUIDS]: Make code unconditional.
27472 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27473 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27474 <kernel-features.h>.
27475 [__ASSUME_32BITUIDS]: Make code unconditional.
27476 [!__ASSUME_32BITUIDS]: Remove conditional code.
27477 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
27486 <kernel-features.h>.
27487 [__ASSUME_32BITUIDS]: Make code unconditional.
27488 [!__ASSUME_32BITUIDS]: Remove conditional code.
27489 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27490 <kernel-features.h>.
27491 [__ASSUME_32BITUIDS]: Make code unconditional.
27492 [!__ASSUME_32BITUIDS]: Remove conditional code.
27493 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27494 <kernel-features.h>.
27495 [__ASSUME_32BITUIDS]: Make code unconditional.
27496 [!__ASSUME_32BITUIDS]: Remove conditional code.
27497 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27498 <kernel-features.h>.
27499 [__ASSUME_32BITUIDS]: Make code unconditional.
27500 [!__ASSUME_32BITUIDS]: Remove conditional code.
27501 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27502 <kernel-features.h>.
27503 [__ASSUME_32BITUIDS]: Make code unconditional.
27504 [!__ASSUME_32BITUIDS]: Remove conditional code.
27505 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27506 <kernel-features.h>.
27507 [__ASSUME_32BITUIDS]: Make code unconditional.
27508 [!__ASSUME_32BITUIDS]: Remove conditional code.
27509 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27510 <kernel-features.h>.
27511 [__ASSUME_32BITUIDS]: Make code unconditional.
27512 [!__ASSUME_32BITUIDS]: Remove conditional code.
27513 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27514 <kernel-features.h>.
27515 [__NR_setresgid] (__setresgid): Do not declare.
27516 [__ASSUME_32BITUIDS]: Make code unconditional.
27517 [!__ASSUME_32BITUIDS]: Remove conditional code.
27518 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27519 <kernel-features.h>.
27520 [__NR_setresuid] (__setresuid): Do not declare.
27521 [__ASSUME_32BITUIDS]: Make code unconditional.
27522 [!__ASSUME_32BITUIDS]: Remove conditional code.
27523 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27524 <kernel-features.h>.
27525 [__ASSUME_32BITUIDS]: Make code unconditional.
27526 [!__ASSUME_32BITUIDS]: Remove conditional code.
27527 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27528 <kernel-features.h>.
27529 [__ASSUME_32BITUIDS]: Make code unconditional.
27530 [!__ASSUME_32BITUIDS]: Remove conditional code.
27531 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27532 <kernel-features.h>.
27533 [__ASSUME_32BITUIDS]: Make code unconditional.
27534 [!__ASSUME_32BITUIDS]: Remove conditional code.
27535 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27536 <kernel-features.h>.
27537 [__ASSUME_32BITUIDS]: Make code unconditional.
27538 [!__ASSUME_32BITUIDS]: Remove conditional code.
27539 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27540 <kernel-features.h>.
27541 [__ASSUME_32BITUIDS]: Make code unconditional.
27542 [!__ASSUME_32BITUIDS]: Remove conditional code.
27543 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27544 <kernel-features.h>.
27545 [__ASSUME_32BITUIDS]: Make code unconditional.
27546 [!__ASSUME_32BITUIDS]: Remove conditional code.
27547 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27548 <kernel-features.h>.
27549 [__ASSUME_32BITUIDS]: Make code unconditional.
27550 [!__ASSUME_32BITUIDS]: Remove conditional code.
27551 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27552 <kernel-features.h>.
27553 [__ASSUME_32BITUIDS]: Make code unconditional.
27554 [!__ASSUME_32BITUIDS]: Remove conditional code.
27555 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27556 <kernel-features.h>.
27557 [__ASSUME_32BITUIDS]: Make code unconditional.
27558 [!__ASSUME_32BITUIDS]: Remove conditional code.
27559 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27560 <kernel-features.h>.
27561 [__ASSUME_32BITUIDS]: Make code unconditional.
27562 [!__ASSUME_32BITUIDS]: Remove conditional code.
27563 * sysdeps/unix/sysv/linux/kernel-features.h
27564 (__ASSUME_SETRESUID_SYSCALL): Remove.
27565 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27566 (__ASSUME_32BITUIDS): Likewise.
27567 (__ASSUME_LDT_WORKS): Likewise.
27568 (__ASSUME_O_DIRECTORY): Likewise.
27569 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27570 architecture but not kernel version.
27571 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27572 (__ASSUME_MMAP2_SYSCALL): Likewise.
27573 (__ASSUME_STAT64_SYSCALL): Likewise.
27574 (__ASSUME_IPC64): Likewise.
27575 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27576 <kernel-features.h>.
27577 [__ASSUME_32BITUIDS]: Make code unconditional.
27578 [!__ASSUME_32BITUIDS]: Remove conditional code.
27579 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27580 <kernel-features.h>.
27581 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27582 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27583 132096]: Remove conditional code.
27584 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27585 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27586 <kernel-features.h>.
27587 [__ASSUME_32BITUIDS]: Make code unconditional.
27588 [!__ASSUME_32BITUIDS]: Remove conditional code.
27589 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27590 <kernel-features.h>.
27591 [__ASSUME_32BITUIDS]: Make code unconditional.
27592 [!__ASSUME_32BITUIDS]: Remove conditional code.
27593 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27594 <kernel-features.h>.
27595 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27596 unconditional.
27597 (__setresgid): Do not declare.
27598 [__ASSUME_32BITUIDS]: Make code unconditional.
27599 [!__ASSUME_32BITUIDS]: Remove conditional code.
27600 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27601 <kernel-features.h>.
27602 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27603 unconditional.
27604 (__setresuid): Do not declare.
27605 [__ASSUME_32BITUIDS]: Make code unconditional.
27606 [!__ASSUME_32BITUIDS]: Remove conditional code.
27607 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27608 <kernel-features.h>.
27609 [__ASSUME_32BITUIDS]: Make code unconditional.
27610 [!__ASSUME_32BITUIDS]: Remove conditional code.
27611 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27612 <kernel-features.h>.
27613 [__ASSUME_32BITUIDS]: Make code unconditional.
27614 [!__ASSUME_32BITUIDS]: Remove conditional code.
27615
a386f1cc
RH
276162012-05-25 Richard Henderson <rth@twiddle.net>
27617
27618 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27619 dl_hwcap to ifunc resolver.
27620 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27621 elf_ifunc_invoke.
27622 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27623 dl_hwcap to ifunc resolver.
27624 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27625
b6550497
JM
276262012-05-24 Joseph Myers <joseph@codesourcery.com>
27627
27628 [BZ #14153]
27629 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27630 for |x| <= 2**-26, not 2**-57.
27631 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27632 exception.
27633
b0bc23a1
JL
276342012-05-24 Jeff Law <law@redhat.com>
27635
27636 * stdio-common/Makefile (tests): Add bug25.
27637 * stdio-common/bug25.c: New test.
27638
347c92e9
L
276392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27640
27641 [BZ #13576]
27642 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27643 multiple of MALLOC_ALIGNMENT in size.
27644 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27645
6bcc8b3f
JM
276462012-05-24 Joseph Myers <joseph@codesourcery.com>
27647
27648 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27649 Require >= 256.
27650 (FILENAME_MAX): Use macro-int-constant.
27651 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27652 (_IOFBF): Use macro-int-constant.
27653 (_IOLBF): Likewise.
27654 (_IONBF): Likewise.
27655 (SEEK_CUR): Likewise.
27656 (SEEK_END): Likewise.
27657 (SEEK_SET): Likewise.
27658 (TMP_MAX): Likewise.
27659 (EOF): Use macro-int-constant. Require < 0.
27660 (NULL): Use macro-constant. Require == 0.
27661 (stdin): Require type to be FILE *.
27662 (stdout): Likewise.
27663 (stderr): Likewise.
27664 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27665 macro-int-constant.
27666 (EXIT_SUCCESS): Likewise.
27667 (NULL): Use macro-constant. Require == 0.
27668 (RAND_MAX): Use macro-int-constant.
27669 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27670 [C99-based standards] (strtof): Require function.
27671 [C99-based standards] (strtold): Likewise.
27672 [C99-based standards] (strtoll): Likewise.
27673 [C99-based standards] (strtoull): Likewise.
27674 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27675 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27676 [ISO || ISO99 || ISO11] (math.h): Likewise.
27677 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27678 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27680
d18ea0c5
AS
276812012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27682
27683 [BZ #14132]
56d25bb8
AS
27684 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27685 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27686 * intl/dgettext.c (DCGETTEXT): Likewise.
27687 * intl/gettext.c (DCGETTEXT): Likewise.
27688 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27689 * posix/regex_internal.h (gettext): Likewise.
27690 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27691 Remove declaration.
27692 * include/argz.h (__argz_count_internal)
27693 (__argz_stringify_internal): Remove declaration.
27694 (__argz_count, __argz_stringify): Declare hidden proto.
27695 * intl/dcgettext.c: Remove use of INTDEF.
27696 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27697 * string/argz-stringify.c: Likewise.
27698 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27699 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27700 Declare hidden proto.
d18ea0c5
AS
27701 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27702 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27703 Declare hidden proto.
27704 * include/stdio.h (__asprintf_internal): Don't declare.
27705 (__asprintf): Don't define as macro. Declare hidden proto.
27706 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27707 (__fsetlocking): Declare hidden proto.
27708 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27709 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27710 hidden proto.
27711 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27712 (_IO_setlinebuf): Remove use of INTUSE.
27713 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27714 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27715 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27716 Remove declaration.
27717 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27718 (_IO_do_flush): Remove use of INTUSE.
27719 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27720 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27721 (_IO_adjust_column, _IO_least_wmarker)
27722 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27723 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27724 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27725 (_IO_default_doallocate, _IO_wdefault_doallocate)
27726 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27727 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27728 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27729 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27730 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27731 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27732 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27733 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27734 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27735 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27736 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27737 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27738 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27739 proto.
27740 (_IO_flush_all_internal, _IO_adjust_column_internal)
27741 (_IO_default_uflow_internal, _IO_default_finish_internal)
27742 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27743 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27744 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27745 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27746 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27747 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27748 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27749 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27750 (_IO_file_close_internal, _IO_file_close_it_internal)
27751 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27752 (_IO_file_init_internal, _IO_file_attach_internal)
27753 (_IO_file_fopen_internal, _IO_file_read_internal)
27754 (_IO_file_sync_internal, _IO_file_seek_internal)
27755 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27756 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27757 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27758 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27759 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27760 (_IO_list_all_internal, _IO_link_in_internal)
27761 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27762 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27763 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27764 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27765 (_IO_do_write_internal, _IO_padn_internal)
27766 (_IO_getline_info_internal, _IO_getline_internal)
27767 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27768 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27769 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27770 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27771 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27772 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27773 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27774 with libc_hidden_ver, remove use of INTUSE.
27775 * libio/genops.c: Likewise.
27776 * libio/freopen.c: Likewise.
27777 * libio/freopen64.c: Likewise.
27778 * libio/iofclose.c: Likewise.
27779 * libio/iofdopen.c: Likewise.
27780 * libio/iofflush.c: Likewise.
27781 * libio/iofflush_u.c: Likewise.
27782 * libio/iofgets.c: Likewise.
27783 * libio/iofgets_u.c: Likewise.
27784 * libio/iofopen.c: Likewise.
27785 * libio/iofopncook.c: Likewise.
27786 * libio/iofread.c: Likewise.
27787 * libio/iofread_u.c: Likewise.
27788 * libio/ioftell.c: Likewise.
27789 * libio/iofwrite.c: Likewise.
27790 * libio/iogetline.c: Likewise.
27791 * libio/iogets.c: Likewise.
27792 * libio/iogetwline.c: Likewise.
27793 * libio/iopadn.c: Likewise.
27794 * libio/iopopen.c: Likewise.
27795 * libio/ioseekoff.c: Likewise.
27796 * libio/ioseekpos.c: Likewise.
27797 * libio/iosetbuffer.c: Likewise.
27798 * libio/iosetvbuf.c: Likewise.
27799 * libio/ioungetc.c: Likewise.
27800 * libio/ioungetwc.c: Likewise.
27801 * libio/iovdprintf.c: Likewise.
27802 * libio/iovsprintf.c: Likewise.
27803 * libio/iovsscanf.c: Likewise.
27804 * libio/memstream.c: Likewise.
27805 * libio/obprintf.c: Likewise.
27806 * libio/oldfileops.c: Likewise.
27807 * libio/oldiofclose.c: Likewise.
27808 * libio/oldiofdopen.c: Likewise.
27809 * libio/oldiofopen.c: Likewise.
27810 * libio/oldiopopen.c: Likewise.
27811 * libio/oldstdfiles.c: Likewise.
27812 * libio/putc.c: Likewise.
27813 * libio/setbuf.c: Likewise.
27814 * libio/setlinebuf.c: Likewise.
27815 * libio/stdfiles.c: Likewise.
27816 * libio/strops.c: Likewise.
27817 * libio/vasprintf.c: Likewise.
27818 * libio/vscanf.c: Likewise.
27819 * libio/vsnprintf.c: Likewise.
27820 * libio/vswprintf.c: Likewise.
27821 * libio/wfiledoalloc.c: Likewise.
27822 * libio/wfileops.c: Likewise.
27823 * libio/wgenops.c: Likewise.
27824 * libio/wmemstream.c: Likewise.
27825 * libio/wstrops.c: Likewise.
27826 * libio/__fpurge.c: Likewise.
27827 * libio/__fsetlocking.c: Likewise.
27828 * assert/assert.c: Likewise.
27829 * debug/fgets_chk.c: Likewise.
27830 * debug/fgets_u_chk.c: Likewise.
27831 * debug/fread_chk.c: Likewise.
27832 * debug/fread_u_chk.c: Likewise.
27833 * debug/gets_chk.c: Likewise.
27834 * debug/obprintf_chk.c: Likewise.
27835 * debug/vasprintf_chk.c: Likewise.
27836 * debug/vdprintf_chk.c: Likewise.
27837 * debug/vsnprintf_chk.c: Likewise.
27838 * debug/vsprintf_chk.c: Likewise.
27839 * malloc/mtrace.c: Likewise.
27840 * misc/error.c: Likewise.
27841 * misc/syslog.c: Likewise.
27842 * stdio-common/asprintf.c: Likewise.
27843 * stdio-common/fxprintf.c: Likewise.
27844 * stdio-common/getw.c: Likewise.
27845 * stdio-common/isoc99_fscanf.c: Likewise.
27846 * stdio-common/isoc99_scanf.c: Likewise.
27847 * stdio-common/isoc99_vfscanf.c: Likewise.
27848 * stdio-common/isoc99_vscanf.c: Likewise.
27849 * stdio-common/isoc99_vsscanf.c: Likewise.
27850 * stdio-common/printf-prs.c: Likewise.
27851 * stdio-common/printf_fp.c: Likewise.
27852 * stdio-common/printf_fphex.c: Likewise.
27853 * stdio-common/printf_size.c: Likewise.
27854 * stdio-common/putw.c: Likewise.
27855 * stdio-common/scanf.c: Likewise.
27856 * stdio-common/sprintf.c: Likewise.
27857 * stdio-common/tmpfile.c: Likewise.
27858 * stdio-common/vfprintf.c: Likewise.
27859 * stdio-common/vfscanf.c: Likewise.
27860 * stdlib/strfmon_l.c: Likewise.
27861 * sunrpc/openchild.c: Likewise.
27862 * sunrpc/xdr_stdio.c: Likewise.
27863 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27864 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27865
d6c33fda
RM
278662012-05-24 Roland McGrath <roland@hack.frob.com>
27867
c1487492
RM
27868 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27869
27870 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27871 in the third column, to generate for the shared library an IFUNC
27872 that uses _dl_vdso_vsym.
27873 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27874 * Makeconfig (object-suffixes-noshared): New variable.
27875
27876 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27877 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27878 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27879 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27880
d6c33fda
RM
27881 [BZ #14132]
27882 * include/sys/time.h (__gettimeofday): Remove macro.
27883 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27884 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27885 Remove INTDEF.
27886 (__gettimeofday): Add libc_hidden_def.
27887 (gettimeofday): Add libc_hidden_weak.
27888 * sysdeps/mach/gettimeofday.c: Likewise.
27889 * sysdeps/posix/gettimeofday.c: Likewise.
27890 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27891 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27893 (__gettimeofday_internal): Remove strong_alias.
27894 (__gettimeofday): Add libc_hidden_def.
27895 (gettimeofday): Add libc_hidden_weak.
27896 * sysdeps/unix/syscalls.list (gettimeofday):
27897 Remove __gettimeofday_internal alias.
27898
b5a2bbe6
L
278992012-05-24 Daniel Jacobowitz <drow@false.org>
27900 H.J. Lu <hongjiu.lu@intel.com>
27901
27902 [BZ #12495]
27903 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27904 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27905 (largebin_index_32_big): New.
27906 (largebin_index): Use it for 16-byte alignment.
27907 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27908 correction with front_misalign.
27909
cfba4fda
L
279102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27911
7f907421
L
27912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27914 Likewise.
27915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27916 Likewise.
27917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27918 Likewise.
27919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27920 Likewise.
27921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27922 Likewise.
27923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27924 Likewise.
27925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27926 Likewise.
27927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27928 Likewise.
27929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27930 Likewise.
27931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27932 Likewise.
27933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27934 Likewise.
27935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27936 Likewise.
27937
cfba4fda
L
27938 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27939 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27940
80bad0cc
JM
279412012-05-24 Joseph Myers <joseph@codesourcery.com>
27942
7a25eb06
JM
27943 [BZ #10846]
27944 [BZ #14036]
27945 * math/libm-test.inc (exp_test): Add test from bug 14036.
27946 (pow_test): Add test from bug 10846.
27947
795405f9
JM
27948 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27949 and other flags.
27950 (special_function): Do not include flags in test name.
27951 (parse_args): Likewise.
27952 * sysdeps/i386/fpu/libm-test-ulps: Update.
27953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27954 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27955 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27957
80bad0cc
JM
27958 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27959 exceptions.
27960 * math/libm-test.inc ("Philosophy"): Update comment about
27961 exception testing.
27962 (UNDERFLOW_EXCEPTION): New macro.
27963 (UNDERFLOW_EXCEPTION_OK): Likewise.
27964 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27965 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27966 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27967 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27968 (INVALID_EXCEPTION_OK): Update value.
27969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27970 (OVERFLOW_EXCEPTION_OK): Likewise.
27971 (IGNORE_ZERO_INF_SIGN): Likewise.
27972 (test_exceptions): Handle underflow exceptions.
27973 (acos_test): Update for underflow exception expectations.
27974 (cexp_test): Likewise.
27975 (clog_test): Likewise.
27976 (clog10_test): Likewise.
27977 (csqrt_test): Likewise.
27978 (ctan_test): Likewise.
27979 (ctanh_test): Likewise.
27980 (exp_test): Likewise.
27981 (exp10_test): Likewise.
27982 (exp2_test): Likewise.
27983 (expm1_test): Likewise.
27984 (fma_test): Likewise.
27985 (j0_test): Likewise.
27986 (jn_test): Likewise.
27987 (nexttoward_test): Likewise.
27988 (pow_test): Likewise.
27989 (scalbn_test): Likewise.
27990 (scalbln_test): Likewise.
27991 (tan_test): Likewise.
27992 (y1_test): Likewise.
27993 * sysdeps/i386/fpu/libm-test-ulps: Update.
27994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27995
9e0e3d0b
DM
279962012-05-23 David S. Miller <davem@davemloft.net>
27997
27998 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27999 (__libc_sigaction): Remove unused local variables.
28000
ccd0a08f
L
280012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28002
28003 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28004
62bdf9a6
PE
280052012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28006
f8591f80
PE
28007 mktime: avoid signed integer overflow
28008 * time/mktime.c (__mktime_internal): Do not mishandle the case
28009 where diff == INT_MIN.
28010
94c7d826
PE
28011 mktime: simplify computation of average
28012 * time/mktime.c (ranged_convert): Use new time_t_avg function
28013 instead of rolling our own (probably-slower) code.
28014
ce73d683
PE
28015 mktime: do not assume signed right shift propagates sign bit
28016 * time/mktime.c (isdst_differ): New static function.
28017 (__mktime_internal): No need to normalize tm_isdst now.
28018 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28019 tm_isdst values.
28020
72a22e59
PE
28021 mktime: merge another wrapv change from gnulib
28022 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28023 from some compilers.
28024
68605433
PE
28025 mktime: remove incorrect attempt at unusual arithmetics
28026 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28027 The code didn't really work on such machines anyway.
28028 (TYPE_MINIMUM): Assume two's complement.
28029 (twos_complement_arithmetic): Verify that long_int and time_t
28030 are two's complement (or unsigned, in the latter case).
28031
03cf7fe3
PE
28032 mktime: check signed shifts on long_int and time_t, too
28033 * time/mktime.c (SHR): Check that shifts work as desired
28034 on the types long_int and time_t too, as SHR is used on
28035 such types.
28036
f04dfbc2
PE
28037 mktime: do not assume 'long' is wide enough
28038 * time/mktime.c (verify): Move decl up.
28039 (long_int): New type.
28040 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28041 to remove assumption in the code that 'long' is wide enough to
28042 store year values. This assumption is not true on x32 and on
28043 some non-glibc platforms.
28044
62bdf9a6
PE
28045 mktime: merge wrapv change from gnulib
28046 * time/mktime.c (WRAPV): New macro.
28047 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28048 (guess_time_tm, __mktime_internal): Do not assume that signed
28049 integer overflow wraps around; modern compilers generate code
28050 where this assumption is no longer valid.
28051
5e292e4f
L
280522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28053
28054 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28055 Replace "jmp L(pseudo_end)" with "ret".
28056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28057 Likewise.
28058
8caf8c87
AJ
280592012-05-23 Andreas Jaeger <aj@suse.de>
28060
28061 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28062 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28063
1a09dc56
AJ
280642012-05-23 Andreas Jaeger <aj@suse.de>
28065 Maximilian Attems <max@stro.at>
28066
28067 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28068 New macros.
28069
1c87aba0
L
280702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28071
28072 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28073 code so that pseudo_end is just ret and the stack pointer is
28074 correct also for static library in error case.
28075
40e45bd5
JM
280762012-05-23 Joseph Myers <joseph@codesourcery.com>
28077
c2670533
JM
28078 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28079 move to syscalls.list.
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28084
40e45bd5
JM
28085 * manual/install.texi (Running make install): Do not mention Linux
28086 kernel version for which pt_chown is not needed.
28087 (Linux): Do not mention problems with nscd with 2.0 kernels.
28088 * INSTALL: Regenerated.
28089
be08eda5
AJ
280902012-05-23 Andreas Jaeger <aj@suse.de>
28091
28092 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28093 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28094 macro.
28095 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28097 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28099 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28100 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28101 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28102 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28103 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28104 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28105 * sysdeps/unix/sysv/linux/bits/in.h
28106 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28107
a6a056bb
RM
281082012-05-22 Roland McGrath <roland@hack.frob.com>
28109
28110 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28111 (PREPARE_VERSION): Just use assert instead, it will be elided
28112 under [NDEBUG] anyway.
28113
c9009328
L
281142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28115
28116 * sysdeps/unix/sysv/linux/Makefile: Include
28117 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28118 (sysdep_routines): Remove sysctl.
c9009328
L
28119 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28120 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28121 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28122 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28123 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28124
73338355
AJ
281252012-05-22 Andreas Jaeger <aj@suse.de>
28126
28127 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28128 that pseudo_end is just ret and the stack pointer is correct also
28129 for static library in error case.
28130
d44638b0
PP
281312012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28132
28133 [BZ #14122]
28134 * nss/nsswitch.c (defconfig_entries): New variable.
28135 (__nss_database_lookup): Don't leak defconfig entries.
28136 (nss_parse_service_list): Don't leak on error paths.
28137 (free_database_entries): New function.
28138 (free_defconfig): New function.
28139 (free_mem): Move common code to free_database_entries.
28140
31a39bd8
L
281412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28142
da0331a8
L
28143 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28144 Add arch_prctl.
28145 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28146
31a39bd8
L
28147 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28148 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28150 New macro.
28151 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28152 (INTERNAL_SYSCALL_TYPES): Likewise.
28153 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28154 (LOAD_REGS_TYPES_[1-6]): Likewise.
28155 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28156 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28157
45470df3
AZ
281582012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28159
28160 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28161 copysignl for GLIBC_2_0.
28162 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28163 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28164 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28165 logbl for GLIBC_2_0.
28166 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28167 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28168
98a61bcb
L
281692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28170
a4f6e481
L
28171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28172 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28173
f63d5db6
L
28174 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28175 Use "neg %eax".
28176
98a61bcb
L
28177 * time/mktime.c: Update copyright years.
28178
95770f14
PE
281792012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28180
6226efbd
PE
28181 mktime: merge comment-quoting-style change from gnulib
28182 * time/mktime.c: Quote 'like this' in comments.
28183 The GNU coding standards suggest that we no longer quote `like this',
28184 as "`" and "'" are typically rendered asymmetrically nowadays.
28185 The typical gnulib style is to quote 'like this' when quoting
28186 code, and "like this" when quoting English.
28187
b99e4f78
PE
28188 * time/mktime.c (compile-command): Add "-I.".
28189
643e01e6
PE
28190 mktime: merge mktime-internal.h change from gnulib
28191 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28192
2554247d
PE
28193 mktime: merge time_r change from gnulib
28194 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28195
826dd0ab
PE
28196 mktime: merge DEBUG change from gnulib
28197 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28198 case system <time.h> has a #define.
28199
bd83aabe
PE
28200 mktime: merge <sys/types.h> change from gnulib
28201 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28202 since <time.t> is now guaranteed to define time_t.
28203
95770f14
PE
28204 mktime: merge HAVE_CONFIG_H change from gnulib
28205 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28206
5e1a27a9
L
282072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28208
0e44a77e
L
28209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28210 Use "neg %eax".
28211
5e1a27a9
L
28212 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28213 __rlim_t cast.
28214 (struct rusage): Use anonymous union to pad each field to
28215 __syscall_slong_t.
28216
46259bec
DM
282172012-05-21 David S. Miller <davem@davemloft.net>
28218
28219 * Makefules (o-iterator): Remove .s cases.
28220 (compile-command.s): Delete.
28221 (COMPILE.s): Delete.
28222 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28223
59f0c22e
JM
282242012-05-21 Joseph Myers <joseph@codesourcery.com>
28225
28226 * configure.in (libc_cv_predef_stack_protector): Only consider
28227 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28228 * configure: Regenerated.
28229
20c07380
L
282302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28231
bbb3154b
L
28232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28233 New macro. Use R*LP on int and pointer.
28234 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28235 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28236 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28237 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28238
20c07380
L
28239 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28240 [__WORDSIZE_TIME64_COMPAT32] instead of
28241 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28242 (struct utmp): Likewise.
28243 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28244 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28245 Renamed to ...
28246 (__WORDSIZE_TIME64_COMPAT32): This.
28247 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28248 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28249 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28250 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28251 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28252 (__WORDSIZE_TIME64_COMPAT32): New macro.
28253
d8d1017e
AJ
282542012-05-21 Andreas Jaeger <aj@suse.de>
28255
28256 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28257 only if [SHARED]. Add prototype for __wcschr_ia32.
28258
6c7fb145
RM
282592012-05-21 Roland McGrath <roland@hack.frob.com>
28260
28261 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28262 of %rbp unmolested in the jmp_buf while mangling the low bits.
28263 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28264 unmolested high bits of %rbp while demangling the low bits.
28265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28266
66274218
AJ
282672012-05-21 Andreas Jaeger <aj@suse.de>
28268
07c58f8f
AJ
28269 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28270 * sunrpc/svc_simple.c: Use it for registerrpc.
28271 * sunrpc/xcrypt.c: Use it for passwd2des.
28272
66274218
AJ
28273 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28274
61f65140
L
282752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28278 Don't define if [__SYSCALL_WORDSIZE != 32].
28279 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28280 New macro.
28281
5fefb436
AJ
282822012-05-21 Bruno Haible <bruno@clisp.org>
28283 Andreas Jaeger <aj@suse.de>
28284
28285 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28286 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28287 inptr and inend for must_buffer_ch.
28288 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28289 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28290 * stdio-common/Makefile (tests): Remove bug15.
28291 (bug15-ENV): Remove macro.
28292 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28293 anymore.
28294
d8e272ab
AJ
282952012-05-19 Andreas Jaeger <aj@suse.de>
28296 Roland McGrath <roland@hack.frob.com>
28297
28298 * manual/contrib.texi: Completely rewritten. It contains now an
28299 alphabetical list of contributors and their contributions.
28300
4a56a162
RH
283012012-05-21 Richard Henderson <rth@twiddle.net>
28302
28303 * misc/getauxval.c (__getauxval): Use unsigned long int.
28304 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28305 (getauxval): Use unsigned long int.
28306
d024d23c
L
283072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28308
28309 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28310
cbc00a03
RM
283112012-05-21 Roland McGrath <roland@hack.frob.com>
28312
28313 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28314 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28315 __alignof__ (long double).
28316
478143fa
AZ
283172012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28318
28319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28320
c7683a6d
RH
283212012-05-20 Richard Henderson <rth@twiddle.net>
28322
28323 * misc/getauxval.c: New file.
28324 * misc/sys/auxv.h: New file.
28325 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28326 (routines): Add getauxval.
28327 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28328 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28329 * elf/dl-sysdep.c (_dl_auxv): Remove.
28330 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28331 * elf/dl-support.c (_dl_auxv): New variable.
28332 (_dl_aux_init): Initialize it.
28333 * manual/startup.texi (Auxiliary Vector): New node.
28334 * sysdeps/generic/bits/hwcap.h: New file.
28335 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28336 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28337 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28338 * sysdeps/sparc/sysdep.h: ... here. Include it.
28339 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28342 Update.
c7683a6d
RH
28343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28351
a6f1845d
AZ
283522012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28353
28354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28355
cbcbe830
DM
283562012-05-19 David S. Miller <davem@davemloft.net>
28357
28358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28359
e0b16cc2
JM
283602012-05-19 Joseph Myers <joseph@codesourcery.com>
28361
28362 [BZ #14123]
28363 * math/s_ccosh.c: Include <float.h>
28364 (__ccosh): Avoid internal overflow calculating sinh and cosh
28365 values before multiplying by sin and cos values.
28366 * math/s_ccoshf.c: Likewise.
28367 * math/s_ccoshl.c: Likewise.
28368 * math/s_csin.c: Likewise.
28369 * math/s_csinf.c: Likewise.
28370 * math/s_csinl.c: Likewise.
28371 * math/s_csinh.c: Likewise.
28372 * math/s_csinhf.c: Likewise.
28373 * math/s_csinhl.c: Likewise.
28374 * math/libm-test.inc (ccos_test): Add more tests.
28375 (ccosh_test): Likewise.
28376 (csin_test): Likewise.
28377 (csinh_test): Likewise.
28378 * sysdeps/i386/fpu/libm-test-ulps: Update.
28379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28380
6ad13e08
L
283812012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28382
f66f0ce8
L
28383 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28384 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28385
6ad13e08
L
28386 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28387
b1d072a7
JM
283882012-05-19 Joseph Myers <joseph@codesourcery.com>
28389
28390 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28391 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28392 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28393 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28394 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28395 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28396 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28397 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28398 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28399 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28400 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28401 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28402 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28403 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28404 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28405 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28406 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28407 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28408 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28409 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28410 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28411 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28412 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28413 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28414 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28415 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28416 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28417 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28418 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28419 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28420 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28421
9eae47cb
AJ
284222012-05-18 Andreas Jaeger <aj@suse.de>
28423
28424 * csu/.gitignore: Delete.
28425
bb07f69f
L
284262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28429 (timex): Use __syscall_slong_t.
28430
e6bdb741
AJ
284312012-05-18 Andreas Jaeger <aj@suse.de>
28432 Carlos O'Donell <carlos_odonell@mentor.com>
28433
28434 * manual/install.texi (Configuring and compiling): Update
28435 description about files modified in the source directory.
d6c33fda 28436 * INSTALL: Regenerated.
e6bdb741 28437
1b74487e
L
284382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28441 value. Use "or" to set return value to -1.
28442 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28443 negate return value.
28444
a88b64b9
TMQMF
284452012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28446
28447 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28448 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28449 failure if the compiler has Graphite support disabled.
28450 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28451 Likewise.
28452 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28453 CFLAGS-memmove.c): Likewise.
28454 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28455 Likewise.
28456
3707636e
L
284572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28458
610b8622
L
28459 * sysdeps/x86_64/x32/_itoa.h: New file.
28460
7cd195df
L
28461 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28462 getdents system call only if kernel and user dirents have the
28463 same d_ino and d_off.
28464
94b07d20
L
28465 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28466 LLONG_MAX != LONG_MAX.
28467 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28468 (_fitoa_word): Likewise.
28469
18298070
L
28470 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28471 years.
28472 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28473 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28474 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28475
553c7ea4
L
28476 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28477 include <bits/wordsize.h>. Check __x86_64__ instead of
28478 __WORDSIZE.
28479 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28480 if __x86_64__ is defined. Use anonymous union on fpstate.
28481
3707636e
L
28482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28483 anonymous union.
28484
b53ef01a
AS
284852012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28486
37fb1dc0
AS
28487 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28488 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28489 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28490 Refer to _rtld_local_ro instead of _rtld_global_ro.
28491 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28492 Likewise.
28493 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28494 Likewise.
28495 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28496 Likewise.
28497 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28498 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28499 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28500
b53ef01a
AS
28501 * sysdeps/powerpc/powerpc32/dl-machine.c
28502 (__elf_machine_runtime_setup) [PROF]: Don't reference
28503 _dl_prof_resolve.
28504
7a185db2
AJ
285052012-05-18 Andreas Jaeger <aj@suse.de>
28506
28507 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28508 function only available for GCCs before 3.4 since GCC 3.4
28509 introduced a builtin.
28510 (lrint): Likewise.
28511 (llrintf): Likewise.
28512 (llrint): Likewise.
28513 (fmaxf): Likewise.
28514 (fmax): Likewise.
28515 (fminf): Likewise.
28516 (fmin): Likewise.
28517 (rint): Likewise.
28518 (rintf): Likewise.
28519 (nearbyint): Likewise.
28520 (nearbyintf): Likewise.
28521 (ceil): Likewise.
28522 (ceilf): Likewise.
28523 (floor): Likewise.
28524 (floorf): Likewise.
28525
3e5aef87
L
285262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28527
428bd707
L
28528 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28529 on both fields and cast pointer to __syscall_ulong_t.
28530
3e5aef87
L
28531 * bits/types.h (__fsword_t): New type.
28532 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28533 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28535 (__FSWORD_T_TYPE): Likewise.
28536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28537 (__FSWORD_T_TYPE): Likewise.
28538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28539 (__FSWORD_T_TYPE): Likewise.
28540 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28541 (__FSWORD_T_TYPE): Likewise.
28542 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28543 __SWORD_TYPE with __fsword_t.
28544 (statfs64): Likewise.
28545
1ba7c3dc
DM
285462012-05-17 David S. Miller <davem@davemloft.net>
28547
28548 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28549
59910343
AJ
285502012-05-17 Andreas Jaeger <aj@suse.de>
28551
28552 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28553 warning.
28554
2e4c1e9e
L
285552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28556
28557 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28558
de7f5ce7
AJ
285592012-05-17 Andreas Jaeger <aj@suse.de>
28560
28561 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28562 when it is used.
28563
286abc3d
CM
285642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28565
28566 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28567
477cc68e
L
285682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28569
28570 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28571 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28572
1a0994f5
CD
285732012-05-17 Andreas Jaeger <aj@suse.de>
28574 Carlos O'Donell <carlos_odonell@mentor.com>
28575
28576 [BZ #14059]
28577 * sysdeps/x86_64/multiarch/init-arch.h
28578 (bit_YMM_Usable): Rename to...
28579 (bit_AVX_Usable): ... this.
28580 (bit_FMA4_Usable): New macro.
28581 (bit_XMM_state): New macro.
28582 (bit_YMM_state): New macro.
28583 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28584 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28585 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28586 (CPUID_OSXSAVE): New macro.
28587 (CPUID_AVX): New macro.
28588 (CPUID_FMA4): New macro.
28589 (index_YMM_Usable): Rename to...
28590 (index_AVX_Usable): ... this.
28591 (HAS_AVX): Use HAS_ARCH_FEATURE.
28592 (HAS_FMA4): Likewise.
28593 (HAS_YMM_USABLE): Remove.
28594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28595 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28596 are present.
28597 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28598 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28599 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28600 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28601 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28602
0af797de
CM
286032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28604
28605 * math/libm-test.c: Support platforms without multiple rounding modes.
28606 * math/bug-nextafter.c: Support platforms without FP exceptions.
28607 * math/bug-nexttoward.c: Likewise.
28608 * math/test-fenv.c: Likewise.
28609 * math/test-misc.c: Likewise.
28610 * stdlib/bug-getcontext.c: Likewise.
28611
e39745ff
AJ
286122012-05-17 Andreas Jaeger <aj@suse.de>
28613
28614 * manual/examples/search.c (critter_cmp): Change signature to
28615 avoid warnings.
28616 * manual/string.texi (Collation Functions): Likewise.
28617
48970aba
L
286182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28619
28620 * bits/types.h: Fold copyright years.
28621 * bits/typesizes.h: Likewise.
28622 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28626 * time/time.h: Likewise.
28627
bedee953
PP
286282012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28629
28630 [BZ #208]
28631 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28632 in instead of returning them. Return void.
28633 (__libc_mallinfo): Accumulate over all arenas.
28634 (__malloc_stats): Adjust for change in int_mallinfo interface.
28635
61653dfb
RM
286362012-05-16 Roland McGrath <roland@hack.frob.com>
28637
30b99d79
RM
28638 [BZ #10375]
28639 * configure.in (NM): Add AC_CHECK_TOOL for it.
28640 (libc_extra_cflags): New substituted variable.
28641 Check for -fstack-protector being used implicitly.
28642 * configure: Regenerated.
28643 * config.make.in (config-extra-cflags): New variable,
28644 gets @libc_extra_cflags@.
28645 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28646
61653dfb
RM
28647 [BZ #10375]
28648 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28649 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28650 * configure: Regenerated.
28651 * config.make.in (CPPUNDEFS): New substituted variable.
28652 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28653 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28654 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28655
661768bb
L
286562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28657
28658 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28659 (mq_attr): Use __syscall_slong_t.
28660
d4261567
L
286612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28662
28663 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28664 Check __x86_64__ instead of __WORDSIZE.
28665 (_STAT_VER_LINUX): Likewise.
28666 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28667 __syscall_ulong_t and __syscall_slong_t.
28668 (stat64): Likewise.
28669
cf3ff365
L
286702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28671
28672 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28673
76cf3e4d
L
286742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28675
28676 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28677
a637753a
L
286782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28679
28680 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28681 __syscall_ulong_t.
28682
d5e05119
L
28683 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28684 include <bits/wordsize.h>. Check __x86_64__ instead of
28685 __WORDSIZE.
28686 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28687 defined.
28688 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28689
f62ee380
L
28690 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28691 include <bits/wordsize.h>. Check __x86_64__ instead of
28692 __WORDSIZE.
28693 (user_regs_struct): Use "__extension__ unsigned long long"
28694 instead of "unsigned long" if __x86_64__ is defined.
28695 (user): Likewise. Pad after pointer field if __ILP32__ is
28696 defined.
28697
4e124ced
JM
286982012-05-16 Joseph Myers <joseph@codesourcery.com>
28699
6a3951a0
JM
28700 * configure.in (makeinfo): Require version 4.5 or later. Allow
28701 versions 5 to 9.
28702 * configure: Regenerated.
28703 * manual/install.texi (texinfo): Increase version requirement to
28704 4.5 or later.
28705 * INSTALL: Regenerated.
28706
4e124ced
JM
28707 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28708
953ca31a
L
287092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28710
28711 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28712
617aca05
L
28713 * sysdeps/x86_64/x32/ffs.c: New file.
28714
5762f7ae
L
28715 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28716 __syscall_ulong_t.
28717 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28718 defined. Use __syscall_ulong_t.
28719 (shminfo): Use __syscall_ulong_t.
28720 (shm_info): Likewise.
28721
a26b6856
L
28722 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28723 __syscall_ulong_t.
28724
cb2b9ef7
L
28725 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28726 <bits/wordsize.h>.
28727 (msgqnum_t): Use __syscall_ulong_t.
28728 (msglen_t): Likewise.
28729 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28730 __syscall_ulong_t.
28731
34683bb0
L
28732 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28733 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28734
84a68786
L
28735 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28736
48baa5f1
L
28737 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28738 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28739
180be88b
L
28740 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28741 __syscall_slong_t.
28742
5e90c8ad
L
28743 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28744 include <bits/wordsize.h>. Check __x86_64__ instead of
28745 __WORDSIZE.
28746
23dfb58b
L
28747 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28748 "unsigned long long int" if __x86_64__ is defined.
28749 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28750
ce5d54b0
L
28751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28752 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28753 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28754
13dc9eac
L
28755 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28756 <stdint.h>.
28757 (GET_PC): Cast to uintptr_t first.
28758 (GET_FRAME): Likewise.
28759 (GET_STACK): Likewise.
28760
a7895d15
L
28761 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28762 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28763 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28764 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28765 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28768 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28770 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28771 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28774 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28776 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28777 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28778 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28779 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28780 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28781 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28783 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28790
656416c9
AS
287912012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28792
5bd66283
AS
28793 * Makerules (+depfiles): Also collect depfiles from .oS in
28794 $(extra-objs).
28795 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28796 .oS, $(libnldbl-routines)).
28797
656416c9
AS
28798 * Makerules (native-compile-mkdep-flags): Define.
28799 * sunrpc/Makefile (extra-objs): Add $(addprefix
28800 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28801 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28802 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28803 calling $(make-target-directory).
28804
a46f2169
L
288052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28806
28807 * bits/types.h (__snseconds_t): Removed.
28808 * time/time.h (struct timespec): Replace __snseconds_t with
28809 __syscall_slong_t.
28810 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28811 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28812 Likewise.
28813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28814 (__SNSECONDS_T_TYPE): Likewise.
28815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28816 (__SNSECONDS_T_TYPE): Likewise.
28817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28818 (__SNSECONDS_T_TYPE): Likewise.
28819
6af6528b
L
288202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28821
28822 * sysdeps/mach/hurd/bits/typesizes.h
28823 (__SYSCALL_SLONG_TYPE): New macro.
28824 (__SYSCALL_ULONG_TYPE): Likewise.
28825
de986b56
L
288262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28827
28828 * bits/types.h (__syscall_slong_t): New type.
28829 (__syscall_ulong_t): Likewise.
28830
28831 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28832 (__SYSCALL_ULONG_TYPE): Likewise.
28833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28834 (__SYSCALL_SLONG_TYPE): Likewise.
28835 (__SYSCALL_ULONG_TYPE): Likewise.
28836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28837 (__SYSCALL_SLONG_TYPE): Likewise.
28838 (__SYSCALL_ULONG_TYPE): Likewise.
28839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28840 (__SYSCALL_SLONG_TYPE): Likewise.
28841 (__SYSCALL_ULONG_TYPE): Likewise.
28842
85736dc7
L
288432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28844
28845 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28846 Add sigaltstack-offsets.sym.
28847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28848 <sigaltstack-offsets.h>.
28849 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28850 longjmp_msg pointer.
28851 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28852 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28853 signal stack.
28854 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28855
cc03b296
JM
288562012-05-15 Joseph Myers <joseph@codesourcery.com>
28857
a9538892
JM
28858 * elf/stackguard-macros.h: Remove file.
28859 * sysdeps/generic/stackguard-macros.h: New file.
28860 * sysdeps/i386/stackguard-macros.h: Likewise.
28861 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28862 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28863 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28864 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28865 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28866 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28867 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28868 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28869 <elf/stackguard-macros.h>.
28870
cc03b296
JM
28871 [BZ #14109]
28872 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28873 __aligned__ in attribute.
28874 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28875 (gregset_t): Likewise.
28876
93171016
L
288772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28878
28879 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28880 * sysdeps/x86_64/64/Implies-after: Here. New file.
28881 * sysdeps/x86_64/x32/Implies-after: New file.
28882
d86813a0
L
288832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28884
28885 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28886 and access return value for _dl_profile_fixup. Use R10_LP to
28887 load frame size.
28888
2953ec75
L
288892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28890
28891 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28892
3b550e9e
L
288932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28894
28895 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28896 * sysdeps/x86_64/x32/sysdep.h: New file.
28897
eda41706
L
288982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28899
28900 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28901 * sysdeps/x86_64/setjmp.S: Likewise.
28902
9ea01d93
AZ
289032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28904
28905 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28907 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28908 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28909 remove unused global constant.
28910
02a91938
CM
289112012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28912
28913 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28914 include of <not-cancel.h>.
28915
6540185f
RM
289162012-05-15 Roland McGrath <roland@hack.frob.com>
28917
28918 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28919
509072a0
AJ
289202012-05-15 Jeff Law <law@redhat.com>
28921 Andreas Jaeger <aj@suse.de>
28922
28923 [BZ #13594]
28924 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28925 out from...
28926 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28927 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28928 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28929 code changing __hst_map_handle.map.
28930
ba75122d
RM
289312012-05-15 Roland McGrath <roland@hack.frob.com>
28932
28933 * configure.in (sysnames): Look for Implies-before and Implies-after
28934 files.
28935 * configure: Regenerated.
28936
890d8bd8
L
289372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28938
28939 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28940 8-byte data alignment with LP_SIZE alignment.
28941
f6ee6623
L
289422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28943
28944 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28945 into R10_LP.
28946
ea2626f6
L
289472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28948
28949 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28950
085f715e
L
289512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28952
28953 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28954 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28956 Likewise.
28957 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28958
be8498fc
L
289592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28960
28961 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28962 (stackinfo_sub_sp): Likewise.
28963
70bc83b9
L
289642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28965
28966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28967 RAX_LP.
28968
9bc0b730
L
289692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28970
28971 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28972 into R*_LP.
28973
6d2850e7
L
289742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28975
28976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28977 sizes into R*_LP.
28978
3cb84561
L
289792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28980
28981 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28982
54e2ed81
L
289832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28984
28985 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28986 into R11_LP and load __x86_64_shared_cache_size_half into
28987 R8_LP.
28988
8a17f349
L
289892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28992 R8_LP.
28993
777b1eea
AZ
289942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28995
28996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28997 logb for POWER7.
28998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28999 logbf for POWER7.
29000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29001 logbl for POWER7.
29002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29003 powerpc32/power7/fpu/s_logb.c via #include.
29004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29005 powerpc32/power7/fpu/s_logbf.c via #include.
29006 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29007 powerpc32/power7/fpu/s_logbl.c via #include.
29008
d20d4ac2
JM
290092012-05-15 Joseph Myers <joseph@codesourcery.com>
29010
29011 * README.libm: Remove file.
29012
6cdef1ab
L
290132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29014
29015 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29016 count for x32. Use R*_LP and omit operand-size suffix.
29017
0b254d8f
L
290182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29019
29020 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29021 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29022 * sysdeps/x86_64/x32/shlib-versions: New file.
29023
ceb809dc
RM
290242012-05-14 Roland McGrath <roland@hack.frob.com>
29025
29026 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29027 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29028 Use _dl_fatal_printf instead.
29029
37f1abd4
JM
290302012-05-14 Joseph Myers <joseph@codesourcery.com>
29031
29032 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29033 set if not set by the user. Do not allow for being unset.
29034 * sysdeps/unix/sysv/linux/configure: Regenerated.
29035
11de3a33
L
290362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29037
29038 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29039 the `q' suffix from lea and replace .quad with ASM_ADDR.
29040
e02f153a
L
290412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29042
29043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29044 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29045 instead of $17.
29046 (PTR_DEMANGLE): Likewise.
29047
520ae0fd
L
290482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29049
29050 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29051 (LP_OP): Likewise.
29052 (ASM_ADDR): Likewise.
29053 (RAX_LP): Likewise.
29054 (RBP_LP): Likewise.
29055 (RBX_LP): Likewise.
29056 (RCX_LP): Likewise.
29057 (RDI_LP): Likewise.
29058 (RSI_LP): Likewise.
29059 (RSP_LP): Likewise.
29060 (R8_LP): Likewise.
29061 (R9_LP): Likewise.
29062 (R10_LP): Likewise.
29063 (R10_LP): Likewise.
29064 (R11_LP): Likewise.
29065 (R12_LP): Likewise.
29066 (R13_LP): Likewise.
29067 (R14_LP): Likewise.
29068 (R15_LP): Likewise.
29069
b985be81
L
290702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29071
29072 * sysdeps/x86_64/x32/dl-machine.h: New file.
29073
6a4888ff
AJ
290742012-05-14 Andreas Jaeger <aj@suse.de>
29075
29076 * manual/Makefile (subdir): Remove export of subdir.
29077 (all): Remove target.
29078 (.PHONY): Remove all from list.
29079 (mkinstalldirs): Remove.
29080 (.PHONY): Remove installdirs from list.
29081 ($(inst_infodir)/libc.info): Use make-target-directory.
29082 (installdirs): Remove.
29083 (subdir_%): Remove.
29084 (glibc-targets): Remove.
29085 (lib): Remove.
29086 (stubs): Remove.
29087 ($(objpfx)stubs ../po/manual.pot): Remove.
29088 ($(objpfx)stamp%): Remove.
29089 (make-target-directory): Remove.
29090 (subdir_install): Remove.
29091 (routines): Remove.
29092 (aux): Remove.
29093 (sources): Remove.
29094 (objects): Remove.
29095 (headers): Remove.
29096
29097 [BZ #13750]
29098 * manual/.gitignore: Remove, it's not needed anymore.
29099 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29100 all files in it.
29101 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29102 directory.
29103 (texis): Renamed to $(objpfx)texis.
29104 (texis-path): New, contains path to generated files.
29105 (chapters.%): Use texis-path for complete path, add extra argument
29106 libc-texinfo.sh.
29107 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29108 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29109 (summary,texi, stamp-summary): Use complete path of
29110 files. Generate files in build dir.
29111 (dir-add.texi): Build in build dir.
29112 (libm-err.texi,stamp-libm-err): Likewise.
29113 (version.texi, stamp-version): Likewise.
29114 (.%c.texi): Likewise.
29115 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29116 (mostlyclean): Remove target.
29117 (realclean): Remove target.
29118 (generated): Add new variable with contents from mostlyclean and
29119 realclean, remove entries duplicated in common-mostlyclean, add
29120 stamp-libm-err and stamp-version.
29121 (generated-dirs): Add libc directory.
29122 ($(inst_infodir)/libc.info): Install files from build dir.
29123
29124 * manual/install.texi (Configuring and compiling): Adjust since
29125 the info files are not part of the tar ball anymore.
29126
7ac77294
AJ
291272012-05-14 Andreas Jaeger <aj@suse.de>
29128
29129 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29130 variable.
29131
ffb7875d
JM
291322012-05-14 Joseph Myers <joseph@codesourcery.com>
29133
29134 [BZ #13717]
29135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29136 to 2.2.0 where earlier.
29137 * sysdeps/unix/sysv/linux/configure: Regenerated.
29138 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29139 Remove conditional code.
29140 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29141 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29142 Remove conditional code.
29143 [!__NR_lchown]: Likewise.
29144 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29145 [__NR_lchown]: Likewise.
29146 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29147 comment referencing __ASSUME_LCHOWN_SYSCALL.
29148 * sysdeps/unix/sysv/linux/i386/sigaction.c
29149 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29150 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29151 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29152 Remove conditional code.
29153 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29154 (__protocol_available): Remove #if 0 code.
29155 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29156 conditional code.
29157 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29158 * sysdeps/unix/sysv/linux/kernel-features.h
29159 (__ASSUME_GETCWD_SYSCALL): Don't define.
29160 (__ASSUME_REALTIME_SIGNALS): Likewise.
29161 (__ASSUME_PREAD_SYSCALL): Likewise.
29162 (__ASSUME_PWRITE_SYSCALL): Likewise.
29163 (__ASSUME_POLL_SYSCALL): Likewise.
29164 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29165 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29166 non-SPARC.
29167 (__ASSUME_SIOCGIFNAME): Don't define.
29168 (__ASSUME_MSG_NOSIGNAL): Likewise.
29169 (__ASSUME_SENDFILE): Define unconditionally.
29170 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29171 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29172 conditional code.
29173 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29174 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29175 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29176 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29177 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29178 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29179 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29181 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29184 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29187 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29190 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29193 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29196 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29204 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29205 Remove conditional code.
29206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29207 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29208 Remove conditional code.
29209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29210 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29211 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29212 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29213 Remove conditional code.
29214 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29215 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29216 Remove conditional code.
29217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29218 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29219 Remove conditional code.
29220 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29221 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29222 Remove conditional code.
29223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29224 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29225 Remove conditional code.
29226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29227 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29228 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29230 * sysdeps/unix/sysv/linux/sigaction.c
29231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29233 * sysdeps/unix/sysv/linux/sigpending.c
29234 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29235 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29236 * sysdeps/unix/sysv/linux/sigprocmask.c
29237 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29238 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29239 * sysdeps/unix/sysv/linux/sigsuspend.c
29240 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29241 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29242 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29243 (__libc_missing_rt_sigs): Remove.
29244 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29245 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29246 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29247 Remove conditional code.
29248 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29249 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29250 return 1.
29251 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29252 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29253 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29254 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29255
1bfb7291
AJ
292562012-05-14 Andreas Jaeger <aj@suse.de>
29257
caae5a81
AJ
29258 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29259 it's not used in glibc.
29260 (__coshm1): Likewise.
29261 (__acosh1p): Likewise.
29262 (__sgn): Likewise.
29263
1bfb7291
AJ
29264 * manual/string.texi (Copying and Concatenation): Add missing
29265 variable in concat example.
29266 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29267
c044d724
L
292682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29269
144c5467 29270 [BZ #14103]
c044d724
L
29271 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29272 __builtin_clzl with __builtin_clzll.
29273
2523c62b
L
292742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29275
29276 [BZ #14104]
29277 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29278 libc_freeres_ptr.
29279
d7bb4c42
LD
292802012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29281
29282 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29283 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29284 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29285 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29286
9dc4e1fb
MF
292872012-05-14 Mike Frysinger <vapier@gentoo.org>
29288
29289 * NEWS: Update ia64 info.
29290
c7df0112
AS
292912012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29292
29293 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29294 used as bcopy.
29295
dc70356c
TS
292962012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29297
29298 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29299 * sysdeps/unix/syscalls.list (dup3): Likewise.
29300 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29301 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29302
9fb1a21f
L
293032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29304
29305 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29306 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29307
4822a2a5
L
293082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29309
29310 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29311 thread pointer.
29312 (TLS_IE): Use mov/add instead of movq/addq to load thread
29313 pointer.
29314 (TLS_GD_PREFIX): New.
29315 (TLS_GD): Use it.
29316
842b81d6
DM
293172012-05-11 David S. Miller <davem@davemloft.net>
29318
29319 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29320 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29321 (_FPU_SETCW): Likewise.
29322
1cf463cd
L
293232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29324
29325 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29326 is 32-byte aligned.
29327
60cc4a18
AS
293282012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29329
29330 [BZ #11837]
29331 * iconvdata/gb18030.c: Update tables.
29332 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29333 characters specially.
29334 (BODY for TO_LOOP): Add encoding of missing ranges.
29335
febb44a4
TS
293362012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29337
29338 [BZ #13673]
29339 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29340 * sysdeps/mach/hurd/dup3.c: Likewise.
29341 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29342 * sysdeps/powerpc/memmove.c:: Likewise.
29343
0a10fb9e
L
293442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29345
29346 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29347 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29348
df8a552f
L
293492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29350
29351 * elf/elf.h (R_X86_64_RELATIVE64): New.
29352 (R_X86_64_NUM): Updated.
29353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29354 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29355 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29356 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29357 tst-quad1pie tst-quad2pie
29358 (modules-names): Add tst-quadmod1 tst-quadmod2.
29359 ($(objpfx)tst-quad1): New dependency.
29360 ($(objpfx)tst-quad2): Likewise.
29361 ($(objpfx)tst-quad1pie): Likewise.
29362 ($(objpfx)tst-quad2pie): Likewise.
29363 * sysdeps/x86_64/tst-quad1.c: New file.
29364 * sysdeps/x86_64/tst-quad1pie.c: New file.
29365 * sysdeps/x86_64/tst-quad2.c: Likewise.
29366 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29367 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29368 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29369 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29370 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29371
f34d6f84
ST
293722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29373
f42d41d1
ST
29374 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29375 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29376 * streams/stropts.h (t_scalar_t): Define type.
29377
3c3571fc
ST
29378 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29379 (_PATH_PRESERVE): Set to "/var/lib".
29380 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29381
61f06bd3
ST
29382 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29383 instead of int.
29384
918d4d71
ST
29385 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29386 if __dir_mkfile succeeded.
29387
f34d6f84
ST
29388 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29389 checking for _hurd_dtablesize. Unlock it right after having
29390 finished _hurd_dtable allocation.
29391
10589b4a
TS
293922012-05-10 Thomas Schwinge <thomas@schwinge.name>
29393
674cdbc7
TS
29394 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29395 * sysdeps/mach/hurd/configure: Regenerated.
29396 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29397 special-casing to...
29398 * sysdeps/gnu/configure.in: ... this new file.
29399 * sysdeps/unix/sysv/linux/configure: Regenerated.
29400 * sysdeps/gnu/configure: New generated file.
29401
8e41b99f
TS
29402 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29403 for Linux: use nsec instead of usec, as well as:
29404 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29405 members of type struct timespec.
29406 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29407 New macros.
29408 (struct stat64): Likewise.
29409 (_STATBUF_ST_NSEC): New macro.
29410 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29411
10589b4a
TS
29412 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29413 __strtoul_internal rather than strtoul.
29414
63643c85
PT
294152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29416
29417 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29418 and reject them.
29419
3faebe6a
ST
294202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29421
29422 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29423 which preserves existing values.
29424 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29425
c6474b07
PT
294262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29427
29428 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29429 TIMEOUT values. Return EINVAL for NFDS values either negative or
29430 greater than FD_SETSIZE.
29431
1043890b
ST
294322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29433
29434 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29435 allocated, call __vm_protect to finish enabling the existing space, and
29436 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29437 allocate the remainder.
29438
37ed8b9b
PT
294392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29440
29441 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29442 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29443
db653660
ST
294442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29445
37ed8b9b
PT
29446 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29447 sysdeps/mach/hurd/readlink.c.
b29d4053 29448
db653660
ST
29449 * posix/tst-sysconf.c (posix_options): Only use
29450 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29451 _POSIX_SYNCHRONIZED_IO when they are defined
29452 * sysdeps/mach/hurd/bits/posix_opt.h:
29453 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29454 (_XOPEN_REALTIME): Undefine macro.
29455 (_XOPEN_REALTIME_THREADS): Undefine macro.
29456 (_XOPEN_SHM): Undefine macro.
29457 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29458 macro to -1.
29459 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29460 macro to -1.
29461 (_POSIX_ASYNC_IO): Undefine macro.
29462 (_POSIX_PRIORITIZED_IO): Undefine macro.
29463 (_POSIX_SPIN_LOCKS): Define macro to -1.
29464
ee16e894
ST
29465 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29466 SA_NODEFER, SA_RESETHAND.
29467 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29468 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29469 F_DUPFD_CLOEXEC.
29470
6103ae3b
TS
294712012-05-10 Thomas Schwinge <thomas@schwinge.name>
29472
29473 * elf/Makefile (pldd-modules): Define unconditionally.
29474
80b4e5f3
TS
294752012-05-10 Thomas Schwinge <thomas@schwinge.name>
29476
29477 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29478
edadcbd6
ST
294792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29480
29481 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29482 Return ENOENT when name is empty.
29483 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29484
80694780
TS
294852012-05-10 Thomas Schwinge <thomas@schwinge.name>
29486
1792c087
TS
29487 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29488
80694780
TS
29489 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29490
6b645f0d
ST
294912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29492
80694780
TS
29493 Fix mlock in all cases except non-readable pages.
29494 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29495 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29496
6b645f0d
ST
29497 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29498 (__mkdir): When path is `/', just fail with EEXIST.
29499 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29500
e468f8a3
TS
295012012-05-10 Thomas Schwinge <thomas@schwinge.name>
29502
29503 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29504 <sys/uio.h> (for writev).
29505 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29506 and <sys/param.h> (for MIN).
29507
a4186cff
PT
295082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29509
29510 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29511 REQUESTED_TIME. Properly set the remaining time and return EINTR
29512 if interrupted.
29513
510bbf14
TS
295142012-05-10 Thomas Schwinge <thomas@schwinge.name>
29515
29516 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29517 Depend on against $(link-rpcuserlibs).
29518
5d5722e8
ST
295192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29520
a4186cff
PT
29521 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29522 (__libc_stack_end): Do not use attribute_relro.
29523 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29524 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29525 to libthread-provided value.
a4186cff
PT
29526 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29527 attribute_relro.
5d5722e8 29528
37233df9
TS
295292012-05-10 Thomas Schwinge <thomas@schwinge.name>
29530
be971a2b
TS
29531 [BZ #3748]
29532 * bits/libc-lock.h (__libc_once_get): New macro.
29533 * sysdeps/mach/bits/libc-lock.h: Likewise.
29534 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29535 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29536 instead of using implementation details.
29537
37233df9
TS
29538 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29539 * libio/freopen.c: Likewise.
29540 * libio/freopen64.c: Likewise.
29541 * misc/syslog.c: Likewise.
29542 * nscd/connections.c: Likewise.
29543 * nscd/netgroupcache.c: Likewise.
29544 * sysdeps/posix/getcwd.c: Likewise.
29545
38de94a5
RM
295462012-05-10 Roland McGrath <roland@hack.frob.com>
29547
29548 * math/w_ilogbf.c: Add #include <limits.h>.
29549
67530489
ST
295502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29551
a4186cff 29552 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29553 path instead of returning without unlocking.
29554
67530489
ST
29555 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29556 immediate-write ioctls.
29557 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29558
5aa3a74a
TS
295592012-05-10 Thomas Schwinge <thomas@schwinge.name>
29560
18bad2ae
TS
29561 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29562 __builtin_frame_address instead of making assumptions about the
29563 location of the return address relative to DATA. Force early load of
29564 the return address.
29565 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29566 __builtin_frame_address.
29567
5aa3a74a
TS
29568 dup3 for GNU Hurd.
29569 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29570 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29571 implement dup3 and do some further code clean-ups.
29572 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29573 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29574
ecd0de9a
ST
295752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29576
cd9fa985
ST
29577 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29578
a4186cff
PT
29579 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29580 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29581 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29582 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29583 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29584 d->port.lock.
802ca5a5 29585
a4186cff
PT
29586 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29587 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29588 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29589
bcf55240
TS
295902012-05-10 Thomas Schwinge <thomas@schwinge.name>
29591
6960eb42
TS
29592 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29593 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29594 definitions.
29595
eb43375f
TS
29596 accept4 for GNU Hurd.
29597 * include/sys/socket.h (__libc_accept4): New prototype.
29598 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29599 to implement __libc_accept4.
29600 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29601 __libc_accept4.
29602 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29603
bcf55240
TS
29604 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29605 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29606 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29607 signal-defines.sym.
29608
6178c55b
ST
296092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29610
a4186cff 29611 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29612
6f080c2f
TS
296132012-05-10 Thomas Schwinge <thomas@schwinge.name>
29614
29615 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29616 assertion on O_CLOEXEC flag.
29617 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29618 * hurd/intern-fd.c: Likewise.
29619 * hurd/port2fd.c: Likewise.
29620
bcfe3a54
ST
296212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29622
29623 [BZ #3906]
29624 * bits/in.h (IPV6_PKTINFO): Define new macro.
29625 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29626
89c9aa49
AZ
296272012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29628
29629 [BZ #13954]
29630 [BZ #13955]
29631 [BZ #13956]
29632 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29633 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29634 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29635 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29636 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29637 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29638 * math/libm-test.inc (logb_test) : Additional logb tests.
29639
021db4be
AJ
296402012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29641 Andreas Jaeger <aj@suse.de>
29642
29643 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29644 * configure: Regenerated.
29645 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29646 * config.make.in (link-obsolete-rpc): New substituted variable.
29647 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29648 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29649 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29650 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29651 so that libc.a contains the symbols.
29652 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29653 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29654 * sunrpc/auth_none.c: Likewise.
29655 * sunrpc/auth_unix.c: Likewise.
29656 * sunrpc/authdes_prot.c: Likewise.
29657 * sunrpc/authuxprot.c: Likewise.
29658 * sunrpc/clnt_gen.c: Likewise.
29659 * sunrpc/clnt_perr.c: Likewise.
29660 * sunrpc/clnt_raw.c: Likewise.
29661 * sunrpc/clnt_simp.c: Likewise.
29662 * sunrpc/clnt_tcp.c: Likewise.
29663 * sunrpc/clnt_udp.c: Likewise.
29664 * sunrpc/clnt_unix.c: Likewise.
29665 * sunrpc/des_crypt.c: Likewise.
29666 * sunrpc/des_soft.c: Likewise.
29667 * sunrpc/get_myaddr.c: Likewise.
29668 * sunrpc/key_call.c: Likewise.
29669 * sunrpc/key_prot.c: Likewise.
29670 * sunrpc/netname.c: Likewise.
29671 * sunrpc/pm_getmaps.c: Likewise.
29672 * sunrpc/pm_getport.c: Likewise.
29673 * sunrpc/pmap_clnt.c: Likewise.
29674 * sunrpc/pmap_prot.c: Likewise.
29675 * sunrpc/pmap_prot2.c: Likewise.
29676 * sunrpc/pmap_rmt.c: Likewise.
29677 * sunrpc/publickey.c: Likewise.
29678 * sunrpc/rpc_cmsg.c: Likewise.
29679 * sunrpc/rpc_common.c: Likewise.
29680 * sunrpc/rpc_dtable.c: Likewise.
29681 * sunrpc/rpc_prot.c: Likewise.
29682 * sunrpc/rpc_thread.c: Likewise.
29683 * sunrpc/rtime.c: Likewise.
29684 * sunrpc/svc.c: Likewise.
29685 * sunrpc/svc_auth.c: Likewise.
29686 * sunrpc/svc_raw.c: Likewise.
29687 * sunrpc/svc_run.c: Likewise.
29688 * sunrpc/svc_tcp.c: Likewise.
29689 * sunrpc/svc_udp.c: Likewise.
29690 * sunrpc/svc_unix.c: Likewise.
29691 * sunrpc/svcauth_des.c: Likewise.
29692 * sunrpc/xcrypt.c: Likewise.
29693 * sunrpc/xdr.c: Likewise.
29694 * sunrpc/xdr_array.c: Likewise.
29695 * sunrpc/xdr_float.c: Likewise.
29696 * sunrpc/xdr_intXX_t.c: Likewise.
29697 * sunrpc/xdr_mem.c: Likewise.
29698 * sunrpc/xdr_rec.c: Likewise.
29699 * sunrpc/xdr_ref.c: Likewise.
29700 * sunrpc/xdr_sizeof.c: Likewise.
29701 * sunrpc/xdr_stdio.c: Likewise.
29702
b5c086a2
RM
297032012-05-10 Roland McGrath <roland@hack.frob.com>
29704
29705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29706 change. Update copyright years.
29707
6d74dd09
JM
297082012-05-10 Joseph Myers <joseph@codesourcery.com>
29709
29710 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29711
28e72501
MK
297122012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29713 Joseph Myers <joseph@codesourcery.com>
29714 Paul Pluzhnikov <ppluzhnikov@google.com>
29715
29716 [BZ #14012]
29717 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29718 requiring rpcgen.
29719 [cross-compiling] (extra-libs): Likewise.
29720 [cross-compiling] (extra-libs-others): Likewise.
29721 [cross-compiling] (librpcsvc-routines): Likewise.
29722 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29723 [cross-compiling] (omit-deps): Likewise.
29724 (sunrpc-CPPFLAGS): New variable.
29725 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29726 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29727 (cross-rpcgen-objs): New variable.
29728 (extra-objs): Append $(cross-rpcgen-objs).
29729 ($(cross-rpcgen-objs)): New rule.
29730 ($(objpfx)cross-rpcgen): Likewise.
29731 (rpcgen-cmd): Define to use $(built-program-file). Expand
29732 comment.
29733 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29734 ($(objpfx)x%.stmp): Likewise.
29735 * sunrpc/proto.h [IS_IN_build] (_): Define.
29736 [IS_IN_build] (_libc_intl_domainname): Likewise.
29737
c8c59454
L
297382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29739
29740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29741 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29742 and R_X86_64_TPOFF64.
29743
6f27cd16
JM
297442012-05-10 Joseph Myers <joseph@codesourcery.com>
29745
29746 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29747 sysdeps/unix/sysv/syscalls.list.
29748 (stime): Likewise.
29749 (utime): Likewise.
29750 * sysdeps/unix/sysv/syscalls.list: Remove file.
29751
02467e1c
PE
297522012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29753
29754 [BZ #3440]
29755 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29756 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29757 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29758 (__LC_IDENTIFICATION): Make these macros useful in #if
29759 expressions, as required by C99.
29760
da392631
AS
297612012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29762
29763 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29764 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29765 after this.
29766
8115f29b
L
297672012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29768
29769 * stdlib/longlong.h: Updated from GCC.
29770
bdd74070
AJ
297712012-05-09 Andreas Jaeger <aj@suse.de>
29772
edfe0dbe
AJ
29773 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29774 default is first entry.
29775 (run_mode): Set type.
29776 (main): Remove informal message about syslog.
29777 (options): Fix typo.
29778
bcfe3a54
ST
29779 [BZ #14053]
29780 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29781 to asm.
bcfe3a54
ST
29782 (lrint): Likewise.
29783 (llrintf): Likewise.
29784 (llrint): Likewise.
29785 (rint): Likewise.
29786 (rintf): Likewise.
29787 (nearbyint): Likewise.
29788 (nearbyintf): Likewise.
bdd74070 29789
91d8d69e
AJ
297902012-05-09 Andreas Jaeger <aj@suse.de>
29791 Pedro Alves <palves@redhat.com>
29792
29793 * nscd/nscd.c (run_mode): Use enum.
29794 (main): Cleanup coding style issue.
29795
bb90b80b
AJ
297962012-05-09 Alexandre Oliva <aoliva@redhat.com>
29797 Andreas Jaeger <aj@suse.de>
29798
bcfe3a54
ST
29799 * nscd/nscd.c (go_background): Replaced with...
29800 (run_mode): ... this.
bb90b80b 29801 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29802 (options): Add -F --foreground.
29803 (main): Implement it.
29804 (parse_opt): Parse it.
bb90b80b 29805
1a4b75a1
AJ
298062012-05-09 Andreas Jaeger <aj@suse.de>
29807
29808 [BZ #14083]
29809 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29810 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29811 -Wconversion warning.
29812 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29813 Likewise.
29814
b1cc2472
JM
298152012-05-09 Joseph Myers <joseph@codesourcery.com>
29816
29817 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29818 == 0.
29819 (LC_ALL): Use macro-int-constant.
29820 (LC_COLLATE): Likewise.
29821 (LC_CTYPE): Likewise.
29822 (LC_MESSAGES): Likewise.
29823 (LC_MONETARY): Likewise.
29824 (LC_NUMERIC): Likewise.
29825 (LC_TIME): Likewise.
29826 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29827 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29828 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29829 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29830 Specify type.
29831 [C99-based standards] (float_t): Expect type.
29832 [C99-based standards] (double_t): Expect type.
29833 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29834 type.
29835 [C99-based standards] (HUGE_VALL): Likewise.
29836 [C99-based standards] (INFINITY): Likewise.
29837 [C99-based standards] (NAN): Likewise.
29838 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29839 [C99-based standards] (FP_NAN): Likewise.
29840 [C99-based standards] (FP_NORMAL): Likewise.
29841 [C99-based standards] (FP_SUBNORMAL): Likewise.
29842 [C99-based standards] (FP_ZERO): Likewise.
29843 [C99-based standards] (FP_FAST_FMA): Use
29844 optional-macro-int-constant. Specify type. Require == 1.
29845 [C99-based standards] (FP_FAST_FMAF): Likewise.
29846 [C99-based standards] (FP_FAST_FMAL): Likewise.
29847 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29848 [C99-based standards] (FP_ILOGBNAN): Likewise.
29849 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29850 Specify type.
29851 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29852 [C99-based standards] (math_errhandling): Specify type.
29853 [ISO99 || ISO11] (signgam): Do not allow.
29854 [non-C99-based standards] (copysignf): Do not allow.
29855 [non-C99-based standards] (exp2f): Likewise.
29856 [non-C99-based standards] (log2f): Likewise.
29857 [non-C99-based standards] (modff): Allow.
29858 [non-C99-based standards] (erff): Do not allow.
29859 [non-C99-based standards] (erfcf): Likewise.
29860 [non-C99-based standards] (gammaf): Likewise.
29861 [non-C99-based standards] (hypotf): Likewise.
29862 [non-C99-based standards] (j0f): Likewise.
29863 [non-C99-based standards] (j1f): Likewise.
29864 [non-C99-based standards] (jnf): Likewise.
29865 [non-C99-based standards] (lgammaf): Likewise.
29866 [non-C99-based standards] (tgammaf): Likewise.
29867 [non-C99-based standards] (y0f): Likewise.
29868 [non-C99-based standards] (y1f): Likewise.
29869 [non-C99-based standards] (ynf): Likewise.
29870 [non-C99-based standards] (isnanf): Likewise.
29871 [non-C99-based standards] (acoshf): Likewise.
29872 [non-C99-based standards] (asinhf): Likewise.
29873 [non-C99-based standards] (atanhf): Likewise.
29874 [non-C99-based standards] (cbrtf): Likewise.
29875 [non-C99-based standards] (expm1f): Likewise.
29876 [non-C99-based standards] (ilogbf): Likewise.
29877 [non-C99-based standards] (log1pf): Likewise.
29878 [non-C99-based standards] (logbf): Likewise.
29879 [non-C99-based standards] (nextafterf): Likewise.
29880 [non-C99-based standards] (remainderf): Likewise.
29881 [non-C99-based standards] (rintf): Likewise.
29882 [non-C99-based standards] (scalbf): Likewise.
29883 [non-C99-based standards] (copysignl): Likewise.
29884 [non-C99-based standards] (exp2l): Likewise.
29885 [non-C99-based standards] (log2l): Likewise.
29886 [non-C99-based standards] (modfl): Allow.
29887 [non-C99-based standards] (erfl): Do not allow.
29888 [non-C99-based standards] (erfcl): Likewise.
29889 [non-C99-based standards] (gammal): Likewise.
29890 [non-C99-based standards] (hypotl): Likewise.
29891 [non-C99-based standards] (j0l): Likewise.
29892 [non-C99-based standards] (j1l): Likewise.
29893 [non-C99-based standards] (jnl): Likewise.
29894 [non-C99-based standards] (lgammal): Likewise.
29895 [non-C99-based standards] (tgammal): Likewise.
29896 [non-C99-based standards] (y0l): Likewise.
29897 [non-C99-based standards] (y1l): Likewise.
29898 [non-C99-based standards] (ynl): Likewise.
29899 [non-C99-based standards] (isnanl): Likewise.
29900 [non-C99-based standards] (acoshl): Likewise.
29901 [non-C99-based standards] (asinhl): Likewise.
29902 [non-C99-based standards] (atanhl): Likewise.
29903 [non-C99-based standards] (cbrtl): Likewise.
29904 [non-C99-based standards] (expm1l): Likewise.
29905 [non-C99-based standards] (ilogbl): Likewise.
29906 [non-C99-based standards] (log1pl): Likewise.
29907 [non-C99-based standards] (logbl): Likewise.
29908 [non-C99-based standards] (nextafterl): Likewise.
29909 [non-C99-based standards] (remainderl): Likewise.
29910 [non-C99-based standards] (rintl): Likewise.
29911 [non-C99-based standards] (scalbl): Likewise.
29912 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29913 [non-C99-based standards] (FP_*): Do not allow.
29914 [C99-based standards] (FP_*): Change to
29915 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29916 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29917 allow.
29918 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29919 (SIG_ERR): Likewise.
29920 [X/Open-based standards] (SIG_HOLD): Likewise.
29921 (SIG_IGN): Likewise.
29922 (SIGABRT): Use macro-int-constant. Specify type. Require
29923 positive value.
29924 (SIGFPE): Likewise.
29925 (SIGILL): Likewise.
29926 (SIGINT): Likewise.
29927 (SIGSEGV): Likewise.
29928 (SIGTER): Likewise.
29929 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29931 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29937 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29938 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29942 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29943 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29947 [X/Open-based standards] (SIGTRAP): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29952 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29953 allow.
29954
b9f1922d
IW
299552012-05-08 Ian Wienand <ianw@vmware.com>
29956
29957 [BZ #14080]
29958 * time/tzset.c (__tzset_parse_tz): Update default rules for
29959 daylight time changes in the Energy Policy Act of 2005.
29960
1db86e88
AJ
299612012-05-09 Andreas Jaeger <aj@suse.de>
29962
29963 [BZ #13983]
29964 * elf/ldconfig.c (parse_conf): Change string to make clear that
29965 ldconfig only issued a warning if ld.so.conf does not exist.
29966
dee4a4e3
DM
299672012-05-08 David S. Miller <davem@davemloft.net>
29968
ee0db190
DM
29969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29970 movxtod instead of popping the value on the stack.
29971
dee4a4e3
DM
29972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29973
6a43ec98
CD
299742012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29975
29976 * config.h.in: Add HAVE_ARM_PCS_VFP.
29977
05c2c961
RMG
299782012-05-08 Roland Mc Grath <roland@hack.frob.com>
29979
bcfe3a54
ST
29980 [BZ #13979]
29981 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29982 checking but the checks are disabled for any reason.
05c2c961 29983
4b30f61a
L
299842012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29985
29986 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29987 and ELF64_R_TYPE with ELFW(R_TYPE).
29988
eee2bc67
JM
299892012-05-08 Joseph Myers <joseph@codesourcery.com>
29990
7ea5391a
JM
29991 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29992 (ulimit): Likewise.
29993
eee2bc67
JM
29994 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29995 (settimeofday): Likewise.
29996
abb66a67
MF
299972012-05-08 Mike Frysinger <vapier@gentoo.org>
29998
29999 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30000 a struct th_u2 inside the union, and move tu_block/tu_code into
30001 a new th_u3 union of tu_block/tu_code inside of that. Move
30002 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30003 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30004 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30005 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30006 (th_stuff): Change to th_u1.tu_stuff.
30007 (th_data): Define.
30008 (th_msg): Change to th_u1.th_u2.tu_data.
30009
7f18b530
DM
300102012-05-07 David S. Miller <davem@davemloft.net>
30011
05760585
DM
30012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30013
7f18b530
DM
30014 [BZ #14074]
30015 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30016 (SETUP_PIC_REG): Use it.
30017 (SETUP_PIC_REG_LEAF): Use it.
30018
495fd99f
JM
300192012-05-07 Joseph Myers <joseph@codesourcery.com>
30020
30021 [BZ #13885]
30022 [BZ #13923]
30023 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30024 USE_AS_EXPM1L.
30025 (EXPL_FINITE): Likewise.
30026 (FLDLOG): Likewise.
30027 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30028 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30029 e_expl.S.
30030 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30031 USE_AS_EXPM1L.
30032 (EXPL_FINITE): Likewise.
30033 (FLDLOG): Likewise.
30034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30035 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30036 e_expl.S.
30037 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30038 test of -max_value argument for long double.
30039 * sysdeps/i386/fpu/libm-test-ulps: Update.
30040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30041
6693d694
DM
300422012-05-06 David S. Miller <davem@davemloft.net>
30043
30044 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30045 quad soft-float symbols whose references which are compiler
30046 generated.
30047 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30048
6c23e11c
JM
300492012-05-06 Joseph Myers <joseph@codesourcery.com>
30050
d8b82cad
JM
30051 [BZ #13884]
30052 [BZ #13914]
30053 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30054 USE_AS_EXP10L.
30055 (EXPL_FINITE): Likewise.
30056 (FLDLOG): Likewise.
30057 (c0): Likewise.
30058 (c1): Likewise.
30059 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30060 Adjust comments for base varying.
30061 (__expl_finite): Change alias to EXPL_FINITE.
30062 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30063 e_expl.S.
30064 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30065 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30066 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30067 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30068 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30078 tests for bugs.
30079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30080
6c23e11c
JM
30081 [BZ #14064]
30082 * math/libm-test.inc (check_float_internal): Correct ulp
30083 calculation for subnormal expected results.
30084
29ba805c
AJ
300852012-05-06 Andreas Jaeger <aj@suse.de>
30086
30087 * Makeconfig (+math-flags): New, set to -frounding-math.
30088 (+cflags): Add +math-flags so that all of glibc gets compiled with
30089 it.
30090
30091 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30092
7b17aeda
JM
300932012-05-05 Joseph Myers <joseph@codesourcery.com>
30094
5779f134
JM
30095 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30096 Disable one test.
30097
41498f4d
JM
30098 [BZ #13787]
30099 [BZ #13922]
30100 [BZ #14036]
30101 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30102 (__ieee754_expl): Allow for and saturate large arguments.
30103 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30104 (u_threshold): Likewise.
30105 (__exp): Call __ieee754_exp before checking for overflow and
30106 underflow.
30107 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30108 (u_threshold): Likewise.
30109 (__expf): Call __ieee754_expf before checking for overflow and
30110 underflow.
30111 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30112 (u_threshold): Likewise.
30113 (__expl): Call __ieee754_expl before checking for overflow and
30114 underflow.
30115 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30116 (__ieee754_expl): Allow for and saturate large arguments.
30117 * math/libm-test.inc (exp_test): Add another test. Do not allow
30118 missing overflow exception on overflow.
30119 (expm1_test): Do not allow missing overflow exception on overflow.
30120
6698b8bf
JM
30121 * sysdeps/i386/fpu/e_expl.c: Move to ...
30122 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30123 rather than using inline asm.
30124 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30125 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30126 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30127
7b17aeda
JM
30128 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30129 (nice): Likewise.
30130 (poll): Likewise.
30131 (signal): Likewise.
30132 (time): Likewise.
30133 (times): Likewise.
30134
f7c85819
JM
301352012-05-04 Joseph Myers <joseph@codesourcery.com>
30136
30137 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30138 sysdeps/unix/common/syscalls.list.
30139 (fchmod): Likewise.
30140 (fchown): Likewise.
30141 (ftruncate): Likewise.
30142 (getrusage): Likewise.
30143 (gettimeofday): Likewise.
30144 (setpgid): Likewise.
30145 (setregid): Likewise.
30146 (setreuid): Likewise.
30147 (sigaction): Likewise.
30148 (truncate): Likewise.
30149 (vhangup): Likewise.
30150 * sysdeps/unix/common/syscalls.list: Remove file.
30151 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30152 * sysdeps/unix/sysv/linux/Implies: Likewise.
30153
336270d0
L
301542012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30155
30156 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30158 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30159 Moved to ...
30160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30161 Here.
30162 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30163 to ...
30164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30165 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30166 to ...
30167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30168 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30169 to ...
30170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30171 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30172 to ...
30173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30174 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30175 to ...
30176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30177 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30178 to ...
30179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30180 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30181 to ...
30182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30183 Here.
30184 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30185 to ...
30186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30187 Here.
30188 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30189 to ...
30190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30191 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30192 Moved to ...
30193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30194 Here.
30195 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30196 to ...
30197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30198
d128e450
JM
301992012-05-04 Joseph Myers <joseph@codesourcery.com>
30200
fa8ee516
JM
30201 * sysdeps/unix/common/bits/dirent.h: Remove file.
30202 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30203
d128e450
JM
30204 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30205 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30206 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30207 * sysdeps/unix/bsd/isatty.c: Likewise.
30208 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30209 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30210 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30211
ff8faaf0 302122012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30213
62881be4 30214 [BZ #13563]
31dc8730
AZ
30215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30216 long double comparison inaccuracies.
30217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30219
6fef930c
AS
302202012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30221
30222 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30224
8f203e6c
JM
302252012-05-04 Joseph Myers <joseph@codesourcery.com>
30226
30227 [BZ #14049]
30228 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30229 nonzero digits before rounding a hex value.
30230 * stdlib/tst-strtod.c (tests): Add another test.
30231
5197d9c2
AK
302322012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30233
30234 * sysdeps/s390/fpu/libm-test-ulps: Update.
30235
f0c1dedf
AJ
302362012-05-03 Andreas Jaeger <aj@suse.de>
30237
30238 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30239 does not get optimized out.
30240 (malloc_opt_barrier): New.
30241
a65ef2ae 302422012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30243 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30244
2b942cb7 30245 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30246 intermediate file deletion.
2b942cb7 30247 (generated): Add .symlist files.
a65ef2ae 30248
54b71e02
JM
302492012-05-03 Joseph Myers <joseph@codesourcery.com>
30250
30251 [BZ #13775]
30252 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30253 Redirect under this condition.
30254 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30255 [__USE_GNU] (__dprintf_chk): Not under this condition.
30256 [__USE_GNU] (__vdprintf_chk): Likewise.
30257 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30258 under this condition.
30259 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30260 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30261 [__USE_XOPEN2K8] (vdprintf): Likewise.
30262 [__USE_GNU] (__dprintf_chk): Not under this condition.
30263 [__USE_GNU] (__vdprintf_chk): Likewise.
30264 [__USE_GNU] (dprintf): Likewise.
30265 [__USE_GNU] (vdprintf): Likewise.
30266
d3dfcc41
RM
302672012-05-03 Roland McGrath <roland@hack.frob.com>
30268
30269 * elf/Makefile (common-generated): Set this instead of generated for
30270 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30271 $(all-built-dso)-derived lists.
30272
7ac30cc5
AJ
302732012-05-03 Andreas Jaeger <aj@suse.de>
30274
0c51e550
AJ
30275 * sysdeps/i386/fpu/libm-test-ulps: Update.
30276
7ac30cc5
AJ
30277 * FAQ: Removed.
30278 * FAQ.in: Likewise.
30279 * scripts/gen-FAQ.pl: Likewise.
30280 * manual/install.texi (Installation): Point to online location of
30281 FAQ.
30282 * Makefile (files-for-dist): Remove FAQ.
30283 (FAQ): Remove.
30284
d4c2917f
AM
302852012-05-02 Allan McRae <allan@archlinux.org>
30286
30287 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30288 (LDFLAGS-reldepmod5.so): Likewise.
30289 (LDFLAGS-reldep6mod1.so): Likewise.
30290 (LDFLAGS-reldep6mod4.so): Likewise.
30291 (LDFLAGS-reldep8mod3.so): Likewise.
30292 (LDFLAGS-unload4mod1.so): Likewise.
30293 (LDFLAGS-unload4mod2.so): Likewise.
30294 (LDFLAGS-tst-initorder): Likewise.
30295 (LDFLAGS-tst-initordera2.so): Likewise.
30296 (LDFLAGS-tst-initordera3.so): Likewise.
30297 (LDFLAGS-tst-initordera4.so): Likewise.
30298 (LDFLAGS-tst-initorderb2.so): Likewise.
30299 (LDFLAGS-noload): Likewise.
30300 (LDFLAGS-next): Likewise.
30301 (LDFLAGS-order2mod1.so): Likewise.
30302 (LDFLAGS-order2mod2.so): Likewise.
30303 (LDFLAGS-tst-initorder2): Likewise.
30304 (LDFLAGS-tst-initorder2a.so): Likewise.
30305 (LDFLAGS-tst-initorder2b.so): Likewise.
30306 (LDFLAGS-tst-initorder2c.so): Likewise.
30307 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30308
d77f993f
DM
303092012-05-02 David S. Miller <davem@davemloft.net>
30310
30311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30312
171a70b4
PP
303132012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30314
30315 [BZ #14055]
30316 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30317
0be196ad
AJ
303182012-05-02 Andreas Jaeger <aj@suse.de>
30319
30320 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30321 since we manipulate rounding mode.
30322 (CPPFLAGS-test-idouble.c): Likewise.
30323 (CPPFLAGS-test-ifloat.c): Likewise.
30324 (CFLAGS-test-ldouble.c): Likewise.
30325 (CFLAGS-test-double.c): Likewise.
30326 (CFLAGS-test-float.c): Likewise.
30327 (CFLAGS-test-misc.c): Likewise.
30328 (CFLAGS-test-test-fenv.c): Likewise.
30329
4f9d04aa
AZ
303302012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30331
2b942cb7
RM
30332 [BZ #2550]
30333 [BZ #2570]
30334 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30335 comparisons to determine direction to adjust input.
4f9d04aa 30336
82a79e7d
RM
303372012-05-01 Roland McGrath <roland@hack.frob.com>
30338
f5a01ca9
RM
30339 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30340 output to the target.
30341
90fe4186
RM
30342 * scripts/localplt.awk: New file.
30343 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30344 (check-localplt-CFLAGS): Variable removed.
30345 ($(all-built-dso:=.jmprel)): New static pattern rule.
30346 (generated): Add those targets.
30347 (localplt-built-dso): New variable.
30348 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30349
30350 * elf/check-localplt.c: File removed.
30351
82397ed6
RM
30352 * scripts/check-execstack.awk: New file.
30353 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30354 (check-execstack-CFLAGS): Variable removed.
30355 ($(objpfx)check-execstack.h): Target removed.
30356 ($(objpfx)execstack-default): New target.
30357 (generated): Add that instead of check-execstack.h.
30358 ($(all-built-dso:=.phdr)): New static pattern rule.
30359 (generated): Add those targets.
30360 * elf/check-execstack.c: File removed.
30361
82a79e7d
RM
30362 * scripts/check-textrel.awk: New file.
30363 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30364 (check-textrel-CFLAGS): Variable removed.
30365 (all-built-dso): Use := to define.o
30366 ($(all-built-dso:=.dyn)): New static pattern rule.
30367 (generated): Add those targets.
30368 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30369 * config.make.in (READELF): New substituted variable.
30370 * elf/check-textrel.c: File removed.
30371
62fde54f 303722012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30373
615605c9
JM
30374 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30375 allow.
30376 * conform/data/ctype.h-data [C99-based standards] (isblank):
30377 Expect function.
30378 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30379 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30381 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30382 Specify type. Require positive value.
30383 (EILSEQ): Likewise.
30384 (ERANGE): Likewise.
30385 [ISO || POSIX] (EILSEQ): Do not expect.
30386 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30387 Specify type. Require positive value.
30388 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30392 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30393 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30394 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30395 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30396 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30397 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30398 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30399 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30400 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30401 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30402 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30403 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30442 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30446 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30447 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30448 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30449 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30450 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30461 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30462 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30463 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30464 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30465 Require >= 2.
30466 (FLT_ROUNDS): Expect as macro, not constant.
30467 (FLT_MANT_DIG): Use macro-int-constant.
30468 (DBL_MANT_DIG): Likewise.
30469 (LDBL_MANT_DIG): Likewise.
30470 (FLT_DIG): Likewise.
30471 (DBL_DIG): Likewise.
30472 (LDBL_DIG): Likewise.
30473 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30474 (DBL_MIN_EXP): Likewise.
30475 (LDBL_MIN_EXP): Likewise.
30476 (FLT_MAX_EXP): Use macro-int-constant.
30477 (DBL_MAX_EXP): Likewise.
30478 (LDBL_MAX_EXP): Likewise.
30479 (FLT_MAX_10_EXP): Likewise.
30480 (DBL_MAX_10_EXP): Likewise.
30481 (LDBL_MAX_10_EXP): Likewise.
30482 (FLT_MAX): Use macro-constant.
30483 (DBL_MAX): Likewise.
30484 (LDBL_MAX): Likewise.
30485 (FLT_EPSILON): Use macro-constant. Give upper bound.
30486 (DBL_EPSILON): Likewise.
30487 (LDBL_EPSILON): Likewise.
30488 (FLT_MIN): Likewise.
30489 (DBL_MIN): Likewise.
30490 (LDBL_MIN): Likewise.
30491 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30492 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30493 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30494 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30495 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30496 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30497 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30498 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30499 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30500 [ISO11] (FLT_TRUE_MIN): Likewise.
30501 [ISO11] (LDBL_TRUE_MIN): Likewise.
30502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30503 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30504 (SCHAR_MIN): Use macro-int-constant. Specify type.
30505 (SCHAR_MAX): Likewise.
30506 (UCHAR_MAX): Likewise.
30507 (CHAR_MIN): Likewise.
30508 (CHAR_MAX): Likewise.
30509 (MB_LEN_MAX): Use macro-int-constant.
30510 (SHRT_MIN): Use macro-int-constant. Specify type.
30511 (SHRT_MAX): Likewise.
30512 (USHRT_MAX): Likewise.
30513 (INT_MAX): Likewise.
30514 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30515 bound negative.
30516 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30517 bound with "U".
30518 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30519 bound with "L".
30520 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30521 bound negative. Suffix upper bound with "L".
30522 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30523 bound with "UL".
30524 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30525 Specify type.
30526 [C99-based standards] (LLONG_MAX): Likewise.
30527 [C99-based standards] (ULLONG_MAX): Likewise.
30528 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30529 == 0.
30530 [ISO11] (max_align_t): Require type.
30531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30532
c9140a62
JM
30533 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30534 from $CFLAGS, without defining away __attribute__ calls.
30535 (checknamespace): Use $CFLAGS_namespace.
30536
9af0bf29
JM
30537 * conform/conformtest.pl (@keywords): Only include C99 keywords
30538 for standards based on C99 or C11.
30539
343222a2
JM
30540 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30541 Disable tests.
30542 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30543 UNIX98]: Likewise.
30544
661f8cf0
JM
30545 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30546 usability of symbols in #if.
30547
ee74b9cb
JM
30548 * conform/conformtest.pl: If macro or constant types start
30549 "promoted:", expect the symbol to be of the following type
30550 promoted by the integer promotions.
62fde54f 30551
aafc49b3
JM
30552 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30553 in one place. Also handle "macro-constant".
30554
fefdf574
JM
30555 * conform/conformtest.pl: Only accept expected macro values with
30556 "==". Parse all "macro" lines in one place.
30557 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30558
f2d922fe
JM
30559 * conform/conformtest.pl: Handle braced types on "constant" lines
30560 instead of handling "typed-constant".
30561 * conform/data/signal.h-data: Use "constant" instead of
30562 "typed-constant".
30563
d22956c9
JM
30564 * conform/conformtest.pl: Handle "optional-" at start of lines in
30565 one place rather than duplicating several cases. Handle each
30566 format of "macro" line with initial "optional-".
30567
028e2e38
JM
30568 * conform/conformtest.pl: Only accept expected constant or
30569 optional-constant values with "==". Parse all "constant" lines in
30570 one place. Parse all "optional-constant" lines in one place.
30571 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30572 * conform/data/fmtmsg.h-data: Likewise.
30573 * conform/data/netinet/in.h-data: Likewise.
30574 * conform/data/tar.h-data: Likewise.
30575 * conform/data/limits.h-data: Use "==" form on "constant" and
30576 "optional-constant" lines.
30577
1b8f2850
JM
30578 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30579 Use -std=c99 for XOPEN2K.
30580 (@knownproblems): Remove.
30581 (newtoken): Don't check %isknown.
30582
a05a144b
JM
30583 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30584 Do not expect macro.
30585 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30586 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30589 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30590 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30595 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30596 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30597 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30598 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30599 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30600 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30615 [XPG3] (acosh): Likewise.
30616 [XPG3] (asinh): Likewise.
30617 [XPG3] (atanh): Likewise.
30618 [XPG3] (cbrt): Likewise.
30619 [XPG3] (expm1): Likewise.
30620 [XPG3] (ilogb): Likewise.
30621 [XPG3] (log1p): Likewise.
30622 [XPG3] (logb): Likewise.
30623 [XPG3] (nextafter): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30626 [XPG3] (remainder): Likewise.
30627 [XPG3] (rint): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30635 [UNIX98 || XOPEN2K] (scalb): Expect.
30636 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30637 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30773
73c5ebe3
JM
30774 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30775 _XOPEN_SOURCE_EXTENDED for XPG4.
30776
39c33b6c
JM
30777 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30778
62fde54f
JM
30779 * Makeconfig (localtime): Remove variable.
30780 (inst_localtime-file): Likewise.
30781
0741d64c
AS
307822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30783
30784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30785 Update.
30786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30787 Update.
30788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30789 Update.
30790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30791 Update.
30792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30793 Update.
30794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30795 Update.
30796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30797 Update.
30798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30799 Update.
30800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30801 Update.
30802
7cb029ee
JM
308032012-05-01 Joseph Myers <joseph@codesourcery.com>
30804
30805 [BZ #2550]
30806 [BZ #2570]
30807 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30808 comparisons to determine direction to adjust input.
30809 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30810 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30811 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30812 Likewise.
30813 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30814 Likewise.
30815 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30816 Likewise.
30817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30819 Likewise.
30820 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30821 Likewise.
30822 * math/libm-test.inc (nexttoward_test): Add more tests.
30823
412bd966
AS
308242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30825
30826 [BZ #14040]
30827 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30828 in version GLIBC_2.1, not GLIBC_2.0.
30829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30830 Likewise.
30831
9568c0c2
JM
308322012-04-30 Joseph Myers <joseph@codesourcery.com>
30833
adfbc8ac
JM
30834 [BZ #13942]
30835 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30836 (1 - x) * (1 + x).
30837 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30838 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30839 * math/libm-test.inc (acos_test): Add more tests.
30840 (asin_test): Likewise.
30841 * sysdeps/i386/fpu/libm-test-ulps: Update.
30842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30843
5ba3cc69
JM
30844 [BZ #14034]
30845 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30846 of square root.
30847 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30848 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30849 * math/libm-test.inc (acos_test_tonearest): New function.
30850 (acos_test_towardzero): Likewise.
30851 (acos_test_downward): Likewise.
30852 (acos_test_upward): Likewise.
30853 (asin_test_tonearest): Likewise.
30854 (asin_test_towardzero): Likewise.
30855 (asin_test_downward): Likewise.
30856 (asin_test_upward): Likewise.
30857 (main): Call the new functions.
30858 * sysdeps/i386/fpu/libm-test-ulps: Update.
30859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30860
9568c0c2
JM
30861 [BZ #13884]
30862 [BZ #13924]
30863 * math/e_exp10.c: Include <float.h>.
30864 (__ieee754_exp10): Handle underflow here rather than multiplying
30865 large negative argument by M_LN10.
30866 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30867 of __ieee754_expf.
30868 * math/e_exp10l.c: Include <float.h>.
30869 (__ieee754_exp10l): Handle underflow here rather than multiplying
30870 large negative argument by M_LN10l.
30871 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30872 spurious overflow exception on underflow.
30873
5ac3ea17
MP
308742012-04-29 Marek Polacek <polacek@redhat.com>
30875
30876 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30877 (__fortify_function): New macro.
30878 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30879 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30880 __extern_always_inline.
30881 * libio/bits/stdio2.h: Likewise.
30882 * libio/bits/stdio.h: Likewise.
30883 * string/string.h: Likewise.
30884 * string/bits/string3.h: Likewise.
30885 * include/stdio.h: Likewise.
30886 * stdlib/bits/stdlib.h: Likewise.
30887 * stdlib/stdlib.h: Likewise.
30888 * rt/bits/mqueue2.h: Likewise.
30889 * rt/mqueue.h: Likewise.
30890 * posix/bits/unistd.h: Likewise.
30891 * posix/unistd.h: Likewise.
30892 * io/bits/poll2.h: Likewise.
30893 * io/bits/fcntl2.h: Likewise.
30894 * io/fcntl.h: Likewise.
30895 * io/sys/poll.h: Likewise.
30896 * misc/bits/syslog.h: Likewise.
30897 * misc/bits/syslog-ldbl.h: Likewise.
30898 * misc/sys/syslog.h: Likewise.
30899 * socket/bits/socket2.h: Likewise.
30900 * socket/sys/socket.h: Likewise.
30901 * debug/tst-chk1.c: Likewise.
30902 * wcsmbs/bits/wchar2.h: Likewise.
30903 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30904 * wcsmbs/wchar.h: Likewise.
30905
ecf0ebfb
AJ
309062012-04-29 Andreas Jaeger <aj@suse.de>
30907
30908 * Makerules (tests): Remove enable-check-abi protection.
30909 (check-abi-warn): Remove.
30910 (check-abi-%): Remove check-abi-warn usage.
30911
30912 * configure.in: Remove check-abi configure option.
30913 * configure: Regenerated.
30914 * config.make.in (enable-check-abi): Remove.
30915
6d5c57fa
AS
309162012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30917
24c5d07e 30918 [BZ #14033]
ded5180a
AS
30919 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30920 double functions to double *_finite functions.
30921
7e0d315d
AS
30922 [BZ #13941]
30923 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30924 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30925 LDBL_MIN_EXP.
30926 * stdio-common/Makefile (tests): Add tst-sprintf3.
30927 * stdio-common/tst-sprintf3.c: New file.
30928
6d5c57fa
AS
30929 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30930 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30931
0749ff8b
JM
309322012-04-28 Joseph Myers <joseph@codesourcery.com>
30933
30934 * conform/conformtest.pl: Remove duplicate typed-constant
30935 handling.
30936
8dbd5d7b
DM
309372012-04-28 David S. Miller <davem@davemloft.net>
30938
30939 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30940 (check-abi-%): Remove AWK script prerequisite and explicit
30941 abilist directory.
30942 (check-abi): Rewrite to just diff the symlist with the abilist.
30943 (config-tls, config-abi-config): Delete, no longer used.
30944 (update-abi-%): Remove AWK script and explicit abilist directory.
30945 (update-abi): Rewrite to simply compare and conditionally copy the
30946 symlist and the sysdep abilist file. Remove update-abi-config
30947 checks.
30948 * abilist/ld.abilist: Remove.
30949 * abilist/libBrokenLocale.abilist: Remove.
30950 * abilist/libanl.abilist: Remove.
30951 * abilist/libcrypt.abilist: Remove.
30952 * abilist/libdl.abilist: Remove.
30953 * abilist/librt.abilist: Remove.
30954 * abilist/libthread_db.abilist: Remove.
30955 * abilist/libutil.abilist: Remove.
30956 * scripts/extract-abilist.awk: Remove.
30957 * scripts/merge-abilist.awk: Remove.
30958 * sysdeps/generic/libcidn.abilist: New file.
30959 * sysdeps/generic/libnss_compat.abilist: New file.
30960 * sysdeps/generic/libnss_db.abilist: New file.
30961 * sysdeps/generic/libnss_dns.abilist: New file.
30962 * sysdeps/generic/libnss_files.abilist: New file.
30963 * sysdeps/generic/libnss_hesiod.abilist: New file.
30964 * sysdeps/generic/libnss_nis.abilist: New file.
30965 * sysdeps/generic/libnss_nisplus.abilist: New file.
30966 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30967 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30968 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30969 file.
30970 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30971 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30972 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30973 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30974 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30975 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30976 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30977 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30978 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30979 file.
30980 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30981 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30982 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30983 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30984 file.
30985 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30986 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30987 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30988 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30989 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30990 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30991 file.
30992 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30993 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30994 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30995 file.
30996 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30998 New file.
30999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31000 New file.
31001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31002 New file.
31003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31004 New file.
31005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31006 New file.
31007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31008 New file.
31009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31010 New file.
31011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31012 New file.
31013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31014 New file.
31015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31016 New file.
31017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31018 New file.
31019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31020 New file.
31021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31022 New file.
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31024 file.
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31026 New file.
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31028 New file.
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31030 file.
31031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31032 New file.
31033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31034 New file.
31035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31036 file.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31038 New file.
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31040 New file.
31041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31042 New file.
31043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31044 New file.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31046 New file.
31047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31048 New file.
31049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31051 file.
31052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31053 New file.
31054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31055 file.
31056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31057 file.
31058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31059 file.
31060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31061 file.
31062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31063 file.
31064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31065 New file.
31066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31067 file.
31068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31069 file.
31070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31071 New file.
31072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31073 file.
31074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31076 file.
31077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31078 New file.
31079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31080 file.
31081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31082 file.
31083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31084 file.
31085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31086 file.
31087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31088 file.
31089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31090 New file.
31091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31092 file.
31093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31094 file.
31095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31096 New file.
31097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31098 file.
31099 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31100 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31101 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31102 file.
31103 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31104 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31105 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31106 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31107 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31108 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31109 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31110 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31111 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31112 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31115 file.
31116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31117 New file.
31118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31119 file.
31120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31121 file.
31122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31123 file.
31124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31125 file.
31126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31127 file.
31128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31129 New file.
31130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31131 New file.
31132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31133 file.
31134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31135 New file.
31136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31137 file.
31138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31140 file.
31141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31142 New file.
31143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31144 file.
31145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31146 file.
31147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31148 file.
31149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31150 file.
31151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31152 file.
31153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31154 New file.
31155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31156 New file.
31157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31158 file.
31159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31160 New file.
31161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31162 file.
31163
41d73a1b
JM
311642012-04-28 Joseph Myers <joseph@codesourcery.com>
31165
31166 * conform/conformtest.pl: Fix typo in handling typed-constant from
31167 allow-header.
31168
28aeeda4
JM
311692012-04-27 Joseph Myers <joseph@codesourcery.com>
31170
adae8f5e
JM
31171 * README: Cut down references to pre-2.6 Linux kernels and
31172 Linuxthreads. Update lists of configurations in libc and ports
31173 and sort alphabetically. Say "or newer" with Linux kernel version
31174 requirements.
31175
28aeeda4
JM
31176 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31177
a462cb63
RA
311782012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31179
31180 [BZ #887]
31181 * math/libm-test.inc (logb_test_downward): New test to expose
31182 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31183 rounding mode.
31184
6ad3493e
JM
311852012-04-27 Joseph Myers <joseph@codesourcery.com>
31186
31187 [BZ #14027]
31188 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31189 to be done.
31190 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31191 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31192
2ce4f015
JM
311932012-04-26 Joseph Myers <joseph@codesourcery.com>
31194
5aeb141a
JM
31195 * sysdeps/unix/i386/brk.S: Remove file.
31196 * sysdeps/unix/i386/dl-brk.S: Likewise.
31197 * sysdeps/unix/i386/pipe.S: Likewise.
31198 * sysdeps/unix/i386/sigreturn.S: Likewise.
31199 * sysdeps/unix/i386/syscall.S: Likewise.
31200 * sysdeps/unix/i386/vfork.S: Likewise.
31201 * sysdeps/unix/i386/wait.S: Likewise.
31202
7143acae
JM
31203 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31204 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31205
2ce4f015
JM
31206 * configure.in (arm*-none*): Do not allow without
31207 --enable-hacker-mode.
31208 (netbsd*): Remove case setting base_os.
31209 (386bsd*): Likewise.
31210 (freebsd*): Likewise.
31211 (bsdi*): Likewise.
31212 (osf*): Likewise.
31213 (sunos*): Likewise.
31214 (ultrix*): Likewise.
31215 (newsos*): Likewise.
31216 (dynix*): Likewise.
31217 (*bsd*): Likewise.
31218 (sysv*): Likewise.
31219 (isc*): Likewise.
31220 (esix*): Likewise.
31221 (sco*): Likewise.
31222 (minix*): Likewise.
31223 (irix4*): Likewise.
31224 (irix6*): Likewise.
31225 (solaris[2-9]*): Likewise.
31226 (none): Likewise.
31227 * configure: Regenerated.
31228
0ac229c8
AZ
312292012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31230
31231 [BZ #11521]
31232 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31233 overflow or cancellation in calculating denominator.
31234 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31235 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31236 down expression to avoid unexpected rounding in newer GCCs.
31237 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31238
33f244f4
DM
312392012-04-26 David S. Miller <davem@davemloft.net>
31240
31241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31242 long-double compat symbols.
31243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31256
cfa1f3e8
DM
312572012-04-25 David S. Miller <davem@davemloft.net>
31258
31259 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31260 HWCAP_* values only after the memory barriers have been defined.
31261 (atomic_full_barrier): Define.
31262 (atomic_read_barrier): Define.
31263 (atomic_write_barrier): Define.
31264
6e236b92
SP
312652012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31266
31267 * shlib-versions: Add libgcc_s version information.
31268 * sysdeps/generic/libgcc_s.h: Remove.
31269 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31270 libgcc_s.h.
31271 * sysdeps/gnu/unwind-resume.c: Likewise.
31272 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31273
aab39a09
DM
312742012-04-25 David S. Miller <davem@davemloft.net>
31275
31276 * sysdeps/unix/sparc/brk.S: Delete.
31277 * sysdeps/unix/sparc/dl-brk.S: Delete.
31278 * sysdeps/unix/sparc/pipe.S: Delete.
31279 * sysdeps/unix/sparc/sysdep.S: Delete.
31280 * sysdeps/unix/sparc/sysdep.h: Delete.
31281 * sysdeps/unix/sparc/vfork.S: Delete.
31282 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31283 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31284 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31285 ret_ERRVAL, r0, r1, MOVE): Define.
31286 (JUMPTARGET): Remove.
31287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31288 sysdeps/unix/sparc/sysdep.h
31289 (ENTRY, END): Remove.
31290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31291
a3cc4f48
JM
312922012-04-25 Joseph Myers <joseph@codesourcery.com>
31293
2ed8cda2
JM
31294 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31295 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31296 -DIS_IN_build.
31297
35d76d59
JM
31298 * timezone/README: Update upstream location and email address for
31299 tzcode and tzdata.
31300 * timezone/zdump.c: Update from tzcode 2012b.
31301 * timezone/zic.c: Likewise.
31302
a3cc4f48
JM
31303 * configure.in (libc_cv_as_needed): Remove test.
31304 * configure: Regenerated.
31305 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31306 conditional definition.
31307 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31308 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31309 * config.make.in (have-as-needed): Remove variable.
31310
ceab42c3
SP
313112012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31312 Paul Pluzhnikov <ppluzhnikov@google.com>
31313
31314 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31315 strings correctly.
31316
3ce2865f
CLT
313172012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31318
31319 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31320 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31321 * sysdeps/sh/strlen.S: Likewise.
31322
f37e0d68
JM
313232012-04-24 Joseph Myers <joseph@codesourcery.com>
31324
ae186e9a
JM
31325 * sysdeps/unix/fork.S: Remove file.
31326 * sysdeps/unix/i386/fork.S: Likewise.
31327 * sysdeps/unix/sparc/fork.S: Likewise.
31328
b96914af
JM
31329 * sysdeps/unix/system.c: Remove file.
31330 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31331
f37e0d68
JM
31332 * sysdeps/unix/getegid.S: Remove file.
31333 * sysdeps/unix/geteuid.S: Likewise.
31334
87ef29ca
RM
313352012-04-24 Roland McGrath <roland@hack.frob.com>
31336
83bcd236
RM
31337 * scripts/check-localplt.awk: New file.
31338 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31339 of diff.
31340 * scripts/data/localplt-generic.data: Add a comment.
31341
87ef29ca
RM
31342 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31343 NODE when __dir_mkfile failed.
31344 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31345 Reported by Ludovic Courtès <ludo@gnu.org>.
31346
e5a6e567
AJ
313472012-04-24 Andreas Jaeger <aj@suse.de>
31348
31349 * Makerules (common-clean): Also remove gen-as-const-headers
31350 files.
31351
c1820385
JM
313522012-04-24 Joseph Myers <joseph@codesourcery.com>
31353
31354 * Makerules (native-compile): Do not change working directory for
31355 build. Use $(OUTPUT_OPTION) in command.
31356 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31357
94e02fc4
AZ
313582012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31359
31360 [BZ #13886]
31361 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31362 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31363 * math/libm-test.inc (floor_test): Add more tests.
31364 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31365
3a533ca3
JM
313662012-04-24 Joseph Myers <joseph@codesourcery.com>
31367
940ab4b3
JM
31368 * sysdeps/unix/getdents.c: Remove file.
31369 * sysdeps/unix/sysv/getdents.c: Likewise.
31370 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31371
90e037bd
JM
31372 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31373 sysdeps/unix/mman/syscalls.list.
31374 (mmap): Likewise.
31375 (mprotect): Likewise.
31376 (msync): Likewise.
31377 (munmap): Likewise.
31378 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31379 * sysdeps/unix/mman/syscalls.list: Remove.
31380 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31381
3a533ca3
JM
31382 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31383 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31384 * configure: Regenerated.
31385 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31386 $(libgcc_s_suffix).
31387 * config.make.in (libgcc_s_suffix): Remove variable.
31388
1ad743de
JM
313892012-04-23 Joseph Myers <joseph@codesourcery.com>
31390
4ad451e2
JM
31391 * sysdeps/unix/sysv/gethostname.c: Move to ...
31392 * sysdeps/posix/gethostname.c: ... here.
31393
5e37ce39
JM
31394 * sysdeps/unix/execve.S: Remove file.
31395
1ad743de
JM
31396 * sysdeps/unix/_exit.S: Remove file.
31397
4e681b5b
AJ
313982012-04-23 Andreas Jaeger <aj@suse.de>
31399
31400 [BZ #13739]
31401 * manual/Makefile: Remove make dist support, there's no
31402 need for a stand-alone documentation tar ball.
31403 (TEXI2DVI): Define always, it's not in Makeconfig.
31404 (dist): Removed.
31405 (tar-it): Removed.
31406 (edition): Removed.
31407 (glibc-doc-$(edition).tar): Removed
31408 (%.Z): Removed.
31409 (%.gz): Removed.
31410 (%.uu): Removed.
31411 (ETAGS): Remove, it's in Makeconfig.
31412 (move-if-change): Remove, it's in Makeconfig.
31413
38686a03 314142012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31415
31416 [BZ #13970]
31417 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31418 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31419 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31420 (strtod_l, strtof_l, strtold_l): Remove __wur.
31421 It is not necessarily an error to ignore strtol's return value.
31422 One can reliably look at the stored endptr to decide whether
31423 the number had valid syntax.
31424
7c0616fa
AJ
314252012-04-21 Andreas Jaeger <aj@suse.de>
31426
803cb6b7 31427 [BZ #13739]
7c0616fa
AJ
31428 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31429
b0fe253f
JM
314302012-04-21 Joseph Myers <joseph@codesourcery.com>
31431
31432 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31433 * sysdeps/unix/sysv/Versions: Remove file.
31434
8280f22d
MT
314352012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31436
31437 [BZ #13927]
31438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31439
75ce411f 314402012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31441
31442 [BZ #7064]
31443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31444 version from __vm86.
31445
097d59fa
JM
314462012-04-20 Joseph Myers <joseph@codesourcery.com>
31447
a90f3bcb
JM
31448 * sysdeps/unix/common/lxstat.c: Remove file.
31449 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31450
edc7ea78
JM
31451 * sysdeps/unix/sysv/Makefile: Remove file.
31452
cb78c221
JM
31453 * sysdeps/unix/sysv/direct.h: Remove file.
31454
efa6a45f
JM
31455 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31456 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31457 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31458 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31459 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31460 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31461 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31462
9c9f2d0c
JM
31463 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31464
4541c83b
JM
31465 * sysdeps/unix/xmknod.c: Remove file.
31466 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31467
f5d153a0
JM
31468 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31469
aa746595
JM
31470 * sysdeps/unix/sysv/i386/time.S: Remove file.
31471
cce5905e
JM
31472 * sysdeps/unix/fxstat.c: Remove file.
31473 * sysdeps/unix/xstat.c: Likewise.
31474 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31475
37fa3841
JM
31476 * sysdeps/unix/sysv/sigaction.c: Remove file.
31477
ff1962a3
JM
31478 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31479 (sysdep_headers): Remove variable.
31480 [termio.h not in sysdep_headers] (generated): Likewise.
31481 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31482 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31483 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31484 * sysdeps/unix/sysv/tcflow.c: Likewise.
31485 * sysdeps/unix/sysv/tcflush.c: Likewise.
31486 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31487 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31488 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31489 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31490 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31491
e7740d31
JM
31492 * sysdeps/unix/siglist.c: Remove file.
31493
ee06f18b
JM
31494 * sysdeps/unix/getppid.S: Remove file.
31495
097d59fa
JM
31496 * sysdeps/unix/mkdir.c: Remove file.
31497 * sysdeps/unix/rmdir.c: Likewise.
31498
ff3d51ec
AS
314992012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31500
31501 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31502 ERR_MAX value.
31503 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31504 errlist-compat value.
31505
50f81fd7
DM
315062012-04-18 David S. Miller <davem@davemloft.net>
31507
31508 * sysdeps/generic/memcopy.h (reg_char): Delete.
31509 * debug/strcat_chk.c: Use char, not reg_char.
31510 * debug/strcpy_chk.c: Likewise.
31511 * debug/strncat_chk.c: Likewise.
31512 * debug/strncpy_chk.c: Likewise.
31513 * string/memchr.c: Likewise.
31514 * string/memrchr.c: Likewise.
31515 * string/rawmemchr.c: Likewise.
31516 * string/strcat.c: Likewise.
31517 * string/strchr.c: Likewise.
31518 * string/strchrnul.c: Likewise.
31519 * string/strcmp.c: Likewise.
31520 * string/strcpy.c: Likewise.
31521 * string/strncat.c: Likewise.
31522 * string/strncmp.c: Likewise.
31523 * string/strncpy.c: Likewise.
31524
8ff41c46
WS
315252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31526
31527 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31528 __builtin_memcopy is called when src and dest ranges are known to not
31529 overlap.
31530
6b652f46
WS
315312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31532
31533 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31534 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31535 fwd_align_merge macro call.
31536 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31537 bwd_align_merge macro call.
31538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31539
b282631e
WS
315402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31541
31542 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31543 bwd_align_merge macros.
31544 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31545 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31546 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31547
95aa737c
DM
315482012-04-18 David S. Miller <davem@davemloft.net>
31549
31550 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31551
7a99a614
AJ
315522012-04-18 Andreas Jaeger <aj@suse.de>
31553
31554 [BZ# 6794]
31555 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31556 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31557 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31558
31559 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31560 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31561 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31562
31563 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31564 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31565 Adjust for changed ldbl-128 files.
31566
31567 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31568 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31569 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31570
e5270c23
DM
315712012-04-17 David S. Miller <davem@davemloft.net>
31572
31573 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31574
fb5e92c9
AS
315752012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31576
31577 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31578 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31579 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31580 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31581 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31582 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31583
76da7265
AZ
315842012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31585
31586 [BZ #6794]
31587 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31588 * math/libm-test.inc: Add ilogb errno and exception tests.
31589 * math/w_ilogb.c: New file: ilogb wrapper.
31590 * math/w_ilogbf.c: New file: ilogbf wrapper.
31591 * math/w_ilogbl.c: New file: ilogbl wrapper.
31592 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31593 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31594 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31595 exception being thrown with 0.0 as argument.
31596 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31597 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31598 exception being thrown with 0.0 as argument.
31599 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31600 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31601 exception being thrown with 0.0 as argument.
31602 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31603 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31604 exception being thrown with 0.0 as argument.
31605 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31606 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31607 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31608 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31609 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31610 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31611 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31612 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31613 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31614
0396e69d
PB
316152012-04-17 Petr Baudis <pasky@ucw.cz>
31616
31617 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31618 with altivec.
31619
750b5926
MP
316202012-04-16 Marek Polacek <polacek@redhat.com>
31621
31622 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31623
751728a1
MP
316242012-04-16 Marek Polacek <polacek@redhat.com>
31625
31626 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31627 operands of fdivp instruction.
31628
34a27407
L
316292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31630
31631 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31632 * elf/tst-auditmod3b.c: Likewise.
31633 * elf/tst-auditmod4b.c: Likewise.
31634 * elf/tst-auditmod5b.c: Likewise.
31635 * elf/tst-auditmod6b.c: Likewise.
31636 * elf/tst-auditmod6c.c: Likewise.
31637 * elf/tst-auditmod7b.c: Likewise.
31638 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31639 * sysdeps/x86_64/preconfigure.in: Likewise.
31640 * sysdeps/x86_64/preconfigure: Regenerated.
31641
7e73e17d
L
316422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31643
31644 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31645 __ILP32__.
31646
c7a6ab72
AB
316472012-04-13 Antoine Balestrat <merkil33@gmail.com>
31648
31649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31650 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31651
a9e8e0e0
CL
316522012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31653
31654 [BZ #13973]
31655 * locale/iso-639.def: Fix gl language name. Spotted by
31656 Yaron Shahrabani.
31657
ec98af7d
RM
316582012-04-12 Roland McGrath <roland@hack.frob.com>
31659
31660 [BZ #2074]
31661 * libio/libio.h (__io_write_fn): Update comment.
31662
247c3ede
PB
316632012-04-12 Petr Baudis <pasky@ucw.cz>
31664
31665 [BZ #2074]
31666 * stdio.texi (Hook Functions): The user provided writer function
31667 is not allowed to return -1.
31668
55939d6d
DM
316692012-04-11 David S. Miller <davem@davemloft.net>
31670
31671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31672
90020f5a
MF
316732012-04-11 Mike Frysinger <vapier@gentoo.org>
31674
31675 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31676 Add a leading slash to rtkaio.
31677
288f9098
JM
316782012-04-11 Jim Meyering <meyering@redhat.com>
31679
90020f5a
MF
31680 [BZ #11959]
31681 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31682 It is not necessarily an error to ignore fwrite's return
31683 value. One can reliably use ferror to test for errors after
31684 the fact.
288f9098 31685
4be2b570
L
316862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31687
31688 * bits/types.h (__snseconds_t): New type.
31689 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31690
31691 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31693 (__SNSECONDS_T_TYPE): Likewise.
31694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31695 (__SNSECONDS_T_TYPE): Likewise.
31696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31697 (__SNSECONDS_T_TYPE): Likewise.
31698
288f9098 316992012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31700
31701 [BZ #2636]
31702 * manual/time.texi (Processor Time): Return type of times is
31703 elapsed real time since an arbitrary point in the past.
31704 (CPU Time): Move CLK_TCK from here...
31705 (Processor Time): ...to here. Correct description.
31706 * manual/conf.texi (Constants for Sysconf): Correct description of
31707 _SC_CLK_TCK.
31708
d7dd4413
DM
317092012-04-10 David S. Miller <davem@davemloft.net>
31710
31711 [BZ #13967]
31712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31713 where the is a gap between DT_REL(A) and DT_JMPREL.
31714
b46068fc
L
317152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31716
31717 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31718 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31719 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31720
73d65cc3
SP
317212012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31722
31723 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31724 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31725 (dl_main): Handle --inhibit-cache.
31726 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31727 _dl_inhibit_cache.
31728 * elf/dl-load.c (_dl_map_object): Use it.
31729 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31730
bcc8d661
JM
317312012-04-09 Joseph Myers <joseph@codesourcery.com>
31732
8f9a2fae
JM
31733 [BZ #13872]
31734 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31735 (__ieee754_powl): Saturate large exponents rather than testing for
31736 overflow of y*log2(x).
31737 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31738 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31739 exceptions.
31740
bcc8d661
JM
31741 [BZ #11521]
31742 * math/s_ctan.c: Include <float.h>.
31743 (__ctan): Avoid internal overflow or cancellation in calculating
31744 denominator.
31745 * math/s_ctanf.c: Likewise.
31746 * math/s_ctanl.c: Likewise.
31747 * math/s_ctanh.c: Likewise.
31748 * math/s_ctanhf.c: Likewise.
31749 * math/s_ctanhl.c: Likewise.
31750 * math/libm-test.inc (ctan_test): Add more tests.
31751 (ctanh_test): Likewise.
31752 * sysdeps/i386/fpu/libm-test-ulps: Update.
31753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31754
823fbbb4
AJ
317552012-04-09 Andreas Jaeger <aj@suse.de>
31756
03879793
AJ
31757 [BZ #6894]
31758 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31759 is an optional BSD extension.
31760
823fbbb4
AJ
31761 [BZ #10254]
31762 * manual/stdio.texi (Opening Streams): Document additional fopen
31763 parameters.
31764
8de131cb
RM
317652012-04-09 Roland McGrath <roland@hack.frob.com>
31766
31767 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31768 %eax without telling the compiler.
31769
c0ed9d7d
CD
317702012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31771
31772 [BZ # 13963]
31773 * manual/install.texi: Use sourceware.org.
31774
c483f6b4
JM
317752012-04-09 Joseph Myers <joseph@codesourcery.com>
31776
d7dd9453
JM
31777 [BZ #13873]
31778 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31779 (__ieee754_pow): Generate overflow and underflow using huge*huge
31780 and tiny*tiny rather than just returning constant infinity or zero
31781 for large exponents.
31782 * math/libm-test.inc (pow_test): Require overflow exceptions for
31783 applicable cases of large exponents.
31784
c483f6b4
JM
31785 [BZ #706]
31786 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31787 (__ieee754_pow): Use iterative multiplication algorithm only for
31788 integer exponents with absolute value below 1024. Check for odd
31789 integer exponents when using algorithm for real exponents.
31790 * math/libm-test.inc (pow_test): Add more tests.
31791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31792
d2de7579
JM
317932012-04-08 Joseph Myers <joseph@codesourcery.com>
31794
31795 [BZ #13705]
31796 * math/libm-test.inc (exp_test): Do not allow overflow exception
31797 on underflow test.
31798
f77f1232
AJ
317992012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31800
31801 [BZ #13705]
31802 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31803 instead of __kernel_standard_f.
31804
3884932b
MF
318052012-04-08 Mike Frysinger <vapier@gentoo.org>
31806
31807 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31808 * sysdeps/x86_64/memset_chk.S: Likewise.
31809
54472e9c
AJ
318102012-04-08 Andreas Jaeger <aj@suse.de>
31811
6ab0fbfc
AJ
31812 [BZ #10153]
31813 * manual/startup.texi (Environment Access): Describe return value
31814 for putenv and setenv.
31815
61efba8c
AJ
31816 [BZ #6895]
31817 * manual/filesys.texi (Directory Entries): Add description for
31818 DT_LNK.
31819
95c3f29a
AJ
31820 [BZ #6890]
31821 * manual/filesys.texi (Directory Entries): Clarify that it's file
31822 system not operating system in the description of DT_UNKNOWN.
31823
54472e9c
AJ
31824 [BZ #6578]
31825 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31826
624254b1
SC
318272012-04-08 Stephen Compall <s11@member.fsf.org>
31828
31829 [BZ #6649]
31830 * manual/llio.texi (Opening and Closing Files): Add cross
31831 reference to explain mode argument.
31832
1e4920e0
MF
318332012-04-07 Mike Frysinger <vapier@gentoo.org>
31834
31835 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31836 * sysdeps/x86_64/memset_chk.S: Likewise.
31837
5ed848f3
DM
318382012-04-07 David S. Miller <davem@davemloft.net>
31839
31840 * elf/elf.h (R_SPARC_WDISP10): Define.
31841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31842 R_SPARC_SIZE32.
31843 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31844 R_SPARC_SIZE64 and R_SPARC_H34.
31845
96154cd8
CD
318462012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31847
31848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31849 conditions and remove no longer applicable assertion.
31850
9904dc47
L
318512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * bits/byteswap.h: Include <features.h>.
31854 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31855 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31856
f8887d0a
L
318572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31858
31859 * bits/byteswap.h (__bswap_16): Removed.
31860 Include <bits/byteswap-16.h> to get __bswap_16.
31861 * sysdeps/i386/bits/byteswap.h: Likewise.
31862 * sysdeps/s390/bits/byteswap.h: Likewise.
31863 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31864 * bits/byteswap-16.h: New file.
31865 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31866 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31867 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31868 * string/Makefile (headers): Add bits/byteswap-16.h.
31869
62470f60
PP
318702012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31871
31872 [BZ #13895]
31873 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31874 extra indirection.
31875 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31876 * nss/tst-nss-static.c: New.
31877
4dad7bab
RM
318782012-04-06 Robert Millan <rmh@gnu.org>
31879
31880 [BZ #6486]
31881 * manual/llio.texi (File Position Primitive): lseek
31882 refers to WHENCE when it really means OFFSET.
31883
e9142a17
AJ
318842012-04-06 Andreas Jaeger <aj@suse.de>
31885
2c040eff
AJ
31886 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31887 strncmp declarations.
31888
e9142a17
AJ
31889 * abilist/libc.abilist: Add __poll and __ppoll.
31890
ff9f1c5f
DM
318912012-04-05 David S. Miller <davem@davemloft.net>
31892
dcd2ae90
DM
31893 * scripts/check-local-headers.sh: Accept a host triplet in the
31894 path matched by the exclude regexp.
31895
993eb054
DM
31896 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31897 definition.
31898 * sysdeps/powerpc/powerpc32/dl-machine.h
31899 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31900 * sysdeps/s390/s390-32/dl-machine.h
31901 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31902 * sysdeps/sparc/sparc32/dl-machine.h
31903 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31904 * sysdeps/sparc/sparc64/dl-machine.h
31905 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31906
ff9f1c5f
DM
31907 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31908 lazy binding.
48e2e132 31909 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31910 undefined symbol errors.
31911
48e2e132 31912 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31913 DT_NEEDED entries.
31914
e80d6f94
MM
319152012-04-05 Michael Matz <matz@suse.de>
31916
31917 [BZ #13592]
31918 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31919
349fa79f
AJ
319202012-04-05 Andreas Jaeger <aj@suse.de>
31921
31922 [BZ #13908]
31923 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31924 comment.
31925
f402708f
KK
319262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31927
31928 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31929 which ROUND is no valid rounding mode.
31930
2ecccfc9
KK
319312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31932
31933 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31934 read again.
31935 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31936
8a53f50f
KK
319372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31938
31939 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31940 an exception using FPU order intentionally.
31941
319422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31943
31944 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31945 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31946 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31947 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31948
d653abb7
SJ
319492012-04-05 Simon Josefsson <simon@josefsson.org>
31950
31951 [BZ #12340]
31952 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31953 EINVAL when BUFLEN is too smal.
31954
c3b1bf7d
TS
319552012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31956
31957 [BZ #13553]
31958 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31959 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31960
b1aa60f3
AJ
319612012-04-03 Andreas Jaeger <aj@suse.de>
31962
c3b1bf7d 31963 [BZ #13938]
67f60a26
AJ
31964 * manual/setjmp.texi (System V contexts): Fix sentence.
31965
b1aa60f3
AJ
31966 [BZ #13926]
31967 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31968 New macro for this case.
31969 [!__GNUC__] (__bswap_64): New inline function for this case.
31970 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31971 * bits/byteswap.h: Likewise.
31972 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31973 ull, guard with __GLIBC_HAVE_LONG_LONG.
31974
31975 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31976 __GLIBC_HAVE_LONG_LONG.
31977
31978 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31979 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31980
39c59c35
TMQMF
319812012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31982
31983 [BZ #13691]
31984 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31985 inptr and inend, rather than using last_ch.
31986
135ffda8
DM
319872012-04-02 David S. Miller <davem@davemloft.net>
31988
31989 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31990 * stdio-common/printf-parse.h (read_int): Change return type to
31991 'int', return -1 on INT_MAX overflow.
31992 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31993 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31994 overflows INT_MAX. Check for overflow of in-format-string precision
31995 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31996 SIZE_MAX not INT_MAX for integer overflow test.
31997 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31998 skip the construct in the format string but do not record anything.
31999 * stdio-common/bug22.c: Adjust to test both width/prevision
32000 INT_MAX overflow as well as total length INT_MAX overflow. Check
32001 explicitly for proper errno values.
32002
228c019e
TS
320032012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32004
302cadd3
TS
32005 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32006 CHAR_MAX.
32007 * string/test-strcmp.c [! WIDE]: Likewise.
32008 * time/tst-mktime2.c: Likewise for INT_MAX.
32009 * string/test-string.h: #include <sys/param.h> for MIN.
32010
228c019e
TS
32011 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32012 * sysdeps/i386/init-first.c (init): Likewise.
32013 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32014 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32015 * sysdeps/sh/init-first.c (init): Likewise.
32016
cfa633f5
UD
320172012-04-01 Ulrich Drepper <drepper@gmail.com>
32018
32019 * po/ru.po: Update from translation team.
d1635ef8 32020 * po/vi.po: Likewise.
cfa633f5 32021
6cd0a5ea
SP
320222012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32023
32024 * resolv/nss_dns/dns-host.c: Merge copyright years.
32025
4b43400f
LD
320262012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32027
32028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32029 Optimize memcpy with prefetch if
32030 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32031 src, dst pointers have unequal 16 byte alignments.
32032
48c41d04
SP
320332012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32034
32035 [BZ #13928]
32036 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32037 from a CNAME entry and return the minimum ttl for the query.
32038 (gaih_getanswer_slice): Likewise.
32039
b8dc394d
JL
320402012-03-30 Jeff Law <law@redhat.com>
32041
32042 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32043 due to long keys.
32044 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32045 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32046
2f5a5ed0
JL
32047 * resolv/nss_dns/dns-host.c: Update copyright year.
32048
1d39e359
UD
320492012-03-30 Ulrich Drepper <drepper@gmail.com>
32050
c030f70c 32051 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32052 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32053
1d39e359
UD
32054 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32055 comments for sendmmsg.
32056
320572012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32058
32059 [BZ #13691]
32060 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32061 with only 1 character between 0x0041 and 0x01b0.
32062 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32063 * wcsmbs/tst-mbsnrtowcs.c: New file.
32064
20fde227
DM
320652012-03-29 David S. Miller <davem@davemloft.net>
32066
32067 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32068 small copies by hand.
32069
984a4237
JL
320702012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32071
32072 [BZ #13761]
32073 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32074 _nss_compat_initgroups_dyn): Fall back to malloc/free
32075 for large group memberships.
32076
18c9d62b
DM
320772012-03-28 David S. Miller <davem@davemloft.net>
32078
88d85d4f
DM
32079 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32080 that branches into memcpy.
32081 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32084 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32086 bits.
32087 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32088 implementation too.
32089 * sysdeps/sparc/mempcpy.S: New file.
32090
e5aa83e1
DM
32091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32092 the IFUNC routine in the libc case.
32093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32094
88570753
DM
32095 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32096 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32097 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32098 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32099 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32100 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32101 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32102 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32103
249d7567
DM
32104 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32105 loop to 256 bytes instead of 64 bytes and fix test signedness.
32106
18c9d62b
DM
32107 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32108 * sysdeps/sparc/sparc32/Makefile: rather than here...
32109 * sysdeps/sparc/sparc64/Makefile: and here.
32110
05f3d1f6
UD
321112012-03-28 Ulrich Drepper <drepper@gmail.com>
32112
32113 * malloc/mallocbug.c: Avoid warnings about unused variables.
32114
86ae07a8
JL
321152012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32116
32117 [BZ #13760]
32118 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32119 in the right place. Discard and retry query if response is
32120 larger than input buffer size.
32121
41bf21a1
JM
321222012-03-28 Joseph Myers <joseph@codesourcery.com>
32123
d6270972
JM
32124 [BZ #369]
32125 [BZ #2678]
32126 [BZ #3866]
32127 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32128 x for large integer exponent.
32129 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32130 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32131 sign of result as needed afterwards.
32132 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32133 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32134 result for underflowing pow the same as for overflow.
32135 (__kernel_standard_l): Handle powl overflow and underflow here
32136 rather than calling __kernel_standard.
32137 * math/libm-test.inc (pow_test): Add more tests.
32138
414fca03 32139 [BZ #3868]
41bf21a1
JM
32140 [BZ #13879]
32141 [BZ #13910]
32142 [BZ #13911]
32143 [BZ #13912]
32144 [BZ #13913]
32145 [BZ #13915]
32146 [BZ #13916]
32147 [BZ #13917]
32148 [BZ #13918]
32149 [BZ #13919]
32150 [BZ #13920]
32151 [BZ #13921]
32152 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32153 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32154 (__kernel_standard_l): New function.
32155 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32156 __kernel_standard.
32157 * math/w_acosl.c (__acosl): Likewise.
32158 * math/w_asinl.c (__asinl): Likewise.
32159 * math/w_atan2l.c (__atan2l): Likewise.
32160 * math/w_atanhl.c (__atanhl): Likewise.
32161 * math/w_coshl.c (__coshl): Likewise.
32162 * math/w_exp10l.c (__exp10l): Likewise.
32163 * math/w_exp2l.c (__exp2l): Likewise.
32164 * math/w_fmodl.c (__fmodl): Likewise.
32165 * math/w_hypotl.c (__hypotl): Likewise.
32166 * math/w_j0l.c (__j0l, __y0l): Likewise.
32167 * math/w_j1l.c (__j1l, __y1l): Likewise.
32168 * math/w_jnl.c (__jnl, __ynl): Likewise.
32169 * math/w_lgammal.c (__lgammal): Likewise.
32170 * math/w_log10l.c (__log10l): Likewise.
32171 * math/w_log2l.c (__log2l): Likewise.
32172 * math/w_logl.c (__logl): Likewise.
32173 * math/w_powl.c (__powl): Likewise.
32174 * math/w_remainderl.c (__remainderl): Likewise.
32175 * math/w_scalbl.c (sysv_scalbl): Likewise.
32176 * math/w_sinhl.c (__sinhl): Likewise.
32177 * math/w_sqrtl.c (__sqrtl): Likewise.
32178 * math/w_tgammal.c (__tgammal): Likewise.
32179 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32180 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32181 * math/libm-test.inc (acos_test): Add more tests.
32182 (acosh_test): Likewise.
32183 (asin_test): Likewise.
32184 (atanh_test): Likewise.
32185 (exp_test): Likewise.
32186 (exp10_test): Likewise.
32187 (exp2_test): Likewise.
32188 (expm1_test): Likewise.
32189 (lgamma_test): Likewise.
32190 (log_test): Likewise.
32191 (log10_test): Likewise.
32192 (log1p_test): Likewise.
32193 (log2_test): Likewise.
32194 (pow_test): Do not allow some spurious overflow exceptions.
32195 (sqrt_test): Add more tests.
32196 (tgamma_test): Likewise.
32197 (y0_test): Likewise.
32198 (y1_test): Likewise.
32199 (yn_test): Likewise.
32200
dd62fda6
AB
322012012-03-27 Anton Blanchard <anton@samba.org>
32202
32203 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32204 MAP_HUGETLB.
32205 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32206 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32207 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32208
1e3cdfda
AJ
322092012-03-27 David S. Miller <davem@davemloft.net>
32210
b855ab85
DM
32211 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32212
1e3cdfda
AJ
32213 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32214 have-as-vis3 check.
32215
322162012-03-27 Andreas Jaeger <aj@suse.de>
32217
32218 * sysdeps/x86_64/elf/configure.in: Moved to ...
32219 * sysdeps/x86_64/configure.in: ... here.
32220 * sysdeps/x86_64/elf/start.S: Moved to ...
32221 * sysdeps/x86_64/start.S: ... here.
32222 * sysdeps/x86_64/elf/configure: Delete.
32223
32224 * sysdeps/x86_64/configure.in: Merge contents from
32225 sysdeps/i386/configure.in (without i686 check).
32226
32227 * sysdeps/i386/elf/Versions: Merge into ...
32228 * sysdeps/i386/Versions: ... this.
32229 * sysdeps/i386/elf/Versions: Delete file.
32230 * sysdeps/i386/elf/start.S: Moved to ...
32231 * sysdeps/i386/start.S: ...here.
32232 * sysdeps/i386/elf/configure.in: Merge into...
32233 * sysdeps/i386/configure.in: ...here.
32234 * sysdeps/i386/elf/configure.in: Delete file.
32235 * sysdeps/i386/elf/configure: Delete file.
32236
32237 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32238 * debug/backtracesyms.c: ... here.
32239 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32240 * debug/backtracesymsfd.c: ... here.
32241 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32242 * sysdeps/generic/ifunc-sel.h: ... here.
32243
32244 * sysdeps/unix/i386/start.c: Delete file.
32245 * sysdeps/unix/sparc/start.c: Delete file.
32246 * sysdeps/unix/start.c: Delete file.
32247
32248 * sysdeps/sh/elf/configure.in: Moved to ...
32249 * sysdeps/sh/configure.in: ... here.
32250 * sysdeps/sh/elf/start.S: Moved to ...
32251 * sysdeps/sh/start.S: ... here.
32252 * sysdeps/sh/elf/configure: Delete file.
32253
32254 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32255 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32256 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32257 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32258 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32259 * sysdeps/powerpc/powerpc64/start.S: here.
32260 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32261 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32262 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32263 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32264 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32265
32266 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32267 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32268 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32269 * sysdeps/powerpc/powerpc32/start.S: ... here.
32270 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32271 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32272 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32273
32274 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32275 * sysdeps/powerpc/ifunc-sel.h: ... here.
32276 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32277 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32278
32279 * sysdeps/sparc/elf/configure.in: Moved to ...
32280 * sysdeps/sparc/configure.in: ... here.
32281 * sysdeps/sparc/elf/configure: Delete file.
32282 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32283 * sysdeps/sparc/sparc32/start.S: ... here.
32284 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32285 * sysdeps/sparc/sparc64/start.S: ... here.
32286 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32287 * sysdeps/sparc/sparc32/Makefile: ... this.
32288 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32289 * sysdeps/sparc/sparc64/Makefile: ... this.
32290
32291 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32292 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32293 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32294 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32295 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32296 * sysdeps/s390/s390-32/setjmp.S: ... here.
32297 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32298 * sysdeps/s390/s390-32/configure.in: ... here.
32299 * sysdeps/s390/s390-32/elf/configure: Delete file.
32300 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32301 * sysdeps/s390/s390-32/start.S: ... here.
32302
32303 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32304 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32305 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32306 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32307 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32308 * sysdeps/s390/s390-64/setjmp.S: ... here.
32309 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32310 * sysdeps/s390/s390-64/configure.in: ... here
32311 * sysdeps/s390/s390-64/elf/configure: Delete file.
32312 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32313 * sysdeps/s390/s390-64/start.S: ... here.
32314 * sysdeps/s390/s390-64/elf/configure: Delete.
32315
32316 * configure.in: Remove support for elf directories in sysdeps.
32317
32318 * configure: Regenerated.
32319 * sysdeps/i386/configure: Regenerated.
32320 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32321 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32322 * sysdeps/s390/s390-32/configure: Regenerated.
32323 * sysdeps/s390/s390-64/configure: Regenerated.
32324 * sysdeps/sh/configure: Regenerated.
32325 * sysdeps/sparc/configure: Regenerated.
32326 * sysdeps/x86_64/configure: Regenerated.
32327
a3f61311
AS
323282012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32329
c876e002
AS
32330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32331
a3f61311
AS
32332 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32333 denormal result into account.
32334
ac4c54f0
RM
323352012-03-25 Roland McGrath <roland@hack.frob.com>
32336
32337 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32338 Reported by Allan McRae <allan@archlinux.org>.
32339
6a9b9c02
JL
323402012-03-23 Jeff Law <law@redhat.com>
32341
32342 * nss/getnssent.c (__nss_getent): Fix typo.
32343
4c42a0c1
DM
323442012-03-23 David S. Miller <davem@davemloft.net>
32345
32346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32347
1532c7ac
L
323482012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32349
32350 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32351 to pad to uint64_t for each field.
32352 (dl_tls_index): Replace unsigned long with uint64_t.
32353
3ff42526
PP
323542012-03-23 Daniel Jacobowitz <dmj@google.com>
32355 Paul Pluzhnikov <ppluzhnikov@google.com>
32356
32357 [BZ #6528]
32358 * grp/Makefile (otherlibs): Don't set it.
32359 * inet/Makefile (otherlibs): Likewise.
32360 * login/Makefile (otherlibs): Likewise.
32361 * nscd/Makefile (otherlibs): Likewise.
32362 * posix/Makefile (otherlibs): Likewise.
32363 * pwd/Makefile (otherlibs): Likewise.
32364 * rt/Makefile (otherlibs): Likewise.
32365 * sunrpc/Makefile (otherlibs): Likewise.
32366 * nss/Makefile (otherlibs): Likewise.
32367 Add libnss_files to routines and static-only-routines.
32368 ($(objpfx)getent): Remove rule.
32369 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32370 static-only-routines.
32371
7c69cd14
JM
323722012-03-22 Joseph Myers <joseph@codesourcery.com>
32373
32374 [BZ #13892]
32375 * math/s_cexp.c: Include <float.h>.
32376 (__cexp): Handle exp result overflowing not necessarily
32377 overflowing both real and imaginary parts of result.
32378 * math/s_cexpf.c: Likewise.
32379 * math/s_cexpl.c: Likewise.
32380 * math/libm-test.inc (cexp_test): Add more tests.
32381 * sysdeps/i386/fpu/libm-test-ulps: Update.
32382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32383
81b035fe
L
323842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32385
32386 * include/link.h (ELFW): New macro.
32387 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32388 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32389
1da7940c
L
323902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32391
32392 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32393 with uint64_t.
32394
b749dbb9
L
323952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32396
32397 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32398 declaration.
32399 (struct La_x32_retval): Likewise.
32400
2ff87f3f
L
324012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32402
32403 * sysdeps/x86_64/preconfigure.in: New file.
32404 * sysdeps/x86_64/preconfigure: New generated file.
32405
c0df8e69
JM
324062012-03-22 Joseph Myers <joseph@codesourcery.com>
32407
48e44791
JM
32408 [BZ #13824]
32409 * math/e_exp2l.c: Include <float.h>.
32410 (__ieee754_exp2l): Handle overflow and underflow cases
32411 separately. Only pass fractional part of argument to
32412 __ieee754_expl.
32413 * math/libm-test.inc (exp2_test): Add more tests.
32414
c0df8e69
JM
32415 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32416 negating x to take absolute value.
32417 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32418 Likewise.
32419 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32420 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32421 Likewise.
32422 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32423 computing low part if x was negated.
32424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32425
c8e43ba7
L
324262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32427
32428 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32429 la_x32_gnu_pltexit.
32430 (pltexit): Cast int_retval to ptrdiff_t.
32431 * elf/tst-auditmod3b.c: Likewise.
32432 * elf/tst-auditmod4b.c: Likewise.
32433 * elf/tst-auditmod5b.c: Likewise.
32434 * elf/tst-auditmod6b.c: Likewise.
32435 * elf/tst-auditmod6c.c: Likewise.
32436 * elf/tst-auditmod7b.c: Likewise.
32437
32438 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32439 and x32_gnu_pltexit.
32440
32441 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32442 __ELF_NATIVE_CLASS.
32443 (La_x32_regs): New macro.
32444 (La_x32_retval): Likewise.
32445 (la_x32_gnu_pltenter): New function prototype.
32446 (la_x32_gnu_pltexit): Likewise.
32447
7998fa78
AS
324482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32449
dcb33988
AS
32450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32451 exponent.
32452
233fc563
AS
32453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32454
7998fa78
AS
32455 * configure.in (libc_cv_cc_nofma): Check for option to disable
32456 generation of FMA instructions.
32457 * configure: Regenerate.
32458 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32459 * sysdeps/ieee754/dbl-64/Makefile: New file.
32460 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32461 Remove brandred-fma4.
32462 (CFLAGS-brandred-fma4.c): Remove.
32463 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32464 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32465 define.
32466 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32467 define.
32468
8e95c99a
L
324692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32470
32471 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32472 LLONG_MAX != LONG_MAX.
32473 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32474 (_fitoa_word): Likewise.
32475 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32476 LLONG_MAX != LONG_MAX.
32477 * stdio-common/_itowa.h: Include <_itoa.h>.
32478 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32479 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32480 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32481 only if not defined.
32482 (_ITOA_WORD_TYPE): Likewise.
32483 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32484 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32485
6f4db457
DM
324862012-03-21 David S. Miller <davem@davemloft.net>
32487
32488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32489
7785fe5a
L
324902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32491
32492 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32493 of x86_64 when setting libc_cv_slibdir, libdir and
32494 libc_cv_localedir.
32495 * sysdeps/unix/sysv/linux/configure: Regenerated.
32496
4535cd55
JM
324972012-03-21 Joseph Myers <joseph@codesourcery.com>
32498
32499 * manual/lang.texi (Old Varargs): Remove section.
32500 (How Variadic): Update menu.
32501 (va_start): Do not mention varargs.h.
32502
17228132
TS
325032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32504 Joseph Myers <joseph@codesourcery.com>
32505
32506 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32507 link test.
32508 * configure: Regenerated.
32509
8149f976
TS
325102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32511
05f3d1f6
UD
32512 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32513 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32514 conformtest.pl
8149f976 32515
1a4ac776
JM
325162012-03-21 Joseph Myers <joseph@codesourcery.com>
32517
be22ce65
JM
32518 * NOTES: Remove.
32519 * Makefile (files-for-dist): Remove NOTES.
32520 (NOTES): Remove rule.
32521 * README: Don't refer to NOTES.
32522 * manual/creature.texi: Don't include macros.texi.
32523 * manual/intro.texi (creature.texi): Remove comment referring to
32524 NOTES.
32525
40b601fb
JM
32526 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32527 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32528 * configure: Regenerated.
32529 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32530 LIBC_TRY_CC_OPTION.
32531 (libc_cv_as_i686): Likewise.
32532 (libc_cv_cc_avx): Likewise.
32533 (libc_cv_cc_sse2avx): Likewise.
32534 (libc_cv_cc_fma4): Likewise.
32535 (libc_cv_cc_novzeroupper): Likewise.
32536 * sysdeps/i386/configure: Regenerated.
32537
1a4ac776
JM
32538 [BZ #13883]
32539 * sysdeps/i386/fpu/s_cexp.S: Remove.
32540 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32541 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32542 * math/libm-test.inc (cexp_test): Add more tests.
32543 * sysdeps/i386/fpu/libm-test-ulps: Update.
32544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32545
a458e7fe
AM
325462012-03-21 Allan McRae <allan@archlinux.org>
32547
32548 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32549
0cb7efc5
JM
325502012-03-21 Joseph Myers <joseph@codesourcery.com>
32551
32552 [BZ #13871]
32553 * math/w_exp2.c: Do not include <float.h>.
32554 (o_threshold, u_threshold): Remove.
32555 (__exp2): Calculate result before checking finiteness and calling
32556 __kernel_standard.
32557 * math/w_exp2f.c: Likewise.
32558 * math/w_exp2l.c: Likewise.
32559 * math/libm-test.inc (exp2_test): Require overflow exception for
32560 1e6 input.
2460d3aa
JM
32561
32562 [BZ #3866]
32563 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32564 range of signed 64-bit integers before using fistpll. Remove
32565 checks for whether integers fit in mantissa bits.
32566 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32567 the range of signed 32-bit integers before using fistpl. Remove
32568 checks for whether integers fit in mantissa bits.
32569 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32570 (__ieee754_powl): Test for y outside the range of signed 64-bit
32571 integers before using fistpll. Reduce 64-bit values to 63-bit
32572 ones as needed.
32573 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32574 divide-by-zero is raised for zero to large negative powers.
32575 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32576 (__ieee754_powl): Test for y outside the range of signed 64-bit
32577 integers before using fistpll. Reduce 64-bit values to 63-bit
32578 ones as needed.
32579 * math/libm-test.inc (pow_test): Add more tests.
32580
eb96ffb0
L
325812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32582
32583 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32584 <stdio-common/_itoa.h>.
32585 * debug/segfault.c: Likewise.
32586 * elf/dl-cache.c: Likewise.
32587 * elf/dl-minimal.c: Likewise.
32588 * elf/dl-misc.c: Likewise.
32589 * elf/dl-sysdep.c: Likewise.
32590 * elf/dl-version.c: Likewise.
32591 * elf/rtld.c: Likewise.
32592 * hurd/hurdsock.c: Likewise.
32593 * hurd/lookup-retry.c: Likewise.
32594 * malloc/malloc.c: Likewise.
32595 * malloc/mtrace.c: Likewise.
32596 * nscd/nscd_getgr_r.c: Likewise.
32597 * nscd/nscd_getpw_r.c: Likewise.
32598 * nscd/nscd_getserv_r.c: Likewise.
32599 * posix/getopt_init.c: Likewise.
32600 * posix/wordexp.c: Likewise.
32601 * stdio-common/_itoa.c: Likewise.
32602 * stdio-common/printf_fphex.c: Likewise.
32603 * stdio-common/vfprintf.c: Likewise.
32604 * string/_strerror.c: Likewise.
32605 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32606 * sysdeps/i386/i686/hp-timing.h: Likewise.
32607 * sysdeps/mach/_strerror.c: Likewise.
32608 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32609 * sysdeps/mach/hurd/sethostid.c: Likewise.
32610 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32611 * sysdeps/mach/xpg-strerror.c: Likewise.
32612 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32613 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32614 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32615 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32616 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32617 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32618 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32619 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32620 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32621 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32622 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32623 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32624 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32625 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32626 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32627 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32628 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32629 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32630 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32631 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32632 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32633
32634 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32635
32636 * stdio-common/_itoa.h: Moved to ...
32637 * sysdeps/generic/_itoa.h: Here.
32638
32639 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32640
32641 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32642 instead of "_itoa.h" and "_itowa.h".
32643 * stdio-common/vfprintf.: Likewise.
32644
d1af992d
L
326452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32646
32647 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32648 <bits/wordsize.h>.
32649 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32650 (__signbit): Likwise.
32651 (llrintf): Likwise.
32652 (llrint): Likwise.
32653
114883e0
L
326542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32655
32656 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32657 __WORDSIZE != 64.
32658
c135cc1b
JM
326592012-03-20 Joseph Myers <joseph@codesourcery.com>
32660
32661 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32662 OVERFLOW_EXCEPTION_OK.
32663 * math/libm-test.inc ("Philosophy"): Update comment about
32664 exception testing.
32665 (OVERFLOW_EXCEPTION): Define.
32666 (OVERFLOW_EXCEPTION_OK): Likewise.
32667 (INVALID_EXCEPTION_OK): Renumber.
32668 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32669 (IGNORE_ZERO_INF_SIGN): Likewise.
32670 (test_exceptions): Handle FE_OVERFLOW.
32671 (exp10_test): Expect overflow exceptions.
32672 (exp2_test): Likewise.
32673 (expm1_test): Likewise.
32674 (nextafter_test): Likewise.
32675 (pow_test): Likewise.
32676 (scalbn_test): Likewise.
32677 (scalbln_test): Likewise.
32678
95443d88
L
326792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32680
32681 * sysdeps/x86_64/bits/atomic.h
32682 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32683 64bit integer.
32684 (atomic_exchange_acq): Likewise.
32685 (__arch_exchange_and_add_body): Likewise.
32686 (__arch_add_body): Likewise.
32687 (atomic_add_negative): Likewise.
32688 (atomic_add_zero): Likewise.
32689
490df6c4
L
326902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32691
c2722551 32692 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32693 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32694
5e52b189
L
326952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32696
32697 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32698 Check __x86_64__ instead of __WORDSIZE.
32699
a9879d4c
L
327002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32701
32702 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32703
5df98260
DM
327042012-03-19 David S. Miller <davem@davemloft.net>
32705
e1497744
DM
32706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32707
5df98260
DM
32708 * sysdeps/sparc/fpu/fenv_private.h: New file.
32709 * sysdeps/sparc/fpu/math_private.h: Use it.
32710 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32711 Remove.
32712 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32713 (libc_feholdexcept_setroundl): Remove.
32714 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32715 Remove.
32716 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32717 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32718
b4c35121
L
327192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32720
32721 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32722 int64_t instead of long int.
32723 (INSERT_WORDS64): Likwise.
32724
56965fd7
L
327252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32726
32727 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32728 _Unwind_GetCFA return to _Unwind_Ptr first.
32729
83d1aec8
JM
327302012-03-19 Joseph Myers <joseph@codesourcery.com>
32731
1897ad44
JM
32732 [BZ #13629]
32733 * math/s_clog.c: Include <float.h>.
32734 (__clog): Scale large or subnormal inputs.
32735 * math/s_clogf.c: Likewise.
32736 * math/s_clogl.c: Likewise.
32737 * math/s_clog10.c: Include <float.h>.
32738 (M_LOG10_2): Define.
32739 (__clog10): Scale large or subnormal inputs.
32740 * math/s_clog10f.c: Likewise.
32741 * math/s_clog10l.c: Likewise.
32742 * math/libm-test.inc (clog_test): Add more tests.
32743 (clog10_test): Likewise.
32744 * sysdeps/i386/fpu/libm-test-ulps: Update.
32745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32746
7726d6a9
JM
32747 [BZ #11451]
32748 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32749 x and y.
32750 * math/libm-test.inc (atan2_test): Add another test.
32751
83d1aec8
JM
32752 * Makerules (common-objdir-compile): Remove.
32753 * sysdeps/unix/Makefile (config-generated): Do not add
32754 $(unix-generated) to variable.
32755 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32756 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32757 Remove rule.
32758 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32759 Likewise.
32760 [generic bits/local_lim.h] (before-compile): Do not append to
32761 variable.
32762 [generic bits/local_lim.h] (common-generated): Likewise.
32763 [generic sys/param.h] (before-compile): Do not append to variable.
32764 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32765 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32766 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32767 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32768 include.
32769 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32770 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32771 [generic sys/param.h] ($(addprefix
32772 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32773 [generic sys/param.h] (common-generated): Do not append to
32774 variable.
32775 [generic sys/param.h] (sysdep_headers): Likewise.
32776 [generic bits/errno.h] (before-compile): Do not append to
32777 variable.
32778 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32779 rule.
32780 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32781 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32782 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32783 [generic bits/errno.h] (common-generated): Do not append to
32784 variable.
32785 [generic bits/ioctls.h] (before-compile): Do not append to
32786 variable.
32787 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32788 rule.
32789 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32790 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32791 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32792 rule.
32793 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32794 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32795 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32796 [generic bits/ioctls.h] (common-generated): Do not append to
32797 variable.
32798 [generic sys/syscall.h] (syscall.h): Remove variable.
32799 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32800 rule.
32801 [generic sys/syscall.h] (before-compile): Do not append to
32802 variable.
32803 [generic sys/syscall.h] (common-generated): Likewise.
32804 * sysdeps/unix/errnos-tmpl.c: Remove file.
32805 * sysdeps/unix/errnos.awk: Likewise.
32806 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32807 * sysdeps/unix/ioctls.awk: Likewise.
32808 * sysdeps/unix/mk-local_lim.c: Likewise.
32809 * sysdeps/unix/snarf-ioctls: Likewise.
32810
4851a949
RH
328112012-03-19 Richard Henderson <rth@twiddle.net>
32812
bd37f2ee
RH
32813 * sysdeps/i386/fpu/fenv_private.h: New file.
32814 * sysdeps/i386/fpu/math_private.h: Use it.
32815 (math_opt_barrier, math_force_eval): Remove.
32816 (libc_feholdexcept_setround_53bit): Remove.
32817 (libc_feupdateenv_53bit): Remove.
32818 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32819 (math_opt_barrier, math_force_eval): Remove.
32820 (libc_feholdexcept): Remove.
32821 (libc_feholdexcept_setround): Remove.
32822 (libc_fetestexcept, libc_fesetenv): Remove.
32823 (libc_feupdateenv_test): Remove.
32824 (libc_feupdateenv, libc_feholdsetround): Remove.
32825 (libc_feresetround): Remove.
32826
d0adc922
RH
32827 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32828 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32829
0fe0f1f8
RH
32830 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32831 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32832 (libc_feupdateenv_testl): New.
32833 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32834 (libc_feupdateenv_testf): New.
32835 (libc_feupdateenv): Use libc_feupdateenv_test.
32836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32837 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32838
eb92c487
RH
32839 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32840 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32841 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32842 (libc_feresetround_noex): New.
32843 (libc_feresetround_noexf): New.
32844 (libc_feresetround_noexl): New.
32845 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32846 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32847 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32848 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32849 SET_RESTORE_ROUND.
32850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32852 (__cos): Likewise.
32853 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32854 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32855 SET_RESTORE_ROUND_NOEX.
32856 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32857 SET_RESTORE_ROUND_NOEXF.
32858 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32859 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32860 (libc_feholdsetroundf): New.
32861 (libc_feresetround, libc_feresetroundf): New.
32862
7d2e8012
RH
32863 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32864 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32865 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32866
b4dabbb4
RH
32867 * sysdeps/generic/math_private.h: Include <fenv.h>.
32868 (default_libc_feholdexcept): New.
32869 (default_libc_feholdexcept_setround): New.
32870 (default_libc_fesetenv, default_libc_feupdateenv): New.
32871 (libc_feholdexcept): Only define if undefined.
32872 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32873 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32874 (libc_feholdexcept_setroundl): Likewise.
32875 (libc_feholdexcept_setround_53bit): Likewise.
32876 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32877 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32878 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32879 (libc_feupdateenv_53bit): Likewise.
32880 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32881 (libc_feholdexcept): Convert from macro to inline function.
32882 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32883 (libc_fesetenv, libc_feupdateenv): Likewise.
32884
4851a949
RH
32885 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32886 not previously defined.
32887 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32888 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32889 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32890 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32891 * sysdeps/ieee754/flt-32/math_private.h: New file.
32892 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32893 math_private.h below SET_FLOAT_WORD.
32894 (__isnan, __isinf_ns, __finite): Remove.
32895 (__isnanf, __isinf_nsf, __finitef): Remove.
32896
e79d442e
AS
328972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32898
32899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32900
90b80344
DM
329012012-03-17 David S. Miller <davem@davemloft.net>
32902
32903 [BZ #6471]
32904 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32905 for 2.16.
32906
edc21804
DM
329072012-03-16 David S. Miller <davem@davemloft.net>
32908
77e927af
DM
32909 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32910 warnings.
32911
374976dd
DM
32912 [BZ #6471]
32913 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32914 properly.
32915 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32916 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32917 sysdep_routines when subdir is sysvipc.
32918 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32919 __getshmlba helper.
32920
edc21804
DM
32921 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32922
473c3ef3
L
329232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32924
32925 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32926 [__LP64__].
32927
eb0f39b6
L
329282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32929
32930 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32931 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32932 (__lround): Renamed to ...
32933 (__llround): This. Replace long int with long long int.
32934 Define lround functions as aliases of llround functions.
32935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32936
6b6cd74b
L
329372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32938
32939 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32940 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32941 adresses to uintptr_t. Replace "long int" and "unsigned long
32942 int" with "greg_t" on va_arg.
32943
f1a77b01
L
329442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32945
32946 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32947 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32948
32949 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32950 Move e_machine check before EI_CLASS check. Handle x32
32951 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32952 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32953 SKIP_EM_IA_64 and include
32954 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32955
32956 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32957 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32958 (add_system_dir): New macro.
32959
32960 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32961 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32962
11b90b9f
JM
329632012-03-16 Joseph Myers <joseph@codesourcery.com>
32964
c36e1d23
JM
32965 [BZ #2551]
32966 [BZ #2552]
32967 [BZ #2553]
32968 [BZ #2554]
32969 [BZ #2562]
32970 [BZ #2563]
32971 [BZ #2565]
32972 [BZ #2566]
32973 [BZ #2576]
32974 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32975 (y0): Likewise.
32976 * math/w_j0f.c (j0f): Likewise.
32977 (y0f): Likewise.
32978 * math/w_j0l.c (__j0l): Likewise.
32979 (__y0l): Likewise.
32980 * math/w_j1.c (j1): Likewise.
32981 (y1): Likewise.
32982 * math/w_j1f.c (j1f): Likewise.
32983 (y1f): Likewise.
32984 * math/w_j1l.c (__j1l): Likewise.
32985 (__y1l): Likewise.
32986 * math/w_jn.c (jn): Likewise.
32987 (yn): Likewise.
32988 * math/w_jnf.c (jnf): Likewise.
32989 (ynf): Likewise.
32990 * math/w_jnl.c (__jnl): Likewise.
32991 (__ynl): Likewise.
32992 * math/libm-test.inc (j0_test): Add more tests.
32993 (j1_test): Likewise.
32994 (jn_test): Likewise. Add trailing semicolon to existing test.
32995 (y0_test): Likewise.
32996 (y1_test): Likewise.
32997 * sysdeps/i386/fpu/libm-test-ulps: Update.
32998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32999
11b90b9f
JM
33000 [BZ #13851]
33001 [BZ #13854]
33002 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33003 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33004 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33005 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33006 (__tanl): Set errno for infinite argument.
33007 * sysdeps/i386/fpu/mptan.c: Remove.
33008 * sysdeps/i386/fpu/s_tan.S: Likewise.
33009 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33010 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33011 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33012 * math/libm-test.inc (tan_test): Add more tests and enable more
33013 tests for double and long double.
33014 * sysdeps/i386/fpu/libm-test-ulps: Update.
33015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33016
6a1bd2a1
JK
330172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33018
33019 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33020 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33021
10a803e0
RM
330222012-03-16 Roland McGrath <roland@hack.frob.com>
33023
33024 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33025 * configure.in: Use it for both main tree and add-ons.
33026 * configure: Regenerated.
33027
f196c7f7
L
330282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33029
33030 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33031
8848d99d
JM
330322012-03-16 Joseph Myers <joseph@codesourcery.com>
33033
96cbe7f4
JM
33034 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33035 in comment.
33036
8848d99d
JM
33037 [BZ #13851]
33038 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33039 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33040 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33042 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33043 infinite argument.
33044 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33046 != 0 for prec == 2.
33047 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33048 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33049 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33050 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33051 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33052 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33053 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33054 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33055 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33056 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33057 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33058 * math/libm-test.inc (cos_test): Add more tests and enable more
33059 tests for long double.
33060 (sin_test): Likewise.
33061 (sincos_test): Likewise.
33062 * sysdeps/i386/fpu/libm-test-ulps: Update.
33063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33064
dd7f4703
DM
330652012-03-16 David S. Miller <davem@davemloft.net>
33066
33067 * sysdeps/sparc/fpu/math_private.h: New file.
33068
006f1daa
DM
330692012-03-15 David S. Miller <davem@davemloft.net>
33070
c0c83bc8
DM
33071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33072 file.
e6a62e18 33073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33075 file.
e6a62e18
DM
33076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33082 sysdep routines.
33083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33084
88cb87d9
DM
33085 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33086 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33087
006f1daa 33088 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33090 sparc-ifunc.h
006f1daa 33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33093 Likewise.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33095 Likewise.
006f1daa
DM
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33100 Likewise.
006f1daa
DM
33101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33106 Likewise.
33107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33108 Likewise.
006f1daa
DM
33109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33116 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33133
11e0098e
AS
331342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33135
33136 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33137 scaling.
33138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33139
e85b09d0
AJ
331402012-03-15 Andreas Jaeger <aj@suse.de>
33141
33142 [BZ #13852]
33143 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33144 ieee754/flt-32 implementation for sin, cos and sincos.
33145 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33146 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33147 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33148 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33149 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33150 ieee754/flt-32 implementation for tan.
33151
33152 * math/libm-test.inc (cos_test): Enable some large input tests for
33153 float as well
33154 (sin_test): Likewise.
33155 (sincos_test): Likewise.
33156 (tan_test): Add tests for large input.
33157
33158 * sysdeps/i386/fpu/libm-test-ulps: Update.
33159
81c64153
AJ
331602012-03-15 Andreas Jaeger <aj@suse.de>
33161
33162 [BZ #13658]
33163 * math/libm-test.inc (cos_test): Add more test cases.
33164 (sin_test): Likewise.
33165 (sincos_test): Likewise.
33166
7bbfa5c6
AJ
331672012-03-15 Andreas Jaeger <aj@suse.de>
33168
33169 [BZ #13837]
33170 * math/libm-test.inc (cos_test): Add a test case for large input
33171 value.
33172 (sin_test): Likewise.
33173 (sincos_test): Likewise.
33174
331752012-03-15 Andreas Jaeger <aj@suse.de>,
33176 Joseph Myers <joseph@codesourcery.com>
33177
33178 [BZ #13658]
0671f479 33179 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33180 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33181 * sysdeps/i386/fpu/branred.c: Likewise.
33182 * sysdeps/i386/fpu/dosincos.c: Likewise.
33183 * sysdeps/i386/fpu/mpa.c: Likewise.
33184 * sysdeps/i386/fpu/s_cos.S: Likewise.
33185 * sysdeps/i386/fpu/s_sin.S: Likewise.
33186 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33187 * sysdeps/i386/fpu/sincos32.c: Likewise.
33188
33189 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33190 Define.
33191 (libc_feupdateenv_53bit): Define.
33192 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33193 Define.
33194 (libc_feupdateenv_53bit): Define.
33195
33196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33197 53 bit (without extend i386 double precision).
33198
33199 * math/libm-test.inc (sincos_test): Add tests for large input.
33200 (sin): Likewise.
33201 (cos): Likewise.
33202
33203 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33204
9cad04ea
AS
332052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33206
33207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33208
f7062b9a
DM
332092012-03-15 David S. Miller <davem@davemloft.net>
33210
33211 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33212 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33213 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33214 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33227 file.
f7062b9a 33228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33230 file.
f7062b9a 33231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33233 file.
f7062b9a 33234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33236 file.
f7062b9a
DM
33237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33239 fmin/fmax sysdep routines.
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33241
7bd951ff
DM
332422012-03-14 David S. Miller <davem@davemloft.net>
33243
559398ab
DM
33244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33271 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33273 routines.
33274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33275 file.
559398ab 33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33278 file.
559398ab 33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33281 file.
559398ab 33282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33284 file.
559398ab 33285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33287 file.
559398ab 33288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33290 file.
33291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33292 file.
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33294 file.
33295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33296 file.
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33298 New file.
33299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33300 file.
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33302 file.
559398ab 33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33305 file.
559398ab 33306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33308 file.
559398ab 33309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33311 file.
559398ab 33312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33314 VIS3 routines.
559398ab
DM
33315
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33317 New file.
33318
5a1c1e32
DM
33319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33320
eae47a36
DM
33321 * sysdeps/sparc/configure.in: New file.
33322 * sysdeps/sparc/configure: Generate.
33323 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33324 * configure: Regenerate.
33325 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33326 * config.make.in (have-as-vis3): New.
33327 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33328 available use -Av9d instead of -Av9a.
33329 * sysdeps/sparc/sparc64/Makefile: Likewise.
33330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33332 New file.
33333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33334 file.
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33336 New file.
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33338 file.
eae47a36
DM
33339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33343 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33344
c0c83bc8
DM
33345 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33346 fzeros/fnegs to load 0x80000000 into a float register instead of
33347 using the stack.
7bd951ff
DM
33348 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33349
bd951ccb
JM
333502012-03-14 Joseph Myers <joseph@codesourcery.com>
33351
33352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33353 bits/syscall.h.
33354 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33355 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33356 ($(inst_includedir)/bits/syscall.h): Remove rule.
33357 ($(objpfx)bits/syscall.d): Include instead of
33358 $(objpfx)syscall-list.d.
33359 (generated): Change syscall-list.h and syscall-list.d to
33360 bits/syscall.h and bits/syscall.d.
33361
bb4e6db2
RM
333622012-03-14 Roland McGrath <roland@hack.frob.com>
33363
33364 [BZ #13846]
33365 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33366
aa4a2ae1
JM
333672012-03-14 Joseph Myers <joseph@codesourcery.com>
33368
e456826d
JM
33369 [BZ #13841]
33370 * math/s_csqrt.c: Include <float.h>.
33371 (__csqrt): Scale large or subnormal inputs.
33372 * math/s_csqrtf.c: Likewise.
33373 * math/s_csqrtl.c: Likewise.
33374 * math/libm-test.inc (csqrt_test): Add more tests.
33375 * sysdeps/i386/fpu/libm-test-ulps: Update.
33376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33377
aa4a2ae1
JM
33378 [BZ #13840]
33379 * math/libm-test.inc (hypot_test): Add more tests.
33380
7c10fd35
DM
333812012-03-13 David S. Miller <davem@davemloft.net>
33382
33383 [BZ #13840]
33384 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33385 double-precision for the calculation instead of scaling.
33386
f453b98b
JM
333872012-03-13 Joseph Myers <joseph@codesourcery.com>
33388
33389 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33390 manipulate bits before adding and subtracting TWO52[sx].
33391 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33392 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33393 Likewise.
33394 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33395
09a3453f
DM
333962012-03-13 David S. Miller <davem@davemloft.net>
33397
8e59da90
DM
33398 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33399 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33401 rtld-global-offsets.h
33402 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33403
2a8ab7f2
DM
33404 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33405 large parameters.
33406
10f62770
DM
33407 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33408
5f0bdb18
DM
33409 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33410 'err' in the ifdef scope in which it is actually used.
33411
09a3453f
DM
33412 * nss/nss_db/db-init.c: Include string.h
33413
b4b2eb5e
DM
334142012-03-12 David S. Miller <davem@davemloft.net>
33415
98bb2f1c
DM
33416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33417 masking out of the most significant byte of random value used.
33418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33419 Fix coding style in previous change.
33420
b4b2eb5e
DM
33421 * sysdeps/unix/sysv/linux/kernel-features.h
33422 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33423 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33424 expression.
33425 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33426 later.
33427
6e226b09
DM
334282012-03-11 David S. Miller <davem@davemloft.net>
33429
a1bcbd40
DM
33430 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33431 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33432 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33433 for 'resultvar' otherwise things get truncated on 64-bit.
33434
cb9d6174
DM
33435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33436 Fix masking out of the most significant byte of random value used.
33437
6e226b09
DM
33438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33439
058c132d
AS
334402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33441
33442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33443
2d2cd515
DM
334442012-03-09 David S. Miller <davem@davemloft.net>
33445
33446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33447 variables with appropriate CPP guards.
33448 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33449 frame pointer, not the stack pointer. Correct layout comments. Fix test
33450 on resulting framesize and the management of the outregs buffer for pltexit.
33451 Preserve floating point return values across _dl_call_pltexit call.
33452 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33453 framesize and the management of the outregs buffer for pltexit.
33454 Preserve floating point return values across _dl_call_pltexit
33455 call.
33456 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33457 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33458 (print_exit): Fix format string for return register value.
33459
9a07f9d0
JM
334602012-03-10 Joseph Myers <joseph@codesourcery.com>
33461
33462 * sunrpc/Makefile (others): Add rpcgen.
33463 ($(objpfx)rpcgen): Remove special build rule and dependency on
33464 libc.
33465 * sunrpc/rpcgen.c: New file.
33466
547b5e30
PE
334672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33468
c524201a
PE
33469 [BZ #13673]
33470 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33471 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33472 * sysdeps/i386/crti.S: Likewise.
33473 * sysdeps/i386/crtn.S: Likewise.
33474 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33475 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33476 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33477 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33478 * sysdeps/sh/crti.S: Likewise.
33479 * sysdeps/sh/crtn.S: Likewise.
33480 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33481
7b6235f2
PE
33482 [BZ #13673]
33483 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33484 with URL.
33485 * locale/programs/locfile-kw.gperf: Likewise.
33486 * locale/programs/charmap-kw.h: Regenerated.
33487 * locale/programs/locfile-kw.h: Likewise.
33488
547b5e30
PE
33489 [BZ #13673]
33490 * intl/plural.y: Replace FSF snail mail address with URL.
33491 * intl/plural.c: Regenerated.
33492
5f0a5dae
RH
334932012-03-09 Richard Henderson <rth@twiddle.net>
33494
33495 * include/math_private.h: Remove file.
33496 * math/math_private.h: Move file ...
33497 * sysdeps/generic/math_private.h: ... here.
33498
b8c03620
RH
33499 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33500 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33501 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33502
4e234f5d 33503 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33504 and <math_private.h>.
33505 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33506 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33507 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33508 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33509 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33510 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33511 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33516 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33520 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33521 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33524 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33593 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33594 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33595 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33596 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33597 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33598 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33599 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33600 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33602 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33603 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33604 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33605 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33606 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33607 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33608 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33609 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33610 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33612 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33615 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33617 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33618 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33619 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33620 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33622 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33624 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33625 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33627 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33628 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33630 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33632 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33633 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33634 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33637 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33638 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33639 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33640 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33641 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33642 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33643 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33644 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33645 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33646 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33647 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33648 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33649 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33650 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33651 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33652 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33653 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33654 * sysdeps/ieee754/k_standard.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33770 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33804 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33805 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33815 * sysdeps/ieee754/s_lib_version.c: Likewise.
33816 * sysdeps/ieee754/s_matherr.c: Likewise.
33817 * sysdeps/ieee754/s_signgam.c: Likewise.
33818 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33819 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33820 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33821 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33822 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33823 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33824 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33825 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33826 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33827 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33828 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33829 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33830 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33831 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33832 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33833 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33834 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33835 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33836 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33839
1991fa03
JM
338402012-03-09 Joseph Myers <joseph@codesourcery.com>
33841
33842 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33843 * sunrpc/rpc_main.c: Likewise.
33844 * sunrpc/rpc_svcout.c: Likewise.
33845
60d6f5a6
DM
338462012-03-09 David S. Miller <davem@davemloft.net>
33847
33848 * include/math_private.h: New file.
33849
4962050e
JM
338502012-03-09 Joseph Myers <joseph@codesourcery.com>
33851
02a6f887
JM
33852 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33853 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33854 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33855 from <bits/socket_type.h>.
33856 (enum __socket_type): Don't define here.
33857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33859 bits/socket_type.h.
33860
c6e013c1
JM
33861 [BZ #13566]
33862 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33863 checking __USE_GNU.
33864
4962050e
JM
33865 * Makerules ($(inst_includedir)/%.h): New rule.
33866 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33867 (install-others): Remove variable setting.
33868 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33869
38842f45
RH
338702012-03-08 Richard Henderson <rth@twiddle.net>
33871
67bb6da6
RH
33872 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33873 from macro to inline function; merge with the
33874 !__LIBC_INTERNAL_MATH_INLINES version.
33875 (__ieee754_sqrtf): Likewise.
33876
15194b4b
RH
33877 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33878 to inline function.
33879 (__rintf, __floor, __floorf): Likewise.
33880
64e21ede
RH
33881 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33882 macro to inline function.
33883 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33884
38842f45
RH
33885 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33886 not <math/math_private.h>.
33887
c64bf5fe
DM
338882012-03-08 David S. Miller <davem@davemloft.net>
33889
33890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33891 copyright year.
33892 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33893
82d86f28
TS
338942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33895
33896 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33897 normalization.
33898 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33899 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33900
aea5d727
UD
339012012-03-08 Ulrich Drepper <drepper@gmail.com>
33902
33903 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33904 be defined individually, they must be defined as a block. Define
33905 S for printing a string instead of hidint the different by using a
33906 macro for adding the 'l'.
33907 * stdio-common/tst-fphex-wide.c: Adjust.
33908
70bca0a3
MP
339092012-03-07 Marek Polacek <polacek@redhat.com>
33910
33911 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33912
65b81130
MP
339132012-03-08 Marek Polacek <polacek@redhat.com>
33914
33915 [BZ #13806]
33916 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33917 * stdio-common/tst-fphex.c: Define a few macros to make the
33918 test reusable. Use them.
33919 * stdio-common/tst-fphex-wide.c: New file.
33920
07037eeb
JM
339212012-03-08 Joseph Myers <joseph@codesourcery.com>
33922
a7a93d50
JM
33923 [BZ #6911]
33924 * manual/macros.texi (gnusystems): New macro.
33925 (nongnusystems): Likewise.
33926 (gnulinuxhurdsystems): Likewise.
33927 (gnuhurdsystems): Likewise..
33928 (gnulinuxsystems): Likewise.
33929 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33930 variants of the GNU system, not "GNU system".
33931 * manual/conf.texi: Likewise.
33932 * manual/errno.texi: Likewise. Update example of errno macro
33933 expansion.
33934 * manual/filesys.texi: Likewise.
33935 (getumask): Document as specific to GNU/Hurd.
33936 * manual/install.texi: Likewise. Reword some references to
33937 GNU/Linux.
33938 * manual/intro.texi: Likewise.
33939 * manual/io.texi: Likewise.
33940 (File Name Portability): Detail which constraints are inapplicable
33941 to all GNU systems and which are only inapplicable to GNU/Hurd.
33942 * manual/job.texi: Likewise.
33943 * manual/llio.texi: Likewise.
33944 (O_NOCTTY): Document as present on GNU/Linux.
33945 * manual/maint.texi: Likewise.
33946 * manual/memory.texi: Likewise.
33947 * manual/pattern.texi: Likewise.
33948 * manual/pipe.texi: Likewise.
33949 * manual/process.texi: Likewise.
33950 * manual/resource.texi: Likewise.
33951 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33952 child on GNU/Hurd.
33953 * manual/setjmp.texi: Likewise.
33954 * manual/signal.texi: Likewise.
33955 * manual/startup.texi: Likewise.
33956 * manual/stdio.texi: Likewise.
33957 * manual/terminal.texi: Likewise.
33958 (ONLCR): Document as POSIX.
33959 (OXTABS): Document availability on GNU/Linux as XTABS.
33960 (ONOEOT): Document availability separately from other bits.
33961 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33962 * manual/time.texi: Likewise.
33963 * manual/users.texi: Likewise.
33964 * INSTALL: Regenerated.
33965 * sysdeps/gnu/errlist.c: Regenerated.
33966
07037eeb
JM
33967 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33968 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33969 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33970 puts.
33971 * configure: Regenerated.
33972
d1d3431a
JM
339732012-03-07 Joseph Myers <joseph@codesourcery.com>
33974
af6a1e37
JM
33975 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33976 default includes instead of AC_HEADER_CHECK.
33977 * sysdeps/i386/configure: Regenerated.
33978
d1d3431a
JM
33979 [BZ #10716]
33980 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33981 * math/s_cacoshf.c (__cacoshf): Likewise.
33982 * math/s_cacoshl.c (__cacoshl): Likewise.
33983 * math/s_casinh.c (__casinh): Set signs of result from argument.
33984 * math/s_casinhf.c (__casinhf): Likewise.
33985 * math/s_casinhl.c (__casinhl): Likewise.
33986 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33987 (casinh_test): Add more tests.
33988 * sysdeps/i386/fpu/libm-test-ulps: Update.
33989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33990
482ff4da
UD
339912012-03-07 Ulrich Drepper <drepper@gmail.com>
33992
872fda05
UD
33993 * po/zh_TW.po: Update from translation team.
33994
a4300c7a
UD
33995 * login/Makefile (distribute): Remove variable.
33996 * catgets/Makefile: Likewise.
33997 * mach/Makefile: Likewise.
33998 * malloc/Makefile: Likewise.
33999 * misc/Makefile: Likewise.
34000 * iconv/Makefile: Likewise.
34001 * nscd/Makefile: Likewise.
34002 * hurd/Makefile: Likewise.
34003 * manual/Makefile: Likewise.
34004 * locale/Makefile: Likewise.
34005 * intl/Makefile: Likewise.
34006 * conform/Makefile: Likewise.
34007 * nss/Makefile: Likewise.
34008 * time/Makefile: Likewise.
34009 * soft-fp/Makefile: Likewise.
34010 * dirent/Makefile: Likewise.
34011 * gmon/Makefile: Likewise.
34012 * po/Makefile: Likewise.
34013 * rt/Makefile: Likewise.
34014 * socket/Makefile: Likewise.
34015 * math/Makefile: Likewise.
34016 * signal/Makefile: Likewise.
34017 * debug/Makefile: Likewise.
34018 * elf/Makefile: Likewise.
34019 * timezone/Makefile: Likewise.
34020 * stdlib/Makefile: Likewise.
34021 * iconvdata/Makefile: Likewise.
34022 * sunrpc/Makefile: Likewise.
34023 * io/Makefile: Likewise.
34024 * argp/Makefile: Likewise.
34025 * inet/Makefile: Likewise.
34026 * hesiod/Makefile: Likewise.
34027 * grp/Makefile: Likewise.
34028 * csu/Makefile: Likewise.
34029 * wctype/Makefile: Likewise.
34030 * crypt/Makefile: Likewise.
34031 * libio/Makefile: Likewise.
34032 * string/Makefile: Likewise.
34033 * nis/Makefile: Likewise.
34034 * resolv/Makefile: Likewise.
34035 * stdio-common/Makefile: Likewise.
34036 * wcsmbs/Makefile: Likewise.
34037 * dlfcn/Makefile: Likewise.
34038 * posix/Makefile: Likewise.
34039
3b7c4e74 34040 [BZ #6959]
482ff4da
UD
34041 * timezone/Makefile: Don't install timezone files, just the programs
34042 and scripts.
34043
f72ed77d
UD
340442012-03-06 Ulrich Drepper <drepper@gmail.com>
34045
a000466f
UD
34046 * nss/databases.def: Add missing gshadow entry.
34047
f72ed77d
UD
34048 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34049
a53b7a4e
MP
340502012-03-06 Marek Polacek <polacek@redhat.com>
34051
34052 [BZ #13726]
34053 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34054 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34055 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34056 * stdio-common/tst-long-dbl-fphex.c: New file.
34057
e9258400
DM
340582012-03-06 David S. Miller <davem@davemloft.net>
34059
34060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34061 (set_obp_int): New function.
34062 (get_obp_int): New function.
34063 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34064 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34065 Avoid unused variable warnings on 'val' and use builtin_expect.
34066 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34067 __builtin_expect.
e9258400
DM
34068 (INLINE_CLONE_SYSCALL): Likewise.
34069
3bd2c723
DM
340702012-03-05 David S. Miller <davem@davemloft.net>
34071
34072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34073
bbb78d03
AS
340742012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34075
884c5db4
AS
34076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34077
bbb78d03
AS
34078 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34079 only for |x| >= 40.
34080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34081
1c9f702a 340822012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34083
34084 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34085 Replace gettimeofday with __vdso_gettimeofday.
34086
7be16f82
RM
34087 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34088 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34089 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34090
34091 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34092 time with __vdso_time.
34093
ed58a00f
JM
340942012-03-05 Joseph Myers <joseph@codesourcery.com>
34095
34096 * manual/lang.texi (size_t): Note types to which size_t may be
34097 equivalent with the GNU C Library, but do not describe when
34098 differences between them are significant.
34099
30ee4ced
AJ
341002012-03-05 Andreas Jaeger <aj@suse.de>
34101
34102 * sysdeps/i386/fpu/libm-test-ulps: Update.
34103
b7cd39e8
JM
341042012-03-05 Joseph Myers <joseph@codesourcery.com>
34105
34106 [BZ #3976]
34107 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34108 (__ieee754_pow): Save and restore rounding mode and use
34109 round-to-nearest for main computations.
34110 * math/libm-test.inc (pow_test_tonearest): New function.
34111 (pow_test_towardzero): Likewise.
34112 (pow_test_downward): Likewise.
34113 (pow_test_upward): Likewise.
34114 (main): Call the new functions.
34115 * sysdeps/i386/fpu/libm-test-ulps: Update.
34116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34117
34118 [BZ #3976]
34119 * math/libm-test.inc (cosh_test_tonearest): New function.
34120 (cosh_test_towardzero): Likewise.
34121 (cosh_test_downward): Likewise.
34122 (cosh_test_upward): Likewise.
34123 (sinh_test_tonearest): Likewise.
34124 (sinh_test_towardzero): Likewise.
34125 (sinh_test_downward): Likewise.
34126 (sinh_test_upward): Likewise.
34127 (main): Call the new functions.
34128 * sysdeps/i386/fpu/libm-test-ulps: Update.
34129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34130
6c6a98c9
TV
341312012-03-05 Tom de Vries <tom@codesourcery.com>
34132
34133 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34134 default stack guard is set in last bytes.
34135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34136
21bb2d2e 341372012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34138
21bb2d2e 34139 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34140
21bb2d2e
AJ
34141 [BZ #13656]
34142 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34143 possibly allocate from heap instead of stack.
34144 * stdio-common/bug-vfprintf-nargs.c: New file.
34145 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34146
c6922934
AS
341472012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34148
34149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34150
bc957d53
MP
341512012-03-03 Marek Polacek <polacek@redhat.com>
34152
34153 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34154 * math/math_private.h: Likewise.
34155 * stdlib/tst-strtod.c: Likewise.
34156 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34157 * sysdeps/x86_64/bits/atomic.h: Likewise.
34158
6358490d
DM
341592012-03-02 David S. Miller <davem@davemloft.net>
34160
34161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34165 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34166 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34167 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34168 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34169
01ae168d
RM
341702012-03-02 Roland McGrath <roland@hack.frob.com>
34171
d9a17c07
RM
34172 [BZ #13792]
34173 * manual/examples/README: New file, says the example source files
34174 can be used under GPL>=2.
34175 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34176 line containing just "*/".
34177 * manual/examples/add.c: Add copyright header (GPL>=2).
34178 * manual/examples/argp-ex1.c: Likewise.
34179 * manual/examples/argp-ex2.c: Likewise.
34180 * manual/examples/argp-ex3.c: Likewise.
34181 * manual/examples/argp-ex4.c: Likewise.
34182 * manual/examples/atexit.c: Likewise.
34183 * manual/examples/db.c: Likewise.
34184 * manual/examples/dir.c: Likewise.
34185 * manual/examples/dir2.c: Likewise.
34186 * manual/examples/execinfo.c: Likewise.
34187 * manual/examples/filecli.c: Likewise.
34188 * manual/examples/filesrv.c: Likewise.
34189 * manual/examples/fmtmsgexpl.c: Likewise.
34190 * manual/examples/genpass.c: Likewise.
34191 * manual/examples/inetcli.c: Likewise.
34192 * manual/examples/inetsrv.c: Likewise.
34193 * manual/examples/isockad.c: Likewise.
34194 * manual/examples/longopt.c: Likewise.
34195 * manual/examples/memopen.c: Likewise.
34196 * manual/examples/memstrm.c: Likewise.
34197 * manual/examples/mkfsock.c: Likewise.
34198 * manual/examples/mkisock.c: Likewise.
34199 * manual/examples/mygetpass.c: Likewise.
34200 * manual/examples/pipe.c: Likewise.
34201 * manual/examples/popen.c: Likewise.
34202 * manual/examples/rprintf.c: Likewise.
34203 * manual/examples/search.c: Likewise.
34204 * manual/examples/select.c: Likewise.
34205 * manual/examples/setjmp.c: Likewise.
34206 * manual/examples/sigh1.c: Likewise.
34207 * manual/examples/sigusr.c: Likewise.
34208 * manual/examples/stpcpy.c: Likewise.
34209 * manual/examples/strdupa.c: Likewise.
34210 * manual/examples/strftim.c: Likewise.
34211 * manual/examples/strncat.c: Likewise.
34212 * manual/examples/subopt.c: Likewise.
34213 * manual/examples/swapcontext.c: Likewise.
34214 * manual/examples/termios.c: Likewise.
34215 * manual/examples/testopt.c: Likewise.
34216 * manual/examples/testpass.c: Likewise.
34217 * manual/examples/timeval_subtract.c: Likewise.
34218
01ae168d
RM
34219 [BZ #13792]
34220 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34221 function to ...
34222 * manual/timeval_subtract.c.texi: ... here, new file.
34223
49efa33d
DM
342242012-03-02 David S. Miller <davem@davemloft.net>
34225
34226 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34227
28afd92d
JM
342282012-03-02 Joseph Myers <joseph@codesourcery.com>
34229
804360ed
JM
34230 [BZ #3976]
34231 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34232 (__sin): Save and restore rounding mode and use round-to-nearest
34233 for all computations.
34234 (__cos): Save and restore rounding mode and use round-to-nearest
34235 for all computations.
34236 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34237 <fenv.h>.
34238 (tan): Save and restore rounding mode and use round-to-nearest for
34239 all computations.
34240 * math/libm-test.inc (cos_test_tonearest): New function.
34241 (cos_test_towardzero): Likewise.
34242 (cos_test_downward): Likewise.
34243 (cos_test_upward): Likewise.
34244 (sin_test_tonearest): Likewise.
34245 (sin_test_towardzero): Likewise.
34246 (sin_test_downward): Likewise.
34247 (sin_test_upward): Likewise.
34248 (tan_test_tonearest): Likewise.
34249 (tan_test_towardzero): Likewise.
34250 (tan_test_downward): Likewise.
34251 (tan_test_upward): Likewise.
34252 (main): Call the new functions.
34253 * sysdeps/i386/fpu/libm-test-ulps: Update.
34254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34255
a6d06d7b
JM
34256 [BZ #10135]
34257 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34258 small n, then large n, before computing and testing k+n.
34259 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34261 Likewise.
34262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34263 Likewise.
34264 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34265 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34266 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34267 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34268 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34269 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34270 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34271 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34272 * math/libm-test.inc (scalbn_test): Add more tests.
34273 (scalbln_test): Likewise.
34274
07e12bb3
JM
34275 * manual/filesys.texi (mode_t): Describe constraints on size and
34276 signedness, not exact equivalence to a particular type.
34277 (ino_t): Likewise.
34278 (ino64_t): Likewise.
34279 (dev_t): Likewise.
34280 (nlink_t): Likewise.
34281 (blkcnt_t): Likewise.
34282 (blkcnt64_t): Likewise.
34283 * manual/llio.texi (off_t): Likewise.
34284
28afd92d
JM
34285 [BZ #3976]
34286 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34287 (__ieee754_exp): Save and restore rounding mode and use
34288 round-to-nearest for all computations.
34289 * math/libm-test.inc (exp_test_tonearest): New function.
34290 (exp_test_towardzero): Likewise.
34291 (exp_test_downward): Likewise.
34292 (exp_test_upward): Likewise.
34293 (main): Call the new functions.
34294 * sysdeps/i386/fpu/libm-test-ulps: Update.
34295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34296
b1eeb65d
CD
342972012-03-01 Chris Demetriou <cgd@google.com>
34298
34299 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34300 have predictable order.
34301
53362a4b
DM
343022012-03-01 David S. Miller <davem@davemloft.net>
34303
3c969083
DM
34304 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34305
759707de
DM
34306 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34307 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34308 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34309 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34310
dfdb8ff2
DM
34311 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34312 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34313 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34315 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34316 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34317 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34318 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34319 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34320
ead89f96
DM
34321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34322
7f66bd07
DM
34323 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34324 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34325 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34326
53362a4b
DM
34327 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34328 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34329 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34330 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34331 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34334 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34335 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34336 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34337 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34339 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34340 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34341 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34343 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34344 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34345 * sysdeps/sparc/elf/configure: Regenerated.
34346
7b1902cb
JM
343472012-03-01 Joseph Myers <joseph@codesourcery.com>
34348
bec039bc
JM
34349 * configure.in (AS, LD): Require binutils 2.20 or later.
34350 * configure: Regenerated.
34351 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34352 as required minimum version.
34353 * INSTALL: Regenerated.
34354
7b1902cb
JM
34355 [BZ #2541]
34356 [BZ #4108]
34357 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34358 before squaring exponent.
34359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34360 bottom long double and 27 bits of top long double before squaring
34361 exponent.
34362 * math/libm-test.inc (erfc_test): Add more tests.
34363 * sysdeps/i386/fpu/libm-test-ulps: Update.
34364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34366
f775c276
KT
343672012-03-01 Kai Tietz <ktietz@redhat.com>
34368
34369 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34370 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34371 containing bit-fields.
34372 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34373 * soft-fp/single.h (_FP_UNION_S): Likewise.
34374 * soft-fp/double.h (_FP_UNION_D): Likewise.
34375
5b8a4d4a
JM
343762012-02-29 Joseph Myers <joseph@codesourcery.com>
34377
0bab47b6
JM
34378 [BZ #13786]
34379 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34380 not include ../strcmp.S.
34381 [USE_AS_STRNCASECMP_L]: Likewise.
34382 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34383 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34384 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34385 (__strncasecmp_l_ia32): Define as alias to
34386 __strncasecmp_l_nonascii.
34387
0fcad3e2
JM
34388 [BZ #5794]
34389 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34390 * sysdeps/i386/fpu/libm-test-ulps: Update.
34391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34392
5b8a4d4a
JM
34393 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34395
8fdceb2e
JL
343962012-02-29 Jeff Law <law@redhat.com>
34397
34398 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34399 out of bounds read.
34400
1f393a11
MP
344012012-02-29 Marek Polacek <polacek@redhat.com>
34402
34403 [BZ #13706]
34404 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34405 * elf/Makefile: Add rules to run tst-unused-dep.out.
34406
8847f037
DM
344072012-02-28 David S. Miller <davem@davemloft.net>
34408
34409 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34410 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34413 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34414 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34415
169d7f11
JM
344162012-02-29 Joseph Myers <joseph@codesourcery.com>
34417
34418 * math/libm-test.inc (llround_test): Move one test from
34419 lround_test. Use TEST_f_L in moved test.
34420 (lround_test): Move misplaced test to llround_test. Add testcase
34421 from bug 2561.
34422
39adf059
UD
344232012-02-28 Ulrich Drepper <drepper@gmail.com>
34424
34425 * sysdeps/x86_64/fpu/e_expf.S: New file.
34426 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34427
71b5d1c5
SB
344282012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34429
34430 [BZ #13637]
34431 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34432 of remain_len that may cause incomplete multi-byte character and
34433 false match.
34434 * posix/bug-regex33.c: New file.
34435 * posix/Makefile (tests): Add bug-regex33.
34436
1f77f049
JM
344372012-02-28 Joseph Myers <joseph@codesourcery.com>
34438
34439 * manual/macros.texi: New file.
34440 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34441 * manual/libc.texinfo: Include macros.texi.
34442 * manual/creatute.texi: Likewise.
34443 * manual/install.texi: Likewise.
34444 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34445 @glibcadj{} in references to the GNU C Library.
34446 * manual/charset.texi: Likewise.
34447 * manual/conf.texi: Likewise.
34448 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34449 when not using those macros.
34450 * manual/creature.texi: Likewise.
34451 * manual/crypt.texi: Likewise.
34452 * manual/errno.texi: Likewise.
34453 * manual/filesys.texi: Likewise.
34454 * manual/header.texi: Likewise.
34455 * manual/install.texi: Likewise.
34456 * manual/intro.texi: Likewise.
34457 * manual/io.texi: Likewise.
34458 * manual/job.texi: Likewise.
34459 * manual/lang.texi: Likewise.
34460 * manual/libc.texiinfo: Likewise.
34461 * manual/llio.texi: Likewise.
34462 * manual/locale.texi: Likewise.
34463 * manual/maint.texi: Likewise.
34464 * manual/math.texi: Likewise.
34465 * manual/memory.texi: Likewise.
34466 * manual/message.texi: Likewise.
34467 * manual/nss.texi: Likewise.
34468 * manual/pattern.texi: Likewise.
34469 * manual/process.texi: Likewise.
34470 * manual/resource.texi: Likewise.
34471 * manual/search.texi: Likewise.
34472 * manual/setjmp.texi: Likewise.
34473 * manual/signal.texi: Likewise.
34474 * manual/socket.texi: Likewise.
34475 * manual/startup.texi: Likewise.
34476 * manual/stdio.texi: Likewise.
34477 * manual/string.texi: Likewise.
34478 * manual/sysinfo.texi: Likewise.
34479 * manual/syslog.texi: Likewise.
34480 * manual/terminal.texi: Likewise.
34481 * manual/time.texi: Likewise.
34482 * manual/users.texi: Likewise.
34483 * INSTALL: Regenerated.
34484 * NOTES: Regenerated.
d40c5d54 34485 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34486
450bf206
AS
344872012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34488
34489 * include/dirent.h: Include <dirstream.h> before
34490 <dirent/dirent.h>.
34491
741a235b
DM
344922012-02-28 David S. Miller <davem@davemloft.net>
34493
34494 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34495 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34496 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34497 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34498
d6b5aa58
DM
344992012-02-27 David S. Miller <davem@davemloft.net>
34500
1aff59a3
DM
34501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34503 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34504 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34505
d6b5aa58
DM
34506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34507 frame pointer instead of stack pointer relative arg slot.
34508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34509 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34510 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34511
433f48bf
CD
345122012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34513
34514 [BZ #3992]
34515 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34516
d674b76d
DM
345172012-02-27 David S. Miller <davem@davemloft.net>
34518
34519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34523 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34524 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34525 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34526 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34527
0e7727f7
JM
345282012-02-27 Joseph Myers <joseph@codesourcery.com>
34529
34530 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34531 later. Allow versions 5-9.
43be4ca2 34532 * configure: Regenerated.
0e7727f7
JM
34533 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34534 required minimum version and 4.6 as recommended version. Do not
34535 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34536 * INSTALL: Regenerated.
0e7727f7 34537
a78bc654
DM
345382012-02-27 David S. Miller <davem@davemloft.net>
34539
428d5830
DM
34540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34544 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34545 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34546 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34547 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34548
a78bc654
DM
34549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34550 manipulate bits before adding and subtracting TWO112[sx].
34551 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34552
4579f81c
RM
345532012-02-27 Roland McGrath <roland@hack.frob.com>
34554
36c8acb4
RM
34555 [BZ #13775]
34556 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34557 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34558 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34559 being in POSIX, because they are in 1003.1-2008.
34560
84ad622b
RM
34561 * rt/tst-aio.c: Include <fcntl.h>.
34562 * rt/tst-aio7.c: Likewise.
34563 * rt/tst-aio64.c: Likewise.
34564
4579f81c
RM
34565 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34566
abd923db
JM
345672012-02-27 Joseph Myers <joseph@codesourcery.com>
34568
34569 * manual/install.texi (--with-headers): Describe headers as
34570 interface headers, not private headers.
34571 (Specific advice for GNU/Linux systems): Describe use of headers
34572 from "make headers_install", not private headers from older
34573 kernels.
43be4ca2 34574 * INSTALL: Regenerated.
abd923db
JM
34575 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34576 Change to 2.6.19.
34577 * sysdeps/unix/sysv/linux/configure: Regenerated.
34578
6664049b
JM
34579 * manual/llio.texi (fclean): Remove documentation.
34580
bb8b6697
JM
34581 * manual/Makefile (libc-texi-generated): New variable. Include
34582 version.texi.
34583 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34584 $(libc-texi-generated), not duplicated list of files.
34585 (version.texi, stamp-version): New rules.
34586 (realclean): Remove $(libc-texi-generated), not individual files
34587 from that list. Do not remove dir-add.texinfo.
34588 * manual/libc.texinfo: Comment out uses of edition numbers and
34589 references to printed manual. Remove last-updated dates.
34590 (EDITION): Comment out.
34591 (ISBN): Likewise.
34592 (VERSION, UPDATED): Remove.
34593 (version.texi): Include.
34594
12e5c3b9
AS
345952012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34596
34597 * sysdeps/posix/spawni.c: Include <signal.h>.
34598 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34599 * sysdeps/pthread/aio_fsync.c: Likewise.
34600
4efeffc1 346012012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34602
ba63ba08
UD
34603 * conform/Makefile (tests): Run only when not cross-compiling and
34604 when fast-check is not defined.
34605
d94a4670
UD
34606 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34607 * conform/data/limits.h-data: Fixes for POSIX2008.
34608 * conform/run-conformtest.sh: Run all tests.
34609 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34610 headers.
34611 * include/bits/dlfcn.h: Likewise.
34612 * include/langinfo.h: Likewise.
34613 * include/monetary.h: Likewise.
34614 * include/sys/poll.h: Likewise.
34615
34616 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34617 for __USE_GNU.
34618 * posix/spawn.h: Define __need_sigset_t.
34619 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34620 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34621 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34622 to get sigevent_t only.
34623 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34624 only for __USE_GNU.
34625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34626 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34627 process_vm_writev only for __USE_GNU.
34628 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34629
34630 * conform/Makefile: For now ignore errors from run-conformtest.
34631 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34632 POSIX to avoid namespace pollution. Don't prepend headers.
34633 * conform/data/aio.h-data: Fixes for POSIX testing.
34634 * conform/data/fcntl.h-data: Likewise.
34635 * conform/data/glob.h-data: Likewise.
34636 * conform/data/grp.h-data: Likewise.
34637 * conform/data/pthread.h-data: Likewise.
34638 * conform/data/pwd.h-data: Likewise.
34639 * conform/data/signal.h-data: Likewise.
34640 * conform/data/spawn.h-data: Likewise.
34641 * conform/data/stdio.h-data: Likewise.
34642 * conform/data/stdlib.h-data: Likewise.
34643 * conform/data/stropts.h-data: Likewise.
34644 * conform/data/sys/mman.h-data: Likewise.
34645 * conform/data/sys/stat.h-data: Likewise.
34646 * conform/data/sys/types.h-data: Likewise.
34647 * conform/data/sys/wait.h-data: Likewise.
34648 * conform/data/time.h-data: Likewise.
34649 * conform/data/unistd.h-data: Likewise.
34650 * conform/data/utime.h-data: Likewise.
34651
34652 * io/sys/stat.h: fchmod was always in POSIX.
34653 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34654 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34655 * rt/aio.h: Define __need_timespec before including <time.h>.
34656 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34657 struct. Add forward declaration of pthread_attr_t and use it in
34658 sigevent.
34659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34660 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34661 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34662 always remove CLK_TCK definition.
34663
c20105c3
AS
346642012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34665
34666 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34667
7a270350
UD
346682012-02-25 Ulrich Drepper <drepper@gmail.com>
34669
31341567
UD
34670 * conform/run-conformtest.sh: New file.
34671 * conform/Makefile: Run run-conformtest for tests.
34672 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34673 support.
34674
34675 * conform/data/uchar.h-data: New file.
34676 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34677 * conform/data/arpa/inet.h-data: Likewise.
34678 * conform/data/assert.h-data: Likewise.
34679 * conform/data/complex.h-data: Likewise.
34680 * conform/data/cpio.h-data: Likewise.
34681 * conform/data/ctype.h-data: Likewise.
34682 * conform/data/dirent.h-data: Likewise.
34683 * conform/data/dlfcn.h-data: Likewise.
34684 * conform/data/errno.h-data: Likewise.
34685 * conform/data/fcntl.h-data: Likewise.
34686 * conform/data/float.h-data: Likewise.
34687 * conform/data/fmtmsg.h-data: Likewise.
34688 * conform/data/fnmatch.h-data: Likewise.
34689 * conform/data/ftw.h-data: Likewise.
34690 * conform/data/glob.h-data: Likewise.
34691 * conform/data/grp.h-data: Likewise.
34692 * conform/data/iconv.h-data: Likewise.
34693 * conform/data/inttypes.h-data: Likewise.
34694 * conform/data/langinfo.h-data: Likewise.
34695 * conform/data/libgen.h-data: Likewise.
34696 * conform/data/limits.h-data: Likewise.
34697 * conform/data/locale.h-data: Likewise.
34698 * conform/data/math.h-data: Likewise.
34699 * conform/data/monetary.h-data: Likewise.
34700 * conform/data/mqueue.h-data: Likewise.
34701 * conform/data/ndbm.h-data: Likewise.
34702 * conform/data/net/if.h-data: Likewise.
34703 * conform/data/netdb.h-data: Likewise.
34704 * conform/data/netinet/in.h-data: Likewise.
34705 * conform/data/nl_types.h-data: Likewise.
34706 * conform/data/poll.h-data: Likewise.
34707 * conform/data/pthread.h-data: Likewise.
34708 * conform/data/pwd.h-data: Likewise.
34709 * conform/data/regex.h-data: Likewise.
34710 * conform/data/sched.h-data: Likewise.
34711 * conform/data/search.h-data: Likewise.
34712 * conform/data/semaphore.h-data: Likewise.
34713 * conform/data/setjmp.h-data: Likewise.
34714 * conform/data/signal.h-data: Likewise.
34715 * conform/data/spawn.h-data: Likewise.
34716 * conform/data/stdarg.h-data: Likewise.
34717 * conform/data/stdio.h-data: Likewise.
34718 * conform/data/stdlib.h-data: Likewise.
34719 * conform/data/string.h-data: Likewise.
34720 * conform/data/strings.h-data: Likewise.
34721 * conform/data/stropts.h-data: Likewise.
34722 * conform/data/sys/ipc.h-data: Likewise.
34723 * conform/data/sys/mman.h-data: Likewise.
34724 * conform/data/sys/msg.h-data: Likewise.
34725 * conform/data/sys/resource.h-data: Likewise.
34726 * conform/data/sys/select.h-data: Likewise.
34727 * conform/data/sys/sem.h-data: Likewise.
34728 * conform/data/sys/shm.h-data: Likewise.
34729 * conform/data/sys/socket.h-data: Likewise.
34730 * conform/data/sys/stat.h-data: Likewise.
34731 * conform/data/sys/statvfs.h-data: Likewise.
34732 * conform/data/sys/time.h-data: Likewise.
34733 * conform/data/sys/timeb.h-data: Likewise.
34734 * conform/data/sys/times.h-data: Likewise.
34735 * conform/data/sys/types.h-data: Likewise.
34736 * conform/data/sys/uio.h-data: Likewise.
34737 * conform/data/sys/un.h-data: Likewise.
34738 * conform/data/sys/utsname.h-data: Likewise.
34739 * conform/data/sys/wait.h-data: Likewise.
34740 * conform/data/syslog.h-data: Likewise.
34741 * conform/data/tar.h-data: Likewise.
34742 * conform/data/termios.h-data: Likewise.
34743 * conform/data/utime.h-data: Likewise.
34744 * conform/data/utmpx.h-data: Likewise.
34745 * conform/data/varargs.h-data: Likewise.
34746 * conform/data/wchar.h-data: Likewise.
34747 * conform/data/wctype.h-data: Likewise.
34748 * conform/data/wordexp.h-data: Likewise.
34749
34750 * include/stropts.h: New file.
34751 * include/uchar.h: New file.
34752 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34753 * include/assert.h: Likewise.
34754 * include/ctype.h: Likewise.
34755 * include/dirent.h: Likewise.
34756 * include/dlfcn.h: Likewise.
34757 * include/fcntl.h: Likewise.
34758 * include/fnmatch.h: Likewise.
34759 * include/glob.h: Likewise.
34760 * include/grp.h: Likewise.
34761 * include/libio.h: Likewise.
34762 * include/locale.h: Likewise.
34763 * include/math.h: Likewise.
34764 * include/net/if.h: Likewise.
34765 * include/netdb.h: Likewise.
34766 * include/netinet/in.h: Likewise.
34767 * include/pthread.h: Likewise.
34768 * include/pwd.h: Likewise.
34769 * include/regex.h: Likewise.
34770 * include/sched.h: Likewise.
34771 * include/search.h: Likewise.
34772 * include/setjmp.h: Likewise.
34773 * include/signal.h: Likewise.
34774 * include/stdio.h: Likewise.
34775 * include/stdlib.h: Likewise.
34776 * include/string.h: Likewise.
34777 * include/sys/cdefs.h: Likewise.
34778 * include/sys/mman.h: Likewise.
34779 * include/sys/msg.h: Likewise.
34780 * include/sys/resource.h: Likewise.
34781 * include/sys/select.h: Likewise.
34782 * include/sys/socket.h: Likewise.
34783 * include/sys/stat.h: Likewise.
34784 * include/sys/statvfs.h: Likewise.
34785 * include/sys/time.h: Likewise.
34786 * include/sys/times.h: Likewise.
34787 * include/sys/uio.h: Likewise.
34788 * include/sys/utsname.h: Likewise.
34789 * include/sys/wait.h: Likewise.
34790 * include/termios.h: Likewise.
34791 * include/time.h: Likewise.
34792 * include/ulimit.h: Likewise.
34793 * include/unistd.h: Likewise.
34794 * include/utime.h: Likewise.
34795 * include/wchar.h: Likewise.
34796 * include/wctype.h: Likewise.
34797 * include/wordexp.h: Likewise.
34798
34799 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34800
7a270350
UD
34801 * time/time.h: TIME_UTC must be a macro.
34802 Make timespec_get available for ISO C11 only as well.
34803
7724defc
UD
348042012-02-24 Ulrich Drepper <drepper@gmail.com>
34805
34806 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34807 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34808
6b1d1d46
JM
348092012-02-24 Joseph Myers <joseph@codesourcery.com>
34810
34811 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34812
0f8bbd69
JM
348132012-02-24 Joseph Myers <joseph@codesourcery.com>
34814
34815 * manual/texinfo.tex: Update to version 2012-01-19.16.
34816
66ab80bc
JM
348172012-02-24 Joseph Myers <joseph@codesourcery.com>
34818
34819 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34820
74981cc5
RM
348212012-02-24 Roland McGrath <roland@hack.frob.com>
34822
ee968201
RM
34823 [BZ #13738]
34824 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34825 * manual/fdl-1.3.texi: New file.
34826 * manual/fdl-1.1.texi: File removed.
34827
74981cc5
RM
34828 [BZ #13738]
34829 * manual/libc.texinfo (FDL_VERSION): New @set.
34830 Use it for mention of FDL in cover text.
34831 (Documentation License): Use it in @include file name.
34832
7bb764bc
JM
348332012-02-22 Joseph Myers <joseph@codesourcery.com>
34834 Roland McGrath <roland@hack.frob.com>
34835
34836 [BZ #5461]
34837 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34838 not LONG_LONG_MAX and LONG_LONG_MIN.
34839 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34840 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34841 name.
34842 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34843
6cbeae47
JM
348442012-02-22 Joseph Myers <joseph@codesourcery.com>
34845
34846 [BZ #2547]
34847 [BZ #11365]
34848 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34849 manipulate bits before adding and subtracting TWO23[sx].
34850 * math/libm-test.inc (nearbyint_test): Add more tests.
34851
fe45ce09
JM
348522012-02-22 Joseph Myers <joseph@codesourcery.com>
34853
34854 [BZ #2548]
34855 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34856 bits before adding and subtracting TWO23[sx].
34857 * math/libm-test.inc (rint_test): Add more tests.
34858 (rint_test_tonearest): Likewise.
34859 (rint_test_towardzero): Likewise.
34860 (rint_test_downward): Likewise.
34861 (rint_test_upward: Likewise.
34862
ff3b3d82
JM
348632012-02-22 Joseph Myers <joseph@codesourcery.com>
34864
34865 [BZ #10110]
34866 * include/stdc-predef.h: New file. Extracted from features.h.
34867 * include/features.h: Include stdc-predef.h.
34868 * Makefile (headers): Add stdc-predef.h.
34869 * CONFORMANCE (Compiler limitations): Update.
34870
ef0aab35
JM
348712012-02-22 Joseph Myers <joseph@codesourcery.com>
34872
34873 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34874
58639409
DM
348752012-02-21 David S. Miller <davem@davemloft.net>
34876
34877 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34878 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34879
c0e70b25
DM
348802012-02-20 David S. Miller <davem@davemloft.net>
34881
34882 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34883 using a normal save/restore sequence, rather than allocating a
34884 dummy stack frame just to store a frame pointer and restore.
34885 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34886
fb06851d
JM
348872012-02-21 Joseph Myers <joseph@codesourcery.com>
34888
34889 * manual/install.texi: Fix stray word in line-wrapped comment.
34890
7a8b71c3
DM
348912012-02-20 David S. Miller <davem@davemloft.net>
34892
d510c123
DM
34893 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34894 both binutils and gcc support GOTDATA.
34895
0722d7c2
DM
34896 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34897 "rd %pc" in the PIC register setup sequences.
34898
3d2b3019
DM
34899 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34900 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34901 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34902 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34903 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34908 (SYSCALL_ERROR_HANDLER): Likewise.
34909 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34910 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34912 (SYSCALL_ERROR_HANDLER): Likewise.
34913
c80098a9
DM
34914 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34915 (HAVE_GCC_GOTDATA): New.
34916 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34917 relocation support in both binutils and gcc.
34918 * sysdeps/sparc/elf/configure: Regenerate.
34919
3a2545a0
DM
34920 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34921 * sysdeps/sparc/sparc32/elf/configure: Delete.
34922 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34923 * sysdeps/sparc/sparc64/elf/configure: Delete.
34924 * sysdeps/sparc/elf/configure.in: New file.
34925 * sysdeps/sparc/elf/configure: Generate.
34926
7a8b71c3
DM
34927 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34928 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34929 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34930 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34931 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34932
f1e86fca
JM
349332012-02-21 Joseph Myers <joseph@codesourcery.com>
34934
34935 * manual/install.texi: Do not mention specific glibc version
34936 numbers.
34937 * manual/libc.texinfo (VERSION, UPDATED): Update.
34938 (@copying): Use @copyright{} and range of years.
34939
0e7dfaef
JM
349402012-02-21 Joseph Myers <joseph@codesourcery.com>
34941
34942 [BZ #13695]
34943 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34944 [crti.S not in sysdirs] (generated): Do not append.
34945 [crti.S not in sysdirs] (omit-deps): Likewise.
34946 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34947 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34948 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34949 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34950 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34951 Likewise.
34952 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34953 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34954 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34955 * csu/defs.awk: Remove file.
34956 * sysdeps/generic/initfini.c: Likewise.
34957 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34958 variable.
34959 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34960 Likewise.
34961
599af3ca
JM
349622012-02-20 Joseph Myers <joseph@codesourcery.com>
34963
34964 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34965 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34966 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34968 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34969 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34970 <bits/epoll.h>.
34971 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34972 (__EPOLL_PACKED): Define to empty if not defined by
34973 <bits/epoll.h>.
34974 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34976 bits/epoll.h.
34977
0e499750
JM
349782012-02-20 Joseph Myers <joseph@codesourcery.com>
34979
34980 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34981 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34982 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34983 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34984 <bits/timerfd.h>.
34985 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34987 bits/timerfd.h.
34988
5ad91f6e
JM
349892012-02-20 Joseph Myers <joseph@codesourcery.com>
34990
34991 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34992 in C locale.
34993 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34994 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34997
06b99b02
AJ
349982012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34999
35000 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35001 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35002
7638c0fd
AS
350032012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35004
35005 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35006 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35007 defined.
35008 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35009 Likewise.
35010 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35011 entry for 2.16.
35012
92221550
AJ
350132012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35014
35015 * math/w_acos.c: Use non-signaling floating-point comparisons.
35016 * math/w_acosf.c: Likewise.
35017 * math/w_acosh.c: Likewise.
35018 * math/w_acoshf.c: Likewise.
35019 * math/w_acoshl.c: Likewise.
35020 * math/w_acosl.c: Likewise.
35021 * math/w_asin.c: Likewise.
35022 * math/w_asinf.c: Likewise.
35023 * math/w_asinl.c: Likewise.
35024 * math/w_atanh.c: Likewise.
35025 * math/w_atanhf.c: Likewise.
35026 * math/w_atanhl.c: Likewise.
35027 * math/w_exp2.c: Likewise.
35028 * math/w_exp2f.c: Likewise.
35029 * math/w_exp2l.c: Likewise.
35030 * math/w_j0.c: Likewise.
35031 * math/w_j0f.c: Likewise.
35032 * math/w_j0l.c: Likewise.
35033 * math/w_j1.c: Likewise.
35034 * math/w_j1f.c: Likewise.
35035 * math/w_j1l.c: Likewise.
35036 * math/w_jn.c: Likewise.
35037 * math/w_jnf.c: Likewise.
35038 * math/w_log.c: Likewise.
35039 * math/w_log10.c: Likewise.
35040 * math/w_log10f.c: Likewise.
35041 * math/w_log10l.c: Likewise.
35042 * math/w_log2.c: Likewise.
35043 * math/w_log2f.c: Likewise.
35044 * math/w_log2l.c: Likewise.
35045 * math/w_logf.c: Likewise.
35046 * math/w_logl.c: Likewise.
35047 * math/w_sqrt.c: Likewise.
35048 * math/w_sqrtf.c: Likewise.
35049 * math/w_sqrtl.c: Likewise.
35050 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35051 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35052 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35053 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35054 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35055
ebaf36eb
JM
350562012-02-19 Joseph Myers <joseph@codesourcery.com>
35057
35058 [BZ #9739]
35059 * manual/string.texi (strnlen): Use correct parameter name in
35060 equivalent expression.
35061
71c254a6
JM
350622012-02-19 Joseph Myers <joseph@codesourcery.com>
35063
35064 [BZ #11174]
35065 * manual/users.texi (seteuid): Consistently use neweuid for
35066 argument name.
35067
16d2c631
JM
350682012-02-19 Joseph Myers <joseph@codesourcery.com>
35069
35070 [BZ #13704]
35071 * manual/nss.texi (Services in the NSS configuration): Correct
35072 list of services in example configuration file.
35073
cd837b09
NB
350742012-02-19 Nick Bowler <nbowler@draconx.ca>
35075
35076 [BZ #11322]
35077 * manual/arith.texi: Remove statements about negative zero
35078 behaving identically to zero.
35079
02c4bbad
JM
350802012-02-18 Joseph Myers <joseph@codesourcery.com>
35081
35082 [BZ #5993]
35083 * manual/install.texi: Do not document upgrading from libc5.
35084
366842e7
JM
350852012-02-18 Joseph Myers <joseph@codesourcery.com>
35086
35087 [BZ #4596]
35088 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35089
dd54084d
DM
350902012-02-18 David S. Miller <davem@davemloft.net>
35091
35092 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35093 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35094 %o7 across the call.
35095 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35096 instead.
35097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35098 SETUP_PIC_REG_LEAF.
35099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35100 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35101 * sysdeps/sparc/crtn.S: Likewise.
35102
2bcc53a3
UD
351032012-02-17 Ulrich Drepper <drepper@gmail.com>
35104
35105 * aout/Makefile: Remove.
35106
09c093b5
RK
351072012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35108
35109 [BZ #13058]
35110 * manual/examples/argp-ex1.c (main): Format definition in GNU
35111 style.
35112 * manual/examples/argp-ex2.c (main): Likewise.
35113 * manual/examples/argp-ex3.c (main): Likewise.
35114 * manual/examples/argp-ex4.c (main): Likewise.
35115 * manual/examples/longopt.c (main): Use new-style prototype
35116 definition.
35117 * manual/examples/strncat.c (main): Specify return type and use
35118 (void) for arguments.
35119 * manual/examples/subopt.c (main): Use char **argv argument.
35120
2ee633a2
JM
351212012-02-17 Joseph Myers <joseph@codesourcery.com>
35122
35123 [BZ #5077]
35124 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35125 rounding modes.
35126
0520adde
FB
351272012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35128
35129 [BZ #6907]
35130 * manual/string.texi (strchr): Change when strchrnul is
35131 recommended.
35132
3f4081cd
DGM
351332012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35134
35135 [BZ #174]
35136 * manual/locale.texi (setlocale): Document LOCPATH.
35137
d1b10e78
JM
351382012-02-17 Joseph Myers <joseph@codesourcery.com>
35139
35140 [BZ #10210]
35141 * manual/process.texi (execle): Move @dots{} before last argument.
35142
79c6869c
PB
351432012-02-17 Paul Bolle <pebolle@tiscali.nl>
35144
35145 [BZ #12047]
35146 * manual/charset.texi (Generic Charset Conversion): Fix typo
35147 (LC_TYPE -> LC_CTYPE).
35148
cc6e48bc
NB
351492012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35150
35151 [BZ #5805]
35152 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35153 (scalbnf): Likewise.
35154 (scalbnl): Likewise.
35155 (scalbln): Likewise.
35156 (scalblnf): Likewise.
35157 (scalblnl): Likewise.
35158 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35159 (vwarnx): Likewise.
35160 (verr): Likewise.
35161 (verrx): Likewise.
35162 * manual/filesys.texi (telldir): Use braces around return type.
35163 * manual/llio.texi (mmap): Add space after comma.
35164 (mmap64): Likewise.
35165 * manual/math.texi (jn): Use @var{} on parameter names.
35166 (jnf): Likewise.
35167 (jnl): Likewise.
35168 (yn): Likewise.
35169 (ynf): Likewise.
35170 (ynl): Likewise.
35171 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35172 line.
35173 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35174 "...".
35175 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35176 (sched_get_priority_max): Likewise.
35177 * manual/signal.texi (sigvec): Add space after comma.
35178 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35179 names.
35180 (if_indextoname): Likewise.
35181 (if_freenameindex): Likewise.
35182 (sendto): Use ',' instead of '.' in prototype.
35183 * manual/startup.texi (syscall): Use @dots{} instead of literal
35184 "...".
35185 * manual/stdio.texi (__fpending): Separate initial words of
35186 paragraph from @deftypefun line.
35187 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35188 "...".
35189 (vsyslog): Use @var{} on parameter names.
35190 * manual/terminal.texi (stty): Use @var{} on parameter names.
35191 * manual/users.texi (getutmp): Use @var{} on parameter names.
35192 (getutmpx): Likewise.
35193
5b23062f
JM
351942012-02-17 Joseph Myers <joseph@codesourcery.com>
35195
35196 [BZ #6884]
35197 * manual/stdio.texi (fopen): Fix typos in description of
35198 ",ccs=STRING".
35199
8dee4833
AJ
352002012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35201
35202 [BZ #4026]
35203 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35204 get clock_id definition.
35205
9078ce93
TS
352062012-02-17 Thomas Schwinge <thomas@schwinge.name>
35207
35208 [BZ #4822]
35209 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35210 (madvise): Cast every argument to void on its own.
35211
3835c55f
JM
352122012-02-17 Joseph Myers <joseph@codesourcery.com>
35213
35214 [BZ #9902]
35215 * manual/startup.texi (Exit Status): Fix typo.
35216
35c47e37
JM
352172012-02-17 Joseph Myers <joseph@codesourcery.com>
35218
35219 [BZ #10140]
35220 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35221 * manual/examples/argp-ex2.c: Likewise.
35222 * manual/examples/argp-ex3.c: Likewise.
35223
e3b69ca7
RH
352242012-02-16 Richard Henderson <rth@redhat.com>
35225
35226 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35227 * sysdeps/s390/s390-32/initfini.c: Remove.
35228 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35229 * sysdeps/s390/s390-64/initfini.c: Remove.
35230
df83af67
KK
352312012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35232
35233 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35234 compiler output for sysdeps/generic/initfini.c.
35235 * sysdeps/sh/elf/initfini.c: Remove file.
35236
f63f3380
DM
352372012-02-16 David S. Miller <davem@davemloft.net>
35238
fb59b3a4
DM
35239 [BZ #11494]
35240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35241
f63f3380
DM
35242 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35243 * sysdeps/sparc/crti.S: New file.
35244 * sysdeps/sparc/crtn.S: New file.
35245 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35246 * sysdeps/sparc/sparc64/Makefile: Likewise.
35247
df6a4a4a
MF
352482012-02-15 Mike Frysinger <vapier@gentoo.org>
35249
6dd8f3dc 35250 [BZ #3335]
df6a4a4a
MF
35251 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35252
1cac7236
RM
352532012-02-15 Roland McGrath <roland@hack.frob.com>
35254
d2c736f8
RM
35255 [BZ #4822]
35256 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35257
1cac7236
RM
35258 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35259 (write, read, close): Likewise.
35260 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35261
8e475601
JM
352622012-02-15 Joseph Myers <joseph@codesourcery.com>
35263
35264 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35265 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35266 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35267 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35268 <bits/signalfd.h>.
35269 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35271 bits/signalfd.h.
35272
ed656b40
MP
352732012-02-14 Marek Polacek <polacek@redhat.com>
35274
35275 * sysdeps/x86_64/crti.S: New file.
35276 * sysdeps/x86_64/crtn.S: New file.
35277 * sysdeps/x86_64/elf/initfini.c: Remove file.
35278
2a979d3a
JM
352792012-02-13 Joseph Myers <joseph@codesourcery.com>
35280
35281 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35282 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35283 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35284 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35285 <bits/inotify.h>.
35286 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35288 bits/inotify.h.
35289
2a418ac3
JM
352902012-02-13 Joseph Myers <joseph@codesourcery.com>
35291
35292 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35293 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35294 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35295 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35296 <bits/eventfd.h>.
35297 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35299 bits/eventfd.h.
35300
fb779be7
TS
353012012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35302
e19e83c5
RM
35303 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35304 __feraiseexcept instead of feraiseexcept.
7c35ffed 35305
fb779be7
TS
35306 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35307 nanosleep invocations.
35308 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35309 strings, and add error checking for a nanosleep invocations.
35310
59ba27a6
PE
353112012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35312
35313 Replace FSF snail mail address with URLs, as per GNU coding standards.
35314 Most of the snail mail addresses were wrong anyway, and omitting
35315 them makes the source code easier to maintain. Almost all of the
35316 changes are to license notices and to locale LC_IDENTIFICATION
35317 addresses, except for this one:
35318 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35319 not its snail mail address.
35320
57b957eb
RH
353212012-02-09 Richard Henderson <rth@twiddle.net>
35322
af850b1c
RH
35323 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35324 of kernel-features.h.
35325
57b957eb
RH
35326 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35327
6b73181a
MP
353282012-02-08 Marek Polacek <polacek@redhat.com>
35329
35330 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35331 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35332 * sysdeps/gnu/_G_config.h: Likewise.
35333 * sysdeps/generic/_G_config.h: Likewise.
35334
26ecc33a
AS
353352012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35336
6c6dbc63
AS
35337 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35338 tests.
35339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35340
e216c012
AS
35341 * sysdeps/powerpc/powerpc32/crti.S: New file.
35342 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35343 * sysdeps/powerpc/powerpc64/crti.S: New file.
35344 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35345
26ecc33a
AS
35346 * Makeconfig (have-initfini): Don't set.
35347 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35348 * configure.in (nopic_initfini): Don't substitute.
35349 * config.h.in (HAVE_INITFINI): Don't #undef.
35350 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35351 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35352
3add8e13
JM
353532012-02-08 Joseph Myers <joseph@codesourcery.com>
35354
35355 Support crti.S and crtn.S provided directly by architectures.
35356 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35357 [crti.S in sysdirs] (omit-deps): Likewise.
35358 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35359 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35360 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35361 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35362 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35363 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35364 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35365 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35366 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35367 compiler output for sysdeps/generic/initfini.c.
35368 * sysdeps/i386/elf/Makefile: Remove file.
35369 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35370
a22f12b4
MP
353712012-02-07 Marek Polacek <polacek@redhat.com>
35372
35373 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35374 * sysdeps/gnu/_G_config.h: Likewise.
35375 * sysdeps/mach/hurd/_G_config.h: Likewise.
35376
148cf100
MP
353772012-02-07 Marek Polacek <polacek@redhat.com>
35378
35379 * math/Makefile (tests): Add tst-CMPLX2.
35380 * math/tst-CMPLX2.c: New file.
35381
cfdc0dd7
AS
353822012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35383
84ba42c4
AS
35384 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35385
cfdc0dd7
AS
35386 * math/libm-test.inc (jn_test): Add missing L suffix.
35387
622c86f4
MP
353882012-02-06 Marek Polacek <polacek@redhat.com>
35389
35390 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35391 * sysdeps/i386/fpu/e_powf.S: Likewise.
35392 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35393 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35394 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35395 * sysdeps/i386/fpu/e_pow.S: Likewise.
35396 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35397 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35398 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35399 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35400 * sysdeps/i386/fpu/e_log2.S: Likewise.
35401 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35402 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35403 * sysdeps/i386/fpu/e_powl.S: Likewise.
35404 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35405 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35406 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35407 * sysdeps/i386/fpu/e_logl.S: Likewise.
35408 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35409 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35410 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35411 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35412 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35413 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35414 * sysdeps/i386/fpu/e_log.S: Likewise.
35415 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35416 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35417 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35418 * sysdeps/i386/fpu/e_logf.S: Likewise.
35419 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35420 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35421 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35422 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35423 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35424 * sysdeps/i386/fpu/e_log10.S: Likewise.
35425 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35426 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35427 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35428 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35429 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35430 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35431 * sysdeps/i386/asm-syntax.h: Likewise.
35432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35434 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35435 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35436 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35437 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35438 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35439 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35440 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35441 * sysdeps/powerpc/sysdep.h: Likewise.
35442 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35443 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35444
d4a54ac6
JM
354452012-02-06 Joseph Myers <joseph@codesourcery.com>
35446
35447 [BZ #411]
35448 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35449
314054ea
JM
354502012-02-06 Joseph Myers <joseph@codesourcery.com>
35451
35452 * sysdeps/i386/sysdep.h: Include <features.h>.
35453 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35454 version.
35455
d8e0ca50
JM
354562012-02-05 Joseph Myers <joseph@codesourcery.com>
35457
35458 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35459 Define.
35460 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35461 LOAD_PIC_REG_STR.
35462
b1da7dd9
JM
354632012-02-03 Joseph Myers <joseph@codesourcery.com>
35464
35465 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35466 (SETUP_PIC_REG): Use GET_PC_THUNK.
35467 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35468 macro.
35469
9a1d9254
JM
354702012-02-03 Joseph Myers <joseph@codesourcery.com>
35471
35472 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35473 for non-PIC compilation.
35474 (SETUP_PIC_REG): Add .p2align directive.
35475 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35476 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35479 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35480 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35482 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35483 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35484 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35485 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35486 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35487 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35488 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35489 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35490 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35491 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35492 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35493 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35494 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35495 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35496 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35497 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35498 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35499 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35501 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35503 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35504 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35507 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35508 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35509 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35510 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35511 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35512 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35513 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35514 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35515 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35516
65dc3b75
JM
355172012-02-03 Joseph Myers <joseph@codesourcery.com>
35518
35519 * math/tst-CMPLX.c: Include <stdio.h>.
35520
d55bf177
JM
355212012-01-31 Joseph Myers <joseph@codesourcery.com>
35522
35523 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35524 float.
35525 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35526 * sysdeps/sparc/bits/mathdef.h: Likewise.
35527
69db4f8f
MP
355282012-01-31 Marek Polacek <polacek@redhat.com>
35529
35530 * libio/libio.h: Don't define _PARAMS.
35531 * locale/programs/config.h: Don't define PARAMS.
35532 * stdlib/strtol_l.c: Likewise.
35533 (__strtol_l): Remove PARAMS from the prototype.
35534
41b81892
UD
355352012-01-31 Ulrich Drepper <drepper@gmail.com>
35536
3b49edc0
UD
35537 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35538 names. Just use the correct names. Remove unnecessary wrapper
35539 functions.
35540 * malloc/arena.c: Likewise.
35541 * malloc/hooks.c: Likewise.
35542
41b81892
UD
35543 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35544 ARENA_TEST says not to. Simplify test for creation of a new arena.
35545 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35546
27a25b6e
UD
355472012-01-30 Ulrich Drepper <drepper@gmail.com>
35548
35549 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35550 into tail calls.
35551 (update_get_addr): New function.
35552 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35553 GET_ADDR_MODULE parameter.
35554
c8a89e7d
JM
355552012-01-30 Joseph Myers <joseph@codesourcery.com>
35556
35557 * crypt/cert.c: Remove __STDC__ conditionals.
35558 * crypt/crypt-entry.c: Likewise.
35559 * crypt/crypt_util.c: Likewise.
35560 * libio/filedoalloc.c: Likewise.
35561 * libio/fileops.c: Likewise.
35562 * libio/genops.c: Likewise.
35563 * libio/iofclose.c: Likewise.
35564 * libio/iofdopen.c: Likewise.
35565 * libio/iofopen.c: Likewise.
35566 * libio/iofopen64.c: Likewise.
35567 * libio/iogetdelim.c: Likewise.
35568 * libio/iopopen.c: Likewise.
35569 * libio/obprintf.c: Likewise.
35570 * libio/oldfileops.c: Likewise.
35571 * libio/oldiofclose.c: Likewise.
35572 * libio/oldiofdopen.c: Likewise.
35573 * libio/oldiofopen.c: Likewise.
35574 * libio/oldiopopen.c: Likewise.
35575 * libio/wfiledoalloc.c: Likewise.
35576 * libio/wgenops.c: Likewise.
35577 * locale/programs/xmalloc.c: Likewise.
35578 * misc/syslog.c: Likewise.
35579 * stdio-common/xbug.c: Likewise.
35580 * string/memchr.c: Likewise.
35581 * string/memcmp.c: Likewise.
35582 * string/memrchr.c: Likewise.
35583 * string/rawmemchr.c: Likewise.
35584 * sysdeps/posix/getcwd.c: Likewise.
35585 * time/strftime_l.c: Likewise.
35586
3b100462
JM
355872012-01-30 Joseph Myers <joseph@codesourcery.com>
35588
35589 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35590 * config.make.in (config-cflags-sse2avx): Define.
35591 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35592 Fix typo.
35593
607998af
CM
355942012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35595
35596 * scripts/config.guess: Update from upstream config git repository.
35597 * scripts/config.sub: Likewise.
35598
3601428f
CM
355992012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35600
3ac8b282
CM
35601 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35602 (EM_NUM): Update.
35603 (R_TILEPRO_*, R_TILEGX_*): New macros.
35604
e034841e
CM
35605 * scripts/firstversions.awk: Fix bug in version range handling.
35606
540d7568
CM
35607 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35608
3601428f
CM
35609 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35610
463de862
CM
35611 * include/sys/epoll.h: New file.
35612 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35613 libc_hidden_def.
35614
73139a76
UD
356152012-01-28 Ulrich Drepper <drepper@gmail.com>
35616
96bc5b45
UD
35617 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35618 Avoid unnecessary __WORDSIZE == 64 test.
35619 (fmaxf): Use VEX format if possible.
35620 (fmax): Likewise.
35621 (fminf): Likewise.
35622 (fmin): Likewise.
35623
56f6f6a2
UD
35624 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35625 * math/math_private.h: Remove libc_fegetround* and
35626 libc_fesetround*.
35627 * sysdeps/i386/configure.in: Check for -msse2avx.
35628 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35629 also if SSE2AVX is defined.
35630 Remove libc_fegetround* and libc_fesetround*.
35631 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35632 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35634 of HAS_YMM_USABLE.
35635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35640
73139a76
UD
35641 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35642
d73f93a4
AZ
356432012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35644
35645 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35646 size is not set.
35647 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35648
6ee65ed6
UD
356492012-01-27 Ulrich Drepper <drepper@gmail.com>
35650
35651 [BZ #13618]
35652 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35653 relocation.
35654 * Makeconfig (libm): Define.
35655 * elf/Makefile: Add rules to build and run tst-relsort1.
35656 * elf/tst-relsort1.c: New file.
35657 * elf/tst-relsort1mod1.c: New file.
35658 * elf/tst-relsort1mod2.c: New file.
35659
8db21882
JM
356602012-01-27 Joseph Myers <joseph@codesourcery.com>
35661
35662 * math/s_ldexp.c: Remove __STDC__ conditionals.
35663 * math/s_ldexpf.c: Likewise.
35664 * math/s_ldexpl.c: Likewise.
35665 * math/s_nextafter.c: Likewise.
35666 * math/s_nexttowardf.c: Likewise.
35667 * math/s_significand.c: Likewise.
35668 * math/s_significandf.c: Likewise.
35669 * math/s_significandl.c: Likewise.
35670 * math/w_jnl.c: Likewise.
35671 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35672 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35673 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35674 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35675 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35677 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35678 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35680 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35681 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35682 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35683 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35684 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35685 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35686 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35687 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35688 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35692 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35693 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35697 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35698 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35699 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35700 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35701 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35702 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35703 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35704 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35705 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35706 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35707 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35708 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35709 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35710 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35711 * sysdeps/ieee754/k_standard.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35773 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35778 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35787 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35791 * sysdeps/ieee754/s_matherr.c: Likewise.
35792 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35793 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35796
965a54a4
JM
357972012-01-26 Joseph Myers <joseph@codesourcery.com>
35798
35799 * crypt/md5.h: Remove __STDC__ conditionals.
35800 * libio/libioP.h: Likewise.
35801 * locale/programs/config.h: Likewise.
35802 * sysdeps/generic/sysdep.h: Likewise.
35803 * sysdeps/i386/asm-syntax.h: Likewise.
35804 * sysdeps/s390/asm-syntax.h: Likewise.
35805 * sysdeps/unix/sysdep.h: Likewise.
35806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35808
7071ad79
JM
358092012-01-26 Joseph Myers <joseph@codesourcery.com>
35810
35811 * libio/libio.h: Remove __STDC__ conditionals.
35812 * malloc/obstack.h: Likewise.
35813 * math/complex.h: Likewise.
35814 * math/math.h: Likewise.
35815 * sysdeps/generic/_G_config.h: Likewise.
35816 * sysdeps/gnu/_G_config.h: Likewise.
35817 * sysdeps/mach/hurd/_G_config.h: Likewise.
35818 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35819 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35820 * sysdeps/sparc/bits/mathdef.h: Likewise.
35821
afc5ed09
UD
358222012-01-26 Ulrich Drepper <drepper@gmail.com>
35823
35824 [BZ #13583]
35825 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35826 Clean up HAS_* macros.
afc5ed09 35827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35828 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35829 possible.
35830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35831 HAS_AVX.
35832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35833 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35837
bdb6de1d
JM
358382012-01-25 Joseph Myers <joseph@codesourcery.com>
35839
35840 * elf/tst-unique3.cc (gets): Remove declaration.
35841 * elf/tst-unique3lib.cc (gets): Likewise.
35842 * elf/tst-unique3lib2.cc (gets): Likewise.
35843 * elf/tst-unique4.cc (gets): Likewise.
35844
b15549e6
UD
358452012-01-24 Ulrich Drepper <drepper@gmail.com>
35846
35847 * include/stdio.h: Add C++ protection. Add gets declarations and
35848 definitions.
35849 * debug/tst-chk1.c: Don't declare gets here.
35850 * stdio-common/tst-gets.c: Likewise.
35851
a037381f
JM
358522012-01-24 Joseph Myers <joseph@codesourcery.com>
35853
35854 * posix/glob: Remove directory.
35855
f1d4aa75
JM
358562012-01-24 Joseph Myers <joseph@codesourcery.com>
35857
35858 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35859
81c0c964
PT
358602012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35861
35862 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35863 of the non-standard EPFNOSUPPORT.
35864
0ea698ae
ST
358652011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35866
35867 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35868 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35869 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35870
d220b117
UD
358712012-01-21 Ulrich Drepper <drepper@gmail.com>
35872
35873 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35874
3e1aa84e
UD
358752012-01-20 Ulrich Drepper <drepper@gmail.com>
35876
35877 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35878 transient errors.
35879 * nscd/grpcache.c (cache_addgr): Likewise.
35880 * nscd/hstcache.c (cache_addhst): Likewise.
35881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35882 * nscd/pwdcache.c (cache_addpw): Likewise.
35883 * nscd/servicescache.c (cache_addserv): Likewise.
35884
400aa020
UD
358852012-01-16 Ulrich Drepper <drepper@gmail.com>
35886
d77e7869
UD
35887 * malloc/malloc.c: Various cleanups.
35888 * malloc/hooks.c: Likewise.
35889
400aa020
UD
35890 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35891 * stdlib/bug-fmtmsg1.c: New file.
35892
35893 * stdlib/fmtmsg.c (init): Add missing unlock.
35894 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35895
e0a309cf
MP
358962012-01-12 Marek Polacek <polacek@redhat.com>
35897
35898 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35899 and _GNU_SOURCE.
35900
929d11c7
WS
359012012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35902
35903 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35904 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35905 macro to ensure uniqueness of label name.
35906 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35907 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35908
41d0e869
UD
359092012-01-11 Ulrich Drepper <drepper@gmail.com>
35910
0cc5ed3b
UD
35911 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35912
41d0e869
UD
35913 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35914 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35917
a47a831a
UD
359182012-01-10 Ulrich Drepper <drepper@gmail.com>
35919
daa891c0
UD
35920 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35921
35922 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35923 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35924 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35925
e58ef0f2
UD
35926 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35927
a47a831a 35928 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35929 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35930 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35931 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35932
35933 * math/bits/math-finite.h: Add ldexp support.
35934
a0bfc9c7
MP
359352012-01-10 Marek Polacek <polacek@redhat.com>
35936
35937 * locale/programs/localedef.h (show_archive_content): Add noreturn
35938 attribute.
35939
d6e97a1d
UD
359402012-01-09 Ulrich Drepper <drepper@gmail.com>
35941
35942 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35943
d5835c26
UD
359442012-01-08 Ulrich Drepper <drepper@gmail.com>
35945
e5f484c6
UD
35946 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35947
d5835c26
UD
35948 * io/Makefile (headers): Add bits/poll2.h.
35949
d1f741e9
WS
359502011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35951
35952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35953 typo #include statement.
35954
ec09c1c4
UD
359552012-01-08 Ulrich Drepper <drepper@gmail.com>
35956
35957 * include/sys/cdefs.h: Define __attribute_alloc_size.
35958 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35959 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35960 * elf/pldd.c: Likewise.
35961 * iconv/iconv_charmap.c: Likewise.
35962 * iconv/iconvconfig.c: Likewise.
35963 * iconv/strtab.c: Likewise.
35964 * locale/programs/locale.c: Likewise.
35965 * locale/programs/localedef.h: Likewise.
35966 * locale/programs/simple-hash.c: Likewise.
35967 * nscd/nscd.h: Likewise.
35968 * nss/makedb.c: Likewise.
35969 * sysdeps/generic/ldconfig.h: Likewise.
35970 * locale/programs/localedef.c: Remove xmalloc prototype.
35971 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35972
20b38e03
PP
359732012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35974
35975 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35976 appropriate.
35977
a0da5fe1
UD
359782012-01-08 Ulrich Drepper <drepper@gmail.com>
35979
1d5a644a 35980 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35981 * math/tst-CMPLX.c: New file.
1d5a644a 35982
8784a6db
UD
35983 * math/complex.h (CMPLXL): Fix typo.
35984
d9a216c0
UD
35985 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35986 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35987 GLIBC_2.16.
35988 * debug/tst-chk1.c: Add poll and ppoll tests.
35989 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35990 * include/sys/poll.h: Add hidden proto for ppoll.
35991 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35992 * sysdeps/mach/hurd/ppoll.c: Likewise.
35993 * io/ppoll.c: Likewise.
35994 * debug/poll_chk.c: New file.
35995 * debug/ppoll_chk.c: New file.
35996 * include/bits/poll2.h: New file.
35997 * io/bits/poll2.h: New file.
35998
ac097f5c
UD
35999 [BZ #1350]
36000 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36001
2119dcfa
UD
36002 * configure.in: static is always set to yes. Remove.
36003 * config.make.in: Don't set build-static.
36004 * Makeconfig: Remove use of build-static.
36005 * dlfcn/Makefile: Likewise.
36006 * elf/Makefile: Likewise.
36007 * math/Makefile: Likewise.
36008 * misc/Makefile: Likewise.
36009 * nptl/Makefile: Likewise.
36010 * sysdeps/mach/hurd/Makefile: Likewise.
36011
121766a9
UD
36012 * configure.in: PWD_P is not used anymore.
36013 * config.make.in: Remove PWD_P entry.
36014
51a1d39c 36015 * configure.in: Remove last remnants of RANLIB.
8720d066 36016 No need to check for signed size_t anymore.
215f4bdc
UD
36017 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36018 and IA-64.
3857022a 36019 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36020 * aclocal.m4: Likewise.
36021
d3ed7225
UD
36022 * wcsmbs/mbrtoc16.c: Implement using towc function.
36023 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36024 * wcsmbs/wcsmbsload.c: Likewise.
36025 * iconv/gconv_simple.c: Likewise.
36026 * iconv/gconv_int.h: Likewise.
36027 * iconv/gconv_builtin.h: Likewise.
36028 * iconv/iconv_prog.c: Remove CHAR16 handling.
36029
36030 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36031
36032 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36033
a0da5fe1
UD
36034 * configure.in: Remove --with-elf and --enable-bounded options.
36035 Dont set base_machine for ia64. More non-ELF conditions removed.
36036 Remove testing and setting of leading underscore information.
36037 * config.make.in (build-bounded): Set to no.
36038 * config.h.in: Remove NO_UNDERSCORES entry.
36039 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36040 them.
36041 * csu/start.c: Remove !NO_UNDERSCORE code.
36042 * locale/localeinfo.h: Likewise.
36043 * sysdeps/generic/machine-gmon.h: Likewise.
36044 * sysdeps/generic/sysdep.h: Likewise.
36045 * sysdeps/i386/sysdep.h: Likewise.
36046 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36047 * sysdeps/mach/sysdep.h: Likewise.
36048 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36050 * sysdeps/sh/sysdep.h: Likewise.
36051 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36052 * sysdeps/unix/i386/sysdep.S: Likewise.
36053 * sysdeps/unix/sparc/start.c: Likewise.
36054 * sysdeps/unix/sparc/sysdep.S: Likewise.
36055 * sysdeps/unix/sparc/sysdep.h: Likewise.
36056 * sysdeps/unix/start.c: Likewise.
36057 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36058 * sysdeps/x86_64/sysdep.h: Likewise.
36059
df78418a
UD
360602012-01-07 Ulrich Drepper <drepper@gmail.com>
36061
a784e502
UD
36062 [BZ #13553]
36063 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36064 for non-gcc.
36065 * argp/argp-fmtstream.h: Use const instead __const.
36066 * argp/argp.h: Likewise.
36067 * assert/assert.h: Likewise.
36068 * bits/fenv.h: Likewise.
36069 * bits/sched.h: Likewise.
36070 * bits/sigset.h: Likewise.
36071 * bits/sigthread.h: Likewise.
36072 * catgets/nl_types.h: Likewise.
36073 * conform/data/pthread.h-data: Likewise.
36074 * crypt/crypt-private.h: Likewise.
36075 * crypt/crypt.h: Likewise.
36076 * crypt/crypt_util.c: Likewise.
36077 * ctype/ctype.h: Likewise.
36078 * debug/execinfo.h: Likewise.
36079 * debug/mbsnrtowcs_chk.c: Likewise.
36080 * debug/mbsrtowcs_chk.c: Likewise.
36081 * debug/wcsnrtombs_chk.c: Likewise.
36082 * debug/wcsrtombs_chk.c: Likewise.
36083 * debug/wcstombs_chk.c: Likewise.
36084 * dirent/dirent.h: Likewise.
36085 * dlfcn/dlfcn.h: Likewise.
36086 * elf/neededtest4.c: Likewise.
36087 * grp/grp.h: Likewise.
36088 * gshadow/gshadow.h: Likewise.
36089 * iconv/gconv.h: Likewise.
36090 * iconv/gconv_int.h: Likewise.
36091 * iconv/gconv_simple.c: Likewise.
36092 * iconv/iconv.h: Likewise.
36093 * iconv/loop.c: Likewise.
36094 * iconv/skeleton.c: Likewise.
36095 * include/aio.h: Likewise.
36096 * include/aliases.h: Likewise.
36097 * include/argz.h: Likewise.
36098 * include/arpa/inet.h: Likewise.
36099 * include/assert.h: Likewise.
36100 * include/dirent.h: Likewise.
36101 * include/dlfcn.h: Likewise.
36102 * include/execinfo.h: Likewise.
36103 * include/fcntl.h: Likewise.
36104 * include/fenv.h: Likewise.
36105 * include/glob.h: Likewise.
36106 * include/grp.h: Likewise.
36107 * include/libintl.h: Likewise.
36108 * include/mntent.h: Likewise.
36109 * include/netdb.h: Likewise.
36110 * include/pwd.h: Likewise.
36111 * include/rpc/netdb.h: Likewise.
36112 * include/sched.h: Likewise.
36113 * include/search.h: Likewise.
36114 * include/shadow.h: Likewise.
36115 * include/signal.h: Likewise.
36116 * include/stdio.h: Likewise.
36117 * include/stdlib.h: Likewise.
36118 * include/string.h: Likewise.
36119 * include/sys/socket.h: Likewise.
36120 * include/sys/stat.h: Likewise.
36121 * include/sys/statfs.h: Likewise.
36122 * include/sys/statvfs.h: Likewise.
36123 * include/sys/syslog.h: Likewise.
36124 * include/sys/time.h: Likewise.
36125 * include/sys/uio.h: Likewise.
36126 * include/time.h: Likewise.
36127 * include/unistd.h: Likewise.
36128 * include/utmp.h: Likewise.
36129 * include/wchar.h: Likewise.
36130 * include/wctype.h: Likewise.
36131 * inet/aliases.h: Likewise.
36132 * inet/arpa/inet.h: Likewise.
36133 * inet/netinet/ether.h: Likewise.
36134 * inet/netinet/in.h: Likewise.
36135 * intl/libintl.h: Likewise.
36136 * io/bits/fcntl2.h: Likewise.
36137 * io/fcntl.h: Likewise.
36138 * io/ftw.h: Likewise.
36139 * io/sys/poll.h: Likewise.
36140 * io/sys/stat.h: Likewise.
36141 * io/sys/statfs.h: Likewise.
36142 * io/sys/statvfs.h: Likewise.
36143 * io/utime.h: Likewise.
36144 * libio/bits/stdio.h: Likewise.
36145 * libio/bits/stdio2.h: Likewise.
36146 * libio/libio.h: Likewise.
36147 * libio/libioP.h: Likewise.
36148 * libio/stdio.h: Likewise.
36149 * locale/lc-ctype.c: Likewise.
36150 * locale/locale.h: Likewise.
36151 * login/utmp.h: Likewise.
36152 * malloc/arena.c: Likewise.
36153 * malloc/malloc.c: Likewise.
36154 * malloc/malloc.h: Likewise.
36155 * malloc/mcheck.c: Likewise.
36156 * malloc/mtrace.c: Likewise.
36157 * math/bits/mathcalls.h: Likewise.
36158 * math/fenv.h: Likewise.
36159 * math/math_private.h: Likewise.
36160 * misc/bits/error.h: Likewise.
36161 * misc/bits/syslog.h: Likewise.
36162 * misc/err.h: Likewise.
36163 * misc/error.h: Likewise.
36164 * misc/fstab.h: Likewise.
36165 * misc/mntent.h: Likewise.
36166 * misc/regexp.h: Likewise.
36167 * misc/search.h: Likewise.
36168 * misc/sgtty.h: Likewise.
36169 * misc/sys/mman.h: Likewise.
36170 * misc/sys/syslog.h: Likewise.
36171 * misc/sys/uio.h: Likewise.
36172 * misc/sys/xattr.h: Likewise.
36173 * misc/ttyent.h: Likewise.
36174 * nis/rpcsvc/ypclnt.h: Likewise.
36175 * nss/nss.h: Likewise.
36176 * posix/bits/unistd.h: Likewise.
36177 * posix/fnmatch.h: Likewise.
36178 * posix/glob.h: Likewise.
36179 * posix/sched.h: Likewise.
36180 * posix/spawn.h: Likewise.
36181 * posix/sys/wait.h: Likewise.
36182 * posix/unistd.h: Likewise.
36183 * posix/wordexp.h: Likewise.
36184 * pwd/pwd.h: Likewise.
36185 * resolv/netdb.h: Likewise.
36186 * resource/sys/resource.h: Likewise.
36187 * rt/aio.h: Likewise.
36188 * rt/bits/mqueue2.h: Likewise.
36189 * rt/mqueue.h: Likewise.
36190 * shadow/shadow.h: Likewise.
36191 * signal/signal.h: Likewise.
36192 * socket/send.c: Likewise.
36193 * socket/sendto.c: Likewise.
36194 * socket/sys/socket.h: Likewise.
36195 * stdio-common/printf.h: Likewise.
36196 * stdlib/bits/stdlib.h: Likewise.
36197 * stdlib/fmtmsg.h: Likewise.
36198 * stdlib/monetary.h: Likewise.
36199 * stdlib/stdlib.h: Likewise.
36200 * stdlib/ucontext.h: Likewise.
36201 * streams/stropts.h: Likewise.
36202 * string/argz.h: Likewise.
36203 * string/bits/string2.h: Likewise.
36204 * string/string.h: Likewise.
36205 * string/strings.h: Likewise.
36206 * sunrpc/rpc/auth.h: Likewise.
36207 * sunrpc/rpc/auth_des.h: Likewise.
36208 * sunrpc/rpc/clnt.h: Likewise.
36209 * sunrpc/rpc/netdb.h: Likewise.
36210 * sunrpc/rpc/pmap_clnt.h: Likewise.
36211 * sunrpc/rpc/xdr.h: Likewise.
36212 * sysdeps/generic/inttypes.h: Likewise.
36213 * sysdeps/generic/net/if.h: Likewise.
36214 * sysdeps/generic/sys/swap.h: Likewise.
36215 * sysdeps/gnu/net/if.h: Likewise.
36216 * sysdeps/gnu/utmpx.h: Likewise.
36217 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36218 * sysdeps/i386/i486/bits/string.h: Likewise.
36219 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36220 * sysdeps/s390/bits/string.h: Likewise.
36221 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36222 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36223 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36224 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36225 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36226 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36227 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36228 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36229 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36230 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36231 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36232 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36233 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36234 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36235 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36236 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36237 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36238 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36239 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36240 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36241 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36242 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36243 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36244 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36245 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36246 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36247 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36248 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36249 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36250 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36251 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36252 * sysvipc/sys/ipc.h: Likewise.
36253 * sysvipc/sys/msg.h: Likewise.
36254 * sysvipc/sys/sem.h: Likewise.
36255 * sysvipc/sys/shm.h: Likewise.
36256 * termios/termios.h: Likewise.
36257 * time/sys/time.h: Likewise.
36258 * time/time.h: Likewise.
36259 * wcsmbs/bits/wchar2.h: Likewise.
36260 * wcsmbs/uchar.h: Likewise.
36261 * wcsmbs/wchar.h: Likewise.
36262 * wctype/wctype.h: Likewise.
36263
0269750c
UD
36264 [BZ #13551]
36265 * Makeconfig: Remove all but ELF support including AIX support.
36266 * Makerules: Likewise.
36267 * config.h.in: Likewise.
36268 * config.make.in: Likewise.
36269 * configure: Likewise.
36270 * configure.in: Likewise.
36271 * csu/Makefile: Likewise.
36272 * csu/version.c: Likewise.
36273 * debug/Makefile: Likewise.
36274 * dlfcn/Makefile: Likewise.
36275 * elf/Makefile: Likewise.
36276 * extra-lib.mk: Likewise.
36277 * iconv/Makefile: Likewise.
36278 * include/libc-symbols.h: Likewise.
36279 * include/shlib-compat.h: Likewise.
36280 * resolv/Makefile: Likewise.
36281 * resolv/res_libc.c: Likewise.
36282 * rt/Makefile: Likewise.
36283 * sysdeps/i386/asm-syntax.h: Likewise.
36284 * sysdeps/i386/sysdep.h: Likewise.
36285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36286 * sysdeps/mach/sysdep.h: Likewise.
36287 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36288 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36289 * sysdeps/s390/asm-syntax.h: Likewise.
36290 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36291 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36292 * sysdeps/sh/sysdep.h: Likewise.
36293 * sysdeps/unix/sparc/sysdep.h: Likewise.
36294 * sysdeps/wordsize-32/divdi3.c: Likewise.
36295 * sysdeps/x86_64/sysdep.h: Likewise.
36296
00bbd29b
UD
36297 * argp/Versions: Remove _argp_unlock_xxx.
36298
36299 [BZ #13559]
36300 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36301 * abilist/libBrokenLocale.abilist: Likewise.
36302 * abilist/libanl.abilist: Likewise.
36303 * abilist/libc.abilist: Likewise.
36304 * abilist/libcrypt.abilist: Likewise.
36305 * abilist/libdl.abilist: Likewise.
36306 * abilist/libm.abilist: Likewise.
36307 * abilist/libnsl.abilist: Likewise.
36308 * abilist/libpthread.abilist: Likewise.
36309 * abilist/libresolv.abilist: Likewise.
36310 * abilist/librt.abilist: Likewise.
36311 * abilist/libthread_db.abilist: Likewise.
36312 * abilist/libutil.abilist: Likewise.
36313 * abilist/libnss_db.abilist: New file.
36314
36315 * scripts/abilist.awk: Add support for indirect functions.
36316
a2693a0e
UD
36317 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36318
3f05895f
UD
36319 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36320
ecb6fb48
UD
36321 * shlib-versions: Remove entries for ports architectures.
36322
664f8cb9
UD
36323 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36324 files in ports.
36325 * elf/stackguard-macros.h: Remove support for IA-64.
36326 * elf/tst-auditmod1.c: Likewise.
36327 * sysdeps/generic/ldsodefs.h: Likewise.
36328
7ae81d88
UD
36329 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36330 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36331 configure files.
36332
bdeba135
UD
36333 [BZ #13552]
36334 * configure.in: Remove --enable-omitfp support.
36335 * FAQ.in: Adjust.
36336 * config.make.in: Likewise.
36337 * Makeconfig: Likewise.
36338 * manual/install.texi: Likewise.
36339
d75a0a62
UD
36340 In case anyone cares, the IA-64 architecture could move to ports.
36341 * sysdeps/ia64/*: Removed.
36342 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36343 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36344
dcc9756b
UD
36345 [BZ #13555]
36346 * configure.in: Remove entries for unsupported architectures.
36347
d3761ebc 36348 [BZ #13533]
9954432e
UD
36349 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36350 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36351 routines.
36352 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36353 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36354 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36355 fall back to using wcrtomb.
36356 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36357 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36358 renaming.
36359 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36360 * wcsmbs/tst-c16c32-1.c: New file.
36361
36362 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36363 local variable.
36364
c3a87236
UD
36365 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36366
28926a1b
UD
36367 * elf/tst-unique3.cc: Add explicit declaration of gets.
36368 * elf/tst-unique3lib.cc: Likewise.
36369 * elf/tst-unique3lib2.cc: Likewise.
36370 * elf/tst-unique4.cc: Likewise.
36371
df78418a
UD
36372 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36373
8ecd6b2a
JM
363742012-01-06 Joseph Myers <joseph@codesourcery.com>
36375
36376 [BZ #13566]
36377 * assert/assert.h (static_assert): Don't define for C++.
36378 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36379 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36380
9f115170
UD
363812012-01-03 Ulrich Drepper <drepper@gmail.com>
36382
5e0d0300
UD
36383 * iconv/loop.c (single loop): Fix assertion in storing of
36384 remaining bytes.
36385
9f115170
UD
36386 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36387
81fb02b0
UD
363882012-01-01 Ulrich Drepper <drepper@gmail.com>
36389
36390 * posix/getconf.c: Update copyright year.
36391 * nss/getent.c: Likewise.
a316c1f6 36392 * nss/makedb.c: Likewise.
81fb02b0
UD
36393 * iconv/iconvconfig.c: Likewise.
36394 * iconv/iconv_prog.c: Likewise.
36395 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36396 * elf/pldd.c: Likewise.
36397 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36398 * catgets/gencat.c: Likewise.
36399 * csu/version.c: Likewise.
36400 * elf/ldd.bash.in: Likewise.
36401 * elf/sprof.c (print_version): Likewise.
36402 * locale/programs/locale.c: Likewise.
36403 * locale/programs/localedef.c: Likewise.
a316c1f6 36404 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36405 * nscd/nscd.c (print_version): Likewise.
36406 * debug/xtrace.sh: Likewise.
36407 * malloc/memusage.sh: Likewise.
36408 * malloc/mtrace.pl: Likewise.
36409 * debug/catchsegv.sh: Likewise.
36410
2ba92745
JJ
364112011-12-30 Jakub Jelinek <jakub@redhat.com>
36412
36413 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36414 pure attribute.
36415
dadebdae
UD
364162011-12-24 Ulrich Drepper <drepper@gmail.com>
36417
d3761ebc 36418 [BZ #13533]
db6af3eb
UD
36419 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36420 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36421 transformations.
36422 * iconv/gconv_int.h: Likewise.
36423 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36424 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36425 from libc for GLIBC_2.16.
36426 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36427 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36428 * wcsmbs/uchar.h: Really define mbstate_t.
36429 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36430 * wcsmbs/c16rtomb.c: New file.
36431 * wcsmbs/mbrtoc16.c: New file.
36432 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36433 for C/POSIX locale.
36434 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36435 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36436
dadebdae
UD
36437 * wcsmbs/wchar.h: Add missing __restrict.
36438
67371b56
UD
364392011-12-23 Ulrich Drepper <drepper@gmail.com>
36440
74033a25
UD
36441 [BZ #13532]
36442 * time/Makefile (routines): Add timespec_get.
36443 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36444 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36445 timespec for ISO C11.
36446 * time/timespec_get.c: New file.
36447 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36448 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36449
380d7e87
UD
36450 [BZ #13531]
36451 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36452 * stdlib/stdlib.h: Declare aligned_alloc.
36453 * Versions.def: Add GLIBC_2.16 for libc.
36454 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36455
4e9e7a35
UD
36456 [BZ 13527]
36457 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36458 ISO C11.
36459
380d7e87 36460 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36461 code.
36462
03a71829
UD
36463 [BZ #13528]
36464 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36465
839e283e
UD
36466 [BZ #13529]
36467 * assert/assert.h (static_assert): Define.
36468
ce5294e2 36469 * version.h: Update for 2.16 development version.
90fa7312 36470
8d44e150 36471 [BZ #13526]
d7809905
UD
36472 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36473 _ISOC11_SOURCE.
36474
c0da14cd
UD
36475 * version.h (RELEASE): Bump for 2.15 release.
36476 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36477
530a3249
MP
36478 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36479 Patch by Marek Polacek <mpolacek@redhat.com>.
36480
67371b56
UD
36481 * bits/byteswap.h: Protect long long constants with __extension__.
36482 * sysdeps/i386/bits/byteswap.h: Likewise.
36483 * sysdeps/ia64/bits/byteswap.h: Likewise.
36484 * sysdeps/s390/bits/byteswap.h: Likewise.
36485 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36486
15db4de1
LD
364872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36488
36489 [BZ #13540]
bbe315ea
LD
36490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36491 destination buffer.
15db4de1
LD
36492 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36493
2b2596b1
MP
364942011-12-23 Marek Polacek <polacek@redhat.com>
36495
36496 * elf/dl-addr.c (determine_info): Add inline keyword.
36497 * elf/tst-auditmod4b.c (check_avx): Likewise.
36498 * elf/tst-auditmod6b.c (check_avx): Likewise.
36499 * elf/tst-auditmod6c.c (check_avx): Likewise.
36500 * elf/tst-auditmod7b.c (check_avx): Likewise.
36501
70c6c246
UD
365022011-12-23 Ulrich Drepper <drepper@gmail.com>
36503
36504 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36505 !__SSE_MATH__.
36506
c044cf14
LD
365072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36508
15db4de1 36509 [BZ #13540]
c044cf14
LD
36510 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36511 processing for last bytes.
36512
6b13d9d9
BH
365132011-08-06 Bruno Haible <bruno@clisp.org>
36514
d455f537
BH
36515 [BZ #13061]
36516 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36517 U+0385, not to U+1FEE.
36518
6b13d9d9
BH
36519 [BZ #13062]
36520 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36521 entry for U+00A5 U+0301.
36522
db910efd
UD
365232011-12-22 Ulrich Drepper <drepper@gmail.com>
36524
27deeafc
UD
36525 [BZ #13166]
36526 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36527 buffer for the output is too small.
36528
aed9d171
UD
36529 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36530 optimization.
36531
db910efd
UD
36532 [BZ #13185]
36533 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36534 SSE flags if possible.
36535
2bd779ae
LD
365362011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36537
e7f9dac3 36538 [BZ #13540]
2bd779ae
LD
36539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36540 processing for last bytes.
36541
154bfc16
JM
365422011-12-22 Joseph Myers <joseph@codesourcery.com>
36543
36544 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36545 (syscall-list-default-options, syscall-list-default-condition)
36546 (syscall-list-includes): Define.
36547 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36548 list of ABIs and options and #if conditions for each ABI. Do not
36549 handle common syscalls between ABIs specially.
36550 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36551 Remove.
36552 (syscall-list-variants, syscall-list-32bit-options)
36553 (syscall-list-32bit-condition, syscall-list-64bit-options)
36554 (syscall-list-64bit-condition): Define.
36555 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36556 (syscall-list-variants, syscall-list-32bit-options)
36557 (syscall-list-32bit-condition, syscall-list-64bit-options)
36558 (syscall-list-64bit-condition): Define.
36559 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36560 Remove.
36561 (syscall-list-variants, syscall-list-32bit-options)
36562 (syscall-list-32bit-condition, syscall-list-64bit-options)
36563 (syscall-list-64bit-condition): Define.
36564 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36565 Remove.
36566 (syscall-list-variants, syscall-list-32bit-options)
36567 (syscall-list-32bit-condition, syscall-list-64bit-options)
36568 (syscall-list-64bit-condition): Define.
36569
21eaf3a5
UD
365702011-12-22 Ulrich Drepper <drepper@gmail.com>
36571
16c6f992
UD
36572 * locale/iso-639.def: Add brx entry.
36573
41043168
UD
36574 [BZ #13328]
36575 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36576 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36577
21eaf3a5
UD
36578 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36579 __feraiseexcept_renamed.
36580
e3a851a2
UD
365812011-12-21 Ulrich Drepper <drepper@gmail.com>
36582
4920765e
UD
36583 [BZ #13538]
36584 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36585 EPOLLET with unsigned values.
36586 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36587 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36588
e3a851a2
UD
36589 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36590 to large cancellation.
36591 * math/s_cacoshf.c: Likewise.
36592 * math/s_cacoshl.c: Likewise.
36593
b27e24b8
RK
365942011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36595
36596 [BZ #13305]
aebefeee 36597 [BZ #12786]
b27e24b8
RK
36598 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36599 * math/s_cacoshf.c: Likewise.
36600 * math/s_cacoshl.c: Likewise.
36601
ee190f67
UD
366022011-12-21 Ulrich Drepper <drepper@gmail.com>
36603
36604 [BZ #13439]
36605 * iconv/gconv.h: Define __GCONV_SWAP.
36606 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36607 * iconvdata/utf-16.c: Likewise.
36608 * iconvdata/utf-32.c: Likewise.
36609
707f25df
AS
366102011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36611
36612 [BZ #13524]
36613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36614 numerator after shifting it by one limb.
36615
d2daaa1e
RÁE
366162011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36617
36618 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36619 under [__USE_EXTERN_INLINES].
36620
a4647e72
UD
366212011-12-17 Ulrich Drepper <drepper@gmail.com>
36622
36623 [BZ #13446]
36624 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36625
f0b264f1
AZ
366262011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36627
36628 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36629 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36630 optimized code.
36631 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36632 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36633 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36634 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36635 for strncasecmp/strncasecmp_l compilation.
36636 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36637 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36638
8ef4f244
MP
366392011-12-08 Marek Polacek <mpolacek@redhat.com>
36640
36641 [BZ #13484]
36642 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36643 of __asm__.
36644
97ac2654
UD
366452011-12-17 Ulrich Drepper <drepper@gmail.com>
36646
36647 [BZ #13506]
36648 * time/tzfile.c (__tzfile_read): Check values from file header.
36649
91d2a845
WS
366502011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36651
36652 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36653 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36654 * powerpc/powerpc32/dl-start.S: Likewise.
36655 * powerpc/powerpc32/elf/start.S: Likewise.
36656 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36657 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36658 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36659 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36660 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36661 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36662 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36663 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36664 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36665 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36666 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36667 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36668 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36669 * powerpc/powerpc32/memset.S: Likewise.
36670 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36671 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36672 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36673 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36674 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36675 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36676 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36677 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36678 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36679 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36680 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36681 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36682 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36683
a1267ba1
AZ
366842011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36685
36686 * math/libm-test.inc: Added more nearbyint tests.
36687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36691
ad8ac1bd
RL
366922011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36693
36694 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36695 FD_CLOEXEC.
36696
1d3e4b61
UD
366972011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36698
36699 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36700 Add wcscpy-ssse3 wcscpy-c.
36701 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36702 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36703 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36704 * sysdeps/x86_64/wcschr.S: New file.
36705 * sysdeps/x86_64/wcsrchr.S: New file.
36706 * string/test-strcmp.c: Remove checking of wcscmp function for
36707 wrong alignments.
36708 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36709 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36710 wcsrchr-sse2 wcsrchr-c.
36711 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36712 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36713 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36714 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36715 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36716 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36717 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36718 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36719 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36720 * wcsmbc/wcschr.c (WCSCHR): New macro.
36721
5b330a2d
UD
367222011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36723
36724 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36725 * wcsmbs/test-wcsrchr.c: New file.
36726 * string/test-strrchr.c: Add wcsrchr support.
36727 (WIDE): New macro.
36728 * wcsmbs/test-wcscpy.c: New file.
36729 * string/test-strcpy.c: Add wcscpy support.
36730 (WIDE): New macro.
26428b7c 36731
f039c043
UD
367322011-12-10 Ulrich Drepper <drepper@gmail.com>
36733
36734 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36735 the inner loop.
36736
850fb039
AS
367372011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36738
36739 [BZ #13472]
36740 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36741
4efbd5cb
UD
367422011-12-04 Ulrich Drepper <drepper@gmail.com>
36743
52ff5dd0 36744 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36745 Minor optimizations.
52ff5dd0 36746
4efbd5cb
UD
36747 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36748 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36749 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36750
8a426e12
UD
367512011-12-03 Ulrich Drepper <drepper@gmail.com>
36752
aff2453d
UD
36753 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36754 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36755 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36756 for gcc to avoid warnings.
36757 * inet/Makefile (tests): Add tst-checks.
36758 * inet/tst-checks.c: New file.
36759
36760 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36761 warning.
36762
36763 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36764 __wmemcmp_sse2.
36765
36766 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36767 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36768
8a426e12
UD
36769 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36770
9bea3473
UD
367712011-12-02 Ulrich Drepper <drepper@gmail.com>
36772
3a965496
UD
36773 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36774 problem.
36775
9bea3473
UD
36776 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36777
f101631b
UD
367782011-11-29 Joseph Myers <joseph@codesourcery.com>
36779
36780 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36781 conditional on GCC version.
36782 (__arch_compare_and_exchange_val_8_acq)
36783 (__arch_compare_and_exchange_val_16_acq)
36784 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36785 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36786 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36787
a98275aa
UD
367882011-12-02 Joseph Myers <joseph@codesourcery.com>
36789
36790 * sysdeps/sh/backtrace.c: New file.
36791
d4cc29a2
AS
367922011-12-02 Andreas Schwab <schwab@redhat.com>
36793
36794 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36795 parenthesis.
36796
6257af2d
AS
367972011-12-01 Andreas Schwab <schwab@redhat.com>
36798
36799 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36800 falling back to utime.
36801
b5f44c1a
AS
368022011-11-30 Andreas Schwab <schwab@redhat.com>
36803
36804 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36805 expectations for float.
36806
f3a6cc0a
AS
368072011-11-29 Andreas Schwab <schwab@redhat.com>
36808
36809 * locale/weight.h (findidx): Add parameter len.
36810 * locale/weightwc.h (findidx): Likewise.
36811 * posix/fnmatch_loop.c (FCT): Adjust caller.
36812 * posix/regcomp.c (build_equiv_class): Likewise.
36813 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36814 * posix/regexec.c (check_node_accept_bytes): Likewise.
36815 * string/strcoll_l.c (STRCOLL): Likewise.
36816 * string/strxfrm_l.c (STRXFRM): Likewise.
36817
9d65ea3a
UD
368182011-11-17 Ulrich Drepper <drepper@gmail.com>
36819
36820 * Makefile.in: Remove CVSOPT handling.
36821 * configure.in: Remove use of AC_REVISION.
36822 * iconvdata/Makefile (distribute): No need to filter out CVS.
36823 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36824 handling.
36825
5583a086
AS
368262011-11-16 Andreas Schwab <schwab@redhat.com>
36827
36828 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36829 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36830 [USE_AS_STRNCASECMP_L]: Likewise.
36831 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36832 NO_TLS_DIRECT_SEG_REFS.
36833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36834 Fix argument offsets for non-PIC.
36835 [USE_AS_STRNCASECMP_L]: Likewise.
36836 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36837 NO_TLS_DIRECT_SEG_REFS.
36838
d62a8200
UD
368392011-11-15 Ulrich Drepper <drepper@gmail.com>
36840
9d65ea3a 36841 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36842 O_CLOEXEC.
36843 * locale/loadlocale.c (_nl_load_locale): Likewise.
36844
09f93bd3
AS
368452011-11-15 Andreas Schwab <schwab@redhat.com>
36846
446514f9
AS
36847 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36848 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36849 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36850 (SYSCALL_GETTIME): Set errno on error.
36851
09f93bd3
AS
36852 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36853 count references to noai6ai_cached.
36854
312be3f9
UD
368552011-11-15 Ulrich Drepper <drepper@gmail.com>
36856
36857 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36858
36859 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36860 FD_CLOEXEC for /proc/self/maps.
36861
36862 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36863 FD_CLOEXEC for /proc/meminfo.
36864
36865 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36866 gai.conf.
36867
36868 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36869 FD_CLOEXEC for given file.
36870
36871 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36872
36873 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36874 FD_CLOEXEC for /etc/hosts.
36875 (_gethtent): Likewise.
36876
36877 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36878
36879 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36880 cancellation and set FD_CLOEXEC for /etc/netgroup.
36881
36882 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36883 reading /etc/publickey.
36884
36885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36886 allow cancellation when reading /etc/group.
36887
36888 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36889 cancellation.
36890 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36891
36892 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36893 when using data file.
36894
36895 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36896
36897 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36898 (write_nis_obj): Use "c" and "e" in fopen.
36899
36900 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36901
36902 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36903
36904 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36905
36906 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36907
36908 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36909 locale.alias.
36910
36911 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36912
36913 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36914
36915 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36916
36917 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36918 file parsing and set FD_CLOEXEC.
36919
82af0fa8
UD
369202011-11-14 Ulrich Drepper <drepper@gmail.com>
36921
36922 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36923
a5fb313c
AS
369242011-11-14 Andreas Schwab <schwab@redhat.com>
36925
36926 * malloc/arena.c (arena_get2): Don't call reused_arena when
36927 _int_new_arena failed.
36928
6abf3465
UD
369292011-11-14 Ulrich Drepper <drepper@gmail.com>
36930
36931 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36932 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36933 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36934 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36935 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36937 to compile strcasecmp and strncasecmp.
36938 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36939 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36940
36941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36942
76e3966e
UD
369432011-11-13 Ulrich Drepper <drepper@gmail.com>
36944
36945 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36946 locale-defines.sym to gen-as-const-headers.
36947 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36948 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36950 to compile strcasecmp and strncasecmp.
36951 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36952 strcasecmp_l and strncasecmp_l.
36953 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36954 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36955 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36956 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36957 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36958 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36959 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36960 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36961 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36962 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36963 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36964
ab26144e
UD
369652011-11-12 Ulrich Drepper <drepper@gmail.com>
36966
7edb22ef
UD
36967 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36968 result of SYSDEP_GETTIME_CPU to retval.
36969 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36970 parameter list to macro. Remove trailing semicolon. Adjust users.
36971
9694fc44
UD
36972 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36973 variable.
36974
8ad89ef8
UD
36975 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36976 mantissa words.
36977 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36978
0c822ef9
UD
36979 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36980 from unused variable.
36981
874e0564
UD
36982 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36983 DWARF definitions.
36984 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36985 for assembling.
36986
3a2edc79
UD
36987 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36988 over namespaces.
36989
f3c2577f
UD
36990 * sunrpc/rpc_prot.c (rejected): Fix case value.
36991
294ce126
UD
36992 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36993 unsigned long long int to avoid warnings in shift.
36994
5e2b63c6
UD
36995 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36996 of use of trans.
36997 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36998 variable tmp.
36999
e7f4b08e
UD
37000 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37001 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37002 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37003
ab26144e
UD
37004 * nis/nis_table.c (nis_list): Use variable of correct type for
37005 result of __follow_path call.
37006
8a6d5255
AZ
370072011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37008
37009 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37010 of math functions ceil, trunc, floor, round, and sqrt, when
37011 avaliable on the platform.
37012 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37013 name clash.
37014 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37015 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37016 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37017
aaddc98c
MP
370182011-10-30 Marek Polacek <mpolacek@redhat.com>
37019
37020 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37021 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37022
95b7042b
RM
370232011-11-11 Roland McGrath <roland@hack.frob.com>
37024
37025 * include/unistd.h: Fix __readlink return type.
37026 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37027
57769839
UD
370282011-11-11 Ulrich Drepper <drepper@gmail.com>
37029
37030 * stdlib/ucontext.h: Undo last change for makecontext.
37031
edc5984d
AS
370322011-11-11 Andreas Schwab <schwab@redhat.com>
37033
98591e58
AS
37034 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37035
edc5984d
AS
37036 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37037 * setjmp/setjmp.h: Mark functions as non-leaf.
37038 * setjmp/bits/setjmp2.h: Likewise.
37039 * stdlib/ucontext.h: Likewise.
37040
77cdc054
AS
370412011-11-10 Andreas Schwab <schwab@redhat.com>
37042
37043 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37044 (reused_arena): Don't check arena limit.
37045 (arena_get2): Atomically check arena limit.
37046
fe72eebd
UD
370472011-11-08 Ulrich Drepper <drepper@gmail.com>
37048
5f078c32
UD
37049 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37050 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37051
fe72eebd
UD
37052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37053 instructions.
37054
ae1bc2fa
AS
370552011-11-07 Andreas Schwab <schwab@redhat.com>
37056
7583a88d
AS
37057 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37058 handler when locking.
37059
ae1bc2fa
AS
37060 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37061 Fix size of allocated buffer.
37062
10fb0bfa
AS
370632011-11-04 Andreas Schwab <schwab@redhat.com>
37064
998832a4
AS
37065 [BZ #10103]
37066 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37067 declarations for long double functions.
37068 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37069
10fb0bfa
AS
37070 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37071
3d7ba52b
AS
370722011-11-03 Andreas Schwab <schwab@redhat.com>
37073
a9ae54a1
AS
37074 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37075 installed.
37076
3d7ba52b
AS
37077 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37078 is disabled.
37079
bc8db248
ST
370802011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37081
37082 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37083
45b96dd6
AS
370842011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37085
647776f6
AS
37086 * include/alloca.h (stackinfo_alloca_round): Define.
37087 (extend_alloca): Use it.
37088 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37089 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37090 here.
37091
d91a8b93
AS
37092 * scripts/check-local-headers.sh: Ignore libaudit.h.
37093
45b96dd6
AS
37094 * nscd/Makefile (extra-objs): Make recursively expanded.
37095
432d41ce
UD
370962011-11-01 Ulrich Drepper <drepper@gmail.com>
37097
34372fc6
UD
37098 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37099 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37100
fadb59f8
UD
37101 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37102 * posix/tst-rfc3484-2.c: Likewise.
37103 * posix/tst-rfc3484-3.c: Likewise.
37104
78239589
UD
37105 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37106 process_vm_writev.
37107 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37108 process_vm_writev.
37109 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37110 process_vm_writev from libc using GLIBC_2.15 version.
37111
432d41ce
UD
37112 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37113
02f9c6cf
PP
371142011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37115
37116 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37117 stack usage.
37118
3a2c0242
UD
371192011-10-31 Ulrich Drepper <drepper@gmail.com>
37120
f4ec4833
UD
37121 [BZ #13367]
37122 * nss/getent.c (initgroups_keys): Show error message in case no group
37123 names are given.
37124
3a2c0242
UD
37125 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37126 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37127 __bump_nl_timestamp.
37128 * nscd/connections (nscd_init): When host database is served open
37129 netlink socket and request notification about configuration changes.
37130 (main_loop_poll): Track netlink file descriptor and bump timestamp
37131 in case data becomes available.
37132 (main_loop_epoll): Likewise.
37133 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37134 (database_pers_head): Add extra_data fileds.
37135 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37136 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37137 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37138 Adjust caller.
37139 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37140 in6ai data, call __free_in6ai.
37141 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37142 Add -DHAVE_NETLINK.
37143 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37144 interface information. Reuse previous data if netlink timestamp
37145 is not changed.
37146 (__bump_nl_timestamp): New function.
37147 (__free_in6ai): New function.
37148
636064eb
UD
371492011-10-30 Ulrich Drepper <drepper@gmail.com>
37150
37151 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37152 close_not_cancel_no_status here.
37153 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37154
9beb2334
UD
371552011-10-29 Ulrich Drepper <drepper@gmail.com>
37156
6ef76f3b
UD
37157 [BZ #13276]
37158 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37159 return value.
37160
0ffc4f3e 37161 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37162 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37163 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37164
cb95113e
UD
371652011-07-03 Andreas Jaeger <aj@suse.de>
37166
37167 [BZ #10709]
37168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37169 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37170 * math/libm-test.inc (sin_test): Add test case.
37171
a1b560ff
UD
371722011-10-29 Ulrich Drepper <drepper@gmail.com>
37173
c9aaface
UD
37174 [BZ #13337]
37175 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37176 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37177
d272e7f1
UD
37178 * elf/chroot_canon.c (chroot_canon): Cleanups.
37179
1bc33071
UD
37180 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37181
1760874d
TJ
37182 [BZ #13335]
37183 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37184 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37185
51d91b18
UD
37186 * string/test-strchr.c: Make usable for strchrnul testing.
37187 * string/test-strchrnul.c: New file.
37188 * string/Makefile (strop-tests): Add strchrnul.
37189
a1b560ff 37190 * po/it.po: Update from translation team.
b611fb81 37191 * po/es.po: Likewise.
a1b560ff 37192
a5b81e1f
UD
371932011-10-28 Ulrich Drepper <drepper@gmail.com>
37194
fd52bc6d
UD
37195 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37196 the three constants needed as parameters. Drop the others.
37197 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37198 __m128i_strloadu_tolower.
52e4b9eb
UD
37199 Create and initialize variable zero and use it in all the places
37200 where _mm_setzero_si128 was used.
fd52bc6d 37201
a5b81e1f
UD
37202 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37203 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37204 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37205 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37206 anymore.
37207 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37208 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37209 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37210 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37211 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37212 __mpranred, __mptan.
37213 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37214 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37215 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37216 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37217 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37218 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37219 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37220 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37221 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37222
b4343346
AS
372232011-10-28 Andreas Schwab <schwab@redhat.com>
37224
0c92d8a8
AS
37225 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37226 redefine if SHARED.
37227 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37228
b4343346
AS
37229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37230 wide char related routines to wcsmbs subdir.
37231
3871f58f
AS
372322011-10-27 Andreas Schwab <schwab@redhat.com>
37233
37234 [BZ #13344]
37235 * misc/sys/cdefs.h (__THROWNL): Define.
37236 * posix/unistd.h: Use __THREADNL instead of __THREAD
37237 for memory synchronization functions.
37238
94d44d9f
RM
372392011-10-26 Roland McGrath <roland@hack.frob.com>
37240
21b64b15 37241 [BZ #13349]
94d44d9f
RM
37242 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37243 doesn't exist.
37244 * manual/stdio.texi (Obstack Streams): Node removed.
37245
f6ce9294
AS
372462011-10-26 Andreas Schwab <schwab@redhat.com>
37247
80479147
AS
37248 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37249 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37250 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37251
f6ce9294
AS
37252 * math/math_private.h (math_force_eval): Allow non-addressable
37253 arguments.
37254 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37255
618280a1
UD
372562011-10-25 Ulrich Drepper <drepper@gmail.com>
37257
e0016b11
UD
37258 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37259 file is not needed.
37260
37261 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37262 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37263 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37264 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37265 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37266 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37267 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37268 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37269 Add AVX variants.
37270 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37271 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37272 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37273 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37274 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37275 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37276 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37277 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37278 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37279 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37280 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37281 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37282 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37283 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37284 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37285 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37286 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37287 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37288 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37289
37290 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37291 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37292
618280a1
UD
37293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37294 place. Use VEX encoding when compiling for AVX.
37295
37822576
AS
372962011-10-25 Andreas Schwab <schwab@redhat.com>
37297
1f1e1947
AS
37298 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37299 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37300
37822576
AS
37301 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37302
31ea014d
UD
373032011-10-25 Ulrich Drepper <drepper@gmail.com>
37304
d7826aa1 37305 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37306 useless if() expression.
d7826aa1
UD
37307 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37309 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37310 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37311 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37312 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37314 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37315 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37316 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37317 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37318 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37319 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37320 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37321 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37322 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37325 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37326
31ea014d
UD
37327 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37328
16437fec
AS
373292011-10-25 Andreas Schwab <schwab@redhat.com>
37330
37331 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37332 condition.
37333 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37334
31d3cc00
UD
373352011-10-25 Ulrich Drepper <drepper@gmail.com>
37336
37337 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37338 .text section. Avoid duplicate constants.
37339 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37341 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37343 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37347 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37348 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37349 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37350 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37351 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37352 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37353 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37355 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37356 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37359 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37360 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37361 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37362 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37363 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37364 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37365 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37366 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37367 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37368 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37369 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37370 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37371 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37372 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37373 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37374 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37375 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37377 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37378 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37379 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37380 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37381 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37382 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37383 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37384
58985aa9
UD
373852011-10-24 Ulrich Drepper <drepper@gmail.com>
37386
202c9deb
UD
37387 * sysdeps/x86_64/dla.h: Move to ...
37388 * sysdeps/x86_64/fpu/dla.h: ...here.
37389 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37390 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37391
af968f62
UD
37392 * config.make.in: Add have-mfma4 entry.
37393 * configure.in: Substitute libc_cv_cc_fma4.
37394 * math/Makefile (dbl-only-routines): Add sincostab.
37395 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37396 Use __sincostab not sincos.
37397 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37398 name is a macro.
37399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37403 using __copysign.
37404 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37405 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37406 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37407 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37408 and __inv.
37409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37410 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37411 __copysign.
37412 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37413 define aliases when function name is a macro.
37414 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37415 sysdeps/ieee754/dbl-64/sincos.tbl.
37416 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37417 fma4-enabled routines.
37418 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37419 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37420 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37421 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37422 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37423 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37425 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37427 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37428 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37430 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37431 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37432 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37433 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37434 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37435 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37436 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37437 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37438 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37439 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37441 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37443 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37444 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37445 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37446 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37448
58985aa9
UD
37449 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37450 rename.
37451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37459
a201fbcf
AS
374602011-10-24 Andreas Schwab <schwab@redhat.com>
37461
37462 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37463
fc2ee42a
LD
374642011-10-23 Ulrich Drepper <drepper@gmail.com>
37465
bb3129bd
UD
37466 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37467
0275fff8
UD
37468 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37469 prediction.
37470 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37471
2fa2ae85
UD
37472 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37473 Remove unused variable magic_bits.
37474 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37475
fc2ee42a
LD
37476 * string/strnlen.c: Define and use STRNLEN macro.
37477 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37478 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37480 * wcsmbs/wcslen.c: Define and use WCSLEN.
37481 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37482 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37483 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37484 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37485 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37486 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37487 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37488
ce7dd29f
LD
374892011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37490
37491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37492 strnlen-sse2-no-bsf.
37493 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37494 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37495 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37496 Add strnlen support.
37497 (USE_AS_STRNLEN): New macro.
37498 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37499 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37500 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37501 * sysdeps/x86_64/wcslen.S: New file.
37502
979c70a3
MZ
375032011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37504
37505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37506 XMM-moves are used for copying on small sizes.
37507
2d09f82f
LD
375082011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37509
37510 * wcsmbs/Makefile (strop-tests): Add wcschr.
37511 * wcsmbs/test-wcschr.c: New file.
37512 * string/test-strchr.c: Update.
37513 Add wcschr support.
37514 (WIDE): New macro.
37515
619fccca
LD
375162011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37517
2d09f82f 37518 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37519 * wcsmbs/test-wcslen.c: New file.
37520 * string/test-strlen.c: Update.
37521 Add wcslen support.
37522 (WIDE): New macro.
37523
09f699ea
UD
375242011-10-23 Ulrich Drepper <drepper@gmail.com>
37525
37526 * po/it.po: Update from translation team.
37527
95584d3b
LD
375282011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37529
37530 * sysdeps/x86_64/wcscmp.S: Update.
37531 Fix wrong comparison semantics.
37532 wcscmp shall use signed comparison not unsigned.
37533 Don't use substraction to avoid overflow bug.
37534 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37535 * wcsmbc/wcscmp.c: Likewise.
37536 * string/test-strcmp.c: Likewise.
37537 Add new tests to check cases with negative values.
37538
c8b3296b
UD
375392011-10-23 Ulrich Drepper <drepper@gmail.com>
37540
37541 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37542 * sysdeps/x86_64/dla.h: ...here. New file.
37543 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37552
246ad57a
AS
375532011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37554
37555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37556 __ynl_finite aliases.
37557
a1a87169
UD
375582011-10-22 Ulrich Drepper <drepper@gmail.com>
37559
0d355eb7
UD
37560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37561
a1a87169
UD
37562 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37563 define DLA_FMA.
37564 [DLA_FMA] (EMULV): Use DLA_FMA.
37565 [DLA_FMA] (MUL12): Use EMULV.
37566 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37567 that are not needed.
37568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37575
ee2aafe0
AS
375762011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37577
37578 * math/s_nan.c: Undef __nan.
37579 * math/s_nanf.c: Undef __nanf.
37580 * math/s_nanl.c: Undef __nanl.
37581 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37582 "math_private.h".
37583
bc62c2fb
UD
375842011-10-22 Ulrich Drepper <drepper@gmail.com>
37585
77425c63
UD
37586 * math/s_catan.c: Add branch predictions.
37587 * math/s_catanf.c: Likewise.
37588 * math/s_catanh.c: Likewise.
37589 * math/s_catanhf.c: Likewise.
37590 * math/s_catanhl.c: Likewise.
37591 * math/s_catanl.c: Likewise.
37592 * math/s_cexp.c: Likewise.
37593 * math/s_cexpf.c: Likewise.
37594 * math/s_cexpl.c: Likewise.
37595 * math/s_clog.c: Likewise.
37596 * math/s_clog10.c: Likewise.
37597 * math/s_clog10f.c: Likewise.
37598 * math/s_clog10l.c: Likewise.
37599 * math/s_clogf.c: Likewise.
37600 * math/s_clogl.c: Likewise.
37601 * math/s_csqrt.c: Likewise.
37602 * math/s_csqrtf.c: Likewise.
37603 * math/s_csqrtl.c: Likewise.
37604 * math/s_ctanf.c: Likewise.
37605 * math/s_ctanh.c: Likewise.
37606 * math/s_ctanhf.c: Likewise.
37607 * math/s_ctanhl.c: Likewise.
37608 * math/s_ctanl.c: Likewise.
37609
bc62c2fb
UD
37610 * math/math_private.h: Define __nan, __nanf, __nanl.
37611 * math/s_cacosh.c: Include <math_private.h>.
37612 * math/s_cacoshl.c: Likewise.
37613 * math/s_casinh.c: Likewise.
37614 * math/s_casinhf.c: Likewise.
37615 * math/s_casinhl.c: Likewise.
37616 * math/s_ccos.c: Rely entire on ccosh.
37617 * math/s_ccosf.c: Rely entire on ccoshf.
37618 * math/s_ccosl.c: Rely entirely on ccoshl.
37619 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37620 Remove tests for FE_INVALID.
37621 * math/s_ccoshf.c: Likewise.
37622 * math/s_ccoshl.c: Likewise.
37623 * math/s_csin.c: Likewise.
37624 * math/s_csinf.c: Likewise.
37625 * math/s_csinh.c Likewise.
37626 * math/s_csinhf.c: Likewise.
37627 * math/s_csinhl.c: Likewise.
37628 * math/s_csinl.c: Likewise.
37629 * math/s_ctan.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37631 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37632 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37633
8ec250a4
UD
376342011-10-21 Ulrich Drepper <drepper@gmail.com>
37635
c196fed8
UD
37636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37637 compilation problems.
37638
8ec250a4
UD
37639 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37640 __builtin_expect.
37641
8d4f46c6
UD
376422011-10-20 Ulrich Drepper <drepper@gmail.com>
37643
ed72b654
UD
37644 * sysdeps/i386/configure.in: Test for -mfma4 option.
37645 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37646 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37647 COMMON_CPUID_INDEX_80000001.
37648 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37649 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37650 use it if FMA3 is not supported.
37651 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37652
8d4f46c6
UD
37653 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37654 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37655
d45c60c2
AS
376562011-10-20 Andreas Schwab <schwab@redhat.com>
37657
37658 [BZ #12892]
37659 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37660 it would create a cycle with a link time dependency.
37661
d9a4d2ab
UD
376622011-10-19 Ulrich Drepper <drepper@gmail.com>
37663
855d1560
UD
37664 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37665 instruction.
37666 * string/Makefile (strop-tests): Add rawmemchr.
37667 * string/test-rawmemchr.c: New file.
37668
d9a4d2ab
UD
37669 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37671 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37672 when compiling str{,n}casecmp and when AVX is available. Hook up
37673 new optimized code in initializers.
37674
8f3b1ffe
AS
376752011-10-19 Andreas Schwab <schwab@redhat.com>
37676
37677 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37678 __feraiseexcept instead of feraiseexcept.
37679
d38f1dba
UD
376802011-10-18 Ulrich Drepper <drepper@gmail.com>
37681
d9a8d0ab
UD
37682 * math/math_private.h: Define defaults for libc_fetestexcept and
37683 libc_feupdateenv.
37684 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37685 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37686 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37687 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37688 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37689 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37690 libc_fetestexcept and libc_feupdateenv.
37691
4855e3dd
UD
37692 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37693 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37694 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37695 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37696 libc_feholdexcept_setround.
37697
581d30e3
UD
37698 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37699 Add s_nearbyint-c and s_nearbyintf-c.
37700 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37701 nearbyintf inlines.
37702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37704 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37706
d38f1dba
UD
37707 * math/math_private.h: Define defaults for libc_fegetround,
37708 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37709 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37710 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37711 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37712 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37713 standard functions.
37714 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37715 Remove comments and hacks for old compiler versions.
37716 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37717 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37718 libc_feholdexceptl.
37719
caa6c9d8
AS
377202011-10-18 Andreas Schwab <schwab@redhat.com>
37721
37722 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37723 (__feraiseexcept_renamed): Add __NTH.
37724 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37725 namespace violations.
37726
97c066e6
UD
377272011-10-17 Ulrich Drepper <drepper@gmail.com>
37728
99ce7b04
UD
37729 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37730
1004d182
UD
37731 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37732
228a984d
UD
37733 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37734 recently added interfaces.
37735 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37736
c8553a6a
UD
37737 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37738 about macro parameter expansion.
37739
ed22dcf6
UD
37740 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37741 __NO_MATH_INLINES is defined. Cleanups.
37742
37743 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37744 and __floorf is target has SSE4.1.
37745 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37746 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37747 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37748 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37749
b171c137
UD
37750 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37751 name.
37752 (floorf): Likewise.
37753
97c066e6
UD
37754 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37755
629f62ef
AS
377562011-10-17 Andreas Schwab <schwab@redhat.com>
37757
49a43d80
AS
37758 * misc/sys/cdefs.h: Fix last change.
37759
629f62ef
AS
37760 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37761 database lookup.
37762
e453f6cd
UD
377632011-10-16 Ulrich Drepper <drepper@gmail.com>
37764
aa78043a
UD
37765 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37766
ad0f5cad
UD
37767 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37769 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37770 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37771 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37772 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37773 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37774 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37775 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37776 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37777 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37778 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37779 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37780 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37782 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37783 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37784 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37785 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37786 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37787 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37788 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37789
37790 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37791 ceil, ceilf, floor, floorf.
37792
37793 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37794 Perform IRELATIVE relocations last.
37795
e453f6cd
UD
37796 * elf/do-rel.h: Add another parameter nrelative, replacing the
37797 local variable with the same name. Change name of the function
37798 to end in Rel or Rela (uppercase).
37799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37800 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37801 elf_dynamic_do_##reloc function.
37802
fd5bdc09
UD
378032011-10-15 Ulrich Drepper <drepper@gmail.com>
37804
79b195b5
UD
37805 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37806 is sufficient, at least on modern CPUs.
37807
d4a28569
UD
37808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37809
b61099b5
UD
37810 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37811 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37812
bcf01e6d
UD
37813 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37814 __expl_finite.
37815 * math/bits/math-finite.h: Add entries for exp.
37816 * math/e_expl.c: Add __*_finite alias.
37817 * sysdeps/i386/fpu/e_exp.S: Likewise.
37818 * sysdeps/i386/fpu/e_expf.S: Likewise.
37819 * sysdeps/i386/fpu/e_expl.c: Likewise.
37820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37821 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37824 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37825 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37826 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37827
ba1a0d59
UD
37828 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37829 is sufficient, at least on modern CPUs.
37830
fd5bdc09
UD
37831 * ctype/ctype-info.c (__ctype_init): Define.
37832 * include/ctype.h (__ctype_init): Declare.
37833 (__ctype_b_loc): The variable is always initialized.
37834 (__ctype_toupper_loc): Likewise.
37835 (__ctype_tolower_loc): Likewise.
37836 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37837 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37838
7872cfb0
AS
378392011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37840
b468825a
AS
37841 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37842
7872cfb0
AS
37843 * configure.in: Also look in $cxxmachine/include for C++ system
37844 headers.
37845
be13f7bf
LD
378462011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37847
37848 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37849 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37850 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37851 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37852 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37853 (USE_AS_WMEMCMP): New macro.
37854 Fixing indents.
37855 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37856 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37857 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37858 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37860 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37861 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37862 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37863 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37864 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37865 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37866 (USE_AS_WMEMCMP): New macro.
37867 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37868 * sysdeps/string/test-memcmp.c: Update.
37869 Fix simple_wmemcmp.
37870 Add new tests.
37871 * wcsmbs/wmemcmp.c: Update.
37872 (WMEMCMP): New macro.
37873 Fix overflow bug.
37874
556a2007
AJ
378752011-10-12 Andreas Jaeger <aj@suse.de>
37876
37877 [BZ #13268]
37878 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37879
538faaa7
UD
378802011-10-15 Ulrich Drepper <drepper@gmail.com>
37881
ab6737ff
UD
37882 * libio/iofwide.c (do_length): Avoid warning.
37883
538faaa7
UD
37884 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37885
396a21b1
UD
378862011-10-14 Ulrich Drepper <drepper@gmail.com>
37887
cdf2901f
UD
37888 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37889
38ad40ce
UD
37890 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37891 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37892 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37893 * sysdeps/i386/i686/fpu/e_log.S: New file.
37894 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37895 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37896
396a21b1
UD
37897 * ctype/ctype.h: Add support for inlined isXXX functions when
37898 compiling C++ code.
37899
6b1f68c9
AS
379002011-10-14 Andreas Schwab <schwab@redhat.com>
37901
349290c0
AS
37902 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37903
6b1f68c9
AS
37904 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37905
f2282d42
RM
379062011-10-13 Roland McGrath <roland@hack.frob.com>
37907
37908 [BZ #13291]
37909 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37910
5298ffa8
AS
379112011-10-13 Andreas Schwab <schwab@redhat.com>
37912
714fad23
AS
37913 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37914 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37915 feraiseexcept.
37916
81dcc7fb
AS
37917 * sysdeps/x86_64/memrchr.S: Check for zero size.
37918
5298ffa8
AS
37919 * string/stratcliff.c: Add memrchr tests.
37920
951fbcec
LD
379212011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37922
37923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37924 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37925 rawmemchr-sse2 rawmemchr-sse2-bsf.
37926 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37927 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37928 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37929 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37930 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37931 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37932 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37933 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37934 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37935 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37936 * string/memrchr.c (MEMRCHR): New macro.
37937
0ac5ae23
UD
379382011-10-12 Ulrich Drepper <drepper@gmail.com>
37939
37940 Add integration with gcc's -ffinite-math-only and optimize wrapper
37941 functions in libm.
37942 * Versions.def: Define GLIBC_2.15 version for libm.
37943 * math/Makefile (headers): Add bits/math-finite.h.
37944 * math/bits/math-finite.h: New file.
37945 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37946 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37947 * math/e_acoshl.c: Add __*_finite alias.
37948 * math/e_acosl.c: Likewise.
37949 * math/e_asinl.c: Likewise.
37950 * math/e_atan2l.c: Likewise.
37951 * math/e_atanhl.c: Likewise.
37952 * math/e_coshl.c: Likewise.
37953 * math/e_exp10.c: Likewise.
37954 * math/e_exp10f.c: Likewise.
37955 * math/e_exp10l.c: Likewise.
37956 * math/e_exp2l.c: Likewise.
37957 * math/e_fmodl.c: Likewise.
37958 * math/e_gammal_r.c: Likewise.
37959 * math/e_hypotl.c: Likewise.
37960 * math/e_j0l.c: Likewise.
37961 * math/e_j1l.c: Likewise.
37962 * math/e_jnl.c: Likewise.
37963 * math/e_lgammal_r.c: Likewise.
37964 * math/e_log10l.c: Likewise.
37965 * math/e_log2l.c: Likewise.
37966 * math/e_logl.c: Likewise.
37967 * math/e_powl.c: Likewise.
37968 * math/e_sinhl.c: Likewise.
37969 * math/e_sqrtl.c: Likewise.
37970 * math/e_scalb.c: Completely rewritten and optimized.
37971 * math/e_scalbf.c: Likewise.
37972 * math/e_scalbl.c: Likewise.
37973 * math/w_acos.c: Likewise.
37974 * math/w_acosf.c: Likewise.
37975 * math/w_acosl.c: Likewise.
37976 * math/w_acosh.c: Likewise.
37977 * math/w_acoshf.c: Likewise.
37978 * math/w_acoshl.c: Likewise.
37979 * math/w_asin.c: Likewise.
37980 * math/w_asinf.c: Likewise.
37981 * math/w_asinl.c: Likewise.
37982 * math/w_atan2.c: Likewise.
37983 * math/w_atan2f.c: Likewise.
37984 * math/w_atan2l.c: Likewise.
37985 * math/w_atanh.c: Likewise.
37986 * math/w_atanhf.c: Likewise.
37987 * math/w_atanhl.c: Likewise.
37988 * math/w_exp10.c: Likewise.
37989 * math/w_exp10f.c: Likewise.
37990 * math/w_exp10l.c: Likewise.
37991 * math/w_fmod.c: Likewise.
37992 * math/w_fmodf.c: Likewise.
37993 * math/w_fmodl.c: Likewise.
37994 * math/w_j0.c: Likewise.
37995 * math/w_j0f.c: Likewise.
37996 * math/w_j0l.c: Likewise.
37997 * math/w_j1.c: Likewise.
37998 * math/w_j1f.c: Likewise.
37999 * math/w_j1l.c: Likewise.
38000 * math/w_jn.c: Likewise.
38001 * math/w_jnf.c: Likewise.
38002 * math/w_log.c: Likewise.
38003 * math/w_logf.c: Likewise.
38004 * math/w_logl.c: Likewise.
38005 * math/w_log10.c: Likewise.
38006 * math/w_log10f.c: Likewise.
38007 * math/w_log10l.c: Likewise.
38008 * math/w_log2.c: Likewise.
38009 * math/w_log2f.c: Likewise.
38010 * math/w_log2l.c: Likewise.
38011 * math/w_pow.c: Likewise.
38012 * math/w_powf.c: Likewise.
38013 * math/w_powl.c: Likewise.
38014 * math/w_remainder.c: Likewise.
38015 * math/w_remainderf.c: Likewise.
38016 * math/w_remainderl.c: Likewise.
38017 * math/w_scalb.c: Likewise.
38018 * math/w_scalbf.c: Likewise.
38019 * math/w_scalbl.c: Likewise.
38020 * math/w_sqrt.c: Likewise.
38021 * math/w_sqrtf.c: Likewise.
38022 * math/w_sqrtl.c: Likewise.
38023 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38024 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38025 used.
38026 * math/math_private.h: Declare __kernel_standard_f.
38027 * math/w_cosh.c: Remove cruft and optimize a bit.
38028 * math/w_coshf.c: Likewise.
38029 * math/w_coshl.c: Likewise.
38030 * math/w_exp2.c: Likewise.
38031 * math/w_exp2f.c: Likewise.
38032 * math/w_exp2l.c: Likewise.
38033 * math/w_hypot.c: Likewise.
38034 * math/w_hypotf.c: Likewise.
38035 * math/w_hypotl.c: Likewise.
38036 * math/w_lgamma.c: Likewise.
38037 * math/w_lgamma_r.c: Likewise.
38038 * math/w_lgammaf.c: Likewise.
38039 * math/w_lgammaf_r.c: Likewise.
38040 * math/w_lgammal.c: Likewise.
38041 * math/w_lgammal_r.c: Likewise.
38042 * math/w_sinh.c: Likewise.
38043 * math/w_sinhf.c: Likewise.
38044 * math/w_sinhl.c: Likewise.
38045 * math/w_tgamma.c: Likewise.
38046 * math/w_tgammaf.c: Likewise.
38047 * math/w_tgammal.c: Likewise.
38048 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38049 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38050 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38051 Minor optimizations. Pretty printing. Remove cruft.
38052 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38053 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38054 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38055 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38056 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38057 * sysdeps/i386/fpu/e_asin.S: Likewise.
38058 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38059 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38060 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38061 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38062 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38063 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38064 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38065 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38066 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38067 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38068 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38069 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38070 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38071 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38072 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38073 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38074 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38075 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38076 * sysdeps/i386/fpu/e_log.S: Likewise.
38077 * sysdeps/i386/fpu/e_log10.S: Likewise.
38078 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38079 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38080 * sysdeps/i386/fpu/e_log2.S: Likewise.
38081 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38082 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38083 * sysdeps/i386/fpu/e_logf.S: Likewise.
38084 * sysdeps/i386/fpu/e_logl.S: Likewise.
38085 * sysdeps/i386/fpu/e_pow.S: Likewise.
38086 * sysdeps/i386/fpu/e_powf.S: Likewise.
38087 * sysdeps/i386/fpu/e_powl.S: Likewise.
38088 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38089 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38090 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38091 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38092 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38093 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38094 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38095 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38096 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38100 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38101 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38102 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38103 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38104 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38105 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38107 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38108 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38110 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38111 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38118 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38119 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38120 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38121 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38122 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38123 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38124 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38125 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38126 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38128 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38129 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38130 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38131 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38132 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38133 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38134 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38135 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38136 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38137 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38138 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38139 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38142 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38143 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38146 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38147 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38152 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38153 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38154 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38162 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38166 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38168 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38174 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38177 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38180 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38181 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38182 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38184 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38185 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38186 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38187 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38188 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38189 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38190 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38191 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38192 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38193 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38194 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38195 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38196 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38197 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38198 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38199 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38200 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38201 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38202 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38203 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38204 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38205 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38206 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38207 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38208 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38209 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38210 (__isnanf): Likewise.
38211 (__isinf_ns): Likewise.
38212 (__isinf_nsf): Likewise.
38213 (__finite): Likewise.
38214 (__finitef): Likewise.
38215 (__ieee754_sqrt): Define as macro.
38216 (__ieee754_sqrtf): Define as macro.
38217 (__ieee754_sqrtl): Define as macro.
38218 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38219 inlined copy.
38220 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38221 __FINITE_MATH_ONLY__ consistent.
38222 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38223
12cc2fcd
AS
382242011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38225
a843a204
AS
38226 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38227 of rawmemchr.
38228
12cc2fcd
AS
38229 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38230
c853acd5
UD
382312011-10-09 Ulrich Drepper <drepper@gmail.com>
38232
38233 * po/ja.po: Update from translation team.
38234
c658d255
RM
382352011-10-08 Roland McGrath <roland@hack.frob.com>
38236
110946e4
RM
38237 * locale/programs/locarchive.c (prepare_address_space): New function.
38238 (create_archive, enlarge_archive, open_archive): Use it.
38239
50604220
RM
38240 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38241 inside [SHARED], where it is used.
38242
c658d255
RM
38243 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38244
38245 * nss/getent.c (netgroup_keys): Remove unused variable.
38246 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38247
6a621eb7
UD
382482011-10-08 Ulrich Drepper <drepper@gmail.com>
38249
7edb55ce
UD
38250 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38251 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38254 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38255 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38256 * math/Makefile (libm-calls): Add s_isinf_ns.
38257 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38258 * math/multc3.c: Likewise.
38259 * math/s_casin.c: Likewise.
38260 * math/s_casinf.c: Likewise.
38261 * math/s_casinl.c: Likewise.
38262 * math/s_ccos.c: Likewise.
38263 * math/s_ccosf.c: Likewise.
38264 * math/s_ccosl.c: Likewise.
38265 * math/s_ctan.c: Likewise.
38266 * math/s_ctanf.c: Likewise.
38267 * math/s_ctanh.c: Likewise.
38268 * math/s_ctanhf.c: Likewise.
38269 * math/s_ctanhl.c: Likewise.
38270 * math/s_ctanl.c: Likewise.
38271 * math/w_fmod.c: Likewise.
38272 * math/w_fmodf.c: Likewise.
38273 * math/w_fmodl.c: Likewise.
38274 * math/w_remainder.c: Likewise.
38275 * math/w_remainderf.c: Likewise.
38276 * math/w_remainderl.c: Likewise.
38277 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38278 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38279 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38281 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38282 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38283 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38284 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38285
187da0ae
UD
38286 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38287 of the number.
38288 * stdio-common/printf_fphex.c: Likewise.
38289 * stdio-common/printf_size.c: Likewise.
38290
9277c064
UD
38291 * math/e_exp10.c: Include math_private.h using <...> not "...".
38292 * math/e_exp10f.c: Likewise.
38293 * math/e_exp10l.c: Likewise.
38294 * math/e_exp2l.c: Likewise.
38295 * math/e_j0l.c: Likewise.
38296 * math/e_j1l.c: Likewise.
38297 * math/e_jnl.c: Likewise.
38298 * math/e_lgammal_r.c: Likewise.
38299 * math/e_rem_pio2l.c: Likewise.
38300 * math/e_scalb.c: Likewise.
38301 * math/e_scalbf.c: Likewise.
38302 * math/e_scalbl.c: Likewise.
38303 * math/k_cosl.c: Likewise.
38304 * math/k_sinl.c: Likewise.
38305 * math/k_tanl.c: Likewise.
38306 * math/s_cacoshf.c: Likewise.
38307 * math/s_catan.c: Likewise.
38308 * math/s_catanf.c: Likewise.
38309 * math/s_catanh.c: Likewise.
38310 * math/s_catanhf.c: Likewise.
38311 * math/s_catanhl.c: Likewise.
38312 * math/s_catanl.c: Likewise.
38313 * math/s_ccosh.c: Likewise.
38314 * math/s_ccoshf.c: Likewise.
38315 * math/s_ccoshl.c: Likewise.
38316 * math/s_cexp.c: Likewise.
38317 * math/s_cexpf.c: Likewise.
38318 * math/s_cexpl.c: Likewise.
38319 * math/s_clog.c: Likewise.
38320 * math/s_clog10.c: Likewise.
38321 * math/s_clog10f.c: Likewise.
38322 * math/s_clog10l.c: Likewise.
38323 * math/s_clogf.c: Likewise.
38324 * math/s_clogl.c: Likewise.
38325 * math/s_csin.c: Likewise.
38326 * math/s_csinf.c: Likewise.
38327 * math/s_csinh.c: Likewise.
38328 * math/s_csinhf.c: Likewise.
38329 * math/s_csinhl.c: Likewise.
38330 * math/s_csinl.c: Likewise.
38331 * math/s_csqrt.c: Likewise.
38332 * math/s_csqrtf.c: Likewise.
38333 * math/s_csqrtl.c: Likewise.
38334 * math/s_ctan.c: Likewise.
38335 * math/s_ctanf.c: Likewise.
38336 * math/s_ctanh.c: Likewise.
38337 * math/s_ctanhf.c: Likewise.
38338 * math/s_ctanhl.c: Likewise.
38339 * math/s_ctanl.c: Likewise.
38340 * math/s_ldexp.c: Likewise.
38341 * math/s_ldexpf.c: Likewise.
38342 * math/s_ldexpl.c: Likewise.
38343 * math/s_significand.c: Likewise.
38344 * math/s_significandf.c: Likewise.
38345 * math/s_significandl.c: Likewise.
38346 * math/w_acos.c: Likewise.
38347 * math/w_acosf.c: Likewise.
38348 * math/w_acosh.c: Likewise.
38349 * math/w_acoshf.c: Likewise.
38350 * math/w_acoshl.c: Likewise.
38351 * math/w_acosl.c: Likewise.
38352 * math/w_asin.c: Likewise.
38353 * math/w_asinf.c: Likewise.
38354 * math/w_asinl.c: Likewise.
38355 * math/w_atan2.c: Likewise.
38356 * math/w_atan2f.c: Likewise.
38357 * math/w_atan2l.c: Likewise.
38358 * math/w_atanh.c: Likewise.
38359 * math/w_atanhf.c: Likewise.
38360 * math/w_atanhl.c: Likewise.
38361 * math/w_cosh.c: Likewise.
38362 * math/w_coshf.c: Likewise.
38363 * math/w_coshl.c: Likewise.
38364 * math/w_dremf.c: Likewise.
38365 * math/w_exp10.c: Likewise.
38366 * math/w_exp10f.c: Likewise.
38367 * math/w_exp10l.c: Likewise.
38368 * math/w_exp2.c: Likewise.
38369 * math/w_exp2f.c: Likewise.
38370 * math/w_fmod.c: Likewise.
38371 * math/w_fmodf.c: Likewise.
38372 * math/w_fmodl.c: Likewise.
38373 * math/w_hypot.c: Likewise.
38374 * math/w_hypotf.c: Likewise.
38375 * math/w_hypotl.c: Likewise.
38376 * math/w_j0.c: Likewise.
38377 * math/w_j0f.c: Likewise.
38378 * math/w_j0l.c: Likewise.
38379 * math/w_j1.c: Likewise.
38380 * math/w_j1f.c: Likewise.
38381 * math/w_j1l.c: Likewise.
38382 * math/w_jn.c: Likewise.
38383 * math/w_jnf.c: Likewise.
38384 * math/w_jnl.c: Likewise.
38385 * math/w_lgamma.c: Likewise.
38386 * math/w_lgamma_r.c: Likewise.
38387 * math/w_lgammaf.c: Likewise.
38388 * math/w_lgammaf_r.c: Likewise.
38389 * math/w_lgammal.c: Likewise.
38390 * math/w_lgammal_r.c: Likewise.
38391 * math/w_log.c: Likewise.
38392 * math/w_log10.c: Likewise.
38393 * math/w_log10f.c: Likewise.
38394 * math/w_log10l.c: Likewise.
38395 * math/w_log2.c: Likewise.
38396 * math/w_log2f.c: Likewise.
38397 * math/w_log2l.c: Likewise.
38398 * math/w_logf.c: Likewise.
38399 * math/w_logl.c: Likewise.
38400 * math/w_pow.c: Likewise.
38401 * math/w_powf.c: Likewise.
38402 * math/w_powl.c: Likewise.
38403 * math/w_remainder.c: Likewise.
38404 * math/w_remainderf.c: Likewise.
38405 * math/w_remainderl.c: Likewise.
38406 * math/w_scalb.c: Likewise.
38407 * math/w_scalbf.c: Likewise.
38408 * math/w_scalbl.c: Likewise.
38409 * math/w_sinh.c: Likewise.
38410 * math/w_sinhf.c: Likewise.
38411 * math/w_sinhl.c: Likewise.
38412 * math/w_sqrt.c: Likewise.
38413 * math/w_sqrtf.c: Likewise.
38414 * math/w_sqrtl.c: Likewise.
38415 * math/w_tgamma.c: Likewise.
38416 * math/w_tgammaf.c: Likewise.
38417 * math/w_tgammal.c: Likewise.
38418
6a621eb7
UD
38419 * po/ja.po: Update from translation team.
38420
bf582445
AJ
384212011-09-29 Andreas Jaeger <aj@suse.de>
38422
f9efbf3a
AJ
38423 [BZ #13179]
38424 * sunrpc/netname.c (netname2host): Fix logic.
38425
bf582445
AJ
38426 [BZ #6779]
38427 [BZ #6783]
38428 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38429 correctly.
38430 * math/w_remainder.c (__remainder): Likewise.
38431 * math/w_remainderf.c (__remainderf): Likewise.
38432 * math/libm-test.inc (remainder_test): Add test cases.
38433
48693bea
AK
384342011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38435
38436 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38437 sdiv_qrnnd.
38438
42622229
LD
384392011-10-07 Ulrich Drepper <drepper@gmail.com>
38440
38441 * string/test-memcmp.c: Avoid unncessary #defines.
38442 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38443
093ecf92
LD
384442011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38445
38446 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38447 Use new sse2 version for core i3 - i7 as it's faster
38448 than sse42 version.
38449 (bit_Prefer_PMINUB_for_stringop): New.
38450 * sysdeps/x86_64/rawmemchr.S: Update.
38451 Replace with faster SSE2 version.
38452 * sysdeps/x86_64/memrchr.S: New file.
38453 * sysdeps/x86_64/memchr.S: Update.
38454 Replace with faster SSE2 version.
38455
fde56e5c
MP
384562011-09-12 Marek Polacek <mpolacek@redhat.com>
38457
38458 * elf/dl-load.c (lose): Add cast to avoid warning.
38459
21fd49a9
UD
384602011-10-07 Ulrich Drepper <drepper@gmail.com>
38461
5a06e643
UD
38462 * po/ca.po: Update from translation team.
38463
684ae515
UD
38464 * inet/getnetgrent_r.c: Hook up nscd.
38465 * nscd/Makefile (routines): Add nscd_netgroup.
38466 (nscd-modules): Add netgroupcache.
38467 (CFLAGS-netgroupcache.c): Define.
38468 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38469 (cache_search): Add const to second parameter.
38470 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38471 INNETGR.
38472 (dbs): Add netgrdb entry.
38473 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38474 (verify_persistent_db): Handle netgrdb.
38475 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38476 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38477 GETFDNETGR.
38478 (netgroup_response_header): Define.
38479 (innetgroup_response_header): Define.
38480 (datahead): Add netgroup_response_header and innetgroup_response_header
38481 elements.
38482 * nscd/nscd.conf: Add entries for netgroup cache.
38483 * nscd/nscd.h (dbtype): Add netgrdb.
38484 (_PATH_NSCD_NETGROUP_DB): Define.
38485 (netgroup_iov_disabled): Declare.
38486 (xmalloc, xcalloc, xrealloc): Move declarations here.
38487 (cache_search): Adjust prototype.
38488 Add netgroup-related prototypes.
38489 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38490 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38491 (__nscd_innetgr): Declare.
38492 * nscd/selinux.c (perms): Use access_vector_t as element type and
38493 add netgroup-related initializers.
38494 * nscd/netgroupcache.c: New file.
38495 * nscd/nscd_netgroup.c: New file.
38496 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38497 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38498 For four parameters use innetgr.
38499 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38500 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38501 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38502 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38503
21fd49a9
UD
38504 * nscd/connections.c (register_traced_file): Don't register file
38505 for disabled databases.
38506
054c0457
UD
385072011-10-06 Ulrich Drepper <drepper@gmail.com>
38508
32b63198
UD
38509 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38510
054c0457
UD
38511 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38512 from tree and freeing node.
38513
64031225
JO
385142011-09-25 Jiri Olsa <jolsa@redhat.com>
38515
38516 * nss/nsswitch.c (__nss_database_lookup): Handle
38517 nss_parse_service_list out of memory case.
38518
0490345c
JO
385192011-09-15 Jiri Olsa <jolsa@redhat.com>
38520
38521 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38522 out of memory case.
38523
3a62d00d
AS
385242011-10-04 Andreas Schwab <schwab@redhat.com>
38525
38526 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38527 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38528 pass it down.
38529 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38530 elf_machine_rela, elf_machine_lazy_rel.
38531 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38532 (ELF_DYNAMIC_DO_REL): Likewise.
38533 (ELF_DYNAMIC_DO_RELA): Likewise.
38534 (ELF_DYNAMIC_RELOCATE): Likewise.
38535 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38536 to ELF_DYNAMIC_DO_REL.
38537 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38538 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38539 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38540 elf_machine_rela.
38541 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38542 skip_ifunc, don't call ifunc function if non-zero.
38543 (elf_machine_rela): Likewise.
38544 (elf_machine_lazy_rel): Likewise.
38545 (elf_machine_lazy_rela): Likewise.
38546 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38547 (elf_machine_lazy_rel): Likewise.
38548 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38549 Likewise.
38550 (elf_machine_lazy_rel): Likewise.
38551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38552 Likewise.
38553 (elf_machine_lazy_rel): Likewise.
38554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38555 (elf_machine_lazy_rel): Likewise.
38556 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38557 (elf_machine_lazy_rel): Likewise.
38558 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38559 (elf_machine_lazy_rel): Likewise.
38560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38561 (elf_machine_lazy_rel): Likewise.
38562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38563 (elf_machine_lazy_rel): Likewise.
38564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38565 (elf_machine_lazy_rel): Likewise.
38566
68577918
UD
385672011-09-28 Ulrich Drepper <drepper@gmail.com>
38568
38569 * nss/nss_files/files-init.c (_nss_files_init): Use static
38570 initialization for all the *_traced_file variables.
38571
68822d74
AS
385722011-09-28 Andreas Schwab <schwab@redhat.com>
38573
38574 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38575
2056100b
RM
385762011-09-27 Roland McGrath <roland@hack.frob.com>
38577
38578 [BZ #13226]
38579 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38580
32c76b63
AS
385812011-09-27 Andreas Schwab <schwab@redhat.com>
38582
38583 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38584 Reread the line before reparsing it.
38585
bf972c9d
AS
385862011-09-26 Andreas Schwab <schwab@redhat.com>
38587
38588 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38589
e057a1b5
JM
385902011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38591 Maxim Kuvyrkov <maxim@codesourcery.com>
38592 Joseph Myers <joseph@codesourcery.com>
38593
38594 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38595 if needed for __stack_chk_guard.
38596
bc7e1c36
RM
385972011-09-19 Roland McGrath <roland@hack.frob.com>
38598
ecb1482f
RM
38599 * sysdeps/posix/spawni.c (script_execute): Always define it.
38600 It will be optimized away if unused.
38601 (maybe_script_execute): New function.
38602 (__spawni): Call it.
38603
bc7e1c36
RM
38604 * Makerules: Don't include tls.make.
38605 (config-tls): Always set to thread.
38606 * tls.make.c: File removed.
38607
1c3b002b
MF
386082011-09-19 Mike Frysinger <vapier@gentoo.org>
38609
38610 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38611 * config.make.in (CPPFLAGS-config): New substituted variable.
38612
2840865d
UD
386132011-09-15 Ulrich Drepper <drepper@gmail.com>
38614
88738eb6
UD
38615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38616
cbf645a6 38617 [BZ #13192]
2840865d
UD
38618 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38619 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38620
b402e91a
RM
386212011-09-15 Roland McGrath <roland@hack.frob.com>
38622
38623 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38624 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38626 (CALL_FAIL): Likewise.
38627 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38628 (CALL_FAIL): Macro removed.
38629 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38630
4c1a1f71
UD
386312011-09-15 Ulrich Drepper <drepper@gmail.com>
38632
38633 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38634 for __FINITE_MATH_ONLY__ == 1.
38635
edc121be
AS
386362011-09-15 Andreas Schwab <schwab@redhat.com>
38637
38638 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38639 __ieee754_sqrt instead of sqrt.
38640 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38641 __ieee754_sqrtf instead of sqrtf.
38642 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38643 __floorf instead of floorf.
38644 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38645 __floorf, __truncf instead of floorf, truncf.
38646
cd205654
UD
386472011-09-14 Ulrich Drepper <drepper@gmail.com>
38648
ee4d0315
UD
38649 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38650
cd205654
UD
38651 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38652 __extern_always_inline.
38653 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38654 32-bit.
38655
48b67d71
AS
386562011-09-14 Andreas Schwab <schwab@redhat.com>
38657
38658 * elf/rtld.c (dl_main): Also relocate in dependency order when
38659 doing symbol dependency testing.
38660
1ae12c75
AS
386612011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38662
38663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38664 Always define `refsym'.
38665
995a80df
AS
386662011-09-13 Andreas Schwab <schwab@redhat.com>
38667
e529793b
AS
38668 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38669 (__FD_ELT): Renamed from __FDELT.
38670 * misc/bits/select2.h (__FD_ELT): Likewise.
38671 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38672 __FD_MASK instead of __FDELT, __FDMASK.
38673 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38674 Likewise.
38675 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38676 Likewise.
38677
52d4fef8
AS
38678 * elf/Makefile (gen-ldd): Fix pattern.
38679
995a80df
AS
38680 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38681 (init_tls): Likewise.
38682
8682f8b0
UD
386832011-09-12 Ulrich Drepper <drepper@gmail.com>
38684
38685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38686
de82006d
AS
386872011-09-12 Andreas Schwab <schwab@redhat.com>
38688
a7c8e6a1
AS
38689 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38690 `struct cmsghdr *' instead of `void *'.
38691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38692 Likewise.
38693
0f31fe77
AS
386942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38695
38696 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38697 if non-absolute.
38698 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38699 ldd_rewrite_script.
0f31fe77 38700
32b4c839
UD
387012011-09-11 Ulrich Drepper <drepper@gmail.com>
38702
83cd1420
UD
38703 * configure.in: Remove --with-tls option.
38704 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38705 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38706 out in case it is missing.
38707 * sysdeps/ia64/elf/configure.in: Likewise.
38708 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38709 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38710 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38711 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38712 * sysdeps/sh/elf/configure.in: Likewise.
38713 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38714 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38715 * sysdeps/x86_64/elf/configure.in: Likewise.
38716 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38717 * sysdeps/mach/hurd/tls.h: Likewise.
38718
633f745d
UD
38719 [BZ #13067]
38720 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38721
f318beb8
UD
38722 [BZ #13090]
38723 * configure.in: Fix use of AC_INIT.
38724
32b4c839
UD
38725 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38726
3ce1f295
UD
387272011-09-10 Ulrich Drepper <drepper@gmail.com>
38728
bb016596
UD
38729 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38730 __set_errno.
8e58439c
UD
38731 * malloc/hooks.c: Likewise.
38732
aebae053 38733 [BZ #11929]
02d46fc4
UD
38734 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38735 variables statically.
38736 (narenas): Initialize.
38737 (list_lock): Initialize.
bb016596
UD
38738 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38739 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38740 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38741 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38742 Add initializers to main_arena and mp_.
38743 (malloc_state): Remove pagesize member. Change all users to use
38744 GLRO(dl_pagesize).
38745
38746 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38747 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38748 is always initialized.
38749
22a89187
UD
38750 * malloc/malloc.c: Removed unused configurations and dead code.
38751 * malloc/arena.c: Likewise.
38752 * malloc/hooks.c: Likewise.
02d46fc4 38753 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38754
d063d164
UD
38755 * include/tls.h: Removed. USE___THREAD must always be defined.
38756 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38757 * elf/dl-libc.c: Likewise.
38758 * elf/dl-tsd.c: Likewise.
38759 * include/errno.h: Likewise.
38760 * include/netdb.h: Likewise.
38761 * include/resolv.h: Likewise.
38762 * inet/herrno-loc.c: Likewise.
38763 * inet/herrno.c: Likewise.
38764 * malloc/arena.c: Likewise.
38765 * malloc/hooks.c: Likewise.
38766 * malloc/malloc.c: Likewise.
38767 * resolv/res-state.c: Likewise.
38768 * resolv/res_libc.c: Likewise.
38769 * sysdeps/i386/dl-machine.h: Likewise.
38770 * sysdeps/ia64/dl-machine.h: Likewise.
38771 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38772 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38773 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38774 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38775 * sysdeps/sh/dl-machine.h: Likewise.
38776 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38777 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38778 * sysdeps/unix/i386/sysdep.S: Likewise.
38779 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38780 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38784 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38785 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38789 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38790 * sysdeps/x86_64/dl-machine.h: Likewise.
38791 * tls.make.c: Likewise.
38792
3ce1f295
UD
38793 * configure.in: Remove --with-__thread option. Make tests for
38794 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38795 tls_model attribute fail if no support is available. Remove
38796 USE_IN_LIBIO.
38797 * Makeconfig: Adjust for dropped configure option. All features are
38798 now mandatory.
38799 * Makerules: Likewise.
38800 * Versions.def: Likewise.
38801 * argp/argp-fmtstream.c: Likewise.
38802 * argp/argp-fmtstream.h: Likewise.
38803 * argp/argp-help.c: Likewise.
38804 * assert/assert.c: Likewise.
38805 * config.h.in: Likewise.
38806 * config.make.in: Likewise.
38807 * configure: Likewise.
38808 * configure.in: Likewise.
38809 * csu/Versions: Likewise.
38810 * csu/init.c: Likewise.
38811 * elf/tst-audit2.c: Likewise.
38812 * elf/tst-tls10.c: Likewise.
38813 * elf/tst-tls10.h: Likewise.
38814 * elf/tst-tls11.c: Likewise.
38815 * elf/tst-tls12.c: Likewise.
38816 * elf/tst-tls14.c: Likewise.
38817 * elf/tst-tlsmod11.c: Likewise.
38818 * elf/tst-tlsmod12.c: Likewise.
38819 * elf/tst-tlsmod13.c: Likewise.
38820 * elf/tst-tlsmod13a.c: Likewise.
38821 * elf/tst-tlsmod14a.c: Likewise.
38822 * elf/tst-tlsmod15b.c: Likewise.
38823 * elf/tst-tlsmod16a.c: Likewise.
38824 * elf/tst-tlsmod16b.c: Likewise.
38825 * elf/tst-tlsmod7.c: Likewise.
38826 * elf/tst-tlsmod8.c: Likewise.
38827 * elf/tst-tlsmod9.c: Likewise.
38828 * gmon/gmon.c: Likewise.
38829 * grp/fgetgrent_r.c: Likewise.
38830 * grp/putgrent.c: Likewise.
38831 * hurd/fopenport.c: Likewise.
38832 * include/libc-symbols.h: Likewise.
38833 * include/tls.h: Likewise.
38834 * intl/gettextP.h: Likewise.
38835 * intl/loadinfo.h: Likewise.
38836 * locale/global-locale.c: Likewise.
38837 * locale/localeinfo.h: Likewise.
38838 * mach/devstream.c: Likewise.
38839 * malloc/arena.c: Likewise.
38840 * malloc/set-freeres.c: Likewise.
38841 * misc/err.c: Likewise.
38842 * misc/getttyent.c: Likewise.
38843 * misc/mntent_r.c: Likewise.
38844 * posix/getopt.c: Likewise.
38845 * posix/wordexp.c: Likewise.
38846 * pwd/fgetpwent_r.c: Likewise.
38847 * resolv/Versions: Likewise.
38848 * resolv/res_hconf.c: Likewise.
38849 * shadow/fgetspent_r.c: Likewise.
38850 * shadow/putspent.c: Likewise.
38851 * stdio-common/printf_fphex.c: Likewise.
38852 * stdio-common/tmpfile.c: Likewise.
38853 * stdlib/abort.c: Likewise.
38854 * stdlib/fmtmsg.c: Likewise.
38855 * sunrpc/auth_unix.c: Likewise.
38856 * sunrpc/clnt_perr.c: Likewise.
38857 * sunrpc/clnt_tcp.c: Likewise.
38858 * sunrpc/clnt_udp.c: Likewise.
38859 * sunrpc/clnt_unix.c: Likewise.
38860 * sunrpc/openchild.c: Likewise.
38861 * sunrpc/svc_simple.c: Likewise.
38862 * sunrpc/svc_tcp.c: Likewise.
38863 * sunrpc/svc_udp.c: Likewise.
38864 * sunrpc/svc_unix.c: Likewise.
38865 * sunrpc/xdr.c: Likewise.
38866 * sunrpc/xdr_array.c: Likewise.
38867 * sunrpc/xdr_rec.c: Likewise.
38868 * sunrpc/xdr_ref.c: Likewise.
38869 * sunrpc/xdr_stdio.c: Likewise.
38870
1248c1c4
PB
388712011-09-09 Ulrich Drepper <drepper@gmail.com>
38872
38873 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38874
388752011-07-03 Andreas Jaeger <aj@suse.de>
38876
38877 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38878 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38879 regenerate with gen-libm-tests.pl.
38880
388812010-05-12 Petr Baudis <pasky@suse.cz>
38882
38883 [BZ #11589]
38884 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38885 around j0() zero points by switching to j1().
38886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38890
f22e1074
UD
388912011-09-09 Ulrich Drepper <drepper@gmail.com>
38892
f19009c1
UD
38893 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38894 instead of 0.
38895 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38896 instead of 0.
f19009c1
UD
38897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38898 Patch in part by Pavel Roskin <proski@gnu.org>.
38899
3f8cc204
UD
38900 [BZ #13138]
38901 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38902 realloc.
38903 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38904 Free memory block if necessary.
38905
f22e1074
UD
38906 [BZ #12847]
38907 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38908 be NULL. Don't lock in this case.
38909
0a2349f9
RM
389102011-09-09 Roland McGrath <roland@hack.frob.com>
38911
38912 * elf/elf.h (ELFOSABI_GNU): New macro.
38913 (ELFOSABI_LINUX): Define to that.
38914
f3cdd467
DZ
389152011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38916
38917 * string/strncat.c (strncat): Undef the symbol in case it has been
38918 defined in bits/string.h.
38919
74718d13
UD
389202011-09-09 Ulrich Drepper <drepper@gmail.com>
38921
633e9e0f
UD
38922 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38923
0a2349f9 38924 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38925 link map.
38926
f9924780
AJ
389272011-08-17 Andreas Jaeger <aj@suse.de>
38928
38929 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38930
7f5517aa
PP
389312011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38932 Ian Lance Taylor <iant@google.com>
38933
38934 * math/libm-test.inc (lround_test): New testcase.
38935 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38936
762011fe
UD
389372011-09-08 Ulrich Drepper <drepper@gmail.com>
38938
92963737
UD
38939 * Makefile: Remove support for automatic cvs check-ins.
38940 * Makerules: Likewise.
38941 * config.make.in: Likewise.
38942 * configure.in: Likewise.
38943 * intl/Makefile: Likewise.
38944 * locale/Makefile: Likewise.
38945 * po/Makefile: Likewise.
38946 * posix/Makefile: Likewise.
38947 * sysdeps/gnu/Makefile: Likewise.
38948 * sysdeps/mach/hurd/Makefile: Likewise.
38949 * sysdeps/sparc/sparc32/Makefile: Likewise.
38950
b0727fd8
JS
38951 [BZ #13118]
38952 * posix/Makefile (bug-regex32-ENV): Define.
38953 Patch by John Stanley <jpsinthemix@verizon.net>.
38954
a0f33f99
UD
38955 * misc/Makefile (headers): Add bits/select2.h.
38956 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38957 * misc/bits/select2.h: New file.
38958 * include/bits/select2.h: New file.
38959 * debug/Makefile (routines): Add fdelt_chk.
38960 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38961 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38962 FD_ISSET.
38963 * debug/fdelt_chk.c: New file.
38964
762011fe
UD
38965 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38966 * wcsmbs/test-wmemcmp.c: Likewise.
38967 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38968 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38969
389702011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38971
38972 * string/Makefile (strop-tests): Add memcmp.
38973 * string/test-wmemcmp.c: New file.
38974 * string/test-memcmp.c: Add wmemcmp support.
38975
7f513ec8
RM
389762011-09-08 Roland McGrath <roland@hack.frob.com>
38977
0442afb4
RM
38978 [BZ #13153]
38979 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38980 2011-07-19 change.
38981
7f513ec8
RM
38982 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38983 garbage value in a __mach_port_mod_refs call in the cases of the
38984 task-self and thread-self ports.
38985
a12b2239
ST
389862011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38987
38988 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38989
610f9ab4
AS
389902011-09-08 Andreas Schwab <schwab@redhat.com>
38991
7f513ec8 38992 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38993
48882a1a
LD
389942011-09-07 Ulrich Drepper <drepper@gmail.com>
38995
b49865be
UD
38996 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38997
fdc86bc9
UD
38998 * elf/dl-libc.c (dlerror_run): Pass back error code from
38999 dl_catch_error.
39000
c966526a
UD
39001 [BZ #13123]
39002 * elf/dl-load.c (lose): Free l_origin if it is valid.
39003
48882a1a
LD
39004 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39005 names.
39006 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39007 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39008 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39009 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39010 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39011 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39012
77a2a8b4
AZ
390132011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39014
39015 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39016 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39017 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39018 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39019 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39020 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39021 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39022 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39023 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39024 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39025
24f579d8
AM
390262011-08-15 Alan Modra <amodra@gmail.com>
39027
39028 [BZ #13092]
39029 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39030 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39031 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39032 ppc_mcount to static-only-routines.
39033 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39034 __mcount_internal.
39035 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39036 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39037
3d4837df
UD
390382011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39039
39040 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39041 for finite and infinity parameters.
39042
22700377
WS
390432011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39044
39045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39046 and add nop instructions for throughput optimization.
39047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39048
5025581e
WS
390492011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39050
39051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39052 aligned copy for power7 with vector-scalar instructions.
39053 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39054
08a300c9
L
390552011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39056
39057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39058 AVX check.
39059
59178ef9
AS
390602011-09-07 Andreas Schwab <schwab@redhat.com>
39061
39062 [BZ #13144]
39063 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39064 last change.
39065
e38ba7ab
UD
390662011-09-07 Ulrich Drepper <drepper@gmail.com>
39067
39068 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39069 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39070 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39071 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39072 clock_gettime.
39073
d53a73ac
UD
390742011-09-06 Ulrich Drepper <drepper@gmail.com>
39075
fc8bffcc
UD
39076 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39077 Forgot to demangle the pointer.
39078
ceaa0c5d
UD
39079 * sysdeps/i386/sysdep.h: Define atom_text_section.
39080 * sysdeps/x86_64/sysdep.h: Likewise.
39081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39082 section with atom_text_section.
39083 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39085 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39087 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39088
a77d3c17
UD
39089 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39090 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39091 already be defined. Change to take two parameters and don't assign
39092 result to variable. Adjust all users.
39093 Define INTERNAL_GETTIME if not already defined.
39094 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39095 call.
39096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39097 HAVE_CLOCK_GETTIME_VSYSCALL.
39098 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39099
d53a73ac
UD
39100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39101 gettimeofday vsyscall, just use time.
39102
a8f84144
AS
391032011-09-06 Andreas Schwab <schwab@redhat.com>
39104
39105 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39106 <errno.h>.
39107
ef606249
UD
391082011-09-06 Ulrich Drepper <drepper@gmail.com>
39109
39110 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39111 syscall on x86-64.
39112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39113 syscall.
39114 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39115 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39116 syscall if possible.
39117
6585cb60
UD
391182011-09-05 Ulrich Drepper <drepper@gmail.com>
39119
39120 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39121 e_ident. Don't pass to find_mapsXX.
39122 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39123
a5f524e4
LD
391242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39125
39126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39127 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39128 * sysdeps/x86_64/multiarch/strchr.S: Update.
39129 Check bit_slow_BSF bit.
39130 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39131 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39132 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39133
554881ef
UD
391342011-09-05 Ulrich Drepper <drepper@gmail.com>
39135
d96de963
UD
39136 [BZ #13134]
39137 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39138 before glibc 2.15.
39139 (tryshell): Define.
39140 (__spawni): Change last parameter to be flag. Test
39141 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39142 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39143 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39144 * posix/spawni.c: Likewise.
39145 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39146 * posix/spawnp.c: Likewise. Change normal version to use
39147 SPAWN_XFLAGS_USE_PATH.
39148 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39149 SPAWN_XFLAGS_TRY_SHELL.
39150
d48e5868
UD
39151 [BZ #13150]
39152 * posix/glob.h: Remove gcc 1.x support.
39153
554881ef
UD
39154 [BZ #13068]
39155 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39156
693fb948
LD
391572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39158
39159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39160 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39161 strrchr-sse2-bsf
39162 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39163 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39164 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39165 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39166 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39168
1b48c537
UD
391692011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39170
49d42c37
UD
39171 * sysdeps/x86_64/wcscmp.S: New file.
39172
1b48c537
UD
39173 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39174 wcscmp-c wcscmp-sse2
39175 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39176 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39177 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39178 * wcsmbs/wcscmp.c: Allow renaming.
39179
15c95c5d
DM
391802011-09-05 David S. Miller <davem@davemloft.net>
39181
39182 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39183 stack slot, rather than the struct return pointer slot.
39184 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39185 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39187 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39188
2f0ad8f3
UD
391892011-09-05 Ulrich Drepper <drepper@gmail.com>
39190
d88ae418
UD
39191 * po/ja.po: Update from translation team.
39192
2f0ad8f3
UD
39193 [BZ #13144]
39194 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39195 kernel in 64-bit binaries.
39196
5f4318d1
DM
391972011-09-01 David S. Miller <davem@davemloft.net>
39198
39199 * elf/elf.h (HWCAP_SPARC_*): Move to..
39200 * sysdeps/sparc/sysdep.h: this new file and add new values.
39201 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39202 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39203 _DL_HWCAP_COUNT to 24.
39204 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39205 entries.
39206 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39207 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39208 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39210 instead of magic constants.
39211 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39212
3ba57516
DM
392132011-08-31 David S. Miller <davem@davemloft.net>
39214
39215 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39217 Reimplement to do errno handling inline.
39218 (SYSCALL_ERROR_HANDLER): New macro.
39219 (__SYSCALL_STRING): Do not do errno handling in asm.
39220 (__CLONE_SYSCALL_STRING): Delete.
39221 (__INTERNAL_SYSCALL_STRING): Delete.
39222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39223 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39224 (PSEUDO): Reimplement to do errno handling inline.
39225 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39226 (SYSCALL_ERROR_HANDLER): New macro.
39227 (__SYSCALL_STRING): Do not do errno handling in asm.
39228 (__CLONE_SYSCALL_STRING): Delete.
39229 (__INTERNAL_SYSCALL_STRING): Delete.
39230 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39231 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39232 i386.
39233 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39234 (inline_syscall*): Add 'err' argument.
39235 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39236 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39237 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39238 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39239
39240 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39241 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39242
2bc17433
AS
392432011-08-30 Andreas Schwab <schwab@redhat.com>
39244
39245 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39246
fbeb5f4d
JO
392472011-08-29 Jiri Olsa <jolsa@redhat.com>
39248
39249 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39250 directive.
39251
ad69cc26
DM
392522011-08-24 David S. Miller <davem@davemloft.net>
39253
39254 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39255
39dd69df
AS
392562011-08-24 Andreas Schwab <schwab@redhat.com>
39257
39258 * elf/Makefile: Add rules to build and run unload8 test.
39259 * elf/unload8.c: New file.
39260 * elf/unload8mod1.c: New file.
39261 * elf/unload8mod1x.c: New file.
39262 * elf/unload8mod2.c: New file.
39263 * elf/unload8mod3.c: New file.
39264
39265 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39266 it wasn't used.
39267
2c0b250a
DM
392682011-08-23 David S. Miller <davem@davemloft.net>
39269
39270 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39271 subtract stack bias.
39272 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39273 %sp not %fp in calculations.
39274 (_JMPBUF_UNWINDS_ADJ): Likewise.
39275
22044b48
DM
39276 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39277 (aio_suspend): Call it to force an exception region around the
39278 AIO_MISC_WAIT() invocation.
39279
2cae4995
AS
392802011-08-23 Andreas Schwab <schwab@redhat.com>
39281
39282 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39283 backslash.
39284
873a772e
AJ
392852011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39286
39287 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39288 protection macro.
39289 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39290 and <dl-machine.h>.
39291 (Elf64_FuncDesc): Remove.
39292
25ad0df1
DM
392932011-08-22 David S. Miller <davem@davemloft.net>
39294
39295 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39296 sigaltstack check, add missing cfi directives.
39297 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39298 missing cfi directives, and sigaltstack handling.
39299
e888bcbe
AS
393002011-08-16 Andreas Schwab <schwab@redhat.com>
39301
39302 [BZ #11724]
39303 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39304 object is seen twice.
39305 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39306
39307 * elf/Makefile (distribute): Add tst-initorder2.c.
39308 (tests): Add tst-initorder2.
39309 (modules-names): Add tst-initorder2a tst-initorder2b
39310 tst-initorder2c tst-initorder2d. Add rules to build them.
39311 ($(objpfx)tst-initorder2.out): New rule.
39312 * elf/tst-initorder2.c: New file.
39313 * elf/tst-initorder2.exp: New file.
39314
87162f46
AS
393152011-08-22 Andreas Schwab <schwab@redhat.com>
39316
70538b7f
AS
39317 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39318
f55ffe58
AS
39319 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39320 dependencies back to end of function.
39321
87162f46
AS
39322 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39323 $(elfobjdir)/ld.so.
39324
91b392a4
UD
393252011-08-21 Ulrich Drepper <drepper@gmail.com>
39326
39327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39328 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39330 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39331 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39332 of __vdso_gettimeofday.
39333 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39334 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39335 attribute_hidden.
39336 (_libc_vdso_platform_setup): Remove initialization of
39337 __vdso_gettimeofday and __vdso_time.
39338
5c43483f
UD
393392011-08-20 Ulrich Drepper <drepper@gmail.com>
39340
775a77e7
UD
39341 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39342 and fgetc_unlocked.
39343 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39344 getc_unlocked.
89f447ed 39345
49c74ba9
UD
39346 * elf/dl-open.c (add_to_global): Report additions to the global scope
39347 for LD_DEBUG=scopes.
39348 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39349 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39350
5c43483f
UD
39351 [BZ #13114]
39352 * stdio-common/Makefile (tests): Add bug24.
39353 * stdio-common/bug24.c: New file.
39354
a101b025
AJ
393552011-08-19 Andreas Jaeger <aj@suse.de>
39356
39357 [BZ #13114]
39358 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39359 non-existant file when using close-on-exec mode.
39360
c88f1766
UD
393612011-08-20 Ulrich Drepper <drepper@gmail.com>
39362
0276a718
UD
39363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39364 the very first instruction.
39365
c88f1766
UD
39366 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39367 the CFI state in the end.
39368 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39369 inclusion of dl-trampoline.h.
39370 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39371
51ccffa0
AS
393722011-08-19 Andreas Schwab <schwab@redhat.com>
39373
94d7165f
AS
39374 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39375 expectations for long double.
39376
51ccffa0
AS
39377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39378 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39379
fd708658 393802011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39381
39382 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39383 artificual limit depends upon the system page size.
39384
44f0a71e
UD
393852011-08-17 Ulrich Drepper <drepper@gmail.com>
39386
39387 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39388 * resolv/Makefile: Define CFLAGS-libresolv.
39389
8de79a24
AS
393902011-08-17 Andreas Schwab <schwab@redhat.com>
39391
39392 * nss/makedb.c (compute_tables): Make variables used in nested
39393 function static.
39394
27724598
UD
393952011-08-17 Ulrich Drepper <drepper@gmail.com>
39396
c5305d88
UD
39397 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39398 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39399 if buffer was too small.
39400
27724598
UD
39401 * elf/pldd.c (main): Attach to all threads in the process.
39402 Rewrite /proc handling to use *at functions.
39403
076fe015
UD
394042011-08-16 Ulrich Drepper <drepper@gmail.com>
39405
174baab3
UD
39406 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39407 specifies first scope to show.
39408 (dl_open_worker): Update callers. Move printing scope of new
39409 object to before the relocation.
44f0a71e 39410 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39411 * sysdeps/generic/ldsodefs.h: Update declaration.
39412
076fe015
UD
39413 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39414 string for the scope number.
39415
a60df2c3
UD
394162011-08-14 Ulrich Drepper <drepper@gmail.com>
39417
39418 * nscd/servicescache.c (cache_addserv): Make sure written is always
39419 initialized.
39420
5e4287d1
RM
394212011-08-14 Roland McGrath <roland@hack.frob.com>
39422
85ae0589
RM
39423 * sysdeps/i386/i486/bits/atomic.h
39424 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39425 statement expression, so as to suppress "set but not used" warning.
39426 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39427
69f63097
RM
39428 * string/strncat.c (STRNCAT): Use prototype definition.
39429
675456ef
RM
39430 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39431 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39432 -Iprograms here.
39433 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39434 (localedef-modules): Add localedef.
39435 (locale-modules): Add locale.
39436
5e4287d1
RM
39437 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39438 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39439 to avoid a warning.
39440
9c96ff23
DM
394412011-08-14 David S. Miller <davem@davemloft.net>
39442
39443 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39444 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39445
f9ddf089
UD
394462011-08-13 Ulrich Drepper <drepper@gmail.com>
39447
44f0a71e 39448 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39449 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39450 * elf/rtld.c (dl_main): Set l_name of vDSO.
39451 Call _dl_show_scope when DL_DEBUG_SCOPES.
39452 (process_dl_debug): Recognize scopes flag and also set it for all.
39453 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39454 Declare _dl_show_scope.
39455
1dc27704
UD
39456 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39457 (do_dlopen): Pass caller_dlopen to dl_open.
39458 (__libc_dlopen_mode): Initialize caller_dlopen.
39459
f9ddf089
UD
39460 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39461 of libc. Make tolower call locale-independent. Optimize a bit by
39462 using isdigit instead of isalnum.
39463 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39464
9ac533d3
UD
394652011-08-12 Ulrich Drepper <drepper@gmail.com>
39466
39467 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39468 was a dependency or dynamically loaded.
39469
89edf2e9
UD
394702011-08-11 Ulrich Drepper <drepper@gmail.com>
39471
8e999d29
UD
39472 * intl/l10nflist.c: Allow architecture-specific pop function.
39473 * sysdeps/x86_64/l10nflist.c: New file.
39474
89edf2e9
UD
39475 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39476 classification.
39477
14d96785
AS
394782011-08-10 Andreas Schwab <schwab@redhat.com>
39479
39480 * include/dirent.h: Add libc_hidden_proto for scandirat and
39481 scandirat64. Don't declare __scandirat64.
39482 * dirent/scandirat.c: Add libc_hidden_def.
39483 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39484 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39485
6761ac04
DM
394862011-08-10 David S. Miller <davem@davemloft.net>
39487
39488 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39489 enum.
39490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39491 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39492 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39493
c55fbd1e
UD
394942011-08-09 Ulrich Drepper <drepper@gmail.com>
39495
39496 * Versions.def [libc]: Add GLIBC_2.15.
39497 * dirent/Makefile (routines): Add scandirat and scandirat64.
39498 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39499 GLIBC_2.15.
39500 * dirent/dirent.h: Declare scandirat and scandirat64.
39501 * dirent/scandirat.c: New file.
39502 * dirent/scandirat64.c: New file.
39503 * sysdeps/wordsize-64/scandirat.c: New file.
39504 * sysdeps/wordsize-64/scandirat64.c: New file.
39505 * dirent/opendir.c: Define opendirat.
39506 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39507 using scandirat.
39508 * dirent/scandir64.c: Adjust for scandir.c change.
39509 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39510 __scandirat64, and __scandir_cancel_handler.
39511 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39512 additional parameter and use openat instead of open (outside of ld.so).
39513 Add new __opendir as wrapper around __opendirat.
39514 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39515 here without requiring old scandirat implementation.
39516
879165f2
UD
395172011-08-08 Ulrich Drepper <drepper@gmail.com>
39518
39519 * dirent/scandir.c (cancel_handler): Renamed to
39520 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39521 defined. Adjust users.
39522 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39523 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39524
cb7e923b
UD
395252011-08-04 Ulrich Drepper <drepper@gmail.com>
39526
16292edd
UD
39527 * string/test-string.h (IMPL): Use __STRING to expand name and then
39528 stringify it.
39529
cb7e923b
UD
39530 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39531 of cleanups.
39532
cff82933
LD
395332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39534
39535 * string/Makefile: Update.
39536 (strop-tests): Append strncat.
39537 * string/test-wcscmp.c: New file.
39538 New comprehensive test for wcscmp.
39539 * string/test-strcmp.c: Update.
39540 (WIDE): New define.
39541
9be9bfcc
AS
395422011-07-22 Andreas Schwab <schwab@redhat.com>
39543
39544 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39545 line.
39546
2e96f1c7
AS
395472011-07-26 Andreas Schwab <schwab@redhat.com>
39548
39549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39550 encoding to ACE if AI_IDN.
39551
85188888
JJ
395522011-08-01 Jakub Jelinek <jakub@redhat.com>
39553
39554 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39555 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39556
5fa16e9b
LD
395572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39558
39559 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39560 Fix overflow bug in strncat.
39561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39562
39563 * string/test-strncat.c: Update.
39564 Add new tests for checking overflow bugs.
39565
395662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39567
39568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39569 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39570 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39571 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39572 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39573 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39574 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39575 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39576 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39577
39578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39579 (USE_AS_STRCAT): Define.
39580 Add strcat and strncat support.
39581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39582
8c1a459f
AS
395832011-07-25 Andreas Schwab <schwab@redhat.com>
39584
39585 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39586 __n bigger than INT_MAX+1.
39587 (__strncmp_g): Likewise.
39588
bba33c28
UD
395892011-07-23 Ulrich Drepper <drepper@gmail.com>
39590
798be72d
UD
39591 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39592 * libio/stido.h: Likewise.
39593
8accd4dc
UD
39594 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39595 (AF_NFC): Define.
39596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39597 (AF_NFC): Define.
39598
cbff0d96
UD
39599 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39600 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39601 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39602 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39604
9191c04a
UD
39605 [BZ #13021]
39606 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39607 installed.
39608
bba33c28
UD
39609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39610 typo.
39611 (_dl_x86_64_save_sse): Likewise.
39612
90f139dd
UD
396132011-07-22 Ulrich Drepper <drepper@gmail.com>
39614
1aae088a
UD
39615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39616 OSXSAVE.
39617 (_dl_x86_64_save_sse): Likewise.
39618
8e2045f5
UD
39619 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39620
90f139dd
UD
39621 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39622
1d002f25
AS
396232011-07-21 Andreas Schwab <schwab@redhat.com>
39624
39625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39626 change.
39627 (_dl_x86_64_save_sse): Use correct AVX check.
39628
21137f89
UD
396292011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39630
39631 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39632 bug in strncpy/strncat.
39633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39634
a65c0b7a
UD
396352011-07-21 Ulrich Drepper <drepper@gmail.com>
39636
39637 * string/tester.c (test_strcat): Add tests for different alignments
39638 of source and destination.
39639 (test_strncat): Likewise.
39640
6986b98a
UD
396412011-07-20 Ulrich Drepper <drepper@gmail.com>
39642
90bb2039
UD
39643 [BZ #12852]
39644 * posix/glob.c (glob): Check passed in values before using them in
39645 expressions to avoid some overflows.
39646 (glob_in_dir): Likewise.
39647
5644ef54
UD
39648 [BZ #13007]
39649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39650 check for AVX enablement so that we don't crash with old kernels and
39651 new hardware.
39652 * elf/tst-audit4.c: Add same checks here.
39653 * elf/tst-audit6.c: Likewise.
39654
39655 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39656
bfc9dc9b
AS
396572011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39658
39659 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39660
702e64bb
UD
396612011-07-20 Ulrich Drepper <drepper@gmail.com>
39662
39663 * po/cs.po: Update from translation team.
39664 * po/bg.po: Likewise.
39665
295e904f
MP
396662011-07-12 Marek Polacek <mpolacek@redhat.com>
39667
39668 * misc/sys/cdefs.h: Add support for const attribute.
39669 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39670 to gnu_dev_{major,minor,makedev} functions.
39671
3ff94596
MP
396722011-07-20 Marek Polacek <mpolacek@redhat.com>
39673
39674 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39675
28b59fca
AS
396762011-07-20 Andreas Schwab <schwab@redhat.com>
39677
39678 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39679 strlen results.
39680
19df733e
AK
396812011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39682
39683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39684 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39685 register in order to avoid conflicts with the soft frame pointer
39686 being held in r11 when necessary.
39687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39688 (INTERNAL_VSYSCALL_NCS): Likewise.
39689
c8835729
MP
396902011-07-14 Marek Polacek <mpolacek@redhat.com>
39691
39692 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39693 * elf/dl-fini.c (_dl_fini): Adjust caller.
39694 * elf/dl-close.c (_dl_close_worker): Likewise.
39695 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39696
b902330c
MP
396972011-07-15 Marek Polacek <mpolacek@redhat.com>
39698
8991e135
MP
39699 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39700 "aux_cache->nlibs < 0".
39701
b902330c
MP
39702 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39703 in the reload-count case.
39704
99710781
LD
397052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39706
39707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39708 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39709 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39710 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39711 * sysdeps/x86_64/multiarch/strcat.S: New file.
39712 * sysdeps/x86_64/multiarch/strncat.S: New file.
39713 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39714 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39715 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39716 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39717 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39718 (USE_AS_STRCAT): Define.
39719 Add strcat and strncat support.
39720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39721 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39722 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39723 * string/strncat.c: Update.
39724 (USE_AS_STRNCAT): Define.
39725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39726 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39727 and i7.
39728 * sysdeps/x86_64/multiarch/init-arch.h
39729 (bit_Prefer_PMINUB_for_stringop): New.
39730 (index_Prefer_PMINUB_for_stringop): Likewise.
39731 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39732 bit_Prefer_PMINUB_for_stringop.
39733
7dc6bd90
UD
397342011-07-19 Ulrich Drepper <drepper@gmail.com>
39735
39736 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39737 buffer64.
39738 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39739 of casting of buffer.
39740 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39741 buffer32 and buffer64.
39742 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39743 writes instead of casting of buffer.
39744 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39745 buffer32.
39746 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39747 casting of buffer.
39748
e0e72284
AS
397492011-07-19 Andreas Schwab <schwab@redhat.com>
39750
39751 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39752
feb1eb0b
UD
397532011-07-19 Ulrich Drepper <drepper@gmail.com>
39754
39755 * nscd/nscd.c (termination_handler): Don't do anything for a database
39756 if it has not yet been initialized.
39757
298711ff
UD
397582011-07-18 Ulrich Drepper <drepper@gmail.com>
39759
39760 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39761
397622011-07-15 Marek Polacek <mpolacek@redhat.com>
39763
39764 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39765
f9d68389
UD
397662011-07-18 Ulrich Drepper <drepper@gmail.com>
39767
39768 * po/nl.po: Update from translation team.
39769 * po/sv.po: Likewise.
39770
db290cf5
RM
397712011-07-16 Roland McGrath <roland@hack.frob.com>
39772
39773 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39774 now disallowed by GCC.
5c550700 39775
fd5e21c7
RM
39776 * configure.in (use-default-link): Default to yes if a test -shared
39777 link meets our qualifications.
39778 * configure: Regenerated.
39779
5c550700
RM
39780 * config.make.in (output-format): New variable.
39781 * configure.in: Check for ld --print-output-format support.
39782 * configure: Regenerated.
39783 * Makerules ($(common-objpfx)format.lds)
39784 [$(output-format) != unknown]: Just use $(output-format),
39785 instead of the linker-script munging.
39786
9fa2c032
RM
397872011-07-14 Roland McGrath <roland@hack.frob.com>
39788
a6928d51
RM
39789 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39790 of $(common-objpfx)shlib.lds.
39791 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39792
661607b3
RM
39793 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39794 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39795
9fa2c032
RM
39796 * configure.in (-z relro check): Adjust test code to add a large
39797 writable data section after it.
39798 * configure: Regenerated.
39799
defe9061
RM
398002011-07-11 Roland McGrath <roland@hack.frob.com>
39801
39802 * configure.in (-z relro check): Fix test code to make the variable
39803 truly const.
39804 * configure: Regenerated.
39805
319b9ad4
UD
398062011-07-11 Ulrich Drepper <drepper@gmail.com>
39807
39808 * nscd/nscd.h (struct traced_file): Define.
39809 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39810 elements. Add traced_files.
39811 (inotify_fd): Declare.
39812 (register_traced_file): Declare.
39813 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39814 (inotify_fd): Export.
39815 (resolv_conf_descr): Remove.
39816 (nscd_init): Move inotify descriptor creation to main.
39817 Don't register files for notification here.
39818 (register_traced_file): New function.
39819 (invalidate_cache): Don't use reset_res to determine whether to call
39820 res_init, go through the list of registered files.
39821 (main_loop_poll): The inotify descriptors are now stored in the
39822 structures for the traced files.
39823 (main_loop_epoll): Likewise
39824 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39825 to __nss_disable_nscd.
39826 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39827 for a database anymore. Check the records for all the registered
39828 files instead.
39829 * nss/Makefile (libnss_files-routines): Add files-init.
39830 (libnss_db-routines): Add db-init.
39831 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39832 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39833 * nss/nss_db/db-init.c: New file.
39834 * nss/nss_files/files-init.c: New file.
39835 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39836 __nss_lookup_function.
39837 (__nss_lookup_function): Call nss_load_library.
39838 (nss_load_all_libraries): New function.
39839 (__nss_disable_nscd): Take parameter with callback function for files
39840 to register. Set is_nscd. Load all the DSOs for the NSS modules
39841 used for the cached services.
39842 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39843 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39844 options for features to all the files in nscd.
39845
39846 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39847
23bee3e8
RM
398482011-07-10 Roland McGrath <roland@hack.frob.com>
39849
39850 * csu/elf-init.c (__libc_csu_init): Comment typo.
39851
46a5b7f0
UD
398522011-07-09 Ulrich Drepper <drepper@gmail.com>
39853
39854 * po/pl.po: Update from translation team.
39855 * po/ja.po: Likewise.
39856 * po/ru.po: Likewise.
39857 * po/ko.po: Likewise.
39858 * po/fr.po: Likewise.
39859
d30cf5bb
RM
398602011-07-09 Roland McGrath <roland@hack.frob.com>
39861
113ddea4
RM
39862 * configure.in (.ctors/.dtors header and trailer check):
39863 Use an empirical test on a built program.
39864 * configure: Regenerated.
39865
574920b4
RM
39866 * configure.in (-z relro check): Use an empirical test on a built DSO.
39867 Detect, but do not require, on ia64.
39868 * configure: Regenerated.
39869
d30cf5bb
RM
39870 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39871 Update tests that use readelf to use $READELF instead.
39872 * configure: Regenerated.
39873
8538fdb3
UD
398742011-07-08 Ulrich Drepper <drepper@gmail.com>
39875
39876 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39877 if the result is not used.
39878
04d08991
AJ
398792011-07-05 Andreas Jaeger <aj@suse.de>
39880
39881 [BZ#9696]
39882 * stdlib/tst-strtod.c: Add testcase.
39883
de283087
AD
398842011-07-07 Ulrich Drepper <drepper@gmail.com>
39885
4e5f31c8 39886 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39887 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39888 The latter has a higher limit. Take additional parameter to pass to
39889 the new function.
39890 (__pathconf): Pass file to __statfs_link_max.
39891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39892 __statfs_link_max.
39893 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39894 __statfs_link_max.
39895
de283087
AD
39896 [BZ #12868]
39897 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39898 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39899 Handle Lustre.
39900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39901 (__statfs_filesize_max): Likewise.
39902 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39903
c75fa153
AJ
399042011-07-05 Andreas Jaeger <aj@suse.de>
39905
39906 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39907
1a544854
UD
399082011-07-06 Marek Polacek <mpolacek@redhat.com>
39909
39910 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39911 `status' variable.
39912 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39913 Likewise.
39914
6f0eec67
UD
399152011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39916
39917 * Makefile (strop-tests): Add strncat.
39918 * string/test-strncat.c: New file.
39919
aae30307
UD
399202011-06-30 Marek Polacek <mpolacek@redhat.com>
39921
39922 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39923
c0cfb5eb
UD
399242011-06-21 Andreas Jaeger <aj@suse.de>
39925
39926 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39927 Copy rule from iconvdata/Makefile.
39928
01636b21
UD
399292011-07-06 Ulrich Drepper <drepper@gmail.com>
39930
39931 [BZ #12922]
39932 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39933 but no long options are defined, just return 'W'.
39934
9895c8bc
UD
399352011-06-22 Marek Polacek <mpolacek@redhat.com>
39936
39937 [BZ #9696]
39938 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39939
5d4cf042
UD
399402011-07-06 Ulrich Drepper <drepper@gmail.com>
39941
39942 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39943 netgroups to read.
960e5535 39944 (innetgr): Likewise.
5d4cf042 39945
751eb97e
RM
399462011-07-05 Roland McGrath <roland@hack.frob.com>
39947
39948 * config.make.in (install_root): Default to $(DESTDIR).
39949
f15f1e45
UD
399502011-07-05 Ulrich Drepper <drepper@gmail.com>
39951
39952 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39953
4e34ac6a
RM
399542011-07-02 Roland McGrath <roland@hack.frob.com>
39955
5e9b6af4
RM
39956 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39957
84f9ea0f
RM
39958 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39959 containing directory rather than embedding absolute directory names.
39960
ea5ee9f7
RM
39961 * scripts/check-local-headers.sh: Rewritten using awk.
39962 Match by word, not by line. Print error messages for matches.
39963 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39964
1b74661a
RM
39965 * Makerules [shlib-lds-flags empty]:
39966 ($(common-objpfx)libc_pic.opts): New target.
39967 ($(common-objpfx)libc_pic.os.clean): New target.
39968 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39969
39970 * config.make.in (OBJCOPY): New variable.
39971 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39972 * configure: Regenerated.
39973
f781ef40
RM
39974 * config.make.in (use-default-link): New variable.
39975 * configure.in (use_default_link): Grok --with-default-link to set it.
39976 * configure: Regenerated.
39977 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39978 (shlib-lds, shlib-lds-flags): Define to empty.
39979
2d4fa81e
RM
39980 * Makerules (shlib-lds): New variable.
39981 (shlib-lds-flags): New variable.
39982 (build-shlib, build-moduile, build-module-asneeded): Use it.
39983 ($(common-objpfx)libc.so): Use $(shlib-lds).
39984 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39985 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39986
31fffa6b
RM
39987 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39988 DT_FLAGS/DT_FLAGS_1 with zero flags.
39989
4e34ac6a
RM
39990 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39991 linker script munging.
39992
fcfc776b
UD
399932011-07-02 Ulrich Drepper <drepper@gmail.com>
39994
39995 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39996 as 128-bit value.
39997 * crypt/sha512.c (sha512_process_block): Perform total addition using
39998 128-bit if possible.
39999 (__sha512_finish_ctx): Likewise.
40000 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40001 as 64-bit value.
40002 * crypt/sha256.c (SWAP64): Define.
40003 (sha256_process_block): Perform total addition using 64-bit if
40004 possible.
40005 (__sha256_finish_ctx): Likewise.
40006
99231d9a
UD
400072011-07-01 Ulrich Drepper <drepper@gmail.com>
40008
40009 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40011 * nscd/hstcache.c (cache_addhst): Likewise.
40012 * nscd/grpcache.c (cache_addgr): Likewise.
40013 * nscd/aicache.c (addhstaiX): Likewise
40014 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40015
445b4a53
TK
400162011-07-01 Thorsten Kukuk <kukuk@suse.de>
40017
40018 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40019 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40020 * nscd/hstcache.c (cache_addhst): Likewise.
40021 * nscd/grpcache.c (cache_addgr): Likewise.
40022 * nscd/aicache.c (addhstaiX): Likewise
40023
6d4d8e8e
AS
400242011-07-01 Andreas Schwab <schwab@redhat.com>
40025
40026 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40027 domain only when needed.
40028
89f654c5
AS
400292011-06-30 Andreas Schwab <schwab@redhat.com>
40030
40031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40032 is always restored.
40033
cf3b23ff
UD
400342011-06-29 Ulrich Drepper <drepper@gmail.com>
40035
40036 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40037 are re-adding the entry.
40038 * nscd/servicescache.c (cache_addserv): Likewise.
40039
751626f9
AJ
400402011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40041
40042 * sysdeps/generic/dl-irel.h: fix protection against multiple
40043 inclusions.
40044 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40045
9113ea1f
UD
400462011-06-28 Ulrich Drepper <drepper@gmail.com>
40047
5c0b8d90
UD
40048 [BZ #12935]
40049 * malloc/memusage.sh: Fix quoting in message.
40050 * debug/xtrace.sh: Likewise.
40051
9113ea1f
UD
40052 * configure.in: Remove support for --experimental-malloc option, make
40053 it the default.
40054 * config.make.in: Likewise.
40055 * malloc/Makefile: Likewise.
40056
a4172181
AS
400572011-06-27 Andreas Schwab <schwab@redhat.com>
40058
40059 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40060 two-byte characters.
40061
78a7eee7
RM
400622011-06-27 Roland McGrath <roland@hack.frob.com>
40063
62bede13
RM
40064 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40065 AC_CACHE_CHECK invocation.
40066 * configure: Regenerated.
40067
78a7eee7
RM
40068 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40069
5ce33a62
UD
400702011-06-27 Ulrich Drepper <drepper@gmail.com>
40071
034807a9
UD
40072 [BZ #12350]
40073 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40074 bit from old_res_options.
40075
4902da17
UD
40076 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40077
5ce33a62
UD
40078 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40079 value type for setfct.
40080
c2344f56
L
400812011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40082
40083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40084 __gettimeofday instead of gettimeofday.
40085
68468076
UD
400862011-06-26 Ulrich Drepper <drepper@gmail.com>
40087
40088 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40089
acb0d739
L
400902011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40091
40092 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40093
40094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40095 info.
40096
8912479f
L
400972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40098
40099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40100 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40101 strcpy-sse2-unaligned strncpy-sse2-unaligned
40102 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40103 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40104 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40105 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40106 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40107 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40108 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40109 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40110 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40111 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40112 (STRCPY): Support SSE2 and SSSE3 versions.
40113
d5495a11
UD
401142011-06-24 Ulrich Drepper <drepper@gmail.com>
40115
40116 [BZ #12874]
40117 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40118 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40119 kernels which artificially limit size of requests.
40120
0b1cbaae
L
401212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40122
40123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40124 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40125 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40126 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40127 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40128 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40129 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40130 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40133 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40134 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40135 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40136 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40137 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40139 Enable unaligned load optimization for Intel Core i3, i5 and i7
40140 processors.
40141 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40142 Define.
40143 (index_Fast_Unaligned_Load): Define.
40144 (HAS_FAST_UNALIGNED_LOAD): Define.
40145
07f494a0
MP
401462011-06-23 Marek Polacek <mpolacek@redhat.com>
40147
40148 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40149
fa3fc0fe
UD
401502011-06-22 Ulrich Drepper <drepper@gmail.com>
40151
40152 [BZ #12907]
40153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40154 until it is clear that the information is realy needed.
40155 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40156
e12df166
AS
401572011-06-22 Andreas Schwab <schwab@redhat.com>
40158
40159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40160
852eb34d
UD
401612011-06-22 Ulrich Drepper <drepper@gmail.com>
40162
84e2a551
UD
40163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40164 /sys/devices/system/cpu/online if it is usable.
40165
852eb34d
UD
40166 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40167 reading the information from the /proc filesystem to once a second.
40168
6e502e19
UD
401692011-06-21 Andreas Jaeger <aj@suse.de>
40170
40171 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40172 NULL after inclusion of kernel headers.
40173
75d39ff2
UD
401742011-06-21 Ulrich Drepper <drepper@gmail.com>
40175
51f9aa6a
UD
40176 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40177 calls to internal_setent.
40178
c0244a9d
UD
40179 [BZ #12885]
40180 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40181 addresses using gethostbyname4_r ignore IPv4 addresses.
40182
c5e3c2ae
UD
40183 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40184 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40185
75d39ff2
UD
40186 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40187
42675c6f
DM
401882011-06-20 David S. Miller <davem@davemloft.net>
40189
40190 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40191 inclusions.
40192 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40193
40194 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40195 (elf_irel): Use it.
40196 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40197 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40198 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40199 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40200 * sysdeps/x86_64/dl-irel.h: Likewise.
40201
40202 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40203 * elf/dl-sym.c: Likewise.
40204
57912a71
UD
402052011-06-15 Ulrich Drepper <drepper@gmail.com>
40206
40207 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40208 need to dereference resplen2.
40209
ee22793d
AS
402102011-06-14 Andreas Schwab <schwab@redhat.com>
40211
40212 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40213
a9e836b0
UD
402142011-06-15 Ulrich Drepper <drepper@gmail.com>
40215
77fb9117
UD
40216 * Makeconfig: Define vardbdir and inst_vardbdir.
40217 * nss/Makefile: Add rules to install db-Makefile.
40218
40c1b22c
UD
40219 * nss/nss_db/db-XXX.c: Cleanup.
40220
9f2da732
UD
40221 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40222 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40223 GLIBC_PRIVATE.
40224 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40225 * nss/makedb.c: Implement -g option to specify that value strings
40226 are generated and should not be added to table iterated over for
40227 get*ent calls.
40228 * nss/nss_db/db-initgroups.c: New file.
40229
82e9a1f7
UD
40230 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40231 interface.
40232
c41af17e
UD
40233 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40234 (internal_getgrouplist): Adjust to name change.
40235 Update use_initgroups_entry if this is not the first call.
40236 * nss/databases.def: Add initgroups entry.
40237
a9e836b0
UD
40238 * nss/makedb.c (compute_tables): Check result of multiple hash table
40239 sizes to minimize maximum chain length.
40240
2666d441
UD
402412011-06-14 Ulrich Drepper <drepper@gmail.com>
40242
40243 * Versions.def: Add entry for libnss_db.
40244 * shlib-versions: Likewise.
40245 * nss/Makefile: Add rules to build libnss_db.
40246 * nss/Versions: Add libnss_db information. Organize libnss_files
40247 entries better.
40248 * nss/db-Makefile: Add gshadow support. Change rules for the new
40249 makedb progra. Some minor improvements to generate smaller files.
40250 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40251 here from...
40252 * nss/makedb.c: ...here.
40253 Improve database format to be smaller and require less memory at
40254 runtime.
40255 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40256 db anymore.
40257 * nss/nss_db/db-netgrp.c: Likewise.
40258 * nss/nss_db/db-open.c: Likewise.
40259 * nss/nss_files/flies-XXX.x: Adjust comments.
40260 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40261 * nss/nss_files/files-grp.c: Likewise.
40262 * nss/nss_files/files-hosts.c: Likewise.
40263 * nss/nss_files/files-network.c: Likewise.
40264 * nss/nss_files/files-proto.c: Likewise.
40265 * nss/nss_files/files-pwd.c: Likewise.
40266 * nss/nss_files/files-rpc.c: Likewise.
40267 * nss/nss_files/files-service.c: Likewise.
40268 * nss/nss_files/files-sgrp.c: Likewise.
40269 * nss/nss_files/files-spwd.c: Likewise.
40270 * nss/nss_db/db-alias.c: Removed.
40271 * nss/nss_db/dummy-db.h: Removed.
40272
9ee76b5a
UD
402732011-06-02 Ulrich Drepper <drepper@gmail.com>
40274
40275 * nss/makedb.c: Rewritten to not use database library.
40276 * nss/Makefile: Update to build new makedb program.
40277
c71ca1f8
AJ
402782011-06-14 Andreas Jaeger <aj@suse.de>
40279
40280 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40281 memset declaration.
40282
3154bfb8
UD
402832011-06-10 Andreas Schwab <schwab@redhat.com>
40284
40285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40286 tmpbuf.
40287
b350afab
RM
402882011-06-10 Roland McGrath <roland@hack.frob.com>
40289
decd4e50
RM
40290 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40291 * elf/Makefile ($(objpfx)ld.so): Likewise.
40292
5615eaf2
RM
40293 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40294 Don't list ld.so twice in dependencies.
40295
40296 * posix/bug-regex31.c: Include <stdlib.h>.
40297
40298 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40299
40300 * nis/nss_compat/compat-spwd.c
40301 (getspent_next_nss_netgr): Remove unused variable.
40302 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40303
40304 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40305 nonmembers" output to use the right array.
40306
40307 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40308
40309 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40310
40311 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40312 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40313 * catgets/gencat.c (read_input_file): Likewise.
40314 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40315
40316 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40317 variable definition inside #if's controlling its use.
40318
40319 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40320
40321 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40322
40323 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40324
40325 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40326 unreachable code.
40327
40328 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40329
b68e08db
RM
40330 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40331 * configure: Regenerated.
40332
b350afab
RM
40333 * Makerules: Revert last change.
40334 * elf/Makefile: Likewise.
40335
28368601
RM
403362011-06-09 Roland McGrath <roland@hack.frob.com>
40337
40338 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40339 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40340 (reloc-link): Likewise.
40341
11988f8f
UD
403422011-06-09 Ulrich Drepper <drepper@gmail.com>
40343
40344 * elf/Makefile: Add rules to build pldd.
40345 * elf/pldd.c: New file.
40346 * elf/pldd-xx.c: New file.
40347
e80fab37
UD
403482011-06-07 Ulrich Drepper <drepper@gmail.com>
40349
40350 * version.h: Update for 2.15 development version.
40351
9b849836
DM
403522011-06-07 David S. Miller <davem@davemloft.net>
40353
40354 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40355 ifuncs.
40356 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40357 elf_machine_lazy_rel): Likewise.
40358 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40360 elf_machine_lazy_rel): Likewise.
40361 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40362 dl_hwcap via passed in argument.
40363 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40364 Likewise.
40365
5a31b283
AK
403662011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40367
40368 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40369
069e52f8
RM
403702011-06-06 Roland McGrath <roland@hack.frob.com>
40371
40372 [BZ #12849]
40373 * manual/fdl-1.1.texi: New file, verbatim from:
40374 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40375 * manual/lgpl-2.1.texi: New file, verbatim from:
40376 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40377 * manual/Makefile (licenses): New variable, list those new file names.
40378 (texis): Use it.
40379 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40380
40381 * manual/fdl.texi: File removed.
40382 * manual/lesser.texi: File removed.
40383 * manual/libc.texinfo (Copying, Documentation License):
40384 Use new @include file names, put @appendix directive before @include.
40385
f16846a5
JJ
403862011-06-04 Jakub Jelinek <jakub@redhat.com>
40387
40388 [BZ #12841]
40389 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40390 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40391 (mq_open): Add __NTH.
40392
3d29045b
L
403932011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40394
40395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40396 Assume Intel Core i3/i5/i7 processor if AVX is available.
40397
8c297311
UD
403982011-05-31 Ulrich Drepper <drepper@gmail.com>
40399
40400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40401 typo.
40402
c8fc0c91
UD
404032011-05-31 Andreas Schwab <schwab@redhat.com>
40404
40405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40406 memory. Use alloca_account. Fix memory leak when retrying.
40407
5b27a807
UD
404082011-05-31 Ulrich Drepper <drepper@gmail.com>
40409
356f8bc6
UD
40410 * version.h (RELEASE): Bump for 2.14 release.
40411 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40412
5b27a807
UD
40413 * config.make.in (RANLIB): Remove entry.
40414
01f16ab0
UD
404152011-05-30 Ulrich Drepper <drepper@gmail.com>
40416
41fce8bd
UD
40417 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40418 (libc.pot): Work around missing support for .ksh extension in xgettext.
40419
4769ae77
UD
40420 [BZ #12684]
40421 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40422 if both request failed.
40423 (send_dg): In case of server errors clear resplen or *resplen2.
40424
6b1e7d19
UD
40425 [BZ #12454]
40426 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40427 when there are multiple maps.
40428 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40429 (_dl_fini): Remove test here.
40430
01f16ab0
UD
40431 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40432
b1ebd700
UD
404332011-05-29 Ulrich Drepper <drepper@gmail.com>
40434
7ae22829
UD
40435 [BZ #12350]
40436 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40437 bit from old_res_options.
40438 (gaih_inet): Likewise.
40439
553149f6 40440 [BZ #11099]
18a84741 40441 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40442 as signed.
40443
652ffab1
UD
40444 * resolv/res_init.c (res_setoptions): Make the code more compact.
40445
16985fd0
UD
40446 [BZ #11558]
40447 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40448 set RES_USEVC.
40449
0464f746
UD
40450 [BZ #11634]
40451 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40452
7d17596c
UD
40453 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40454
cf6bbbd7
UD
40455 [BZ #11781]
40456 * malloc/malloc.h: Declare malloc hook variables as volatile.
40457
13f1ab36
UD
40458 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40459 in last patch.
40460
b1ebd700
UD
40461 [BZ #11799]
40462 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40463 raise in the comment.
80e2212d
UD
40464 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40465 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40466 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40467
ce67228d
UD
404682011-05-28 Ulrich Drepper <drepper@gmail.com>
40469
8887a920
UD
40470 [BZ #12811]
40471 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40472 grow the buffers more if it already has to be sufficient.
40473 (build_wcs_upper_buffer): Likewise.
40474 * posix/regexec.c (check_matching): Likewise.
40475 (clean_state_log_if_needed): Likewise.
40476 (extend_buffers): Don't enlarge buffers beyond size of the input
40477 buffer.
40478 Patches mostly by Emil Wojak <emil@wojak.eu>.
40479 * posix/bug-regex32.c: New file.
40480 * posix/Makefile (tests): Add bug-regex32.
40481
4f031072
UD
40482 * locale/findlocale.c (_nl_find_locale): Return right away if
40483 _nl_explode_name failed.
40484 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40485
d0478f0c
UD
40486 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40487
de81b246
UD
40488 * debug/xtrace.sh: Unify messages.
40489 * malloc/memusage.sh: Likewise.
40490
c738465a
UD
40491 [BZ #12813]
40492 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40493 time symbol from vDSO. Substitute with vsyscall if not available.
40494 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40495 __vdso_time.
40496
f1f929d7
UD
40497 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40498 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40499 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40500 Add sendmmsg and internal_sendmmsg.
40501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40502 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40503 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40504
ce67228d
UD
40505 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40506 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40507 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40508
e57420c6
UD
405092011-05-27 Ulrich Drepper <drepper@gmail.com>
40510
a8509ca5
UD
40511 [BZ #12813]
40512 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40513 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40514 available.
40515 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40516 __vdso_getcpu.
40517
e57420c6
UD
40518 [BZ #12814]
40519 * iconvdata/Makefile (tests): Add bug-iconv9.
40520 * iconvdata/bug-iconv9.c: New file.
40521
4d07db15
AS
405222011-05-27 Andreas Schwab <schwab@redhat.com>
40523
40524 [BZ #12814]
40525 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40526
ea486f69
JJ
405272011-05-25 Jakub Jelinek <jakub@redhat.com>
40528
40529 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40530 (struct user_regs_struct): Change intcs field back to cs.
40531
6f038433
UD
405322011-05-25 Ulrich Drepper <drepper@gmail.com>
40533
40534 * po/ja.po: Update from translation team.
40535
67f86a25
UD
405362011-05-23 Ulrich Drepper <drepper@gmail.com>
40537
40538 [BZ #12795]
40539 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40540 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40541
def7fbd6
AS
405422011-05-20 Andreas Schwab <schwab@redhat.com>
40543
40544 * stdlib/longlong.h: Update from GCC.
40545
f50ef8f1
AS
405462011-05-23 Andreas Schwab <schwab@redhat.com>
40547
40548 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40549 parameter name.
40550 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40551 Add parameter name.
40552 (__sysconf): Pass it down.
40553
de7ce8f1
UD
405542011-05-22 Ulrich Drepper <drepper@gmail.com>
40555
f2962a71
UD
40556 [BZ #12671]
40557 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40558 some situations.
40559 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40560 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40561 add in in __libc_use_alloca calls. Adjust callers.
40562 (glob): Use malloc in some situations.
40563
de7ce8f1
UD
40564 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40565 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40566 pltexit.
40567
aec84f53
UD
405682011-05-21 Ulrich Drepper <drepper@gmail.com>
40569
05bb4a68
UD
40570 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40571 and CLOCK_BOOTTIME_ALARM.
40572
7ea72f99
UD
40573 [BZ #12782]
40574 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40575 is returned.
40576
7e4afad5
UD
40577 * string/_strerror.c (__strerror_r): Print negative errors as signed
40578 numbers.
40579
8e211fec
UD
40580 [BZ #12777]
40581 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40582 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40583 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40584
f7d82dc9
UD
40585 * configure.in: Fix typo in redirection and correct removal of test
40586 files in two cases.
40587
cc9e536d
UD
40588 [BZ #12788]
40589 * locale/setlocale.c (new_composite_name): Fix test to check for
40590 identical name of all categories.
40591
aec84f53
UD
40592 [BZ #12792]
40593 * libio/filedoalloc.c (local_isatty): New function.
40594 (_IO_file_doallocate): Use local_isatty.
40595 * stdio-common/perror.c (perror): In case a new stream is used
40596 forward the stream error.
40597 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40598 error flag.
40599
78e64fdc
RT
406002011-05-20 Ulrich Drepper <drepper@gmail.com>
40601
34a9094f
UD
40602 [BZ #11869]
40603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40604 alloca.
40605 * include/alloca.h (extend_alloca_account): Define.
40606
78e64fdc
RT
40607 [BZ #11857]
40608 * posix/regex.h: Fix comments with documentation of user-accessible
40609 fields after compilation and describe correct free'ing of pattern
40610 after re_compile_pattern.
40611 Patch by Reuben Thomas <rrt@sc3d.org>.
40612
457bddfc
RA
406132011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40614
40615 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40616 and -mno-altivec to prevent the compiler from using Altivec and/or
40617 VSX instructions when the corresponding registers are not available.
40618
a4527b51
AS
406192011-05-19 Andreas Schwab <schwab@redhat.com>
40620
40621 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40622
ed690b2f
UD
406232011-05-19 Ulrich Drepper <drepper@gmail.com>
40624
40625 * libio/freopen.c (freopen): Use __dup2, not dup2.
40626 * libio/freopen64.c (freopen64): Likewise.
40627
8db73634
L
406282011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40629
40630 [BZ #12775]
40631 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40632 * math/Makefile (tests): Add test-powl.
40633 (CFLAGS-test-powl.c): Define.
40634 * math/test-powl.c: New file.
40635
0a197a9d
L
406362011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40637
40638 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40639
ee30c380
UD
406402011-05-17 Ulrich Drepper <drepper@gmail.com>
40641
40642 [BZ #11837]
40643 * iconvdata/gb18030.c: Update to GB18020-2005.
40644
6ce75379
UD
406452011-05-16 Ulrich Drepper <drepper@gmail.com>
40646
a4b89fd8
AR
40647 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40648 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40649 Patch by Aharon Robbins <arnold@skeeve.com>.
40650
ea389b12
UD
40651 [BZ #11892]
40652 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40653 on the stack.
40654
68a3f91f
UD
40655 [BZ #11895]
40656 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40657 through underflows.
40658
15cc7dd1
UD
40659 [BZ #12766]
40660 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40661 point to strings before performing equality test for error_one_per_line
40662 mode.
40663
f3799213
UD
40664 [BZ #11697]
40665 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40666
d79a9c94
UD
40667 [BZ #11820]
40668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40669 (struct user_fpregs_struct): Avoid __uint*_t types.
40670
56e5eb46
UD
40671 [BZ #6420]
40672 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40673 symbol info. Use it instead of calling _dl_addr locally.
40674 (lock_and_info): New function.
40675 (tr_freehook): Call lock_and_info and pass symbol info as additional
40676 parameter to tr_where.
40677 (tr_mallochook): Likewise.
40678 (tr_reallochook): Likewise.
40679 (tr_memalignhook): Likewise.
40680
6ce75379
UD
40681 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40682 used and couldn't be at all thread-safe.
40683
f8a3b5bf
UD
406842011-05-15 Ulrich Drepper <drepper@gmail.com>
40685
94b7cc37
UD
40686 * libio/freopen.c (freopen): Don't close old file descriptor
40687 before the new one is opened. Instead dup the new file descriptor
40688 to the old one after the new stream is created.
40689 * libio/freopen64.c (freopen64): Likewise.
40690 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40691 * libio/fileops.c (_IO_new_file_close_it): Handle new
40692 _IO_FLAGS2_NOCLOSE flag.
40693 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40694 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40695 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40696 _IO_FLAGS2_NOCLOSE flag.
40697 * include/unistd.h: Add hidden_proto for dup3.
40698 Define __have_dup3.
40699 * io/dup3.c: Define hidden symbol.
40700 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40701
bd25564e
UD
40702 [BZ #7101]
40703 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40704 when an incomplete long option is used.
40705 * posix/tst-getopt_long1.c: New file.
40706 * posix/Makefile (tests): Add tst-getopt_long1.
40707
c84cfef4
UD
40708 [BZ #10138]
40709 * scripts/config.guess: Update from autoconf-2.68.
40710 * scripts/config.sub: Likewise.
40711
3b85df27
UD
40712 [BZ #10157]
40713 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40714 tests into ...
40715 (has_cpuclock): ...this. New function.
40716 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40717 macro here based on has_cpuclock code.
40718
15a856b1
UD
40719 [BZ #10149]
40720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40721 First byte (not low byte) is now always NUL.
40722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40723
05f399e6
UD
40724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40725 Use non-cancelable interfaces.
40726
10a52685 40727 [BZ #9809]
94ecc67d
UD
40728 * locale/iso-639.def: Add entry for Sorani.
40729
f8a3b5bf
UD
40730 [BZ #11901]
40731 * include/stdlib.h: Move include protection to the right place.
40732 Define abort_msg_s. Declare __abort_msg with it.
40733 * stdlib/abort.c (__abort_msg): Adjust type.
40734 * assert/assert.c (__assert_fail_base): New function. Majority
40735 of code from __assert_fail. Allocate memory for __abort_msg with
40736 mmap.
40737 (__assert_fail): Now call __assert_fail_base.
40738 * assert/assert-perr.c: Remove bulk of implementation. Use
40739 __assert_fail_base.
40740 * include/assert.hL Declare __assert_fail_base.
40741 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40742 mmap.
40743 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40744
1af4e298
UD
407452011-05-14 Ulrich Drepper <drepper@gmail.com>
40746
f8a3b5bf 40747 [BZ #11952]
d26dfc60
MG
40748 [BZ #12453]
40749 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40750 until all modules are registered in the DTV.
40751 * elf/Makefile: Add rules to build and run tst-tls19.
40752 * elf/tst-tls19.c: New file.
40753 * elf/tst-tls19mod1.c: New file.
40754 * elf/tst-tls19mod2.c: New file.
40755 * elf/tst-tls19mod3.c: New file.
40756 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40757
2fc54d6f
UD
40758 [BZ #12083]
40759 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40760 correctly.
40761
98d76b46
UD
40762 [BZ #12601]
40763 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40764 two-byte sequence errors.
40765 * iconvdata/Makefile (tests): Add bug-iconv8.
40766 * iconvdata/bug-iconv8.c: New file.
40767
da3c19ef
UD
40768 [BZ #12626]
40769 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40770 buf2 definition.
40771
ca408c15
UD
40772 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40773
d6f67f7d
UD
40774 [BZ #12432]
40775 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40776 (dummy_getcfa): New function.
40777 (init): Get _Unwind_GetCFA address, use dummy if not found.
40778 (backtrace_helper): In recursion check, also check whether CFA changes.
40779 (__backtrace): Completely initialize arg.
40780
1af4e298 40781 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40782 storing incomplete byte sequence in state object. Avoid testing for
40783 guaranteed too small input if we know there is enough data available.
1af4e298 40784
da62f81b
AS
407852011-05-11 Andreas Schwab <schwab@redhat.com>
40786
40787 * Makeconfig (+link-pie): Indent.
40788 * Rules (binaries-pie): Define if $(have-fpie) and
40789 $(build-shared).
40790 (binaries-shared): Also filter out $(binaries-pie).
40791 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40792 * nscd/Makefile (others-pie): Add nscd.
40793 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40794 ($(objpfx)nscd): Remove command override.
40795 * login/Makefile (others-pie): Add pt_chown.
40796 ($(objpfx)pt_chown): Remove command override.
40797 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40798 remove command overrides.
40799
fcabc0f8
UD
408002011-05-13 Ulrich Drepper <drepper@gmail.com>
40801
20030ae6
UD
40802 * libio/tst_putwc.c: Fix error messages.
40803
fcabc0f8
UD
40804 [BZ #12724]
40805 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40806 currently writing and seek to current position when not.
40807 * libio/Makefile (tests): Add bug-fclose1.
40808 * libio/bug-fclose1.c: New file.
40809
320a5dc0
PB
408102011-05-12 Ulrich Drepper <drepper@gmail.com>
40811
40812 [BZ #12511]
40813 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40814 don't set DF_1_NODELETE here.
40815 (do_lookup_x): When entering new entry test for copy relocation
40816 and if necessary set DF_1_NODELETE flag.
40817 * elf/tst-unique4.cc: New file.
40818 * elf/tst-unique4.h: New file.
40819 * elf/tst-unique4lib.cc: New file.
40820 * elf/Makefile: Add rules to build and run tst-unique4.
40821 Patch by Piotr Bury <pbury@goahead.com>.
40822
22836f52
UD
408232011-05-11 Ulrich Drepper <drepper@gmail.com>
40824
f574184a
UD
40825 [BZ #12052]
40826 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40827
e1fb097f
UD
40828 [BZ #12625]
40829 * misc/mntent_r.c (addmntent): Flush the stream after the output
40830
22836f52
UD
40831 [BZ #12393]
40832 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40833 (is_trusted_path_normalize): Skip initial colon. Append slash
40834 to empty buffer. Duplicate is_trusted_path code but allow
40835 constructed patch to be prefix.
40836 (is_dst): Allow $ORIGIN followed by /.
40837 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40838 Correct testing of result of is_trusted_path_normalize
40839 (decompose_rpath): Fix warning.
40840
7b3b0b2a
UD
408412011-05-10 Ulrich Drepper <drepper@gmail.com>
40842
40843 [BZ #11257]
40844 * grp/initgroups.c (internal_getgrouplist): When we found the service
40845 list through the initgroups entry in nsswitch.conf do not always
40846 continue on a successful lookup. Don't always use the
eac80ce2 40847 __nss_group_database value if it is set.
7b3b0b2a
UD
40848 * nss/nsswitch.conf (initgroups): Change action for successful db
40849 lookup to continue for compatibility.
40850
2a81eaa5
UD
408512011-05-09 Ulrich Drepper <drepper@gmail.com>
40852
be97a69e
UD
40853 [BZ #11532]
40854 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40855 and CP774 modules.
40856 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40857 and CP774 modules.
40858 * iconvdata/tst-tables.sh: Likewise.
40859 * iconvdata/cp770.c: New file.
40860 * iconvdata/cp771.c: New file.
40861 * iconvdata/cp772.c: New file.
40862 * iconvdata/cp773.c: New file.
40863 * iconvdata/cp774.c: New file.
40864 * iconvdata/testdata/CP770: New file.
40865 * iconvdata/testdata/CP770..UTF8: New file.
40866 * iconvdata/testdata/CP771: New file.
40867 * iconvdata/testdata/CP771..UTF8: New file.
40868 * iconvdata/testdata/CP772: New file.
40869 * iconvdata/testdata/CP772..UTF8: New file.
40870 * iconvdata/testdata/CP773: New file.
40871 * iconvdata/testdata/CP773..UTF8: New file.
40872 * iconvdata/testdata/CP774: New file.
40873 * iconvdata/testdata/CP774..UTF8: New file.
40874
40875 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40876 END CHARMAP line.
40877 * iconvdata/gen-8bit-gap.sh: Likewise.
40878 * iconvdata/gen-8bit.sh: Likewise.
40879
c1e9e399
UD
40880 * locale/iso-639.def: Add ary entry.
40881
24c55fb3 40882 [BZ #11258]
96b4b1b0
UD
40883 * locale/C-translit.h.in: Add U20A1 transliteration.
40884
bdc2f971
KB
40885 [BZ #12178]
40886 * locale/iso-639.def: Add wae entry.
40887 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40888
2952b117
UD
40889 [BZ #12545]
40890 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40891 for n.
40892
2a81eaa5
UD
40893 [BZ #12711]
40894 * locale/C-translit.h.in: Add entry for U20B9.
40895 Patch by pravin.d.s@gmail.com.
40896
28377d1b
UD
408972011-05-08 Ulrich Drepper <drepper@gmail.com>
40898
7fb90fb8
UD
40899 [BZ #12713]
40900 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40901 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40902 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40903 in rtld. Use *stat64.
7fb90fb8 40904 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40905 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40906 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40907 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40908 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40909 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40910 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40911 __fstatat64 macros.
7fb90fb8
UD
40912 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40913 * dirent/rewinddir.c: Add libc_hidden_def.
40914 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40915 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40916
28377d1b
UD
40917 * include/dirent.h (__alloc_dir): Add flags parameter.
40918 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40919 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40920 __alloc_dir.
40921 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40922 from fdopendir if O_CLOEXEC is already set.
40923
66bdbaa4
AM
409242011-03-15 Alan Modra <amodra@gmail.com>
40925
40926 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40927 l_tls_firstbyte_offset non-zero. Save padding offset in
40928 l_tls_firstbyte_offset for later use.
40929 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40930 freeing static tls block.
40931
95721191
JN
409322011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40933
40934 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40935 where #ifdef was intended. The intent is to prevent ARG_MAX from
40936 being defined by the kernel headers.
40937
f87dfb1f
UD
409382011-05-07 Ulrich Drepper <drepper@gmail.com>
40939
40940 [BZ #12734]
40941 * resolv/resolv.h: Define RES_NOTLDQUERY.
40942 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40943 no-tld-query and set RES_NOTLDQUERY.
40944 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40945 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40946 modern BIND to search name as TLD unless forbidden.
40947
47c3cd7a
UD
409482011-05-07 Petr Baudis <pasky@suse.cz>
40949 Ulrich Drepper <drepper@gmail.com>
40950
40951 [BZ #12393]
40952 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40953 (is_trusted_path): ...to here.
c1e9ea35 40954 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40955 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40956 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40957
8a35c912
PP
409582011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40959
40960 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40961 __BEGIN/__END_DECLS.
40962
acd41f47
UD
409632011-05-06 Ulrich Drepper <drepper@gmail.com>
40964
40965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40966 NSS_STATUS_NOTFOUND if no record was found.
40967
597df647
AS
409682011-05-05 Andreas Schwab <schwab@redhat.com>
40969
40970 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40971 (headers-not-in-tirpc): Remove rpc/netdb.h
40972 * resolv/netdb.h: Revert last change.
40973
b9af1301
PP
409742011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40975
40976 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40977 circular dependency between libgcc.a and libc.a.
40978
4e34d5f5
AS
409792011-05-05 Andreas Schwab <schwab@redhat.com>
40980
40981 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40982 * nis/Makefile: Don't install rpcsvc/*.
40983 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40984 instead of <rpc/types.h>.
40985 (MAXHOSTNAMELEN): Define.
40986
00ee369c
AS
409872011-05-03 Andreas Schwab <schwab@redhat.com>
40988
40989 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40990
0b592a30
MB
409912011-04-28 Maciej Babinski <mbabinski@google.com>
40992
40993 [BZ #12714]
40994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40995 gethostbyname4_r when IPv6 results are possible.
40996
6e04cbbe
UD
409972011-05-02 Ulrich Drepper <drepper@gmail.com>
40998
40999 [BZ #12723]
41000 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41001 _PC_PIPE_BUF handling.
41002
e4ecafe0
BH
410032011-04-30 Bruno Haible <bruno@clisp.org>
41004
41005 [BZ #12717]
41006 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41007 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41008 to 'int'.
41009 * inet/getnameinfo.c (getnameinfo): Likewise.
41010
125ee683
UD
410112011-04-29 Ulrich Drepper <drepper@gmail.com>
41012
41013 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41014 to groups setting in database lookup.
41015 * nss/nsswitch.conf: Add initgroups entry.
41016
b722481a
EB
410172011-04-22 Ulrich Drepper <drepper@gmail.com>
41018
41019 [BZ #12685]
41020 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41021 mode string.
41022 Patch by Eric Blake <eblake@redhat.com>.
41023
4df46dbd
L
410242011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41025
41026 * sunrpc/Makefile (need-export-routines): Add svc_run.
41027 (routines): Remove svc_run.
41028 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41029 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41030 * sunrpc/svc_run.c (svc_run): Likewise.
41031 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41032
e84142d2
UD
410332011-04-21 Ulrich Drepper <drepper@gmail.com>
41034
41035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41036 problem in reallocation in last patch.
41037
877175d8
UD
410382011-04-20 Ulrich Drepper <drepper@gmail.com>
41039
41040 * sunrpc/Makefile: Move inclusion of Rules.
41041
ab8eed78
UD
410422011-04-19 Ulrich Drepper <drepper@gmail.com>
41043
41044 * nss/nss_files/files-initgroups.c: New file.
41045 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41046 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41047 _nss_files_initgroups_dyn.
41048
e3d8f584
RS
410492011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41050
41051 * elf/elf.h (R_ARM_IRELATIVE): Define.
41052
af190f45
UD
410532011-04-19 Ulrich Drepper <drepper@gmail.com>
41054
41055 * po/ru.po: Update from translation team.
41056
53cf59ef
UD
410572011-04-17 Ulrich Drepper <drepper@gmail.com>
41058
41059 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41060 dependencies.
41061
4c559bcd
MF
410622011-02-06 Mike Frysinger <vapier@gentoo.org>
41063
41064 [BZ #12653]
41065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41066 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41069 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41070
4420675c
AS
410712011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41072
41073 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41074 differing bytes.
41075 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41076 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41078
75ea32ab
UD
410792011-04-17 Ulrich Drepper <drepper@gmail.com>
41080
41081 [BZ #12420]
41082 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41083 storing it.
41084 * stdlib/bug-getcontext.c: New file.
41085 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41086
27390476
AK
410872011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41088
41089 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41090 instructions into .machine "z9-109".
41091 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41092 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41093
10442705
AK
410942011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41095
41096 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41097 between environment variables and auxiliary vector.
41098
7b57bfe5
UD
410992011-04-16 Ulrich Drepper <drepper@gmail.com>
41100
41101 * Makefile: Add rules to build linkobj/libc.so.
41102 * include/libc-symbols.h: Define libc_hidden_nolink.
41103 * include/rpc/auth.h: Mark functions which are to be hidden.
41104 * include/rpc/auth_des.h: Likewise.
41105 * include/rpc/auth_unix.h: Likewise.
41106 * include/rpc/clnt.h: Likewise.
41107 * include/rpc/des_crypt.h: Likewise.
41108 * include/rpc/key_prot.h: Likewise.
41109 * include/rpc/pmap_clnt.h: Likewise.
41110 * include/rpc/pmap_prot.h: Likewise.
41111 * include/rpc/pmap_rmt.h: Likewise.
41112 * include/rpc/rpc_msg.h: Likewise.
41113 * include/rpc/svc.h: Likewise.
41114 * include/rpc/svc_auth.h: Likewise.
41115 * include/rpc/xdr.h: Likewise.
41116 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41117 * nss/Makefile: Likewise.
41118 * sunrpc/Makefile: Don't install headers. Build library with normal
41119 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41120 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41121 for the compat linking library. Remove use of INTDEF/INTUSE.
41122 * sunrpc/auth_none.c: Likewise.
41123 * sunrpc/auth_unix.c: Likewise.
41124 * sunrpc/authdes_prot.c: Likewise.
41125 * sunrpc/authuxprot.c: Likewise.
41126 * sunrpc/clnt_gen.c: Likewise.
41127 * sunrpc/clnt_perr.c: Likewise.
41128 * sunrpc/clnt_raw.c: Likewise.
41129 * sunrpc/clnt_simp.c: Likewise.
41130 * sunrpc/clnt_tcp.c: Likewise.
41131 * sunrpc/clnt_udp.c: Likewise.
41132 * sunrpc/clnt_unix.c: Likewise.
41133 * sunrpc/des_crypt.c: Likewise.
41134 * sunrpc/des_soft.c: Likewise.
41135 * sunrpc/get_myaddr.c: Likewise.
41136 * sunrpc/key_call.c: Likewise.
41137 * sunrpc/key_prot.c: Likewise.
41138 * sunrpc/netname.c: Likewise.
41139 * sunrpc/pm_getmaps.c: Likewise.
41140 * sunrpc/pm_getport.c: Likewise.
41141 * sunrpc/pmap_clnt.c: Likewise.
41142 * sunrpc/pmap_prot.c: Likewise.
41143 * sunrpc/pmap_prot2.c: Likewise.
41144 * sunrpc/pmap_rmt.c: Likewise.
41145 * sunrpc/publickey.c: Likewise.
41146 * sunrpc/rpc_cmsg.c: Likewise.
41147 * sunrpc/rpc_common.c: Likewise.
41148 * sunrpc/rpc_dtable.c: Likewise.
41149 * sunrpc/rpc_prot.c: Likewise.
41150 * sunrpc/rpc_thread.c: Likewise.
41151 * sunrpc/rtime.c: Likewise.
41152 * sunrpc/svc.c: Likewise.
41153 * sunrpc/svc_auth.c: Likewise.
41154 * sunrpc/svc_authux.c: Likewise.
41155 * sunrpc/svc_raw.c: Likewise.
41156 * sunrpc/svc_run.c: Likewise.
41157 * sunrpc/svc_simple.c: Likewise.
41158 * sunrpc/svc_tcp.c: Likewise.
41159 * sunrpc/svc_udp.c: Likewise.
41160 * sunrpc/svc_unix.c: Likewise.
41161 * sunrpc/svcauth_des.c: Likewise.
41162 * sunrpc/xcrypt.c: Likewise.
41163 * sunrpc/xdr.c: Likewise.
41164 * sunrpc/xdr_array.c: Likewise.
41165 * sunrpc/xdr_float.c: Likewise.
41166 * sunrpc/xdr_intXX_t.c: Likewise.
41167 * sunrpc/xdr_mem.c: Likewise.
41168 * sunrpc/xdr_rec.c: Likewise.
41169 * sunrpc/xdr_ref.c: Likewise.
41170 * sunrpc/xdr_sizeof.c: Likewise.
41171 * sunrpc/xdr_stdio.c: Likewise.
41172
e6c61494
UD
411732011-04-10 Ulrich Drepper <drepper@gmail.com>
41174
41175 [BZ #12650]
41176 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41177 * sysdeps/ia64/dl-tls.h: Likewise.
41178 * sysdeps/powerpc/dl-tls.h: Likewise.
41179 * sysdeps/s390/dl-tls.h: Likewise.
41180 * sysdeps/sh/dl-tls.h: Likewise.
41181 * sysdeps/sparc/dl-tls.h: Likewise.
41182 * sysdeps/x86_64/dl-tls.h: Likewise.
41183 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41184
34fe483e
AS
411852011-03-14 Andreas Schwab <schwab@redhat.com>
41186
41187 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41188 rpath element also skip the following colon.
41189 (expand_dynamic_string_token): Add is_path parameter and pass
41190 down to DL_DST_REQUIRED and _dl_dst_substitute.
41191 (decompose_rpath): Call expand_dynamic_string_token with
41192 non-zero is_path. Ignore empty rpaths.
41193 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41194 with zero is_path.
41195
f12a32e6
AS
411962011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41197
41198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41199 Make cancelable.
41200
38a7d692
UD
412012011-04-09 Ulrich Drepper <drepper@gmail.com>
41202
41203 [BZ #12655]
41204 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41205 Patch by Filipe David Manana <fdmanana@apache.org>.
41206
e451d22b
AS
412072011-04-07 Andreas Schwab <schwab@redhat.com>
41208
41209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41210 Maintain aligned stack.
41211 (CHECK_RSP): Remove unused macro.
41212
dedc7c7b
UD
412132011-04-03 Ulrich Drepper <drepper@gmail.com>
41214
41215 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41216 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41217
94521213
UD
412182011-04-02 Ulrich Drepper <drepper@gmail.com>
41219
41220 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41221
8cb700c0 41222 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41223
0354e355
L
412242011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41225
41226 [BZ #12518]
41227 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41228 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41229 * sysdeps/x86_64/memmove.c: New file.
41230 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41231 (memcpy): Renamed to ...
41232 (__new_memcpy): This.
41233 (memcpy): Provide GLIBC_2_14 memcpy.
41234 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41235 (memcpy): Provide GLIBC_2_2_5 memcpy.
41236
8593482f
UD
412372011-04-01 Ulrich Drepper <drepper@gmail.com>
41238
41239 [BZ #12631]
41240 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41241
81a5726b
AS
412422011-03-30 Andreas Schwab <schwab@redhat.com>
41243
41244 * misc/syncfs.c: New file.
41245 * misc/Makefile (routines): Add syncfs.
41246 * posix/unistd.h: Declare syncfs.
41247 * sysdeps/unix/syscalls.list: Add syncfs.
41248
00e5419f
AS
412492011-04-01 Andreas Schwab <schwab@redhat.com>
41250
41251 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41252 open_by_handle_at.
41253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41254 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41258 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41260
748876bf
UD
412612011-04-01 Ulrich Drepper <drepper@gmail.com>
41262
658e451d
UD
41263 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41264 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41265 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41269 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41270
748876bf
UD
41271 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41272 sync_file_range.c with -fexceptions.
41273 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41274 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41275 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41276 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41277 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41278 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41280 sync_file_range as cancellation point
41281 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41282 now a wrapper around __call_sync_file_range with cancellation handling.
41283 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41284 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41285 function name to __call_sync_file_range.
41286 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41287 Add call_sync_file_range.
748876bf 41288
6e63d5e1
AS
412892011-04-01 Andreas Schwab <schwab@redhat.com>
41290
41291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41292 bits/timex.h.
6e63d5e1 41293
46998f74
UD
412942011-04-01 Ulrich Drepper <drepper@gmail.com>
41295
4c1423ed
UD
41296 * iconv/iconv.h: Fix typo in comment.
41297 * io/fcntl.h: Likewise.
41298 * libio/stdio.h: Likewise.
41299 * posix/spawn.h: Likewise.
41300 * posix/unistd.h: Likewise.
41301 * stdlib/stdlib.h: Likewise.
41302 * time/time.h: Likewise.
41303 * wcsmbs/wchar.h: Likewise.
41304
158648c0
UD
41305 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41306 open_by_handle): Add.
41307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41308 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41309 Augment a few comments.
41310 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41312 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41314 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41315 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41316 open_by_handle.
41317
46998f74
UD
41318 * io/fcntl.h (AT_EMPTY_PATH): Define.
41319
83fe108b
UD
413202011-03-30 Ulrich Drepper <drepper@gmail.com>
41321
41322 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41323 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41324 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41325 to...
41326 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41327 * Versions.def: Add GLIBC_2.14.
41328 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41329 Export.
83fe108b 41330
bb242059
UD
413312011-03-22 Ulrich Drepper <drepper@gmail.com>
41332
41333 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41334 round counter.
41335 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41336
c97a1282
L
413372011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41338
41339 [BZ #12597]
41340 * string/test-strncmp.c (do_page_test): New function.
41341 (check2): Likewise.
41342 (test_main): Call check2.
41343 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41344
2a115601
UD
413452011-03-20 Ulrich Drepper <drepper@gmail.com>
41346
41347 [BZ #12587]
41348 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41349 Handle cache information in CPU leaf 4.
41350 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41351
8126d904
UD
413522011-03-18 Ulrich Drepper <drepper@gmail.com>
41353
042c49c6 41354 [BZ #12583]
8126d904
UD
41355 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41356 character representation.
41357 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41358
ccfe366e
RA
413592011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41360
41361 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41362 END(__isnan) to END(__isnanf) to match function entry point/label
41363 EALIGN(__isnanf,...).
41364
c6e13027
JJ
413652011-03-10 Jakub Jelinek <jakub@redhat.com>
41366
41367 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41368
33f85a3f
UD
413692011-03-10 Ulrich Drepper <drepper@gmail.com>
41370
028478fa
UD
41371 [BZ #12510]
41372 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41373 copy from the symbol referenced in the relocation to initialize the
41374 used variable.
41375 Patch by Piotr Bury <pbury@goahead.com>.
41376 * elf/Makefile: Add rules to build and tst-unique3.
41377 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41378 * elf/tst-unique3.cc: New file.
41379 * elf/tst-unique3.h: New file.
41380 * elf/tst-unique3lib.cc: New file.
41381 * elf/tst-unique3lib2.cc: New file.
41382
33f85a3f
UD
41383 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41384
03592fc7
MF
413852011-03-10 Mike Frysinger <vapier@gentoo.org>
41386
41387 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41388 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41389 to _start.
03592fc7 41390
6a5ee102
UD
413912011-03-06 Ulrich Drepper <drepper@gmail.com>
41392
41393 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41394 to-be-loaded object along a path to loader is ld.so.
41395
7e4ba49c
HJ
413962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41397 Ulrich Drepper <drepper@gmail.com>
41398
41399 * sysdeps/x86_64/memset.S: After aligning destination, code
41400 branches to different locations depending on the value of
41401 misalignment, when multiarch is enabled. Fix this.
41402
414032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41404
41405 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41406 Set _x86_64_preferred_memory_instruction for AMD processsors.
41407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41408 Set bit_Prefer_SSE_for_memop for AMD processors.
41409
13a804de
UD
414102011-03-04 Ulrich Drepper <drepper@gmail.com>
41411
41412 * libio/fmemopen.c (fmemopen): Optimize a bit.
41413
9d25c392
AS
414142011-03-03 Andreas Schwab <schwab@redhat.com>
41415
41416 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41417
a5543c6a
RM
414182011-03-03 Roland McGrath <roland@redhat.com>
41419
41420 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41421
012d35f7
DM
414222011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41423
7e4ba49c 41424 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41425 __bzero_ultra1 instead of __memset_ultra1.
41426
4bff6e01
AS
414272011-02-23 Andreas Schwab <schwab@redhat.com>
41428 Ulrich Drepper <drepper@gmail.com>
41429
41430 [BZ #12509]
41431 * include/link.h (struct link_map): Add l_orig_initfini.
41432 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41433 returning unsuccessfully.
41434 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41435 close of a file loaded at startup, restore the original l_initfini
41436 list.
41437 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41438 list, store the pointer.
41439 * elf/Makefile ($(objpfx)noload-mem): New rule.
41440 (noload-ENV): Define.
41441 (tests): Add $(objpfx)noload-mem.
41442 * elf/noload.c: Include <memcheck.h>.
41443 (main): Call mtrace. Close all opened handles.
41444
f2092faf
AS
414452011-02-17 Andreas Schwab <schwab@redhat.com>
41446
41447 [BZ #12454]
41448 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41449 dependencies are missing.
41450
6c8a2e88
ST
414512011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41452
f2092faf 41453 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41454 Hurd needs munmap.
41455 * sysdeps/mach/hurd/ifreq.h: New file.
41456
84a42118
PB
414572011-01-27 Petr Baudis <pasky@suse.cz>
41458 Ulrich Drepper <drepper@gmail.com>
41459
071f805e 41460 [BZ 12445]#
84a42118
PB
41461 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41462 to extend_alloca().
41463 * stdio-common/bug23.c: New file.
41464 * stdio-common/Makefile (tests): Add bug23.
41465
e23fe25b
AS
414662010-09-28 Andreas Schwab <schwab@redhat.com>
41467 Ulrich Drepper <drepper@gmail.com>
41468
41469 [BZ #12489]
41470 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41471 before performing relro protection. At old place add assertion
41472 to make sure nothing changed.
41473
d3f02e10
NS
414742011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41475 Glauber de Oliveira Costa <glommer@gmail.com>
41476
41477 * elf/elf.h: Add new ARM TLS relocs.
41478
d55fd7a5
RA
414792011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41480
41481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41482 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41483 cast from r3.
41484 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41485 'tests' variable.
41486 * sysdeps/wordsize-64/tst-writev.c: New file.
41487
2206397e
RA
414882011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41489
41490 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41491 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41492 insns in _dl_start to prevent a TOC reference before relocs are
41493 resolved.
41494
e9433893
UD
414952011-02-15 Ulrich Drepper <drepper@gmail.com>
41496
41497 [BZ #12469]
41498 * Makeconfig: Remove RANLIB definition.
41499 * Makerules: Don't use RANLIB.
41500 * aclocal.m4: Remove ranlib test.
41501 * configure.in: No need to check for ranlib.
41502 * elf/rtld-Rules: Don't use RANLIB.
41503
f75286c6
ST
415042011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41505
8e31c82d
ST
41506 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41507 protection macro.
41508 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41509 inclusion protection macro.
41510
f75286c6
ST
41511 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41512 SIGRTMIN and SIGRTMAX and print information in that case only when
41513 SIGRTMIN is defined.
41514
c1d0e639
JJ
415152011-02-11 Jakub Jelinek <jakub@redhat.com>
41516
41517 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41518 arginfo fn returning -1.
41519
41520 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41521 and thousands string is zero terminated.
41522
edf9294e
AS
415232011-02-03 Andreas Schwab <schwab@redhat.com>
41524
41525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41526 sysdeps/unix/sysv/linux/bits/socket.h.
41527
2b7e92df
ST
415282011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41529
edf9294e
AS
41530 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41531 (__CPU_COUNT): Remove old macros.
41532 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41533 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41534 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41535 (__sched_cpualloc, __sched_cpufree): Add declarations.
41536
a4c7ea7b
UD
415372011-02-05 Ulrich Drepper <drepper@gmail.com>
41538
41539 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41540 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41541 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41542 (readdhstai): Return value of addhstaiX call.
41543 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41544 (addgrbyX): Return value returned by cache_addgr.
41545 (readdgrbyname): Return value returned by addgrbyX.
41546 (readdgrbygid): Likewise.
41547 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41548 (addpwbyX): Return value returned by cache_addpw.
41549 (readdpwbyname): Return value returned by addhstbyX.
41550 (readdpwbyuid): Likewise.
41551 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41552 (addservbyX): Return value returned by cache_addserv.
41553 (readdservbyname): Return value returned by addservbyX:
41554 (readdservbyport): Likewise.
41555 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41556 (addhstbyX): Return value returned by cache_addhst.
41557 (readdhstbyname): Return value returned by addhstbyX.
41558 (readdhstbyaddr): Likewise.
41559 (readdhstbynamev6): Likewise.
41560 (readdhstbyaddrv6): Likewise.
41561 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41562 (readdinitgroups): Return value returned by addinitgroupsX.
41563 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41564 (prune_cache): Keep track of timeout value of re-added entries.
41565 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41566 * nscd/nscd.h: Adjust prototypes of readd* functions.
41567
a0bf67cc
RM
415682011-02-04 Roland McGrath <roland@redhat.com>
41569
41570 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41571 (nis_stats): Likewise.
41572 * nis/nis_modify.c (nis_modify): Likewise.
41573 * nis/nis_remove.c (nis_remove): Likewise.
41574 * nis/nis_add.c (nis_add): Likewise.
41575
41576 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41577
41578 * posix/fnmatch_loop.c: Add some consts.
41579
41580 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41581
435b95eb
L
415822011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41583
41584 [BZ #12460]
41585 * config.make.in (config-cflags-novzeroupper): Define.
41586 * configure.in: Substitute libc_cv_cc_novzeroupper.
41587 * elf/Makefile (AVX-CFLAGS): Define.
41588 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41589 (CFLAGS-tst-auditmod4a.c): Likewise.
41590 (CFLAGS-tst-auditmod4b.c): Likewise.
41591 (CFLAGS-tst-auditmod6b.c): Likewise.
41592 (CFLAGS-tst-auditmod6c.c): Likewise.
41593 (CFLAGS-tst-auditmod7b.c): Likewise.
41594 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41595
8517b15e
UD
415962011-02-02 Ulrich Drepper <drepper@gmail.com>
41597
41598 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41599 function to the callback.
41600 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41601
10a656fe
AS
416022011-02-02 Andreas Schwab <schwab@redhat.com>
41603
41604 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41605 of errno.
41606
968dad0a
UD
416072011-01-19 Ulrich Drepper <drepper@gmail.com>
41608
9f94d2ea 41609 [BZ #11724]
968dad0a
UD
41610 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41611 of constructors.
41612 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41613 of destructors.
41614 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41615
41616 [BZ #11724]
41617 * elf/Makefile: Add rules to build and run new test.
41618 * elf/tst-initorder.c: New file.
41619 * elf/tst-initorder.exp: New file.
41620 * elf/tst-initordera1.c: New file.
41621 * elf/tst-initordera2.c: New file.
41622 * elf/tst-initordera3.c: New file.
41623 * elf/tst-initordera4.c: New file.
41624 * elf/tst-initorderb1.c: New file.
41625 * elf/tst-initorderb2.c: New file.
41626 * elf/tst-order-a1.c: New file.
41627 * elf/tst-order-a2.c: New file.
41628 * elf/tst-order-a3.c: New file.
41629 * elf/tst-order-a4.c: New file.
41630 * elf/tst-order-b1.c: New file.
41631 * elf/tst-order-b2.c: New file.
41632 * elf/tst-order-main.c: New file.
41633 New test case by George Gensure <werkt0@gmail.com>.
41634
86e92359
UD
416352010-10-01 Andreas Schwab <schwab@redhat.com>
41636
41637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41638 decoding ACE if AI_CANONIDN.
41639
5d5732b0
UD
416402011-01-18 Ulrich Drepper <drepper@gmail.com>
41641
41642 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41643
a77e8cbc
UD
416442011-01-17 Ulrich Drepper <drepper@gmail.com>
41645
6392473f
UD
41646 * version.h (RELEASE): Bump for 2.13 release.
41647 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41648
620a0529
UD
41649 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41650
18ba70a5
UD
41651 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41652 MADV_NOHUGEPAGE.
32465c3e
UD
41653 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41654 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41655 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41656 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41657 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41658 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41659
c0dafcf1
UD
41660 * posix/getconf.c: Update copyright year.
41661 * catgets/gencat.c: Likewise.
41662 * csu/version.c: Likewise.
41663 * debug/catchsegv.sh: Likewise.
41664 * debug/xtrace.sh: Likewise.
41665 * elf/ldconfig.c: Likewise.
41666 * elf/ldd.bash.in: Likewise.
41667 * elf/sprof.c (print_version): Likewise.
41668 * iconv/iconv_prog.c: Likewise.
41669 * iconv/iconvconfig.c: Likewise.
41670 * locale/programs/locale.c: Likewise.
41671 * locale/programs/localedef.c: Likewise.
41672 * malloc/memusage.sh: Likewise.
41673 * malloc/mtrace.pl: Likewise.
41674 * nscd/nscd.c (print_version): Likewise.
41675 * nss/getent.c: Likewise.
41676
a77e8cbc
UD
41677 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41678 PF_CAIF, and PF_ALG.
41679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41680
77e8bddf
AS
416812011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41682
1f20b93a
AS
41683 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41684 (modules-names): Use them.
41685 (ifunc-test-modules, ifunc-pie-tests): Define.
41686 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41687 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41688 (test-extras): Likewise.
41689 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41690 $(compile-command.c).
41691 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41692 (all-built-dso): Define.
41693 (check-textrel.out, check-execstack.out): Depend on it.
41694
77e8bddf
AS
41695 * configure.in: Don't override --enable-multi-arch.
41696
bc425b33
UD
416972011-01-15 Ulrich Drepper <drepper@gmail.com>
41698
41699 [BZ #6812]
41700 * nscd/hstcache.c (tryagain): Define.
41701 (cache_addhst): Return tryagain not notfound for temporary errors.
41702 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41703 failed.
41704
794c3ad3
UD
417052011-01-14 Ulrich Drepper <drepper@gmail.com>
41706
70181fdd
UD
41707 [BZ #10563]
41708 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41709 to make the syscall.
41710 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41711
794c3ad3
UD
41712 [BZ #12378]
41713 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41714 and fall back to matching as normal character if the string ends before
41715 the matching ']' is found. This is what POSIX requires.
41716 * posix/testfnm.c: Adjust test result.
41717 * posix/globtest.sh: Adjust test result. Add new test.
41718 * posix/tst-fnmatch.input: Likewise.
41719 * posix/tst-fnmatch2.c: Add new test.
41720
68dc9497
AS
417212010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41722
41723 * elf/Makefile (check-execstack): Revert last change. Depend on
41724 check-execstack.h.
41725 (check-execstack.h): New target.
41726 (generated): Add check-execstack.h.
41727 * elf/check-execstack.c: Include "check-execstack.h".
41728 (main): Revert last change.
41729 (handle_file): Return zero if GNU_STACK is absent and
41730 DEFAULT_STACK_PERMS doesn't include PF_X.
41731
451f001b
UD
417322011-01-13 Ulrich Drepper <drepper@gmail.com>
41733
cfa28e56
UD
41734 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41735 in child fails because the descriptor is already closed.
8cf8ce17
UD
41736 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41737 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41738 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41739
1086d70d
UD
41740 [BZ #12397]
41741 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41742 syscall.
41743
451f001b
UD
41744 [BZ #10484]
41745 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41746 temporary buffer used to handle multi lookups locally.
a85b5cb4 41747 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41748
08769175
UD
417492011-01-12 Ulrich Drepper <drepper@gmail.com>
41750
41751 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41752 loader is ld.so.
41753
5e49c52e
UD
417542011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41755
41756 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41757 alignment for SSE2.
41758
60522a5f
UD
417592011-01-12 Ulrich Drepper <drepper@gmail.com>
41760
41761 [BZ #12394]
41762 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41763 characters. When rounding increased number of integer digits recompute
41764 number of groups.
41765 * stdio-common/tst-grouping.c: New file.
41766 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41767
f257bbd7
UD
417682011-01-09 Ulrich Drepper <drepper@gmail.com>
41769
41770 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41771 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41772
41773 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41774 void.
41775 * bits/select.h: Likewise.
41776
fa9c15cb
UD
417772011-01-08 Ulrich Drepper <drepper@gmail.com>
41778
41779 * po/ja.po: Update from translation team.
41780
16c2895f
DM
417812011-01-04 David S. Miller <davem@sunset.davemloft.net>
41782
41783 [BZ #11155]
41784 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41785 implementation just like for lxstat, fxstatat, et al.
41786
2543fef2
JM
417872010-12-27 Jim Meyering <meyering@redhat.com>
41788
41789 [BZ #12348]
41790 * posix/regexec.c (build_trtable): Return failure indication upon
41791 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41792
98727dbe
UD
417932010-12-25 Ulrich Drepper <drepper@gmail.com>
41794
5bd6dc5c
UD
41795 [BZ #12201]
41796 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41797 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41798 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41799 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41800
97983464
UD
41801 [BZ #12207]
41802 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41803
98727dbe
UD
41804 [BZ #12204]
41805 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41806 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41807
4a531bb0
L
418082010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41809
41810 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41811 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41812 script has SORT_BY_INIT_PRIORITY.
41813 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41814 NO_CTORS_DTORS_SECTIONS is defined.
41815 * elf/soinit.c: Likewise.
41816 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41817 NO_CTORS_DTORS_SECTIONS is defined.
41818 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41819 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41820 * sysdeps/sh/init-first.c: Likewise.
41821 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41822
07eb4b71
UD
418232010-12-24 Ulrich Drepper <drepper@gmail.com>
41824
41825 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41826 always use the slow path.
41827
30950a5f
RA
418282010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41829
41830 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41831 similar rule which adds the sysdep directories to the header search in
41832 order to pick up the correct platform stackinfo.h.
41833 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41834 perform test if it is, otherwise return successfully without testing.
41835 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41836 DEFAULT_STACK_PERMS define in stackinfo.h.
41837 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41838 defined in stackinfo.h.
41839 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41840 DEFAULT_STACK_PERMS defined in stackinfo.h.
41841 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41842 * sysdeps/ia64/stackinfo.h: Likewise.
41843 * sysdeps/s390/stackinfo.h: Likewise.
41844 * sysdeps/sh/stackinfo.h: Likewise.
41845 * sysdeps/sparc/stackinfo.h: Likewise.
41846 * sysdeps/x86_64/stackinfo.h: Likewise.
41847 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41848 PF_X for powerpc64. Retain PF_X for powerpc32.
41849
db753e2c
UD
418502010-12-19 Ulrich Drepper <drepper@gmail.com>
41851
14b697f7
UD
41852 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41853 accurately.
db753e2c
UD
41854 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41855 GETDENTS_64BIT_ALIGNED.
41856
28300719
UD
418572010-12-14 Ulrich Drepper <dreper@gmail.com>
41858
14b697f7 41859 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41860
4f197237
AS
418612010-12-10 Andreas Schwab <schwab@redhat.com>
41862
dbb0472f
AS
41863 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41864 _GNU_SOURCE.
41865
4f197237
AS
41866 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41867 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41868 Remove __restrict.
41869 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41870 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41871
fb88ac72
UD
418722010-12-09 Ulrich Drepper <drepper@gmail.com>
41873
41874 [BZ #11655]
41875 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41876 are initialized.
41877
42acbb92
JJ
418782010-12-09 Jakub Jelinek <jakub@redhat.com>
41879
41880 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41881
c038d98d
UD
418822010-12-03 Ulrich Drepper <drepper@gmail.com>
41883
41884 * po/it.po: Update from translation team.
41885
3a4a2499
L
418862010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41887
41888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41889 unused codes.
41890
1e24cf6e
UD
418912010-11-30 Ulrich Drepper <drepper@gmail.com>
41892
41893 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41894
a7690819
AS
418952010-11-24 Andreas Schwab <schwab@redhat.com>
41896
41897 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41898 specially.
41899 (gaih_getanswer_slice): Likewise.
41900
3bf8d1b1
JJ
419012010-10-20 Jakub Jelinek <jakub@redhat.com>
41902
41903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41904
6db52fbb
PB
419052010-05-31 Petr Baudis <pasky@suse.cz>
41906
41907 [BZ #11149]
41908 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41909 silently even in the chroot mode.
41910
eaca7569
UD
419112010-11-22 Ulrich Drepper <drepper@gmail.com>
41912
41913 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41914 last patch a bit. Pretty printing
41915
3056dcdb
UD
419162010-05-31 Petr Baudis <pasky@suse.cz>
41917
41918 [BZ #10085]
41919 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41920 initialization of skip_initgroups_dyn.
41921
cf7c9078
UD
419222010-11-19 Ulrich Drepper <drepper@gmail.com>
41923
41924 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41925 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41926
a1fb5e3e
UD
419272010-11-16 Ulrich Drepper <drepper@gmail.com>
41928
41929 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41930
3540d66b
AS
419312010-11-11 Andreas Schwab <schwab@redhat.com>
41932
41933 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41934 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41935 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41936 ($(objpfx)tst-fnmatch-mem): New rule.
41937 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41938 * posix/tst-fnmatch.c (main): Call mtrace.
41939
13b69574
L
419402010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41941
41942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41943 Support Intel processor model 6 and model 0x2c.
41944
da93d214
LM
419452010-11-10 Luis Machado <luisgpm@br.ibm.com>
41946
41947 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41948 signed comparison.
41949
8ca52c6e
L
419502010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41951
41952 [BZ #12205]
41953 * string/test-strncasecmp.c (check_result): New function.
41954 (do_one_test): Use it.
41955 (check1): New function.
41956 (test_main): Use it.
41957 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41958 Support strcasecmp and strncasecmp.
41959
69da074d
UD
419602010-11-08 Ulrich Drepper <drepper@gmail.com>
41961
41962 [BZ #12194]
41963 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41965
ff02d528
L
419662010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41967
41968 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41969 IFUNC support.
41970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41971 memset-x86-64.
41972 * sysdeps/x86_64/multiarch/bzero.S: New file.
41973 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41974 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41975 * sysdeps/x86_64/multiarch/memset.S: New file.
41976 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41978 Set bit_Prefer_SSE_for_memop for Intel processors.
41979 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41980 Define.
41981 (index_Prefer_SSE_for_memop): Define.
41982 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41983
344d0b54
LM
419842010-11-04 Luis Machado <luisgpm@br.ibm.com>
41985
41986 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41987 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41988
c0dde15b
UD
419892010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41990
41991 [BZ #12191]
41992 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41993 (__x86_64_raw_data_cache_size_half): Likewise.
41994 (__x86_64_raw_shared_cache_size): Likewise.
41995 (__x86_64_raw_shared_cache_size_half): Likewise.
41996
41997 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41998 (__x86_64_raw_data_cache_size_half): Likewise.
41999 (__x86_64_raw_shared_cache_size): Likewise.
42000 (__x86_64_raw_shared_cache_size_half): Likewise.
42001 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42002 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42003 and __x86_64_raw_shared_cache_size_half. Round
42004 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42005 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42006 to multiple of 256 bytes.
42007
0e516e0e
MS
420082010-11-03 Ulrich Drepper <drepper@gmail.com>
42009
42010 [BZ #12167]
42011 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42012 of inacessible symlinks. Verify result of symlink before returning it.
42013 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42014 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42015
0e012e87
ER
420162010-10-28 Erich Ritz <erichritz@gmail.com>
42017
42018 * math/math.h (isinf): Fix typo in comment.
42019
de0ff7bc
UD
420202010-11-01 Ulrich Drepper <drepper@gmail.com>
42021
42022 * po/da.po: Update from translation team.
42023
fa41c84d
UD
420242010-10-26 Ulrich Drepper <drepper@gmail.com>
42025
42026 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42027 is added to the list.
42028
f0967738
AK
420292010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42030 Ulrich Drepper <drepper@gmail.com>
42031
42032 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42033 the global list here. Move code to...
42034 (_dl_add_to_namespace_list): ...here. New function.
42035 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42036 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42037 * elf/dl-load.c (lose): Don't remove the element from the list.
42038 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42039 (_dl_map_object): Likewise.
42040
420412010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42042
42043 [BZ #12159]
42044 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42045 into all bytes of SSE register.
42046 Patch by Richard Li <richardpku@gmail.com>.
42047
f0967738 420482010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42049
42050 [BZ #12140]
42051 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42052 perturbing.
42053
d0b9e94f
MB
420542010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42055
42056 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42057 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42058 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42059 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42061 submachine.
42062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42063
8e9f92e9
AS
420642010-10-22 Andreas Schwab <schwab@redhat.com>
42065
42066 * include/dlfcn.h (__RTLD_SECURE): Define.
42067 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42068 mode & __RTLD_SECURE instead.
42069 (open_path): Rename preloaded parameter to secure.
42070 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42071 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42072 * elf/dl-deps.c (openaux): Likewise.
42073 * elf/rtld.c (struct map_args): Remove is_preloaded.
42074 (map_doit): Don't use it.
42075 (dl_main): Likewise.
42076 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42077 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42078
bc96fbda
AS
420792010-09-09 Andreas Schwab <schwab@redhat.com>
42080
42081 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42082 (sysd-rules-targets): Remove duplicates.
42083 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42084 rtld-%.$o dependency.
42085
22cd1c9b
AS
420862010-10-18 Andreas Schwab <schwab@redhat.com>
42087
42088 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42089 _dl_map_object do it.
42090
18edac48
UD
420912010-10-19 Ulrich Drepper <drepper@gmail.com>
42092
42093 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42094 fast fma builtins, define the macros in the C99 standard.
42095 (FP_FAST_FMAF): Likewise.
42096 (FP_FAST_FMAL): Likewise.
42097 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42098
42099 * bits/mathdef.h: Update copyright year.
42100 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42101
d2050124
MM
421022010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42103
42104 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42105 builtins, define the macros in the C99 standard.
42106 (FP_FAST_FMAF): Likewise.
42107 (FP_FAST_FMAL): Likewise.
42108 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42109 multiply/add.
42110 (FP_FAST_FMAF): Likewise.
42111
475facd1
JJ
421122010-10-15 Jakub Jelinek <jakub@redhat.com>
42113
42114 [BZ #3268]
42115 * math/libm-test.inc (fma_test): Some new testcases.
42116 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42117 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42118 y and infinite z. Do multiplication by C already in long double.
42119 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42121 y and infinite z. Do bitwise or of inexact bit into u.d.
42122 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42123 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42124 * sysdeps/i386/fpu/s_fma.S: Removed.
42125 * sysdeps/i386/fpu/s_fmal.S: Removed.
42126
7c08a05c
JJ
421272010-10-16 Jakub Jelinek <jakub@redhat.com>
42128
42129 [BZ #3268]
42130 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42132 computation is not scheduled after fetestexcept. Fix value
42133 of minimum denormal long double.
42134
f3f7372d
JJ
421352010-10-14 Jakub Jelinek <jakub@redhat.com>
42136
42137 [BZ #3268]
42138 * math/libm-test.inc (fma_test): Add some more tests.
42139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42140 correctly.
42141
14d43591
AS
421422010-10-15 Andreas Schwab <schwab@redhat.com>
42143
42144 * scripts/data/localplt-s390-linux-gnu.data: New file.
42145 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42146
5e908464
JJ
421472010-10-13 Jakub Jelinek <jakub@redhat.com>
42148
42149 [BZ #3268]
42150 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42151 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42152 instead of dbl-64.
42153 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42154 inlines.
42155 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42157 if one of x and y is very large and the other is subnormal.
42158 * sysdeps/s390/fpu/s_fmaf.c: New file.
42159 * sysdeps/s390/fpu/s_fma.c: New file.
42160 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42161 * sysdeps/powerpc/fpu/s_fma.S: New file.
42162 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42163 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42164 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42165
421662010-10-12 Jakub Jelinek <jakub@redhat.com>
42167
42168 [BZ #3268]
42169 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42170 fma tests.
42171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42172 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42173 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42174 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42175 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42176 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42178
b833d51f
UD
421792010-10-12 Ulrich Drepper <drepper@redhat.com>
42180
42181 [BZ #12078]
42182 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42183 * posix/bug-regex31.input: Add test case.
42184
1751705d
UD
421852010-10-11 Ulrich Drepper <drepper@gmail.com>
42186
e9b9cbf5
UD
42187 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42188 * posix/bug-regex31.input: New file.
42189
42190 [BZ #12078]
42191 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42192 (parse_sub_exp): Fix last change, use postorder.
42193
ef06edbe
UD
42194 * posix/bug-regex31.c: New file.
42195 * posix/Makefile: Add rules to build and run bug-regex31.
42196
a129c80d
UD
42197 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42198
42199 [BZ #12078]
42200 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42201
b76b818e
UD
42202 [BZ #12108]
42203 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42204 to have entries in sys_siglist.
42205
1751705d
UD
42206 [BZ #12093]
42207 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42208 be NULL.
42209
9ff8d36f
JJ
422102010-10-07 Jakub Jelinek <jakub@redhat.com>
42211
42212 [BZ #3268]
42213 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42214 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42215 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42216 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42217 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42218 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42219 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42220 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42221 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42222 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42223 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42224 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42225 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42226 * math/ftestexcept.c (fetestexcept): Likewise.
42227 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42228 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42229 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42230 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42231 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42232 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42233 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42234
af325969
UD
422352010-10-11 Ulrich Drepper <drepper@gmail.com>
42236
c579b202 42237 [BZ #12107]
af325969
UD
42238 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42239 newline.
42240
67a67b95
UD
422412010-10-06 Ulrich Drepper <drepper@gmail.com>
42242
42243 * string/bug-strstr1.c: New file.
42244 * string/Makefile: Add rules to build and run bug-strstr1.
42245
5fb308bc
EB
422462010-10-05 Eric Blake <eblake@redhat.com>
42247
42248 [BZ #12092]
42249 * string/str-two-way.h (two_way_long_needle): Always clear memory
42250 when skipping input due to the shift table.
42251
45db99c7
UD
422522010-10-03 Ulrich Drepper <drepper@gmail.com>
42253
3b111893
UD
42254 [BZ #12005]
42255 * malloc/mcheck.c: Handle large requests.
42256
45db99c7
UD
42257 [BZ #12077]
42258 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42259 for strncmp and strncasecmp.
42260 * string/stratcliff.c: Add tests for strcmp and strncmp.
42261 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42262
cf7a1eb8
NI
422632010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42264
42265 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42266 __set_fpscr.
42267
6484ba5e
AJ
422682010-09-30 Andreas Jaeger <aj@suse.de>
42269
42270 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42271 (CGROUP_SUPER_MAGIC): Define.
42272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42273 Handle btrfs and cgroup file systems.
42274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42275 Likewise.
42276
91c42559
LM
422772010-09-27 Luis Machado <luisgpm@br.ibm.com>
42278
42279 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42280 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42281
87a97932
AK
422822010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42283
42284 [BZ #12067]
42285 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42286 trying to locate the ELF header.
42287
c21cc9bc
AS
422882010-09-27 Andreas Schwab <schwab@redhat.com>
42289
42290 [BZ #11611]
42291 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42292 Mask out sign-bit copies when constructing f_fsid.
42293
315970f6
PB
422942010-09-24 Petr Baudis <pasky@suse.cz>
42295
42296 * debug/stack_chk_fail_local.c: Add missing licence exception.
42297 * debug/warning-nop.c: Likewise.
42298
1ac7a2c7
JM
422992010-09-15 Joseph Myers <joseph@codesourcery.com>
42300
42301 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42302 implementing getdents64 using getdents syscall, set d_type if
42303 __ASSUME_GETDENTS32_D_TYPE.
42304
56801c50
AS
423052010-09-16 Andreas Schwab <schwab@redhat.com>
42306
42307 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42308 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42309
dda51327
UD
423102010-09-21 Ulrich Drepper <drepper@redhat.com>
42311
42312 [BZ #12037]
42313 * posix/unistd.h: Undo change of feature selection for ftruncate from
42314 2010-01-11.
42315
8ffcee4a
UD
423162010-09-20 Ulrich Drepper <drepper@redhat.com>
42317
a545ecd9 42318 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42319 detection.
42320
e24f0a8b
AS
423212010-09-20 Andreas Schwab <schwab@redhat.com>
42322
42323 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42324 fanotify_mark.
42325 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42326
7291c56f
AS
423272010-09-14 Andreas Schwab <schwab@redhat.com>
42328
42329 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42330 variables after CHECK_SP call.
42331 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42332
bc5fb037
AS
423332010-09-13 Andreas Schwab <schwab@redhat.com>
42334 Ulrich Drepper <drepper@redhat.com>
42335
42336 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42337 re-relocationg ld.so.
42338 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42339 _dl_init_paths call.
42340 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42341 here anymore.
42342
e66e7419
UD
423432010-09-14 Ulrich Drepper <drepper@redhat.com>
42344
42345 * resolv/res_init.c (__res_vinit): Count the default server we added.
42346
c044aa75
CLT
423472010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42348 Ulrich Drepper <drepper@redhat.com>
42349
42350 [BZ #11968]
42351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42352 (____longjmp_chk): Use %ebx for saving value across system call.
42353 Add unwind info.
42354
32cf4069
AS
423552010-09-06 Andreas Schwab <schwab@redhat.com>
42356
42357 * manual/Makefile: Don't mix pattern rules with normal rules.
42358
817328ee
AS
423592010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42360
42361 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42362 operation.
42363 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42364 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42365 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42366 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42368 Likewise.
42369
29fddf61
UD
423702010-09-04 Ulrich Drepper <drepper@redhat.com>
42371
42372 [BZ #11979]
42373 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42374 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42375
0959ffc9
UD
423762010-09-02 Ulrich Drepper <drepper@redhat.com>
42377
42378 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42379 * sysdeps/x86_64/addmul_1.S: Likewise.
42380 * sysdeps/x86_64/lshift.S: Likewise.
42381 * sysdeps/x86_64/mul_1.S: Likewise.
42382 * sysdeps/x86_64/rshift.S: Likewise.
42383 * sysdeps/x86_64/sub_n.S: Likewise.
42384 * sysdeps/x86_64/submul_1.S: Likewise.
42385
ece29840
ST
423862010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42387
0959ffc9
UD
42388 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42389 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42390 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42391 * bits/sched.h [__need_schedparam]
ece29840 42392 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42393 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42394 (__defined_schedparam): Define to 1.
ece29840
ST
42395 (__sched_param): New structure, identical to sched_param.
42396 (__need_schedparam): Undefine.
42397
e53a31fe
MF
423982010-08-31 Mike Frysinger <vapier@gentoo.org>
42399
fdc0c10d
MF
42400 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42401 (epoll_create1): Declare.
42402
e53a31fe
MF
42403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42404
a726d796
AS
424052010-08-31 Andreas Schwab <schwab@redhat.com>
42406
42407 [BZ #7066]
42408 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42409 shifting retval into place.
42410
2f3e3dc7
UD
424112010-09-01 Ulrich Drepper <drepper@redhat.com>
42412
f2933da9
UD
42413 * nis/rpcsvc/nis.h: Update copyright notice.
42414 * nis/rpcsvc/nis.x: Likewise.
42415 * nis/rpcsvc/nis_callback.h: Likewise.
42416 * nis/rpcsvc/nis_callback.x: Likewise.
42417 * nis/rpcsvc/nis_object.x: Likewise.
42418 * nis/rpcsvc/nis_tags.h: Likewise.
42419 * nis/rpcsvc/yp.h: Likewise.
42420 * nis/rpcsvc/yp.x: Likewise.
42421 * nis/rpcsvc/ypupd.h: Likewise.
42422 * nis/yp_xdr.c: Likewise.
42423 * nis/ypupdate_xdr.c: Likewise.
42424
2f3e3dc7
UD
42425 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42426 mainly the body of pmap_getport. Add parameters to specify timeouts.
42427 (pmap_getport): Use __libc_rpc_getport.
42428 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42429 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42430 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42431
f3dcc2f9
AS
424322010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42433
42434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42435 fanotify_mark.
42436
6d34eb5b
RM
424372010-08-27 Roland McGrath <roland@redhat.com>
42438
42439 * sysdeps/i386/i686/multiarch/Makefile
42440 (CFLAGS-varshift.c): New variable.
42441
9ea3de11
UD
424422010-08-27 Ulrich Drepper <drepper@redhat.com>
42443
c96d23fc
UD
42444 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42445 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42446
9ea3de11
UD
42447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42448
42449 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42450
623aac7f
L
424512010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42452
42453 * sysdeps/x86_64/strlen.S: Unroll the loop.
42454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42455 strlen-sse2 strlen-sse2-bsf.
42456 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42457 __strlen_no_bsf if bit_Slow_BSF is set.
42458 (__strlen_sse42): Removed.
42459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42460 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42461
8b2b7715
RM
424622010-08-25 Roland McGrath <roland@redhat.com>
42463
42464 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42465 * sysdeps/x86_64/multiarch/varshift.c: New file.
42466 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42467 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42468 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42469 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42470
e73015f2
L
424712010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42472
42473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42474 strlen-sse2 strlen-sse2-bsf.
42475 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42476 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42477 (__strlen_sse2): Removed.
42478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42481 bit_Slow_BSF for Atom.
42482 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42483 (index_Slow_BSF): Define.
42484 (HAS_SLOW_BSF): Define.
42485
df24a73e
UD
424862010-08-25 Ulrich Drepper <drepper@redhat.com>
42487
42488 [BZ #10851]
42489 * resolv/res_init.c (__res_vinit): When no server address at all
42490 is given default to loopback.
42491
f2ac4868
RM
424922010-08-24 Roland McGrath <roland@redhat.com>
42493
09055553
RM
42494 * configure.in: Remove config-name.h generation.
42495 * configure: Regenerated.
42496 * config-name.in: File removed.
42497 * scripts/config-uname.sh: New file.
42498 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42499 ($(objdir)config-name.h): New target.
42500
f2ac4868
RM
42501 * sunrpc/rpc_parse.h: Avoid nested comment.
42502
73f27d5e
RH
425032010-08-24 Richard Henderson <rth@redhat.com>
42504 Ulrich Drepper <drepper@redhat.com>
42505 H.J. Lu <hongjiu.lu@intel.com>
42506
42507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42509 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42510 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42511 _mm_alignr_epi8 with _mm_loadu_si128.
42512 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42513 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42514 (__m128i_shift_right): Removed.
42515 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42516 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42517 * sysdeps/x86_64/multiarch/varshift.h: New file.
42518 * sysdeps/x86_64/multiarch/varshift.S: New file.
42519
84b9230c
MF
425202010-08-21 Mike Frysinger <vapier@gentoo.org>
42521
42522 * configure.in: Move assembler checks to before sysdep dir checking.
42523
9bbd0ddc
PB
425242010-08-20 Petr Baudis <pasky@suse.cz>
42525
42526 * LICENSES: Sync the sunrpc license.
42527
9da4bb31
UD
425282010-08-19 Ulrich Drepper <drepper@redhat.com>
42529
a7ab6ec8
UD
42530 * sunrpc/auth_des.c: Update copyright notice once again.
42531 * sunrpc/auth_none.c: Likewise.
42532 * sunrpc/auth_unix.c: Likewise.
42533 * sunrpc/authdes_prot.c: Likewise.
42534 * sunrpc/authuxprot.c: Likewise.
42535 * sunrpc/bindrsvprt.c: Likewise.
42536 * sunrpc/clnt_gen.c: Likewise.
42537 * sunrpc/clnt_perr.c: Likewise.
42538 * sunrpc/clnt_raw.c: Likewise.
42539 * sunrpc/clnt_simp.c: Likewise.
42540 * sunrpc/clnt_tcp.c: Likewise.
42541 * sunrpc/clnt_udp.c: Likewise.
42542 * sunrpc/clnt_unix.c: Likewise.
42543 * sunrpc/des_crypt.c: Likewise.
42544 * sunrpc/des_soft.c: Likewise.
42545 * sunrpc/get_myaddr.c: Likewise.
42546 * sunrpc/getrpcport.c: Likewise.
42547 * sunrpc/key_call.c: Likewise.
42548 * sunrpc/key_prot.c: Likewise.
42549 * sunrpc/openchild.c: Likewise.
42550 * sunrpc/pm_getmaps.c: Likewise.
42551 * sunrpc/pm_getport.c: Likewise.
42552 * sunrpc/pmap_clnt.c: Likewise.
42553 * sunrpc/pmap_prot.c: Likewise.
42554 * sunrpc/pmap_prot2.c: Likewise.
42555 * sunrpc/pmap_rmt.c: Likewise.
42556 * sunrpc/rpc/auth.h: Likewise.
42557 * sunrpc/rpc/auth_unix.h: Likewise.
42558 * sunrpc/rpc/clnt.h: Likewise.
42559 * sunrpc/rpc/des_crypt.h: Likewise.
42560 * sunrpc/rpc/key_prot.h: Likewise.
42561 * sunrpc/rpc/netdb.h: Likewise.
42562 * sunrpc/rpc/pmap_clnt.h: Likewise.
42563 * sunrpc/rpc/pmap_prot.h: Likewise.
42564 * sunrpc/rpc/pmap_rmt.h: Likewise.
42565 * sunrpc/rpc/rpc.h: Likewise.
42566 * sunrpc/rpc/rpc_des.h: Likewise.
42567 * sunrpc/rpc/rpc_msg.h: Likewise.
42568 * sunrpc/rpc/svc.h: Likewise.
42569 * sunrpc/rpc/svc_auth.h: Likewise.
42570 * sunrpc/rpc/types.h: Likewise.
42571 * sunrpc/rpc/xdr.h: Likewise.
42572 * sunrpc/rpc_clntout.c: Likewise.
42573 * sunrpc/rpc_cmsg.c: Likewise.
42574 * sunrpc/rpc_common.c: Likewise.
42575 * sunrpc/rpc_cout.c: Likewise.
42576 * sunrpc/rpc_dtable.c: Likewise.
42577 * sunrpc/rpc_hout.c: Likewise.
42578 * sunrpc/rpc_main.c: Likewise.
42579 * sunrpc/rpc_parse.c: Likewise.
42580 * sunrpc/rpc_parse.h: Likewise.
42581 * sunrpc/rpc_prot.c: Likewise.
42582 * sunrpc/rpc_sample.c: Likewise.
42583 * sunrpc/rpc_scan.c: Likewise.
42584 * sunrpc/rpc_scan.h: Likewise.
42585 * sunrpc/rpc_svcout.c: Likewise.
42586 * sunrpc/rpc_tblout.c: Likewise.
42587 * sunrpc/rpc_util.c: Likewise.
42588 * sunrpc/rpc_util.h: Likewise.
42589 * sunrpc/rpcinfo.c: Likewise.
42590 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42591 * sunrpc/rpcsvc/key_prot.x: Likewise.
42592 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42593 * sunrpc/rpcsvc/mount.x: Likewise.
42594 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42595 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42596 * sunrpc/rpcsvc/rex.x: Likewise.
42597 * sunrpc/rpcsvc/rstat.x: Likewise.
42598 * sunrpc/rpcsvc/rusers.x: Likewise.
42599 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42600 * sunrpc/rpcsvc/spray.x: Likewise.
42601 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42602 * sunrpc/rtime.c: Likewise.
42603 * sunrpc/svc.c: Likewise.
42604 * sunrpc/svc_auth.c: Likewise.
42605 * sunrpc/svc_authux.c: Likewise.
42606 * sunrpc/svc_raw.c: Likewise.
42607 * sunrpc/svc_run.c: Likewise.
42608 * sunrpc/svc_simple.c: Likewise.
42609 * sunrpc/svc_tcp.c: Likewise.
42610 * sunrpc/svc_udp.c: Likewise.
42611 * sunrpc/svc_unix.c: Likewise.
42612 * sunrpc/svcauth_des.c: Likewise.
42613 * sunrpc/xcrypt.c: Likewise.
42614 * sunrpc/xdr.c: Likewise.
42615 * sunrpc/xdr_array.c: Likewise.
42616 * sunrpc/xdr_float.c: Likewise.
42617 * sunrpc/xdr_mem.c: Likewise.
42618 * sunrpc/xdr_rec.c: Likewise.
42619 * sunrpc/xdr_ref.c: Likewise.
42620 * sunrpc/xdr_sizeof.c: Likewise.
42621 * sunrpc/xdr_stdio.c: Likewise.
42622
9da4bb31
UD
42623 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42624 handling.
42625
bdaa77bc
AS
426262010-08-19 Andreas Schwab <schwab@redhat.com>
42627
42628 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42629
fe2f79db
LM
426302010-08-19 Luis Machado <luisgpm@br.ibm.com>
42631
42632 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42633 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42634 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42635 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42636 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42637 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42638 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42639 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42640 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42641 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42642 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42643 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42644 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42645 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42646
b9b42ee0
AB
426472010-07-26 Anton Blanchard <anton@samba.org>
42648
42649 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42650 * malloc/arena.c (heap_trim): Likewise.
42651
1c06ba31
UD
426522010-08-16 Ulrich Drepper <drepper@redhat.com>
42653
42654 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42655 here. Not...
42656 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42657 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42658
f8392f40
L
426592010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42660
42661 * sysdeps/i386/elf/Makefile: New file.
42662
3162f12e
AS
426632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42664
42665 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42666 from fanotify_init.
42667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42669
28c90b2c
UD
426702010-08-15 Ulrich Drepper <drepper@redhat.com>
42671
42672 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42673 of strncasecmp_l.
1feccb6c 42674 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42675
ca6bb004
UD
426762010-08-14 Ulrich Drepper <drepper@redhat.com>
42677
e9f82e0d
UD
42678 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42679 strncase_l-nonascii.
42680 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42681 Add strncase_l-ssse3.
42682 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42683 * sysdeps/x86_64/strcmp.S: Likewise.
42684 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42685 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42686 * sysdeps/x86_64/strncase.S: New file.
42687 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42688 * sysdeps/x86_64/strncase_l.S: New file.
42689 * string/Makefile (strop-tests): Add strncasecmp.
42690 * string/test-strncasecmp.c: New file.
42691
42692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42693 warning.
42694
ca6bb004
UD
42695 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42696 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42697
052fa7b3
AS
426982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42699
42700 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42701
962dba78
UD
427022010-08-12 Ulrich Drepper <drepper@redhat.com>
42703
42704 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42705 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42707
bebff237
AM
427082010-05-01 Alan Modra <amodra@gmail.com>
42709
42710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42711 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42712 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42713 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42714 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42715 tidying. Don't tail-call __sigjmp_save for static lib.
42716 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42717 save location.
42718 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42719 (CALL_MCOUNT): Add eh info, and nop after bl.
42720 (TAIL_CALL_SYSCALL_ERROR): New macro.
42721 (PSEUDO_RET): Use it.
42722 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42723 Correct save location of integer regs and cr.
42724 (_dl_profile_resolve): Correct cr save location. Delete nops
42725 after bl when SHARED. Reduce cfi size a little by better
42726 placement of cfi directives.
42727 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42728 make a stack frame. Instead use parm save area as a temp.
42729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42730 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42732 Don't make a stack frame for parent, use parm save area.
42733 Increase child stack frame to 112 bytes. Don't save unused reg,
42734 and adjust reg usage. Set up cfi on error recovery and
42735 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42737 (__makecontext): Add dummy nop after jump to exit.
42738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42739 Use correct parm save area and cr save, reduce stack frame.
42740 Correct cfi for possible PSEUDO_RET frame setup.
42741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42742 Branch to local label emitted by PSEUDO_RET rather than
42743 __syscall_error.
42744
02637374
AS
427452010-08-12 Andreas Schwab <schwab@redhat.com>
42746
42747 [BZ #11904]
42748 * locale/programs/locale.c (print_assignment): New function.
42749 (show_locale_vars): Use it.
42750
c3e2f19b
UD
427512010-08-11 Ulrich Drepper <drepper@redhat.com>
42752
3cdaa6ad
UD
42753 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42754 field.
42755 (struct statfs64): Likewise.
42756 (_STATFS_F_FLAGS): Define.
42757 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42759 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42760 (ST_VALID): Define locally.
42761 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42762 __statvfs_getflags, use the provided value.
42763 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42764 __ASSUME_STATFS_F_FLAGS.
42765
754f7da3
UD
42766 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42767
10b3bedc
UD
42768 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42769 Add sys/fanotify.h.
42770 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42771 fanotify_mask for GLIBC_2.13.
42772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42773 fanotify_init and fanotify_mark.
42774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42775 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42776
c08fb0d7
UD
42777 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42778 Add prlimit.
42779 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42780 prlimit64 for GLIBC_2.13.
42781 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42782 prlimit64.
42783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42784 syscall.
42785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42787 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42790 add prlimit alias.
42791 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42792
15bac72b
UD
42793 [BZ #11903]
42794 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42795 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42796
c3e2f19b
UD
42797 * nss/Makefile: Add rules to build and run tst-nss-test1.
42798 * shlib-versions: Add entry for libnss_test1.
42799 * nss/nss_test1.c: New file.
42800 * nss/tst-nss-test1.c: New file.
42801
42802 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42803 (__nss_configure_lookup): Set appropriate entry in
42804 __nss_configure_lookup to true.
42805 * nss/nsswitch.h: Define enum with indeces of databases in
42806 databases and __nss_database_custom arrays. Declare
42807 __nss_database_custom.
42808 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42809 to avoid using nscd when custom rules are installed.
42810 * nss/getXXbyYY_r.c: Likewise.
42811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42812
42813 * nss/nss_files/files-parse.c: Whitespace fixes.
42814
f15ce4d8
UD
428152010-08-09 Ulrich Drepper <drepper@redhat.com>
42816
42817 [BZ #11883]
42818 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42819 * posix/fnmatch_loop.c: Likewise.
42820
d22e4cc9
AK
428212010-07-17 Andi Kleen <ak@linux.intel.com>
42822
42823 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42824 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42825 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42826 * Versions.def [GLIBC_2.13]: Add.
42827
805bc17d
UD
428282010-08-06 Ulrich Drepper <drepper@redhat.com>
42829
42830 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42831 Also fail if tpwd after pwuid call is NULL.
42832
5a42321d
ST
428332010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42834
42835 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42836 when converting to ms.
42837
fd3ebeda
ST
428382010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42839
42840 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42841 EOPNOTSUPP errors with ENOTTY.
42842 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42843 EOPNOTSUPP errors with ENOTTY.
42844
73507d3a
UD
428452010-07-31 Ulrich Drepper <drepper@redhat.com>
42846
42847 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42848 Add strcasecmp_l-ssse3.
42849 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42850 strcasecmp.
42851 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42852 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42853 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42854
fe36dd02
UD
428552010-07-30 Ulrich Drepper <drepper@redhat.com>
42856
66f6765a
UD
42857 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42858
42e08a54
UD
42859 * string/Makefile (strop-tests): Add strcasecmp.
42860 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42861 strcasecmp_l-nonascii.
42862 (gen-as-const-headers): Add locale-defines.sym.
42863 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42864 * sysdeps/x86_64/strcasecmp.S: New file.
42865 * sysdeps/x86_64/strcasecmp_l.S: New file.
42866 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42867 * sysdeps/x86_64/locale-defines.sym: New file.
42868 * string/test-strcasecmp.c: New file.
42869
fe36dd02
UD
42870 * string/test-strcasestr.c: Test both ends of the range of characters.
42871 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42872
48cbc0d6
RM
428732010-07-29 Roland McGrath <roland@redhat.com>
42874
76e6d6bc 42875 [BZ #11856]
48cbc0d6
RM
42876 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42877
880113d9
UD
428782010-07-27 Ulrich Drepper <drepper@redhat.com>
42879
42880 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42881 for ld.so.
42882
deb9cabb
AS
428832010-07-27 Andreas Schwab <schwab@redhat.com>
42884
42885 * manual/memory.texi (Malloc Tunable Parameters): Document
42886 M_PERTURB.
42887
1c7570ff
RM
428882010-07-26 Roland McGrath <roland@redhat.com>
42889
42890 [BZ #11840]
42891 * configure.in (-fgnu89-inline check): Set and substitute
42892 gnu89_inline, not libc_cv_gnu89_inline.
42893 * configure: Regenerated.
42894 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42895
24fb0f88
UD
428962010-07-26 Ulrich Drepper <drepper@redhat.com>
42897
42898 * string/test-strnlen.c: New file.
42899 * string/Makefile (strop-tests): Add strnlen.
42900 * string/tester.c (test_strnlen): Add a few more test cases.
42901 * string/tst-strlen.c: Better error reporting.
42902
42903 * sysdeps/x86_64/strnlen.S: New file.
42904
8e96b93a
UD
429052010-07-24 Ulrich Drepper <drepper@redhat.com>
42906
42907 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42908 lower-latency instructions.
42909
dbc676d4
UD
429102010-07-23 Ulrich Drepper <drepper@redhat.com>
42911
42912 * string/test-strcasestr.c: New file.
42913 * string/test-strstr.c: New file.
42914 * string/Makefile (strop-tests): Add strstr and strcasestr.
42915 * string/str-two-way.h: Don't undefine MAX.
42916 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42917
f6a31e0e
AS
429182010-07-21 Andreas Schwab <schwab@redhat.com>
42919
42920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42921 strcasestr-nonascii.
42922 (CFLAGS-strcasestr-nonascii.c): Define.
42923 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42925 Remove unused attribute.
42926
5dbc3b6c
RM
429272010-07-20 Roland McGrath <roland@redhat.com>
42928
42929 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42930 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42931 ld.so.cache was broken. With it, there is no way to disable dsocaps
42932 like LD_HWCAP_MASK can disable hwcaps.
42933
23d101d8
EPM
429342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42935
42936 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42937
cc9f2e47
UD
429382010-07-16 Ulrich Drepper <drepper@redhat.com>
42939
42940 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42941 call in strcasestr.
42942 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42943 __strcasestr_sse42_nonascii.
42944 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42945 strcasestr-nonascii.c.
42946 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42947
77c1b069
LM
429482010-06-15 Luis Machado <luisgpm@br.ibm.com>
42949
42950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42951 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42952 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42953 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42954
440566c3
UD
429552010-07-09 Ulrich Drepper <drepper@redhat.com>
42956
42957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42958 fcntl.
42959
5be9d05d
AS
429602010-07-06 Andreas Schwab <schwab@redhat.com>
42961
c30b7ee2 42962 [BZ #11577]
5be9d05d
AS
42963 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42964 dl_signal_cerror.
42965
8a492a67
UD
429662010-07-06 Ulrich Drepper <drepper@redhat.com>
42967
42968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42969 _PC_PIPE_BUF using F_GETPIPE_SZ.
42970
713df3d5
RM
429712010-07-05 Roland McGrath <roland@redhat.com>
42972
42973 * manual/arith.texi (Rounding Functions): Fix rint description
42974 implicit in round description.
42975
702e8f14
UD
429762010-07-02 Ulrich Drepper <drepper@redhat.com>
42977
42978 * elf/Makefile: Fix linking for a few tests to make recent linker
42979 happy.
42980
52ed8be9
AS
429812010-06-30 Andreas Schwab <schwab@redhat.com>
42982
42983 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42984 $(common-objpfx)libc_nonshared.a.
42985
f47c9a11
LM
429862010-06-21 Luis Machado <luisgpm@br.ibm.com>
42987
42988 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42989 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42990 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42991 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42992 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42993 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42994 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42995 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43010 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43011 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43012 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43013 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43014 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43015 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43016 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43017 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43018 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43019 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43020 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43021 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43036
6fb8cbcb
L
430372010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43038
43039 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43040 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43041 * string/memmove.c (memmove): Renamed to ...
43042 (MEMMOVE): ...this. Default to memmove.
43043 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43044 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43045 (END_CHK): Define.
43046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43047 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43048 mempcpy-ssse3-back memmove-ssse3-back.
43049 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43052 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43053 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43054 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43055 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43056 * sysdeps/x86_64/multiarch/memmove.c: New file.
43057 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43058 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43059 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43060 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43061 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43063 Define.
43064 (index_Fast_Copy_Backward): Define.
43065 (HAS_ARCH_FEATURE): Define.
43066 (HAS_FAST_REP_STRING): Define.
43067 (HAS_FAST_COPY_BACKWARD): Define.
43068
4e733bac 430692010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43070
43071 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43072 Restore proper fallback handling.
43073
63c4ed22
UD
430742010-06-19 Ulrich Drepper <drepper@redhat.com>
43075
ac2b484c
UD
43076 [BZ #11701]
43077 * posix/group_member.c (__group_member): Correct checking loop.
43078
63c4ed22
UD
43079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43080 OOM in getpwuid_r correctly. Return error number when the caller
43081 should return, otherwise -1.
43082 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43083 call returning > 0 value.
43084 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43085
765ade4b
AS
430862010-06-07 Andreas Schwab <schwab@redhat.com>
43087
43088 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43089 libc_nonshared.a from targets in modules-names.
43090
80da2e09
KS
430912010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43092
43093 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43094 requires it.
43095
158db122
LM
430962010-06-10 Luis Machado <luisgpm@br.ibm.com>
43097
43098 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43099 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43100 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43102
caa78cf8
AS
431032010-06-02 Andreas Schwab <schwab@redhat.com>
43104
43105 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43106
b2ef2c01
UD
431072010-06-14 Ulrich Drepper <drepper@redhat.com>
43108
43109 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43110 and F_GETPIPE_SZ.
43111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43117
fbd643b6
RM
431182010-06-14 Roland McGrath <roland@redhat.com>
43119
43120 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43121
f32f2869
JJ
431222010-06-07 Jakub Jelinek <jakub@redhat.com>
43123
43124 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43125 __REDIRECT followed by __THROW.
43126 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43127 * posix/getopt.h (getopt): Likewise.
43128
2a50c078
EPM
431292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43130
43131 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43132 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43133 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43134 in AT_FLAGS.
43135 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43136 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43137
eb5ad2eb
LM
431382010-05-28 Luis Machado <luisgpm@br.ibm.com>
43139
43140 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43141
3c88fe1e
L
431422010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43143
43144 [BZ #11640]
43145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43146 Properly check family and model.
43147
d2f73151
TY
431482010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43149
43150 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43151
ebd2e13d
LM
431522010-05-24 Luis Machado <luisgpm@br.ibm.com>
43153
43154 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43155
b32b8b45
UD
431562010-05-21 Ulrich Drepper <drepper@redhat.com>
43157
43158 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43159 symbol reference.
43160
9acbe24d
AS
431612010-05-19 Andreas Schwab <schwab@redhat.com>
43162
43163 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43164 symbol reference.
43165
f0ccf6ea
AS
431662010-05-21 Andreas Schwab <schwab@redhat.com>
43167
3d04ff3a
AS
43168 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43169 and internal_recvmmsg.
43170 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43171 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43172 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43173 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43174
f0ccf6ea
AS
43175 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43176 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43177 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43178
5b08ac57
AS
431792010-05-20 Andreas Schwab <schwab@redhat.com>
43180
43181 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43182
4828935d
LM
431832010-05-17 Luis Machado <luisgpm@br.ibm.com>
43184
43185 POWER7 optimizations.
43186 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43187 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43188
373d545e
UD
431892010-05-19 Ulrich Drepper <drepper@redhat.com>
43190
43191 * version.h: Update for 2.13 development version.
43192
21a2b1ae
AS
431932010-05-12 Andrew Stubbs <ams@codesourcery.com>
43194
43195 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43196 exceptions. Return 0.
43197
3f7dcb2b
RM
431982010-05-07 Roland McGrath <roland@redhat.com>
43199
43200 * elf/ldconfig.c (main): Add a const.
43201
5f24d53a 432022010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43203
a160f8d8
UD
43204 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43205 (args_options): Add no-idn option.
43206 (ahosts_keys_int): Add idn_flags to ai_flags.
43207 (parse_option): Handle 'i' option to clear idn_flags.
43208
5f24d53a
UD
43209 * malloc/malloc.c (_int_free): Possible race in the most recently
43210 added check. Only act on the data if no current modification
43211 happened.
265bb1ce
UD
43212
43213See ChangeLog.17 for earlier changes.