]> sourceware.org Git - glibc.git/blame - ChangeLog
S/390: Regenerate ULPs
[glibc.git] / ChangeLog
CommitLineData
f19dfa0a
SL
12014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4
4fa8bc3b
SL
52014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6
7 [BZ #14770]
8 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9 * sysdeps/s390/configure: Regenerate.
10
8ea587db
SL
112014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12
13 [BZ #16824]
14 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15 Set round-to-nearest internally to reduce error accumulation.
16
aa5f0ff1
AM
172014-04-16 Alan Modra <amodra@gmail.com>
18
19 [BZ #16740]
20 [BZ #16619]
21 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 23 * NEWS: Update fixed bug list.
aa5f0ff1 24
bb9c256f
SP
252014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26
27 * benchtests/Makefile: Depend on libraries in build directory.
28 (bench-math): Separate out math tests.
29 (bench-pthread): Separate out pthread tests.
30 (bench): Include math and pthread tests.
31
f737dfd0
CD
322014-04-14 Carlos O'Donell <carlos@redhat.com>
33
34 [BZ #16831]
35 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36 _dl_debug_initialize.
37
0699f766
CD
382014-04-14 Carlos O'Donell <carlos@redhat.com>
39
40 * configure.ac: Remove SELinux header check.
41 * configure: Regenerate.
42 * nscd/selinux.c (perms): Array of const char* to permission names.
43 (nscd_request_avc_has_perm): Call security_deny_unknown to find
44 default policy. Call string_to_security_class and string_to_av_perm to
45 translate strings. Enforce default policy and call avs_has_perm with
46 results of translated strings.
47
809bd45f
DM
482014-04-13 David S. Miller <davem@davemloft.net>
49
50 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51
89e691f2
AM
522014-04-12 Allan McRae <allan@archlinux.org>
53
54 [BZ #16838]
55 * manual/string.texi (Collation Functions): Fix qsort argument
56 order in example.
57 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58
9c9daaeb
CM
592014-04-11 Chris Metcalf <cmetcalf@tilera.com>
60
61 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
62 Make the test a no-op if there are no exceptions defined.
63
95561fb9
PP
642014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
65
fe8d072c 66 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
67 enable-hardcoded-path-in-tests
68
970c602a
WN
692014-04-11 Will Newton <will.newton@linaro.org>
70
71 * benchtests/Makefile (extra-objs): Add json-lib.o.
72 (bench-func): Tidy up JSON output.
73 * benchtests/bench-skeleton.c: Include json-lib.h.
74 (main): Use JSON library functions to do output of
75 benchmark results.
76 * benchtests/bench-timing-type.c (main): Output the
77 timing type simply, leaving formatting to the user.
78 * benchtests/json-lib.c: New file.
79 * benchtests/json-lib.h: Likewise.
80
36875b06
TR
812014-04-11 Torvald Riegel <triegel@redhat.com>
82
83 [BZ #15215]
84 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
85 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
86 memory barriers. Add comments.
87 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
88 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
89 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
90 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
91 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
92 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
93
579db35a
SL
942014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
95
96 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
97 * sysdeps/s390/s390-64/configure.ac: ... this ...
98 * sysdeps/s390/configure.ac: ... to here.
99 * sysdeps/s390/s390-32/configure: Delete file.
100 * sysdeps/s390/s390-64/configure: Delete file.
101 * sysdeps/s390/configure: Regenerate.
102
c12e9f37
JAPH
1032014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
104
105 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
106
439bda32
WN
1072014-04-11 Will Newton <will.newton@linaro.org>
108
109 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
110 to zero if it is not defined elsewhere. (mtrim): Test
111 the value of MALLOC_DEBUG with #if rather than #ifdef.
112
6a5d6ea1
TR
1132014-04-10 Torvald Riegel <triegel@redhat.com>
114
115 * benchtests/pthread_once-inputs: New file.
116 * benchtests/pthread_once-source.c: New file.
117 * benchtests/README: Update documentation.
118
a4c75cfd
IZ
1192014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
120 H.J. Lu <hongjiu.lu@intel.com>
121
122 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
123 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
124 * sysdeps/x86_64/configure: Regenerated.
125 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
126 macro.
127 (REGISTER_SAVE_RAX): Likewise.
128 (REGISTER_SAVE_RCX): Likewise.
129 (REGISTER_SAVE_RDX): Likewise.
130 (REGISTER_SAVE_RSI): Likewise.
131 (REGISTER_SAVE_RDI): Likewise.
132 (REGISTER_SAVE_R8): Likewise.
133 (REGISTER_SAVE_R9): Likewise.
134 (REGISTER_SAVE_BND0): Likewise.
135 (REGISTER_SAVE_BND1): Likewise.
136 (REGISTER_SAVE_BND2): Likewise.
137 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
138 bound registers when calling _dl_fixup.
139
27822ce6
AZ
1402014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
143 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
144 definition.
145 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
146 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
147 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
148 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
149 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
150 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
151 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
152
a88ddc90
PTB
1532014-04-09 Peter Brett <peter@peter-b.co.uk>
154
155 [BZ #15514]
156 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
157 pathconf(_PC_NAME_MAX).
158
01f8eac2
AZ
1592014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160
161 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
162 Remove macro usage.
163 (__PTHREAD_SPINS): Move definition to ...
164 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
165 (__PTHREAD_SPINS): ... here.
166 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
167 (__PTHREAD_SPIN): Likewise.
168 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
169 (__PTHREAD_SPIN): Likewise.
170 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
171 (__PTHREAD_SPIN): Likewise.
172 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
173 (__PTHREAD_SPIN): Likewise.
174 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
175 (__PTHREAD_SPIN): Likewise.
176 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
177 (__PTHREAD_SPIN): Likewise.
178 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
179 (__PTHREAD_SPIN): Likewise.
180 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
181 (__PTHREAD_SPIN): Likewise.
182 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
183 (__PTHREAD_SPIN): Likewise.
184 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
185 (__PTHREAD_SPIN): Likewise.
186 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
187 (__PTHREAD_SPIN): Likewise.
188 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
189 (__PTHREAD_SPIN): Likewise.
190
de21c33c
AZ
1912014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192
193 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
194 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
195 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
196 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
197 imply folder.
198 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
199 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
200 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
201 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
202 correct imply path.
203 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
204 strlen symbol for non multi-arch builds.
205 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
206 missing hidden_def and weak_alias.
207
862c472e
CD
2082014-04-08 Carlos O'Donell <carlos@redhat.com>
209
210 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
211
8667f90e
WN
2122014-04-07 Will Newton <will.newton@linaro.org>
213
214 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
215 and contents. [!_LIBC] Remove #ifndef and contents.
216 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
217 * string/memccpy.c (__memccpy): Use ANSI prototype.
218 * string/memfrob.c (memfrob): Likewise.
219 * string/strcoll.c (STRCOLL): Likewise.
220 * string/strlen.c (strlen): Likewise.
221 * string/strtok.c (STRTOK): Likewise.
222 * string/strcat.c: Remove unused #include of memcopy.h.
223 (strcat): Use ANSI prototype.
224 * string/strchr.c: Remove unused #include of memcopy.h.
225 (strchr): Use ANSI prototype.
226 * string/strcmp.c: Remove unused #include of memcopy.h.
227 (strcmp): Use ANSI prototype.
228 * string/strcpy.c: Remove unused #include of memcopy.h.
229 (strcpy): Use ANSI prototype.
230
7ffa9423
AZ
2312014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
232
233 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
234 * config.make.in (config-extra-cppflags): Set it from
235 libc_extra_cppflags.
236 * configure.ac (libc_extra_cflags): Make it accumulate over
237 configure fragments.
238 (libc_extra_cppflags): New flag.
239 * configure. Regenerate.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
241 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
242 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
244
8bd70862
AZ
2452014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246
247 [BZ #16815]
248 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
249 result for FE_DOWNWARD rounding mode.
250 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
251 Likewise.
252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
253
d42f3448
CM
2542014-04-04 Chris Metcalf <cmetcalf@tilera.com>
255
256 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
257 in function argument name.
258
1c21d115
DS
2592014-04-03 David Svoboda <svoboda@cert.org>
260
261 [BZ #5666]
262 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
263 explicitly.
264
fcccd512
RM
2652014-04-03 Roland McGrath <roland@hack.frob.com>
266
267 * elf/dl-unmap-segments.h: New file.
268 * sysdeps/generic/ldsodefs.h
269 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
270 * elf/dl-close.c: Include <dl-unmap-segments.h>.
271 * elf/dl-fptr.c: Likewise.
272 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
273 * sysdeps/aarch64/tlsdesc.c: Likewise.
274 * sysdeps/arm/tlsdesc.c: Likewise.
275 * sysdeps/i386/tlsdesc.c: Likewise.
276 * sysdeps/tile/dl-runtime.c: Likewise.
277 * sysdeps/x86_64/tlsdesc.c: Likewise.
278 * elf/dl-load.h: New file.
279 * elf/dl-load.c: Include it.
280 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
281 Macros moved to dl-load.h.
282 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
283 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
284 Use _dl_unmap_segments in place of __munmap.
285 Break out segment-mapping loop into ...
286 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
287
f6488e2b
WN
2882014-04-03 Will Newton <will.newton@linaro.org>
289
290 * elf/dl-lookup.c (do_lookup_x): Remove comment
291 referring to nested function and move variable
292 declarations down to before first use.
293
6f05bafe
JM
2942014-04-02 Joseph Myers <joseph@codesourcery.com>
295
a84e78c8
JM
296 [BZ #16799]
297 [BZ #16800]
298 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
299 with 0 numerator.
300 * math/s_catanf.c (__catanf): Likewise.
301 * math/s_catanh.c (__catanh): Likewise.
302 * math/s_catanhf.c (__catanhf): Likewise.
303 * math/s_catanhl.c (__catanhl): Likewise.
304 * math/s_catanl.c (__catanl): Likewise.
305 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
306 by positive zero when computing -Inf result.
307 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
308 (catanh_test): Likewise.
309 * sysdeps/i386/fpu/libm-test-ulps: Update.
310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
311
6f05bafe
JM
312 [BZ #16789]
313 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
314 instead of using underflowing value in computing result.
315 * math/s_clog10.c (__clog10): Likewise.
316 * math/s_clog10f.c (__clog10f): Likewise.
317 * math/s_clog10l.c (__clog10l): Likewise.
318 * math/s_clogf.c (__clogf): Likewise.
319 * math/s_clogl.c (__clogl): Likewise.
320 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
321 (clog10_test): Likewise.
322 * sysdeps/i386/fpu/libm-test-ulps: Update.
323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
324
b0abbc21
AM
3252014-04-02 Alan Modra <amodra@gmail.com>
326
327 [BZ #16739]
328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
329 output when value is near a power of two. Use int64_t for lx and
330 remove casts. Use decimal rather than hex exponent constants.
331 Don't use long double multiplication when double will suffice.
332 * math/libm-test.inc (nextafter_test_data): Add tests.
333 * NEWS: Add 16739 and 16786 to bug list.
334
af6b1797
AM
3352014-04-02 Alan Modra <amodra@gmail.com>
336
337 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
338
483818d7
AM
3392014-04-02 Alan Modra <amodra@gmail.com>
340
341 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
342
f6c55796
WN
3432014-04-01 Will Newton <will.newton@linaro.org>
344
345 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
346 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
347
13f7fe35
FW
3482014-04-01 Florian Weimer <fweimer@redhat.com>
349
350 [BZ #13347]
351 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
352 * nptl/tst-setuid2.c: New file.
353 * nptl/Makefile (xtests): Add tst-setuid2.
354
c859b32e
AM
3552014-04-01 Alan Modra <amodra@gmail.com>
356
357 [BZ #16786]
358 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
359
54fa2475
JM
3602014-03-31 Joseph Myers <joseph@codesourcery.com>
361
8795b4a4
JM
362 [BZ #6803]
363 [BZ #6804]
364 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
365 set errno as appropriate.
366 * math/w_scalbf.c (__scalbf): Likewise.
367 * math/w_scalbl.c (__scalbl): Likewise.
368 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
369 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
370 * math/libm-test.inc (scalb_test_data): Add errno expectations.
371 Add more NaN tests.
372
54fa2475
JM
373 [BZ #16349]
374 * math/w_atan2.c: Include <errno.h>.
375 (__atan2): Set errno for result underflowing to zero.
376 * math/w_atan2f.c: Include <errno.h>.
377 (__atan2f): Set errno for result underflowing to zero.
378 * math/w_atan2l.c: Include <errno.h>.
379 (__atan2l): Set errno for result underflowing to zero.
380 * math/auto-libm-test-in: Don't allow missing errno for some atan2
381 tests.
382 * math/auto-libm-test-out: Regenerated.
383
757d9dd5
AZ
3842014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
385
386 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
387 Encode instruction correctly in little endian.
388 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
389 Likewise.
390 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
391 Likewise.
392 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
393 Likewise.
394 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
395 Likewise.
396
d7a68734
JM
3972014-03-31 Joseph Myers <joseph@codesourcery.com>
398
47c5adeb
JM
399 [BZ #9894]
400 * sysdeps/unix/sysv/linux/kernel-features.h
401 [__sparc__ && !__arch64__ && !__sparc_v9__]
402 (__ASSUME_SET_ROBUST_LIST): Do not define.
403 [__sparc__ && !__arch64__ && !__sparc_v9__]
404 (__ASSUME_FUTEX_LOCK_PI): Likewise.
405 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
406 Likewise.
407 * sysdeps/unix/sysv/linux/arm/kernel-features.h
408 (__ASSUME_FUTEX_LOCK_PI): Undefine.
409 (__ASSUME_REQUEUE_PI): Likewise.
410 (__ASSUME_SET_ROBUST_LIST): Likewise.
411 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
412 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
413 Undefine.
414 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
415 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
416 Likewise.
417 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
418 Likewise.
419 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
420 Likewise.
421 * sysdeps/unix/sysv/linux/mips/kernel-features.h
422 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
423 Undefine.
424 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
425 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
426 Likewise.
427
d7a68734
JM
428 [BZ #16648]
429 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
430 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
431 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
432
c760f5c2
WN
4332014-03-31 Will Newton <will.newton@linaro.org>
434
435 * benchtests/Makefile (bench): Add ffs and ffsll to list
436 of tests.
437 * benchtests/ffs-inputs: New file.
438 * benchtests/ffsll-inputs: Likewise.
439
ea6029b1
JM
4402014-03-29 Joseph Myers <joseph@codesourcery.com>
441
442 [BZ #16770]
443 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
444 too large before casting to int.
445 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
446 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
447 * math/libm-test.inc (scalb_test_data): Add more tests.
448
cf806aff
SP
4492014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
450
56737508
SP
451 * benchtests/Makefile (DETAILED_OPT): New make option.
452 (bench-func): Run benchmark program with -d if DETAILED_OPT is
453 set.
454 * benchtests/bench-skeleton.c: Include stdbool.h.
455 (main): Store and print timings per input.
456 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
457 member to each argument value.
458 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
459 (_print_arg_data): Initialize per-input timing to 0.
460
cb5e4aad
SP
461 * benchtests/Makefile (timing-type): New binary.
462 (bench-clean): Also remove bench-timing-type.
463 (bench): New target for timing-type.
464 (bench-func): Print output in JSON format.
465 * benchtests/bench-skeleton.c (main): Print output in JSON
466 format.
467 * benchtests/bench-timing-type.c: New file.
468 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
469 (TIMING_PRINT_STATS): Remove.
470 * benchtests/scripts/bench.py (_print_arg_data): Store variant
471 name separately.
472
cf806aff
SP
473 * benchtests/bench-modf.c: Remove.
474 * benchtests/modf-inputs: New inputs file.
475
289e0779
JM
4762014-03-28 Joseph Myers <joseph@codesourcery.com>
477
478 [BZ #16362]
479 * math/s_clog10.c (M_PI_LOG10E): New macro.
480 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
481 imaginary parts are 0.
482 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
483 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
484 imaginary parts are 0.
485 * math/s_clog10l.c (M_PI_LOG10El): New macro.
486 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
487 imaginary parts are 0.
488 * math/libm-test.inc (clog10_test_data): Update expected results
489 for when real and imaginary parts are 0.
490
277ae3f1
PP
4912014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
492
493 * elf/dl-load.c: Finish conversion of __builtin_expect into
494 __glibc_{un}likely.
495
03a7091f
JM
4962014-03-27 Joseph Myers <joseph@codesourcery.com>
497
498 [BZ #16348]
499 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
500 1+x for argument with exponent below -67.
501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
502 Likewise.
503 * math/auto-libm-test-in: Add more tests of exp.
504 * math/auto-libm-test-out: Regenerated.
505
ea7d8b95
SP
5062014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
507
dd3022d7
SP
508 [BZ #16759]
509 * inet/getnetgrent_r.c (get_nonempty_val): New function.
510 (nscd_getnetgrent): Use it.
511
ea7d8b95
SP
512 [BZ #16760]
513 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
514 of stpcpy.
515
df5b85da
AK
5162014-03-27 Andi Kleen <ak@linux.intel.com>
517
518 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
519 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
520 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
521 Remove out of line section. Use cfi intrinsics.
522 (LLL_STUB_UNWIND_INFO*): Remove.
523 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
524 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
525 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
526 Remove out of line section. Use cfi intrinsics.
527 (LLL_STUB_UNWIND_INFO*): Remove.
528
fbd6b5a4
SP
5292014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
530
531 [BZ #16758]
532 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
533 blank values.
534
1b26b855
PP
5352014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
536
537 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
538
9be36fb8
JM
5392014-03-26 Joseph Myers <joseph@codesourcery.com>
540
541 [BZ #16198]
542 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
543 fnstenv.
544 * math/test-fenv-preserve.c: New file.
545 * math/Makefile (tests): Add test-fenv-preserve.
546
60a2f3c1
WN
5472014-03-26 Will Newton <will.newton@linaro.org>
548
549 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
550
a5e5f1e2
RM
5512014-03-25 Roland McGrath <roland@hack.frob.com>
552
553 * scripts/versionlist.awk: Partition the version sets and emit all
554 GLIBC_* (sorted) before all others (sorted).
555
00f4012a
JM
5562014-03-25 Joseph Myers <joseph@codesourcery.com>
557
558 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
559 GLIBC_2.2.5 version.
560
7bc5a741
AZ
5612014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
562
563 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
564 calls.
565
7578473b
AZ
5662014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
567
568 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
569 previous change.
570
f3f1dab3
AZ
5712014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
572
573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
574
6da36183
AS
5752014-03-25 Andreas Schwab <schwab@suse.de>
576
577 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
578 label to be used after in6ailist is initialized.
579
f3f1dab3 5802014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 581
7578473b 582 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
583 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
584
046651c1
JM
5852014-03-25 Joseph Myers <joseph@codesourcery.com>
586
587 [BZ #16357]
588 [BZ #16599]
589 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
590 min_plus_half.
591 (fp_formats): Update initializers.
592 (init_fp_formats): Initialize new field.
593 (output_for_one_input_case): Allow underflow for results up to
594 min_plus_half.
595 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
596 * math/auto-libm-test-in: Don't mark some underflows from asin and
597 atanh as spurious.
598 * math/auto-libm-test-out: Regenerated.
599 * sysdeps/i386/fpu/libm-test-ulps: Update.
600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
601
003e49ed
AS
6022014-03-25 Andreas Schwab <schwab@suse.de>
603
604 * libio/Makefile (tst-ftell-partial-wide-ENV)
605 (tst-ftell-active-handler-ENV): Define.
606
de031874
SL
6072014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
608
609 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
610
55a81e3b
PP
6112014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
612
613 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
614
f3426898
JM
6152014-03-24 Joseph Myers <joseph@codesourcery.com>
616
617 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
618 * sysdeps/x86_64/fpu/multiarch/e_exp.c
619 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
620
a42faf59
PP
6212014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
622
623 [BZ #16634]
a42faf59 624 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
625 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
626 (open_path): Change from boolean 'secure' to complete flag 'mode'
627 (_dl_map_object): Adjust.
a42faf59
PP
628 * elf/Makefile (tests): Add tst-dlopen-aout.
629 * elf/tst-dlopen-aout.c: New test.
630
50936127
SL
6312014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
632
633 [BZ #16714]
634 * sysdeps/unix/sysv/linux/s390/bits/stat.h
635 (struct stat): Rename member pad0 to __glibc_reserved0.
636
26011b5c
SL
6372014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
638
639 [BZ #16712]
640 * sysdeps/s390/s390-32/bits/wordsize.h
641 (__WORDSIZE32_SIZE_ULONG): New define.
642 * sysdeps/s390/s390-64/bits/wordsize.h
643 (__WORDSIZE32_SIZE_ULONG): Likewise.
644 * sysdeps/generic/stdint.h (SIZE_MAX):
645 Define as UL if __WORDSIZE32_SIZE_ULONG.
646
a2d86bf1
SL
6472014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
648
649 [BZ #16713]
650 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
651 (__glibc_reserved0): New variable.
652 (sa_flags): Change type to int.
653
78b6eebc
SL
6542014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
655
656 * posix/Makefile (before-compile): Use += before-compile instead
657 of a :=.
658
f1399b5a
SL
6592014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
660
661 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
662 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
663
a071766e
AS
6642014-03-20 Andreas Schwab <schwab@suse.de>
665
666 [BZ #16743]
667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
668 non-matching result from nscd.
669
27c673b8
SP
6702014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
671
672 * scripts/bench.py: Moved to ...
673 * benchtests/scripts/bench.py: ... here.
674 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
675
44152e4b
AS
6762014-03-24 Andreas Schwab <schwab@suse.de>
677
678 [BZ #16002]
679 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
680 alloca_account and account alloca use for struct in6ailist.
681
b376a11a
JM
6822014-03-24 Joseph Myers <joseph@codesourcery.com>
683
684 [BZ #16284]
685 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
686 rounding mode to recompute results that overflow to infinity or
687 underflow to zero.
688 * math/auto-libm-test-in: Don't mark tests as expected to fail for
689 bug 16284.
690 * math/auto-libm-test-out: Regenerated.
691 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
692 (ccosh_test): Likewise.
693 (csin_test_data): Use plus_oflow.
694 (csin_test): Use ALL_RM_TEST.
695 (csinh_test_data): Use plus_oflow.
696 (csinh_test): Use ALL_RM_TEST.
697 * sysdeps/i386/fpu/libm-test-ulps: Update.
698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
699
f7be7376
JM
7002014-03-21 Joseph Myers <joseph@codesourcery.com>
701
1ca2d03e
JM
702 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
703 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
704 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
705
f7be7376
JM
706 [BZ #16731]
707 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
708 when x - 1 is zero.
709 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
710 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
711 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
712 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
713 argument is 1.
714 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
715 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
716 zero.
717 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
718 * sysdeps/i386/fpu/libm-test-ulps: Update.
719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
720
fdf4534d
SP
7212014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
722
df26ea53
SP
723 * scripts/bench.pl: Remove file.
724 * scripts/bench.py: New benchmark script.
725 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
726 * benchtests/README: Mention python dependency.
727 * scripts/pylintrc: New file.
728 * scripts/pylint: New file.
729
fdf4534d
SP
730 * bits/mathdef.h: Use #ifdef instead of #if.
731 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
732 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
733 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
734 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
735 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
736 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
737
6f23d093
AZ
7382014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
740
741 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
743 and strpbrk-ppc64 objects.
744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
745 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
746 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
747 multiarch strpbrk for POWER7.
748 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
749 multiarch strpbrk for PPC64.
750 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
751 ifunc selector.
752 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
753 strpbrk for POWER7.
754
8c92dfff
JM
7552014-03-20 Joseph Myers <joseph@codesourcery.com>
756
757 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
758 (atan_test): Likewise.
759 (atanh_test_data): Use NO_TEST_INLINE for two tests.
760 (atanh_test): Use ALL_RM_TEST.
761 (atan2_test_data): Likewise.
762 (cabs_test): Likewise.
763 (cacosh_test): Likewise.
764 (carg_test): Likewise.
765 (casin_test): Likewise.
766 (casinh_test): Likewise.
767 (cbrt_test): Likewise.
768 (csqrt_test): Likewise.
769 (erf_test): Likewise.
770 (erfc_test): Likewise.
771 (pow10_test): Likewise.
772 (exp2_test): Likewise.
773 (hypot_test): Likewise.
774 (j0_test): Likewise.
775 (j1_test): Likewise.
776 (lgamma_test): Likewise.
777 (gamma_test): Likewise.
778 (sincos_test): Likewise.
779 (tanh_test): Likewise.
780 (y0_test): Likewise.
781 (y1_test): Likewise.
782 * sysdeps/i386/fpu/libm-test-ulps: Update.
783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
784
6eaf95cb
AZ
7852014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
786
a387428c
SP
787 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
789 and strcspn-ppc64 objects.
790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
791 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
792 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
793 multiarch strcspn for POWER7.
794 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
795 multiarch strcspn for PPC64.
796 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
797 ifunc selector.
798 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
799 strcspn for POWER7.
800
ae3a5dff
JM
8012014-03-20 Joseph Myers <joseph@codesourcery.com>
802
803 * math/gen-libm-test.pl (generate_testfile): Expect only function
804 name as argument to AUTO_TESTS_* and pass results for all rounding
805 modes to parse_args.
806 (parse_auto_input): Separate inputs of automatic tests from
807 outputs before storing in %auto_tests.
808 * math/libm-test.inc (acos_test_data): Update call to
809 AUTO_TESTS_f_f.
810 (acos_test): Use ALL_RM_TEST.
811 (acos_tonearest_test_data): Remove.
812 (acos_test_tonearest): Likewise.
813 (acos_towardzero_test_data): Likewise.
814 (acos_test_towardzero): Likewise.
815 (acos_downward_test_data): Likewise.
816 (acos_test_downward): Likewise.
817 (acos_upward_test_data): Likewise.
818 (acos_test_upward): Likewise.
819 (acosh_test_data): Update call to AUTO_TESTS_f_f.
820 (asin_test_data): Likewise.
821 (asin_test): Use ALL_RM_TEST.
822 (asin_tonearest_test_data): Remove.
823 (asin_test_tonearest): Likewise.
824 (asin_towardzero_test_data): Likewise.
825 (asin_test_towardzero): Likewise.
826 (asin_downward_test_data): Likewise.
827 (asin_test_downward): Likewise.
828 (asin_upward_test_data): Likewise.
829 (asin_test_upward): Likewise.
830 (asinh_test_data): Update call to AUTO_TESTS_f_f.
831 (atan_test_data): Likewise.
832 (atanh_test_data): Likewise.
833 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
834 (cabs_test_data): Update call to AUTO_TESTS_c_f.
835 (carg_test_data): Likewise.
836 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
837 (ccos_test_data): Update call to AUTO_TESTS_c_c.
838 (ccosh_test_data): Likewise.
839 (cexp_test_data): Likewise.
840 (clog_test_data): Likewise.
841 (clog10_test_data): Likewise.
842 (cos_test_data): Update call to AUTO_TESTS_f_f.
843 (cos_test): Use ALL_RM_TEST.
844 (cos_tonearest_test_data): Remove.
845 (cos_test_tonearest): Likewise.
846 (cos_towardzero_test_data): Likewise.
847 (cos_test_towardzero): Likewise.
848 (cos_downward_test_data): Likewise.
849 (cos_test_downward): Likewise.
850 (cos_upward_test_data): Likewise.
851 (cos_test_upward): Likewise.
852 (cosh_test_data): Update call to AUTO_TESTS_f_f.
853 (cosh_test): Use ALL_RM_TEST.
854 (cosh_tonearest_test_data): Remove.
855 (cosh_test_tonearest): Likewise.
856 (cosh_towardzero_test_data): Likewise.
857 (cosh_test_towardzero): Likewise.
858 (cosh_downward_test_data): Likewise.
859 (cosh_test_downward): Likewise.
860 (cosh_upward_test_data): Likewise.
861 (cosh_test_upward): Likewise.
862 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
863 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
864 (ctan_test_data): Likewise.
865 (ctan_test): Use ALL_RM_TEST.
866 (ctan_tonearest_test_data): Remove.
867 (ctan_test_tonearest): Likewise.
868 (ctan_towardzero_test_data): Likewise.
869 (ctan_test_towardzero): Likewise.
870 (ctan_downward_test_data): Likewise.
871 (ctan_test_downward): Likewise.
872 (ctan_upward_test_data): Likewise.
873 (ctan_test_upward): Likewise.
874 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
875 (ctanh_test): Use ALL_RM_TEST.
876 (ctanh_tonearest_test_data): Remove.
877 (ctanh_test_tonearest): Likewise.
878 (ctanh_towardzero_test_data): Likewise.
879 (ctanh_test_towardzero): Likewise.
880 (ctanh_downward_test_data): Likewise.
881 (ctanh_test_downward): Likewise.
882 (ctanh_upward_test_data): Likewise.
883 (ctanh_test_upward): Likewise.
884 (erf_test_data): Update call to AUTO_TESTS_f_f.
885 (erfc_test_data): Likewise.
886 (exp_test_data): Likewise.
887 (exp_test): Use ALL_RM_TEST.
888 (exp_tonearest_test_data): Remove.
889 (exp_test_tonearest): Likewise.
890 (exp_towardzero_test_data): Likewise.
891 (exp_test_towardzero): Likewise.
892 (exp_downward_test_data): Likewise.
893 (exp_test_downward): Likewise.
894 (exp_upward_test_data): Likewise.
895 (exp_test_upward): Likewise.
896 (exp10_test_data): Update call to AUTO_TESTS_f_f.
897 (exp10_test): Use ALL_RM_TEST.
898 (exp10_tonearest_test_data): Remove.
899 (exp10_test_tonearest): Likewise.
900 (exp10_towardzero_test_data): Likewise.
901 (exp10_test_towardzero): Likewise.
902 (exp10_downward_test_data): Likewise.
903 (exp10_test_downward): Likewise.
904 (exp10_upward_test_data): Likewise.
905 (exp10_test_upward): Likewise.
906 (exp2_test_data): Update call to AUTO_TESTS_f_f.
907 (expm1_test_data): Likewise.
908 (expm1_test): Use ALL_RM_TEST.
909 (expm1_tonearest_test_data): Remove.
910 (expm1_test_tonearest): Likewise.
911 (expm1_towardzero_test_data): Likewise.
912 (expm1_test_towardzero): Likewise.
913 (expm1_downward_test_data): Likewise.
914 (expm1_test_downward): Likewise.
915 (expm1_upward_test_data): Likewise.
916 (expm1_test_upward): Likewise.
917 (fma_test_data): Update call to AUTO_TESTS_fff_f.
918 (fma_test): Use ALL_RM_TEST.
919 (fma_towardzero_test_data): Remove.
920 (fma_test_towardzero): Likewise.
921 (fma_downward_test_data): Likewise.
922 (fma_test_downward): Likewise.
923 (fma_upward_test_data): Likewise.
924 (fma_test_upward): Likewise.
925 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
926 (j0_test_data): Update call to AUTO_TESTS_f_f.
927 (j1_test_data): Likewise.
928 (jn_test_data): Update call to AUTO_TESTS_if_f.
929 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
930 (log_test_data): Update call to AUTO_TESTS_f_f.
931 (log10_test_data): Likewise.
932 (log1p_test_data): Likewise.
933 (log2_test_data): Likewise.
934 (pow_test_data): Update call to AUTO_TESTS_ff_f.
935 (pow_tonearest_test_data): Likewise.
936 (sin_test_data): Update call to AUTO_TESTS_f_f.
937 (sin_test): Use ALL_RM_TEST.
938 (sin_tonearest_test_data): Remove.
939 (sin_test_tonearest): Likewise.
940 (sin_towardzero_test_data): Likewise.
941 (sin_test_towardzero): Likewise.
942 (sin_downward_test_data): Likewise.
943 (sin_test_downward): Likewise.
944 (sin_upward_test_data): Likewise.
945 (sin_test_upward): Likewise.
946 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
947 (sinh_test_data): Update call to AUTO_TESTS_f_f.
948 (sinh_test): Use ALL_RM_TEST.
949 (sinh_tonearest_test_data): Remove.
950 (sinh_test_tonearest): Likewise.
951 (sinh_towardzero_test_data): Likewise.
952 (sinh_test_towardzero): Likewise.
953 (sinh_downward_test_data): Likewise.
954 (sinh_test_downward): Likewise.
955 (sinh_upward_test_data): Likewise.
956 (sinh_test_upward): Likewise.
957 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
958 (sqrt_test): Use ALL_RM_TEST.
959 (sqrt_tonearest_test_data): Remove.
960 (sqrt_test_tonearest): Likewise.
961 (sqrt_towardzero_test_data): Likewise.
962 (sqrt_test_towardzero): Likewise.
963 (sqrt_downward_test_data): Likewise.
964 (sqrt_test_downward): Likewise.
965 (sqrt_upward_test_data): Likewise.
966 (sqrt_test_upward): Likewise.
967 (tan_test_data): Update call to AUTO_TESTS_f_f.
968 (tan_test): Use ALL_RM_TEST.
969 (tan_tonearest_test_data): Remove.
970 (tan_test_tonearest): Likewise.
971 (tan_towardzero_test_data): Likewise.
972 (tan_test_towardzero): Likewise.
973 (tan_downward_test_data): Likewise.
974 (tan_test_downward): Likewise.
975 (tan_upward_test_data): Likewise.
976 (tan_test_upward): Likewise.
977 (tanh_test_data): Update call to AUTO_TESTS_f_f.
978 (tgamma_test_data): Likewise.
979 (y0_test_data): Likewise.
980 (y1_test_data): Likewise.
981 (yn_test_data): Update call to AUTO_TESTS_if_f.
982 (main): Do not call removed functions.
983
d71aeee8
JM
9842014-03-19 Joseph Myers <joseph@codesourcery.com>
985
986 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
987 (ldexp_test_data): Remove.
988 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
989 scalbn_test_data.
990 (scalb_test): Use ALL_RM_TEST.
991
baaf1ded
AS
9922014-03-19 Andreas Schwab <schwab@suse.de>
993
994 * nscd/nscd.service: Also invalidate netgroup cache on reload.
995
b1115e91
JM
9962014-03-19 Joseph Myers <joseph@codesourcery.com>
997
998 [BZ #16649]
999 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1000 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1001 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1003 (__ASSUME_PREADV): Undefine.
1004 (__ASSUME_PWRITEV): Likewise.
1005
0283ecca
RM
10062014-03-18 Roland McGrath <roland@hack.frob.com>
1007
7d375303
RM
1008 * bits/mman-linux.h: Add comment about non-Linux use.
1009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1010 bits/mman-linux.h resting place.
1011
0283ecca
RM
1012 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1013 * bits/mman-linux.h: ... here.
1014
aebe1003
AZ
10152014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1016
1017 * conform/conformtest.pl: Add standard definition when calling C
1018 preprocessor on data files.
1019 (checknamespace): Remove unused variable.
1020
b29b6bb8
JM
10212014-03-18 Joseph Myers <joseph@codesourcery.com>
1022
1023 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1024 minus_oflow, plus_uflow and minus_uflow in expected results.
1025 * math/libm-test.inc (scalbn_test_data): Add more tests of
1026 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1027 minus_uflow.
1028 (scalbn_test): Use ALL_RM_TEST.
1029 (scalbln_test_data): Add more tests of negative arguments. Use
1030 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1031 (scalbln_test): Use ALL_RM_TEST.
1032
c8f8fa15
RM
10332014-03-18 Roland McGrath <roland@hack.frob.com>
1034
1035 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1036
fede7a5f
WN
10372014-03-18 Will Newton <will.newton@linaro.org>
1038
1039 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1040 inaccurate comment.
1041
80cf0a58
JM
10422014-03-18 Joseph Myers <joseph@codesourcery.com>
1043
1044 * Makerules [!subdir] (check-abi): Exit with error status if a
1045 test failed.
1046
b3620862
JM
10472014-03-17 Joseph Myers <joseph@codesourcery.com>
1048
1049 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1050 for rint. Include results for all rounding modes.
1051 (nearbyint_test): Use ALL_RM_TEST.
1052 (rint_test_data): Include all tests used for nearbyint.
1053
788bba36
WN
10542014-03-17 Will Newton <will.newton@linaro.org>
1055
04ec140a
WN
1056 * nptl/sysdeps/pthread/pthread.h: Revert previous
1057 change.
1058
7579d8d5
WN
1059 * sysdeps/generic/ldsodefs.h: Revert previous
1060 change.
1061
c15cf13a
WN
1062 * libio/genops.c: Revert previous change.
1063 * libio/libioP.h: Likewise.
1064 * stdio-common/vfprintf.c: Likewise.
1065
d0ac1324
WN
1066 * sysdeps/generic/math_private.h: Revert previous
1067 change.
1068
9290130a
WN
1069 * sysdeps/generic/math_private.h: Check whether
1070 HAVE_RM_CTX is defined with #ifdef rather
1071 than #if.
1072
afb466fc
WN
1073 * argp/argp-fmtstream.h: Check whether
1074 __STRICT_ANSI__ is defined with #ifdef rather
1075 than #if.
1076 * argp/argp.h: Likewise.
1077
f7efd7c3
WN
1078 * libio/genops.c: Check whether
1079 _IO_JUMPS_OFFSET is defined with #ifdef rather
1080 than #if.
1081 * libio/libioP.h: Likewise.
1082 * stdio-common/vfprintf.c: Likewise.
1083
53f1bed3
WN
1084 * sysdeps/generic/ldsodefs.h: Check whether
1085 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1086 than #if.
1087
788bba36
WN
1088 * nptl/sysdeps/pthread/pthread.h: Check
1089 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1090 its value.
1091
fcd89ebe
SP
10922014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1093
ae42bbc5
SP
1094 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1095 setting O_APPEND.
1096 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1097 test case.
1098
ea33158c
SP
1099 [BZ #16680]
1100 * libio/fileops.c (_IO_file_open): Seek to end of file but
1101 don't cache the offset.
1102 (get_file_offset): Remove function.
1103 (do_ftell): Use cached offset when available.
1104 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1105 don't cache the offset.
1106 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1107 case.
1108 (do_one_test): Call it.
1109 (do_ftell_test): Fix up expected old offset for a+ mode.
1110 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1111 available.
1112
b1dbb426
SP
1113 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1114 up test status with function return status.
1115 (do_write_test): Likewise.
1116 (do_append_test): Likewise.
1117
fcd89ebe
SP
1118 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1119 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1120 Remove.
1121
9962a2d3
JM
11222014-03-17 Joseph Myers <joseph@codesourcery.com>
1123
1124 * math/gen-libm-test.pl (parse_args): Handle results specified for
1125 each rounding mode separately.
1126 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1127 tests and results from lrint_tonearest_test_data,
1128 lrint_towardzero_test_data, lrint_downward_test_data and
1129 lrint_upward_test_data.
1130 (lrint_test): Use ALL_RM_TEST.
1131 (lrint_tonearest_test_data): Remove.
1132 (lrint_test_tonearest): Likewise.
1133 (lrint_towardzero_test_data): Likewise.
1134 (lrint_test_towardzero): Likewise.
1135 (lrint_downward_test_data): Likewise.
1136 (lrint_test_downward): Likewise.
1137 (lrint_upward_test_data): Likewise.
1138 (lrint_test_upward): Likewise.
1139 (llrint_test_data): Merge in per-rounding-mode tests and results
1140 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1141 llrint_downward_test_data and llrint_upward_test_data.
1142 (llrint_test): Use ALL_RM_TEST.
1143 (llrint_tonearest_test_data): Remove.
1144 (llrint_test_tonearest): Likewise.
1145 (llrint_towardzero_test_data): Likewise.
1146 (llrint_test_towardzero): Likewise.
1147 (llrint_downward_test_data): Likewise.
1148 (llrint_test_downward): Likewise.
1149 (llrint_upward_test_data): Likewise.
1150 (llrint_test_upward): Likewise.
1151 (rint_test_data): Merge in per-rounding-mode tests and results
1152 from rint_tonearest_test_data, rint_towardzero_test_data,
1153 rint_downward_test_data and rint_upward_test_data. Add
1154 per-rounding-mode results for tests not in those arrays.
1155 (rint_test): Use ALL_RM_TEST.
1156 (rint_tonearest_test_data): Remove.
1157 (rint_test_tonearest): Likewise.
1158 (rint_towardzero_test_data): Likewise.
1159 (rint_test_towardzero): Likewise.
1160 (rint_downward_test_data): Likewise.
1161 (rint_test_downward): Likewise.
1162 (rint_upward_test_data): Likewise.
1163 (rint_test_upward): Likewise.
1164 (main): Don't call removed functions.
1165
5006148e
RM
11662014-03-14 Roland McGrath <roland@hack.frob.com>
1167
1168 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1169 "Compiled on ..." crapola. It is anti-useful.
1170
d6fe5e58
JM
11712014-03-14 Joseph Myers <joseph@codesourcery.com>
1172
1173 * scripts/evaluate-test.sh: Handle fourth argument to determine
1174 whether test run should stop on failure.
1175 * Makeconfig (stop-on-test-failure): New variable.
1176 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1177 $(stop-on-test-failure).
1178 * Makefile (tests): Give a summary of results from testing and
1179 exit with failure status if they include an ERROR or FAIL.
1180 (xtests): Likewise.
1181 * manual/install.texi (Configuring and compiling): Mention
1182 stop-on-test-failure=y.
1183 * INSTALL: Regenerated.
1184
498a2233
RM
11852014-03-14 Roland McGrath <roland@hack.frob.com>
1186
22dbc19d
RM
1187 * scripts/versionlist.awk: New file.
1188 * Makerules [$(build-shared) = yes]
1189 (postclean-generated): Add Versions.def, not Versions.def.v and
1190 Versions.def.v.i.
1191 ($(common-objpfx)Versions.def.v.i): Target removed.
1192 ($(common-objpfx)Versions.def): New target.
1193 ($(common-objpfx)Versions.all): Depend on that rather that
1194 $(common-objpfx)Versions.def.v.
1195 * Versions.def: File removed.
1196
498a2233
RM
1197 * Makeconfig (+gccwarn): Add -Wundef.
1198 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1199 a dl-sysdep.h breaking its contract.
1200 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1201 * include/stackinfo.h: New file.
1202 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1203 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1204 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1205 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1206 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1207 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1208 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1209 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1210 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1211 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1212 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1213 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1214 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1215 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1216 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1217
c7de5025
AZ
12182014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1219
1220 [BZ #16707]
1221 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1222 implementation.
1223 * math/libm-test.inc (round_test_data): Add more tests.
1224
98fb27a3
AZ
12252014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1226
1227 [BZ #16706]
1228 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1229 implementation.
1230 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1231
374f7f61
AZ
12322014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1233
1234 [BZ #16701]
1235 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1236 implementation.
1237 * math/libm-test.inc (ceil_test_data): Add more tests.
1238
4655c291
AZ
12392014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240
1241 * math/libm-test.inc (trunc_test_data): Add more tests related to
1242 BZ#16414.
1243
d7329d4b
RM
12442014-03-14 Roland McGrath <roland@hack.frob.com>
1245
1246 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1247 with #if rather than #ifdef.
1248 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1249
aa4de9ce
L
12502014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1251
1252 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1253 first. Disable AVX-512 GCC support if assembler doesn't support
1254 it.
1255 * sysdeps/x86_64/configure: Regenerated.
1256
2e03fae7
CD
12572014-03-13 Carlos O'Donell <carlos@redhat.com>
1258
1259 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1260 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1261 (__old_pthread_attr_setstack): Likewise.
1262 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1263 [!_STACK_GROWS_DOWN]: Likewise.
1264
43ca83ec
MF
12652014-03-13 Mike Frysinger <vapier@gentoo.org>
1266
1267 * config.make.in (have-bash2): Delete.
1268 * configure.ac (libc_cv_have_bash2): Delete.
1269 * configure: Regenerate.
1270 * elf/Makefile (common-ldd-rewrite): Rename to ...
1271 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1272 (sh-ldd-rewrite): Delete.
1273 (bash-ldd-rewrite): Delete.
1274 (have-bash2): Delete checks.
1275 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1276
c66e48b4
MF
12772014-03-13 Mike Frysinger <vapier@gentoo.org>
1278
1279 * config.make.in (have-ksh): Delete.
1280 (KSH): Delete.
1281 * configure.ac (libc_cv_have_ksh): Delete.
1282 * configure: Regenerate.
1283
b93834ef
MF
12842014-03-13 Mike Frysinger <vapier@gentoo.org>
1285
1286 * elf/Makefile: Delete $(have-ksh) check.
1287 ($(objpfx)sotruss): Change KSH to BASH.
1288 * elf/sotruss.ksh: Rename to ...
1289 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1290 function style to match POSIX. Drop ksh vim mode setting.
1291
f3a4632a
MF
12922014-03-13 Mike Frysinger <vapier@gentoo.org>
1293
1294 * manual/time.texi (Specifying the Time Zone with TZ): Change
1295 Tuesday to Thursday.
1296
5896c8bd
MF
12972014-03-13 Mike Frysinger <vapier@gentoo.org>
1298
1299 * debug/tst-longjmp_chk2.c: Update header comment.
1300 (stackoverflow_handler): Add comment. Call assert on pass value.
1301
2d63a517
IZ
13022014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1303
1304 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1305 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1306 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1307 (La_x86_64_vector): Add zmm.
1308 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1309 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1310 ($(objpfx)tst-audit10): New target.
1311 ($(objpfx)tst-audit10.out): Likewise.
1312 (tst-audit10-ENV): New.
1313 (AVX512-CFLAGS): Likewise.
1314 (CFLAGS-tst-audit10.c): Likewise.
1315 (CFLAGS-tst-auditmod10a.c): Likewise.
1316 (CFLAGS-tst-auditmod10b.c): Likewise.
1317 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1318 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1319 * sysdeps/x86_64/configure: Regenerated.
1320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1321 AVX-512 zmm register support.
1322 (_dl_x86_64_save_sse): Likewise.
1323 (_dl_x86_64_restore_sse): Likewise.
1324 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1325 size vector registers.
1326 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1327 (ZMM_SIZE): Likewise.
1328 * sysdeps/x86_64/tst-audit10.c: New file.
1329 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1330 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1331
44c4e5d5
RM
13322014-03-13 Roland McGrath <roland@hack.frob.com>
1333
1334 * configure.ac (HAVE_EHDR_START): New check.
1335 * configure: Regenerated.
1336 * config.h.in (HAVE_EHDR_START): New #undef.
1337 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1338 assuming the lowest-addressed segment maps the start of the file.
1339
acd6e389
JM
13402014-03-13 Joseph Myers <joseph@codesourcery.com>
1341
1342 * INSTALL: Regenerated.
1343
6f918f36
WN
13442014-03-13 Will Newton <will.newton@linaro.org>
1345
1346 * manual/setjmp.texi (System V contexts): Improve
1347 clarity and grammar of documentation.
1348
798212a0
PP
13492014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1350
1351 [BZ #16381]
798212a0 1352 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1353 (tests-pie): Add tst-pie2.
798212a0
PP
1354 * elf/tst-pie2.c: New file.
1355 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1356 for ET_EXEC.
1357 * elf/rtld.c (map_doit): Load executable as lt_executable.
1358 (dl_main): Likewise.
1359
abe6d90c
JM
13602014-03-12 Joseph Myers <joseph@codesourcery.com>
1361
1362 [BZ #16642]
1363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1364 (__ASSUME_PSELECT): Undefine.
1365
dd3946c6
AZ
13662014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1367
1368 [BZ #16689]
1369 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1370 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1371 static build.
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1373 selector for static builds.
1374
c44496df
SP
13752014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1376
1377 [BZ #16695]
1378 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1379 key in the buffer.
1380
27c7220a
AZ
13812014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382
1383 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1384 selector for static builds.
1385
600fa361
JM
13862014-03-11 Joseph Myers <joseph@codesourcery.com>
1387
76c96cf7
JM
1388 * sysdeps/mips/math_private.h [__mips_hard_float]
1389 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1390 libc_feresetround_mips_ctx.
1391 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1392 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1393 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1394
600fa361
JM
1395 [BZ #16677]
1396 * math/s_nextafter.c (__nextafter): Do not return value from
1397 overflowing computation.
1398 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1399 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1400 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1401 Likewise.
1402 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1403 Likewise.
1404 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1405 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1406
d7706c32
RM
14072014-03-11 Roland McGrath <roland@hack.frob.com>
1408
1409 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1410 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1411 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1412 the new mov targetting sp.
1413
4facea47
AZ
14142014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1415
1416 [BZ #16683]
1417 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1418 Define it for static builds as well.
1419 (NO_BZERO_IMPL): Likewise.
1420
e65caf1f
VR
14212014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1422
1423 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1424 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1425 multiarch strspn for PPC64.
1426 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1427 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1429 (__libc_ifunc_impl_list): Likewise.
1430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1431 multiarch optimizations
1432 * string/strspn.c (strspn): Using macro to redefine symbol name.
1433
ba9cc071
AZ
14342014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1435 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1436
1437 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1438 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1439 multiarch strncat for PPC64.
1440 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1441 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1443 (__libc_ifunc_impl_list): Likewise.
1444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1445 multiarch optimizations
1446
8b4ff974
SP
14472014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1448
1449 [BZ #16639]
1450 * nscd/nscd.service: Make service type forking.
1451
54b46a4b
AZ
14522014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1455 sign in non default rounding modes.
1456 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1457
e9996ef7
JM
14582014-03-08 Joseph Myers <joseph@codesourcery.com>
1459
1460 * math/libm-test.inc (ALL_RM_TEST): New macro.
1461 (ceil_test): Use ALL_RM_TEST.
1462 (cimag_test): Likewise.
1463 (conj_test): Likewise.
1464 (copysign_test): Likewise.
1465 (cproj_test): Likewise.
1466 (creal_test): Likewise.
1467 (fabs_test): Likewise.
1468 (floor_test): Likewise.
1469 (fmax_test): Likewise.
1470 (fmin_test): Likewise.
1471 (fmod_test): Likewise.
1472 (fpclassify_test): Likewise.
1473 (frexp_test): Likewise.
1474 (ilogb_test): Likewise.
1475 (isfinite_test): Likewise.
1476 (finite_test): Likewise.
1477 (isgreater_test): Likewise.
1478 (isgreaterequal_test): Likewise.
1479 (isinf_test): Likewise.
1480 (isless_test): Likewise.
1481 (islessequal_test): Likewise.
1482 (islessgreater_test): Likewise.
1483 (isnan_test): Likewise.
1484 (isnormal_test): Likewise.
1485 (issignaling_test): Likewise.
1486 (isunordered_test): Likewise.
1487 (logb_test): Likewise.
1488 (logb_downward_test_data): Remove.
1489 (logb_test_downward): Likewise.
1490 (lround_test): Use ALL_RM_TEST.
1491 (llround_test): Likewise.
1492 (modf_test): Likewise.
1493 (nexttoward_test): Likewise.
1494 (remainder_test): Likewise.
1495 (drem_test): Likewise.
1496 (remainder_tonearest_test_data): Likewise.
1497 (remainder_test_tonearest): Likewise.
1498 (drem_test_tonearest): Likewise.
1499 (remainder_towardzero_test_data): Likewise.
1500 (remainder_test_towardzero): Likewise.
1501 (drem_test_towardzero): Likewise.
1502 (remainder_downward_test_data): Likewise.
1503 (remainder_test_downward): Likewise.
1504 (drem_test_downward): Likewise.
1505 (remainder_upward_test_data): Likewise.
1506 (remainder_test_upward): Likewise.
1507 (drem_test_upward): Likewise.
1508 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1509 (round_test): Use ALL_RM_TEST.
1510 (signbit_test): Likewise.
1511 (trunc_test): Likewise.
1512 (significand_test): Likewise.
1513 (main): Don't call removed functions.
1514
bc61d27c
JM
15152014-03-07 Joseph Myers <joseph@codesourcery.com>
1516
5c780849
JM
1517 [BZ #16674]
1518 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1519 || __USE_XOPEN2K8].
1520 (ILL_ILLOPN): Likewise.
1521 (ILL_ILLADR): Likewise.
1522 (ILL_ILLTRP): Likewise.
1523 (ILL_PRVOPC): Likewise.
1524 (ILL_PRVREG): Likewise.
1525 (ILL_COPROC): Likewise.
1526 (ILL_BADSTK): Likewise.
1527 (FPE_INTDIV): Likewise.
1528 (FPE_INTOVF): Likewise.
1529 (FPE_FLTDIV): Likewise.
1530 (FPE_FLTOVF): Likewise.
1531 (FPE_FLTUND): Likewise.
1532 (FPE_FLTRES): Likewise.
1533 (FPE_FLTINV): Likewise.
1534 (FPE_FLTSUB): Likewise.
1535 (SEGV_MAPERR): Likewise.
1536 (SEGV_ACCERR): Likewise.
1537 (BUS_ADRALN): Likewise.
1538 (BUS_ADRERR): Likewise.
1539 (BUS_OBJERR): Likewise.
1540 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1541 (TRAP_TRACE): Likewise.
1542 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1543 __USE_XOPEN2K8].
1544 (CLD_KILLED): Likewise.
1545 (CLD_DUMPED): Likewise.
1546 (CLD_TRAPPED): Likewise.
1547 (CLD_STOPPED): Likewise.
1548 (CLD_CONTINUED): Likewise.
1549 (POLL_IN): Likewise.
1550 (POLL_OUT): Likewise.
1551 (POLL_MSG): Likewise.
1552 (POLL_ERR): Likewise.
1553 (POLL_PRI): Likewise.
1554 (POLL_HUP): Likewise.
1555 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1556 Likewise.
1557 (ILL_ILLOPN): Likewise.
1558 (ILL_ILLADR): Likewise.
1559 (ILL_ILLTRP): Likewise.
1560 (ILL_PRVOPC): Likewise.
1561 (ILL_PRVREG): Likewise.
1562 (ILL_COPROC): Likewise.
1563 (ILL_BADSTK): Likewise.
1564 (FPE_INTDIV): Likewise.
1565 (FPE_INTOVF): Likewise.
1566 (FPE_FLTDIV): Likewise.
1567 (FPE_FLTOVF): Likewise.
1568 (FPE_FLTUND): Likewise.
1569 (FPE_FLTRES): Likewise.
1570 (FPE_FLTINV): Likewise.
1571 (FPE_FLTSUB): Likewise.
1572 (SEGV_MAPERR): Likewise.
1573 (SEGV_ACCERR): Likewise.
1574 (BUS_ADRALN): Likewise.
1575 (BUS_ADRERR): Likewise.
1576 (BUS_OBJERR): Likewise.
1577 (BUS_MCEERR_AR): Likewise.
1578 (BUS_MCEERR_AO): Likewise.
1579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1580 (TRAP_TRACE): Likewise.
1581 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1582 __USE_XOPEN2K8].
1583 (CLD_KILLED): Likewise.
1584 (CLD_DUMPED): Likewise.
1585 (CLD_TRAPPED): Likewise.
1586 (CLD_STOPPED): Likewise.
1587 (CLD_CONTINUED): Likewise.
1588 (POLL_IN): Likewise.
1589 (POLL_OUT): Likewise.
1590 (POLL_MSG): Likewise.
1591 (POLL_ERR): Likewise.
1592 (POLL_PRI): Likewise.
1593 (POLL_HUP): Likewise.
1594 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1595 (ILL_ILLOPN): Likewise.
1596 (ILL_ILLADR): Likewise.
1597 (ILL_ILLTRP): Likewise.
1598 (ILL_PRVOPC): Likewise.
1599 (ILL_PRVREG): Likewise.
1600 (ILL_COPROC): Likewise.
1601 (ILL_BADSTK): Likewise.
1602 (FPE_INTDIV): Likewise.
1603 (FPE_INTOVF): Likewise.
1604 (FPE_FLTDIV): Likewise.
1605 (FPE_FLTOVF): Likewise.
1606 (FPE_FLTUND): Likewise.
1607 (FPE_FLTRES): Likewise.
1608 (FPE_FLTINV): Likewise.
1609 (FPE_FLTSUB): Likewise.
1610 (SEGV_MAPERR): Likewise.
1611 (SEGV_ACCERR): Likewise.
1612 (BUS_ADRALN): Likewise.
1613 (BUS_ADRERR): Likewise.
1614 (BUS_OBJERR): Likewise.
1615 (BUS_MCEERR_AR): Likewise.
1616 (BUS_MCEERR_AO): Likewise.
1617 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1618 (TRAP_TRACE): Likewise.
1619 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1620 __USE_XOPEN2K8].
1621 (CLD_KILLED): Likewise.
1622 (CLD_DUMPED): Likewise.
1623 (CLD_TRAPPED): Likewise.
1624 (CLD_STOPPED): Likewise.
1625 (CLD_CONTINUED): Likewise.
1626 (POLL_IN): Likewise.
1627 (POLL_OUT): Likewise.
1628 (POLL_MSG): Likewise.
1629 (POLL_ERR): Likewise.
1630 (POLL_PRI): Likewise.
1631 (POLL_HUP): Likewise.
1632 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1633 Likewise.
1634 (ILL_ILLOPN): Likewise.
1635 (ILL_ILLADR): Likewise.
1636 (ILL_ILLTRP): Likewise.
1637 (ILL_PRVOPC): Likewise.
1638 (ILL_PRVREG): Likewise.
1639 (ILL_COPROC): Likewise.
1640 (ILL_BADSTK): Likewise.
1641 (ILL_BADIADDR): Likewise.
1642 (ILL_BREAK): Likewise.
1643 (FPE_INTDIV): Likewise.
1644 (FPE_INTOVF): Likewise.
1645 (FPE_FLTDIV): Likewise.
1646 (FPE_FLTOVF): Likewise.
1647 (FPE_FLTUND): Likewise.
1648 (FPE_FLTRES): Likewise.
1649 (FPE_FLTINV): Likewise.
1650 (FPE_FLTSUB): Likewise.
1651 (FPE_DECOVF): Likewise.
1652 (FPE_DECDIV): Likewise.
1653 (FPE_DECERR): Likewise.
1654 (FPE_INVASC): Likewise.
1655 (FPE_INVDEC): Likewise.
1656 (SEGV_MAPERR): Likewise.
1657 (SEGV_ACCERR): Likewise.
1658 (SEGV_PSTKOVF): Likewise.
1659 (BUS_ADRALN): Likewise.
1660 (BUS_ADRERR): Likewise.
1661 (BUS_OBJERR): Likewise.
1662 (BUS_MCEERR_AR): Likewise.
1663 (BUS_MCEERR_AO): Likewise.
1664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1665 (TRAP_TRACE): Likewise.
1666 (TRAP_BRANCH): Likewise.
1667 (TRAP_HWBKPT): Likewise.
1668 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1669 __USE_XOPEN2K8].
1670 (CLD_KILLED): Likewise.
1671 (CLD_DUMPED): Likewise.
1672 (CLD_TRAPPED): Likewise.
1673 (CLD_STOPPED): Likewise.
1674 (CLD_CONTINUED): Likewise.
1675 (POLL_IN): Likewise.
1676 (POLL_OUT): Likewise.
1677 (POLL_MSG): Likewise.
1678 (POLL_ERR): Likewise.
1679 (POLL_PRI): Likewise.
1680 (POLL_HUP): Likewise.
1681 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1682 (ILL_ILLOPN): Likewise.
1683 (ILL_ILLADR): Likewise.
1684 (ILL_ILLTRP): Likewise.
1685 (ILL_PRVOPC): Likewise.
1686 (ILL_PRVREG): Likewise.
1687 (ILL_COPROC): Likewise.
1688 (ILL_BADSTK): Likewise.
1689 (FPE_INTDIV): Likewise.
1690 (FPE_INTOVF): Likewise.
1691 (FPE_FLTDIV): Likewise.
1692 (FPE_FLTOVF): Likewise.
1693 (FPE_FLTUND): Likewise.
1694 (FPE_FLTRES): Likewise.
1695 (FPE_FLTINV): Likewise.
1696 (FPE_FLTSUB): Likewise.
1697 (SEGV_MAPERR): Likewise.
1698 (SEGV_ACCERR): Likewise.
1699 (BUS_ADRALN): Likewise.
1700 (BUS_ADRERR): Likewise.
1701 (BUS_OBJERR): Likewise.
1702 (BUS_MCEERR_AR): Likewise.
1703 (BUS_MCEERR_AO): Likewise.
1704 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1705 (TRAP_TRACE): Likewise.
1706 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1707 __USE_XOPEN2K8].
1708 (CLD_KILLED): Likewise.
1709 (CLD_DUMPED): Likewise.
1710 (CLD_TRAPPED): Likewise.
1711 (CLD_STOPPED): Likewise.
1712 (CLD_CONTINUED): Likewise.
1713 (POLL_IN): Likewise.
1714 (POLL_OUT): Likewise.
1715 (POLL_MSG): Likewise.
1716 (POLL_ERR): Likewise.
1717 (POLL_PRI): Likewise.
1718 (POLL_HUP): Likewise.
1719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1720 (ILL_ILLOPN): Likewise.
1721 (ILL_ILLADR): Likewise.
1722 (ILL_ILLTRP): Likewise.
1723 (ILL_PRVOPC): Likewise.
1724 (ILL_PRVREG): Likewise.
1725 (ILL_COPROC): Likewise.
1726 (ILL_BADSTK): Likewise.
1727 (FPE_INTDIV): Likewise.
1728 (FPE_INTOVF): Likewise.
1729 (FPE_FLTDIV): Likewise.
1730 (FPE_FLTOVF): Likewise.
1731 (FPE_FLTUND): Likewise.
1732 (FPE_FLTRES): Likewise.
1733 (FPE_FLTINV): Likewise.
1734 (FPE_FLTSUB): Likewise.
1735 (SEGV_MAPERR): Likewise.
1736 (SEGV_ACCERR): Likewise.
1737 (BUS_ADRALN): Likewise.
1738 (BUS_ADRERR): Likewise.
1739 (BUS_OBJERR): Likewise.
1740 (BUS_MCEERR_AR): Likewise.
1741 (BUS_MCEERR_AO): Likewise.
1742 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1743 (TRAP_TRACE): Likewise.
1744 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1745 __USE_XOPEN2K8].
1746 (CLD_KILLED): Likewise.
1747 (CLD_DUMPED): Likewise.
1748 (CLD_TRAPPED): Likewise.
1749 (CLD_STOPPED): Likewise.
1750 (CLD_CONTINUED): Likewise.
1751 (POLL_IN): Likewise.
1752 (POLL_OUT): Likewise.
1753 (POLL_MSG): Likewise.
1754 (POLL_ERR): Likewise.
1755 (POLL_PRI): Likewise.
1756 (POLL_HUP): Likewise.
1757 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1758 (ILL_ILLOPN): Likewise.
1759 (ILL_ILLADR): Likewise.
1760 (ILL_ILLTRP): Likewise.
1761 (ILL_PRVOPC): Likewise.
1762 (ILL_PRVREG): Likewise.
1763 (ILL_COPROC): Likewise.
1764 (ILL_BADSTK): Likewise.
1765 (FPE_INTDIV): Likewise.
1766 (FPE_INTOVF): Likewise.
1767 (FPE_FLTDIV): Likewise.
1768 (FPE_FLTOVF): Likewise.
1769 (FPE_FLTUND): Likewise.
1770 (FPE_FLTRES): Likewise.
1771 (FPE_FLTINV): Likewise.
1772 (FPE_FLTSUB): Likewise.
1773 (SEGV_MAPERR): Likewise.
1774 (SEGV_ACCERR): Likewise.
1775 (BUS_ADRALN): Likewise.
1776 (BUS_ADRERR): Likewise.
1777 (BUS_OBJERR): Likewise.
1778 (BUS_MCEERR_AR): Likewise.
1779 (BUS_MCEERR_AO): Likewise.
1780 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1781 (TRAP_TRACE): Likewise.
1782 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1783 __USE_XOPEN2K8].
1784 (CLD_KILLED): Likewise.
1785 (CLD_DUMPED): Likewise.
1786 (CLD_TRAPPED): Likewise.
1787 (CLD_STOPPED): Likewise.
1788 (CLD_CONTINUED): Likewise.
1789 (POLL_IN): Likewise.
1790 (POLL_OUT): Likewise.
1791 (POLL_MSG): Likewise.
1792 (POLL_ERR): Likewise.
1793 (POLL_PRI): Likewise.
1794 (POLL_HUP): Likewise.
1795 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1796 (ILL_ILLOPN): Likewise.
1797 (ILL_ILLADR): Likewise.
1798 (ILL_ILLTRP): Likewise.
1799 (ILL_PRVOPC): Likewise.
1800 (ILL_PRVREG): Likewise.
1801 (ILL_COPROC): Likewise.
1802 (ILL_BADSTK): Likewise.
1803 (ILL_DBLFLT): Likewise.
1804 (ILL_HARDWALL): Likewise.
1805 (FPE_INTDIV): Likewise.
1806 (FPE_INTOVF): Likewise.
1807 (FPE_FLTDIV): Likewise.
1808 (FPE_FLTOVF): Likewise.
1809 (FPE_FLTUND): Likewise.
1810 (FPE_FLTRES): Likewise.
1811 (FPE_FLTINV): Likewise.
1812 (FPE_FLTSUB): Likewise.
1813 (SEGV_MAPERR): Likewise.
1814 (SEGV_ACCERR): Likewise.
1815 (BUS_ADRALN): Likewise.
1816 (BUS_ADRERR): Likewise.
1817 (BUS_OBJERR): Likewise.
1818 (BUS_MCEERR_AR): Likewise.
1819 (BUS_MCEERR_AO): Likewise.
1820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1821 (TRAP_TRACE): Likewise.
1822 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1823 __USE_XOPEN2K8].
1824 (CLD_KILLED): Likewise.
1825 (CLD_DUMPED): Likewise.
1826 (CLD_TRAPPED): Likewise.
1827 (CLD_STOPPED): Likewise.
1828 (CLD_CONTINUED): Likewise.
1829 (POLL_IN): Likewise.
1830 (POLL_OUT): Likewise.
1831 (POLL_MSG): Likewise.
1832 (POLL_ERR): Likewise.
1833 (POLL_PRI): Likewise.
1834 (POLL_HUP): Likewise.
1835 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1836 (ILL_ILLOPN): Likewise.
1837 (ILL_ILLADR): Likewise.
1838 (ILL_ILLTRP): Likewise.
1839 (ILL_PRVOPC): Likewise.
1840 (ILL_PRVREG): Likewise.
1841 (ILL_COPROC): Likewise.
1842 (ILL_BADSTK): Likewise.
1843 (FPE_INTDIV): Likewise.
1844 (FPE_INTOVF): Likewise.
1845 (FPE_FLTDIV): Likewise.
1846 (FPE_FLTOVF): Likewise.
1847 (FPE_FLTUND): Likewise.
1848 (FPE_FLTRES): Likewise.
1849 (FPE_FLTINV): Likewise.
1850 (FPE_FLTSUB): Likewise.
1851 (SEGV_MAPERR): Likewise.
1852 (SEGV_ACCERR): Likewise.
1853 (BUS_ADRALN): Likewise.
1854 (BUS_ADRERR): Likewise.
1855 (BUS_OBJERR): Likewise.
1856 (BUS_MCEERR_AR): Likewise.
1857 (BUS_MCEERR_AO): Likewise.
1858 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1859 (TRAP_TRACE): Likewise.
1860 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1861 __USE_XOPEN2K8].
1862 (CLD_KILLED): Likewise.
1863 (CLD_DUMPED): Likewise.
1864 (CLD_TRAPPED): Likewise.
1865 (CLD_STOPPED): Likewise.
1866 (CLD_CONTINUED): Likewise.
1867 (POLL_IN): Likewise.
1868 (POLL_OUT): Likewise.
1869 (POLL_MSG): Likewise.
1870 (POLL_ERR): Likewise.
1871 (POLL_PRI): Likewise.
1872 (POLL_HUP): Likewise.
1873 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1874 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1875
bc61d27c
JM
1876 [BZ #16670]
1877 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1878 before #include of <time.h>.
1879 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1880 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1881 (test-xfail-UNIX98/sched.h/conform): Likewise.
1882
302949e2
MS
18832014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1884
1885 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1886 error absence of trapping exception support.
1887 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1888
a00f522a
JM
18892014-03-07 Joseph Myers <joseph@codesourcery.com>
1890
6f99f280
JM
1891 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1892 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1893 * timezone/Makefile (testdata): Move definition above include of
1894 Rules.
1895 (test-zones): New variable.
1896 (tests-special): Add zone files.
1897 (build-testdata): Use $(evaluate-test).
1898
0b20a9e8
JM
1899 * elf/Makefile (tests-special): Rename tests to end with .out.
1900 ($(objpfx)noload-mem): Likewise.
1901 ($(objpfx)tst-leaks1-mem): Likewise.
1902 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1903 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1904 $(objpfx)test-iconvconfig.out.
1905 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1906 set -e inside subshell and redirect output to file.
1907 * iconvdata/Makefile (generated): Rename tests to end with .out.
1908 Correct type.
1909 (tests-special): Rename tests to end with .out.
1910 ($(objpfx)mtrace-tst-loading): Likewise.
1911 * intl/Makefile (generated): Likewise.
1912 (tests-special): Likewise.
1913 ($(objpfx)mtrace-tst-gettext): Likewise.
1914 * misc/Makefile (generated): Likewise.
1915 (tests-special): Likewise.
1916 ($(objpfx)tst-error1-mem): Likewise.
1917 * nptl/Makefile (tests-special): Likewise.
1918 ($(objpfx)tst-stack3-mem): Likewise.
1919 (generated): Likewise.
1920 * posix/Makefile (generated): Likewise.
1921 (tests-special): Likewise.
1922 (xtests-special): Likewise.
1923 ($(objpfx)tst-fnmatch-mem): Likewise.
1924 ($(objpfx)bug-regex2-mem): Likewise.
1925 ($(objpfx)bug-regex14-mem): Likewise.
1926 ($(objpfx)bug-regex21-mem): Likewise.
1927 ($(objpfx)bug-regex31-mem): Likewise.
1928 ($(objpfx)tst-vfork3-mem): Likewise.
1929 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1930 ($(objpfx)tst-pcre-mem): Likewise.
1931 ($(objpfx)tst-boost-mem): Likewise.
1932 ($(objpfx)bug-ga2-mem): Likewise.
1933 ($(objpfx)bug-glob2-mem): Likewise.
1934 * resolv/Makefile (generate): Likewise.
1935 (tests-special): Likewise.
1936 (xtests-special): Likewise.
1937 (generated): Likewise.
1938 ($(objpfx)mtrace-tst-leaks): Likewise.
1939 ($(objpfx)mtrace-tst-leaks2): Likewise.
1940
265d52ab
JM
1941 * scripts/merge-test-results.sh: New file.
1942 * Makefile (tests-special-notdir): New variable.
1943 (tests): Run merge-test-results.sh.
1944 (xtests): Likewise.
1945 * Rules (tests-special-notdir): New variable.
1946 (xtests-special-notdir): Likewise.
1947 (tests): Run merge-test-results.sh
1948 (xtests): Likewise.
1949
54ee292d
JM
1950 * Makeconfig (test-xfail-name): New variable.
1951 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1952 compute variable name for expected failures.
1953 * conform/Makefile (conformtest-headers-data): New variable.
1954 (conformtest-standards): Likewise.
1955 (conformtest-headers-ISO): Likewise.
1956 (conformtest-headers-ISO99): Likewise.
1957 (conformtest-headers-ISO11): Likewise.
1958 (conformtest-headers-POSIX): Likewise.
1959 (conformtest-headers-XPG3): Likewise.
1960 (conformtest-headers-XPG4): Likewise.
1961 (conformtest-headers-UNIX98): Likewise.
1962 (conformtest-headers-XOPEN2K): Likewise.
1963 (conformtest-headers-POSIX2008): Likewise.
1964 (conformtest-headers-XOPEN2K8): Likewise.
1965 (conformtest-header-list-base): Likewise.
1966 (conformtest-header-list-tests): Likewise.
1967 (conformtest-header-base): Likewise.
1968 (conformtest-header-tests): Likewise.
1969 (tests-special): Add $(conformtest-header-list-tests). If
1970 [$(fast-check) && !$(cross-compiling)], add
1971 $(conformtest-header-tests) instead of
1972 $(objpfx)run-conformtest.out.
1973 (generated): Add $(conformtest-header-list-base). If
1974 [$(fast-check) && !$(cross-compiling)], add
1975 $(conformtest-header-base). Remove previous setting.
1976 ($(conformtest-header-list-tests)): New target.
1977 (test-xfail-run-conformtest): Remove variable.
1978 ($(objpfx)run-conformtest.out): Remove target.
1979 (test-xfail-ISO11/complex.h/conform): New variable.
1980 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1981 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1982 (test-xfail-XPG3/varargs.h/conform): Likewise.
1983 (test-xfail-XPG4/varargs.h/conform): Likewise.
1984 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1985 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1986 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1987 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1988 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1989 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1990 (test-xfail-XPG3/ftw.h/conform): Likewise.
1991 (test-xfail-XPG3/grp.h/conform): Likewise.
1992 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1993 (test-xfail-XPG3/limits.h/conform): Likewise.
1994 (test-xfail-XPG3/pwd.h/conform): Likewise.
1995 (test-xfail-XPG3/search.h/conform): Likewise.
1996 (test-xfail-XPG3/signal.h/conform): Likewise.
1997 (test-xfail-XPG3/stdio.h/conform): Likewise.
1998 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1999 (test-xfail-XPG3/string.h/conform): Likewise.
2000 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2001 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2002 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2003 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2004 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2005 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2006 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2007 (test-xfail-XPG3/termios.h/conform): Likewise.
2008 (test-xfail-XPG3/time.h/conform): Likewise.
2009 (test-xfail-XPG3/unistd.h/conform): Likewise.
2010 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2011 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2012 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2013 (test-xfail-XPG4/netdb.h/conform): Likewise.
2014 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2015 (test-xfail-XPG4/signal.h/conform): Likewise.
2016 (test-xfail-XPG4/stdio.h/conform): Likewise.
2017 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2018 (test-xfail-XPG4/stropts.h/conform): Likewise.
2019 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2020 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2021 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2022 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2023 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2024 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2025 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2026 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2027 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2028 (test-xfail-XPG4/termios.h/conform): Likewise.
2029 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2030 (test-xfail-XPG4/unistd.h/conform): Likewise.
2031 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2032 (test-xfail-POSIX/sched.h/conform): Likewise.
2033 (test-xfail-POSIX/signal.h/conform): Likewise.
2034 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2035 (test-xfail-POSIX/tar.h/conform): Likewise.
2036 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2037 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2038 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2039 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2040 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2041 (test-xfail-UNIX98/sched.h/conform): Likewise.
2042 (test-xfail-UNIX98/signal.h/conform): Likewise.
2043 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2044 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2045 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2046 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2047 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2048 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2049 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2050 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2051 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2052 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2053 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2054 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2055 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2056 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2057 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2058 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2059 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2060 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2061 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2062 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2063 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2064 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2065 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2066 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2067 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2068 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2069 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2070 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2071 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2072 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2073 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2074 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2075 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2076 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2077 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2078 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2079 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2080 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2081 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2082 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2083 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2084 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2085 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2086 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2087 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2088 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2089 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2090 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2091 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2092 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2093 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2094 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2095 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2096 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2097 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2098 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2099 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2100 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2101 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2102 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2103 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2104 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2105 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2106 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2107 (conformtest-cc-flags): Likewise.
2108 ($(conformtest-header-tests): New target.
2109 * conform/check-header-lists.sh: New file.
2110 * conform/run-conformtest.sh: Remove.
2111
a00f522a
JM
2112 * conform/conformtest.pl: Allow ' and \ in values given for
2113 constants.
2114 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2115 inclusion.
2116 [POSIX] (sys/types.h): Likewise.
2117 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2118 inclusion.
2119 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2120 inclusion.
2121 * conform/data/signal.h-data (SIGIO): Remove expectation.
2122 [XPG3] (SIGBUS): Do not expect.
2123 [POSIX || XPG3] (SIGPOLL): Likewise.
2124 [POSIX || XPG3] (SIGPROF): Likewise.
2125 [POSIX || XPG3] (SIGSYS): Likewise.
2126 [XPG3] (SIGTRAP): Likewise.
2127 [POSIX || XPG3] (SIGURG): Likewise.
2128 [POSIX || XPG3] (SIGVTALRM): Likewise.
2129 [POSIX || XPG3] (SIGXCPU): Likewise.
2130 [POSIX || XPG3] (SIGXFSZ): Likewise.
2131 [POSIX] (SA_SIGINFO): Expect.
2132 [XPG3] (siginfo_t): Do not expect type or contents.
2133 [POSIX] (si_pid): Do not expect element.
2134 [POSIX] (si_uid): Likewise.
2135 [POSIX] (si_addr): Likewise.
2136 [POSIX] (si_status): Likewise.
2137 [POSIX] (si_band): Likewise.
2138 [XPG4] (si_value): Likewise.
2139 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2140 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2141 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2142 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2143 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2144 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2145 [POSIX || XPG3] (ILL_COPROC): Likewise.
2146 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2147 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2148 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2149 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2150 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2151 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2152 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2153 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2154 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2155 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2156 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2157 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2158 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2159 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2160 [POSIX || XPG3] (CLD_EXITED): Likewise.
2161 [POSIX || XPG3] (CLD_KILLED): Likewise.
2162 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2163 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2164 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2165 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2166 [POSIX || XPG3] (POLL_IN): Likewise.
2167 [POSIX || XPG3] (POLL_OUT): Likewise.
2168 [POSIX || XPG3] (POLL_MSG): Likewise.
2169 [POSIX || XPG3] (POLL_ERR): Likewise.
2170 [POSIX || XPG3] (POLL_PRI): Likewise.
2171 [POSIX || XPG3] (POLL_HUP): Likewise.
2172 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2173 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2174 (SIG*): Do not allow.
2175 [XPG3] (si_*): Likewise.
2176 [XPG3] (SI_*): Likewise.
2177 [XPG3 || XPG4] (sigev_*): Likewise.
2178 [XPG3 || XPG4] (SIGEV_*): Likewise.
2179 [XPG3 || XPG4] (sival_*): Likewise.
2180 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2181 [POSIX || XPG3] (BUS_*): Likewise.
2182 [POSIX || XPG3] (CLD_*): Likewise.
2183 [POSIX || XPG3] (FPE_*): Likewise.
2184 [POSIX || XPG3] (ILL_*): Likewise.
2185 [POSIX || XPG3] (POLL_*): Likewise.
2186 [POSIX || XPG3] (SEGV_*): Likewise.
2187 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2188 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2189 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2190 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2191 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2192 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2193 Specify type and value.
2194 (TVERSLEN): Likewise.
2195 (REGTYPE): Likewise.
2196 (AREGTYPE): Likewise.
2197 (LNKTYPE): Likewise.
2198 (SYMTYPE): Likewise.
2199 (CHRTYPE): Likewise.
2200 (BLKTYPE): Likewise.
2201 (DIRTYPE): Likewise.
2202 (FIFOTYPE): Likewise.
2203 (CONTTYPE): Likewise.
2204 (TSUID): Likewise.
2205 (TSGID): Likewise.
2206 (TSVTX): Likewise.
2207 (TUREAD): Likewise.
2208 (TUWRITE): Likewise.
2209 (TUEXEC): Likewise.
2210 (TGREAD): Likewise.
2211 (TGWRITE): Likewise.
2212 (TGEXEC): Likewise.
2213 (TOREAD): Likewise.
2214 (TOWRITE): Likewise.
2215 (TOEXEC): Likewise.
2216 [POSIX] (TSVTX): Expect constant.
2217
aa97dee1
JM
22182014-03-06 Joseph Myers <joseph@codesourcery.com>
2219
f214606a
JM
2220 * Makefile (tests): Change dependencies to ....
2221 (tests-special): ... additions to this variable.
2222 (tests): Depend on $(tests-special).
2223 * Makerules (check-abi-list): New variable.
2224 (check-abi): Depend on $(check-abi-list).
2225 [$(subdir) = elf] (tests-special): Add
2226 $(objpfx)check-abi-libc.out.
2227 [$(build-shared) = yes && subdir] (tests-special): Add
2228 $(check-abi-list).
2229 [$(build-shared) = yes && subdir] (tests): Do not depend on
2230 check-abi.
2231 * Rules (tests): Depend on $(tests-special).
2232 (xtests): Depend on $(xtests-special).
2233 * catgets/Makefile (tests): Change dependencies to ....
2234 (tests-special): ... additions to this variable.
2235 * conform/Makefile (tests): Change dependencies to ....
2236 (tests-special): ... additions to this variable.
2237 * elf/Makefile (tests): Change dependencies to ....
2238 (tests-special): ... additions to this variable.
2239 * grp/Makefile (tests): Change dependencies to ....
2240 (tests-special): ... additions to this variable.
2241 * iconv/Makefile (xtests): Change dependencies to ....
2242 (xtests-special): ... additions to this variable.
2243 * iconvdata/Makefile (tests): Change dependencies to ....
2244 (tests-special): ... additions to this variable.
2245 * intl/Makefile (tests): Change dependencies to ....
2246 (tests-special): ... additions to this variable. Also add
2247 $(objpfx)tst-gettext.out.
2248 * io/Makefile (tests): Change dependencies to ....
2249 (tests-special): ... additions to this variable.
2250 * libio/Makefile (tests): Change dependencies to ....
2251 (tests-special): ... additions to this variable.
2252 * malloc/Makefile (tests): Change dependencies to ....
2253 (tests-special): ... additions to this variable.
2254 * misc/Makefile (tests): Change dependencies to ....
2255 (tests-special): ... additions to this variable.
2256 * nptl/Makefile (tests): Change dependencies to ....
2257 (tests-special): ... additions to this variable.
2258 * nptl_db/Makefile (tests): Change dependencies to ....
2259 (tests-special): ... additions to this variable.
2260 * posix/Makefile (tests): Change dependencies to ....
2261 (tests-special): ... additions to this variable.
2262 (xtests): Change dependencies to ....
2263 (xtests-special): ... additions to this variable.
2264 * resolv/Makefile (tests): Change dependencies to ....
2265 (tests-special): ... additions to this variable.
2266 (xtests): Change dependencies to ....
2267 (xtests-special): ... additions to this variable.
2268 * stdio-common/Makefile (tests): Change dependencies to ....
2269 (tests-special): ... additions to this variable.
2270 (do-tst-unbputc): Remove target.
2271 (do-tst-printf): Likewise.
2272 * stdlib/Makefile (tests): Change dependencies to ....
2273 (tests-special): ... additions to this variable.
2274 * string/Makefile (tests): Change dependencies to ....
2275 (tests-special): ... additions to this variable.
2276 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2277 (tests-special): ... additions to this variable.
2278
81700b53
JM
2279 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2280 whole file.
2281 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2282 whole file.
2283 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2284 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2285
2ea18461
JM
2286 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2287 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2288 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2289 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2290 * conform/data/libgen.h-data [XPG3]: Likewise.
2291 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2292 * conform/data/ndbm.h-data [XPG3]: Likewise.
2293 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2294 * conform/data/netdb.h-data [XPG3]: Likewise.
2295 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2296 * conform/data/poll.h-data [XPG3]: Likewise.
2297 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2298 * conform/data/strings.h-data [XPG3]: Likewise.
2299 * conform/data/stropts.h-data [XPG3]: Likewise.
2300 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2301 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2302 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2303 Likewise.
2304 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2305 * conform/data/sys/time.h-data [XPG3]: Likewise.
2306 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2307 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2308 * conform/data/sys/un.h-data [XPG3]: Likewise.
2309 * conform/data/syslog.h-data [XPG3]: Likewise.
2310 * conform/data/ucontext.h-data [XPG3]: Likewise.
2311 * conform/data/utmpx.h-data [XPG3]: Likewise.
2312 * conform/data/varargs.h-data [UNIX98]: Enable file.
2313
355bc986
JM
2314 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2315
215db402
JM
2316 * math/libm-test.inc (struct test_f_f_data): Move expected results
2317 into structure for each rounding mode.
2318 (struct test_ff_f_data): Likewise.
2319 (struct test_ff_f_data_nexttoward): Likewise.
2320 (struct test_fi_f_data): Likewise.
2321 (struct test_fl_f_data): Likewise.
2322 (struct test_if_f_data): Likewise.
2323 (struct test_fff_f_data): Likewise.
2324 (struct test_c_f_data): Likewise.
2325 (struct test_f_f1_data): Likewise.
2326 (struct test_fF_f1_data): Likewise.
2327 (struct test_ffI_f1_data): Likewise.
2328 (struct test_c_c_data): Likewise.
2329 (struct test_cc_c_data): Likewise.
2330 (struct test_f_i_data): Likewise.
2331 (struct test_ff_i_data): Likewise.
2332 (struct test_f_l_data): Likewise.
2333 (struct test_f_L_data): Likewise.
2334 (struct test_fFF_11_data): Likewise.
2335 (RM_): New macro.
2336 (RM_FE_DOWNWARD): Likewise.
2337 (RM_FE_TONEAREST): Likewise.
2338 (RM_FE_TOWARDZERO): Likewise.
2339 (RM_FE_UPWARD): Likewise.
2340 (RUN_TEST_LOOP_f_f): Update references to expected results.
2341 (RUN_TEST_LOOP_2_f): Likewise.
2342 (RUN_TEST_LOOP_fff_f): Likewise.
2343 (RUN_TEST_LOOP_c_f): Likewise.
2344 (RUN_TEST_LOOP_f_f1): Likewise.
2345 (RUN_TEST_LOOP_fF_f1): Likewise.
2346 (RUN_TEST_LOOP_fI_f1): Likewise.
2347 (RUN_TEST_LOOP_ffI_f1): Likewise.
2348 (RUN_TEST_LOOP_c_c): Likewise.
2349 (RUN_TEST_LOOP_cc_c): Likewise.
2350 (RUN_TEST_LOOP_f_i): Likewise.
2351 (RUN_TEST_LOOP_f_i_tg): Likewise.
2352 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2353 (RUN_TEST_LOOP_f_b): Likewise.
2354 (RUN_TEST_LOOP_f_b_tg): Likewise.
2355 (RUN_TEST_LOOP_f_l): Likewise.
2356 (RUN_TEST_LOOP_f_L): Likewise.
2357 (RUN_TEST_LOOP_fFF_11): Likewise.
2358 * math/gen-libm-test.pl (parse_args): Output four copies of
2359 expected results for each test.
2360
67737b8f
JM
2361 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2362 (__ASSUME_UTIMES): Remove.
2363 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2364 (__ASSUME_UTIMES): Likewise.
2365
aa97dee1
JM
2366 * math/gen-auto-libm-tests.c: Update comment on output format.
2367 (output_for_one_input_case): Generate before-rounding and
2368 after-rounding information as conditions on output flags not
2369 floating-point format.
2370 * math/auto-libm-test-out: Regenerated.
2371 * math/gen-libm-test.pl (cond_value): New function.
2372 (or_cond_value): Use cond_value.
2373 (generate_testfile): Handle conditional exceptions.
2374
e6b6a857
JM
23752014-03-05 Joseph Myers <joseph@codesourcery.com>
2376
2f0a0f44
JM
2377 * math/libm-test.inc (max_valid_error): New variable.
2378 (init_max_error): Take new argument specifying whether function
2379 results are exactly determined. Set max_valid_error and bound
2380 other variables for errors based on this argument.
2381 (set_max_error): Do not record results above max_valid_error.
2382 (check_float_internal): Only accept errors of up to 0.5ulps if
2383 also at most max_valid_error.
2384 (START): Take new argument EXACT and pass it to init_max_error.
2385 (acos_test): Update call to START.
2386 (acos_test_tonearest): Likewise.
2387 (acos_test_towardzero): Likewise.
2388 (acos_test_downward): Likewise.
2389 (acos_test_upward): Likewise.
2390 (acosh_test): Likewise.
2391 (asin_test): Likewise.
2392 (asin_test_tonearest): Likewise.
2393 (asin_test_towardzero): Likewise.
2394 (asin_test_downward): Likewise.
2395 (asin_test_upward): Likewise.
2396 (asinh_test): Likewise.
2397 (atan_test): Likewise.
2398 (atanh_test): Likewise.
2399 (atan2_test): Likewise.
2400 (cabs_test): Likewise.
2401 (cacos_test): Likewise.
2402 (cacosh_test): Likewise.
2403 (carg_test): Likewise.
2404 (casin_test): Likewise.
2405 (casinh_test): Likewise.
2406 (catan_test): Likewise.
2407 (catanh_test): Likewise.
2408 (cbrt_test): Likewise.
2409 (ccos_test): Likewise.
2410 (ccosh_test): Likewise.
2411 (ceil_test): Likewise.
2412 (cexp_test): Likewise.
2413 (cimag_test): Likewise.
2414 (clog_test): Likewise.
2415 (clog10_test): Likewise.
2416 (conj_test): Likewise.
2417 (copysign_test): Likewise.
2418 (cos_test): Likewise.
2419 (cos_test_tonearest): Likewise.
2420 (cos_test_towardzero): Likewise.
2421 (cos_test_downward): Likewise.
2422 (cos_test_upward): Likewise.
2423 (cosh_test): Likewise.
2424 (cosh_test_tonearest): Likewise.
2425 (cosh_test_towardzero): Likewise.
2426 (cosh_test_downward): Likewise.
2427 (cosh_test_upward): Likewise.
2428 (cpow_test): Likewise.
2429 (cproj_test): Likewise.
2430 (creal_test): Likewise.
2431 (csin_test): Likewise.
2432 (csinh_test): Likewise.
2433 (csqrt_test): Likewise.
2434 (ctan_test): Likewise.
2435 (ctan_test_tonearest): Likewise.
2436 (ctan_test_towardzero): Likewise.
2437 (ctan_test_downward): Likewise.
2438 (ctan_test_upward): Likewise.
2439 (ctanh_test): Likewise.
2440 (ctanh_test_tonearest): Likewise.
2441 (ctanh_test_towardzero): Likewise.
2442 (ctanh_test_downward): Likewise.
2443 (ctanh_test_upward): Likewise.
2444 (erf_test): Likewise.
2445 (erfc_test): Likewise.
2446 (exp_test): Likewise.
2447 (exp_test_tonearest): Likewise.
2448 (exp_test_towardzero): Likewise.
2449 (exp_test_downward): Likewise.
2450 (exp_test_upward): Likewise.
2451 (exp10_test): Likewise.
2452 (exp10_test_tonearest): Likewise.
2453 (exp10_test_towardzero): Likewise.
2454 (exp10_test_downward): Likewise.
2455 (exp10_test_upward): Likewise.
2456 (pow10_test): Likewise.
2457 (exp2_test): Likewise.
2458 (expm1_test): Likewise.
2459 (expm1_test_tonearest): Likewise.
2460 (expm1_test_towardzero): Likewise.
2461 (expm1_test_downward): Likewise.
2462 (expm1_test_upward): Likewise.
2463 (fabs_test): Likewise.
2464 (fdim_test): Likewise.
2465 (floor_test): Likewise.
2466 (fma_test): Likewise.
2467 (fma_test_towardzero): Likewise.
2468 (fma_test_downward): Likewise.
2469 (fma_test_upward): Likewise.
2470 (fmax_test): Likewise.
2471 (fmin_test): Likewise.
2472 (fmod_test): Likewise.
2473 (fpclassify_test): Likewise.
2474 (frexp_test): Likewise.
2475 (hypot_test): Likewise.
2476 (ilogb_test): Likewise.
2477 (isfinite_test): Likewise.
2478 (finite_test): Likewise.
2479 (isgreater_test): Likewise.
2480 (isgreaterequal_test): Likewise.
2481 (isinf_test): Likewise.
2482 (isless_test): Likewise.
2483 (islessequal_test): Likewise.
2484 (islessgreater_test): Likewise.
2485 (isnan_test): Likewise.
2486 (isnormal_test): Likewise.
2487 (issignaling_test): Likewise.
2488 (isunordered_test): Likewise.
2489 (j0_test): Likewise.
2490 (j1_test): Likewise.
2491 (jn_test): Likewise.
2492 (ldexp_test): Likewise.
2493 (lgamma_test): Likewise.
2494 (gamma_test): Likewise.
2495 (lrint_test): Likewise.
2496 (lrint_test_tonearest): Likewise.
2497 (lrint_test_towardzero): Likewise.
2498 (lrint_test_downward): Likewise.
2499 (lrint_test_upward): Likewise.
2500 (llrint_test): Likewise.
2501 (llrint_test_tonearest): Likewise.
2502 (llrint_test_towardzero): Likewise.
2503 (llrint_test_downward): Likewise.
2504 (llrint_test_upward): Likewise.
2505 (log_test): Likewise.
2506 (log10_test): Likewise.
2507 (log1p_test): Likewise.
2508 (log2_test): Likewise.
2509 (logb_test): Likewise.
2510 (logb_test_downward): Likewise.
2511 (lround_test): Likewise.
2512 (llround_test): Likewise.
2513 (modf_test): Likewise.
2514 (nearbyint_test): Likewise.
2515 (nextafter_test): Likewise.
2516 (nexttoward_test): Likewise.
2517 (pow_test): Likewise.
2518 (pow_test_tonearest): Likewise.
2519 (pow_test_towardzero): Likewise.
2520 (pow_test_downward): Likewise.
2521 (pow_test_upward): Likewise.
2522 (remainder_test): Likewise.
2523 (drem_test): Likewise.
2524 (remainder_test_tonearest): Likewise.
2525 (drem_test_tonearest): Likewise.
2526 (remainder_test_towardzero): Likewise.
2527 (drem_test_towardzero): Likewise.
2528 (remainder_test_downward): Likewise.
2529 (drem_test_downward): Likewise.
2530 (remainder_test_upward): Likewise.
2531 (drem_test_upward): Likewise.
2532 (remquo_test): Likewise.
2533 (rint_test): Likewise.
2534 (rint_test_tonearest): Likewise.
2535 (rint_test_towardzero): Likewise.
2536 (rint_test_downward): Likewise.
2537 (rint_test_upward): Likewise.
2538 (round_test): Likewise.
2539 (scalb_test): Likewise.
2540 (scalbn_test): Likewise.
2541 (scalbln_test): Likewise.
2542 (signbit_test): Likewise.
2543 (sin_test): Likewise.
2544 (sin_test_tonearest): Likewise.
2545 (sin_test_towardzero): Likewise.
2546 (sin_test_downward): Likewise.
2547 (sin_test_upward): Likewise.
2548 (sincos_test): Likewise.
2549 (sinh_test): Likewise.
2550 (sinh_test_tonearest): Likewise.
2551 (sinh_test_towardzero): Likewise.
2552 (sinh_test_downward): Likewise.
2553 (sinh_test_upward): Likewise.
2554 (sqrt_test): Likewise.
2555 (sqrt_test_tonearest): Likewise.
2556 (sqrt_test_towardzero): Likewise.
2557 (sqrt_test_downward): Likewise.
2558 (sqrt_test_upward): Likewise.
2559 (tan_test): Likewise.
2560 (tan_test_tonearest): Likewise.
2561 (tan_test_towardzero): Likewise.
2562 (tan_test_downward): Likewise.
2563 (tan_test_upward): Likewise.
2564 (tanh_test): Likewise.
2565 (tgamma_test): Likewise.
2566 (trunc_test): Likewise.
2567 (y0_test): Likewise.
2568 (y1_test): Likewise.
2569 (yn_test): Likewise.
2570 (significand_test): Likewise.
2571
e6b6a857
JM
2572 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2573 individual tests in comment.
2574 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2575 (prev_max_error): New variable.
2576 (prev_real_max_error): Likewise.
2577 (prev_imag_max_error): Likewise.
2578 (compare_ulp_data): Don't refer to test names in comment.
2579 (find_test_ulps): Remove function.
2580 (find_function_ulps): Likewise.
2581 (find_complex_function_ulps): Likewise.
2582 (init_max_error): Take function name as argument. Look up ulps
2583 for that function.
2584 (print_ulps): Remove function.
2585 (print_max_error): Use prev_max_error instead of calling
2586 find_function_ulps.
2587 (print_complex_max_error): Use prev_real_max_error and
2588 prev_imag_max_error instead of calling find_complex_function_ulps.
2589 (check_float_internal): Take max_ulp parameter instead of calling
2590 find_test_ulps. Don't call print_ulps.
2591 (check_float): Update call to check_float_internal.
2592 (check_complex): Update calls to check_float_internal.
2593 (START): Pass argument to init_max_error.
2594 * math/gen-libm-test.pl (%results): Don't include "kind"
2595 information.
2596 (parse_ulps): Don't handle ulps of individual tests.
2597 (print_ulps_file): Likewise.
2598 (output_ulps): Likewise.
2599 * math/README.libm-test: Update.
2600 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2601 individual tests.
2602 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2603 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2604 * sysdeps/arm/libm-test-ulps: Likewise.
2605 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2606 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2607 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2608 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2609 * sysdeps/microblaze/libm-test-ulps: Likewise.
2610 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2611 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2612 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2613 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2614 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2615 * sysdeps/sh/libm-test-ulps: Likewise.
2616 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2617 * sysdeps/tile/libm-test-ulps: Likewise.
2618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2619
45adef3c
JM
26202014-03-04 Joseph Myers <joseph@codesourcery.com>
2621
2622 * math/libm-test.inc (print_complex_max_error): Check separately
2623 whether real and imaginary errors are within allowed range and
2624 pass 0 to print_complex_function_ulps instead of value within
2625 allowed range.
2626
000232b9
SP
26272014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2628
d4b17258
SP
2629 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2630 formatting.
2631 (get_handles_fopen): Likewise.
2632 (do_write_test): Likewise.
2633
091eff71
SP
2634 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2635
fa3cd248
SP
2636 * libio/fileops.c (do_ftell): Use cached offset when
2637 available.
2638 * libio/iofwide.c (do_ftell_wide): Likewise.
2639 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2640 _IO_file_attach.
2641 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2642
000232b9
SP
2643 [BZ #16532]
2644 * libio/libioP.h (get_file_offset): New function.
2645 * libio/fileops.c (get_file_offset): Likewise.
2646 (do_ftell): Likewise.
2647 (_IO_new_file_seekoff): Split out ftell logic.
2648 * libio/wfileops.c (do_ftell_wide): Likewise.
2649 (_IO_wfile_seekoff): Split out ftell logic.
2650 * libio/tst-ftell-active-handler.c: New test case.
2651 * libio/Makefile (tests): Add it.
2652
116f4d1a
RM
26532014-03-03 Roland McGrath <roland@hack.frob.com>
2654
2655 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2656 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2657
532a6035
SP
26582014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2659
2660 [BZ #16639]
2661 * nscd/connections.c (nscd_init): Call do_exit.
2662 (start_threads): Call do_exit and notify_parent.
2663 (begin_drop_privileges): Call do_exit.
2664 (finish_drop_privileges): Likewise.
2665 * nscd/selinux.c (preserve_capabilities): Likewise.
2666 (install_real_capabilities): Likewise.
2667 (nscd_selinux_enabled): Likewise.
2668 (avc_create_thread): Likewise.
2669 (avc_alloc_lock): Likewise.
2670 (nscd_avc_init): Likewise.
2671 * nscd/nscd.c (parent_fd): New static variable.
2672 (main): Create a pipe between parent and child processes.
2673 Skip closing parent_fd.
2674 (monitor_child): New function.
2675 (do_exit): Likewise.
2676 (notify_parent): Likewise.
2677 * nscd/nscd.h (notify_parent): Likewise.
2678 (do_exit): Likewise.
2679
d6285c9f
CD
26802014-03-03 Carlos O'Donell <carlos@redhat.com>
2681
2682 * malloc/malloc.c (__libc_calloc): Revert last change.
2683
2b85d2a0
AZ
26842014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2685
2686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2687
c7debbdf
RS
26882014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2689
2690 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2692 implementation.
2693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2694 (__libc_ifunc_impl_list): Likewise.
2695 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2696 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2697 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2698 * string/strrchr.c: Define STRRCHR.
2699
235eed86
OB
27002014-02-28 Ondřej Bílka <neleai@seznam.cz>
2701
2702 * benchtest/bench-strtok.c (simple_strtok): Delete.
2703 (strtok_string): Use as benchmark.
2704 * string/strtok (STRTOK): New macro.
2705
8e25d1e7
CD
27062014-02-28 Carlos O'Donell <carlos@redhat.com>
2707
ef563f92
CD
2708 * manual/threads.texi: Add header and standard comments to all
2709 functions.
2710
8e25d1e7
CD
2711 * elf/dl-lookup.c (check_match): New function.
2712 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2713 (do_lookup_x): Remove nested function check_match. Use non-nested
2714 function check_match.
2715
ff71cc37
RM
27162014-02-28 Roland McGrath <roland@hack.frob.com>
2717
f08e9a26
RM
2718 * csu/Makefile (generated, before-compile): Use += rather than =.
2719 * catgets/Makefile (generated, generated-dirs): Likewise.
2720 * debug/Makefile (generated): Likewise.
2721 * dlfcn/Makefile (generated): Likewise.
2722 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2723 * iconvdata/Makefile (before-compile, generated): Likewise.
2724 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2725 * libio/Makefile (generated): Likewise.
2726 * malloc/Makefile (generated): Likewise.
2727 * manual/Makefile (generated, generated-dirs): Likewise.
2728 * misc/Makefile (generated): Likewise.
2729 * posix/Makefile (generated): Likewise.
2730 * resolv/Makefile (generated): Likewise.
2731 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2732 * timezone/Makefile (generated, generated-dirs): Likewise.
2733
ff71cc37
RM
2734 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2735
fe13a20c
AZ
27362014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2737
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2739 implementation.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2741 POWER8 llround ifunc implementation.
2742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2743 POWER8 implementation.
2744 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2745 POWER8 llround implementation.
2746
1ad8950a
AZ
27472014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2748
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2750 implementation.
2751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2752 POWER8 llrint ifunc implementation.
2753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2754 POWER8 implementation.
2755 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2756 POWER8 llrint implementation.
2757
cac626d6
AZ
27582014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2759
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2761 implementation.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2763 POWER8 finite ifunc implementation.
2764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2765 POWER8 implementation.
2766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2767 Likewise.
2768 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2769 POWER8 finite implementation.
2770 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2771
4393fc11
AZ
27722014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2773
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2775 implementation.
2776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2777 POWER8 isinf ifunc implementation.
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2779 POWER8 implementation.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2781 Likewise.
2782 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2783 POWER8 isinf implementation.
2784 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2785
487972ae
AZ
27862014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787
2788 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2789 Add hwcap2 initialization.
2790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2791 implementation.
2792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2793 POWER8 isnan ifunc implementation.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2795 POWER8 implementation.
2796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2797 Likewise.
2798 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2799 POWER8 isnan implementation.
2800 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2801
7d92b787
JY
28022014-02-27 Joey Ye <joey.ye@arm.com>
2803
2804 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2805 (_FP_NANFRAC_Q): Set to zero.
2806
1cadc858
SP
28072014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2808
2809 [BZ #16623]
2810 * math/auto-libm-test-in: New test inputs.
2811 * math/auto-libm-test-out: Regenerate.
2812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2813 and DA.
2814 (__cos): Likewise.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2816
f8c17e79
JM
28172014-02-27 Joseph Myers <joseph@codesourcery.com>
2818
2819 * scripts/evaluate-test.sh: Take new argument indicating whether
2820 failure is expected.
2821 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2822 indicating whether failure is expected.
2823 * conform/Makefile (test-xfail-run-conformtest): New variable.
2824 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2825 level.
2826 * posix/Makefile (test-xfail-annexc): New variable.
2827 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2828
a5f891ac
JM
28292014-02-26 Joseph Myers <joseph@codesourcery.com>
2830
2831 * argp/Makefile: Include Makeconfig immediately after defining
2832 subdir.
2833 * assert/Makefile: Likewise.
2834 * benchtests/Makefile: Likewise.
2835 * catgets/Makefile: Likewise.
2836 * conform/Makefile: Likewise.
2837 * crypt/Makefile: Likewise.
2838 * csu/Makefile: Likewise.
2839 (all): Remove target.
2840 * ctype/Makefile: Include Makeconfig immediately after defining
2841 subdir.
2842 * debug/Makefile: Likewise.
2843 * dirent/Makefile: Likewise.
2844 * dlfcn/Makefile: Likewise.
2845 * gmon/Makefile: Likewise.
2846 * gnulib/Makefile: Likewise.
2847 * grp/Makefile: Likewise.
2848 * gshadow/Makefile: Likewise.
2849 * hesiod/Makefile: Likewise.
2850 * hurd/Makefile: Likewise.
2851 (all): Remove target.
2852 * iconvdata/Makefile: Include Makeconfig immediately after
2853 defining subdir.
2854 * inet/Makefile: Likewise.
2855 * intl/Makefile: Likewise.
2856 * io/Makefile: Likewise.
2857 * libio/Makefile: Likewise.
2858 (all): Remove target.
2859 * locale/Makefile: Include Makeconfig immediately after defining
2860 subdir.
2861 * login/Makefile: Likewise.
2862 * mach/Makefile: Likewise.
2863 (all): Remove target.
2864 * malloc/Makefile: Include Makeconfig immediately after defining
2865 subdir.
2866 (all): Remove target.
2867 * manual/Makefile: Include Makeconfig immediately after defining
2868 subdir.
2869 * math/Makefile: Likewise.
2870 * misc/Makefile: Likewise.
2871 * nis/Makefile: Likewise.
2872 * nss/Makefile: Likewise.
2873 * po/Makefile: Likewise.
2874 (all): Remove target.
2875 * posix/Makefile: Include Makeconfig immediately after defining
2876 subdir.
2877 * pwd/Makefile: Likewise.
2878 * resolv/Makefile: Likewise.
2879 * resource/Makefile: Likewise.
2880 * rt/Makefile: Likewise.
2881 * setjmp/Makefile: Likewise.
2882 * shadow/Makefile: Likewise.
2883 * signal/Makefile: Likewise.
2884 * socket/Makefile: Likewise.
2885 * soft-fp/Makefile: Likewise.
2886 * stdio-common/Makefile: Likewise.
2887 * stdlib/Makefile: Likewise.
2888 * streams/Makefile: Likewise.
2889 * string/Makefile: Likewise.
2890 * sunrpc/Makefile: Likewise.
2891 (all): Remove target.
2892 * sysvipc/Makefile: Include Makeconfig immediately after defining
2893 subdir.
2894 * termios/Makefile: Likewise.
2895 * time/Makefile: Likewise.
2896 * timezone/Makefile: Likewise.
2897 (all): Remove target.
2898 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2899 subdir.
2900 * wctype/Makefile: Likewise.
2901
5b456e9d
SE
29022014-02-26 Steve Ellcey <sellcey@mips.com>
2903
2904 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2905 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2906 (libc_feholdexcept_setround_mips): Ditto.
2907 (libc_feholdsetround): New.
2908 (libc_feholdsetroundf): New.
2909 (libc_feholdsetroundl): New.
2910 (libc_feupdateenv_test_mips): New.
2911 (libc_feupdateenv_test): New.
2912 (libc_feupdateenv_testf): New.
2913 (libc_feupdateenv_testl): New.
2914 (libc_feresetround): New.
2915 (libc_feresetroundf): New.
2916 (libc_feresetroundl): New.
2917 (libc_fetestexcept_mips): New.
2918 (libc_fetestexcept): New.
2919 (libc_fetestexceptf): New.
2920 (libc_fetestexceptl): New.
2921 (HAVE_RM_CTX): New.
2922 (libc_feholdexcept_setround_mips_ctx): New.
2923 (libc_feholdexcept_setround_ctx): New.
2924 (libc_feholdexcept_setroundf_ctx): New.
2925 (libc_feholdexcept_setroundl_ctx): New.
2926 (libc_fesetenv_mips_ctx): New.
2927 (libc_fesetenv_ctx): New.
2928 (libc_fesetenv_ctxf): New.
2929 (libc_fesetenv_ctxl): New.
2930 (libc_feupdateenv_mips_ctx): New.
2931 (libc_feupdateenv_ctx): New.
2932 (libc_feupdateenvf_ctx): New.
2933 (libc_feupdateenvl_ctx): New.
2934 (libc_feholdsetround_mips_ctx): New.
2935 (libc_feholdsetround_ctx): New.
2936 (libc_feholdsetroundf_ctx): New.
2937 (libc_feholdsetroundl_ctx): New.
2938 (libc_feresetround_mips_ctx): New.
2939 (libc_feresetround_ctx): New.
2940 (libc_feresetroundf_ctx): New.
2941 (libc_feresetroundl_ctx): New.
2942
085d0e35
CD
29432014-02-26 Carlos O'Donell <carlos@redhat.com>
2944
f067bf1f
CD
2945 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2946
085d0e35
CD
2947 * manual/ipc.texi: New file.
2948 * manual/Makefile (chapters): Add ipc.
2949 * manual/job.texi: Add "Inter-Process Communication" to next.
2950 * manual/process.texi: Add "Inter-Process Communication" to prev.
2951
86e58c08
AZ
29522014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2953
2954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2955
4248f0da
OB
29562014-02-26 Ondřej Bílka <neleai@seznam.cz>
2957
2958 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2959
cf822e3c
OB
2960 * manual/arith.texi: Fix spaces after sentences.
2961 * manual/charset.texi: Likewise.
2962 * manual/errno.texi: Likewise.
2963 * manual/install.texi: Likewise.
2964 * manual/llio.texi: Likewise.
2965 * manual/locale.texi: Likewise.
2966 * manual/maint.texi: Likewise.
2967 * manual/math.texi: Likewise.
2968 * manual/memory.texi: Likewise.
2969 * manual/message.texi: Likewise.
2970 * manual/probes.texi: Likewise.
2971 * manual/resource.texi: Likewise.
2972 * manual/signal.texi: Likewise.
2973 * manual/socket.texi: Likewise.
2974 * manual/stdio.texi: Likewise.
2975 * manual/string.texi: Likewise.
2976 * manual/time.texi: Likewise.
2977 * manual/users.texi: Likewise.
2978
ade40b10
CD
29792014-02-25 Carlos O'Donell <carlos@redhat.com>
2980
2981 [BZ #16632]
2982 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2983 _DEFAULT_SOURCE is defined.
2984
d0503676
CD
29852014-02-25 Ulrich Drepper <drepper@gmail.com>
2986 Carlos O'Donell <carlos@redhat.com>
2987
2988 [BZ #16613]
2989 * elf/dl-tls.c (_dl_count_modids): New function.
2990 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2991 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2992 audit library and increment generation counter.
2993 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2994 * elf/tst-audit9.c: New file.
2995 * elf/tst-auditmod9a.c: New file.
2996 * elf/tst-auditmod9b.c: New file.
2997 * elf/Makefile: Add rules to build and run tst-audit9.
2998
4cbf380c
FW
29992014-02-25 Florian Weimer <fweimer@redhat.com>
3000
3001 [BZ #15347]
3002 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3003
80a56cc3
WN
30042014-02-25 Will Newton <will.newton@linaro.org>
3005
3006 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3007 (__longjmp): Restore sp and lr before restoring callee
3008 saved registers. Add longjmp and longjmp_target
3009 SystemTap probe point.
3010 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3011 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3012 Define to zero to match jmpbuf layout.
3013 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3014 (__sigsetjmp): Save sp and lr before saving callee
3015 saved registers. Add setjmp SystemTap probe point.
3016
3ea0f74e
SL
30172014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3018
3019 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3020
b04acb26
AS
30212014-02-24 Andreas Schwab <schwab@suse.de>
3022
3023 [BZ #15804]
3024 * elf/pldd.c (wait_for_ptrace_stop): New function.
3025 (main): Call it after attaching.
3026
098ad55c
RM
30272014-02-22 Roland McGrath <roland@hack.frob.com>
3028
d4ec6ae1
RM
3029 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3030 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3031 Versions files is now verboten.
3032 * hurd/Versions (libc: GLIBC_2.0):
3033 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3034 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3035 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3036 * mach/Versions: Likewise.
3037
098ad55c
RM
3038 * csu/Versions: Remove unused %include.
3039 * resolv/Versions: Likewise.
3040
acd7f096
JM
30412014-02-21 Joseph Myers <joseph@codesourcery.com>
3042
f0881698
JM
3043 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3044 ($(objpfx)check-local-headers.out): Likewise.
3045 ($(objpfx)begin-end-check.out): Likewise.
3046 * Makerules (check-abi-%.out): Likewise.
3047 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3048 ($(objpfx)test2.cat): Likewise.
3049 ($(objpfx)de/libc.cat): Likewise.
3050 ($(objpfx)test-gencat.out): Likewise.
3051 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3052 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3053 ($(objpfx)noload-mem): Likewise.
3054 ($(objpfx)tst-pathopt.out): Likewise.
3055 ($(objpfx)tst-rtld-load-self.out): Likewise.
3056 ($(objpfx)tst-array1-cmp.out): Likewise.
3057 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3058 ($(objpfx)tst-array2-cmp.out): Likewise.
3059 ($(objpfx)tst-array3-cmp.out): Likewise.
3060 ($(objpfx)tst-array4-cmp.out): Likewise.
3061 ($(objpfx)tst-array5-cmp.out): Likewise.
3062 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3063 ($(objpfx)check-textrel.out): Likewise.
3064 ($(objpfx)check-execstack.out): Likewise.
3065 ($(objpfx)check-localplt.out): Likewise.
3066 ($(objpfx)order2-cmp.out): Likewise.
3067 ($(objpfx)tst-leaks1-mem): Likewise.
3068 ($(objpfx)tst-leaks1-static-mem): Likewise.
3069 ($(objpfx)tst-initorder-cmp.out): Likewise.
3070 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3071 ($(objpfx)tst-unused-dep.out): Likewise.
3072 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3073 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3074 * iconv/Makefile (test-iconvconfig): Likewise.
3075 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3076 ($(objpfx)iconv-test.out): Likewise.
3077 ($(objpfx)tst-tables.out): Likewise.
3078 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3079 ($(objpfx)tst-gettext.out): Likewise.
3080 ($(objpfx)tst-translit.out): Likewise.
3081 ($(objpfx)tst-gettext2.out): Likewise.
3082 ($(objpfx)tst-gettext4.out): Likewise.
3083 ($(objpfx)tst-gettext6.out): Likewise.
3084 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3085 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3086 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3087 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3088 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3089 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3090 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3091 ($(objpfx)wordexp-tst.out): Likewise.
3092 ($(objpfx)annexc.out): Likewise.
3093 ($(objpfx)tst-fnmatch-mem): Likewise.
3094 ($(objpfx)bug-regex2-mem): Likewise.
3095 ($(objpfx)bug-regex14-mem): Likewise.
3096 ($(objpfx)bug-regex21-mem): Likewise.
3097 ($(objpfx)bug-regex31-mem): Likewise.
3098 ($(objpfx)tst-vfork3-mem): Likewise.
3099 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3100 ($(objpfx)tst-pcre-mem): Likewise.
3101 ($(objpfx)tst-boost-mem): Likewise.
3102 ($(objpfx)tst-getconf.out): Likewise.
3103 ($(objpfx)bug-ga2-mem): Likewise.
3104 ($(objpfx)bug-glob2-mem): Likewise.
3105 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3106 ($(objpfx)mtrace-tst-leaks2): Likewise.
3107 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3108 ($(objpfx)tst-printf.out): Likewise.
3109 ($(objpfx)tst-setvbuf1.out): Likewise.
3110 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3111 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3112 ($(objpfx)tst-fmtmsg.out): Likewise.
3113 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3114 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3115
acd7f096
JM
3116 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3117 * bits/sigaction.h [__USE_MISC]: Likewise.
3118 * bits/waitstatus.h: Update #endif comments.
3119 * ctype/ctype.h: Likewise.
3120 * dirent/dirent.h: Likewise.
3121 [__USE_MISC]: Remove redundant conditionals.
3122 * grp/grp.h: Update #endif comments.
3123 [__USE_GNU]: Remove redundant conditionals.
3124 [__USE_MISC]: Likewise.
3125 * inet/netinet/in.h [__USE_GNU]: Likewise.
3126 * io/sys/stat.h [__USE_MISC]: Likewise.
3127 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3128 * libio/bits/stdio.h: Update #endif comments.
3129 [__USE_MISC]: Remove redundant conditionals.
3130 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3131 * libio/stdio.h: Update #endif comments.
3132 [__USE_MISC]: Remove redundant conditionals.
3133 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3134 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3135 * math/math.h: Update #else and #endif comments.
3136 [__USE_MISC]: Remove redundant conditionals.
3137 * misc/sys/uio.h: Update #endif comments.
3138 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3139 * posix/glob.h [__USE_MISC]: Likewise.
3140 * posix/sys/types.h: Update #endif comments.
3141 [__USE_MISC]: Remove redundant conditionals.
3142 * posix/sys/wait.h: Update #endif comments.
3143 [__USE_MISC]: Remove redundant conditionals.
3144 * posix/unistd.h: Update #endif comments.
3145 [__USE_MISC]: Remove redundant conditionals.
3146 * pwd/pwd.h [__USE_GNU]: Likewise.
3147 [__USE_MISC]: Likewise.
3148 * resolv/netdb.h [__USE_GNU]: Likewise.
3149 * signal/signal.h: Update #endif comments.
3150 [__USE_MISC]: Remove redundant conditionals.
3151 * stdlib/stdlib.h: Update #else and #endif comments.
3152 [__USE_MISC]: Remove redundant conditionals.
3153 [__USE_GNU]: Likewise.
3154 * string/bits/string2.h [__USE_MISC]: Likewise.
3155 * string/string.h: Update #endif comments.
3156 [__USE_MISC]: Remove redundant conditionals.
3157 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3158 Likewise.
3159 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3160 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3161 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3162 Likewise.
3163 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3164 Likewise.
3165 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3166 comments.
3167 [__USE_MISC]: Remove redundant conditionals.
3168 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3169 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3170 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3171 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3172 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3173 Likewise.
3174 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3175 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3176 Likewise.
3177 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3178 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3179 Likewise.
3180 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3181 Likewise.
3182 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3183 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3184 Likewise.
3185 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3186 Likewise.
3187 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3188 * sysdeps/x86/bits/string.h: Update #endif comments.
3189 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3190 conditionals.
3191 * time/sys/time.h: Update #endif comments.
3192 * time/time.h: Likewise.
3193 [__USE_MISC]: Remove redundant conditionals.
3194
a5d82e4e
YG
31952014-02-21 Yury Gribov <y.gribov@samsung.com>
3196
3197 [BZ #16600]
3198 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3199
9a80491d
AS
32002014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3201
3202 * Versions.def (librt): Add GLIBC_2.17.
3203
105fa381
AC
32042014-02-21 Adam Conrad <adconrad@0c3.net>
3205
3206 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3207 synonym for _SYS_AUXV_H to allow direct inclusion.
3208 * sysdeps/sparc/bits/hwcap.h: Likewise.
3209 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3210 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3211 * sysdeps/sparc/sysdep.h: Likewise.
3212
b8cd1c4e
SP
32132014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3214
3215 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3216
bd939d23
RS
32172014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3218
3219 * benchtests/bench-strrchr.c: Print length instead of position.
3220
5d7b57ca
JM
32212014-02-20 Joseph Myers <joseph@codesourcery.com>
3222
bc688c10
JM
3223 [BZ #16611]
3224 * sysdeps/unix/sysv/linux/kernel-features.h
3225 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3226 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3227 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3228 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3229 Likewise.
3230 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3231 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3232 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3233 (__ASSUME_SENDMMSG): Define instead of using previous
3234 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3235 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3236 (__ASSUME_SENDMMSG_SYSCALL): Define.
3237 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3238 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3239 Likewise.
3240 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3241 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3242 Likewise.
3243 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3244 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3245 Likewise.
3246 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3247 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3248 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3249 [__ASSUME_SENDMMSG]: Change conditionals to
3250 [__ASSUME_SENDMMSG_SOCKETCALL].
3251 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3252 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3253 Define.
3254 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3255 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3256 Likewise.
3257 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3258 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3259 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3260 [!__ASSUME_SENDMMSG]: Change conditional to
3261 [!__ASSUME_SENDMMSG_SOCKETCALL].
3262 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3263 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3264 Define.
3265
0e31b18c
JM
3266 [BZ #16610]
3267 * sysdeps/unix/sysv/linux/kernel-features.h
3268 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3269 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3270 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3271 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3272 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3273 [__i386__ || __sparc__]
3274 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3275 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3276 (__ASSUME_RECVMMSG): Define instead of using previous
3277 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3278 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3279 (__ASSUME_RECVMMSG_SYSCALL): Define.
3280 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3281 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3282 Likewise.
3283 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3284 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3285 Likewise.
3286 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3287 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3288 Likewise.
3289 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3290 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3291 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3292 [__ASSUME_RECVMMSG]: Change condition to
3293 [__ASSUME_RECVMMSG_SOCKETCALL].
3294 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3295 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3296 Define.
3297 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3298 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3299 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3300 Likewise.
3301 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3302 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3303 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3304 [!__ASSUME_RECVMMSG]: Change condition to
3305 [!__ASSUME_RECVMMSG_SOCKETCALL].
3306 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3307 (__ASSUME_RECVMMSG_SYSCALL): Define.
3308
dd481ccf
JM
3309 [BZ #16609]
3310 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3311 __powerpc__ || __s390__ || __sh__ || __sparc__]
3312 (__ASSUME_SOCKETCALL): Define.
3313 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3314 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3315 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3316 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3317 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3318 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3319 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3320 (__ASSUME_ACCEPT4): Define instead of using previous
3321 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3322 __powerpc__ || __sparc__ || __s390__)] condition.
3323 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3324 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3325 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3326 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3327 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3328 [!__ASSUME_ACCEPT4]: Change condition to
3329 [!__ASSUME_ACCEPT4_SOCKETCALL].
3330 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3331 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3332 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3333 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3334 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3335 __ASSUME_ACCEPT4_SYSCALL.
3336 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3337 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3338 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3339 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3340 __ASSUME_ACCEPT4_SYSCALL.
3341 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3342 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3343 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3344 [__ASSUME_ACCEPT4]: Change condition to
3345 [__ASSUME_ACCEPT4_SOCKETCALL].
3346 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3347 (__ASSUME_SOCKETCALL): Define.
3348 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3349 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3350 (__ASSUME_SOCKETCALL): Define.
3351 (__ASSUME_ACCEPT4): Remove.
3352 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3353 Define.
3354 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3355 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3356 Likewise.
3357 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3358 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3359
5d7b57ca
JM
3360 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3361 macro.
3362 (HWCAP_ARM_LPAE): Likewise.
3363 (HWCAP_ARM_EVTSTRM): Likewise.
3364 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3365 Add vpfd32, lpae and evtstrm.
3366 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3367 Increase to 22.
3368
63689d61
JM
33692014-02-19 Joseph Myers <joseph@codesourcery.com>
3370
3371 * math/auto-libm-test-in: Add tests of clog10.
3372 * math/auto-libm-test-out: Regenerated.
3373 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3374 * sysdeps/i386/fpu/libm-test-ulps: Update.
3375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3376
ab09bf61
AS
33772014-02-18 Andreas Schwab <schwab@suse.de>
3378
3379 [BZ #16574]
3380 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3381 Store non-zero if the second buffer was newly allocated.
3382 (send_dg): Likewise.
3383 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3384 to send_vc and send_dg.
3385 (res_nsend): Pass NULL for ansp2_malloced.
3386 * resolv/res_query.c (__libc_res_nquery): Add parameter
3387 answerp2_malloced and pass it down to __libc_res_nsend.
3388 (res_nquery): Pass additional NULL to __libc_res_nquery.
3389 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3390 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3391 second answer buffer if answerp2_malloced was set.
3392 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3393 (__libc_res_nquerydomain): Add parameter
3394 answerp2_malloced and pass it down to __libc_res_nquery.
3395 (res_nquerydomain): Pass additional NULL to
3396 __libc_res_nquerydomain.
3397 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3398 additional NULL to __libc_res_nsend and __libc_res_nquery.
3399 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3400 additional NULL to __libc_res_nsearch.
3401 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3402 parameter of __libc_res_nsearch to check for separately allocated
3403 second buffer.
3404 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3405 __libc_res_nquery.
3406 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3407 additional NULL to __libc_res_nquery.
3408 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3409 __libc_res_nsearch.
3410 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3411 * include/resolv.h: Update prototypes of __libc_res_nquery,
3412 __libc_res_nsearch, __libc_res_nsend.
3413
a4fb7861
JM
34142014-02-18 Joseph Myers <joseph@codesourcery.com>
3415
c6af2d89
JM
3416 * math/auto-libm-test-in: Add tests of fma.
3417 * math/auto-libm-test-out: Regenerated.
3418 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3419 (fma_towardzero_test_data): Likewise.
3420 (fma_downward_test_data): Likewise.
3421 (fma_upward_test_data): Likewise.
3422 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3423 mpc_mode.
3424 (rounding_modes): Add values for new field.
3425 (func_calc_method): Add value mpfr_fff_f.
3426 (func_calc_desc): Add mpfr_fff_f union field.
3427 (test_function): Add field exact_args.
3428 (FUNC): Add macro argument EXACT_ARGS.
3429 (FUNC_mpfr_f_f): Update call to FUNC.
3430 (FUNC_mpfr_f_f): Likewise.
3431 (FUNC_mpfr_ff_f): Likewise.
3432 (FUNC_mpfr_if_f): Likewise.
3433 (FUNC_mpc_c_f): Likewise.
3434 (FUNC_mpc_c_c): Likewise.
3435 (test_functions): Add fma. Update calls to FUNC.
3436 (handle_input_arg): Add argument exact_args.
3437 (add_test): Update call to handle_input_arg.
3438 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3439 (output_for_one_input_case): Update call to calc_generic_results.
3440 Recalculate exact zero results in each rounding mode.
3441
a4fb7861
JM
3442 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3443 non-negative before setting low bit.
3444 * math/auto-libm-test-in: Mark one asin test possibly having
3445 spurious underflow.
3446 * math/auto-libm-test-out: Regenerated.
3447 * sysdeps/i386/fpu/libm-test-ulps: Update.
3448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3449
ef114eaf
DH
34502014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3451
2b7f4f2c
SP
3452 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3453 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3454 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3455 * README: Add missing listing for microblaze*-*-linux-gnu.
3456
c70a4b1d
MF
34572014-02-16 Mike Frysinger <vapier@gentoo.org>
3458
3459 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3460 * sysdeps/unix/sysv/linux/ia64: Move directory from
3461 ports/sysdeps/unix/sysv/linux/ia64.
3462 * README: Update listing for ia64-*-linux-gnu.
3463
591aeaf7
TD
34642014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3465 Joseph Myers <joseph@codesourcery.com>
3466
3467 * Makeconfig (test-name): New variable.
3468 (evaluate-test): Likewise.
3469 * Makerules (do-test-clean): Remove .test-result files.
3470 (common-mostlyclean): Likewise.
3471 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3472 * scripts/evaluate-test.sh: New file.
3473
6e89caf1
JM
34742014-02-14 Joseph Myers <joseph@codesourcery.com>
3475
7f98f180
JM
3476 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3477 separate $(objpfx)tst-fopenloc-cmp.out and
3478 $(objpfx)tst-fopenloc-mem.out targets.
3479 (tests): Update dependencies.
3480 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3481 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3482 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3483 (tst-rxspencer-no-utf8-ARGS): New variable.
3484 (tst-rxspencer-no-utf8-ENV): Likewise.
3485 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3486 instead of $(objpfx)tst-rxspencer-mem.
3487 ($(objpfx)tst-rxspencer-mem): Change target to
3488 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3489 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3490 * posix/tst-rxspencer-no-utf8.c: New file.
3491
6e89caf1
JM
3492 * elf/Makefile ($(objpfx)order.out): Remove rule.
3493 [$(run-built-tests) = yes] (tests): Depend on
3494 $(objpfx)order-cmp.out.
3495 ($(objpfx)order-cmp.out): New rule.
3496 [$(run-built-tests) = yes] (tests): Depend on
3497 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3498 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3499 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3500 $(objpfx)tst-array5-static-cmp.out.
3501 ($(objpfx)tst-array1.out): Remove rule.
3502 ($(objpfx)tst-array1-cmp.out): New rule.
3503 ($(objpfx)tst-array1-static.out): Remove rule.
3504 ($(objpfx)tst-array1-static-cmp.out): New rule.
3505 ($(objpfx)tst-array2.out): Remove rule.
3506 ($(objpfx)tst-array2-cmp.out): New rule.
3507 ($(objpfx)tst-array3.out): Remove rule.
3508 ($(objpfx)tst-array3-cmp.out): New rule.
3509 ($(objpfx)tst-array4.out): Remove rule.
3510 ($(objpfx)tst-array4-cmp.out): New rule.
3511 ($(objpfx)tst-array5.out): Remove rule.
3512 ($(objpfx)tst-array5-cmp.out): New rule.
3513 ($(objpfx)tst-array5-static.out): Remove rule.
3514 ($(objpfx)tst-array5-static-cmp.out): New rule.
3515 [$(run-built-tests) = yes] (tests): Depend on
3516 $(objpfx)order2-cmp.out.
3517 ($(objpfx)order2.out): Remove rule.
3518 ($(objpfx)order2-cmp.out): New rule.
3519 ($(objpfx)tst-initorder.out): Remove rule.
3520 [$(run-built-tests) = yes] (tests): Depend on
3521 $(objpfx)tst-initorder-cmp.out.
3522 ($(objpfx)tst-initorder-cmp.out): New rule.
3523 ($(objpfx)tst-initorder2.out): Remove rule.
3524 [$(run-built-tests) = yes] (tests): Depend on
3525 $(objpfx)tst-initorder2-cmp.out.
3526 ($(objpfx)tst-initorder2-cmp.out): New rule.
3527 [$(run-built-tests) = yes] (tests): Depend on
3528 $(objpfx)tst-unused-dep-cmp.out.
3529 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3530 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3531 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3532 on $(objpfx)tst-setvbuf1-cmp.out.
3533 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3534 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3535 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3536 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3537 ($(objpfx)tst-svc.out): Remove rule.
3538 ($(objpfx)tst-svc-cmp.out): New rule.
3539
ed9a38e2
JM
35402014-02-13 Joseph Myers <joseph@codesourcery.com>
3541
3542 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3543 * ctype/ctype.h [__USE_MISC]: Likewise.
3544 * dirent/dirent.h [__USE_MISC]: Likewise.
3545 * grp/grp.h [__USE_MISC]: Likewise.
3546 * io/fcntl.h [__USE_MISC]: Likewise.
3547 * io/sys/stat.h [__USE_MISC]: Likewise.
3548 * libio/stdio.h [__USE_MISC]: Likewise.
3549 * posix/unistd.h [__USE_MISC]: Likewise.
3550 * pwd/pwd.h [__USE_MISC]: Likewise.
3551 * stdlib.h [__USE_MISC]: Likewise.
3552 * string/bits/string2.h [__USE_MISC]: Likewise.
3553 * string/string.h [__USE_MISC]: Likewise.
3554 * time/time.h [__USE_MISC]: Likewise.
3555
d6680619
AS
35562014-02-13 Andreas Schwab <schwab@suse.de>
3557
3558 [BZ #16574]
3559 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3560 second answer buffer if it was separately allocated.
3561
ace614b8
JM
35622014-02-12 Joseph Myers <joseph@codesourcery.com>
3563
743151ae
JM
3564 * sysdeps/mips/math-tests.h: Include <features.h>.
3565 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3566 (ROUNDING_TESTS_long_double): Do not define.
3567 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3568 (EXCEPTION_TESTS_long_double): Likewise.
3569 * sysdeps/mips/mips64/libm-test-ulps: Update.
3570
498afc54
JM
3571 * include/features.h (__USE_BSD): Remove macro definitions.
3572 (__USE_SVID): Likewise.
3573 (_BSD_SOURCE): Likewise.
3574 (_SVID_SOURCE): Likewise.
3575 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3576 from definition of _DEFAULT_SOURCE.
3577 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3578 [_DEFAULT_SOURCE].
3579 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3580 * bits/mman.h [__USE_BSD]: Likewise.
3581 * bits/termios.h [__USE_BSD]: Likewise.
3582 * bits/waitstatus.h [__USE_BSD]: Likewise.
3583 * ctype/ctype.h [__USE_SVID]: Likewise.
3584 * dirent/dirent.h [__USE_BSD]: Likewise.
3585 * grp/grp.h [__USE_SVID]: Likewise.
3586 [__USE_BSD]: Likewise.
3587 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3588 * io/fcntl.h [__USE_BSD]: Likewise.
3589 * io/ftw.h [__USE_BSD]: Likewise.
3590 * io/sys/stat.h [__USE_BSD]: Likewise.
3591 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3592 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3593 * libio/stdio.h [__USE_SVID]: Likewise.
3594 [__USE_BSD]: Likewise.
3595 * math/math.h [__USE_SVID]: Likewise.
3596 [__USE_BSD]: Likewise.
3597 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3598 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3599 * misc/search.h [__USE_SVID]: Likewise.
3600 * misc/sys/mman.h [__USE_BSD]: Likewise.
3601 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3602 * misc/sys/uio.h [__USE_BSD]: Likewise.
3603 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3604 * posix/glob.h [__USE_BSD]: Likewise.
3605 * posix/regex.h [__USE_BSD]: Likewise.
3606 * posix/sys/types.h [__USE_BSD]: Likewise.
3607 [__USE_SVID]: Likewise.
3608 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3609 * posix/sys/wait.h [__USE_BSD]: Likewise.
3610 [__USE_SVID]: Likewise.
3611 * posix/unistd.h [__USE_BSD]: Likewise.
3612 [__USE_SVID]: Likewise.
3613 * pwd/pwd.h [__USE_SVID]: Likewise.
3614 * resolv/netdb.h [__USE_BSD]: Likewise.
3615 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3616 * signal/signal.h [__USE_BSD]: Likewise.
3617 [__USE_SVID]: Likewise.
3618 * socket/sys/socket.h [__USE_BSD]: Likewise.
3619 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3620 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3621 [__USE_SVID]: Likewise.
3622 * string/bits/string2.h [__USE_BSD]: Likewise.
3623 [__USE_SVID]: Likewise.
3624 * string/bits/string3.h [__USE_BSD]: Likewise.
3625 * string/endian.h [__USE_BSD]: Likewise.
3626 * string/string.h [__USE_SVID]: Likewise.
3627 [__USE_BSD]: Likewise.
3628 * string/strings.h [__USE_BSD]: Likewise.
3629 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3630 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3631 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3632 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3633 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3634 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3635 Likewise.
3636 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3637 Likewise.
3638 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3639 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3640 Likewise.
3641 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3642 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3643 Likewise.
3644 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3645 Likewise.
3646 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3647 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3648 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3649 Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3651 Likewise.
3652 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3653 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3654 * termios/termios.h [__USE_BSD]: Likewise.
3655 * time/sys/time.h [__USE_BSD]: Likewise.
3656 * time/time.h [__USE_BSD]: Likewise.
3657 [__USE_SVID]: Likewise.
3658
dd7b064c
JM
3659 * Makefile (subdir_targets): Remove subdir_lint.out.
3660
a2c4c199
JM
3661 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3662 (do-tst-printf): Likewise.
3663 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3664 $(objpfx)tst-printf.out.
3665
8756f740
JM
3666 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3667
1b6dd3f1
JM
3668 * Makerules (check-abi-%): Change target to
3669 $(objpfx)check-abi-%.out.
3670 (check-abi target): Update dependencies.
3671 (check-abi-pattern variable): Redirect output of diff to $@.
3672 (check-abi variable): Likewise.
3673 * elf/Makefile (check-abi): Update dependencies.
3674
ace614b8
JM
3675 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3676 unused.
3677 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3678 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3679 subnormal range.
3680 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3681 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3682 value has largest subnormal exponent.
3683 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3684 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3685 * sysdeps/aarch64/soft-fp/sfp-machine.h
3686 (_FP_TININESS_AFTER_ROUNDING): New macro.
3687 * sysdeps/alpha/soft-fp/sfp-machine.h
3688 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3689 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3690 Likewise.
3691 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3692 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3693 * sysdeps/mips/soft-fp/sfp-machine.h
3694 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3695 * sysdeps/powerpc/soft-fp/sfp-machine.h
3696 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3697 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3698 Likewise.
3699 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3700 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3702 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3703 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3704 Likewise.
3705
fbfdf9cb
DAS
37062014-02-12 Dylan Alex Simon <dylan@dylex.net>
3707
3708 [BZ #16545]
3709 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3710 model 1.
3711
68b7efaa
RH
37122014-02-12 Richard Henderson <rth@redhat.com>
3713
c70a4b1d 3714 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3715 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3716 * sysdeps/unix/sysv/linux/alpha: Move directory from
3717 ports/sysdeps/unix/sysv/linux/alpha.
3718 * README: Update listing for alpha-*-linux-gnu.
3719
cb4a2928
JM
37202014-02-11 Joseph Myers <joseph@codesourcery.com>
3721
c941736c
JM
3722 * include/features.h: Update comment documenting feature test
3723 macros.
3724 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3725 _DEFAULT_SOURCE.
3726 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3727 (_SVID_SOURCE): Likewise.
3728 (_DEFAULT_SOURCE): Update description of default features.
3729 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3730 with _GNU_SOURCE.
3731 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3732 (S_ISVTX): Likewise.
3733 * manual/math.texi (Mathematical Constants): Likewise.
3734 * manual/signal.texi (Interrupted Primitives): Likewise.
3735 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3736 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3737 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3738 Don't refer to _SVID_SOURCE in warning text.
3739
e8d8d7ec
JM
3740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3741
cb4a2928
JM
3742 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3743 already defined.
3744 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3745 * sysdeps/mips/dl-lookup.c: Remove.
3746 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3747
7e6424e3
AK
37482014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3749
3750 [BZ #16447]
3751 * math/auto-libm-test-in: Add testcase for expl.
3752 * math/auto-libm-test-out: Regenerate.
3753 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3754 calculation of unsafe.
3755 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3756
75eff3fe
MS
37572014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3758
3759 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3760 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3761 ports/sysdeps/unix/sysv/linux/aarch64.
3762 * README: Update listing for aarch64*-*-linux-gnu.
3763
d35f1e80
WN
37642014-02-11 Will Newton <will.newton@linaro.org>
3765
3766 * manual/probes.texi (Mathematical Function Probes): Use
3767 "triggered" instead of "hit".
3768
7b3436d4
WN
37692014-02-11 Will Newton <will.newton@linaro.org>
3770
3771 * manual/probes.texi (Internal Probes): Add documentation
3772 of setjmp, longjmp and longjmp_target probes.
3773
b4f12ca3
WN
37742014-02-11 Will Newton <will.newton@linaro.org>
3775
3776 * include/stap-probe.h: Add comment about probe argument
3777 format.
3778
c13a72b7
WN
37792014-02-11 Will Newton <will.newton@linaro.org>
3780
3781 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3782 definition. (tr_where, tr_freehook, tr_mallochook,
3783 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3784
195b8165
DM
37852014-02-11 David S. Miller <davem@davemloft.net>
3786
3787 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3788 processing int_tests.
3789
2ad7600b
JM
37902014-02-10 Joseph Myers <joseph@codesourcery.com>
3791
3792 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3793 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3794 * sysdeps/unix/sysv/linux/mips: Move directory from
3795 ports/sysdeps/unix/sysv/linux/mips.
3796 * README: Update listing for mips-*-linux-gnu and
3797 mips64-*-linux-gnu.
3798
73588a72
AS
37992014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3800
3801 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3802 * sysdeps/unix/sysv/linux/m68k: Move directory from
3803 ports/sysdeps/unix/sysv/linux/m68k.
3804 * README: Update listing for m68k-*-linux-gnu.
3805
4372980f
CM
38062014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3807
3808 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3809 * sysdeps/unix/sysv/linux/generic: Move directory from
3810 ports/sysdeps/unix/sysv/linux/generic.
3811 * sysdeps/unix/sysv/linux/tile: Move directory from
3812 ports/sysdeps/unix/sysv/linux/tile.
3813 * README: Update listing for tile*-*-linux-gnu.
3814
a1ffb40e
OB
38152014-02-10 Ondřej Bílka <neleai@seznam.cz>
3816
3817 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3818 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3819 * catgets/open_catalog.c (__open_catalog): Likewise.
3820 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3821 * debug/confstr_chk.c: Likewise.
3822 * debug/fread_chk.c (__fread_chk): Likewise.
3823 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3824 * debug/getgroups_chk.c: Likewise.
3825 * debug/mbsnrtowcs_chk.c: Likewise.
3826 * debug/mbsrtowcs_chk.c: Likewise.
3827 * debug/mbstowcs_chk.c: Likewise.
3828 * debug/memcpy_chk.c: Likewise.
3829 * debug/memmove_chk.c: Likewise.
3830 * debug/mempcpy_chk.c: Likewise.
3831 * debug/memset_chk.c: Likewise.
3832 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3833 * debug/strcat_chk.c (__strcat_chk): Likewise.
3834 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3835 * debug/strncat_chk.c (__strncat_chk): Likewise.
3836 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3837 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3838 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3839 * debug/wcpncpy_chk.c: Likewise.
3840 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3841 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3842 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3843 * debug/wcsncpy_chk.c: Likewise.
3844 * debug/wcsnrtombs_chk.c: Likewise.
3845 * debug/wcsrtombs_chk.c: Likewise.
3846 * debug/wcstombs_chk.c: Likewise.
3847 * debug/wmemcpy_chk.c: Likewise.
3848 * debug/wmemmove_chk.c: Likewise.
3849 * debug/wmempcpy_chk.c: Likewise.
3850 * debug/wmemset_chk.c: Likewise.
3851 * dirent/scandirat.c (SCANDIRAT): Likewise.
3852 * dlfcn/dladdr1.c (dladdr1): Likewise.
3853 * dlfcn/dladdr.c (dladdr): Likewise.
3854 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3855 * dlfcn/dlerror.c (__dlerror): Likewise.
3856 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3857 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3858 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3859 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3860 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3861 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3862 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3863 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3864 Likewise.
3865 * elf/dl-conflict.c: Likewise.
3866 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3867 * elf/dl-dst.h: Likewise.
3868 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3869 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3870 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3871 * elf/dl-init.c (call_init, _dl_init): Likewise.
3872 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3873 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3874 _dl_map_object_from_fd, open_verify, open_path,
3875 _dl_map_object): Likewise.
3876 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3877 Likewise.
3878 * elf/dl-minimal.c (__libc_memalign): Likewise.
3879 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3880 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3881 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3882 * elf/dl-sym.c (do_sym): Likewise.
3883 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3884 _dl_tls_get_addr_soft): Likewise.
3885 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3886 * elf/dl-writev.h (_dl_writev): Likewise.
3887 * elf/ldconfig.c (search_dir): Likewise.
3888 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3889 dl_main): Likewise.
3890 * elf/setup-vdso.h (setup_vdso): Likewise.
3891 * grp/compat-initgroups.c (compat_call): Likewise.
3892 * grp/fgetgrent.c (fgetgrent): Likewise.
3893 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3894 * grp/putgrent.c (putgrent): Likewise.
3895 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3896 Likewise.
3897 * hurd/hurdinit.c: Likewise.
3898 * iconvdata/8bit-gap.c (struct): Likewise.
3899 * iconvdata/ansi_x3.110.c : Likewise.
3900 * iconvdata/big5.c : Likewise.
3901 * iconvdata/big5hkscs.c : Likewise.
3902 * iconvdata/cp1255.c: Likewise.
3903 * iconvdata/cp1258.c : Likewise.
3904 * iconvdata/cp932.c : Likewise.
3905 * iconvdata/euc-cn.c: Likewise.
3906 * iconvdata/euc-jisx0213.c : Likewise.
3907 * iconvdata/euc-jp.c: Likewise.
3908 * iconvdata/euc-jp-ms.c : Likewise.
3909 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3910 * iconvdata/gb18030.c : Likewise.
3911 * iconvdata/gbbig5.c (const): Likewise.
3912 * iconvdata/gbgbk.c: Likewise.
3913 * iconvdata/gbk.c : Likewise.
3914 * iconvdata/ibm1364.c : Likewise.
3915 * iconvdata/ibm930.c : Likewise.
3916 * iconvdata/ibm932.c: Likewise.
3917 * iconvdata/ibm933.c : Likewise.
3918 * iconvdata/ibm935.c : Likewise.
3919 * iconvdata/ibm937.c : Likewise.
3920 * iconvdata/ibm939.c : Likewise.
3921 * iconvdata/ibm943.c: Likewise.
3922 * iconvdata/iso_11548-1.c: Likewise.
3923 * iconvdata/iso-2022-cn.c : Likewise.
3924 * iconvdata/iso-2022-cn-ext.c : Likewise.
3925 * iconvdata/iso-2022-jp-3.c: Likewise.
3926 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3927 * iconvdata/iso-2022-kr.c : Likewise.
3928 * iconvdata/iso646.c (gconv_end): Likewise.
3929 * iconvdata/iso_6937-2.c : Likewise.
3930 * iconvdata/iso_6937.c : Likewise.
3931 * iconvdata/iso8859-1.c: Likewise.
3932 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3933 * iconvdata/shift_jisx0213.c : Likewise.
3934 * iconvdata/sjis.c : Likewise.
3935 * iconvdata/t.61.c : Likewise.
3936 * iconvdata/tcvn5712-1.c : Likewise.
3937 * iconvdata/tscii.c: Likewise.
3938 * iconvdata/uhc.c : Likewise.
3939 * iconvdata/unicode.c (gconv_end): Likewise.
3940 * iconvdata/utf-16.c (gconv_end): Likewise.
3941 * iconvdata/utf-32.c (gconv_end): Likewise.
3942 * iconvdata/utf-7.c (base64): Likewise.
3943 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3944 * iconv/gconv_close.c (__gconv_close): Likewise.
3945 * iconv/gconv_open.c (__gconv_open): Likewise.
3946 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3947 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3948 internal_ucs4le_loop_single, ucs4le_internal_loop,
3949 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3950 * iconv/iconv.c (iconv): Likewise.
3951 * iconv/iconv_close.c: Likewise.
3952 * iconv/loop.c (SINGLE): Likewise.
3953 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3954 * include/atomic.h: Likewise.
3955 * inet/inet6_option.c (option_alloc): Likewise.
3956 * intl/bindtextdom.c (set_binding_values): Likewise.
3957 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3958 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3959 * intl/localealias.c (read_alias_file): Likewise.
3960 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3961 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3962 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3963 * libio/fmemopen.c (fmemopen): Likewise.
3964 * libio/iofgets.c (_IO_fgets): Likewise.
3965 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3966 * libio/iofgetws.c (fgetws): Likewise.
3967 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3968 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3969 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3970 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3971 * locale/findlocale.c (_nl_find_locale): Likewise.
3972 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3973 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3974 Likewise.
3975 * locale/setlocale.c (setlocale): Likewise.
3976 * login/programs/pt_chown.c (main): Likewise.
3977 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3978 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3979 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3980 mmap, mmap64, mremap, munmap): Likewise.
3981 * math/e_exp2l.c: Likewise.
3982 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3983 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3984 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3985 * math/s_catan.c (__catan): Likewise.
3986 * math/s_catanf.c (__catanf): Likewise.
3987 * math/s_catanh.c (__catanh): Likewise.
3988 * math/s_catanhf.c (__catanhf): Likewise.
3989 * math/s_catanhl.c (__catanhl): Likewise.
3990 * math/s_catanl.c (__catanl): Likewise.
3991 * math/s_ccosh.c (__ccosh): Likewise.
3992 * math/s_ccoshf.c (__ccoshf): Likewise.
3993 * math/s_ccoshl.c (__ccoshl): Likewise.
3994 * math/s_cexp.c (__cexp): Likewise.
3995 * math/s_cexpf.c (__cexpf): Likewise.
3996 * math/s_cexpl.c (__cexpl): Likewise.
3997 * math/s_clog10.c (__clog10): Likewise.
3998 * math/s_clog10f.c (__clog10f): Likewise.
3999 * math/s_clog10l.c (__clog10l): Likewise.
4000 * math/s_clog.c (__clog): Likewise.
4001 * math/s_clogf.c (__clogf): Likewise.
4002 * math/s_clogl.c (__clogl): Likewise.
4003 * math/s_csin.c (__csin): Likewise.
4004 * math/s_csinf.c (__csinf): Likewise.
4005 * math/s_csinh.c (__csinh): Likewise.
4006 * math/s_csinhf.c (__csinhf): Likewise.
4007 * math/s_csinhl.c (__csinhl): Likewise.
4008 * math/s_csinl.c (__csinl): Likewise.
4009 * math/s_csqrt.c (__csqrt): Likewise.
4010 * math/s_csqrtf.c (__csqrtf): Likewise.
4011 * math/s_csqrtl.c (__csqrtl): Likewise.
4012 * math/s_ctan.c (__ctan): Likewise.
4013 * math/s_ctanf.c (__ctanf): Likewise.
4014 * math/s_ctanh.c (__ctanh): Likewise.
4015 * math/s_ctanhf.c (__ctanhf): Likewise.
4016 * math/s_ctanhl.c (__ctanhl): Likewise.
4017 * math/s_ctanl.c (__ctanl): Likewise.
4018 * math/w_pow.c: Likewise.
4019 * math/w_powf.c: Likewise.
4020 * math/w_powl.c: Likewise.
4021 * math/w_scalb.c (sysv_scalb): Likewise.
4022 * math/w_scalbf.c (sysv_scalbf): Likewise.
4023 * math/w_scalbl.c (sysv_scalbl): Likewise.
4024 * misc/error.c (error_tail): Likewise.
4025 * misc/pselect.c (__pselect): Likewise.
4026 * nis/nis_callback.c (__nis_create_callback): Likewise.
4027 * nis/nis_call.c (__nisfind_server): Likewise.
4028 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4029 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4030 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4031 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4032 * nis/nis_lookup.c (nis_lookup): Likewise.
4033 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4034 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4035 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4036 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4037 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4038 internal_getgrgid_r): Likewise.
4039 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4040 Likewise.
4041 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4042 internal_getpwuid_r): Likewise.
4043 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4044 internal_getspnam_r): Likewise.
4045 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4046 _nss_nis_getaliasbyname_r): Likewise.
4047 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4048 _nss_nis_getntohost_r): Likewise.
4049 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4050 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4051 Likewise.
4052 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4053 internal_nis_gethostent_r, internal_gethostbyname2_r,
4054 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4055 _nss_nis_gethostbyname4_r): Likewise.
4056 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4057 initgroups_netid): Likewise.
4058 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4059 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4060 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4061 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4062 _nss_nis_getprotobynumber_r): Likewise.
4063 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4064 _nss_nis_getsecretkey): Likewise.
4065 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4066 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4067 Likewise.
4068 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4069 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4070 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4071 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4072 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4073 _nss_nis_getspnam_r): Likewise.
4074 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4075 Likewise.
4076 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4077 _nss_nisplus_getntohost_r): Likewise.
4078 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4079 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4080 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4081 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4082 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4083 Likewise.
4084 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4085 _nss_nisplus_getnetbyaddr_r): Likewise.
4086 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4087 _nss_nisplus_getprotobynumber_r): Likewise.
4088 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4089 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4090 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4091 Likewise.
4092 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4093 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4094 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4095 _nss_nisplus_getspnam_r): Likewise.
4096 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4097 * nscd/aicache.c (addhstaiX): Likewise.
4098 * nscd/cache.c (cache_search, prune_cache): Likewise.
4099 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4100 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4101 * nscd/grpcache.c (addgrbyX): Likewise.
4102 * nscd/hstcache.c (addhstbyX): Likewise.
4103 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4104 * nscd/mem.c (gc, mempool_alloc): Likewise.
4105 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4106 Likewise.
4107 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4108 Likewise.
4109 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4110 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4111 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4112 Likewise.
4113 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4114 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4115 * nscd/nscd_helper.c (__readvall, open_socket,
4116 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4117 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4118 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4119 * nscd/pwdcache.c (addpwbyX): Likewise.
4120 * nscd/selinux.c (preserve_capabilities): Likewise.
4121 * nscd/servicescache.c (addservbyX): Likewise.
4122 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4123 * posix/fnmatch.c (fnmatch): Likewise.
4124 * posix/getopt.c (_getopt_internal_r): Likewise.
4125 * posix/glob.c (glob, glob_in_dir): Likewise.
4126 * posix/wordexp.c (exec_comm_child): Likewise.
4127 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4128 gaih_getanswer_slice): Likewise.
4129 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4130 * resolv/res_init.c: Likewise.
4131 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4132 * resolv/res_query.c (__libc_res_nquery): Likewise.
4133 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4134 Likewise.
4135 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4136 * stdio-common/perror.c (perror): Likewise.
4137 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4138 * stdio-common/tmpnam.c (tmpnam): Likewise.
4139 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4140 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4141 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4142 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4143 * stdlib/putenv.c (putenv): Likewise.
4144 * stdlib/setenv.c (__add_to_environ): Likewise.
4145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4146 * stdlib/strtol_l.c (INTERNAL): Likewise.
4147 * string/memmem.c (memmem): Likewise.
4148 * string/strerror.c (strerror): Likewise.
4149 * string/strnlen.c (__strnlen): Likewise.
4150 * string/test-memmem.c (simple_memmem): Likewise.
4151 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4152 * sunrpc/pm_getport.c (__get_socket): Likewise.
4153 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4154 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4155 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4156 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4157 Likewise.
4158 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4159 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4160 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4161 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4162 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4163 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4164 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4165 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4166 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4168 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4169 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4171 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4172 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4173 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4174 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4175 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4176 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4177 Likewise.
4178 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4179 Likewise.
4180 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4181 Likewise.
4182 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4184 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4185 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4186 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4187 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4188 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4190 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4191 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4197 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4198 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4199 Likewise.
4200 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4201 Likewise.
4202 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4203 Likewise.
4204 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4206 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4207 Likewise.
4208 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4209 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4210 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4211 * sysdeps/posix/sleep.c: Likewise.
4212 * sysdeps/posix/tempname.c: Likewise.
4213 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4214 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4215 Likewise.
4216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4217 elf_machine_rela): Likewise.
4218 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4220 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4221 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4222 Likewise.
4223 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4224 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4225 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4226 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4227 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4228 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4229 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4230 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4231 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4232 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4234 elf_machine_lazy_rel): Likewise.
4235 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4237 elf_machine_lazy_rel): Likewise.
4238 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4239 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4240 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4241 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4242 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4243 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4244 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4246 Likewise.
4247 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4248 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4249 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4250 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4251 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4252 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4253 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4254 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4255 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4256 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4257 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4258 Likewise.
4259 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4260 (__posix_fallocate64_l64): Likewise.
4261 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4262 (posix_fallocate): Likewise.
4263 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4265 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4266 getifaddrs_internal): Likewise.
4267 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4268 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4269 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4270 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4271 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4272 (__posix_fallocate64_l64): Likewise.
4273 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4274 Likewise.
4275 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4276 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4277 Likewise.
4278 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4279 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4280 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4283 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4284 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4285 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4286 Likewise.
4287 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4288 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4289 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4292 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4293 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4294 Likewise.
4295 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4296 (posix_fallocate): Likewise.
4297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4298 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4299 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4300 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4301 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4302 Likewise.
4303 * time/asctime.c (asctime_internal): Likewise.
4304 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4305 * time/tzset.c (__tzset_parse_tz): Likewise.
4306 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4307 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4308 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4309 * wcsmbs/wcsmbsload.h: Likewise.
4310
f3d338c9
OB
43112014-02-10 Ondřej Bílka <neleai@seznam.cz>
4312
4313 [BZ #15894]
4314 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4315
bdfe308a
OB
43162014-02-10 Ondřej Bílka <neleai@seznam.cz>
4317
4318 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4319 arena_get2): Remove THREAD_STATS conditionals.
4320 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4321 __malloc_stats, int): Likewise.
4322
d674667c
MF
43232014-02-08 Mike Frysinger <vapier@gentoo.org>
4324
4325 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4326 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4327
6349768c
MF
43282014-02-08 Mike Frysinger <vapier@gentoo.org>
4329
4330 * manual/setjmp.texi: Fix typos/grammar errors.
4331
0b7c7473
MF
43322014-02-08 Mike Frysinger <vapier@gentoo.org>
4333
4334 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4335 Only return early when n is <= 0. Delete unused return statement.
4336
ac8cc9e3
MF
43372014-02-08 Mike Frysinger <vapier@gentoo.org>
4338
4339 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4340 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4341 * debug/tst-longjmp_chk3.c: New file.
4342
c5bb8e23
MF
43432014-02-08 Mike Frysinger <vapier@gentoo.org>
4344
4345 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4346 (test_main): Replace code with set_fortify_handler call.
4347 * debug/test-strcpy_chk.c: Likewise.
4348 * debug/tst-chk1.c: Likewise.
4349 * debug/tst-longjmp_chk.c: Likewise.
4350 * test-skeleton.c: Include fcntl.h & paths.h
4351 (set_fortify_handler): Define.
4352
10444e42
MF
43532014-02-08 Mike Frysinger <vapier@gentoo.org>
4354
4355 * debug/tst-longjmp_chk.c: Add header comment and include
4356 ../test-skeleton.c.
4357 (do_test): Mark static.
4358 (TEST_FUNCTION): Define.
4359
1e805e8d
MF
43602014-02-08 Mike Frysinger <vapier@gentoo.org>
4361
4362 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4363 (IP_PMTUDISC_INTERFACE): Likewise.
4364 (IP_MULTICAST_IF): Likewise.
4365 (IP_MULTICAST_TTL): Likewise.
4366 (IP_MULTICAST_LOOP): Likewise.
4367 (IP_ADD_MEMBERSHIP): Likewise.
4368 (IP_DROP_MEMBERSHIP): Likewise.
4369 (IP_UNBLOCK_SOURCE): Likewise.
4370 (IP_BLOCK_SOURCE): Likewise.
4371 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4372 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4373 (IP_MSFILTER): Likewise.
4374 (MCAST_JOIN_GROUP): Likewise.
4375 (MCAST_BLOCK_SOURCE): Likewise.
4376 (MCAST_UNBLOCK_SOURCE): Likewise.
4377 (MCAST_LEAVE_GROUP): Likewise.
4378 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4379 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4380 (MCAST_MSFILTER): Likewise.
4381 (IP_MULTICAST_ALL): Likewise.
4382 (IP_UNICAST_IF): Likewise.
4383
73f79bb7
MF
43842014-02-08 Mike Frysinger <vapier@gentoo.org>
4385
4386 * timezone/Makefile: Delete $(have-ksh) check.
4387 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4388 * timezone/tzselect.ksh: Add +x mode bits.
4389
8da79b60
MF
43902014-02-08 Mike Frysinger <vapier@gentoo.org>
4391
4392 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4393 (ANON_INODE_FS_MAGIC): Likewise.
4394 (BDEVFS_MAGIC): Likewise.
4395 (BINFMTFS_MAGIC): Likewise.
4396 (BTRFS_TEST_MAGIC): Likewise.
4397 (CRAMFS_MAGIC_WEND): Likewise.
4398 (DEBUGFS_MAGIC): Likewise.
4399 (ECRYPTFS_SUPER_MAGIC): Likewise.
4400 (EXT3_SUPER_MAGIC): Likewise.
4401 (EXT4_SUPER_MAGIC): Likewise.
4402 (FUTEXFS_SUPER_MAGIC): Likewise.
4403 (HOSTFS_SUPER_MAGIC): Likewise.
4404 (HUGETLBFS_MAGIC): Likewise.
4405 (MINIX3_SUPER_MAGIC): Likewise.
4406 (MTD_INODE_FS_MAGIC): Likewise.
4407 (NILFS_SUPER_MAGIC): Likewise.
4408 (OPENPROM_SUPER_MAGIC): Likewise.
4409 (PIPEFS_MAGIC): Likewise.
4410 (PSTOREFS_MAGIC): Likewise.
4411 (QNX6_SUPER_MAGIC): Likewise.
4412 (RAMFS_MAGIC): Likewise.
4413 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4414 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4415 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4416 (SECURITYFS_MAGIC): Likewise.
4417 (SELINUX_MAGIC): Likewise.
4418 (SMACK_MAGIC): Likewise.
4419 (SOCKFS_MAGIC): Likewise.
4420 (SQUASHFS_MAGIC): Likewise.
4421 (STACK_END_MAGIC): Likewise.
4422 (TMPFS_MAGIC): Likewise.
4423 (USBDEVICE_SUPER_MAGIC): Likewise.
4424 (V9FS_MAGIC): Likewise.
4425 (XENFS_SUPER_MAGIC): Likewise.
4426 (CRAMFS_MAGIC): Fix typo in comment.
4427 (EXT2_SUPER_MAGIC): Update comment.
4428 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4429
464263cc
JM
44302014-02-08 Joseph Myers <joseph@codesourcery.com>
4431
c6bfe5c4
JM
4432 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4433 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4434 * sysdeps/unix/sysv/linux/arm: Move directory from
4435 ports/sysdeps/unix/sysv/linux/arm.
4436 * README: Update listing for arm-*-linux-gnueabi.
4437
464263cc
JM
4438 * README: Remove mention of am33.
4439
32749f6c
RM
44402014-02-07 Roland McGrath <roland@hack.frob.com>
4441
4442 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4443 than the comma operator, to avoid "rhs of comma has no effect"
4444 compiler warnings.
4445 (__sigfillset, __sigandset, __sigorset): Likewise.
4446 * include/signal.h (__sigemptyset): Likewise.
4447 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4448
d5b396c1
AM
44492014-02-07 Allan McRae <allan@archlinux.org>
4450
4451 * version.h (RELEASE): Set to "development".
4452 (VERSION): Set to "2.19.90"
4453 * NEWS: Add 2.20 section.
4454
3bfff2ed
CD
44552014-02-06 Carlos O'Donell <carlos@redhat.com>
4456
4457 [BZ #16529]
4458 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4459
ee7cc385
SP
44602014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4461
4462 * manual/contrib.texi: Update entry for Carlos O'Donell,
4463 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4464
f877c4f2
CD
44652014-02-05 Carlos O'Donell <carlos@rehdat.com>
4466
27e839f6
CD
4467 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4468
f877c4f2
CD
4469 * sysdeps/unix/sysv/linux/kernel-features.h
4470 [__LINUX_KERNEL_VERSION >= 0x020621]
4471 (__ASSUME_PROC_PID_TASK_COMM): Define.
4472
68159946
SP
44732014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4474
ba17cdbd
SP
4475 [BZ #16398]
4476 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4477 conversion when destination buffer does not have enough space.
4478 * libio/tst-ftell-partial-wide.c: New test case.
4479 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4480
68159946
SP
4481 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4482 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4483 Leonard and Allan McRae.
4484
2b528732
DM
44852014-02-04 David S. Miller <davem@davemloft.net>
4486
4487 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4488 32-bit.
4489
0ff82463
AZ
44902014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4491
c01603f7
AZ
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4493 file
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4495 New file
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4497 file.
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4499 file.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4501 New file.
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4503 file.
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4505 file.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4507 New file.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4509 New file.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4511 New file.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4513 New file.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4515 New file.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4517 New file.
4518
45192014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4520
0ff82463
AZ
4521 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4522 * shlib-versions: Likewise.
4523
1695c773
AZ
45242014-02-04 Roland McGrath <roland@hack.frob.com>
4525 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4526
4527 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4528 (abilist-pattern): New variable, set to %-le.abilist.
4529
4530 * Makerules (abilist-pattern): New variable.
4531 (vpath): Use $(abilist-pattern) in place of %.abilist.
4532 (check-abi-% pattern rule): Likewise.
4533 (check-abi, update-abi): Likewise.
4534
6c0ce4b4
EW
45352014-02-04 Eric Wong <normalperson@yhbt.net>
4536
4537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4538
dc98b8f5
EW
45392014-02-04 Eric Wong <normalperson@yhbt.net>
4540
4541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4542
481e3524
CD
45432014-02-03 Carlos O'Donell <carlos@redhat.com>
4544
4545 * manual/startup.texi: Add next, previous, and top entries for
4546 the `Program Arguments' and `Environment Variables' nodes.
4547
375592d3
AO
45482014-02-03 Alexandre Oliva <aoliva@redhat.com>
4549
4550 * manual/macros.texi: Add comments before MTASC-safety macros.
4551
f54838ba
AO
4552 * manual/users.texi: Document MTASC-safety properties.
4553
909e12ad
AO
4554 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4555 pthread_getspecific, pthread_setspecific): Format with
4556 @deftypefun, and add @safety note.
4557 * manual/signal.texi: Move comments that analyze the above
4558 functions to their home place.
4559
fd3daba4
AM
45602014-02-03 Allan McRae <allan@archlinux.org>
4561
4562 * po/sl.po: Update Slovenian translation from translation project.
4563
597636d7
AO
45642014-02-02 Alexandre Oliva <aoliva@redhat.com>
4565
4566 * manual/time.texi (timegm): Add missing blank after @c.
4567 Reported by Joseph Myers <joseph@codesourcery.com>.
4568
ee196e3c
AO
45692014-02-01 Alexandre Oliva <aoliva@redhat.com>
4570
4571 * manual/check-safety.sh: New.
4572 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4573
f8d529d5
AO
4574 * manual/terminal.texi: Document MTASC-safety properties.
4575
de55fdf4
AO
4576 * manual/filesys.texi: Document MTASC-safety properties.
4577
c3299c08
AO
4578 * manual/errno.texi: Document MTASC-safety properties.
4579
06e90b14
AO
4580 * manual/intro.texi: Document safety identifiers and
4581 conditionals.
4582
1acd4371
AO
4583 * manual/string.texi (wcstok): Fix prototype.
4584 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4585
23e5b8cb
AO
4586 * manual/time.texi: Document MTASC-safety properties.
4587
11087373
AO
4588 * manual/string.texi: Document MTASC-safety properties.
4589
5da2c93d
AO
4590 * manual/threads.texi: Document MTASC-safety properties.
4591
171e9210
AO
4592 * manual/stdio.texi: Document MTASC-safety properties.
4593
d9e02532
AO
4594 * manual/syslog.texi: Document MTASC-safety properties.
4595
6af8bab7
AO
4596 * manual/sysinfo.texi: Document MTASC-safety properties.
4597
663b02d7
AO
4598 * manual/startup.texi: Document MTASC-safety properties.
4599
973f180b
AO
4600 * manual/socket.texi: Document MTASC-safety properties.
4601
8f3c25c8
AO
4602 * manual/signal.texi: Document MTASC-safety properties.
4603
542210fb
AO
46042014-01-31 Alexandre Oliva <aoliva@redhat.com>
4605
4606 * manual/setjmp.texi: Document MTASC-safety properties.
4607
433c45a2
AO
4608 * manual/search.texi: Document MTASC-safety properties.
4609
c8ce789c
AO
4610 * manual/resource.texi: Document MTASC-safety properties.
4611
19f5d29c
AO
4612 * manual/process.texi: Document MTASC-safety properties.
4613
e2dfb7f4
AO
4614 * manual/platform.texi: Document MTASC-safety properties.
4615
8c1413f5
AO
4616 * manual/pipe.texi: Document MTASC-safety properties.
4617
03483ada
AO
4618 * manual/pattern.texi: Document MTASC-safety properties.
4619
29e7e2df
AO
4620 * manual/message.texi: Document MTASC-safety properties.
4621
9f529d7c
AO
4622 [BZ #12751]
4623 * manual/memory.texi: Document MTASC-safety properties.
4624
27aaa791
AO
4625 * manual/math.texi: Document MTASC-safety properties.
4626
f2d58726
AO
4627 * manual/locale.texi: Document MTASC-safety properties.
4628
2cc3615c
AO
4629 * manual/llio.texi: Document MTASC-safety properties.
4630
d9f0ec97
AO
4631 * manual/libdl.texi: New.
4632
e7c4409a
AO
4633 * manual/lang.texi: Document MTASC-safety properties.
4634
27bdc63c
AO
4635 * manual/job.texi: Document MTASC-safety properties.
4636
a7b90ea9
AO
4637 * manual/getopt.texi: Document MTASC-safety properties.
4638
c49130e3
AO
4639 * manual/ctype.texi: Document MTASC-safety properties.
4640
0d23a5c1
MR
46412014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4642
4643 [BZ #16046]
4644 * csu/libc-tls.c (static_map): Remove variable.
4645 (__libc_setup_tls): Use main executable's link map for TLS data.
4646 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4647 casing for LM_ID_BASE and GL(dl_nns).
4648 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4649 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4650 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4651 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4652 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4653 member.
4654 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4655 l_phnum members.
4656
0037bb60
AO
46572014-01-30 Alexandre Oliva <aoliva@redhat.com>
4658
4659 * manual/debug.texi: Document MTASC-safety properties.
4660
409e00bd
L
46612014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4662
4663 [BZ #16510]
4664 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4665 of __x86_64__ when disabling x87 inline functions.
4666
86e60666
AO
46672014-01-29 Alexandre Oliva <aoliva@redhat.com>
4668
4669 * manual/charset.texi: Document MTASC-safety properties.
4670
76167637
AO
4671 * manual/crypt.texi: Document MTASC-safety properties.
4672
e567f2a0
AO
4673 * manual/conf.texi: Document MTASC-safety properties.
4674
b719dafd
AO
4675 * manual/arith.texi: Document MTASC-safety properties.
4676
4a16c662
AO
4677 * manual/argp.texi: Document MTASC-safety properties.
4678
0a57b83e
AO
4679 * manual/macros.texi: Introduce macros to document multi
4680 thread, asynchronous signal and asynchronous cancellation
4681 safety properties.
4682 * manual/intro.texi: Introduce the properties themselves.
4683
feab2397
KK
46842014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4685
4686 * sysdeps/sh/sh4/Makefile: New file.
4687
1c0d11bc
AS
46882014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4689
4690 * math/gen-libm-test.pl ($srcdir): New variable.
4691 ($auto_input): Use it.
4692
af37a8a3
SP
46932014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4694
d7b00f98
SP
4695 [BZ #16506]
4696 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4697 access beyond array bounds when parsing netgroups file.
4698
af37a8a3
SP
4699 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4700 the old buffer before realloc.
4701
0c00f062
AM
47022014-01-27 Allan McRae <allan@archlinux.org>
4703
4704 * po/fr.po: Update French translation from translation project.
4705
7d69a1b0
KK
47062014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4707
4708 * sysdeps/sh/libm-test-ulps: Regenerate.
4709
6e697ff7
DM
47102014-01-24 David S. Miller <davem@davemloft.net>
4711
4712 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4713
9cadb35c
KK
47142014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4715
4716 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4717 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4718
5d41dadf
SP
47192013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4720
4721 [BZ #16474]
4722 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4723 string pointers after reallocation.
4724
0bad441c
KK
47252014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4726
4727 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4728 __SH4A__ instead of __SH_FPU_ANY__.
4729
7007c661
KK
47302014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4731
4732 * sysdeps/sh/fpu_control.h: New file.
4733 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4734 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4735 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4736 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4737 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4738 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4739 * sysdeps/sh/sys/ucontext.h: Remove.
4740 * sysdeps/sh/sys: Remove directory.
4741
0f0c35e4
AK
47422014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4743
4744 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4745 s390/sys/ucontext.h.
4746 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4747 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4748
4959e284
L
47492014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4750
4751 [BZ #15605]
4752 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4753
d98720e0
AZ
47542014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4755
4756 [BZ#16431]
4757 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4758 Adjust the vDSO correctly for internal calls.
4759 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4760
91cbd0bc
AM
47612014-01-20 Allan McRae <allan@archlinux.org>
4762
4763 * po/ca.po: Update Catalan translation from translation project.
4764
7a02cfad
MF
47652014-01-16 Mike Frysinger <vapier@gentoo.org>
4766
4767 * sysdeps/s390/sotruss-lib.c: New file.
4768
736c304a
AZ
47692014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4770
4771 [BZ#16430]
6e077ee5 4772 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4773 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4774 local calls issues by not having a PLT stub required for IFUNC calls.
4775 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4776
94d0cea0
JM
47772014-01-16 Joseph Myers <joseph@codesourcery.com>
4778
4779 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4780 * math/test-fpucw-static.c: Likewise.
4781
980cb518
SP
47822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4783
4784 [BZ #16453]
4785 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4786
2393fc01
AZ
47872014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4788
4789 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4790 implementation for powerpc.
4791
d359bcc2
OB
47922014-01-15 Ondřej Bílka <neleai@seznam.cz>
4793
4794 [BZ #14782]
4795 * sysdeps/posix/system.c (__libc_system): Do not enable
4796 asynchronous cancellation.
4797
7beb48cb
AK
47982014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4799
4800 [BZ #16427]
4801 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4802 handling only for numbers special also in the IEEE case.
4803
c20d5bf5
AK
48042014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4805
4806 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4807
e83bd4ee
AM
48082014-01-11 Allan McRae <allan@archlinux.org>
4809
76d0ea69
AM
4810 * po/bg.po: Update Bulgarian translation from translation project.
4811
e83bd4ee
AM
4812 * po/de.po: Update German translation from translation project.
4813
bc2ba20a
RM
48142014-01-10 Roland McGrath <roland@hack.frob.com>
4815
4816 * sysdeps/generic/gcc-compat.h: New file.
4817
649ecea2
SP
48182014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4819
4820 * benchtests/asin-inputs: Correct slow inputs.
4821 * benchtests/acos-inputs: Likewise.
4822
1b19c006
AM
48232014-01-10 Allan McRae <allan@archlinux.org>
4824
a46dab08
AM
4825 * po:sv.po: Update Swedish translation from translation project.
4826
421df74a
AM
4827 * po/vi.po: Update Vietnamese translation from translation project.
4828
d61c51a7
AM
4829 * po/eo.po: Update Esperanto translation from translation project.
4830
0339a319
AM
4831 * po/cs.po: Update Czech translation from translation project.
4832
94ad3e99
AM
4833 * po/nl.po: Update Dutch translation from translation project.
4834
e349ca71
AM
4835 * po/pl.po: Update Polish translation from translation project.
4836
ddf930c1
AM
4837 * po/ru.po: Update Russian translation from translation project.
4838
1b19c006
AM
4839 * po/uk.po: Update Ukrainian translation from translation project.
4840
9f236c49
BM
48412014-01-08 Brooks Moses <bmoses@google.com>
4842
4843 * elf/dl-load.c: Fix comment typo.
4844
cd6701cf
CD
48452014-01-08 Carlos O'Donell <carlos@redhat.com>
4846
4847 * po/header.pot: Rename to...
4848 * po/pot.header: ... this.
4849 * po/Makefile: Use pot.header.
4850
66671c84
YK
48512014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4852 Maxim Kuvyrkov <maxim@kugelworks.com>
4853
4854 [BZ #16394]
cd6701cf
CD
4855 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4856 SRC and DEST against LEN.
66671c84 4857
38f34581
AZ
48582014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4859
4860 [BZ #16414]
4861 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4862 implementation.
4863 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4864
48652014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4866
4867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4868
4c327f2a
JM
48692014-01-08 Joseph Myers <joseph@codesourcery.com>
4870
4871 [BZ #16408]
4872 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4873 for large positive arguments.
4874
b821f414
JM
48752014-01-07 Joseph Myers <joseph@codesourcery.com>
4876
1f0f2067
JM
4877 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4878
a5a326f6
JM
4879 * math/auto-libm-test-in: Mark various tests with
4880 xfail-rounding:ldbl-128ibm.
4881 * math/auto-libm-test-out: Regenerated.
4882
b821f414
JM
4883 [BZ #16407]
4884 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4885 Increase overflow threshold.
4886
94c8a4bc
OB
48872014-01-07 Ondřej Bílka <neleai@seznam.cz>
4888
4889 [BZ #14286]
4890 * stdio-common/vfprintf.c: Check for integer overflow.
4891
87ded0c3
AK
48922014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4893
4894 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4895 the first argument and return value of __tls_get_addr_internal.
4896
c5eebdd0
AK
48972014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4898
4899 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4900 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4901
05d138ef
AK
49022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4903
4904 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4905 * sysdeps/s390/rtld-global-offsets.sym: New file.
4906 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4907 GLIBC_2.19 symbol.
4908 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4909 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4910 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4911 ... this.
4912 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4913 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4914 ... this.
4915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4916 Regenerate.
4917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4918 Regenerate.
4919 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4920 halfs of GPRs for high_gprs contexts.
4921 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4922 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4923 field.
4924 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4925 uc_flags field.
4926 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4927 64 bit versions:
4928 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4929 for high GPRs (uc_high_gprs) and for future extensions
4930 (__reserved).
4931 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4932 for future extensions (__reserved).
4933 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4934 64 bit versions:
4935 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4936 SC_HIGHGPRS offset definition.
4937 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4938 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4939
93a45ff1
AK
49402014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4941
4942 * Versions.def: Add GLIBC_2.19 for libpthread.
4943 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4944 siglongjmp for libpthread with GLIBC_2.19 symver.
4945 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4946 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4947 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4948 * sysdeps/s390/__longjmp.c: New file.
4949 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4950 * sysdeps/s390/longjmp.c: New file.
4951 * sysdeps/s390/setjmp.S: New file.
4952 * sysdeps/s390/sigjmp.S: New file.
4953 * sysdeps/s390/v1-longjmp.c: New file.
4954 * sysdeps/s390/v1-setjmp.h: New file.
4955 * sysdeps/s390/v1-sigjmp.c: New file.
4956 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4957 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4958 GLIBC_2.19 version.
4959 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4960 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4961 versioned symbols for ____longjmp_chk.
4962 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4963 Likewise.
4964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4965 Regenerate.
4966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4967 Regenerate.
4968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4969 Regenerate.
4970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4971 Regenerate.
4972 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4973 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4974 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4975 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4976 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4977 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4978 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4979 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4980 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4981 * sysdeps/s390/rtld-__longjmp.c: New file.
4982 * sysdeps/s390/rtld-setjmp.S: New file.
4983
eb3fc44b
JM
49842014-01-06 Joseph Myers <joseph@codesourcery.com>
4985
4986 [BZ #16400]
4987 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4988 Return -__logl (x) for small positive arguments without evaluating
4989 a polynomial.
4990
9341dde4
MF
49912014-01-06 Mike Frysinger <vapier@gentoo.org>
4992
4993 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4994 Rename to ...
4995 (__ptrace_peeksiginfo_args): ... this.
4996 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4997 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4998 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4999
4cff0293
AM
50002014-01-06 Allan McRae <allan@archlinux.org>
5001
5002 * inet/netinet/in.h: Fix typo in comment.
5003
75595dcf
AJ
50042014-01-05 Andreas Jaeger <aj@suse.de>
5005
5006 * sysdeps/i386/fpu/libm-test-ulps: Update.
5007
79c1e109
AM
50082014-01-05 Allan McRae <allan@archlinux.org>
5009
dd804818
AM
5010 * po/libc.pot: Regenerated.
5011
79c1e109
AM
5012 * malloc/memusagestat.c: Fix gettext call formatting.
5013
0c813d1f
SK
50142014-01-04 Sami Kerola <kerolasa@iki.fi>
5015
5016 * nscd/nscd.c: Improve usage() output.
5017
20f4a8d9
MF
50182014-01-04 Mike Frysinger <vapier@gentoo.org>
5019
5020 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5021 * sysdeps/unix/sysv/linux/configure: Regenerated.
5022 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5023 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5024
22562bb2
JM
50252014-01-03 Joseph Myers <joseph@codesourcery.com>
5026
5027 [BZ #16390]
5028 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5029 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5030
d7ad2d9b
AZ
50312014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5032
5033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5034 extra tokens at end of #undef directive.
5035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5036 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5037 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5038
7dd009d8
JM
50392014-01-03 Joseph Myers <joseph@codesourcery.com>
5040
24db925a
JM
5041 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5042
7dd009d8
JM
5043 * math/auto-libm-test-in: Mark various tests with
5044 xfail-rounding:ldbl-128ibm.
5045 * math/auto-libm-test-out: Regenerated.
5046
396e3ecf
JM
50472014-01-02 Joseph Myers <joseph@codesourcery.com>
5048
819e5d50
JM
5049 [BZ #16386]
5050 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5051 numbers with subnormal high part when calculating exponent.
5052
90b6a1e5
JM
5053 [BZ #16385]
5054 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5055 fabs.
5056
396e3ecf
JM
5057 [BZ #16384]
5058 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5059 M_LN2l.
5060 (__ieee754_acoshl): Use __log1pl not __log1p.
5061
6c8dbf00
OB
50622013-01-02 Ondřej Bílka <neleai@seznam.cz>
5063
5064 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5065 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5066 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5067 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5068 Convert to GNU style.
5069 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5070 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5071 memalign_check, __malloc_set_state): Likewise.
5072 * malloc/mallocbug.c (main): Likewise.
5073 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5074 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5075 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5076 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5077 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5078 * malloc/malloc.h: Likewise.
5079 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5080 memalignhook, reallochook, mabort): Likewise.
5081 * malloc/mcheck.h: Likewise.
5082 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5083 mmap64, mremap, munmap, dest): Likewise.
5084 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5085 * malloc/morecore.c (__default_morecore): Likewise.
5086 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5087 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5088 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5089 print_and_abort): Likewise.
5090 * malloc/obstack.h: Likewise.
5091 * malloc/set-freeres.c (__libc_freeres): Likewise.
5092 * malloc/tst-mallocstate.c (main): Likewise.
5093 * malloc/tst-mtrace.c (main): Likewise.
5094 * malloc/tst-realloc.c (do_test): Likewise.
5095
d4124212
SP
50962013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5097
9a3c6a6f
SP
5098 [BZ #16366]
5099 * nscd/netgroupcache.c (do_notfound): New function.
5100 (addgetnetgrentX): Use it.
5101
d4124212
SP
5102 [BZ # 16365]
5103 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5104 NSS_STATUS_NOTFOUND.
5105
97b9a009
JM
51062014-01-01 Joseph Myers <joseph@codesourcery.com>
5107
5108 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5110
d4697bc9
AM
51112014-01-01 Allan McRae <allan@archlinux.org>
5112
ddb3687f
AM
5113 * scripts/update-copyrights: Update configure input file suffix.
5114
88726d48
AM
5115 * NEWS: Update copyright year.
5116 * catgets/gencat.c: Likewise.
5117 * csu/version.c: Likewise.
5118 * debug/catchsegv.sh: Likewise.
5119 * debug/pcprofiledump.c: Likewise.
5120 * debug/xtrace.sh: Likewise.
5121 * elf/ldconfig.c: Likewise.
5122 * elf/ldd.bash.in: Likewise.
5123 * elf/pldd.c: Likewise.
5124 * elf/sotruss.ksh: Likewise.
5125 * elf/sprof.c: Likewise.
5126 * iconv/iconv_prog.c: Likewise.
5127 * iconv/iconvconfig.c: Likewise.
5128 * locale/programs/locale.c: Likewise.
5129 * locale/programs/localedef.c: Likewise.
5130 * login/programs/pt_chown.c: Likewise.
5131 * malloc/memusage.sh: Likewise.
5132 * malloc/memusagestat.c: Likewise.
5133 * malloc/mtrace.pl: Likewise.
5134 * manual/libc.texinfo: Likewise.
5135 * nscd/nscd.c: Likewise.
5136 * nss/getent.c: Likewise.
5137 * nss/makedb.c: Likewise.
5138 * posix/getconf.c: Likewise.
5139 * scripts/test-installation.pl: Likewise.
5140
d4697bc9
AM
5141 * All files with FSF copyright notices: Update copyright dates
5142 using scripts/update-copyrights.
5143 * intl/plural.c: Regenerated.
5144 * locale/programs/charmap-kw.h: Likewise.
5145 * locale/programs/locfile-kw.h: Likewise.
5146
c8590f9d
MF
51472013-12-31 Mike Frysinger <vapier@gentoo.org>
5148
5149 * sysdeps/unix/sysv/linux/configure: Regenerated.
5150 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5151 the linux/fanotify.h header.
5152 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5153 HAVE_LINUX_FANOTIFY_H is defined.
5154
b19221b9
SP
51552013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5156
dd1d85e5
SP
5157 * benchtests/cos-inputs: New inputs.
5158 * benchtests/sin-inputs: Likewise.
5159
1acbb90f
SP
5160 * benchtests/atan-inputs: New inputs. Fix name of multiple
5161 precision fallback inputs.
5162
4c012ed3
SP
5163 * benchtests/atanh-inputs: New inputs.
5164 * benchtests/tanh-inputs: Likewise.
5165
eff98324
SP
5166 * benchtests/acosh-inputs: New inputs.
5167 * benchtests/asinh-inputs: Likewise.
5168
ce641152
SP
5169 * benchtests/cosh-inputs: New inputs.
5170 * benchtests/sinh-inputs: Likewise.
5171
b19221b9
SP
5172 * benchtests/acos-inputs: Add more inputs.
5173 * benchtests/asin-inputs: Likewise.
5174
030a4976 51752013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5176
030a4976 5177 [BZ #16375]
9dcc8f11
VS
5178 * manual/arith.texi: Fix spelling.
5179 * manual/charset.texi: Likewise.
5180 * manual/errno.texi: Likewise.
5181 * manual/filesys.texi: Likewise.
5182 * manual/lang.texi: Likewise.
5183 * manual/llio.texi: Likewise.
5184 * manual/locale.texi: Likewise.
5185 * manual/message.texi: Likewise.
5186 * manual/resource.texi: Likewise.
5187 * manual/search.texi: Likewise.
5188 * manual/setjmp.texi: Likewise.
5189 * manual/stdio.texi: Likewise.
5190 * manual/string.texi: Likewise.
5191 * manual/sysinfo.texi: Likewise.
5192 * manual/time.texi: Likewise.
5193
11520a57
CD
51942013-12-27 Carlos O'Donell <carlos@redhat.com>
5195
5196 * po/sl.po: New file.
5197
471103ae
MF
51982013-12-27 Mike Frysinger <vapier@gentoo.org>
5199
5200 * .gitignore: Add core/.gdbinit/.gdb_history.
5201
6c9642ed
AM
52022013-12-27 Allan McRae <allan@archlinux.org>
5203
5204 [BZ #16369]
5205 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5206 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5207
3f637079
BM
52082013-12-24 Brooks Moses <bmoses@google.com>
5209
5210 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5211 all compilers that claim C++98 compliance, not just GCC.
5212 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5213 Likewise.
5214
abc26e99
MK
52152013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5216
5217 * NEWS: Restore accidentally deleted bug-fix entries.
5218
362b47fe
MK
52192013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5220 Ondřej Bílka <neleai@seznam.cz>
5221
5222 [BZ #15073]
5223 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5224 have_lock.
362b47fe 5225
b9bcbbcb
OB
52262013-12-23 Ondřej Bílka <neleai@seznam.cz>
5227
5228 [BZ #12986]
5229 * manual/stdio.texi (String Input Conversions): Clarify that character
5230 classes are not supported.
5231
fb55fcd2
AZ
52322013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5233
5234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5235
ef7344f0
JM
52362013-12-22 Joseph Myers <joseph@codesourcery.com>
5237
4f40e4b3
JM
5238 [BZ #16337]
5239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5240 Calculate results for small negative arguments directly rather
5241 than using reflection formula with special underflow handling.
5242
ef7344f0
JM
5243 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5244 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5245 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5246 (fchflags): Likewise.
5247 (revoke): Likewise.
5248 (setlogin): Likewise.
5249 (sigaltstack): Likewise.
5250 (wait4): Likewise.
5251 (sigblock): Remove.
5252 (sigsetmask): Likewise.
5253 (wait3): Likewise.
5254 (waitpid): Likewise.
5255 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5256 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5257 file.
5258 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5259 * sysdeps/unix/bsd/Makefile: ... here.
5260 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5261 * sysdeps/unix/bsd/Versions: ... here.
5262 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5263 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5264 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5265 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5266 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5267 * sysdeps/unix/bsd/sigblock.c: ... here.
5268 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5269 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5270 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5271 * sysdeps/unix/bsd/sigvec.c: ... here.
5272 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5273 * sysdeps/unix/bsd/tcdrain.c: ... here.
5274 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5275 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5276 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5277 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5278 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5279 * sysdeps/unix/bsd/wait.c: ... here.
5280 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5281 * sysdeps/unix/bsd/wait3.c: ... here.
5282 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5283 * sysdeps/unix/bsd/waitpid.c: ... here.
5284
5b0626b9
JM
52852013-12-21 Joseph Myers <joseph@codesourcery.com>
5286
5287 [BZ #16356]
5288 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5289 round-to-nearest for [!USE_AS_EXPM1L].
5290 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5291 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5292 more tests of exp and exp10. Expect some exp10 tests to miss
5293 exceptions or fail in directed rounding modes.
5294 * math/auto-libm-test-out: Regenerated.
5295 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5296 (exp10_test_tonearest): New function.
5297 (exp10_towardzero_test_data): New array.
5298 (exp10_test_towardzero): New function.
5299 (exp10_downward_test_data): New array.
5300 (exp10_test_downward): New function.
5301 (exp10_upward_test_data): New array.
5302 (exp10_test_upward): New function.
5303 (main): Call the new functions.
5304 * sysdeps/i386/fpu/libm-test-ulps: Update.
5305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5306
7fda5682
JM
53072013-12-20 Joseph Myers <joseph@codesourcery.com>
5308
31e3a405
JM
5309 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5310 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5311 * math/auto-libm-test-out: Regenerated.
5312 * math/libm-test.inc (acosh_test_data): Add more tests.
5313 (atanh_test_data): Likewise.
5314 (ceil_test_data): Likewise.
5315 (copysign_test_data): Likewise.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
85bff96a
JM
5319 * timezone/checktab.awk: Update from tzcode 2013i.
5320 * timezone/private.h: Likewise.
5321 * timezone/scheck.c: Likewise.
5322 * timezone/tzfile.h: Likewise.
5323 * timezone/tzselect.ksh: Likewise.
5324 * timezone/zdump.c: Likewise.
5325 * timezone/zic.c: Likewise.
5326
b7867a3b
JM
5327 * math/auto-libm-test-in: Add tests of cpow.
5328 * math/auto-libm-test-out: Regenerated.
5329 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5330 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5331 mpc_cc_c.
5332 (func_calc_desc): Add mpc_cc_c union field.
5333 (test_functions): Add cpow.
5334 (special_fill_2pi): New function.
5335 (special_real_inputs): Add 2pi.
5336 (calc_generic_results): Handle mpc_cc_c.
5337 * sysdeps/i386/fpu/libm-test-ulps: Update.
5338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5339
7fda5682
JM
5340 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5341 csqrt, ctan and ctanh.
5342 * math/auto-libm-test-out: Regenerated.
5343 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5344 (TEST_COND_x86): Likewise.
5345 (ccos_test_data): Use AUTO_TESTS_c_c.
5346 (ccosh_test_data): Likewise.
5347 (cexp_test_data): Likewise.
5348 (clog_test_data): Likewise.
5349 (csqrt_test_data): Likewise.
5350 (ctan_test_data): Likewise.
5351 (ctan_tonearest_test_data): Likewise.
5352 (ctan_towardzero_test_data): Likewise.
5353 (ctan_downward_test_data): Likewise.
5354 (ctan_upward_test_data): Likewise.
5355 (ctanh_test_data): Likewise.
5356 (ctanh_tonearest_test_data): Likewise.
5357 (ctanh_towardzero_test_data): Likewise.
5358 (ctanh_downward_test_data): Likewise.
5359 (ctanh_upward_test_data): Likewise.
5360 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5361 mpc_c_c.
5362 (func_calc_desc): Add mpc_c_c union field.
5363 (FUNC_mpc_c_c): New macro.
5364 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5365 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5366 ctanh.
5367 (special_fill_min_subnorm_p120): New function.
5368 (special_real_inputs): Add min_subnorm_p120.
5369 (calc_generic_results): Handle mpc_c_c.
5370 * sysdeps/i386/fpu/libm-test-ulps: Update.
5371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5372
5ff8d60e
SP
53732013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5374
392dd2de
SP
5375 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5376 do_sin_slow): New functions.
5377 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5378 cslow2, csloww1, csloww2): Use the new functions.
5379
84ba214c
SP
5380 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5381 Use M to change sign of result instead of X. Assume X is
5382 positive.
5383 (csloww1): Likewise.
5384 (__sin): Adjust.
5385 (__cos): Adjust.
5386
975195e4
SP
5387 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5388 arguments A and DA.
5389 (__sin): Adjust.
5390 (__cos): Likewise.
5391
5ff8d60e
SP
5392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5393 (__cos): Likewise.
5394 (sloww1): Don't adjust sign of DX.
5395 (csloww1): Likewise.
5396 (sloww2): Use X directly and don't adjust sign of DX.
5397 (csloww2): Likewise.
5398
eb983568
JM
53992013-12-19 Joseph Myers <joseph@codesourcery.com>
5400
64a17f1a
JM
5401 * math/auto-libm-test-in: Add tests of cabs and carg.
5402 * math/auto-libm-test-out: Regenerated.
5403 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5404 (carg_test_data): Likewise.
5405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5406 mpc_c_f.
5407 (func_calc_desc): Add mpc_c_f union field.
5408 (test_functions): Add cabs and carg.
5409 (calc_generic_results): Handle mpc_c_f.
5410
eb983568
JM
5411 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5412 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5413 as a macro and a compat symbol.
5414 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5415 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5416 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5417 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5418 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5420 not use .hidden.
5421 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5422 Likewise.
5423 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5424 Likewise.
5425 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5426 Likewise.
5427 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5428 Likewise.
5429 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5430 Likewise.
5431 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5432 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5433 from GLIBC_2.3.2.
5434
6eeb678a
AZ
54352013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5436
5437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5438
6f6fc482
JM
54392013-12-19 Joseph Myers <joseph@codesourcery.com>
5440
21fea2e2
JM
5441 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5442 trailing whitespace removed.
5443 * scripts/config.guess: Update to version 2013-11-29.
5444 * scripts/config.sub: Update to version 2013-10-01.
5445
6f6fc482
JM
5446 * math/auto-libm-test-in: Add tests of sincos.
5447 * math/auto-libm-test-out: Regenerated.
5448 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5449 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5450 mpfr_f_11.
5451 (func_calc_desc): Add mpfr_f_11 union field.
5452 (test_functions): Add sincos.
5453 (calc_generic_results): Handle mpfr_f_11.
5454 * sysdeps/i386/fpu/libm-test-ulps: Update.
5455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456
83f5c32d
AS
54572013-12-19 Andreas Schwab <schwab@suse.de>
5458
5459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5460 CALL_MCOUNT.
5461 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5462 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5463 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5464
c688b419
JM
54652013-12-19 Joseph Myers <joseph@codesourcery.com>
5466
335ee092
JM
5467 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5468 * sysdeps/i386/fpu/libm-test-ulps: Update.
5469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5470
f88acd39
JM
5471 [BZ #16293]
5472 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5473 round-to-nearest mode when using frndint.
5474 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5475 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5476 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5477 Likewise.
5478 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5479 sinh test to fail.
5480 * math/auto-libm-test-out: Regenerated.
5481 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5482 (TEST_COND_x86): Likewise.
5483 (expm1_tonearest_test_data): New array.
5484 (expm1_test_tonearest): New function.
5485 (expm1_towardzero_test_data): New array.
5486 (expm1_test_towardzero): New function.
5487 (expm1_downward_test_data): New array.
5488 (expm1_test_downward): New function.
5489 (expm1_upward_test_data): New array.
5490 (expm1_test_upward): New function.
5491 (main): Run the new test functions.
5492 * sysdeps/i386/fpu/libm-test-ulps: Update.
5493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5494
c688b419
JM
5495 * include/features.h: Update comment documenting feature test
5496 macros. Mention _DEFAULT_SOURCE in comment.
5497 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5498 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5499 _BSD_SOURCE and _SVID_SOURCE.
5500 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5501 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5502 !_SVID_SOURCE]: Likewise.
5503 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5504 (__USE_POSIX_IMPLICITLY): Define.
5505 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5506 (_POSIX_SOURCE): Undefine and redefine.
5507 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5508 (_POSIX_C_SOURCE): Likewise.
5509 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5510 (Feature Test Macros): Update documentation of default features.
5511
9f6e964c
RS
55122013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5513
5514 * benchtests/Makefile: Add bench-strtok.
5515 * benchtests/bench-strtok.c: New file: strtok benchtest.
5516
ee0a148a
AM
55172013-12-19 Allan McRae <allan@archlinux.org>
5518
5519 * manual/install.texi: Suppress menu for plain text output.
5520 * INSTALL: Regenerated.
5521
b9ab448f
BM
55222013-12-18 Brooks Moses <bmoses@google.com>
5523
5524 [BZ #15846]
5525 * misc/getauxval.c: Include errno.h.
5526 (__getauxval): Set errno to ENOENT if the requested type is not
5527 found.
5528 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5529 don't declare with __attribute_const__.
5530 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5531 * manual/startup.texi: Document that getauxval sets errno.
5532
23776487
JM
55332013-12-18 Joseph Myers <joseph@codesourcery.com>
5534
f889953b
JM
5535 * math/auto-libm-test-in: Add tests of jn and yn.
5536 * math/auto-libm-test-out: Regenerated.
5537 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5538 (yn_test_data): Likewise.
5539 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5540 mpfr_if_f.
5541 (func_calc_desc): Add mpfr_if_f union field.
5542 (FUNC_mpfr_if_f): New macro.
5543 (test_functions): Add jn and yn.
5544 (calc_generic_results): Assert type of second input for
5545 mpfr_ff_f. Handle mpfr_if_f.
5546 (output_for_one_input_case): Disable all checking for arguments
5547 fitting floating-point types in case of an integer argument.
5548 * sysdeps/i386/fpu/libm-test-ulps: Update.
5549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5550
23776487
JM
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5552 Don't expect fegetround reference in libm.so.
5553
cb756c6d
MS
55542013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5555
5556 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5557 $(config-cflags-nofma).
5558
2dec468f
JM
55592013-12-18 Joseph Myers <joseph@codesourcery.com>
5560
5953eb3a
JM
5561 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5562 * math/auto-libm-test-out: Regenerated.
5563
2dec468f
JM
5564 [BZ #16338]
5565 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5566 to determine exponent and adjust argument to have exponent of -1.
5567 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5568 log2.
5569 * math/auto-libm-test-out: Regenerated.
5570 * sysdeps/i386/fpu/libm-test-ulps: Update.
5571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5572
4d84e6ad
OB
55732013-12-18 Ondřej Bílka <neleai@seznam.cz>
5574
5575 * manual/probes.texi: Remove cases when per-thread arenas are
5576 disabled.
5577
1818483b
AS
55782013-12-18 Andreas Schwab <schwab@suse.de>
5579
5580 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5581 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5582 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5583 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5584 * sysdeps/i386/i686/multiarch/Makefile: Update.
5585 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5586
25de95bf
JM
55872013-12-17 Joseph Myers <joseph@codesourcery.com>
5588
5589 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5590 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5591
674762d9
PE
55922013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5593
ed27ed83 5594 [BZ #15968]
0748546f
PE
5595 Support TZ transition times < 00:00:00.
5596 This is needed for version-3 tz-format files; it supports time
5597 stamps past 2037 for America/Godthab (the only entry in the tz
5598 database for which this change is relevant).
5599 * manual/time.texi (TZ Variable): Document transition times
5600 from -167:59:59 through -00:00:01.
5601 * time/tzset.c (tz_rule): Time of day is now signed.
5602 (__tzset_parse_tz): Parse negative time of day.
5603
4480e934
PE
5604 Document TZ transition times >= 25:00:00.
5605 * manual/time.texi (TZ Variable): Document transition times from
5606 25:00:00 through 167:59:59. These are already supported, and this
5607 support will help with version-3 tz-format files.
5608
69947401
PE
5609 * manual/time.texi (TZ Variable): Modernize North America example
5610 to reflect current (i.e., 2007-and-later) daylight saving rules.
5611
674762d9
PE
5612 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5613
7011c262
JM
56142013-12-17 Joseph Myers <joseph@codesourcery.com>
5615
2fc6557e
JM
5616 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5617 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5620 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5621 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5622 * sysdeps/unix/bsd/clock.c: Likewise.
5623 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5624 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5625 * sysdeps/unix/bsd/init-posix.c: Likewise.
5626 * sysdeps/unix/bsd/poll.c: Likewise.
5627 * sysdeps/unix/bsd/ptsname.c: Likewise.
5628 * sysdeps/unix/bsd/seekdir.c: Likewise.
5629 * sysdeps/unix/bsd/setegid.c: Likewise.
5630 * sysdeps/unix/bsd/seteuid.c: Likewise.
5631 * sysdeps/unix/bsd/setgid.c: Likewise.
5632 * sysdeps/unix/bsd/setrgid.c: Likewise.
5633 * sysdeps/unix/bsd/setruid.c: Likewise.
5634 * sysdeps/unix/bsd/setsid.c: Likewise.
5635 * sysdeps/unix/bsd/setuid.c: Likewise.
5636 * sysdeps/unix/bsd/sigaction.c: Likewise.
5637 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5638 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5639 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5640 * sysdeps/unix/bsd/telldir.c: Likewise.
5641 * sysdeps/unix/bsd/times.c: Likewise.
5642 * sysdeps/unix/bsd/usleep.c: Likewise.
5643
029c7b25
JM
5644 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5645 ($(objpfx)libbsd-compat.a): Remove rule.
5646
7011c262
JM
5647 * include/features.h (__FAVOR_BSD): Do not define.
5648 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5649 features conflicting with POSIX.
5650 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5651 (_BSD_SOURCE): Remove description of not being a subset of other
5652 feature test macros.
5653 * manual/job.texi (getpgrp): Do not document BSD version.
5654 (getpgid): Do not document by reference to BSD getpgrp.
5655 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5656 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5657 * signal/signal.h [__FAVOR_BSD]: Likewise.
5658 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5659 instead of making contents conditional on [__FAVOR_BSD].
5660 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5661
affb6f78
AZ
56622013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5663
5664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5665
c88769dd
JM
56662013-12-17 Joseph Myers <joseph@codesourcery.com>
5667
6432a540
JM
5668 [BZ #16314]
5669 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5670 values below 2**-450, not 2**-500.
5671 * math/auto-libm-test-in: Don't allow spurious underflow from
5672 hypot.
5673 * math/auto-libm-test-out: Regenerated.
5674
c88769dd
JM
5675 [BZ #16316]
5676 [BZ #16330]
5677 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5678 values of ha and hb and sort them after adjusting subnormal
5679 arguments.
5680 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5681 Likewise.
5682 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5683 values of ea and eb and sort them after adjusting subnormal
5684 arguments.
5685 * math/auto-libm-test-in: Do not expect some hypot tests of
5686 subnormals to fail. Add more hypot tests.
5687 * math/auto-libm-test-out: Regenerated.
5688
29618f6b
KK
56892013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5690
5691 [BZ #13304]
5692 * sysdeps/sh/s_fma.c: New file.
5693 * sysdeps/sh/s_fmaf.c: New file.
5694 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5695 version.
5696 * sysdeps/sh/Implies: Add sh/soft-fp.
5697
eacfdfbf
RM
56982013-12-16 Roland McGrath <roland@hack.frob.com>
5699
5700 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5701 level of indirection to members `objname', `errstring', `malloced'.
5702 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5703 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5704 it as the __longjmp argument (just pass 1 instead).
5705 (_dl_catch_error): Initialize C with argument pointers and address of
5706 volatile local ERRCODE rather than copying values out of C at return.
5707
ff362e5b
JM
57082013-12-16 Joseph Myers <joseph@codesourcery.com>
5709
5710 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5711 * math/auto-libm-test-out: Regenerated.
5712 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5713 (hypot_test_data): Likewise.
5714 (pow_test_data): Likewise.
5715 (pow_tonearest_test_data): Likewise.
5716 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5717 mpfr_ff_f.
5718 (func_calc_desc): Add mpfr_ff_f union field.
5719 (FUNC_mpfr_ff_f): New macro.
5720 (test_functions): Add atan2, hypot and pow.
5721 (special_fill_min): New function.
5722 (special_fill_minus_min): Likewise.
5723 (special_fill_min_subnorm): Likewise.
5724 (special_fill_minus_min_subnorm): Likewise.
5725 (special_real_inputs): Add min, -min, min_subnorm and
5726 -min_subnorm.
5727 (calc_generic_results): Handle mpfr_ff_f.
5728 * sysdeps/i386/fpu/libm-test-ulps: Update.
5729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5730
5764c27f
WN
57312013-12-16 Will Newton <will.newton@linaro.org>
5732
5733 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5734 (Aligned Memory Blocks): Add documentation for aligned_alloc
5735 and suggest it as an alternative to posix_memalign.
5736 (Hooks for Malloc): Document __memalign_hook is also called
5737 for aligned_alloc. (Summary of Malloc): Add summary for
5738 aligned alloc. Document __memalign_hook is also called
5739 for aligned_alloc.
5740
0a096e44
WN
57412013-12-16 Will Newton <will.newton@linaro.org>
5742
5743 * manual/memory.texi (Malloc Examples): Clarify default
5744 alignment documentation. Suggest posix_memalign rather
5745 than memalign or valloc.
5746 (Aligned Memory Blocks): Remove suggestion to use memalign
5747 or valloc. Remove obsolete comment about BSD.
5748 Document memalign errno values and mark the function obsolete.
5749 Document posix_memalign returned error codes. Mark valloc
5750 as obsolete. (Hooks for Malloc): __memalign_hook is also
5751 called for posix_memalign and valloc.
5752 (Summary of Malloc): Add posix_memalign to function summary.
5753 __memalign_hook is also called for posix_memalign and valloc.
5754
8d561986
SP
57552013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5756
5757 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5758 TAYLOR_SIN.
5759 (__sin): Adjust.
5760 (__cos): Likewise.
5761 (sloww): Use mynumber union. Expand ternary operator into
5762 if-else statements.
5763 (cslow): use mynumber union.
5764
73616a74
AM
57652013-12-16 Allan McRae <allan@archlinux.org>
5766
9e8ac24b
AM
5767 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5768 * configure: Regenerated.
5769
6f8e37eb
AM
5770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5771
8894bad3
AM
5772 [BZ #14120]
5773 * configure.ac: Added --enable-maintainer-mode. Check for
5774 autoconf when enabled.
5775 * configure: Regenerated.
5776
73616a74
AM
5777 * nscd/nscd.service: New file.
5778 * nscd/nscd.tmpfiles: New file.
5779
584b18eb
OB
57802013-12-14 Ondřej Bílka <neleai@seznam.cz>
5781
5782 [BZ #12100]
5783 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5784 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5785 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5786 (strstr): Add __strstr_sse2_unaligned ifunc.
5787 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5788 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5789 (strcasestr): Remove __strcasestr_sse42 ifunc.
5790 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5793
8a5c7897
KK
57942013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5795
5796 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5797 * sysdeps/sh/bits/fenv.h: ... here.
5798 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5799
fd712ef3
AZ
58002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801
5802 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5803
42fcb46c
AZ
58042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805
5806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5807 hypotf multiarch implementations.
5808 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5811 multiarch hypot for PPC64.
5812 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5813 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5815 multiarch hypotf for PPC64.
5816
83efded4
AZ
58172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5818
5819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5820 modff multiarch implementations.
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5824 multiarch modf for PPC64.
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5828 multiarch modff for PPC64.
5829
43e246d2
AZ
58302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5833 and logl multiarch implementations.
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5837 multiarch logb for PPC64.
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5841 multiarch logb for PPC64.
5842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5845 multiarch logb for PPC64.
5846
8fdad123
AZ
58472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5848
5849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5850 isinff multiarch implementation.
5851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5852 file.
5853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5855 multiarch isinf for PPC64.
5856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5857 file.
5858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5859 multiarch isinff for PPC64.
5860
1481d706
AZ
58612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5862
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5864 finitef multiarch implementation.
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5866 file.
5867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5869 multiarch finite for PPC64.
5870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5871 file.
5872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5873 multiarch finitef for PPC64.
5874
5ccd5fc8
AZ
58752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5876
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5878 lrint multiarch implementation.
5879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5880 file.
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5883 multiarch llrint for PPC64.
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5885 multiarch lrint for PPC64.
5886
2568f3fa
AZ
58872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5890 copysignf multiarch implementation.
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5892 file.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5894 file.
5895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5896 multiarch copysign for PPC64.
5897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5898 multiarch copysignf for PPC64.
5899
1cb341fd
AZ
59002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5901
5902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5903 multiarch implementation.
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5905 file.
5906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5907 file.
5908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5909 file.
5910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5911 file.
5912 multiarch llround for PPC64.
5913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5914 multiarch trunc for PPC64.
5915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5916 multiarch truncf for PPC64.
5917
59a3e194
AZ
59182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5919
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5921 multiarch implementation.
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5923 file.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5925 file.
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5927 file.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5929 file.
5930 multiarch llround for PPC64.
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5932 multiarch round for PPC64.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5934 multiarch roundf for PPC64.
5935
357fd3b4
AZ
59362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5937
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5939 multiarch implementation.
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5941 file.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5943 file.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5945 file.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5947 file.
5948 multiarch llround for PPC64.
5949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5950 multiarch floor for PPC64.
5951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5952 multiarch floorf for PPC64.
5953
96770f12
AZ
59542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5955
5956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5957 multiarch implementation.
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5959 file.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5961 file.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5963 file.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5965 file.
5966 multiarch llround for PPC64.
5967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5968 multiarch ceil for PPC64.
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5970 multiarch ceilf for PPC64.
5971
c3627f6e
AZ
59722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5975 multiarch implementation.
5976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5977 file.
5978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5979 file.
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5981 file.
5982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5983 multiarch llround for PPC64.
5984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5985 multiarch lround for PPC64.
5986
b2284ad7
AZ
59872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5988
5989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5990 multiarch implementation.
5991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5994 file.
5995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5998 multiarch isnan for PPC64.
5999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6000 multiarch isnanf for PPC64.
6001
69bbc63d
AZ
60022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6003
6004 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6005 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6006 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6007 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6008 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6010
c24517c9
AZ
60112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012
6013 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6014 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6015 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6017
a52374e8
AZ
60182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6019
6020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6021 multiarch implementations.
6022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6023 (__libc_ifunc_impl_list): Likewise.
6024 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6025 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6026 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6027 multiarch stpcpy for PPC64.
6028
7f5ec113
AZ
60292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6030
6031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6032 multiarch implementations.
6033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6034 (__libc_ifunc_impl_list): Likewise.
6035 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6036 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6037 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6038 multiarch strcpy for PPC64.
6039
e28bcd42
AZ
60402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6041
6042 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6043 redefine function name.
6044 (_wordcopy_fwd_dest_aligned): Likewise.
6045 (_wordcopy_bwd_aligned): Likewise.
6046 (_wordcopy_bwd_dest_aligned): Likewise.
6047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6048 multiarch implementations.
6049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6050 (__libc_ifunc_impl_list): Likewise.
6051 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6053 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6054 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6055 multiarch wcscpy for PPC64.
6056
92cacfce
AZ
60572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6058
6059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6060 multiarch implementations.
6061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6062 (__libc_ifunc_impl_list): Likewise.
6063 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6065 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6066 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6067 multiarch wcscpy for PPC64.
6068
7b714620
AZ
60692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6070
6071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6072 multiarch implementations.
6073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6074 (__libc_ifunc_impl_list): Likewise.
6075 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6076 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6077 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6078 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6079 multiarch wcsrchr for PPC64.
6080
16fd2ae3
AZ
60812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6082
6083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6084 multiarch implementations.
6085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6086 (__libc_ifunc_impl_list): Likewise.
6087 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6088 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6089 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6090 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6091 multiarch wcschr for PPC64.
6092
9ee2969b
AZ
60932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094
6095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6096 multiarch implementations.
6097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6098 (__libc_ifunc_impl_list): Likewise.
6099 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6100 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6102 multiarch strchrnul for PPC64.
6103
372dc060
AZ
61042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6105
6106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6107 implementations.
6108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6109 (__libc_ifunc_impl_list): Likewise.
6110 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6111 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6112 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6113 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6114 strchr for PPC64.
6115
24c2c3b9
AZ
61162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6117
6118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6119 implementations.
6120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6121 (__libc_ifunc_impl_list): Likewise.
6122 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6123 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6124 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6125 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6126 strncmp for PPC64.
6127
1c92d9a0
AZ
61282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6129
6130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6131 multiarch implementations.
6132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6133 (__libc_ifunc_impl_list): Likewise.
6134 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6135 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6136 strncasecmp for PPC64.
6137 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6139 multiarch strncasecmp_l for PPC64.
6140
17de3ee3
AZ
61412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6142
6143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6144 multiarch implementations.
6145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6146 (__libc_ifunc_impl_list): Likewise.
6147 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6148 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6149 multiarch strcasecmp for PPC64.
6150 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6151 file.
6152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6153 multiarch strcasecmp_l for PPC64.
6154
62982bf9
AZ
61552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6156
6157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6158 implementations.
6159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6160 (__libc_ifunc_impl_list): Likewise.
6161 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6162 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6163 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6164 strnlen for PPC64.
6165
a65f4904
AZ
61662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6167
6168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6169 implementations.
6170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6171 (__libc_ifunc_impl_list): Likewise.
6172 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6173 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6174 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6175 strlen for PPC64.
6176
1fd005ad
AZ
61772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178
6179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6180 implementations.
6181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6182 (__libc_ifunc_impl_list): Likewise.
6183 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6184 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6185 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6186 rawmemrchr for PPC64.
6187
cd05ba91
AZ
61882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6189
6190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6191 implementation.
6192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6193 (__libc_ifunc_impl_list): Likewise.
6194 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6195 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6196 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6197 memrchr for PPC64.
6198
870f8676
AZ
61992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6200
6201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6202 implementation.
6203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6204 (__libc_ifunc_impl_list): Likewise.
6205 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6206 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6207 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6208 memchr for PPC64.
6209
f00be62b
AZ
62102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211
6212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6213 implementation.
6214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6215 (__libc_ifunc_impl_list): Likewise.
6216 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6217 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6218 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6219 mempcpy for PPC64.
6220
8a29a3d0
AZ
62212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6222
6223 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6224 avoid cretion of __bzero symbol.
6225 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6226 Likewise.
6227 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6228 Likewise.
6229 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6230 Likewise.
6231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6232 multiarch implementations.
6233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6234 (__libc_ifunc_impl_list): Likewise.
6235 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6236 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6237 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6238 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6239 bzero for PPC32.
6240 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6241 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6242 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6243 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6244 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6245 memset for PPC64.
6246 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6247
07253fcf
AZ
62482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6249
6250 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6252 implementations.
6253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6254 (__libc_ifunc_impl_list): Likewise.
6255 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6256 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6257 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6258 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6259 memcmp for PPC64.
6260
b5beafbc
AZ
62612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262
6263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6264 multiarch for POWER/PPC64.
6265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6266 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6267 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6268 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6269 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6270 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6271 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6273 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6274 memcpy for PPC64.
6275
5e6a4d4b
AZ
62762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277
6278 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6279 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6280 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6281 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6282 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6283 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6284 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6285 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6286 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6287 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6288 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6289 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6290 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6291 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6292 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6300
ddfab6dc
KK
63012013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6302
6303 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6304
19b5525e
SP
63052013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6306
6307 * benchtests/Makefile (bench): Add exp2 and log2.
6308 (LDLIBS-bench-exp2): Add -lm.
6309 (LDLIBS-bench-log2): Likewise.
6310 * benchtests/exp2-inputs: New inputs file.
6311 * benchtests/log2-inputs: New inputs file.
6312 * benchtests/log-inputs: Add new inputs.
6313 * benchtests/tan-inputs: Likewise.
6314
196f7f5d
SP
63152013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6316
7a74607f
SP
6317 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6318 definition...
6319 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6320 csloww1, csloww2): ... from here.
6321
196f7f5d
SP
6322 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6323 instead of structures.
6324 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6325 (POLYNOMIAL): Likewise.
6326 (TAYLOR_SLOW): Likewise.
6327 (__sin): Likewise.
6328 (__cos): Likewise.
6329 (slow1): Likewise.
6330 (slow2): Likewise.
6331 (sloww): Likewise.
6332 (sloww1); Likewise.
6333 (sloww2): Likewise.
6334 (bsloww1): Likewise.
6335 (bsloww2): Likewise.
6336 (cslow2): Likewise.
6337 (csloww): Likewise.
6338 (csloww1): Likewise.
6339 (csloww2): Likewise.
6340
0dfa665c
OB
63412013-12-10 Ondřej Bílka <neleai@seznam.cz>
6342
6343 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6344 (__malloc_assert, __libc_realloc, __libc_calloc,
6345 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6346 memcpy and memset.
6347 * malloc/hooks.c (realloc_check): Likewise.
6348
5782a80f
OB
63492013-12-10 Ondřej Bílka <neleai@seznam.cz>
6350
6351 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6352 * malloc/arena.c: Remove PER_THREAD conditional.
6353 [!PER_THREAD]: Remove code.
6354 (ptmalloc_unlock_all2): Likewise.
6355 (ptmalloc_init): Likewise.
6356 (_int_new_arena): Likewise.
6357 (arena_get2): Likewise.
6358 * malloc/hooks.c (__malloc_get_state): Likewise.
6359 (__malloc_set_state): Likewise.
6360 * malloc/malloc.c: Likewise.
6361 (struct malloc_state): Likewise.
6362 (struct malloc_par): Likewise.
6363 (__libc_realloc): Likewise.
6364 (__libc_mallopt): Likewise.
6365
aeb95445
AZ
63662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6367
6368 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6369
e8349efd
OB
63702013-12-09 Ondřej Bílka <neleai@seznam.cz>
6371
6372 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6373 macro to a function. Check for zero perturb_byte.
6374 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6375
f3eeb3fc
OB
63762013-12-09 Ondřej Bílka <neleai@seznam.cz>
6377
6378 * malloc/malloc.c: (force_reg): Remove.
6379 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6380 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6381 force_reg by atomic_forced_read.
6382 * malloc/arena.c (ptmalloc_init): Likewise.
6383 * malloc/hooks.c (top_check): Likewise.
6384
be2f9009
AZ
63852013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6386
6387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6388
e7b914bd
MT
63892013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6390
6391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6392
9f0be4f8
JM
63932013-12-08 Joseph Myers <joseph@codesourcery.com>
6394
6395 * math/auto-libm-test-in: Add tests of lgamma.
6396 * math/auto-libm-test-out: Regenerated.
6397 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6398 (M_LOG_2_SQRT_PIl): Likewise.
6399 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6400 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6401 mpfr_f_f1.
6402 (func_calc_desc): Add mpfr_f_f1 union field.
6403 (ARGS1): New macro.
6404 (ARGS2): Likewise.
6405 (ARGS3): Likewise.
6406 (ARGS4): Likewise.
6407 (RET1): Likewise.
6408 (RET2): Likewise.
6409 (CALC): Likewise.
6410 (FUNC): Likewise.
6411 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6412 (test_functions): Add lgamma.
6413 (calc_generic_results): Handle mpfr_f_f1.
6414 * sysdeps/i386/fpu/libm-test-ulps: Update.
6415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6416
24eeafdb
AZ
64172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6418
6419 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6420 __mpn_add_n for PowerPC64/POWER7.
6421 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6422 __mpn_sub_n for PowerPC64/POWER7.
6423
4a2c0fd4
AZ
64242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425
6426 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6427 __mpn_addmul_1 for PowerPC64.
6428 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6429 __mpn_submul_1 for PowerPC64.
6430 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6431 for PowerPC64.
6432 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6433 for PowerPC64.
6434
4b5b548c
FS
64352013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6436
6437 [BZ #15089]
6438 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6439
0a3ac0aa
AZ
64402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6441
6442 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6443
ccdc8438
AZ
64442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445
6446 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6447 add multiarch folders.
6448 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6449 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6450 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6451 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6452 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6453 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6454 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6455 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6456 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6457 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6458 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6465
2e973d99
AZ
64662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467
6468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6469 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6471 New file.
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6473 New file.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6475 multiarch __ieee754_hypot for PowerPC32.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6477 New file.
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6479 New file.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6481 multiarch __ieee754_hypotf for PowerPC32.
6482
2d9470b2
AZ
64832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484
6485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6486 long_double_symbol only if __logbl is defined.
6487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6488 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6490 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6491 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6492 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6493 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6494 path for implementation.
6495 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6498 logb, and logbl multiarch implementations for PowerPC32.
6499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6500 file.
6501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6502 file.
6503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6504 multiarch logb for PowerPC32.
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6506 file.
6507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6508 file.
6509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6510 multiarch logbf for PowerPC32.
6511 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6513 file.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6515 multiarch logbl implementation for PowerPC32.
6516
5212ffce
AZ
65172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6518
6519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6520 and modff multiarch implementations.
6521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6522 New file.
6523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6524 New file.
6525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6526 multiarch modf for PowerPC32.
6527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6528 New file.
6529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6530 New file.
6531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6532 multiarch modff for PowerPC32.
6533
79dccf31
AZ
65342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6535
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6537 and lrintf multiarch implementations.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6539 New file.
6540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6541 New file.
6542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6543 multiarch lrint for PowerPC32.
6544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6545 file: multiarch lrintf for PowerPC32.
6546
deb66480
AZ
65472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6550 and lroundf multiarch implementations.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6552 New file.
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6554 New file.
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6556 New file.
6557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6558 multiarch lround for PowerPC32.
6559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6560 file: multiarch lroundf for PowerPC32.
6561
264b036b
AZ
65622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6563
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6565 copysign and copysignf multiarch implementations.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6567 New file.
6568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6569 New file.
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6571 file: multiarch copysign for PowerPC32.
6572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6573 file: multiarch copysignf for PowerPC32.
6574
d47db6c9
AZ
65752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6576
6577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6578 and truncf multiarch implementations.
6579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6580 New file.
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6582 file.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6584 multiarch trunc for PowerPC32.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6586 New file.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6588 New file.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6590 multiarch truncf for PowerPC32.
6591
ddb60b5a
AZ
65922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6593
6594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6595 and roundf multiarch implementations.
6596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6597 New file.
6598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6599 file.
6600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6601 multiarch round for PowerPC32.
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6603 New file.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6605 New file.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6607 multiarch roundf for PowerPC32.
6608
bedcf49b
AZ
66092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6610
6611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6612 and floorf multiarch implementations.
6613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6614 New file.
6615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6616 file.
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6618 multiarch floor for PowerPC32.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6620 New file.
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6622 New file.
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6624 multiarch floorf for PowerPC32.
6625
35ae5b40
AZ
66262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6627
6628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6629 and ceilf multiarch implementations.
6630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6631 New file.
6632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6633 file.
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6635 multiarch ceil for PowerPC32.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6637 New file.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6639 file.
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6641 multiarch ceilf for PowerPC32.
6642
ae1a4cd9
AZ
66432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6644
6645 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6646 is defined.
6647 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6648 FINITEF is defined.
6649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6650 and finitef multiarch implementations.
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6652 New file.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6654 file.
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6656 multiarch finite for PowerPC32.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6658 New file.
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6660 file: multiarch finitef for PowerPC32.
6661
64fffd65
AZ
66622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6663
6664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6665 and isinff multiarch implementations.
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6667 file.
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6669 file.
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6671 multiarch isinf for PowerPC32.
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6673 New file.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6675 multiarch isinff for PowerPC32.
6676
8e4e7ba2
AZ
66772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6678
6679 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6680 alias when __isnan is defined.
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6682 and isnanf multiarch implementations.
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6684 file.
6685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6686 file.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6688 file.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6690 file.
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6692 multiarch isnan for PowerPC32.
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6694 New file.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6696 New file.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6698 multiarch isnanf for PowerPC32.
6699
ddba588e
AZ
67002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6701
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6703 and sqrtf multiarch implementations.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6705 file.
6706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6707 file.
6708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6709 multiarch sqrt for PowerPC32.
6710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6711 file.
6712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6713 file.
6714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6715 multiarch sqrtf for PowerPC32.
6716
0f96a2f0
AZ
67172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6718
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6720 and llroundf multiarch implementations.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6722 New file.
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6724 New file.
6725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6726 New file.
6727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6728 file: multiarch llround for PowerPC32.
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6730 file: multiarch llroundf for PowerPC32.
6731
c9b5d79e
AZ
67322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6733
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6735 multiarch PowerPC32 fpu implementations.
6736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6737 New file.
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6739 New file.
6740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6741 multiarch llrint for PowerPC32.
6742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6743 New file.
6744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6745 New file.
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6747 file.
6748
9cbb3aab
AZ
67492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6750
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6752
ea5a72f8
AZ
67532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6754
6755 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6756 file.
6757 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6758 file.
6759 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6760 file.
6761 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6762 multiarch wordcopy for PPC32.
6763 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6764 wordcopy objects.
6765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6766 (__libc_ifunc_impl_list): Likewise.
6767 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6768 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6769 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6770 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6771 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6772 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6773
93be09e7
AZ
67742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6775
6776 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6778 file.
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6780 file.
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6782 file.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6784 multiarch wcscpy for PPC32.
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6786 multiarch objects.
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6788 (__libc_ifunc_impl_list): Likewise.
6789 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6790 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6791 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6792 sysdeps/powerpc/power6/wcscpy.c.
6793
bb04e529
AZ
67942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6795
6796 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6798 file.
6799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6800 file.
6801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6802 file.
6803 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6804 multiarch wcsrchr for PPC32.
6805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6806 multiarch objects.
6807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6808 (__libc_ifunc_impl_list): Likewise.
6809 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6810 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6811 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6812 sysdeps/powerpc/power6/wcsrchr.c.
6813
05b5cd1c
AZ
68142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815
6816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6817 file.
6818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6819 file.
6820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6822 multiarch wcschr for PPc32.
6823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6824 multiarch objects.
6825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6826 (__libc_ifunc_impl_list): Likewise.
6827 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6828 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6829 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6830 sysdeps/powerpc/power6/wcschr.c.
6831
ba964147
AZ
68322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833
6834 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6835 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6836 file.
6837 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6838 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6839 file: multiarch strchr for PPC32.
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6841 multiarch objects.
6842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6843 (__libc_ifunc_impl_list): Likewise.
6844
31c81aaa
AZ
68452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6846
6847 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6848 name.
6849 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6850 file.
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6852 file.
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6854 multiarch strchrnul for PPC32.
6855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6856 multiarch objects.
6857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6858 (__libc_ifunc_impl_list): Likewise.
6859
0d0607d9
AZ
68602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6861
6862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6863 file.
6864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6865 multiarch strncasecmp for PPC32.
6866 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6867 file.
6868 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6869 multiarch strncasecmp_l for PPC32.
6870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6871 strncasecmp multiarch objects.
6872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6873 (__libc_ifunc_impl_list): Likewise.
6874
4dfd5c86
AZ
68752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6878 file.
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6880 multiarch strncasecmp for PPC32.
6881 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6882 New file.
6883 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6884 multiarch strcasecmp_l for PPC32.
6885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6886 multiarch objects.
6887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6888 (__libc_ifunc_impl_list): Likewise.
6889
a19e01a3
AZ
68902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6891
6892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6893 file.
6894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6895 file.
6896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6897 multiarch strncmp for PPC32.
6898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6899 multiarch objects.
6900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6901 (__libc_ifunc_impl_list): Likewise.
6902
ae9cf7a2
AZ
69032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6904
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6906 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6907 file.
6908 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6911 multiarch objects.
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6913 (__libc_ifunc_impl_list): Likewise.
6914
3148bb7d
AZ
69152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6916
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6918 file.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6920 file.
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6923 multiarch objects.
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6925 (__libc_ifunc_impl_list): Likewise.
6926
7af8b946
AZ
69272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6928
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6930 file.
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6932 file.
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6934 multiarch rawmemchr for PPC32.
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6936 multiarch objects.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6938 (__libc_ifunc_impl_list): Likewise.
6939
03a6aa6a
AZ
69402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6941
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6943 file.
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6945 file.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6947 file: memrchr multiarch for PPC32.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6949 multiarch objects.
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6951 (__libc_ifunc_impl_list): Likewise.
6952
1c62e6d9
AZ
69532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6954
6955 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6956 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6957 file.
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6960 multiarch memchr for PPC32.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6962 multiarch objects.
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6964 (__libc_ifunc_impl_list): Likewise.
6965
87da8bdb
AZ
69662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967
6968 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6970 file.
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6972 file.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6974 file: multiarch mempcpy for PPC32.
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6976 multiarch objects.
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6978 (__libc_ifunc_impl_list): Likewise.
6979
20ed4714
AZ
69802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981
6982 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6984 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6986 multiarch bzero for PPC32.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6988 file.
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6990 file.
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6992 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6993 file: multiarch memset for PPC32.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6996 memset multiarch objects.
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6998 (__libc_ifunc_impl_list): Likewise.
6999
ab3e3a46
AZ
70002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001
7002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7003 file.
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7006 memcmp for PPC32.
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7009 multiarch objects.
7010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7011 (__libc_ifunc_impl_list): Likewise.
7012
930de6f0
AZ
70132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7014
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7018 file.
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7020 file.
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7022 file.
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7024 multiarch memcpy for PPC32.
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7026 multiarch objects.
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7028 (__libc_ifunc_impl_list): Likewise.
7029
4c628e00
AZ
70302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7031
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7033 support multiarch for POWER/PPC32.
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7035 Likewise.
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7038 Implies file to make multiarch folder appers before the fpu and
7039 default folder for power4 configuration.
7040
f4479220
SP
70412013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7042
7043 * scripts/bench.pl: Append volatile keyword to type.
7044
8517800f
KK
70452013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7046
7047 * sysdeps/sh/sotruss-lib.c: New file.
7048 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7049
180138f1
AZ
70502013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7051
7052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7053
bbf37bdc
JM
70542013-12-05 Joseph Myers <joseph@codesourcery.com>
7055
e47cc4e0
JM
7056 [BZ #6810]
7057 * math/w_tgamma.c: Include <errno.h>.
7058 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7059 * math/w_tgammaf.c: Include <errno.h>.
7060 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7061 * math/w_tgammal.c: Include <errno.h>.
7062 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7063 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7064 underflow. Add more tgamma tests.
7065 * math/auto-libm-test-out: Regenerated.
7066 * sysdeps/i386/fpu/libm-test-ulps: Update.
7067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7068
bbf37bdc
JM
7069 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7070 sin, sinh, tan, tanh, tgamma, y0 and y1.
7071 * math/auto-libm-test-out: Regenerated.
7072 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7073 (TEST_COND_x86): Likewise.
7074 (M_E2l): Remove macro.
7075 (M_E3l): Likewise.
7076 (M_2_SQRT_PIl): Likewise.
7077 (M_SQRT_PIl): Likewise.
7078 (M_1_DIV_El): Likewise.
7079 (log_test_data): Use AUTO_TESTS_f_f.
7080 (log10_test_data): Likewise.
7081 (log1p_test_data): Likewise.
7082 (log2_test_data): Likewise.
7083 (sin_test_data): Likewise.
7084 (sin_tonearest_test_data): Likewise.
7085 (sin_towardzero_test_data): Likewise.
7086 (sin_downward_test_data): Likewise.
7087 (sin_upward_test_data): Likewise.
7088 (sinh_test_data): Likewise.
7089 (sinh_tonearest_test_data): Likewise.
7090 (sinh_towardzero_test_data): Likewise.
7091 (sinh_downward_test_data): Likewise.
7092 (sinh_upward_test_data): Likewise.
7093 (tan_test_data): Likewise.
7094 (tan_tonearest_test_data): Likewise.
7095 (tan_towardzero_test_data): Likewise.
7096 (tan_downward_test_data): Likewise.
7097 (tan_upward_test_data): Likewise.
7098 (tanh_test_data): Likewise.
7099 (tgamma_test_data): Likewise.
7100 (y0_test_data): Likewise.
7101 (y1_test_data): Likewise.
7102 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7103 (special_real_inputs): Add pi/4.
7104 * sysdeps/i386/fpu/libm-test-ulps: Update.
7105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7106
eb5ad6b9
AZ
71072013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7108
7109 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7110 "longjmp_target" static probes.
7111 (__longjmp): Rename to __longjmp_symbol.
7112 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7113 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7114 on which longjmp to generate.
7115 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7116 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7117 probe.
7118 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7119 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7120 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7121 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7122 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7123 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7125 __longjmp_symbol based on which __longjmp to generate.
7126 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7127 probe.
7128 (setjmp): Rename to setjmp_symbol.
7129 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7130 (_setjmp): Rename to _setjmp_symbol.
7131 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7132 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7133 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7134 which setjmp to generate.
7135 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7136 "longjmp_target" static probes.
7137
d136c6dc
SP
71382013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7139
9298ecba
SP
7140 * benchtests/README: Add note about output arguments.
7141 * benchtests/bench-sincos.c: Remove file.
7142 * benchtests/sincos-inputs: New file.
7143 * scripts/bench.pl: Identify output arguments and define
7144 static variables for them.
7145
232983e9
SP
7146 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7147
d136c6dc
SP
7148 [BZ #15941]
7149 * Makefile (INSTALL): Add install-plain.texi as the primary
7150 dependency.
7151 * manual/install-plain.texi: New file.
7152 * manual/install.texi: Include node directive only for
7153 non-plaintext output.
7154
699ff837
JM
71552013-12-04 Joseph Myers <joseph@codesourcery.com>
7156
ab07cea8
JM
7157 * stdlib/longlong.h: Update from GCC.
7158
699ff837
JM
7159 [BZ #6807]
7160 [BZ #15901]
7161 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7162 * math/w_j0f.c (y0f): Likewise.
7163 * math/w_j0l.c (__y0l): Likewise.
7164 * math/w_j1.c (y1): Likewise.
7165 * math/w_j1f.c (y1f): Likewise.
7166 * math/w_j1l.c (__y1l): Likewise
7167 * math/w_jn.c (yn): Likewise.
7168 * math/w_jnf.c (ynf): Likewise.
7169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7170 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7171 value for Bessel function domain errors outside _SVID_ mode.
7172 Adjust sign of return value for yn (negative integer, 0).
7173 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7174 by zero in return for negative x and set sign appropriately for
7175 negative n.
7176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7178 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7179 expectations in error cases.
7180 (y1_test_data): Likewise.
7181 (yn_test_data): Likewise.
7182 * sysdeps/i386/fpu/libm-test-ulps: Update.
7183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7184
5b118558
UW
71852013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7186
7187 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7188 "64" to "64-v1". Add "64-v2".
7189 (abi-64-options): Rename to ...
7190 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7191 (abi-64-condition): Rename to ...
7192 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7193 (abi-64-ld-soname): Rename to ...
7194 (abi-64-v1-ld-soname): ... this.
7195 (abi-64-v2-options): Define.
7196 (abi-64-v2-condition): Likewise.
7197 (abi-64-v2-ld-soname): Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7199 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7203
61cd8fe4
UW
72042013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7205 Alan Modra <amodra@gmail.com>
7206
7207 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7208 New versions for use with the ELFv2 ABI.
7209 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7210 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7211 declaration.
7212 (struct La_ppc64v2_retval): Likewise.
7213 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7214 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7215 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7216 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7217 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7218 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7219 Do not save or restore CR.
7220 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7221 (_dl_profile_resolve): Do no save or restore CR. Support extended
7222 return values for ELFv2 ABI. Fix location of FPR return registers.
7223 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7224 updated values for _CALL_ELF == 2.
7225 (La_regs, La_retval, int_retval): Likewise.
7226
8b8a692c
UW
72272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7228
7229 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7230 (FRAME_MIN_SIZE_PARM): Likewise.
7231 (FRAME_BACKCHAIN): Likewise.
7232 (FRAME_CR_SAVE): Likewise.
7233 (FRAME_LR_SAVE): Likewise.
7234 (FRAME_TOC_SAVE): Likewise.
7235 (FRAME_PARM_SAVE): Likewise.
7236 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7237 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7238 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7239 (call_mcount_parm_offset): New macro.
7240 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7241 (PROF): Use symbolic stack frame offsets.
7242 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7243 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7244 Redefine in terms of FRAME_MIN_SIZE.
7245 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7246 (_dl_profile_resolve): Likewise. Update comment.
7247 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7248 symbols stack frame offsets.
7249 (__sigsetjmp): Likewise.
7250 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7251 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7252 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7253 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7254
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7256 (FRAME_BACKCHAIN): Remove.
7257 (FRAME_CR_SAVE): Likewise.
7258 (FRAME_LR_SAVE): Likewise.
7259 (FRAME_COMPILER_DW): Likewise.
7260 (FRAME_LINKER_DW): Likewise.
7261 (FRAME_TOC_SAVE): Likewise.
7262 (FRAME_PARM_SAVE): Likewise.
7263 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7264 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7265 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7267 (CHECK_SP): Use symbolic stack frame offsets.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7269 zone" instead of caller's parameter save area for temp storage.
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7271 Likewise. Also, use symbolic stack frame offsets.
7272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7273 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7274 our own stack frame instead of the caller's.
7275 (__socket): Use symbolic stack frame offsets.
7276
122b66de
UW
72772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7278 Alan Modra <amodra@gmail.com>
7279
7280 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7281 Define.
7282 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7283 PPC64_LOCAL_ENTRY_OFFSET): Define.
7284 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7285 New function.
7286 (elf_machine_fixup_plt): Call it.
7287 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7288 reloc arguments.
7289 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7290 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7291 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7292 r2 before calling target.
7293
696caf1d
UW
72942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7295 Alan Modra <amodra@gmail.com>
7296
7297 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7298 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7299 versions of macros to support ELFv2 ABI.
7300 (LOCALENTRY): New macro.
7301 (ENTRY, EALIGN): Use it.
7302 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7303 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7304 fall through into ENTRY entry point.
7305 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7306 Only define if _CALL_ELF != 2.
7307
7308 (elf_machine_matches_host): Verify ABI version matches.
7309 (RTLD_START): Use LOCALENTRY.
7310 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7311 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7312 (PLT_ENTRY_WORDS): New macro.
7313 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7314 (elf_machine_runtime_setup): Support ELFv2 ABI.
7315 (elf_machine_fixup_plt): Likewise.
7316 (elf_machine_plt_conflict): Likewise.
7317 (resolve_ifunc): Likewise.
7318 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7320 Likewise.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7322 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7324 (makecontext): Support ELFv2 ABI.
7325 * elf/elf.h (EF_PPC64_ABI): Define.
7326
d31beafa
UW
73272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7328
7329 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7330 New assembler macro.
7331 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7332 [ASSEMBLER] (ENTRY): ... but instead here ...
7333 [ASSEMBLER] (EALIGN): ... and here.
7334 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7335 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7336 [!ASSEMBLER] (ENTRY_2): Use it.
7337 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7338 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7339 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7340 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7341 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7343 Use PPC64_LOAD_FUNCPTR.
7344
b525166b
UW
73452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7346
7347 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7348
7ec07d9a
AM
73492013-12-04 Alan Modra <amodra@gmail.com>
7350
7351 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7352 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7353 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7354 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7355
7356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7357 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7358 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7359 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7360 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7361 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7362
5162e7dd
UW
73632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7364
7365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7366 (__makecontext): Fix incorrect CFI when backtracing out of
7367 context created via makecontext.
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7369 (__setcontext): Fix incorrect CFI during switch to new context.
7370 (__novec_setcontext): Likewise.
7371
19e3372b
OB
73722013-12-04 Ondřej Bílka <neleai@seznam.cz>
7373
7374 [BZ #4772]
7375 * time/strptime_l.c (__strptime_internal): Allow modifiers
7376 in strptime.
7377 * time/tst-strptime.c (day_tests): Add testcase.
7378
7379
ecaf142d
SP
73802013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7381
7382 * scripts/bench.pl: Skip over blank lines.
7383
fbf964ae
PE
73842013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7385
7386 [BZ #926]
7387 * manual/time.texi (Calendar Time): Clarify what timezone functions
7388 use.
7389
fa60a674
AZ
73902013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7391
7392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7393
d674f0ef
OB
73942013-12-04 Ondřej Bílka <neleai@seznam.cz>
7395
7396 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7397 implementation.
7398 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7399 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7400 * debug/memset_chk.c (__memset_chk): Likewise.
7401 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7402 * debug/strncpy_chk.c: Likewise.
7403
17dea188
JM
74042013-12-03 Joseph Myers <joseph@codesourcery.com>
7405
749008ff
JM
7406 [BZ #15268]
7407 [BZ #15425]
7408 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7409 (__ieee754_exp): For possibly underflowing results, check size of
7410 result and force underflow exception if required.
7411 * math/auto-libm-test-in: Add more tests of exp.
7412 * math/auto-libm-test-out: Regenerated.
7413 * sysdeps/i386/fpu/libm-test-ulps: Update.
7414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7415
17dea188
JM
7416 [BZ #16283]
7417 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7418 * math/w_exp2f.c (__exp2f): Likewise.
7419 * math/w_exp2l.c (__exp2l): Likewise.
7420 * math/auto-libm-test-in: Do not allow missing errno on exp2
7421 underflow.
7422 * math/auto-libm-test-out: Regenerated.
7423
b20de2c3
OB
74242013-12-03 Ondřej Bílka <neleai@seznam.cz>
7425
7426 [BZ #16274]
7427 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7428 handle filename validation.
7429 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7430 (do_open): Delete.
7431
d8e2dbe3
JM
74322013-12-03 Joseph Myers <joseph@codesourcery.com>
7433
34e16df5
JM
7434 [BZ #6786]
7435 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7436 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7437 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7438 <float.h>.
7439 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7440 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7441 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7443 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7445 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7446 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7447 Add more erfc tests.
7448 * math/auto-libm-test-out: Regenerated.
7449 * sysdeps/i386/fpu/libm-test-ulps: Update.
7450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7451
d8e2dbe3
JM
7452 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7453 exp2, expm1, j0 and j1.
7454 * math/auto-libm-test-out: Regenerated.
7455 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7456 (erfc_test_data): Likewise.
7457 (exp_test_data): Likewise.
7458 (exp_tonearest_test_data): Likewise.
7459 (exp_towardzero_test_data): Likewise.
7460 (exp_downward_test_data): Likewise.
7461 (exp_upward_test_data): Likewise.
7462 (exp10_test_data): Likewise.
7463 (exp2_test_data): Likewise.
7464 (expm1_test_data): Likewise.
7465 (j0_test_data): Likewise.
7466 (j1_test_data): Likewise.
7467 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7468 (input_flag_type): Add flag_xfail_rounding.
7469 (input_flags): Add xfail-rounding.
7470 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7471 (output_for_one_input_case): Handle flag_xfail_rounding.
7472 * sysdeps/i386/fpu/libm-test-ulps: Update.
7473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7474
18d14251
AJ
74752013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7476
3d2e6075 7477 [BZ #16289]
18d14251
AJ
7478 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7479 division by 0.
7480
520d437b
SP
74812013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7482
7483 [BZ #16195]
7484 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7485 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7486 (STAP_PROBE0): New macro.
7487 (STAP_PROBE1): Likewise.
7488 (STAP_PROBE2): Likewise.
7489 (STAP_PROBE3): Likewise.
7490 (STAP_PROBE4): Likewise.
7491
416e0145
OB
74922013-12-02 Ondřej Bílka <neleai@seznam.cz>
7493
7494 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7495
9d17796a
SE
74962013-12-02 Steve Ellcey <sellcey@mips.com>
7497
7498 * benchtests/Makefile (bench): Add sqrt.
7499 (LDLIBS-bench-sqrt): New.
7500 * benchtests/sqrt-input: New.
7501
f524d6a8
PS
75022013-12-02 Pavel Simerda <psimerda@redhat.com>
7503
639a0ef8
PS
7504 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7505 (GAIH_EAI): Likewise.
7506 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7507 (gaih_inet): Likewise.
7508 (getaddrinfo): Don't use GAIH_EAI.
7509
f524d6a8
PS
7510 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7511 (struct gaih): Remove definition.
7512
df3aedaf
SP
75132013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7514
7515 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7516 Use HERRNOP directly.
7517
1ab19dec
AZ
75182013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7519
b42ad38d 7520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7521
176b0c79
JM
75222013-11-30 Joseph Myers <joseph@codesourcery.com>
7523
7524 * math/gen-auto-libm-tests.c (test_functions): Add more
7525 single-argument functions.
7526 (special_fill_pi_2): New function.
7527 (special_fill_minus_pi_2): Likewise.
7528 (special_fill_pi_6): Likewise.
7529 (special_fill_minus_pi_6): Likewise.
7530 (special_fill_pi_3): Likewise.
7531 (special_fill_2pi_3): Likewise.
7532 (special_fill_e): Likewise.
7533 (special_fill_1_e): Likewise.
7534 (special_fill_e_minus_1): Likewise.
7535 (special_real_inputs): Add more special inputs.
7536 (output_for_one_input_case): Do not require ERANGE on underflow to
7537 zero if round-to-nearest result does not underflow to zero, unless
7538 exact results required.
7539 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7540 atan, atanh, cbrt, cos and cosh.
7541 * math/auto-libm-test-out: Regenerated.
7542 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7543 (acos_tonearest_test_data): Likewise.
7544 (acos_towardzero_test_data): Likewise.
7545 (acos_downward_test_data): Likewise.
7546 (acos_upward_test_data): Likewise.
7547 (acosh_test_data): Likewise.
7548 (asin_test_data): Likewise.
7549 (asin_tonearest_test_data): Likewise.
7550 (asin_towardzero_test_data): Likewise.
7551 (asin_upward_test_data): Likewise.
7552 (asinh_test_data): Likewise.
7553 (atan_test_data): Likewise.
7554 (atanh_test_data): Likewise.
7555 (cbrt_test_data): Likewise.
7556 (cos_test_data): Likewise.
7557 (cos_tonearest_test_data): Likewise.
7558 (cos_towardzero_test_data): Likewise.
7559 (cos_downward_test_data): Likewise.
7560 (cos_upward_test_data): Likewise.
7561 (cosh_test_data): Likewise.
7562 (cosh_tonearest_test_data): Likewise.
7563 (cosh_towardzero_test_data): Likewise.
7564 (cosh_downward_test_data): Likewise.
7565 (cosh_upward_test_data): Likewise.
7566 * sysdeps/i386/fpu/libm-test-ulps: Update.
7567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7568
ffb536d0
JM
75692013-11-29 Joseph Myers <joseph@codesourcery.com>
7570
2a77a467
JM
7571 [BZ #6787]
7572 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7573 * math/w_exp10f.c (__exp10f): Likewise.
7574 * math/w_exp10l.c (__exp10l): Likewise.
7575 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7576 errno settings in existing tests.
7577
ea3bc4e8
JM
7578 [BZ #14032]
7579 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7580 precision control set to double precision.
7581 * sysdeps/i386/fpu/w_sqrt.c: New file.
7582 * math/auto-libm-test-in: Add more tests.
7583 * math/auto-libm-test-out: Update.
7584
0712c9d8
JM
7585 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7586 (sqrt_test_tonearest): New function.
7587 (sqrt_towardzero_test_data): New variable.
7588 (sqrt_test_towardzero): New function.
7589 (sqrt_downward_test_data): New variable.
7590 (sqrt_test_downward): New function.
7591 (sqrt_upward_test_data): New variable.
7592 (sqrt_test_upward): New function.
7593 (main): Call the new functions.
7594
ffb536d0
JM
7595 * math/gen-auto-libm-tests.c: New file.
7596 * math/auto-libm-test-in: Likewise.
7597 * math/auto-libm-test-out: New generated file.
7598 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7599 variables.
7600 (%beautify): Add generated representations of zero.
7601 (top level): Set $auto_input and call parse_auto_input.
7602 (beautify): Remove trailing "f" from hex float constants.
7603 (parse_args): Handle XFAIL_TEST.
7604 (convert_condition): New function.
7605 (or_value): Likewise.
7606 (or_cond_value): Likewise.
7607 (generate_testfile): Handle AUTO_TESTS_* lines.
7608 (parse_auto_input): New function.
7609 * math/libm-test.inc (XFAIL_TEST): New macro.
7610 (ERRNO_UNCHANGED): Update value.
7611 (ERRNO_EDOM): Likewise.
7612 (ERRNO_ERANGE): Likewise.
7613 (IGNORE_RESULT): Likewise.
7614 (TEST_COND_flt_32): New macro.
7615 (TEST_COND_dbl_64): Likewise.
7616 (TEST_COND_ldbl_96_intel): Likewise.
7617 (TEST_COND_ldbl_96_m68k): Likewise.
7618 (TEST_COND_ldbl_128): Likewise.
7619 (TEST_COND_ldbl_128ibm): Likewise.
7620 (TEST_COND_long32): Likewise.
7621 (TEST_COND_long64): Likewise.
7622 (TEST_COND_before_rounding): Likewise.
7623 (TEST_COND_after_rounding): Likewise.
7624 (enable_test): Handle XFAIL_TEST flag.
7625 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7626 with finite results.
7627 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7628 auto-libm-test-out.
7629
acd98a8e
AK
76302013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7631 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7632
7633 [BZ #16214]
7634 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7635 __tls_get_addr_internal instead of __tls_get_offset in order to
7636 avoid GOT pointer dependency. Make rtld export
7637 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7638 __tls_get_addr since we are a __tls_get_offset platform.
7639 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7640 GOT pointer being set up before.
7641 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7642
3c1c46a6
JM
76432013-11-28 Joseph Myers <joseph@codesourcery.com>
7644
7475aef5
JM
7645 * manual/math.texi (Errors in Math Functions): Document accuracy
7646 goals.
7647
8bca7cd8
JM
7648 [BZ #15004]
7649 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7650 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7653 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7655 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7656 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7657 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7661 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7663 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7664 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7665
91a1f3fe
JM
7666 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7667 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7668 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7669 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7670 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7671 Likewise.
7672 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7673 Likewise.
7674 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7675 Likewise.
7676 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7677 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7678 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7679 atomic-feupdateenv and flt-rounds.
7680 * sysdeps/powerpc/nofpu/Versions (libc): Add
7681 __atomic_feholdexcept, __atomic_feclearexcept,
7682 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7683 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7684 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7685 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7686 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7687 here.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7689 Update.
7690
c5df7609
JM
7691 * manual/arith.texi (FP Exceptions): Document that exceptions may
7692 not be raised when matherr is used.
7693 (Math Error Reporting): Document overflow in directed rounding
7694 modes. Document that errno may not be set when finite values are
7695 returned on overflow. Document intent to set errno on underflow
7696 only for underflow to zero.
7697
3c1c46a6
JM
7698 [BZ #16271]
7699 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7700 round-to-nearest then adjust result for other rounding modes.
7701 * include/fenv.h (fegetround): Use libm_hidden_proto.
7702 * math/fegetround.c (fegetround): Use libm_hidden_def.
7703 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7704 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7705 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7706 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7707 Likewise.
7708 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7709 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7710 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7711 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7712
5a4c6d53
SP
77132013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7714
7715 [BZ #16077]
7716 * nss/Versions (libnss_files): Add
7717 _nss_files_gethostbyname3_r.
7718 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7719 New function.
7720 (HOST_DB_LOOKUP): Remove macro.
7721 (_nss_files_gethostbyname_r): Implement function without the
7722 HOST_DB_LOOKUP macro.
7723 (_nss_files_gethostbyname2_r): Likewise.
7724
897b98ba
OB
77252013-11-28 Ondřej Bílka <neleai@seznam.cz>
7726
7727 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7728
6f476861
UB
77292013-11-26 Uros Bizjak <ubizjak@gmail.com>
7730
7731 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7732 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7733 warning.
7734
bd12ab55
AZ
77352013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7736
7737 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7738 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7739 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7740 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7741 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7742 __fe_nomask_env_priv and attribute_hidden.
7743 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7744 (libc_feupdateenv_test_ppc): Likewise.
7745 (libc_feresetround_ppc): Likewise.
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7747 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7748 compat_symbol macro.
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7750 (__fe_nomask_env): Likewise.
7751 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7752
52bb6543
OB
77532013-11-26 Ondřej Bílka <neleai@seznam.cz>
7754
7755 * string/Makefile: Remove ifunc tests.
7756 * string/test-string.h: Define TEST_IFUNC.
7757 * string/test-bcopy-ifunc.c: Remove.
7758 * string/test-bzero-ifunc.c: Likewise.
7759 * string/test-memccpy-ifunc.c: Likewise.
7760 * string/test-memchr-ifunc.c: Likewise.
7761 * string/test-memcmp-ifunc.c: Likewise.
7762 * string/test-memcpy-ifunc.c: Likewise.
7763 * string/test-memmem-ifunc.c: Likewise.
7764 * string/test-memmove-ifunc.c: Likewise.
7765 * string/test-mempcpy-ifunc.c: Likewise.
7766 * string/test-memrchr-ifunc.c: Likewise.
7767 * string/test-memset-ifunc.c: Likewise.
7768 * string/test-rawmemchr-ifunc.c: Likewise.
7769 * string/test-stpcpy-ifunc.c: Likewise.
7770 * string/test-stpncpy-ifunc.c: Likewise.
7771 * string/test-strcasecmp-ifunc.c: Likewise.
7772 * string/test-strcasestr-ifunc.c: Likewise.
7773 * string/test-strcat-ifunc.c: Likewise.
7774 * string/test-strchr-ifunc.c: Likewise.
7775 * string/test-strchrnul-ifunc.c: Likewise.
7776 * string/test-strcmp-ifunc.c: Likewise.
7777 * string/test-strcpy-ifunc.c: Likewise.
7778 * string/test-strcspn-ifunc.c: Likewise.
7779 * string/test-strlen-ifunc.c: Likewise.
7780 * string/test-strncasecmp-ifunc.c: Likewise.
7781 * string/test-strncat-ifunc.c: Likewise.
7782 * string/test-strncmp-ifunc.c: Likewise.
7783 * string/test-strncpy-ifunc.c: Likewise.
7784 * string/test-strnlen-ifunc.c: Likewise.
7785 * string/test-strpbrk-ifunc.c: Likewise.
7786 * string/test-strrchr-ifunc.c: Likewise.
7787 * string/test-strspn-ifunc.c: Likewise.
7788 * string/test-strstr-ifunc.c: Likewise.
7789
ab260039 77902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7791
7792 * benchtests/Makefile: Remove ifunc tests.
7793 * benchtests/bench-string.h: Define TEST_IFUNC.
7794 * benchtests/bench-bcopy-ifunc.c: Remove.
7795 * benchtests/bench-bzero-ifunc.c: Likewise.
7796 * benchtests/bench-memccpy-ifunc.c: Likewise.
7797 * benchtests/bench-memchr-ifunc.c: Likewise.
7798 * benchtests/bench-memcmp-ifunc.c: Likewise.
7799 * benchtests/bench-memcpy-ifunc.c: Likewise.
7800 * benchtests/bench-memmem-ifunc.c: Likewise.
7801 * benchtests/bench-memmove-ifunc.c: Likewise.
7802 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7803 * benchtests/bench-memrchr-ifunc.c: Likewise.
7804 * benchtests/bench-memset-ifunc.c: Likewise.
7805 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7806 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7807 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7808 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7809 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7810 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7811 * benchtests/bench-strcat-ifunc.c: Likewise.
7812 * benchtests/bench-strchr-ifunc.c: Likewise.
7813 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7814 * benchtests/bench-strcmp-ifunc.c: Likewise.
7815 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7816 * benchtests/bench-strcpy-ifunc.c: Likewise.
7817 * benchtests/bench-strcspn-ifunc.c: Likewise.
7818 * benchtests/bench-strlen-ifunc.c: Likewise.
7819 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7820 * benchtests/bench-strncat-ifunc.c: Likewise.
7821 * benchtests/bench-strncmp-ifunc.c: Likewise.
7822 * benchtests/bench-strncpy-ifunc.c: Likewise.
7823 * benchtests/bench-strnlen-ifunc.c: Likewise.
7824 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7825 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7826 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7827 * benchtests/bench-strspn-ifunc.c: Likewise.
7828 * benchtests/bench-strstr-ifunc.c: Likewise.
7829
78302013-11-26 Ondřej Bílka <neleai@seznam.cz>
7831
ab260039
OB
7832 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7833
d1d9eaf4 78342013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7835
d1d9eaf4
OB
7836 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7837 * rt/aio.h: Likewise.
7838 * sysdeps/gnu/bits/utmp.h: Likewise.
7839 * sysdeps/gnu/bits/utmpx.h: Likewise.
7840 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7841 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7842 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7843 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7844 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7845 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7846 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7847 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7848 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7849 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7850 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7851 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7852 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7854 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7855 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7856 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7857 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7858 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7859 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7860 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7861 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7862 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7863 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7864 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7866 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7867 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7868 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7869 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7870 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7871 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7873 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7874 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7875 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7876 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7877 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7878 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7879 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7880 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7881 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7882
a7624ed9
CD
78832013-11-25 Carlos O'Donell <carlos@redhat.com>
7884
7885 [BZ #16245]
7886 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7887 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7888
63cfe52b
JM
78892013-11-25 Joseph Myers <joseph@codesourcery.com>
7890
7891 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7892 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7893 Likewise.
7894
41e8926a
AZ
78952013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7896
7897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7898 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7899 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7900 (__fesetround): Remove define.
7901 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7902 rounding and exceptions handling.
7903 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7904 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7905 (__fe_nomask_env): Likewise.
7906 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7907 __fegetround instead of fegetround.
7908 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7909 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7910
6851bd4d
RM
79112013-11-21 Roland McGrath <roland@hack.frob.com>
7912
070906ff
RM
7913 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7914 it's there.
7915
6851bd4d
RM
7916 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7917
84ae135d
MI
79182013-11-21 Meador Inge <meadori@codesourcery.com>
7919
7920 [BZ #11157]
7921 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7922 (encrypt_r): Likewise.
7923 * malloc/obstack.h (obstack_free): Likewise.
7924 * posix/unistd.h (encrypt): Likewise.
7925
daf75146
GM
79262013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7927
7928 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7929 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7930 DL_CALL_DT_FINI() that call the functions directly.
7931 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7932 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7933 * elf/dl-fini.c: Likewise.
7934
10ad46bc
OB
79352013-11-20 Ondřej Bílka <neleai@seznam.cz>
7936
7937 * malloc/hooks.c (memalign_check): Add alignment rounding.
7938 * malloc/malloc.c (_mid_memalign): New function.
7939 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7940 Implement by calling _mid_memalign.
7941 * manual/probes.texi (Memory Allocation Probes): Remove
7942 memory_valloc_retry and memory_pvalloc_retry.
7943
f3fd2628
SP
79442013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7945
4712799f
SP
7946 * locale/programs/locarchive.c (open_archive): Add const
7947 qualifier to ARCHIVEFNAME and copy default fname to
7948 DEFAULT_FNAME.
7949
0417b20f
SP
7950 [BZ #15601]
7951 * libio/tst-widetext.input: Rename Oriya to Odia.
7952 * locale/iso-639.def: Likewise.
7953
f3fd2628
SP
7954 * manual/probes.texi (Mathematical Function Probes): Add
7955 documentation for sin, cos, asin and acos probes.
7956 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7957 (__sin32): Add slowasin probe.
7958 (__cos32): Add slowacos probe.
7959 (__mpsin): Add slowsin probe.
7960 (__mpcos): Add slowcos probe.
7961
73c1ce4f
JM
79622013-11-19 Joseph Myers <joseph@codesourcery.com>
7963
7964 [BZ #15483]
7965 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7966 thread-local __sim_exceptions_thread and global
7967 __sim_exceptions_global.
7968 (__sim_disabled_exceptions): Change to thread-local
7969 __sim_disabled_exceptions_thread and global
7970 __sim_disabled_exceptions_global.
7971 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7972 and global __sim_round_mode_global.
7973 (__simulate_exceptions): Use thread-local floating-point state and
7974 set global state from it as needed.
7975 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7976 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7977 __sim_round_mode_thread.
7978 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7979 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7980 and global __sim_exceptions_global.
7981 (__sim_disabled_exceptions): Change to thread-local
7982 __sim_disabled_exceptions_thread and global
7983 __sim_disabled_exceptions_global.
7984 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7985 and global __sim_round_mode_global.
7986 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7987 (SIM_SET_GLOBAL): Likewise.
7988 * sysdeps/powerpc/soft-fp/sfp-machine.h
7989 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7990 __sim_round_mode_thread.
7991 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7992 __sim_disabled_exceptions_thread.
7993 (__sim_exceptions): Change to __sim_exceptions_thread.
7994 (__sim_disabled_exceptions): Change to
7995 __sim_disabled_exceptions_thread.
7996 (__sim_round_mode): Change to __sim_round_mode_thread.
7997 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7998 thread-local floating-point state and set global state from it as
7999 needed.
8000 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8001 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8002 (__sim_disabled_exceptions): Remove extern declaration.
8003 (feenableexcept): Use thread-local floating-point state and set
8004 global state from it as needed.
8005 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8006 extern declaration.
8007 (__sim_disabled_exceptions): Likewise.
8008 (__sim_round_mode): Likewise.
8009 (__fegetenv): Use thread-local floating-point state.
8010 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8011 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8012 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8013 floating-point state and set global state from it as needed.
8014 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8015 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8016 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8017 Likewise.
8018 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8019 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8020 Likewise.
8021 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8022 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8023 Use __sim_round_mode_thread.
8024 * math/test-fenv-tls.c: New file.
8025 * math/Makefile (tests): Add test-fenv-tls.
8026 ($(objpfx)test-fenv-tls): Depend on
8027 $(common-objpfx)nptl/libpthread.so.
8028
b5449b12
AS
80292013-11-19 Andreas Schwab <schwab@suse.de>
8030
8031 * locale/programs/locale.c (show_info): Decode wordarray elements.
8032 * locale/categories.def (LC_MONETARY): Add element for
8033 _NL_MONETARY_CRNCYSTR.
8034 * locale/C-monetary.c (conversion_rate): New variable.
8035 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8036 element.
8037
e186536b
CM
80382013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8039
8040 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8041 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8042
5c349950
PP
80432013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8044
8045 * elf/Makefile (tst-auxv): New test.
8046 * elf/tst-auxv.c: New
8047 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8048
699df45b
JM
80492013-11-18 Joseph Myers <joseph@codesourcery.com>
8050
8051 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8052 (hidden_proto): Caller changed.
8053 (hidden_tls_proto): New macro.
8054 (libc_hidden_tls_proto): Likewise.
8055 (rtld_hidden_tls_proto): Likewise.
8056 (libm_hidden_tls_proto): Likewise.
8057 (libresolv_hidden_tls_proto): Likewise.
8058 (librt_hidden_tls_proto): Likewise.
8059 (libdl_hidden_tls_proto): Likewise.
8060 (libnss_files_hidden_tls_proto): Likewise.
8061 (libnsl_hidden_tls_proto): Likewise.
8062 (libnss_nisplus_hidden_tls_proto): Likewise.
8063 (libutil_hidden_tls_proto): Likewise.
8064
b7589107
OB
80652013-11-18 Ondřej Bílka <neleai@seznam.cz>
8066
8067 [BZ #10253]
8068 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8069 (decompose_rpath): Defer expansion to fillin_rpath.
8070 (_dl_init_paths): Pass linkmap to fillin_rpath.
8071
250c23bd
RS
80722013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8073
8074 * benchtests/Makefile: Add strsep.
8075 * benchtests/bench-strsep.c: New file: strsep benchtest.
8076 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8077
a7931fcf
AS
80782013-11-18 Andreas Schwab <schwab@suse.de>
8079
8080 * locale/programs/locale.c (show_info) [case byte]: Check for
8081 '\377' instead of '\177'.
8082 * locale/C-monetary.c (not_available): Always use "\377".
8083 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8084 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8085 detect unavailable sign_posn locale elements.
8086 * locale/localeconv.c (__localeconv): For grouping and
8087 mon_grouping handle "\177" and "\377" like no grouping.
8088 (INT_ELEM): New macro. Use it to set all numeric members.
8089 * locale/programs/ld-monetary.c (monetary_read)
8090 <tok_mon_grouping>: Normalize single -1 to the empty string.
8091 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8092 Likewise.
8093
728dab0e
OB
80942013-11-07 Ondřej Bílka <neleai@seznam.cz>
8095
8096 [BZ #16055]
8097 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8098 when we match (nil).
8099 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8100
66294491
JM
81012013-11-16 Joseph Myers <joseph@codesourcery.com>
8102
ce665817
JM
8103 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8104 (NO_TEST_INLINE): Update value.
8105 (ERRNO_UNCHANGED): Likewise.
8106 (ERRNO_EDOM): Likewise.
8107 (ERRNO_ERANGE): Likewise.
8108 (IGNORE_RESULT): Likewise.
8109 (check_float_internal): Check signs of NaN results if
8110 TEST_NAN_SIGN used.
8111 (check_complex): Pass TEST_NAN_SIGN flag through to second
8112 check_float_internal call.
8113 (copysign_test_data): Add tests with quiet NaNs as second
8114 argument. Use TEST_NAN_SIGN.
8115 (fabs_test_data): Add test of negative quiet NaN argument. Use
8116 TEST_NAN_SIGN.
8117 (signbit_test_data): Add tests of quiet NaN argument.
8118 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8119
ee1466a9
JM
8120 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8121 $ignore_result.
8122 (parse_args): Handle function results specified as IGNORE.
8123 * math/libm-test.inc (IGNORE_RESULT): New macro.
8124 (check_float_internal): Do not check numerical result if flag
8125 IGNORE_RESULT set.
8126 (check_complex): Pass through IGNORE_RESULT to second
8127 check_float_internal call.
8128 (check_int): Do not check numerical result if flag IGNORE_RESULT
8129 set.
8130 (check_long): Likewise.
8131 (check_bool): Likewise.
8132 (check_longlong): Likewise.
8133 (lrint_test_data): Add tests of infinite and NaN arguments.
8134 (lrint_tonearest_test_data): Likewise.
8135 (lrint_towardzero_test_data): Likewise.
8136 (lrint_downward_test_data): Likewise.
8137 (lrint_upward_test_data): Likewise.
8138 (llrint_test_data): Likewise.
8139 (llrint_tonearest_test_data): Likewise.
8140 (llrint_towardzero_test_data): Likewise.
8141 (llrint_downward_test_data): Likewise.
8142 (llrint_upward_test_data): Likewise.
8143 (lround_test_data): Likewise.
8144 (llround_test_data): Likewise.
8145
14407b7e
JM
8146 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8147 (ERRNO_UNCHANGED): Update value.
8148 (ERRNO_EDOM): Likewise.
8149 (ERRNO_ERANGE): Likewise.
8150 (NO_TEST_INLINE_FLOAT): New macro.
8151 (NO_TEST_INLINE_DOUBLE): Likewise.
8152 (enable_test): New function.
8153 (RUN_TEST_f_f): Check enable_test before running test.
8154 (RUN_TEST_2_f): Likewise.
8155 (RUN_TEST_fff_f): Likewise.
8156 (RUN_TEST_c_f): Likewise.
8157 (RUN_TEST_f_f1): Likewise.
8158 (RUN_TEST_fF_f1): Likewise.
8159 (RUN_TEST_fI_f1): Likewise.
8160 (RUN_TEST_ffI_f1): Likewise.
8161 (RUN_TEST_c_c): Likewise.
8162 (RUN_TEST_cc_c): Likewise.
8163 (RUN_TEST_f_i): Likewise.
8164 (RUN_TEST_f_i_tg): Likewise.
8165 (RUN_TEST_ff_i_tg): Likewise.
8166 (RUN_TEST_f_b): Likewise.
8167 (RUN_TEST_f_b_tg): Likewise.
8168 (RUN_TEST_f_l): Likewise.
8169 (RUN_TEST_f_L): Likewise.
8170 (RUN_TEST_fFF_11): Likewise.
8171 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8172 conditionals.
8173 (cosh_test_data): Likewise.
8174 (exp_test_data): Likewise.
8175 (expm1_test_data): Likewise.
8176 (hypot_test_data): Likewise.
8177 (pow_test_data): Likewise.
8178 (sinh_test_data): Likewise.
8179 (tanh_test_data): Likewise.
8180 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8181 flags argument.
8182
ca07f197
JM
8183 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8184 tests with quiet NaN input and output.
8185 (acosh_test_data): Likewise.
8186 (asin_test_data): Likewise.
8187 (asinh_test_data): Likewise.
8188 (atan_test_data): Likewise.
8189 (atanh_test_data): Likewise.
8190 (atan2_test_data): Likewise.
8191 (cbrt_test_data): Likewise.
8192 (cos_test_data): Likewise.
8193 (cosh_test_data): Likewise.
8194 (erf_test_data): Likewise.
8195 (erfc_test_data): Likewise.
8196 (exp_test_data): Likewise.
8197 (exp10_test_data): Likewise.
8198 (exp2_test_data): Likewise.
8199 (expm1_test_data): Likewise.
8200 (hypot_test_data): Likewise.
8201 (j0_test_data): Likewise.
8202 (j1_test_data): Likewise.
8203 (jn_test_data): Likewise.
8204 (lgamma_test_data): Likewise.
8205 (log_test_data): Likewise.
8206 (log10_test_data): Likewise.
8207 (log1p_test_data): Likewise.
8208 (log2_test_data): Likewise.
8209 (pow_test_data): Likewise.
8210 (scalb_test_data): Likewise.
8211 (sin_test_data): Likewise.
8212 (sincos_test_data): Likewise.
8213 (sinh_test_data): Likewise.
8214 (tan_test_data): Likewise.
8215 (tanh_test_data): Likewise.
8216 (tgamma_test_data): Likewise.
8217 (y0_test_data): Likewise.
8218 (y1_test_data): Likewise.
8219 (yn_test_data): Likewise.
8220
66294491
JM
8221 [BZ #16167]
8222 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8223 argument being NaN and avoid computations with second argument in
8224 that case.
8225 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8226 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8227 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8228
1820b143
CL
82292013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8230
8231 * locale/iso-639.def: Add Chitwani Tharu (the).
8232
714bd261
AS
82332013-11-14 Andreas Schwab <schwab@suse.de>
8234
8235 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8236 word instead of empty string.
8237
7ab44563
AZ
82382013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8239
8240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8241 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8243 (__fe_nomask_env): Likewise.
8244
e8470ea2
SE
82452013-11-13 Steve Ellcey <sellcey@mips.com>
8246
8247 * benchtests/bench-timing.h: Include time.h.
8248
17c1d9f0
L
82492013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8250
8251 [BZ #15997]
8252 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8253 to 3.4.0 for x32.
8254 * sysdeps/unix/sysv/linux/configure: Regenerated.
8255
9310c284
JM
82562013-11-13 Joseph Myers <joseph@codesourcery.com>
8257
8258 [BZ #16151]
8259 * stdlib/strtod_l.c (round_and_return): Do not consider
8260 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8261 exponent one less than half the least subnormal exponent.
8262 * stdlib/test-strtod-round-data: Add more tests.
8263 * stdlib/tst-strtod-round.c (tests): Regenerated.
8264
7a2ad8cf
AZ
82652013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8266
8267 [BZ #14143]
8268 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8269 (__fe_mask_env): Likewise.
8270 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8271 libm_hidden_proto and add function prototype.
8272 (__fe_mask_env): Add function prototype.
8273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8274 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8276 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8278 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8279
50727aa7
MS
82802013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8281
b2f386c1 8282 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8283 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8284
a615be46
MS
82852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8286
8287 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8288 of htab_find_slot().
8289
7ddace62
DM
82902013-11-11 David S. Miller <davem@davemloft.net>
8291
8292 [BZ #16150]
8293 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8294 symbol in the non-vis3 case in static builds.
8295 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8296 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8297 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8298 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8299
9182aa67
JK
83002013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8301
8302 [BZ #387]
8303 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8304 it is empty.
8305
450a2e2d
AZ
83062013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8307
b2f386c1
SP
8308 * benchtests/Makefile: Add bench-strtod.
8309 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8310
8ec3f656
AS
83112013-11-11 Andreas Schwab <schwab@suse.de>
8312
8313 [BZ #16153]
8314 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8315 terminating NUL in key length.
8316
76a9b998
AZ
83172013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8318
8319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8320 Add artificial ODP entry for vDSO symbol for PPC64.
8321 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8322 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8323
e4368156
OB
83242013-11-07 Ondřej Bílka <neleai@seznam.cz>
8325
8326 [BZ #15374]
8327 * nss/getent.c (services_keys): Recognize services starting with digit.
8328
8d6bb57c
DM
83292013-11-06 David S. Miller <davem@davemloft.net>
8330
8331 [BZ #15985]
8332 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8333 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8334
e256c421
WN
83352013-11-06 Will Newton <will.newton@linaro.org>
8336
8337 * manual/memory.texi (Malloc Examples): Remove register
8338 keyword from examples.
8339
f6e12daa 83402013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8341
f6e12daa 8342 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8343
9d880655
AS
83442013-11-04 Joseph Myers <joseph@codesourcery.com>
8345
fd2f9486 8346 [BZ #6981]
9d880655
AS
8347 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8348 depending on [__GCC_IEC_559 > 0].
8349 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8350 depending on [__GCC_IEC_559_COMPLEX > 0].
8351
ae129d3c
CL
83522013-11-03 Chris Leonard <cjl@sugarlabs.org>
8353
8354 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8355 to iso-639.def.
8356
4a15c2a4 83572013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8358
8359 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8360
8b35e35d
OB
83612013-11-01 Ondřej Bílka <neleai@seznam.cz>
8362
8363 [BZ #16112]
8364 * malloc/malloc (malloc_info): Do not handle first bin as
8365 special case.
8366
1d70fd6c
CL
83672013-11-01 Chris Leonard <cjl@sugarlabs.org>
8368
8369 * locale/iso-639.def: Add Central Nahuatl (nhn).
8370
8c5c2600
BH
83712013-11-01 Bruno Haible <bruno@clisp.org>
8372
8373 [BZ #7003]
8374 * manual/math.texi (BSD Random): Specify range upper bound as
8375 in POSIX.
8376
da5579c2
CL
83772013-10-31 Chris Leonard <cjl@sugarlabs.org>
8378
8379 * locale/iso-639.def: Add Meadow Mari (mhr).
8380
5d30d853
OB
83812013-10-31 Ondřej Bílka <neleai@seznam.cz>
8382
8383 [BZ #14752], [BZ #15763]
8384 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8385 Validate name.
8386 * rt/tst_shm.c: Add test for escaping directory.
8387
a4966c61
AS
83882013-10-31 Andreas Schwab <schwab@suse.de>
8389
8a43e768 8390 [BZ #15917]
a4966c61
AS
8391 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8392 followed by 'x' as part of digit sequence.
8393 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8394
28d708c4
MAP
83952013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8396
8397 [BZ #16037]
8398 * configure.ac: allow GNU Make 4.0 and greater.
8399 * configure: Regenerated.
8400
a56ee40b
WN
84012013-10-30 Will Newton <will.newton@linaro.org>
8402
8403 [BZ #16038]
8404 * malloc/hooks.c (memalign_check): Limit alignment to the
8405 maximum representable power of two.
8406 * malloc/malloc.c (__libc_memalign): Likewise.
8407 * malloc/tst-memalign.c (do_test): Add test for very
8408 large alignment values.
8409 * malloc/tst-posix_memalign.c (do_test): Likewise.
8410
c6e4925d
OB
84112013-10-30 Ondřej Bílka <neleai@seznam.cz>
8412
8413 [BZ #11087]
8414 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8415 (munmap_chunk): Likewise.
8416 (mremap_chunk): Likewise.
8417
84182013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8419
8a43e768 8420 [BZ #15799]
bbea82f7
OB
8421 * stdlib/div.c (div): Remove obsolete code.
8422 * stdlib/ldiv.c (ldiv): Likewise.
8423 * stdlib/lldiv.c (lldiv): Likewise.
8424
977f4b31
SP
84252013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8426
8427 [BZ #16071]
8428 * nss/nss_files/files-XXX.c (get_contents_ret): New
8429 enumerator.
8430 (get_contents): New function.
8431 (internal_getent): Use it. Expand size of LINEBUFLEN.
8432
cb8a6dbd
MF
84332013-10-30 Mike Frysinger <vapier@gentoo.org>
8434
8435 * configure.in: Moved to ...
8436 * configure.ac: ... here. Change reference to configure.in
8437 to configure.ac.
8438 * sysdeps/arm/preconfigure.ac: ... here.
8439 configure.in to configure.ac.
8440 * sysdeps/gnu/configure.in: Moved to ...
8441 * sysdeps/gnu/configure.ac: ... here.
8442 * sysdeps/i386/configure.in: Moved to ...
8443 * sysdeps/i386/configure.ac: ... here.
8444 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8445 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8446 * sysdeps/mach/configure.in: Moved to ...
8447 * sysdeps/mach/configure.ac: ... here.
8448 * sysdeps/mach/hurd/configure.in: Moved to ...
8449 * sysdeps/mach/hurd/configure.ac: ... here.
8450 * sysdeps/powerpc/configure.in: Moved to ...
8451 * sysdeps/powerpc/configure.ac: ... here.
8452 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8453 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8454 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8455 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8456 * sysdeps/s390/s390-32/configure.in: Moved to ...
8457 * sysdeps/s390/s390-32/configure.ac: ... here.
8458 * sysdeps/s390/s390-64/configure.in: Moved to ...
8459 * sysdeps/s390/s390-64/configure.ac: ... here.
8460 * sysdeps/sh/configure.in: Moved to ...
8461 * sysdeps/sh/configure.ac: ... here.
8462 * sysdeps/sparc/configure.in: Moved to ...
8463 * sysdeps/sparc/configure.ac: ... here.
8464 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8465 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8466 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8467 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8468 * sysdeps/x86_64/configure.in: Moved to ...
8469 * sysdeps/x86_64/configure.ac: ... here.
8470 * sysdeps/x86_64/preconfigure.in: Moved to ...
8471 * sysdeps/x86_64/preconfigure.ac: ... here.
8472 * aclocal.m4: Change reference to configure.in to configure.ac.
8473 * config.h.in: Likewise.
8474 * manual/install.texi: Likewise.
8475 * manual/maint.texi: Likewise.
8476 * Makefile: Likewise.
8477 * malloc/Makefile: Likewise.
8478 * nscd/Makefile: Likewise.
8479 * Makeconfig: Change reference to configure.in and
8480 preconfigure.in to configure.ac and preconfigure.ac
8481 respectively.
8482 * INSTALL: Regenerated.
8483 * configure: Likewise.
8484 * sysdeps/gnu/configure: Likewise.
8485 * sysdeps/i386/configure: Likewise.
8486 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8487 * sysdeps/mach/configure: Likewise.
8488 * sysdeps/mach/hurd/configure: Likewise.
8489 * sysdeps/powerpc/configure: Likewise.
8490 * sysdeps/powerpc/powerpc32/configure: Likewise.
8491 * sysdeps/powerpc/powerpc64/configure: Likewise.
8492 * sysdeps/s390/s390-32/configure: Likewise.
8493 * sysdeps/s390/s390-64/configure: Likewise.
8494 * sysdeps/sh/configure: Likewise.
8495 * sysdeps/sparc/configure: Likewise.
8496 * sysdeps/unix/sysv/linux/configure: Likewise.
8497 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8498 * sysdeps/x86_64/configure: Likewise.
8499 * sysdeps/x86_64/preconfigure: Likewise.
8500
36a4953a
AS
85012013-10-29 Andreas Schwab <schwab@suse.de>
8502
8503 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8504
c79a1204
SP
85052013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8506
dfa1b402
SP
8507 * benchtests/pow-inputs: Add new inputs.
8508
54f73d9c
SP
8509 * benchtests/exp-inputs: Add new inputs.
8510
c79a1204
SP
8511 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8512 conditional check for return value.
8513 (__cos32): Likewise.
8514
67beb545 85152013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8516
8517 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8518 to provide a boost for large inputs with word alignment.
8519 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8520 implementation based on optimized PPC64 strcpy.
8521 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8522 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8523 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8524 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8525
151659f6
OB
85262013-10-25 Ondřej Bílka <neleai@seznam.cz>
8527
482a077e 8528 [BZ #2801]
151659f6
OB
8529 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8530
10b0f26b
OB
85312013-10-25 Ondřej Bílka <neleai@seznam.cz>
8532
8533 [BZ #14876]
8534 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8535 * time/tst-strptime.c (day_tests): Add testcase.
8536
ca42d35e
OB
85372013-10-25 Ondřej Bílka <neleai@seznam.cz>
8538
482a077e 8539 [BZ #14029]
ca42d35e
OB
8540 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8541
52e6d801
FB
85422013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8543
8544 [BZ #16074]
8545 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8546 MAP_FAILED on error.
8547
7cbcdb36
SP
85482013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8549
8550 [BZ #16072]
8551 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8552 heap for large requests.
8553
894f3f10
AM
85542013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8555
8556 [BZ #9954]
8557 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8558 result if the result has no associated interface.
8559 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8560 interface for all 127.X.Y.Z addresses.
8561
b85545a6
CL
85622013-10-24 Chris Leonard <cjl@sugarlabs.org>
8563
8564 * locale/iso-639.def: Add Ligurian (lij)
8565
d1f23d46
OB
85662013-10-21 Ondřej Bílka <neleai@seznam.cz>
8567
8568 [BZ #15825]
8569 * sunrpc/rpc_main.c: Document rpcgen -5.
8570
4db5b08f
MS
85712013-10-19 Michael Stahl <mstahl@redhat.com>
8572
8573 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8574
a471e96a
OB
85752013-10-19 Ondřej Bílka <neleai@seznam.cz>
8576
d1f23d46 8577 [BZ #10278]
a471e96a
OB
8578 * posix/glob.c: Match only directories when trailing slash is present.
8579 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8580 (main): Add testcase.
8581
45c30c61
OB
85822013-10-19 Ondřej Bílka <neleai@seznam.cz>
8583
8584 [BZ #15670]
8585 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8586
484c12fb
CD
85872013-10-18 Carlos O'Donell <carlos@redhat.com>
8588
3d7dc513
CD
8589 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8590 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8591 AUTH_DES and cindex for FIPS 140-2.
8592 (DES Encryption): Add cindex FIPS 46-3.
8593
484c12fb
CD
8594 * locale/locarchive.h (struct locarhandle): Add fname.
8595 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8596 if an optional argument was specified to --list-archive,
8597 otherwise NULL.
8598 * locale/programs/locarchive.c (show_archive_content): Take new
8599 argument fname and pass it via ah.fname to open_archive.
8600 * locale/programs/localedef.h: Update decl.
8601 (open_archive): If AH->fname is non-null, open that file
8602 rather than the default file name, and don't ignore ENOENT.
8603 (create_archive): Set AH.fname to NULL.
8604 (delete_locales_from_archive): Likewise.
8605 (add_locales_to_archive): Likewise.
8606 * locale/programs/locfile.c (write_all_categories): Likewise.
8607
3c8325fb
JM
86082013-10-18 Joseph Myers <joseph@codesourcery.com>
8609 Aldy Hernandez <aldyh@redhat.com>
8610
8611 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8612 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8613 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8614 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8615 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8616 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8618 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8619 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8620 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8621 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8622 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8623 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8624 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8625 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8626 Likewise.
8627 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8628 Likewise.
8629 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8630 Likewise.
8631 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8632 Likewise.
8633 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8634 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8635 Likewise.
8636 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8637 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8638 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8639 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8640 Likewise.
8641 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8642 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8643 * sysdeps/powerpc/preconfigure: Likewise.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8645 Likewise.
8646 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8647 Replace contents of file by #include of <fenv_libc.h>.
8648 * sysdeps/powerpc/soft-fp/sfp-machine.h
8649 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8650 and <sys/prctl.h>.
8651 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8664 Allow copysignl PLT reference to be missing.
8665
5abe0682
RS
86662013-10-18 Richard Sandiford <richard@codesourcery.com>
8667 Joseph Myers <joseph@codesourcery.com
8668
8669 [BZ #15948]
8670 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8671 single character.
8672 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8673
c7738d08
SP
86742013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8675
8676 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8677 * elf/tst-tls1.c: Likewise.
8678 * elf/tst-tls10.h: Likewise.
8679 * elf/tst-tls14.c: Likewise.
8680 * elf/tst-tls2.c: Likewise.
8681 * elf/tst-tls3.c: Likewise.
8682 * elf/tst-tls4.c: Likewise.
8683 * elf/tst-tls5.c: Likewise.
8684 * elf/tst-tls6.c: Likewise.
8685 * elf/tst-tls7.c: Likewise.
8686 * elf/tst-tls8.c: Likewise.
8687 * elf/tst-tls9.c: Likewise.
8688 * elf/tst-tlsmod1.c: Likewise.
8689 * elf/tst-tlsmod13.c: Likewise.
8690 * elf/tst-tlsmod13a.c: Likewise.
8691 * elf/tst-tlsmod14a.c: Likewise.
8692 * elf/tst-tlsmod16a.c: Likewise.
8693 * elf/tst-tlsmod16b.c: Likewise.
8694 * elf/tst-tlsmod2.c: Likewise.
8695 * elf/tst-tlsmod3.c: Likewise.
8696 * elf/tst-tlsmod4.c: Likewise.
8697 * elf/tst-tlsmod5.c: Likewise.
8698 * elf/tst-tlsmod6.c: Likewise.
8699
0bfcf2c7
OB
87002013-10-18 Ondřej Bílka <neleai@seznam.cz>
8701
8702 [BZ #12486]
8703 * malloc/malloc.c: remove checks for statistics.
8704
264aad1e
OB
87052013-10-17 Ondřej Bílka <neleai@seznam.cz>
8706
8707 [BZ #15277]
8708 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8709 * inet/tst-network.c: Add testcase.
8710
b957ced8
AS
87112013-10-17 Andreas Schwab <schwab@suse.de>
8712
8713 [BZ #15218]
8714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8715 to determine canonical name.
8716
c5d5d574
OB
87172013-10-17 Ondřej Bílka <neleai@seznam.cz>
8718
8719 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8720 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8743 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8744 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8777
e5c2c2d0
JM
87782013-10-17 Joseph Myers <joseph@codesourcery.com>
8779
8780 [BZ #16041]
8781 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8782 make result into a quiet NaN.
8783
51ca9e29
JM
87842013-10-16 Joseph Myers <joseph@codesourcery.com>
8785
8786 * soft-fp/adddf3.c: Fix horizontal whitespace.
8787 * soft-fp/addsf3.c: Likewise.
8788 * soft-fp/addtf3.c: Likewise.
8789 * soft-fp/divdf3.c: Likewise.
8790 * soft-fp/divsf3.c: Likewise.
8791 * soft-fp/divtf3.c: Likewise.
8792 * soft-fp/double.h: Likewise.
8793 * soft-fp/eqdf2.c: Likewise.
8794 * soft-fp/eqsf2.c: Likewise.
8795 * soft-fp/eqtf2.c: Likewise.
8796 * soft-fp/extenddftf2.c: Likewise.
8797 * soft-fp/extended.h: Likewise.
8798 * soft-fp/extendsfdf2.c: Likewise.
8799 * soft-fp/extendsftf2.c: Likewise.
8800 * soft-fp/extendxftf2.c: Likewise.
8801 * soft-fp/fixdfdi.c: Likewise.
8802 * soft-fp/fixdfsi.c: Likewise.
8803 * soft-fp/fixdfti.c: Likewise.
8804 * soft-fp/fixsfdi.c: Likewise.
8805 * soft-fp/fixsfsi.c: Likewise.
8806 * soft-fp/fixsfti.c: Likewise.
8807 * soft-fp/fixtfdi.c: Likewise.
8808 * soft-fp/fixtfsi.c: Likewise.
8809 * soft-fp/fixtfti.c: Likewise.
8810 * soft-fp/fixunsdfdi.c: Likewise.
8811 * soft-fp/fixunsdfsi.c: Likewise.
8812 * soft-fp/fixunsdfti.c: Likewise.
8813 * soft-fp/fixunssfdi.c: Likewise.
8814 * soft-fp/fixunssfsi.c: Likewise.
8815 * soft-fp/fixunssfti.c: Likewise.
8816 * soft-fp/fixunstfdi.c: Likewise.
8817 * soft-fp/fixunstfsi.c: Likewise.
8818 * soft-fp/fixunstfti.c: Likewise.
8819 * soft-fp/floatdidf.c: Likewise.
8820 * soft-fp/floatdisf.c: Likewise.
8821 * soft-fp/floatditf.c: Likewise.
8822 * soft-fp/floatsidf.c: Likewise.
8823 * soft-fp/floatsisf.c: Likewise.
8824 * soft-fp/floatsitf.c: Likewise.
8825 * soft-fp/floattidf.c: Likewise.
8826 * soft-fp/floattisf.c: Likewise.
8827 * soft-fp/floattitf.c: Likewise.
8828 * soft-fp/floatundidf.c: Likewise.
8829 * soft-fp/floatundisf.c: Likewise.
8830 * soft-fp/floatunditf.c: Likewise.
8831 * soft-fp/floatunsidf.c: Likewise.
8832 * soft-fp/floatunsisf.c: Likewise.
8833 * soft-fp/floatunsitf.c: Likewise.
8834 * soft-fp/floatuntidf.c: Likewise.
8835 * soft-fp/floatuntisf.c: Likewise.
8836 * soft-fp/floatuntitf.c: Likewise.
8837 * soft-fp/fmadf4.c: Likewise.
8838 * soft-fp/fmasf4.c: Likewise.
8839 * soft-fp/fmatf4.c: Likewise.
8840 * soft-fp/gedf2.c: Likewise.
8841 * soft-fp/gesf2.c: Likewise.
8842 * soft-fp/getf2.c: Likewise.
8843 * soft-fp/ledf2.c: Likewise.
8844 * soft-fp/lesf2.c: Likewise.
8845 * soft-fp/letf2.c: Likewise.
8846 * soft-fp/muldf3.c: Likewise.
8847 * soft-fp/mulsf3.c: Likewise.
8848 * soft-fp/multf3.c: Likewise.
8849 * soft-fp/negdf2.c: Likewise.
8850 * soft-fp/negsf2.c: Likewise.
8851 * soft-fp/negtf2.c: Likewise.
8852 * soft-fp/op-1.h: Likewise.
8853 * soft-fp/op-2.h: Likewise.
8854 * soft-fp/op-4.h: Likewise.
8855 * soft-fp/op-8.h: Likewise.
8856 * soft-fp/op-common.h: Likewise.
8857 * soft-fp/quad.h: Likewise.
8858 * soft-fp/single.h: Likewise.
8859 * soft-fp/soft-fp.h: Likewise.
8860 * soft-fp/sqrtdf2.c: Likewise.
8861 * soft-fp/sqrtsf2.c: Likewise.
8862 * soft-fp/sqrttf2.c: Likewise.
8863 * soft-fp/subdf3.c: Likewise.
8864 * soft-fp/subsf3.c: Likewise.
8865 * soft-fp/subtf3.c: Likewise.
8866 * soft-fp/truncdfsf2.c: Likewise.
8867 * soft-fp/trunctfdf2.c: Likewise.
8868 * soft-fp/trunctfsf2.c: Likewise.
8869 * soft-fp/trunctfxf2.c: Likewise.
8870 * soft-fp/unorddf2.c: Likewise.
8871 * soft-fp/unordsf2.c: Likewise.
8872 * soft-fp/unordtf2.c: Likewise.
8873
9ebb0332
JM
88742013-10-15 Joseph Myers <joseph@codesourcery.com>
8875
8876 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8877 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8878
4b1a6d8b
OB
88792013-10-15 Ondřej Bílka <neleai@seznam.cz>
8880
8881 * elf/dl-libc.c: Clear initfini list after freeing.
8882
1e145589
JM
88832013-10-14 Joseph Myers <joseph@codesourcery.com>
8884
8885 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8886 * soft-fp/addsf3.c: Likewise.
8887 * soft-fp/addtf3.c: Likewise.
8888 * soft-fp/divdf3.c: Likewise.
8889 * soft-fp/divsf3.c: Likewise.
8890 * soft-fp/divtf3.c: Likewise.
8891 * soft-fp/double.h: Likewise.
8892 * soft-fp/eqdf2.c: Likewise.
8893 * soft-fp/eqsf2.c: Likewise.
8894 * soft-fp/eqtf2.c: Likewise.
8895 * soft-fp/extenddftf2.c: Likewise.
8896 * soft-fp/extended.h: Likewise.
8897 * soft-fp/extendsfdf2.c: Likewise.
8898 * soft-fp/extendsftf2.c: Likewise.
8899 * soft-fp/extendxftf2.c: Likewise.
8900 * soft-fp/fixdfdi.c: Likewise.
8901 * soft-fp/fixdfsi.c: Likewise.
8902 * soft-fp/fixdfti.c: Likewise.
8903 * soft-fp/fixsfdi.c: Likewise.
8904 * soft-fp/fixsfsi.c: Likewise.
8905 * soft-fp/fixsfti.c: Likewise.
8906 * soft-fp/fixtfdi.c: Likewise.
8907 * soft-fp/fixtfsi.c: Likewise.
8908 * soft-fp/fixtfti.c: Likewise.
8909 * soft-fp/fixunsdfdi.c: Likewise.
8910 * soft-fp/fixunsdfsi.c: Likewise.
8911 * soft-fp/fixunsdfti.c: Likewise.
8912 * soft-fp/fixunssfdi.c: Likewise.
8913 * soft-fp/fixunssfsi.c: Likewise.
8914 * soft-fp/fixunssfti.c: Likewise.
8915 * soft-fp/fixunstfdi.c: Likewise.
8916 * soft-fp/fixunstfsi.c: Likewise.
8917 * soft-fp/fixunstfti.c: Likewise.
8918 * soft-fp/floatdidf.c: Likewise.
8919 * soft-fp/floatdisf.c: Likewise.
8920 * soft-fp/floatditf.c: Likewise.
8921 * soft-fp/floatsidf.c: Likewise.
8922 * soft-fp/floatsisf.c: Likewise.
8923 * soft-fp/floatsitf.c: Likewise.
8924 * soft-fp/floattidf.c: Likewise.
8925 * soft-fp/floattisf.c: Likewise.
8926 * soft-fp/floattitf.c: Likewise.
8927 * soft-fp/floatundidf.c: Likewise.
8928 * soft-fp/floatundisf.c: Likewise.
8929 * soft-fp/floatunsidf.c: Likewise.
8930 * soft-fp/floatunsisf.c: Likewise.
8931 * soft-fp/floatuntidf.c: Likewise.
8932 * soft-fp/floatuntisf.c: Likewise.
8933 * soft-fp/floatuntitf.c: Likewise.
8934 * soft-fp/fmadf4.c: Likewise.
8935 * soft-fp/fmasf4.c: Likewise.
8936 * soft-fp/fmatf4.c: Likewise.
8937 * soft-fp/gedf2.c: Likewise.
8938 * soft-fp/gesf2.c: Likewise.
8939 * soft-fp/getf2.c: Likewise.
8940 * soft-fp/ledf2.c: Likewise.
8941 * soft-fp/lesf2.c: Likewise.
8942 * soft-fp/letf2.c: Likewise.
8943 * soft-fp/muldf3.c: Likewise.
8944 * soft-fp/mulsf3.c: Likewise.
8945 * soft-fp/multf3.c: Likewise.
8946 * soft-fp/negdf2.c: Likewise.
8947 * soft-fp/negsf2.c: Likewise.
8948 * soft-fp/negtf2.c: Likewise.
8949 * soft-fp/op-1.h: Likewise.
8950 * soft-fp/op-2.h: Likewise.
8951 * soft-fp/op-4.h: Likewise.
8952 * soft-fp/op-8.h: Likewise.
8953 * soft-fp/op-common.h: Likewise.
8954 * soft-fp/quad.h: Likewise.
8955 * soft-fp/single.h: Likewise.
8956 * soft-fp/soft-fp.h: Likewise.
8957 * soft-fp/sqrtdf2.c: Likewise.
8958 * soft-fp/sqrtsf2.c: Likewise.
8959 * soft-fp/sqrttf2.c: Likewise.
8960 * soft-fp/subdf3.c: Likewise.
8961 * soft-fp/subsf3.c: Likewise.
8962 * soft-fp/subtf3.c: Likewise.
8963 * soft-fp/truncdfsf2.c: Likewise.
8964 * soft-fp/trunctfdf2.c: Likewise.
8965 * soft-fp/trunctfsf2.c: Likewise.
8966 * soft-fp/trunctfxf2.c: Likewise.
8967 * soft-fp/unorddf2.c: Likewise.
8968 * soft-fp/unordsf2.c: Likewise.
8969 * soft-fp/unordtf2.c: Likewise.
8970
17c48a60
OB
89712013-10-14 Ondřej Bílka <neleai@seznam.cz>
8972
8973 [BZ #15672]
8974 * misc/error.c (error_tail): Fix possible buffer overflow.
8975
cabba934
OB
89762013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8977
8978 [BZ #13028]
8979 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8980 address.
8981
94bf958a
PM
89822013-10-14 P. J. McDermott <pj@pehjota.net>
8983
8984 [BZ #832]
8985 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8986 testing pipefail option.
8987
71b4dea7
JM
89882013-10-12 Joseph Myers <joseph@codesourcery.com>
8989
8990 * soft-fp/double.h: Indent preprocessor directives inside #if.
8991 * soft-fp/extended.h: Likewise.
8992 * soft-fp/op-2.h: Likewise.
8993 * soft-fp/op-4.h: Likewise.
8994 * soft-fp/op-common.h: Likewise.
8995 * soft-fp/quad.h: Likewise.
8996 * soft-fp/single.h: Likewise.
8997 * soft-fp/soft-fp.h: Likewise.
8998
55602758
YC
89992013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9000
9001 * iconv/iconv_prog.c: Fix typos.
9002 * stdio-common/psiginfo-data.h: Likewise.
9003
9cd83302
RT
90042013-10-12 Reuben Thomas <rrt@sc3d.org>
9005
9006 [BZ #15764]
9007 * locale/setlocale.c: Fix typo.
9008
99fd9f47
JM
90092013-10-12 Joseph Myers <joseph@codesourcery.com>
9010
b7ea74f0
JM
9011 [BZ #16036]
9012 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9013 signaling NaN arguments.
9014 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9015 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9016
8a509447
JM
9017 [BZ #14910]
9018 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9019 unordered operands.
9020 * soft-fp/gesf2.c (__gesf2): Likewise.
9021 * soft-fp/getf2.c (__getf2): Likewise.
9022 * soft-fp/ledf2.c (__ledf2): Likewise.
9023 * soft-fp/lesf2.c (__lesf2): Likewise.
9024 * soft-fp/letf2.c (__letf2): Likewise.
9025
98998e9f
JM
9026 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9027 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9028 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9029 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9030 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9031 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9032 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9033 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9034 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9035 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9036 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9037 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9038 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9039 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9040 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9041 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9042 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9043 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9044 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9045 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9046 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9047 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9048 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9049 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9050 * soft-fp/floattidf.c (__floattidf): Likewise.
9051 * soft-fp/floattisf.c (__floattisf): Likewise.
9052 * soft-fp/floattitf.c (__floattitf): Likewise.
9053 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9054 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9055 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9056 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9057 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9058 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9059 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9060 * soft-fp/gesf2.c (__gesf2): Likewise.
9061 * soft-fp/getf2.c (__getf2): Likewise.
9062 * soft-fp/ledf2.c (__ledf2): Likewise.
9063 * soft-fp/lesf2.c (__lesf2): Likewise.
9064 * soft-fp/letf2.c (__letf2): Likewise.
9065
8edc4a11
JM
9066 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9067 Undefine and redefine.
9068 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9069 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9070 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9071 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9072 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9073 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9074 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9075 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9076 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9077 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9078 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9079 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9080 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9081 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9082 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9083
8399acaf
JM
9084 [BZ #16032]
9085 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9086 without decrementing exponent if mantissa >= that for the
9087 denominator, not >.
9088 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9089 denominator, not >. Decrement exponent in < case instead of
9090 incrementing in >= case.
9091 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9092 without decrementing exponent if mantissa >= that for the
9093 denominator, not >.
9094
99fd9f47
JM
9095 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9096 computing saturated result for unsigned overflow.
9097
10e1cf6b
SP
90982013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9099 Jeff Law <law@redhat.com>
9100
9101 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9102 (atan2Mp): Add systemtap probe marker.
9103 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9104 (__ieee754_log): Add systemtap probe marker.
9105 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9106 (atanMp): Add systemtap probe marker.
9107 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9108 (tanMp): Add systemtap probe marker.
9109 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9110 (__slowexp): Add systemtap probe marker.
9111 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9112 (__slowpow): Add systemtap probe marker.
9113 * manual/probes.texi: Document probes.
9114
3d110c7c
EB
91152013-10-11 Eric Biggers <ebiggers3@gmail.com>
9116
9117 [BZ #15362]
9118 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9119 written.
9120 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9121 written.
9122 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9123 written to buffer but not flushed.
9124 * libio/iofwrite_u.c: Likewise.
9125 * libio/iopadn.c: Return bytes returned even if EOF was
9126 encountered.
9127 * libio/iowpadn.c: Likewise.
9128 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9129 if _IO_padn does not write the whole buffer.
9130 [!COMPILE_WPRINTF] (PAD): Likewise.
9131
75b4202a
DM
91322013-10-10 David S. Miller <davem@davemloft.net>
9133
9134 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9135 directory block.
9136
6c6352e6
JM
91372013-10-10 Joseph Myers <joseph@codesourcery.com>
9138
33b853c3
JM
9139 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9140 instead of FSF address.
9141 * soft-fp/fixdfti.c: Likewise.
9142 * soft-fp/fixsfti.c: Likewise.
9143 * soft-fp/fixtfti.c: Likewise.
9144 * soft-fp/fixunsdfti.c: Likewise.
9145 * soft-fp/fixunssfti.c: Likewise.
9146 * soft-fp/fixunstfti.c: Likewise.
9147 * soft-fp/floattidf.c: Likewise.
9148 * soft-fp/floattisf.c: Likewise.
9149 * soft-fp/floattitf.c: Likewise.
9150 * soft-fp/floatuntidf.c: Likewise.
9151 * soft-fp/floatuntisf.c: Likewise.
9152 * soft-fp/floatuntitf.c: Likewise.
9153 * soft-fp/trunctfxf2.c: Likewise.
9154
6c6352e6
JM
9155 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9156 * soft-fp/fixdfti.c: Likewise.
9157 * soft-fp/fixsfti.c: Likewise.
9158 * soft-fp/fixtfti.c: Likewise.
9159 * soft-fp/fixunsdfti.c: Likewise.
9160 * soft-fp/fixunssfti.c: Likewise.
9161 * soft-fp/fixunstfti.c: Likewise.
9162 * soft-fp/floattidf.c: Likewise.
9163 * soft-fp/floattisf.c: Likewise.
9164 * soft-fp/floattitf.c: Likewise.
9165 * soft-fp/floatuntidf.c: Likewise.
9166 * soft-fp/floatuntisf.c: Likewise.
9167 * soft-fp/floatuntitf.c: Likewise.
9168 * soft-fp/trunctfxf2.c: Likewise.
9169
3bf78b71
DM
91702013-10-10 David S. Miller <davem@davemloft.net>
9171
9172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9173
6f10289e
JM
91742013-10-10 Joseph Myers <joseph@codsourcery.com>
9175
bd878fc0
JM
9176 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9177 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9178 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9179 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9180 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9181 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9182 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9183
6f10289e
JM
9184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9185 for NaNs before doing comparisons on argument.
9186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9187 Likewise.
9188
321e2684
WN
91892013-10-10 Will Newton <will.newton@linaro.org>
9190
9191 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9192 passed to _int_memalign does not overflow.
9193
40fefba1
TR
91942013-10-10 Torvald Riegel <triegel@redhat.com>
9195
9196 * scripts/bench.pl: Add include-sources directive.
9197 * benchtests/README: Update documentation.
9198
2ae21ed2
JM
91992013-10-10 Joseph Myers <joseph@codesourcery.com>
9200
dcc2dd3f
JM
9201 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9202 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9203 instead of FP_INIT_ROUNDMODE.
9204 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9205 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9206
2ae21ed2
JM
9207 [BZ #16034]
9208 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9209 copy class of input value.
9210 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9211 not handle exceptions.
9212 * soft-fp/negsf2.c (__negsf2): Likewise.
9213 * soft-fp/negtf2.c (__negtf2): Likewise.
9214 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9215
cb8f9562
JM
92162013-10-09 Joseph Myers <joseph@codesourcery.com>
9217
9218 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9219 semicolon. From Linux kernel.
9220
5b60c59d
AB
92212013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9222
9223 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9224
b86835ca
YC
92252013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9226
9227 [BZ #156]
9228 * manual/socket.texi: Added statement about buffer
9229 for gethostbyname2_r.
9230
e7044ea7
OB
92312013-10-08 Ondřej Bílka <neleai@seznam.cz>
9232
9233 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9234 Use .p2align directive instead, throughout.
9235 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9236 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9237 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9239 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9240 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9241 * sysdeps/x86_64/strchr.S: Likewise.
9242 * sysdeps/x86_64/strrchr.S: Likewise.
9243
09544cbc
SP
92442013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9245
88576635
SP
9246 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9247
e7b2d1dd
SP
9248 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9249
09544cbc
SP
9250 * sysdeps/generic/math_private.h (__mpsin1): Remove
9251 declaration.
9252 (__mpcos1): Likewise.
9253 (__mpsin): New argument __range_reduce.
9254 (__mpcos): Likewise.
9255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9256 (slow): Use __mpsin and __mpcos.
9257 (slow1): Likewise.
9258 (slow2): Likewise.
9259 (sloww): Likewise.
9260 (sloww1): Likewise.
9261 (sloww2): Likewise.
9262 (bsloww): Likewise.
9263 (bsloww1): Likewise.
9264 (bsloww2): Likewise.
9265 (cslow2): Likewise.
9266 (csloww): Likewise.
9267 (csloww1): Likewise.
9268 (csloww2): Likewise.
9269 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9270 range_reduce. Merge in __mpsin1.
9271 (__mpcos): Likewise.
9272 (__mpsin1): Remove.
9273 (__mpcos1): Likewise.
9274
7602d070
JM
92752013-10-07 Joseph Myers <joseph@codesourcery.com>
9276
9277 * locale/loadlocale.c (_nl_intern_locale_data): Use
9278 LOCFILE_ALIGNED_P.
9279 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9280 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9281 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9282 obstack data is appropriately aligned.
9283 (obstack_int32_grow_fast): Likewise.
9284 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9285 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9286 (add_locale_uint32_array): Likewise.
9287
a357259b
SP
92882013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9289
9290 * benchtests/Makefile: Remove ARGLIST and RET variables.
9291 ($(objpfx)bench-%.c): Pass only function name to the script.
9292 * benchtests/README: Update documentation.
9293 * benchtests/acos-inputs: Add new directives.
9294 * benchtests/acosh-inputs: Likewise.
9295 * benchtests/asin-inputs: Likewise.
9296 * benchtests/asinh-inputs: Likewise.
9297 * benchtests/atan-inputs: Likewise.
9298 * benchtests/atanh-inputs: Likewise.
9299 * benchtests/cos-inputs: Likewise.
9300 * benchtests/cosh-inputs: Likewise.
9301 * benchtests/exp-inputs: Likewise.
9302 * benchtests/log-inputs: Likewise.
9303 * benchtests/pow-inputs: Likewise.
9304 * benchtests/rint-inputs: Likewise.
9305 * benchtests/sin-inputs: Likewise.
9306 * benchtests/sinh-inputs: Likewise.
9307 * benchtests/tan-inputs: Likewise.
9308 * benchtests/tanh-inputs: Likewise.
9309 * scripts/bench.pl: Add support for new directives.
9310
9ec1b13d
AM
93112013-10-07 Alan Modra <amodra@gmail.com>
9312
9313 * README: Fix careless merge.
9314
8b7d57cd
AM
93152013-10-05 Alan Modra <amodra@gmail.com>
9316
9317 * NEWS: Mention powerpc64le support and bugs fixed.
9318 * README: Both big-endian and little-endian powerpc64 supported.
9319
7b7bab13
ST
93202013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9321
9322 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9323 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9324 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9325 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9326
d39baad1
RA
93272013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9328
9329 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9330 match prototype.
9331
cd78f7e7
JM
93322013-10-04 Joseph Myers <joseph@codesourcery.com>
9333
29d73d86
JM
9334 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9335 Move -mhard-float appending from
9336 ports/sysdeps/powerpc/powerpc32/Makefile.
9337 [$(with-fp) = yes] (ASFLAGS): Likewise.
9338 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9339 * sysdeps/powerpc/nofpu: Move directory from
9340 ports/sysdeps/powerpc/nofpu.
9341 * sysdeps/powerpc/soft-fp: Move directory from
9342 ports/sysdeps/powerpc/soft-fp.
9343 * sysdeps/powerpc/powerpc32/405: Move directory from
9344 ports/sysdeps/powerpc/powerpc32/405.
9345 * sysdeps/powerpc/powerpc32/440: Move directory from
9346 ports/sysdeps/powerpc/powerpc32/440.
9347 * sysdeps/powerpc/powerpc32/464: Move directory from
9348 ports/sysdeps/powerpc/powerpc32/464.
9349 * sysdeps/powerpc/powerpc32/476: Move directory from
9350 ports/sysdeps/powerpc/powerpc32/476.
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9352 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9354 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9356 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9358 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9360 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9361 * README: Update for powerpc-*-linux-gnu software floating point
9362 support in libc.
9363
e246b347
JM
9364 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9365 case to powerpc/powerpc32*.
9366 * sysdeps/unix/sysv/linux/configure: Regenerated.
9367
89c2003e
JM
9368 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9369 (_FPU_MASK_OM): Define as 0x04.
9370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9372 0x00c10080.
9373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9374 0x0000003c.
9375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9376
cd78f7e7
JM
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9378 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9379 getcontext_e500.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9381 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9382 setcontext_e500.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9384 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9385 and setcontext_e500.
9386
c755294d
CL
93872013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9388
9389 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9390
e16d221c
SP
93912013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9392
9393 * manual/threads.texi (Default Thread Attributes): Fix typo.
9394
215c7d43
WN
93952013-10-04 Will Newton <will.newton@linaro.org>
9396
9397 * malloc/Makefile: Add tst-memalign.
9398 * malloc/tst-memalign.c: New file.
9399
27d0461b
WN
9400 * malloc/tst-posix_memalign.c: Add comments.
9401 (do_test): Add comments and call free on all potentially
9402 allocated pointers. Add space after cast.
9403
1bc92709
WN
9404 * malloc/tst-pvalloc.c: Add comments.
9405 (do_test): Add comments and call free on all potentially
9406 allocated pointers. Remove duplicate check for NULL pointer.
9407 Add space after cast.
9408
66a9be9d
WN
9409 * malloc/tst-valloc.c: Add comments.
9410 (do_test): Add comments and call free on all potentially
9411 allocated pointers. Remove duplicate check for NULL pointer.
9412 Add space after cast.
9413
4cb81307
AM
94142013-10-04 Alan Modra <amodra@gmail.com>
9415
9416 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9417 Use stdint types in rather than __attribute__((mode())).
9418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9419
f8e3e9f3
AM
94202013-10-04 Alan Modra <amodra@gmail.com>
9421
9422 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9423 Correct handling of unaligned relocs for little-endian.
9424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9425
8f9ebb08
AM
94262013-10-04 Alan Modra <amodra@gmail.com>
9427
9428 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9429 * configure: Regenerate.
9430 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9431 * shlib-versions: Likewise.
9432
0edf96c2
AM
94332013-10-04 Alan Modra <amodra@gmail.com>
9434
9435 * string/tester.c (test_memrchr): Increment reported test cycle.
9436
e0f7a380
AM
94372013-10-04 Alan Modra <amodra@gmail.com>
9438
9439 * string/test-memcpy.c (do_one_test): When reporting errors, print
9440 string address and don't overrun end of string.
9441
466b0393
AM
94422013-10-04 Alan Modra <amodra@gmail.com>
9443
9444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9445 insrdi. Make better use of reg selection to speed exit slightly.
9446 Schedule entry path a little better. Remove useless "are we done"
9447 checks on entry to main loop. Handle wrapping around zero address.
9448 Correct main loop count. Handle single left-over word from main
9449 loop inline rather than by using loop_small. Remove extra word
9450 case in loop_small caused by wrong loop count. Add little-endian
9451 support.
9452 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9454 cache hint.
9455 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9457 support. Avoid rlwimi.
9458 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9459
3be87c77
AM
94602013-10-04 Alan Modra <amodra@gmail.com>
9461
9462 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9463 insrdi. Formatting.
3be87c77
AM
9464 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9466 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9467 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9468 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9469 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9470
759cfef3
AM
94712013-10-04 Alan Modra <amodra@gmail.com>
9472
9473 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9474 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9475 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9476 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9477 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9478 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9479 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9480 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9482 use of regs. Use power7 mtocrf. Tidy function tails.
9483
fe6e95d7
AM
94842013-10-04 Alan Modra <amodra@gmail.com>
9485
9486 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9487 Formatting. Consistently use rXXX register defines or rN defines.
9488 Use early exit labels that avoid restoring unused non-volatile regs.
9489 Make cr field use more consistent with rWORDn compares. Rename
9490 regs used as shift registers for unaligned loop, using rN defines
9491 for short lifetime/multiple use regs.
9492 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9493 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9494 addi 1,1,64 to pop stack frame. Simplify return value code.
9495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9496
664318c3
AM
94972013-10-04 Alan Modra <amodra@gmail.com>
9498
9499 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9500 support. Correct typos, formatting. Optimize tail. Use insrdi
9501 rather than rlwimi.
9502 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9503 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9504 little-endian support. Correct typos.
9505 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9506 rather than rlwimi.
9507 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9508 in loop and entry code to keep "and." results.
9509 (strchr): Add little-endian support. Comment. Move cntlzd
9510 earlier in tail.
9511 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9512
43b84013
AM
95132013-10-04 Alan Modra <amodra@gmail.com>
9514
9515 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9516 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9517 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9518 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9519
8a7413f9
AM
95202013-10-04 Alan Modra <amodra@gmail.com>
9521
9522 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9523 (rTMP): Define as r11.
9524 (strcmp): Add little-endian support. Optimise tail.
9525 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9526 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9527 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9528 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9529 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9532
33ee81de
AM
95332013-10-04 Alan Modra <amodra@gmail.com>
9534
9535 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9536 little-endian support. Remove unnecessary "are we done" tests.
9537 Handle "s" wrapping around zero and extremely large "size".
9538 Correct main loop count. Handle single left-over word from main
9539 loop inline rather than by using small_loop. Correct comments.
9540 Delete "zero" tail, use "end_max" instead.
9541 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9542
db9b4570
AM
95432013-10-04 Alan Modra <amodra@gmail.com>
9544
9545 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9546 support. Don't branch over align.
9547 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9548 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9549 support. Rearrange tmp reg use to suit. Comment.
9550 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9551
f7c399cf
AM
95522013-10-04 Alan Modra <amodra@gmail.com>
9553
9554 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9555
0b2c2ace
AM
95562013-10-04 Alan Modra <amodra@gmail.com>
9557
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9559 conditional form of branch and link when obtaining pc.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9561
02f04a6c
AM
95622013-10-04 Alan Modra <amodra@gmail.com>
9563
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9565 HIWORD/LOWORD.
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9568
9b874b2f
AM
95692013-10-04 Alan Modra <amodra@gmail.com>
9570
9571 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9572 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9573 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9574 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9575 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9576 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9577 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9578 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9579 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9580 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9581
be1e5d31
AB
95822013-10-04 Anton Blanchard <anton@au1.ibm.com>
9583 Alistair Popple <alistair@ozlabs.au.ibm.com>
9584 Alan Modra <amodra@gmail.com>
9585
9586 [BZ #15723]
9587 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9588 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9589 _dl_hwcap access for little-endian.
9590 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9591 destroy vmx regs when saving unaligned.
9592 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9593 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9594 destroy vmx regs when saving unaligned.
9595
fef13a78
AM
95962013-10-04 Alan Modra <amodra@gmail.com>
9597
9598 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9599 Don't use a union to pack hi/low value.
9600
76a66d51
AB
96012013-10-04 Anton Blanchard <anton@au1.ibm.com>
9602
9603 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9604 for little-endian.
9605 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9607 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9608 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9610
6a31fe7f
AM
96112013-10-04 Alan Modra <amodra@gmail.com>
9612
9613 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9614 constants to usual value for .cst8 section, and remove redundant
9615 high address load.
9616 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9617 constant for 0x1p52. Load little-endian words of double from
9618 correct stack offsets.
9619
7b88401f
AM
96202013-10-04 Alan Modra <amodra@gmail.com>
9621
9622 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9623 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9624 words of double from correct stack offsets.
9625 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9626 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9627 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9628 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9632 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9633 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9634 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9636 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9637 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9638 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9639 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9640 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9641 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9642
9c008155
AM
96432013-10-04 Alan Modra <amodra@gmail.com>
9644
9645 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9646 64-bit int/double union.
9647 (_FPU_SETCW): Likewise.
9648 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9649 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9650
da13146d
AM
96512013-10-04 Alan Modra <amodra@gmail.com>
9652
9653 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9654 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9655
603e8410
AM
96562013-10-04 Alan Modra <amodra@gmail.com>
9657
9658 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9659 use vector int constants.
9660 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9661
4a28b3ca
AB
96622013-10-04 Anton Blanchard <anton@au1.ibm.com>
9663
9664 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9665 array with long long.
9666 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9667 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9668 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9669 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9670 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9671 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9672 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9673 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9674 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9675 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9676 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9677 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9678 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9679
2ca85d2b
AB
96802013-10-04 Anton Blanchard <anton@au1.ibm.com>
9681
9682 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9683 (__signbit): Likewise. Correct for little-endian.
9684 (__signbitl): Call __signbit.
9685 (lrint): Correct for little-endian.
9686 (lrintf): Call lrint.
9687
62a728ae
AM
96882013-10-04 Alan Modra <amodra@gmail.com>
9689
9690 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9691 union 32-bit int array member with 64-bit int array.
9692 (t515, tm256): Double rather than long double.
9693 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9694
32c301df
AM
96952013-10-04 Alan Modra <amodra@gmail.com>
9696
9697 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9698 Delete.
9699 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9700 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9701 version of math_ldbl.h.
9702
650ef4bd
AM
97032013-10-04 Alan Modra <amodra@gmail.com>
9704
9705 [BZ #15734], [BZ #15735]
9706 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9707 all uses of ieee875 long double macros and unions. Simplify test
9708 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9709 ldbl_extract_mantissa value for ix,iy exponents. Properly
9710 normalize after ldbl_extract_mantissa, and don't add hidden bit
9711 already handled. Don't treat low word of ieee854 mantissa like
9712 low word of IBM long double and mask off bit when testing for
9713 zero.
9714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9715 all uses of ieee875 long double macros and unions. Simplify tests
9716 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9717 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9718 two1022, instead use their values. Recognise that tests for large
9719 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9720 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9721 Rewrite all uses of ieee875 long double macros and unions. Simplify
9722 test for 0.0L and nan. Correct negation.
9723 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9724 ieee875 long double macros and unions. Correct output for large
9725 magnitude x. Correct absolute value calculation.
9726 (__erfcl): Likewise.
9727 * math/libm-test.inc: Add tests for errors discovered in IBM long
9728 double versions of fmodl, remainderl, erfl and erfcl.
9729
765714ca
AM
97302013-10-04 Alan Modra <amodra@gmail.com>
9731
9732 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9733 all uses of ieee854 long double macros and unions. Simplify tests
9734 for long doubles that are fully specified by the high double.
9735 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9736 Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9738 Remove dead code too.
9739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9740 (__ieee754_ynl): Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9744 Remove dead code too.
9745 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9749 Simplify.
9750 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9751 Simplify.
9752 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9755 Comment on variable precision.
9756 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9758 Likewise.
9759 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9760 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9763 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9764
4ebd120c
AM
97652013-10-04 Alan Modra <amodra@gmail.com>
9766
9767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9769 all uses of ieee854 long double macros and unions.
9770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9776 Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9783 Simplify sign and nan test too.
9784 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9788 Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9791 Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9795 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9798
1b6adf88
AM
97992013-10-04 Alan Modra <amodra@gmail.com>
9800
9801 * stdio-common/printf_size.c (__printf_size): Don't use
9802 union ieee854_long_double in fpnum union.
9803 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9804 signbit macro to retrieve sign from long double.
9805 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9806 retrieve sign from long double.
9807 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9808 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9809 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9810 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9811 * math/test-misc.c (main): Don't use union ieee854_long_double.
9812
4cf69995
AM
98132013-10-04 Alan Modra <amodra@gmail.com>
9814
9815 [BZ #15680]
9816 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9817 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9818 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9819 calculation. Remove unnecessary test for denormal exponent.
9820 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9821 Correct handling of denormals. Avoid undefined shift behaviour.
9822 Correct normalisation of low mantissa when low double is denormal.
9823 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9824 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9825 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9826 Correct normalisation of low mantissa. Test for overflow of high
9827 mantissa and normalise.
9828 (ldbl_nearbyint): Use more readable constant for two52.
9829 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9830 (__mpn_construct_long_double): Fix test for overflow of high
9831 mantissa and correct normalisation. Avoid undefined shift.
9832
9605ca6c
AM
98332013-10-04 Alan Modra <amodra@gmail.com>
9834
9835 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9836 (union ibm_extended_long_double): Define as an array of ieee754_double.
9837 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9838 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9839 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9840 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9844 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9848
975569d0
JM
98492013-10-03 Joseph Myers <joseph@codesourcery.com>
9850
d3d23756
JM
9851 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9852 page size instead of calling getpagesize.
9853
975569d0
JM
9854 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9855 (LOCFILE_ALIGN_MASK): Likewise.
9856 (LOCFILE_ALIGN_UP): Likewise.
9857 (LOCFILE_ALIGNED_P): Likewise.
9858 * locale/programs/ld-collate.c (collate_output): Use the new
9859 macros instead of __alignof__ (int32_t).
9860 * locale/weight.h (findidx): Likewise.
9861
b1fe1f2b
OB
98622013-10-03 Ondřej Bílka <neleai@seznam.cz>
9863
9864 [BZ #431]
9865 * manual/string.texi: Fix strncat and wcsncat.
9866
5f855e35
BM
98672013-10-03 Brooks Moses <bmoses@google.com>
9868
9869 [BZ #15915]
9870 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9871 * Makerules: ...here, and adjust associated comments.
9872
3cef6009
WN
98732013-10-02 Will Newton <will.newton@linaro.org>
9874
9875 * malloc/Makefile: Add tst-pvalloc.
9876 * malloc/tst-pvalloc.c: New file.
9877
7815420b
WN
98782013-10-02 Will Newton <will.newton@linaro.org>
9879
9880 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9881 improve test coverage.
9882
4868b204
WN
98832013-10-02 Will Newton <will.newton@linaro.org>
9884
9885 * malloc/Makefile: Add tst-posix_memalign.
9886 * malloc/tst-posix_memalign.c: New file.
9887
29c793b3
EB
98882013-10-01 Eric Blake <eblake@redhat.com>
9889
9890 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9891 Use __THROWNL rather than __THROW on static functions.
9892
fd967522
PM
98932013-09-30 Petr Machata <pmachata@redhat.com>
9894
9895 * elf/elf.h (R_AARCH64_ABS16): New macro.
9896 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9897 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9898 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9899 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9900 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9901 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9902 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9903 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9904 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9905 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9906 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9907 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9908 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9909 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9910 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9911 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9912 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9913 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9914 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9915 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9916 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9917 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9918 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9919 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9920 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9921 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9922 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9923 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9924 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9925 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9926 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9927 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9928 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9929 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9930 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9931 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9932 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9933 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9934 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9935 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9936 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9937 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9938 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9939 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9940 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9941 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9942 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9943 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9944 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9945 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9946 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9947 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9948 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9949 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9950 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9951 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9952 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9953 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9954 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9955 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9956 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9957 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9958 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9959 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9960 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9961 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9962 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9963 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9964 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9965 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9966 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9967 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9968 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9969 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9970 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9971 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9972 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9973 (R_AARCH64_TLSDESC_LDR): Likewise.
9974 (R_AARCH64_TLSDESC_ADD): Likewise.
9975 (R_AARCH64_TLSDESC_CALL): Likewise.
9976
b2179107
AS
99772013-09-30 Andreas Schwab <schwab@suse.de>
9978
9979 [BZ #15048]
9980 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9981 the nss database lookup.
9982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9984
47f28d0a
MF
99852013-09-28 Mike Frysinger <vapier@gentoo.org>
9986
9987 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9988
99892013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9990
9991 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9992 ${Bash-specific parameter/pattern/string} parameter expansion.
9993 * sysdeps/unix/make-syscalls.sh: Likewise.
9994
f4518a17
KK
99952013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9996
9997 * sysdeps/sh/stackguard-macros.h: New file.
9998
dc1a95c7
OB
99992013-09-26 Ondřej Bílka <neleai@seznam.cz>
10000
10001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10003 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10004 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10005 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10006 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10007
5ebbff8f
AZ
100082013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10009
10010 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10011 Fix thread ID register.
10012
4fd2cf9f
JM
100132013-09-25 Joseph Myers <joseph@codesourcery.com>
10014
10015 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10016 [POSIX || UNIX98]: Require rather than permitting all symbols from
10017 <time.h>.
10018 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10019 element of struct sched_param.
10020 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10021 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10022 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10023 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10024 constant.
10025
12c22bc4
OL
100262013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10027
10028 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10029 argument calculation.
10030
a03d8ea7
JM
100312013-09-24 Joseph Myers <joseph@codesourcery.com>
10032
10033 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10034 Expect macro.
10035 [POSIX] (pthread_attr_t): Do not require type.
10036 [POSIX] (pthread_cond_t): Likewise.
10037 [POSIX] (pthread_condattr_t): Likewise.
10038 [POSIX] (pthread_key_t): Likewise.
10039 [POSIX] (pthread_mutex_t): Likewise.
10040 [POSIX] (pthread_mutexattr_t): Likewise.
10041 [POSIX] (pthread_once_t): Likewise.
10042 [POSIX] (pthread_t): Likewise.
10043 [POSIX-based standards] (pthread_atfork): Expect function.
10044
6055173a
JM
100452013-09-24 Joseph Myers <joseph@codesourcery.com>
10046 Richard Sandiford <richard@codesourcery.com>
10047
10048 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10049 (swap_endianness_p): New extern variable.
10050 (set_big_endian): New inline function.
10051 (maybe_swap_uint32): Likewise.
10052 (maybe_swap_uint32_array): Likewise.
10053 (maybe_swap_uint32_obstack): Likewise.
10054 * locale/programs/locfile.c: Include <stdbool.h>.
10055 (swap_endianness_p): New variable.
10056 (add_locale_uint32): Call maybe_swap_uint32.
10057 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10058 (write_locale_data): Call maybe_swap_uint32_array.
10059 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10060 maybe_swap_uint32.
10061 (obstack_int32_grow_fast): Likewise.
10062 (output_weightwc): Call maybe_swap_uint32_obstack.
10063 (collate_output): Likewise.
10064 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10065 (OPT_LITTLE_ENDIAN): Likewise.
10066 (options): Add --little-endian and --big-endian options.
10067 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10068 * locale/programs/locarchive.c: Include "locfile.h".
10069 (GET): New macro.
10070 (SET): Likewise.
10071 (INC): Likewise.
10072 (create_archive): Use the new macros to access fields of
10073 structures directly mapped from or written to locale archives.
10074 (oldlocrecentcmp): Likewise.
10075 (enlarge_archive): Likewise.
10076 (insert_name): Likewise.
10077 (add_alias): Likewise.
10078 (add_locale): Likewise.
10079 (delete_locales_from_archive): Likewise.
10080 (show_archive_content): Likewise.
10081 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10082 locale data.
10083
39bf0bb4
RM
100842013-09-24 Roland McGrath <roland@hack.frob.com>
10085
10086 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10087 http://www.gnu.org/doc/freemanuals.texi.
10088 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10089
f02eed10
WN
100902013-09-24 Will Newton <will.newton@linaro.org>
10091
10092 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10093 macro.
10094
a3a6c312
JM
100952013-09-23 Joseph Myers <joseph@codesourcery.com>
10096
10097 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10098 unsigned char.
10099
107375ac
MR
101002013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10101
10102 * manual/threads.texi (POSIX Threads): Fix a typo.
10103
141f3a77
SP
101042013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10105
303e567a
SP
10106 [BZ #14547]
10107 * string/tst-strcoll-overflow.c: New test case.
10108 * string/Makefile (xtests): Add tst-strcoll-overflow.
10109 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10110 cache if string sizes may cause integer overflow.
10111
141f3a77
SP
10112 [BZ #14547]
10113 * string/strcoll_l.c (coll_seq): New members rule, idx,
10114 save_idx and back_us.
10115 (get_next_seq_nocache): New function.
10116 (do_compare_nocache): New function.
10117 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10118 when malloc fails.
10119
c61b4d41
CD
101202013-09-23 Carlos O'Donell <carlos@redhat.com>
10121
0b1f8e35
CD
10122 [BZ #15754]
10123 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10124 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10125 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10126
c61b4d41
CD
10127 [BZ #15754]
10128 * elf/Makefile (tests): Add tst-ptrguard1.
10129 (tests-static): Add tst-ptrguard1-static.
10130 (tst-ptrguard1-ARGS): Define.
10131 (tst-ptrguard1-static-ARGS): Define.
10132 * elf/tst-ptrguard1.c: New file.
10133 * elf/tst-ptrguard1-static.c: New file.
10134 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10135 * sysdeps/i386/stackguard-macros.h: Likewise.
10136 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10137 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10138 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10139 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10140 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10141 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10142
101432013-09-23 Hector Marco <hecmargi@upv.es>
10144 Ismael Ripoll <iripoll@disca.upv.es>
10145 Carlos O'Donell <carlos@redhat.com>
10146
10147 [BZ #15754]
10148 * sysdeps/generic/stackguard-macros.h: Define
10149 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10150 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10151 Define __pointer_chk_guard_local.
10152 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10153 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10154
f5f4e7b4
VV
101552013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10156
10157 [BZ #15859]
10158 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10159
5bb43a43
AS
101602013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10161
10162 * include/string.h (__ffs): Declare as hidden.
10163 * string/ffs.c (__ffs): Define as hidden.
10164 * sysdeps/i386/ffs.c (__ffs): Likewise.
10165 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10166 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10167 * sysdeps/s390/ffs.c (__ffs): Likewise.
10168 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10169
3ea5be54
AO
101702013-09-20 Alexandre Oliva <aoliva@redhat.com>
10171
ffb89e53
AO
10172 * NEWS: Mention malloc probes.
10173
322dea08
AO
10174 * malloc/arena.c (new_heap): New memory_heap_new probe.
10175 (grow_heap): New memory_heap_more probe.
10176 (shrink_heap): New memory_heap_less probe.
10177 (heap_trim): New memory_heap_free probe.
10178 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10179 (systrim): New memory_sbrk_less probe.
10180 * manual/probes.texi: Document them.
10181
655673f3
AO
10182 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10183 * manual/probes.texi: Document it.
10184
35fed6f1
AO
10185 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10186 (__libc_realloc): Add memory_realloc_retry probe.
10187 (__libc_memalign): Add memory_memalign_retry probe.
10188 (__libc_valloc): Add memory_valloc_retry probe.
10189 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10190 (__libc_calloc): Add memory_calloc_retry probe.
10191 * manual/probes.texi: Document them.
10192
6999d38c
AO
10193 * malloc/arena.c (get_free_list): Add probe
10194 memory_arena_reuse_free_list.
10195 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10196 and memory_arena_reuse.
10197 (arena_get2) [!PER_THREAD]: Likewise.
10198 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10199 memory_arena_reuse_realloc.
10200 * manual/probes.texi: Document them.
10201
0653427f
AO
10202 * malloc/malloc.c (__libc_free): Add
10203 memory_mallopt_free_dyn_thresholds probe.
10204 (__libc_mallopt): Add multiple memory_mallopt probes.
10205 * manual/probes.texi: Document them.
10206
3ea5be54
AO
10207 * malloc/malloc.c: Include stap-probe.h.
10208 (__libc_mallopt): Add memory_mallopt probe.
10209 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10210 * manual/probes.texi: New.
10211 * manual/Makefile (chapters): Add probes.
10212 * manual/threads.texi: Set next node.
10213
e35696c3 102142013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10215
e35696c3
CL
10216 [BZ #15963, #13985]
10217 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10218 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10219 Add `Chinese' to `nan' entry name.
10220
4aafb73c
SP
102212013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10222
10223 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10224 (POLYNOMIAL): Likewise.
10225 (TAYLOR_SINCOS): Likewise.
10226 (TAYLOR_SLOW): Likewise.
10227 (__sin): Use TAYLOR_SINCOS.
10228 (__cos): Likewise.
10229 (slow): Use TAYLOR_SLOW.
10230 (sloww): Likewise.
10231 (bsloww): Likewise.
10232 (csloww): Likewise.
10233
d84f25c7
LD
102342013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10235
10236 * stdlib/strtod_l.c: Fix buffer overrun.
10237
5eea0404
SP
102382013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10239
7849ff93
SP
10240 * benchtests/Makefile (bench): Add sincos.
10241 * benchtests/bench-sincos.c: New file.
10242
cfa3c886
SP
10243 * math/libm-test.inc (cos_test_data): New test inputs.
10244 (sin_test_data): Likewise.
10245
b348e1e3
SP
10246 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10247 macro.
10248 (__sin): Use it.
10249 (__cos): Likewise.
10250 (slow1): Likewise.
10251 (slow2): Likewise.
10252 (sloww1): Likewise.
10253 (sloww2): Likewise.
10254 (bsloww1): Likewise.
10255 (bsloww2): Likewise.
10256 (cslow2): Likewise.
10257 (csloww1): Likewise.
10258 (csloww2): Likewise.
10259
6cce25f8
SP
10260 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10261 function.
10262 (__sin): Use it.
10263 (__cos): Likewise.
10264
5eea0404
SP
10265 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10266 gotos.
10267 (__cos): Likewise.
10268
9c21573c
MR
102692013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10270
10271 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10272 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10273 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10274 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10275 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10276 * elf/cache.c (print_entry): Handle the new cache flags.
10277
24d22e65
JM
102782013-09-18 Joseph Myers <joseph@codesourcery.com>
10279 Aldy Hernandez <aldyh@redhat.com>
10280
10281 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10282 Change condition to [_SOFT_FLOAT].
10283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10295 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10298 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10299 declaration.
10300
d13ef066
JM
103012013-09-18 Joseph Myers <joseph@codesourcery.com>
10302
2e071de0
JM
10303 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10304 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10305 (__longjmp): Use LOAD_GP to load saved GPRs.
10306 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10307 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10308 (__sigsetjmp): Use SAVE_GP to save GPRs.
10309
d13ef066
JM
10310 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10311 Do not append -msoft-float.
10312 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10313
97a0650b
SP
103142013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10315
10316 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10317
11ca09e9
JM
103182013-09-17 Joseph Myers <joseph@codesourcery.com>
10319
10320 [BZ #15966]
10321 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10322 (_FPU_GETCW): Use initial "__" on variable and field names but not
10323 on macro parameter name.
10324 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10325 parentheses around reference to macro parameter.
10326
08ffcf34
RS
103272013-09-13 Richard Sandiford <richard@codesourcery.com>
10328
10329 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10330 prototype.
10331 (ctype_startup): Use uint32_t in cast and sizeof for
10332 ctype->charnames.
10333
ae7080d3
JL
103342013-09-11 Jia Liu <proljc@gmail.com>
10335
10336 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10337 __daddr_t_defined.
10338 [__FreeBSD__]: Likewise.
10339
5905e7b3
OB
103402013-09-11 Ondřej Bílka <neleai@seznam.cz>
10341
10342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10343 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10344 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10345 (strchr): Remove __strchr_sse42 ifunc selection.
10346 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10347 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10348
b987c776
WN
103492013-09-11 Will Newton <will.newton@linaro.org>
10350
10351 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10352 parameter to RES. Remove hardcoded 1000 value.
10353 * benchtests/bench-skeleton.c (main): Pass RES parameter
10354 to TIMING_INIT and multiply result by 1000.
10355
ddf985af
AZ
103562013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10357
10358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10359
ffdd3181
AS
103602013-09-11 Andreas Schwab <schwab@suse.de>
10361
10362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10363 if not defined.
10364 (O_TMPFILE) [__USE_GNU]: Define.
10365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10366 Define.
10367
b73ed247
WN
103682013-09-11 Will Newton <will.newton@linaro.org>
10369
10370 [BZ #15857]
10371 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10372 does not overflow.
10373
55e17aad
WN
103742013-09-11 Will Newton <will.newton@linaro.org>
10375
10376 [BZ #15856]
10377 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10378 does not overflow.
10379
1159a193
WN
103802013-09-11 Will Newton <will.newton@linaro.org>
10381
10382 [BZ #15855]
10383 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10384 does not overflow.
10385
5905e7b3 103862013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10387
10388 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10393
cdfc721b
AM
103942013-09-10 Allan McRae <allan@archlinux.org>
10395
aa04af00
AM
10396 [BZ #15748]
10397 * manual/arith.texi (Parsing of Floats): Clarify
10398 cross-reference.
10399
cdfc721b
AM
10400 [BZ #15849]
10401 * manual/install.texi (Running make install): Mention
10402 --enable-pt-chown.
10403 * INSTALL: Regenerated.
10404
95e7cf29
MR
104052013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10406
10407 * csu/init-first.c (_init): Remove the !SHARED condition around
10408 FPU control word initialization.
10409 * elf/dl-support.c (_dl_fpu_control): New variable.
10410 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10411 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10412 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10413 * math/test-fpucw-static.c: New file.
10414 * math/test-fpucw-ieee.c: New file.
10415 * math/test-fpucw-ieee-static.c: New file.
10416 * math/Makefile (tests): Add `test-fpucw-ieee' and
10417 `$(tests-static)'.
10418 (tests-static): New variable.
10419 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10420 dependency to...
10421 [($(build-shared),yes)]
10422 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10423 ... this.
10424 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10425 New dependency.
10426
83e43bf0
AM
104272013-09-09 Allan McRae <allan@archlinux.org>
10428
a9f5ce09
AM
10429 [BZ #15939]
10430 * manual/string.texi (Collation Functions): Fix typo in
10431 strcoll example.
10432 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10433
34829bc2
AM
10434 [BZ #15893]
10435 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10436
3932737d
AM
10437 [BZ #15892]
10438 * libio/memstream.c (open_memstream): Fix memory leak.
10439 * libio/wmemstream.c (open_wmemstream): Likewise.
10440
83e43bf0
AM
10441 [BZ #15895]
10442 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10443
0c66b8e9
WN
104442013-09-09 Will Newton <will.newton@linaro.org>
10445
10446 * malloc/Makefile: Add tst-realloc to tests.
10447 * malloc/tst-realloc.c: New file.
10448
f6b00fd1
AM
104492013-09-09 Allan McRae <allan@archlinux.org>
10450
10451 [BZ #15844]
10452 * COPYING: Update from GNU website to fix FSF address.
10453 * COPYING.LIB: Likewise.
10454
eec55e16
DM
104552013-09-06 David S. Miller <davem@davemloft.net>
10456
10457 * po/zh_TW.po: Update Chinese (traditional) translation from
10458 translation project.
10459
1ecbb381
RS
104602013-09-06 Richard Sandiford <richard@codesourcery.com>
10461 Joseph Myers <joseph@codesourcery.com>
10462
10463 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10464 "localeinfo.h".
10465 (obstack_chunk_alloc): New macro.
10466 (obstack_chunk_free): Likewise.
10467 (record_offset): New function.
10468 (init_locale_data): Likewise.
10469 (align_locale_data): Likewise.
10470 (add_locale_empty): Likewise.
10471 (add_locale_raw_data): Likewise.
10472 (add_locale_raw_obstack): Likewise.
10473 (add_locale_string): Likewise.
10474 (add_locale_wstring): Likewise.
10475 (add_locale_uint32): Likewise.
10476 (add_locale_uint32_array): Likewise.
10477 (add_locale_char): Likewise.
10478 (start_locale_structure): Likewise.
10479 (end_locale_structure): Likewise.
10480 (start_locale_prelude): Likewise.
10481 (end_locale_prelude): Likewise.
10482 (write_locale_data): Take locale_file structure rather than an
10483 iovec.
10484 * locale/programs/locfile.h: Include "obstack.h".
10485 (struct locale_file): Change to store locale file contents instead
10486 of header.
10487 (init_locale_data): New prototype.
10488 (align_locale_data): Likewise.
10489 (add_locale_empty): Likewise.
10490 (add_locale_raw_data): Likewise.
10491 (add_locale_raw_obstack): Likewise.
10492 (add_locale_string): Likewise.
10493 (add_locale_wstring): Likewise.
10494 (add_locale_uint32): Likewise.
10495 (add_locale_uint32_array): Likewise.
10496 (add_locale_char): Likewise.
10497 (start_locale_structure): Likewise.
10498 (end_locale_structure): Likewise.
10499 (start_locale_prelude): Likewise.
10500 (end_locale_prelude): Likewise.
10501 (write_locale_data): Update prototype.
10502 * locale/programs/3level.h (struct TABLE): Remove result field.
10503 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10504 Use new locale_file interface.
10505 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10506 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10507 * locale/programs/ld-address.c (address_output): Use new
10508 locale_file interface.
10509 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10510 NO_ADD_LOCALE.
10511 (collate_finish): Don't call collseq_table_finalize.
10512 (collate_output): Use new locale_file interface.
10513 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10514 in file.
10515 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10516 (TABLE): Move defines earlier in file.
10517 (ELEMENT): Likewise.
10518 (DEFAULT): Likewise.
10519 (wctrans_table_add): Move macro and inline function earlier in
10520 file.
10521 (struct wctype_table): Move type earlier in file.
10522 (add_locale_wctype_table): New static prototype.
10523 (struct locale_ctype_t): Use logical types instead of struct iovec
10524 pointers for members.
10525 (ctype_output): Use new locale_file interface.
10526 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10527 new locale_file interface.
10528 (allocate_arrays): Update for use of new locale_file interface.
10529 * locale/programs/ld-identification.c (identification_output): Use
10530 new locale_file interface.
10531 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10532 * locale/programs/ld-messages.c (messages_output): Likewise.
10533 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10534 * locale/programs/ld-name.c (name_output): Likewise.
10535 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10536 * locale/programs/ld-paper.c (paper_output): Likewise.
10537 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10538 * locale/programs/ld-time.c (time_output): Likewise.
10539
e029e2e5
AZ
105402013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541
10542 * benchtests/Makefile: Add memrchr benchmark.
10543 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10544 benchmark as memrchr.
10545 * benchtests/bench-memrchr-ifunc.c: New file.
10546 * benchtests/bench-memrchr.c: New file.
10547
bbf6e8e4
WN
105482013-09-06 Will Newton <will.newton@linaro.org>
10549
10550 * benchtests/Makefile (string-bench): Add memcpy.
10551
6c82a2f8
CD
105522013-09-05 Carlos O'Donell <carlos@redhat.com>
10553 Cong Wang <amwang@redhat.com>
10554
e732c5f0 10555 [BZ #15850]
6c82a2f8
CD
10556 * sysdeps/unix/sysv/linux/bits/in.h
10557 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10558 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10559 before __USE_KERNEL_IPV6_DEFS uses.
10560 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10561 IPPROTO_BEETPH.
10562 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10563 sockaddr_in6, or ipv6_mreq.
10564
5430fc65
AZ
105652013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10566
10567 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10568 memory access for final bytes in some large inputs.
10569 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10570
4660856c
AZ
105712013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10572
10573 * string/test-memrchr.c: New file.
10574 * string/test-memrchr-ifunc.c: New file.
10575 * string/Makefile: Add new memrchr testcase.
10576
bb8ea713
MF
105772013-09-05 Mike Frysinger <vapier@gentoo.org>
10578
10579 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10580 fanotify_init returns EPERM.
10581
b92a20b5
JM
105822013-09-04 Joseph Myers <joseph@codesourcery.com>
10583
10584 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10585 errors.
10586 (top level): Treat second token from macro or constant entries for
10587 allowed headers as allowed.
10588 * include/complex.h: Condition internal declarations on
10589 [!_ISOMAC].
10590 * include/fenv.h: Condition include of <stdbool.h> and internal
10591 declarations on [!_ISOMAC].
7447ccd9
CL
10592
105932013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10594
3e181dda 10595 [BZ #15923]
7447ccd9
CL
10596 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10597
3f2e46a4
JM
105982013-09-04 Joseph Myers <joseph@codesourcery.com>
10599
10600 * configure.in (--enable-versioning): Remove configure option.
10601 (libc_cv_asm_symver_directive): Remove configure test.
10602 (libc_cv_ld_version_script_option): Likewise.
10603 (VERSIONING): Remove variable and AC_SUBST.
10604 (DO_VERSIONING): Remove AC_DEFINE.
10605 * configure: Regenerated.
10606 * config.h.in (DO_VERSIONING): Remove macro.
10607 * Makerules [$(versioning) = yes]: Change conditionals to
10608 [$(build-shared) = yes].
10609 * config.make.in (versioning): Remove variable.
10610 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10611 [$(build-shared) = yes].
10612 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10613 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10614 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10615 [$(build-shared) = yes].
10616 * extra-lib.mk [$(versioning) = yes]: Likewise.
10617 * hurd/Makefile [$(versioning) = yes]: Likewise.
10618 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10619 [SHARED].
10620 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10621 [SHARED].
10622 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10623 [SHARED && !NO_HIDDEN].
10624 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10625 [SHARED].
10626 [SHARED && DO_VERSIONING]: Likewise..
10627 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10628 [$(build-shared) = yes].
10629 * manual/install.texi (--disable-versioning): Remove
10630 documentation.
10631 * INSTALL: Regenerated.
10632 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10633 to [SHARED].
10634 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10635 [$(build-shared) = yes].
10636 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10637 * sysdeps/i386/i686/multiarch/strstr-c.c
10638 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10639 [SHARED && !NO_HIDDEN].
10640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10641 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10642 * sysdeps/powerpc/powerpc32/dl-machine.c
10643 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10644 * sysdeps/powerpc/powerpc32/sysdep.h
10645 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10646 to [SHARED && PIC && !NO_HIDDEN].
10647 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10648 conditional to [SHARED].
10649
44558701
WN
106502013-09-04 Will Newton <will.newton@linaro.org>
10651
10652 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10653 * benchtests/bench-string.h: Include bench-timing.h instead
10654 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10655 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10656 call to HP_TIMING_DIFF_INIT.
10657 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10658 instead of hp-timing.h macros.
10659 * benchtests/bench-memchr.c: Likewise.
10660 * benchtests/bench-memcmp.c: Likewise.
10661 * benchtests/bench-memcpy.c: Likewise.
10662 * benchtests/bench-memmem.c: Likewise.
10663 * benchtests/bench-memmove.c: Likewise.
10664 * benchtests/bench-memset.c: Likewise.
10665 * benchtests/bench-rawmemchr.c: Likewise.
10666 * benchtests/bench-strcasecmp.c: Likewise.
10667 * benchtests/bench-strcasestr.c: Likewise.
10668 * benchtests/bench-strcat.c: Likewise.
10669 * benchtests/bench-strchr.c: Likewise.
10670 * benchtests/bench-strcmp.c: Likewise.
10671 * benchtests/bench-strcpy.c: Likewise.
10672 * benchtests/bench-strcpy_chk.c: Likewise.
10673 * benchtests/bench-strlen.c: Likewise.
10674 * benchtests/bench-strncasecmp.c: Likewise.
10675 * benchtests/bench-strncat.c: Likewise.
10676 * benchtests/bench-strncmp.c: Likewise.
10677 * benchtests/bench-strncpy.c: Likewise.
10678 * benchtests/bench-strnlen.c: Likewise.
10679 * benchtests/bench-strpbrk.c: Likewise.
10680 * benchtests/bench-strrchr.c: Likewise.
10681 * benchtests/bench-strspn.c: Likewise.
10682 * benchtests/bench-strstr.c: Likewise.
10683
cae16d66
WN
106842013-09-04 Will Newton <will.newton@linaro.org>
10685
10686 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10687
ffa3cd7f
JM
106882013-09-03 Joseph Myers <joseph@codesourcery.com>
10689
10690 [BZ #15427]
10691 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10692 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10693 * math/libm-test.inc (lgamma_test_data): Add more tests.
10694 * sysdeps/i386/fpu/libm-test-ulps: Update.
10695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10696
8f02859f
OB
106972013-09-03 Ondřej Bílka <neleai@seznam.cz>
10698
10699 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10701 Add ifunc.
10702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10703 Add strcmp-sse2-unaligned
10704 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10705
18d43716
MF
107062013-09-02 Mike Frysinger <vapier@gentoo.org>
10707
10708 * Versions.def (libc): Add GLIBC_2.19.
10709
ac444012
MF
107102013-09-02 Mike Frysinger <vapier@gentoo.org>
10711
10712 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10713 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10714
b7835e32
JM
107152013-09-02 Joseph Myers <joseph@codesourcery.com>
10716
10717 [BZ #14155]
10718 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10719 intermediate calculations in recurrence.
10720 (__ieee754_ynf): Likewise.
10721 * math/libm-test.inc (jn_test_data): Do not allow spurious
10722 underflow exception. Add more tests.
10723 (yn_test_data): Add more tests.
10724 * sysdeps/i386/fpu/libm-test-ulps: Update.
10725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10726
8220f4f0
OB
107272013-09-02 Ondřej Bílka <neleai@seznam.cz>
10728
10729 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10730
f24a6d08
OB
107312013-08-30 Ondřej Bílka <neleai@seznam.cz>
10732
10733 * csu/init-first.c: Fix then/than typos.
10734 * locale/programs/ld-collate.c: Likewise.
10735 * locale/programs/linereader.h: Likewise.
10736 * manual/charset.texi: Likewise.
10737 * manual/filesys.texi: Likewise.
10738 * manual/stdio.texi: Likewise.
10739 * manual/string.texi: Likewise.
10740 * stdlib/fmtmsg.c: Likewise.
10741 * sysdeps/i386/stpncpy.S: Likewise.
10742 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10743 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10745 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10746
382466e0
OB
107472013-08-30 Ondřej Bílka <neleai@seznam.cz>
10748
10749 * elf/dl-open.c: Fix typos.
10750 * iconvdata/gbbig5.c: Likewise.
10751 * iconvdata/iso-2022-jp.c: Likewise.
10752 * iconv/gconv_int.h: Likewise.
10753 * iconv/loop.c: Likewise.
10754 * nis/rpcsvc/nis.h: Likewise.
10755 * resolv/ns_name.c: Likewise.
10756 * stdio-common/vfscanf.c: Likewise.
10757 * streams/stropts.h: Likewise.
10758 * sunrpc/rpc_thread.c: Likewise.
10759 * sysdeps/i386/strpbrk.S: Likewise.
10760 * sysdeps/ieee754/k_standard.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10763 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10764 * sysdeps/mach/hurd/profil.c: Likewise.
10765 * sysdeps/s390/dl-procinfo.h: Likewise.
10766 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10767 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10768 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10769 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10770 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10771
0186c6e9
OB
107722013-08-30 Ondřej Bílka <neleai@seznam.cz>
10773
10774 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10776
d4e16af1
OB
107772013-08-29 Ondřej Bílka <neleai@seznam.cz>
10778
10779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10780 aix specific files.
10781 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10783 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10784 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10785 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10786 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10787 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10788 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10789
88335980
TS
107902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10791 Roland McGrath <roland@hack.frob.com>
10792
10793 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10794 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10795
ed479b02
ST
107962013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10797
10798 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10799 __executable_start symbol instead of _start.
10800
f1cc4c86
TS
108012013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10802
d821f07c
TS
10803 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10804 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10805 Move macros to...
10806 * sysdeps/gnu/ldsodefs.h: ... this new file.
10807
c54290cf
TS
10808 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10809 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10810 instead of ELFOSABI_LINUX.
10811
0007fc9b 10812 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10813 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10814 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10815 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10816 Likewise.
10817 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10818 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10819 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10820 Likewise.
10821 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10822 (ibm_extended_long_double): Add ieee_nan member.
10823 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10824 (do_test): New function.
10825
f1cc4c86
TS
10826 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10827 TEST_TRUNC.
10828 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10829 functions, renamed from truncdfsf_test, trunctfsf_test,
10830 trunctfdf_test.
10831 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10832 functions.
10833 (do_test): Run all these.
10834
6f65e668
OB
108352013-08-29 Ondřej Bílka <neleai@seznam.cz>
10836
10837 * argp/argp-help.c: Fix typos.
10838 * argp/argp-parse.c: Likewise.
10839 * debug/backtracesyms.c: Likewise.
10840 * elf/elf.h: Likewise.
10841 * malloc/malloc.c: Likewise.
10842 * nis/nis_print.c: Likewise.
10843 * resolv/res_comp.c: Likewise.
10844 * stdlib/stdlib.h: Likewise.
10845 * sunrpc/clnt_tcp.c: Likewise.
10846 * sunrpc/clnt_udp.c: Likewise.
10847 * sunrpc/clnt_unix.c: Likewise.
10848 * sysdeps/unix/bsd/ptsname.c: Likewise.
10849 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10850 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10852 Likewise.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10854 Likewise.
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10856 Likewise.
6f65e668
OB
10857 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10858
3a309239
SP
108592013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10860
10861 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10863
3b813b29
MF
108642013-08-27 Mike Frysinger <vapier@gentoo.org>
10865
10866 [BZ #15897]
10867 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10868 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10869 ($(objpfx)bug-dl-leaf): New rule.
10870 ($(objpfx)bug-dl-leaf.so): Likewise.
10871 ($(objpfx)bug-dl-leaf.out): Likewise.
10872 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10873 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10874 * dlfcn/bug-dl-leaf.c: New test.
10875 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10876 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10877 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10878 (dlclose): Likewise.
10879 (dlmopen): Likewise.
10880
8cc3269f
RM
108812013-08-27 Roland McGrath <roland@hack.frob.com>
10882
7f9d0034
RM
10883 * include/netdb.h [!_ISOMAC]:
10884 Don't include <tls.h>.
10885 (h_errno, __libc_h_errno): Move declaration and macros out of
10886 [_LIBC_REENTRANT].
10887
fb431262
RM
10888 * include/resolv.h [_RESOLV_H_]:
10889 Don't include <tls.h>.
10890 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10891 * resolv/res_libc.c: Don't include <tls.h>.
10892 (_res): Use __attribute__ ((nocommon)) in place of
10893 __attribute__ ((section (".bss"))).
10894
bd81123a
RM
10895 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10896 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10897
c4e42566
RM
10898 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10899
f890a59b
RM
10900 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10901 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10902
10903 * resolv/res_mkquery.c: Include <sys/time.h>.
10904
5d1f0a09
RM
10905 * inet/ifreq.c: Moved to ...
10906 * sysdeps/unix/ifreq.c: ... here.
10907 * inet/ifreq.c: New file, true stub version.
10908
6fcf28b3
RM
10909 * socket/sa_len.c: New file.
10910 * socket/Makefile (aux): Add it.
10911 * sysdeps/unix/sysv/linux/Makefile
10912 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10913 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10914 and #include <socket/sa_len.c>.
10915 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10916 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10917
e041fb8b
RM
10918 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10919 * bits/socket.h: ... here.
10920
8cc3269f
RM
10921 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10922 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10923 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10924
5d228a43
AS
109252013-08-27 Andreas Schwab <schwab@suse.de>
10926
45b8accc
AS
10927 [BZ #15736]
10928 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10929 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10930 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10931 * string/test-strcasecmp.c (test_main): Run tests in several
10932 locales.
10933 * string/test-strncasecmp.c (test_main): Likewise.
10934
5d228a43
AS
10935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10936 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10937 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10939 (__strncasecmp_ssse3) [PIC]: Likewise.
10940
59d112a4
RM
109412013-08-26 Roland McGrath <roland@hack.frob.com>
10942
53234cc3
RM
10943 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10944
59d112a4
RM
10945 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10946 instead of explicitly declaring xdecrypt.
10947 * nis/nss_nis/nis-publickey.c: Likewise.
10948
595aba70
SP
109492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10950
10951 [BZ #15890]
10952 * nscd/aicache.c: Include res_hconf.h.
10953 (addhstaiX): Initialize res_hconf.
10954
ffabd393
AS
109552013-08-26 Andreas Schwab <schwab@suse.de>
10956
10957 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10958 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10959
e0a69f5c
SP
109602013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10961
10962 * nscd/aicache.c (addhstaiX): Fix indentation.
10963
8c12f01d
MF
109642013-08-25 Mike Frysinger <vapier@gentoo.org>
10965
10966 * configure.ac: Quote $build_pt_chown test.
10967 * configure: Regenerated.
10968
8fe89494
JM
109692013-08-23 Joseph Myers <joseph@codesourcery.com>
10970
10971 [BZ #15532]
10972 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10973 * math/s_cexpf.c (__cexpf): Likewise.
10974 * math/s_cexpl.c (__cexpl): Likewise.
10975 * math/libm-test.inc (cexp_test_data): Correct expected return
10976 value for NaN + i0. Add another test.
10977
75b181d6
DM
109782013-08-22 David S. Miller <davem@davemloft.net>
10979
10980 * po/ca.po: Update Catalan translation from translation project.
936241e4 10981 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10982
acd06bb1
JM
109832013-08-21 Joseph Myers <joseph@codesourcery.com>
10984
10985 [BZ #15797]
10986 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10987 is infinite, not alongside NaN test.
10988 * math/s_fdimf.c (__fdimf): Likewise.
10989 * math/s_fdiml.c (__fdiml): Likewise.
10990 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10991 errno is unchanged.
10992
c0c3f78a
OB
109932013-08-21 Ondřej Bílka <neleai@seznam.cz>
10994
10995 * argp/argp-help.c: Fix typos.
10996 * crypt/speeds.c: Likewise.
10997 * csu/check_fds.c: Likewise.
10998 * elf/dl-load.c: Likewise.
10999 * elf/dl-open.c: Likewise.
11000 * elf/reldep3.c: Likewise.
11001 * elf/reldep.c: Likewise.
11002 * elf/sprof.c: Likewise.
11003 * iconv/iconv_charmap.c: Likewise.
11004 * iconv/skeleton.c: Likewise.
11005 * iconv/strtab.c: Likewise.
11006 * io/lockf64.c: Likewise.
11007 * libio/libioP.h: Likewise.
11008 * resolv/gai_notify.c: Likewise.
11009 * resolv/ns_name.c: Likewise.
11010 * resolv/ns_samedomain.c: Likewise.
11011 * resolv/res_send.c: Likewise.
11012 * stdlib/random.c: Likewise.
11013 * sunrpc/rpc/xdr.h: Likewise.
11014 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11015 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11017 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11018 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11022 * sysdeps/mach/hurd/check_fds.c: Likewise.
11023 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11024 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11026 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11027 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11028 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11029 * sysdeps/pthread/aio_notify.c: Likewise.
11030 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11031 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11032 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11033 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11034 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11035
46ed1038
LD
110362013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11037
11038 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11039 version if bit_Slow_SSE4_2 is set.
11040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11042
d400dcac
AZ
110432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11044
11045 [BZ #15867]
11046 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11047 trampoline stack frame information.
11048 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11049 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11050 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11051 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11052 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11053 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11054 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11055 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11056 sa_flags value.
11057 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11058 interrupting a syscall and set with option SA_SIGINFO.
11059
42c8fdd8
JM
110602013-08-20 Joseph Myers <joseph@codesourcery.com>
11061
c980f2f4
JM
11062 [BZ #15531]
11063 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11064 argument is infinite.
11065 * math/s_cprojf.c (__cprojf): Likewise.
11066 * math/s_cprojl.c (__cprojl): Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11068 * math/libm-test.inc (cproj_test_data): Add more tests.
11069
0716c4fc
JM
11070 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11071
42c8fdd8
JM
11072 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11073 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11074 size. Use __ffs to determine corresponding shift.
11075
b31469d0
JM
110762013-08-20 Joseph Myers <joseph@codesourcery.com>
11077 Roland McGrath <roland@hack.frob.com>
11078
11079 * Makefile (INSTALL): Remove trailing blank lines from output of
11080 makeinfo.
11081
4e39af6e
AK
110822013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11083
11084 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11085 Align 32 bit compat elf_greg to 8 bytes.
11086
f315524e
AA
110872013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11088
11089 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11090
1326ba1a
SP
110912013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11092
11093 * string/strcoll_l.c (coll_seq): New structure.
11094 (get_next_seq_cached): New function.
11095 (get_next_seq): New function.
11096 (do_compare): New function.
11097 (STRCOLL): Use GNU style definition. Simplify implementation
11098 by using get_next_seq, get_next_seq_cached and do_compare.
11099
91ce4085
FW
111002013-08-16 Florian Weimer <fweimer@redhat.com>
11101
11102 [BZ #14699]
11103 CVE-2013-4237
11104 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11105 member.
11106 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11107 member.
11108 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11109 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11110 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11111 conditional.
11112 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11113 GETDENTS_64BIT_ALIGNED.
11114 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11115 * manual/filesys.texi (Reading/Closing Directory): Document
11116 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11117 strongly.
11118 * manual/conf.texi (Limits for Files): Add portability note to
11119 NAME_MAX, PATH_MAX.
11120 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11121
ca0a6bc4
AS
111222013-08-13 Andreas Schwab <schwab@suse.de>
11123
11124 [BZ #15749]
11125 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11126 of fabs.
11127 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11128 LDBL_MAX_EXP >= 16384]: Add tests for it.
11129
6c1fd795
DM
111302013-08-12 David S. Miller <davem@davemloft.net>
11131
11132 * version.h (RELEASE): Set to "development".
11133 (VERSION): Set to "2.18.90".
11134 * NEWS: Add 2.19 section.
11135
31ad488d
DM
111362013-08-03 David S. Miller <davem@davemloft.net>
11137
11138 * po/ko.po: Update Korean translation from translation project.
11139
db24e684
DM
111402013-08-01 David S. Miller <davem@davemloft.net>
11141
11142 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11143 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11144 Bilka.
11145
f723285b
DM
111462013-07-30 David S. Miller <davem@davemloft.net>
11147
11148 * po/fr.po: Update French translation from translation project.
11149
3cbc52db
DM
111502013-07-28 David S. Miller <davem@davemloft.net>
11151
30bbc0cc
DM
11152 * po/cs.po: Update Czech translation from translation project.
11153
3cbc52db
DM
11154 * po/sv.po: Update Swedish translation from translation project.
11155
d492e6d0
DM
111562013-07-27 David S. Miller <davem@davemloft.net>
11157
f1a7f492
DM
11158 * po/eo.po: Update Esperanto translation from translation project.
11159
90e62a4a
DM
11160 * po/vi.po: Update Vietnamese translation from translation project.
11161
d492e6d0
DM
11162 * po/de.po: Update German translation from translation project.
11163
d4baa62d
DM
111642013-07-26 David S. Miller <davem@davemloft.net>
11165
641aa7b4
DM
11166 * po/bg.po: Update Bulgarian translation from translation project.
11167
d4baa62d
DM
11168 * po/nl.po: Update Dutch translation from translation project.
11169 * po/pl.po: Update Polish translation from translation project.
11170 * po/ru.po: Update Russian translation from translation project.
11171
61a9dcb9
DM
111722013-07-24 David S. Miller <davem@davemloft.net>
11173
11174 * po/libc.pot: Update.
11175
7b1f8b58
AZ
111762013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11177
11178 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11179 variable page size.
11180 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11181 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11182 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11183
a8fc7a03
AK
111842013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11185
11186 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11187
e4608715
CD
111882013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11189 Andreas Schwab <schwab@suse.de>
11190 Roland McGrath <roland@hack.frob.com>
11191 Joseph Myers <joseph@codesourcery.com>
11192 Carlos O'Donell <carlos@redhat.com>
11193
11194 [BZ #15755]
11195 * config.h.in: Define HAVE_PT_CHOWN.
11196 * config.make.in (build-pt-chown): New variable.
11197 * configure.in (--enable-pt_chown): New configure option.
11198 * configure: Regenerate.
11199 * login/Makefile: Include Makeconfig. Build pt_chown only if
11200 build-pt-chown is enabled.
11201 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11202 pt_chown to fix pty ownership.
11203 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11204 CLOSE_ALL_FDS.
11205 * manual/install.texi (Configuring and compiling): Mention
11206 --enable-pt_chown. Add @findex for grantpt.
11207 * INSTALL: Regenerate.
11208
da2d62df
DM
112092013-07-20 David S. Miller <davem@davemloft.net>
11210
11211 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11212 difference between 32-bit and 64-bit.
11213
d7e06450
CD
112142013-07-15 Carlos O'Donell <carlos@redhat.com>
11215
11216 [BZ #15711]
11217 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11218 Avoid system header dependency with -ffreestanding.
11219 ($(objpfx)bits/syscall%d): Likewise.
11220
f959cfd7
DM
112212013-07-13 David S. Miller <davem@davemloft.net>
11222
11223 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11224 underflows from atanl/atan2l due to bug 15319.
11225 (casinh_test_data): Likewise.
11226
c61f8513
DM
112272013-07-07 David S. Miller <davem@davemloft.net>
11228
11229 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11230
72c90ed0
JA
112312013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11232
11233 * sysdeps/i386/fpu/libm-test-ulps: Update.
11234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11235
52dfbe13
SP
112362013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11237
11238 * configure.in (--enable-lock-elision): Fix message text.
11239 * INSTALL: Regenerate.
11240 * configure: Regenerate.
11241
3f169543
AZ
112422013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11243
11244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11245
521c6785
AJ
112462013-07-03 Andreas Jaeger <aj@suse.de>
11247
11248 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11249 define.
11250 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11251 (ptrace_peeksiginfo_args): Add.
11252 (__ptrace_peeksiginfo_flags): Add.
11253 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11256
d2cc15cb
AM
112572013-07-03 Allan McRae <allan@archlinux.org>
11258
11259 * sysdeps/i386/fpu/libm-test-ulps: Update.
11260
3aaeeca7
DM
112612013-07-02 David S. Miller <davem@davemloft.net>
11262
11263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11264
5314ed1a
MT
112652013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11266
11267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11268
67338156
JM
112692013-07-02 Joseph Myers <joseph@codesourcery.com>
11270
11271 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11273
1717da59
AK
112742013-07-02 Andi Kleen <ak@linux.intel.com>
11275
11276 * config.h.in (ENABLE_LOCK_ELISION): Add.
11277 * configure.in (--enable-lock-elision): Add option.
11278 * manual/install.texi: Document --enable lock elision.
11279 * configure: Regenerate
11280 * INSTALL: Regenerate.
11281
1c81621c
L
112822013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11283
11284 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11285 SSE4.2 strcasecmp for libc.a.
11286 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11287
77f01ab5
JM
112882013-07-02 Joseph Myers <joseph@codesourcery.com>
11289
11290 [BZ #13304]
11291 * soft-fp/op-common.h (_FP_FMA): New macro.
11292 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11293 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11294 (_FP_MUL_MEAT_1_imm): ... here.
11295 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11296 (_FP_MUL_MEAT_1_wide): ... here.
11297 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11298 (_FP_MUL_MEAT_1_hard): ... here.
11299 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11300 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11301 (_FP_MUL_MEAT_2_wide): ... here.
11302 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11303 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11304 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11305 (_FP_MUL_MEAT_2_gmp): ... here.
11306 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11307 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11308 (_FP_MUL_MEAT_4_wide): ... here.
11309 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11310 (_FP_MUL_MEAT_4_gmp): ... here.
11311 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11312 (_FP_WFRACBITS_DW_S): Likewise.
11313 (_FP_WFRACXBITS_DW_S): Likewise.
11314 (_FP_HIGHBIT_DW_S): Likewise.
11315 (FP_FMA_S): Likewise.
11316 (_FP_FRAC_HIGH_DW_S): Likewise.
11317 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11318 (_FP_WFRACBITS_DW_D): Likewise.
11319 (_FP_WFRACXBITS_DW_D): Likewise.
11320 (_FP_HIGHBIT_DW_D): Likewise.
11321 (FP_FMA_D): Likewise.
11322 (_FP_FRAC_HIGH_DW_D): Likewise.
11323 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11324 (_FP_WFRACBITS_DW_E): Likewise.
11325 (_FP_WFRACXBITS_DW_E): Likewise.
11326 (_FP_HIGHBIT_DW_E): Likewise.
11327 (FP_FMA_E): Likewise.
11328 (_FP_FRAC_HIGH_DW_E): Likewise.
11329 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11330 (_FP_WFRACBITS_DW_Q): Likewise.
11331 (_FP_WFRACXBITS_DW_Q): Likewise.
11332 (_FP_HIGHBIT_DW_Q): Likewise.
11333 (FP_FMA_Q): Likewise.
11334 (_FP_FRAC_HIGH_DW_Q): Likewise.
11335 * soft-fp/fmasf4.c: New file.
11336 * soft-fp/fmadf4.c: Likewise.
11337 * soft-fp/fmatf4.c: Likewise.
11338
6308fd9a
LD
113392013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11340
11341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11342 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11343 Silvermont.
11344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11345 macro.
11346 (index_Slow_SSE4_2): Likewise.
11347 (index_Prefer_PMINUB_for_stringop): Likewise.
11348 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11349 bit_Slow_SSE4_2 is set.
11350 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11351 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11352
89cd9569
RA
113532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11354
11355 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11356 rtld_global._dl_hwcap2.
11357 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11358 POWER8.
11359 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11360 POWER8 feature descriptions defined in _dl_hwcap2.
11361 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11362 string handling for POWER8 feature bits.
11363 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11364 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11365 _dl_powerpc_cap_flags.
11366 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11367 * sysdeps/powerpc/rtld-global-offsets.sym
11368 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11369 _dl_hwcap2 in the rtld_global_ro structure.
11370
1ae8bfe0
RA
113712013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11372
11373 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11374 hardware capabilities in support of AT_HWCAP2.
11375 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11376 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11377 GLRO(dl_hwcap2).
11378 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11379 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11380 explicitly the unknown a_type display mechanism is used.
11381 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11382 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11383 struct member.
11384 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11385 to macro prototype for AT_HWCAP2 support.
11386 * sysdeps/i386/dl-procinfo.h: Likewise.
11387 * sysdeps/s390/dl-procinfo.h: Likewise.
11388 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11389 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11390 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11391 return -1 for unknown a_type display fallback.
11392 * sysdeps/sparc/dl-procinfo.h: Likewise.
11393 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11394 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11395
8fbec010
JM
113962013-06-28 Joseph Myers <joseph@codesourcery.com>
11397
11398 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11399 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11400
0432680e
PY
114012013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11402
11403 [BZ #12492]
11404 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11405 mprotect making __stack_prot writable.
11406
ce61a2ad
NF
114072013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11408 Joseph Myers <joseph@codesourcery.com>
11409
11410 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11411 as being properly aligned.
11412
f91f1c0f
MR
114132013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11414
3d0f5d0c
MR
11415 * dlfcn/modstatic5.c: New file.
11416 * dlfcn/tststatic5.c: New file.
11417 * dlfcn/Makefile (tests): Add tststatic5.
11418 (tests-static): Likewise.
11419 (modules-names): Add modstatic5.
11420 (tststatic5-ENV): New variable.
11421 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11422
f91f1c0f
MR
11423 [BZ #15022]
11424 * elf/dl-support.c (_dl_main_map): New variable.
11425 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11426 (_dl_nns, _dl_load_adds): Set to 1.
11427 (_dl_initial_searchlist): Refer to _dl_main_map.
11428 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11429 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11430 call to _dl_get_origin.
11431 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11432 around call_map.
11433 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11434 * dlfcn/modstatic3.c: New file.
11435 * dlfcn/tststatic3.c: New file.
11436 * dlfcn/tststatic4.c: New file.
11437 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11438 (tests-static): Likewise.
11439 (modules-names): Add modstatic3.
11440 (tststatic3-ENV, tststatic4-ENV): New variables.
11441 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11442 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11443
cbe7d24b
JM
114442013-06-26 Joseph Myers <joseph@codesourcery.com>
11445
11446 * configure.in (CC): Require GCC version 4.4 or later.
11447 * configure: Regenerated.
11448 * manual/install.texi (Tools for Compilation): Update GCC version
11449 requirement.
11450 * INSTALL: Regenerated.
11451
11b8a0e1
LD
114522013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11453
11454 [BZ #15674]
bb5bb87c
L
11455 * string/test-memcmp.c (check2): New.
11456 (main): Call check2.
11457
11b8a0e1
LD
11458 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11459
b0037103
MR
114602013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11461
11462 [BZ #15022]
11463 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11464 over to...
11465 (dl_open_worker) [!SHARED]: ... here.
11466
c18c701d
RA
114672013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11468
11469 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11470
1d17fa5f
RH
114712013-06-25 Richard Henderson <rth@redhat.com>
11472
11473 * locale/programs/locarchive.c: Include <libc-internal.h>
11474
8fcb833a
JM
114752013-06-25 Joseph Myers <joseph@codesourcery.com>
11476
11477 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11478 trailing whitespace removed.
11479
17db6e8d
MF
114802013-06-24 Mike Frysinger <vapier@gentoo.org>
11481
11482 [BZ #10283]
17db6e8d
MF
11483 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11484 * locale/programs/locarchive.c: Include libc-mmap.h.
11485 (prepare_address_space): Take two new outputs (the mmap base and len).
11486 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11487 values.
11488 (create_archive): Declare new mmap base and len values for
11489 prepare_address_space, and store the result in ah.
11490 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11491 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11492 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11493 Declare new mmap base and len values for
11494 prepare_address_space, and store the result in new_ah.
11495 (open_archive): Declare new mmap base and len values for
11496 prepare_address_space, and store the result in ah.
11497 (close_archive): If ah->mmap_base is not NULL, use that and
11498 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11499 * sysdeps/generic/libc-mmap.h: New file.
11500
d605071e
MF
115012013-06-24 Mike Frysinger <vapier@gentoo.org>
11502
11503 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11504 (ALIGN_UP): Likewise.
11505 (PTR_ALIGN_DOWN): Likewise.
11506 (PTR_ALIGN_UP): Likewise.
11507
2f063a6e
RA
115082013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11509
11510 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11511 entry mapped to PPC_PLATFORM_POWER8.
11512 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11513 POWER8.
11514 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11515 (_dl_string_platform): Add case for exporting platform position for
11516 POWER8.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11518 search path to sysdeps/powerpc/powerpc32/power8 directory.
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11520 search path to sysdeps/powerpc/powerpc64/power8 directory.
11521 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11522 power7 directories.
11523 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11524 power7 directories.
11525
a31ee4b3
SP
115262013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11527
a74ca98f
SP
11528 * INSTALL: Regenerate.
11529
a31ee4b3
SP
11530 * nscd/connections.c (nscd_init): Fix comment.
11531
695c378f
JM
115322013-06-22 Joseph Myers <joseph@codesourcery.com>
11533
d8412221
JM
11534 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11535
695c378f
JM
11536 [BZ #15667]
11537 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11538 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11539
d1d54715
MR
115402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11541
11542 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11543 DL_DST_REQ_STATIC.
11544 (DL_DST_REQ_STATIC): Remove macro.
11545
8fdda7af
JM
115462013-06-21 Joseph Myers <joseph@codesourcery.com>
11547
11548 [BZ #7006]
11549 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11550 with a shift of 0 bits.
11551
f3bc5e5a
MR
115522013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11553
11554 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11555 $(tststatic-ENV).
11556
be09e8c9
KK
115572013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11558
11559 [BZ #15655]
11560 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11561
85c2e611
AZ
115622013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11563
11564 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11565 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11566 accepts -fno-tree-loop-distribute-patterns.
11567 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11568 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11569 recursive call.
11570 * string/memset.c (memset): Likewise.
11571 * string/test-memmove.c (simple_memmove): Disable loop transformation
11572 to library calls.
11573 * string/test-memset.c (simple_memset): Likewise.
11574 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11575 * benchtests/bench-memset.c (simple_memset): Likewise.
11576 * configure: Regenerated.
11577
c91e0825
JM
115782013-06-20 Joseph Myers <joseph@codesourcery.com>
11579
b8c792af
JM
11580 * math/test-misc.c (main): Ignore fesetround failure when failures
11581 of subsequent rounding tests would be ignored.
11582
c91e0825
JM
11583 [BZ #15654]
11584 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11585 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11586 * math/fegetenv.c (__fegetenv): Return 0.
11587 * math/fegetexcept.c (fegetexcept): Return 0.
11588 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11589 FE_TONEAREST.
11590 * math/feholdexcpt.c (feholdexcept): Return 0.
11591 * math/fesetenv.c (__fesetenv): Return 0.
11592 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11593 argument FE_TONEAREST.
11594 * math/feupdateenv.c (__feupdateenv): Return 0.
11595 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11596
bfcacbde
RM
115972013-06-18 Roland McGrath <roland@hack.frob.com>
11598
11599 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11600 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11601 ($(objpfx)rtld-%.os rules): Use them.
11602
e55a9b25
AZ
116032013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11604
11605 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11606 fields.
11607
346d65b3
RM
116082013-06-17 Roland McGrath <roland@hack.frob.com>
11609
12086fb4
RM
11610 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11611 length of target pattern, then descending length of dependency pattern.
11612 * configure.in (AWK): Require gawk 3.1.2 or newer.
11613 * manual/install.texi (Tools for Compilation): Say that we do.
11614 * configure: Regenerated.
11615
346d65b3
RM
11616 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11617 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11618 * scripts/sysd-rules.awk: ... this new script.
11619 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11620 than a glob-style pattern.
11621
1a846317
JM
116222013-06-17 Joseph Myers <joseph@codesourcery.com>
11623
11624 * math/test-misc.c (main): Do not treat incorrectly rounded
11625 conversions as failure unless ROUNDING_TESTS passes.
11626
8fc75e6f
JM
116272013-06-15 Joseph Myers <joseph@codesourcery.com>
11628
3711a167
JM
11629 [BZ #15631]
11630 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11631 restore exception state around main square root computation, then
11632 check for inexactness explicitly.
11633
8fc75e6f
JM
11634 * math/libm-test.inc (fma_test_data): Add another test.
11635
61dd6208
SP
116362013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11637
adf23d2c
SP
11638 * manual/threads.texi (Non-POSIX Extensions): New document
11639 node. Document pthread_getattr_default_np and
11640 pthread_setattr_default_np.
11641
61dd6208
SP
11642 * Versions.def (libpthread): Add GLIBC_2.18.
11643 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11645 Likewise.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11647 Likewise.
11648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11649 Likewise.
11650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11651 Likewise.
11652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11653 Likewise.
11654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11655 Likewise.
11656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11657 Likewise.
11658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11659 Likewise.
11660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11661 Likewise.
11662
d086fc7b
LD
116632013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11664
11665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11666 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11667
747ef469
SP
116682013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11669 H.J. Lu <hjl.tools@gmail.com>
11670
11671 [BZ #15627]
11672 * sysdeps/x86_64/rtld-memset.c: Remove file.
11673 * sysdeps/x86_64/rtld-memset.S: New file.
11674
1b2feed2
JM
116752013-06-14 Joseph Myers <joseph@codesourcery.com>
11676
11677 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11678 (test_in_one_mode): Take arguments for whether the rounding mode
11679 is supported for each floating-point type.
11680 (do_test): Pass new arguments to test_in_one_mode using
11681 ROUNDING_TESTS.
11682
a58ad3f8
RM
116832013-06-13 Roland McGrath <roland@hack.frob.com>
11684
11685 * posix/tst-waitid.c (do_test): Distinguish different instances of
11686 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11687 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11688 before entering the kernel for waitpid.
11689
c204ab28
SP
116902013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11691
11692 * NEWS: Fix note on clock function precision. Text by Roland
11693 McGrath.
11694
f4a29fba
RM
116952013-06-13 Roland McGrath <roland@hack.frob.com>
11696
11697 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11698 it into place only when and if the sanity check passes.
11699
1f24b9ad
JM
117002013-06-13 Joseph Myers <joseph@codesourcery.com>
11701
11702 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11703 output for whether conversion result is exact. Take argument
11704 indicating whether type is IBM long double.
11705 (round_for_all): Change need_exact field to ibm_ld.
11706 * stdlib/tst-strtod-round.c (struct exactness): New type.
11707 (struct test): Change bool ld_ok field to struct exactness exact.
11708 (TEST): Update all definitions for change to field.
11709 (tests): Regenerate array contents.
11710 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11711 field value. Check for IBM long double here.
11712 (do_test): Update calls to test_in_one_mode.
11713
58206c68
SP
117142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11715
11716 [BZ #12515]
11717 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11718 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11719
2d6f4c5b 117202013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11721
11722 [BZ #15605]
11723 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11724 generated by the compiler on loop optimizations.
11725 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11726 general definitions.
11727
94f2c076
JM
117282013-06-12 Joseph Myers <joseph@codesourcery.com>
11729
11730 * math/bug-nextafter.c: Include <math-tests.h>.
11731 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11732 the relevant type.
11733 * math/bug-nexttoward.c: Include <math-tests.h>.
11734 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11735 the relevant type.
11736 * math/test-misc.c: Include <math-tests.h>.
11737 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11738 the relevant type.
11739
e0e50a0a
AJ
117402013-06-12 Andreas Jaeger <aj@suse.de>
11741
11742 * po/ia.po: Update Interlingua translation from translation
11743 project.
11744
25061094
SP
117452013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11746
11747 * include/fenv.h: Include stdbool.h.
11748 (struct rm_ctx): New structure.
11749 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11750 Define macro.
11751 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11752 (SET_RESTORE_ROUNDF): Likewise.
11753 (SET_RESTORE_ROUNDL): Likewise.
11754 (SET_RESTORE_ROUND_NOEX): Likewise.
11755 (SET_RESTORE_ROUND_NOEXF): Likewise.
11756 (SET_RESTORE_ROUND_NOEXL): Likewise.
11757 (SET_RESTORE_ROUND_53BIT): Likewise.
11758 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11759 (libc_feresetround_noexf_ctx): Likewise.
11760 (libc_feresetround_noexl_ctx): Likewise.
11761 (libc_feholdsetround_53bit_ctx): Likewise.
11762 (libc_feresetround_53bit_ctx): Likewise.
11763 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11764 (libc_feholdexcept_setround_sse_ctx): New function.
11765 (libc_fesetenv_sse_ctx): Likewise.
11766 (libc_feupdateenv_sse_ctx): Likewise.
11767 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11768 (libc_feholdexcept_setround_387_ctx): Likewise.
11769 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11770 (libc_feholdsetround_387_prec_ctx): Likewise.
11771 (libc_feholdsetround_387_ctx): Likewise.
11772 (libc_feholdsetround_387_53bit_ctx): Likewise.
11773 (libc_feholdsetround_sse_ctx): Likewise.
11774 (libc_feresetround_sse_ctx): Likewise.
11775 (libc_feresetround_387_ctx): Likewise.
11776 (libc_feupdateenv_387_ctx): Likewise.
11777 (libc_feholdexcept_setroundf_ctx): Define macro.
11778 (libc_fesetenvf_ctx): Likewise.
11779 (libc_feupdateenvf_ctx): Likewise.
11780 (libc_feholdsetroundf_ctx): Likewise.
11781 (libc_feresetroundf_ctx): Likewise.
11782 (libc_feholdexcept_setround_ctx): Likewise.
11783 (libc_fesetenv_ctx): Likewise.
11784 (libc_feupdateenv_ctx): Likewise.
11785 (libc_feholdsetround_ctx): Likewise.
11786 (libc_feresetround_ctx): Likewise.
11787 (libc_feholdexcept_setroundl_ctx): Likewise.
11788 (libc_feupdateenvl_ctx): Likewise.
11789 (libc_feholdsetroundl_ctx): Likewise.
11790 (libc_feresetroundl_ctx): Likewise.
11791 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11792 (libc_feresetround_53bit_ctx): Likewise.
11793
59b30555
SP
117942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11795
11796 * locale/iso-639.def: Convert to UTF-8.
11797
f1d73d30
JM
117982013-06-11 Joseph Myers <joseph@codesourcery.com>
11799
11800 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11801 (EXCEPTION_TESTS_double): Likewise.
11802 (EXCEPTION_TESTS_long_double): Likewise.
11803 (EXCEPTION_TESTS): Likewise.
11804 * math/libm-test.inc (test_exceptions): Only test exceptions if
11805 EXCEPTION_TESTS (FLOAT).
11806
94aca5e7
SP
118072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11808
11809 * benchtests/Makefile (string-bench): Add strcpy_chk and
11810 stpcpy_chk.
11811 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11812 * benchtests/bench-stpcpy_chk.c: New file.
11813 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11814 * benchtests/bench-strcpy_chk.c: New file.
11815 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11816 code.
11817 (do_test): Likewise.
11818
fac0c5f2
RA
118192013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11820
11821 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11822 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11823 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11824 with tabs where appropriate.
11825 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11826 dl-procinfo.h.
11827 [PPC_PLATFORM_PPC440]: Likewise.
11828 [PPC_PLATFORM_PPC464]: Likewise.
11829 [PPC_PLATFORM_PPC476]: Likewise.
11830 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11831 ppc464, and ppc476 platform strings merging from ports/
11832 dl-procinfo.h.
11833
f22bc486
AS
118342013-06-11 Andreas Schwab <schwab@suse.de>
11835
11836 [BZ #14991]
11837 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11838 (from_ucs4_idx): Regenerate.
11839 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11840 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11841 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11842 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11843 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11844 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11845 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11846 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11847 from FROM_LOOP and TO_LOOP specific macros.
11848 (BODY): Handle combining characters.
11849 * iconvdata/BIG5HKSCS.irreversible: Update.
11850 * iconvdata/BIG5HKSCS.precomposed: New file.
11851 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11852 characters.
11853 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11854
c1f75dc3
SP
118552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11856
4eacded2
SP
11857 * include/sys/time.h: Fix indentation and add copyright header.
11858
fec799f8
SP
11859 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11860 (do_test): Likewise.
11861 * string/test-memchr.c (do_one_test): Likewise.
11862 (do_test): Likewise.
11863 * string/test-memcmp.c (do_one_test): Likewise.
11864 (do_test): Likewise.
11865 * string/test-memcpy.c (do_one_test): Likewise.
11866 (do_test): Likewise.
11867 * string/test-memmem.c (do_one_test): Likewise.
11868 (do_test): Likewise.
11869 (do_random_tests): Likewise.
11870 * string/test-memmove.c (do_one_test): Likewise.
11871 (do_test): Likewise.
11872 * string/test-memset.c (do_one_test): Likewise.
11873 (do_test): Likewise.
11874 * string/test-rawmemchr.c (do_one_test): Likewise.
11875 (do_test): Likewise.
11876 * string/test-strcasecmp.c (do_one_test): Likewise.
11877 (do_test): Likewise.
11878 * string/test-strcasestr.c (do_one_test): Likewise.
11879 (do_test): Likewise.
11880 * string/test-strcat.c (do_one_test): Likewise.
11881 (do_test): Likewise.
11882 * string/test-strchr.c (do_one_test): Likewise.
11883 (do_test): Likewise.
11884 * string/test-strcmp.c (do_one_test): Likewise.
11885 (do_test): Likewise.
11886 * string/test-strcpy.c (do_one_test): Likewise.
11887 (do_test): Likewise.
11888 * string/test-string.h: Likewise.
11889 (test_init): Likewise.
11890 * string/test-strlen.c (do_one_test): Likewise.
11891 (do_test): Likewise.
11892 * string/test-strncasecmp.c (do_one_test): Likewise.
11893 (do_test): Likewise.
11894 * string/test-strncat.c (do_one_test): Likewise.
11895 (do_test): Likewise.
11896 * string/test-strncmp.c (do_one_test): Likewise.
11897 (do_test_limit): Likewise.
11898 (do_test): Likewise.
11899 * string/test-strncpy.c (do_one_test): Likewise.
11900 (do_test): Likewise.
11901 * string/test-strnlen.c (do_one_test): Likewise.
11902 (do_test): Likewise.
11903 * string/test-strpbrk.c (do_one_test): Likewise.
11904 (do_test): Likewise.
11905 * string/test-strrchr.c (do_one_test): Likewise.
11906 (do_test): Likewise.
11907 * string/test-strspn.c (do_one_test): Likewise.
11908 (do_test): Likewise.
11909 * string/test-strstr.c (do_one_test): Likewise.
11910 (do_test): Likewise.
11911
97020474
SP
11912 * benchtests/Makefile (string-bench): Add string benchmarks.
11913 * benchtests/bench-bcopy-ifunc.c: New file.
11914 * benchtests/bench-bcopy.c: New file.
11915 * benchtests/bench-bzero-ifunc.c: New file.
11916 * benchtests/bench-bzero.c: New file.
11917 * benchtests/bench-memccpy-ifunc.c: New file.
11918 * benchtests/bench-memccpy.c: New file.
11919 * benchtests/bench-memchr-ifunc.c: New file.
11920 * benchtests/bench-memchr.c: New file.
11921 * benchtests/bench-memcmp-ifunc.c: New file.
11922 * benchtests/bench-memcmp.c: New file.
11923 * benchtests/bench-memmem-ifunc.c: New file.
11924 * benchtests/bench-memmem.c: New file.
11925 * benchtests/bench-memmove-ifunc.c: New file.
11926 * benchtests/bench-memmove.c: New file.
11927 * benchtests/bench-mempcpy-ifunc.c: New file.
11928 * benchtests/bench-mempcpy.c: New file.
11929 * benchtests/bench-memset-ifunc.c: New file.
11930 * benchtests/bench-memset.c: New file.
11931 * benchtests/bench-rawmemchr-ifunc.c: New file.
11932 * benchtests/bench-rawmemchr.c: New file.
11933 * benchtests/bench-stpcpy-ifunc.c: New file.
11934 * benchtests/bench-stpcpy.c: New file.
11935 * benchtests/bench-stpncpy-ifunc.c: New file.
11936 * benchtests/bench-stpncpy.c: New file.
11937 * benchtests/bench-strcasecmp-ifunc.c: New file.
11938 * benchtests/bench-strcasecmp.c: New file.
11939 * benchtests/bench-strcasestr-ifunc.c: New file.
11940 * benchtests/bench-strcasestr.c: New file.
11941 * benchtests/bench-strcat-ifunc.c: New file.
11942 * benchtests/bench-strcat.c: New file.
11943 * benchtests/bench-strchr-ifunc.c: New file.
11944 * benchtests/bench-strchr.c: New file.
11945 * benchtests/bench-strchrnul-ifunc.c: New file.
11946 * benchtests/bench-strchrnul.c: New file.
11947 * benchtests/bench-strcmp-ifunc.c: New file.
11948 * benchtests/bench-strcmp.c: New file.
11949 * benchtests/bench-strcpy-ifunc.c: New file.
11950 * benchtests/bench-strcpy.c: New file.
11951 * benchtests/bench-strcspn-ifunc.c: New file.
11952 * benchtests/bench-strcspn.c: New file.
11953 * benchtests/bench-strlen-ifunc.c: New file.
11954 * benchtests/bench-strlen.c: New file.
11955 * benchtests/bench-strncasecmp-ifunc.c: New file.
11956 * benchtests/bench-strncasecmp.c: New file.
11957 * benchtests/bench-strncat-ifunc.c: New file.
11958 * benchtests/bench-strncat.c: New file.
11959 * benchtests/bench-strncmp-ifunc.c: New file.
11960 * benchtests/bench-strncmp.c: New file.
11961 * benchtests/bench-strncpy-ifunc.c: New file.
11962 * benchtests/bench-strncpy.c: New file.
11963 * benchtests/bench-strnlen-ifunc.c: New file.
11964 * benchtests/bench-strnlen.c: New file.
11965 * benchtests/bench-strpbrk-ifunc.c: New file.
11966 * benchtests/bench-strpbrk.c: New file.
11967 * benchtests/bench-strrchr-ifunc.c: New file.
11968 * benchtests/bench-strrchr.c: New file.
11969 * benchtests/bench-strspn-ifunc.c: New file.
11970 * benchtests/bench-strspn.c: New file.
11971 * benchtests/bench-strstr-ifunc.c: New file.
11972 * benchtests/bench-strstr.c: New file.
11973
c1f75dc3
SP
11974 * benchtests/Makefile: Disable parallel execution of targets.
11975 (string-bench): Add memcpy.
11976 (benchset): New variable to store a list of benchmark sets.
11977 (bench-func): Renamed from bench.
11978 (bench-set): New target.
11979 (bench): Depend on bench-func and bench-set.
11980 * benchtests/README: Add section on benchmark sets.
11981 * benchtests/bench-memcpy-ifunc.c: New file.
11982 * benchtests/bench-memcpy.c: New file.
11983 * benchtests/bench-string.h: New file.
11984
50fd745b
AS
119852013-06-11 Andreas Schwab <schwab@suse.de>
11986
11987 [BZ #15577]
11988 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11989 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11990 values in the triple.
11991 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11992 terminator in the group key.
11993
3ee7e9fe
AJ
119942013-06-11 Andreas Jaeger <aj@suse.de>
11995
11996 * po/zh_TW.po: Update Chinese (traditional) translation from
11997 translation project.
11998
89fb6835
SP
119992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12000
12001 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12002 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12003 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12005 (clock_getcpuclockid): Likewise.
12006 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12007 Add weak_alias and libc_hidden_def.
12008 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12009 * rt/clock_gettime.c (clock_gettime): Rename to
12010 __clock_gettime. Add weak_alias and libc_hidden_def.
12011 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12012 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12013 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12014 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12015 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12016 Likewise.
12017 * rt/clock_settime.c (clock_settime): Rename to
12018 __clock_settime. Add weak_alias and libc_hidden_def.
12019 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12020
0efa6f8b
JM
120212013-06-10 Joseph Myers <joseph@codesourcery.com>
12022
b8c61b4b
JM
12023 * mach/err_boot.sub: Remove trailing whitespace.
12024 * mach/err_ipc.sub: Likewise.
12025 * mach/err_mach.sub: Likewise.
12026
0efa6f8b
JM
12027 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12028 (ROUNDING_TESTS_double): Likewise.
12029 (ROUNDING_TESTS_long_double): Likewise.
12030 (ROUNDING_TESTS): Likewise.
12031 * math/libm-test.inc: Include <math-tests.h>.
12032 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12033 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12034 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12035 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12036
50b818bf
SP
120372013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12038
12039 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12040 of assigning.
12041
60d2f8f3
JM
120422013-06-08 Joseph Myers <joseph@codesourcery.com>
12043
4902d2c3
JM
12044 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12045 otherwise empty TRANS lines.
12046 * sysdeps/gnu/errlist.c: Regenerated.
12047
60d2f8f3
JM
12048 * catgets/gencat.c (error_print): Use (void) in function
12049 definition.
12050 * crypt/crypt_util.c (__init_des): Likewise.
12051 * crypt/speeds.c (Stop): Likewise.
12052 (main): Likewise.
12053 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12054 * inet/ruserpass.c (token): Likewise.
12055 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12056 * intl/localealias.c (extend_alias_table): Likewise.
12057 * intl/plural-exp.c (init_germanic_plural): Likewise.
12058 * libio/fcloseall.c (__fcloseall): Likewise.
12059 * libio/genops.c (_IO_flush_all): Likewise.
12060 (_IO_flush_all_linebuffered): Likewise.
12061 (_IO_cleanup): Likewise.
12062 (_IO_iter_begin): Likewise.
12063 (_IO_iter_end): Likewise.
12064 (_IO_list_lock): Likewise.
12065 (_IO_list_unlock): Likewise.
12066 (_IO_list_resetlock): Likewise.
12067 * libio/getchar.c (getchar): Likewise.
12068 * libio/getchar_u.c (getchar_unlocked): Likewise.
12069 * libio/getwchar.c (getwchar): Likewise.
12070 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12071 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12072 * login/getpt.c (__getpt): Likewise.
12073 * login/tst-utmp.c (main): Likewise.
12074 * malloc/hooks.c (__malloc_check_init): Likewise.
12075 * malloc/malloc.c (__malloc_stats): Likewise.
12076 * malloc/mtrace.c (tr_break): Likewise.
12077 (mtrace): Likewise.
12078 (muntrace): Likewise.
12079 * misc/fstab.c (endfsent): Likewise.
12080 * misc/getclktck.c (__getclktck): Likewise.
12081 * misc/getdtsz.c (__getdtablesize): Likewise.
12082 * misc/gethostid.c (gethostid): Likewise.
12083 * misc/getpagesize.c (__getpagesize): Likewise.
12084 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12085 (__get_nprocs): Likewise.
12086 (__get_phys_pages): Likewise.
12087 (__get_avphys_pages): Likewise.
12088 * misc/getttyent.c (getttyent): Likewise.
12089 (setttyent): Likewise.
12090 (endttyent): Likewise.
12091 * misc/getusershell.c (getusershell): Likewise.
12092 (endusershell): Likewise.
12093 (setusershell): Likewise.
12094 (initshells): Likewise.
12095 * misc/hsearch.c (__hdestroy): Likewise.
12096 * misc/sync.c (sync): Likewise.
12097 * misc/syslog.c (closelog_internal): Likewise.
12098 (closelog): Likewise.
12099 * misc/ttyslot.c (ttyslot): Likewise.
12100 * misc/vhangup.c (vhangup): Likewise.
12101 * posix/fork.c (__fork): Likewise.
12102 * posix/getegid.c (__getegid): Likewise.
12103 * posix/geteuid.c (__geteuid): Likewise.
12104 * posix/getgid.c (__getgid): Likewise.
12105 * posix/getpid.c (__getpid): Likewise.
12106 * posix/getppid.c (__getppid): Likewise.
12107 * posix/getuid.c (__getuid): Likewise.
12108 * posix/pause.c (pause): Likewise.
12109 * posix/setpgrp.c (setpgrp): Likewise.
12110 * posix/setsid.c (__setsid): Likewise.
12111 * posix/test-vfork.c (noop): Likewise.
12112 * resolv/gethnamaddr.c (_endhtent): Likewise.
12113 (_gethtent): Likewise.
12114 (ht_endhostent): Likewise.
12115 (gethostent): Likewise.
12116 (dns_service): Likewise.
12117 * stdlib/drand48.c (drand48): Likewise.
12118 * stdlib/lrand48.c (lrand48): Likewise.
12119 * stdlib/mrand48.c (mrand48): Likewise.
12120 * stdlib/rand.c (rand): Likewise.
12121 * stdlib/random.c (__random): Likewise.
12122 * stdlib/setenv.c (clearenv): Likewise.
12123 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12124 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12125 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12126 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12127 (__get_nprocs): Likewise.
12128 (__get_phys_pages): Likewise.
12129 (__get_avphys_pages): Likewise.
12130 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12131 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12132 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12133 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12134 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12135 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12136 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12137 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12138 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12139 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12140 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12141 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12142 * sysdeps/posix/clock.c (clock): Likewise.
12143 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12144 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12145 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12146 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12147 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12149 (__get_nprocs_conf): Likewise.
12150 (__get_phys_pages): Likewise.
12151 (__get_avphys_pages): Likewise.
12152 * time/clock.c (clock): Likewise.
12153 * time/tzset.c (__tzname_max): Likewise.
12154
2e09a79a
JM
121552013-06-07 Joseph Myers <joseph@codesourcery.com>
12156
12157 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12158 (__bswap_32): Do not use "register".
12159 * crypt/crypt.c (_ufc_doit_r): Likewise.
12160 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12161 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12162 * gmon/gmon.c (__monstartup): Likewise.
12163 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12164 * hurd/hurdmalloc.c (more_memory): Likewise.
12165 (malloc): Likewise.
12166 (free): Likewise.
12167 (realloc): Likewise.
12168 (malloc_fork_prepare): Likewise.
12169 (malloc_fork_parent): Likewise.
12170 (malloc_fork_child): Likewise.
12171 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12172 (_svcauth_des): Likewise.
12173 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12174 * inet/inet_net.c (inet_network): Likewise.
12175 * inet/inet_netof.c (inet_netof): Likewise.
12176 * inet/rcmd.c (__validuser2_sa): Likewise.
12177 * io/fts.c (fts_open): Likewise.
12178 (fts_load): Likewise.
12179 (fts_close): Likewise.
12180 (fts_read): Likewise.
12181 (fts_children): Likewise.
12182 (fts_build): Likewise.
12183 (fts_stat): Likewise.
12184 (fts_sort): Likewise.
12185 (fts_alloc): Likewise.
12186 (fts_lfree): Likewise.
12187 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12188 (_IO_file_xsgetn): Likewise.
12189 (_IO_file_xsgetn_mmap): Likewise.
12190 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12191 (_IO_cookie_write): Likewise.
12192 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12193 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12194 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12195 * malloc/obstack.c (_obstack_begin): Likewise.
12196 (_obstack_begin_1): Likewise.
12197 (_obstack_newchunk): Likewise.
12198 (_obstack_allocated_p): Likewise.
12199 (obstack_free): Likewise.
12200 (_obstack_memory_used): Likewise.
12201 * misc/getttyent.c (getttynam): Likewise.
12202 (getttyent): Likewise.
12203 (skip): Likewise.
12204 (value): Likewise.
12205 * misc/getusershell.c (initshells): Likewise.
12206 * misc/syslog.c (__vsyslog_chk): Likewise.
12207 * misc/ttyslot.c (ttyslot): Likewise.
12208 * nis/nis_hash.c (__nis_hash): Likewise.
12209 * posix/fnmatch_loop.c (FCT): Likewise.
12210 * posix/getconf.c (print_all): Likewise.
12211 (main): Likewise.
12212 * posix/getopt.c (exchange): Likewise.
12213 * posix/glob.c (globfree): Likewise.
12214 (prefix_array): Likewise.
12215 (__glob_pattern_type): Likewise.
12216 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12217 (NS_GET32): Likewise.
12218 (NS_PUT16): Likewise.
12219 (NS_PUT32): Likewise.
12220 * resolv/gethnamaddr.c (getanswer): Likewise.
12221 (gethostbyname2): Likewise.
12222 (gethostbyaddr): Likewise.
12223 (_gethtent): Likewise.
12224 (_gethtbyname2): Likewise.
12225 (_gethtbyaddr): Likewise.
12226 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12227 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12228 * resolv/res_init.c (__res_vinit): Likewise.
12229 (net_mask): Likewise.
12230 * resolv/res_mkquery.c (outchar): Likewise.
12231 (PRINT): Likewise.
12232 * stdio-common/printf_fp.c (outchar): Likewise.
12233 (PRINT): Likewise.
12234 * stdio-common/printf_fphex.c (outchar): Likewise.
12235 (PRINT): Likewise.
12236 * stdio-common/printf_size.c (outchar): Likewise.
12237 (PRINT): Likewise.
12238 * stdio-common/test_rdwr.c (main): Likewise.
12239 * stdio-common/tfformat.c (matches): Likewise.
12240 * stdio-common/vfprintf.c (outchar): Likewise.
12241 (printf_unknown): Likewise.
12242 (buffered_vfprintf): Likewise.
12243 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12244 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12245 (ReadFile): Likewise.
12246 * stdlib/qsort.c (SWAP): Likewise.
12247 (_quicksort): Likewise.
12248 * stdlib/setenv.c (__add_to_environ): Likewise.
12249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12250 * stdlib/strtol_l.c (__strtol_l): Likewise.
12251 * stdlib/tst-strtod.c (main): Likewise.
12252 * stdlib/tst-strtol.c (main): Likewise.
12253 * stdlib/tst-strtoll.c (main): Likewise.
12254 * string/bits/string2.h (__strcmp_cc): Likewise.
12255 (__strcmp_cg): Likewise.
12256 (__strcspn_c1): Likewise.
12257 (__strcspn_c2): Likewise.
12258 (__strcspn_c3): Likewise.
12259 (__strspn_c1): Likewise.
12260 (__strspn_c2): Likewise.
12261 (__strspn_c3): Likewise.
12262 (__strsep_1c): Likewise.
12263 (__strsep_2c): Likewise.
12264 (__strsep_3c): Likewise.
12265 * string/memccpy.c (__memccpy): Likewise.
12266 * string/stpcpy.c (__stpcpy): Likewise.
12267 * string/strcmp.c (strcmp): Likewise.
12268 * string/strrchr.c (strrchr): Likewise.
12269 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12270 Likewise.
12271 * sysdeps/mach/hurd/getcwd.c
12272 (_hurd_canonicalize_directory_name_internal): Likewise.
12273 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12274 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12275 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12276 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12277 Likewise, in both definitions.
12278 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12279 definitions.
12280 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12281 64] (__bswap_64): Likewise.
12282 * time/test_time.c (main): Likewise.
12283 * time/tzfile.c (__tzfile_read): Likewise.
12284 (__tzfile_compute): Likewise.
12285 * time/tzset.c (__tzset_parse_tz): Likewise.
12286 (tzset_internal): Likewise.
12287 (compute_change): Likewise.
12288 * wcsmbs/wcscat.c (__wcscat): Likewise.
12289 * wcsmbs/wcschr.c (wcschr): Likewise.
12290 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12291 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12292 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12293 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12294 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12295 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12296 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12297 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12298 * wcsmbs/wmemset.c (wmemset): Likewise.
12299
9e54314b
JM
123002013-06-06 Joseph Myers <joseph@codesourcery.com>
12301
12302 * scripts/config.guess: Update to version 2013-05-16.
12303 * scripts/config.sub: Update to version 2013-04-24.
12304 * scripts/install-sh: Update to version 2011-11-20.07.
12305 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12306 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12307
350635a5
OB
123082013-06-06 Ondřej Bílka <neleai@seznam.cz>
12309
12310 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12311 * elf/sln.c: Likewise.
12312 * hurd/hurd/ioctl.h: Likewise.
12313 * hurd/hurdmalloc.c: Likewise.
12314 * hurd/xattr.c: Likewise.
12315 * include/shlib-compat.h: Likewise.
12316 * inet/ruserpass.c: Likewise.
12317 * libio/iofgets_u.c: Likewise.
12318 * libio/iofgetws_u.c: Likewise.
12319 * locale/programs/ld-identification.c: Likewise.
12320 * locale/programs/ld-time.c: Likewise.
12321 * mach/msg-destroy.c: Likewise.
12322 * nss/nss_files/files-netgrp.c: Likewise.
12323 * resolv/res_data.c: Likewise.
12324 * soft-fp/op-1.h: Likewise.
12325 * soft-fp/op-2.h: Likewise.
12326 * soft-fp/op-4.h: Likewise.
12327 * soft-fp/op-common.h: Likewise.
12328 * stdio-common/printf_fphex.c: Likewise.
12329 * stdlib/strtod_l.c: Likewise.
12330 * sunrpc/rpc/clnt.h: Likewise.
12331 * sysdeps/generic/framestate.c: Likewise.
12332 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12333 * sysdeps/i386/bsd-setjmp.S: Likewise.
12334 * sysdeps/i386/__longjmp.S: Likewise.
12335 * sysdeps/i386/setjmp.S: Likewise.
12336 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12337 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12338 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12339 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12343 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12348 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12349 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12350 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12352 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12353 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12354 * sysdeps/ieee754/support.c: Likewise.
12355 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12356 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12357 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12358 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12359 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12360 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12361 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12362 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12363 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12364 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12365 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12366 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12367 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12368 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12369 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12370 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12371 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12373
44a988af
OB
123742013-06-05 Ondřej Bílka <neleai@seznam.cz>
12375
25506f09 12376 * posix/transbug.c: Remove executable mode.
44a988af 12377
9c84384c
JM
123782013-06-05 Joseph Myers <joseph@codesourcery.com>
12379
12380 * crypt/speeds.c: Remove trailing whitespace.
12381 * dlfcn/default.c: Likewise.
12382 * elf/ifuncdep2.c: Likewise.
12383 * elf/ifuncmain1.c: Likewise.
12384 * elf/ifuncmain1vis.c: Likewise.
12385 * elf/testobj.h: Likewise.
12386 * elf/tst-stackguard1.c: Likewise.
12387 * gmon/sys/gmon.h: Likewise.
12388 * hurd/hurdmsg.c: Likewise.
12389 * hurd/new-fd.c: Likewise.
12390 * hurd/ports-get.c: Likewise.
12391 * iconvdata/ibm1008_420.c: Likewise.
12392 * inet/tst-getni1.c: Likewise.
12393 * inet/tst-getni2.c: Likewise.
12394 * libio/ioungetc.c: Likewise.
12395 * libio/wfiledoalloc.c: Likewise.
12396 * manual/libm-err-tab.pl: Likewise.
12397 * math/w_dremf.c: Likewise.
12398 * misc/ftruncate.c: Likewise.
12399 * posix/bug-glob2.c: Likewise.
12400 * posix/tst-pcre.c: Likewise.
12401 * posix/wait4.c: Likewise.
12402 * resolv/README: Likewise.
12403 * resolv/res_debug.h: Likewise.
12404 * resolv/tst-inet_ntop.c: Likewise.
12405 * setjmp/bug269-setjmp.c: Likewise.
12406 * soft-fp/extended.h: Likewise.
12407 * soft-fp/op-1.h: Likewise.
12408 * soft-fp/op-2.h: Likewise.
12409 * soft-fp/op-4.h: Likewise.
12410 * soft-fp/op-8.h: Likewise.
12411 * soft-fp/testit.c: Likewise.
12412 * stdio-common/bug16.c: Likewise.
12413 * stdlib/random.c: Likewise.
12414 * sunrpc/rpcsvc/rquota.x: Likewise.
12415 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12416 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12418 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12419 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12420 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12421 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12422 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12423 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12424 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12425 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12442 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12444 * sysdeps/ieee754/s_lib_version.c: Likewise.
12445 * sysdeps/mach/hurd/check_fds.c: Likewise.
12446 * sysdeps/mach/hurd/getsockname.c: Likewise.
12447 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12448 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12449 * sysdeps/powerpc/bits/link.h: Likewise.
12450 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12451 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12452 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12453 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12454 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12455 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12456 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12457 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12458 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12459 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12460 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12461 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12462 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12464 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12465 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12466 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12467 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12468 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12469 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12471 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12472 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12473 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12474 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12476 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12478 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12479 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12482 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12483 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12484 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12485 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12486 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12487 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12488 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12489 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12490 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12491 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12492 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12493 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12494 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12495 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12496 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12497 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12498 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12499 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12502 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12503 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12504 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12505 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12506 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12507 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12508 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12509 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12510 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12511 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12512 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12513 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12514 * sysdeps/powerpc/sysdep.h: Likewise.
12515 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12516 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12517 * sysdeps/sh/dl-trampoline.S: Likewise.
12518 * sysdeps/sh/memset.S: Likewise.
12519 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12520 * sysdeps/sh/strlen.S: Likewise.
12521 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12522 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12523 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12524 * sysdeps/sparc/sparc32/rem.S: Likewise.
12525 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12526 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12527 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12528 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12529 * sysdeps/sparc/sparc32/urem.S: Likewise.
12530 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12531 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12532 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12533 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12535 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12536 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12537 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12538 * sysdeps/unix/bsd/times.c: Likewise.
12539 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12540 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12544 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12545 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12546 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12547 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12548 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12549 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12550 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12551 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12552 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12553 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12554 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12555 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12556 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12557 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12558 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12559 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12560 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12561 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12562 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12563 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12564 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12565 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12566 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12567 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12568 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12569 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12570 * sysdeps/x86_64/strcspn.S: Likewise.
12571
869378a5
RA
125722013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12573
12574 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12575 generated file. Regenerate properly from gen-translit.pl.
12576 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12577 locale/C-translit.h.
12578
840e2943
AS
125792013-06-05 Andreas Schwab <schwab@suse.de>
12580
12581 [BZ #15100]
12582 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12583 week as 6 instead of -1.
12584 * time/tst-strptime.c (day_tests): Add test case.
12585
4c60cb0c
SP
125862013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12587
12588 * sysdeps/generic/math_private.h
12589 (libc_feholdexcept_setround_53bit): Replace with
12590 libc_feholdsetround_53bit.
12591 (libc_feupdateenv_53bit): Replace with
12592 libc_feresetround_53bit.
12593 (SET_RESTORE_ROUND_53BIT): Adjust.
12594
d180203e
SP
125952013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12596
96df079a
SP
12597 * string/test-strchrnul.c: Add copyright header.
12598
d180203e
SP
12599 * posix/tst-getaddrinfo4.c: Increase test timeout.
12600
8b0ccb2d
CD
126012013-06-03 Carlos O'Donell <carlos@redhat.com>
12602
12603 [BZ #15536]
12604 * math/libm-test.inc (MAX_EXP): Remove
12605 (MIN_EXP): Define.
12606 (ulp): Use MIN_EXP - MANT_DIG.
12607 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12608
3b3c4d40
CD
126092013-05-31 Carlos O'Donell <carlos@redhat.com>
12610
12611 * po/be.po: Revert last change.
12612 * po/zh_CN.po: Likewise.
12613 * po/header.pot: Likewise.
12614
fab7ce3f
JM
126152013-05-31 Joseph Myers <joseph@codesourcery.com>
12616
12617 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12618 link-libc-deps to empty as target-specific variable.
12619 * Makerules (link-libc-args): New variable.
12620 (libc-for-link): Likewise.
12621 (link-libc-deps): Likewise.
12622 (lib%.so): Depend on $(link-libc-deps). Link with
12623 $(link-libc-args).
12624 (build-module): Link with $(link-libc-args).
12625 (build-module-asneeded): Likewise.
12626 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12627 list of objects.
12628 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12629 target-specific variable.
12630 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12631 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12632 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12633 libc.
12634 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12635 libc and ld.so.
12636 ($(objpfx)libpcprofile.so): Likewise.
12637 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12638 libc_nonshared.a.
12639 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12640 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12641 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12642 $(link-libc-deps).
12643 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12644 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12645 * login/Makefile ($(objpfx)libutil.so): Likewise.
12646 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12647 * math/Makefile ($(objpfx)libm.so): Likewise.
12648 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12649 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12650 variable instead of depending directly on libc.
12651 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12652 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12653 $(link-libc-deps).
12654 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12655 libc.
12656 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12657 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12658 ($(objpfx)libanl.so): Likewise.
12659 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12660 ld.so.
12661 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12662 $(link-libc-deps).
12663 * sysdeps/i386/fpu/Makefile: Remove file.
12664 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12665 ($(objpfx)libm.so): Remove dependency on ld.so.
12666
eca5920c
PF
126672013-05-30 Patsy Franklin <pfrankli@redhat.com>
12668
12669 [BZ # 15553]
12670 * nis/yp_xdr.c (XDRMAXNAME): Define.
12671 (XDRMAXRECORD): Define.
12672 (xdr_domainname): Use XDRMAXNAME.
12673 (xdr_mapname): Likewise.
12674 (xdr_peername): Likewise.
12675 (xdr_keydat): Use XDRMAXRECORD.
12676 (xdr_valdat): Likewise.
12677
126782013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12679
12680 [BZ #14256]
12681 * manual/errno.texi (ESTALE): Update to account for more than
12682 just NFS file systems.
12683 * sysdeps/gnu/errlist.c: Regenerated.
12684
b9375348
SP
126852013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12686
12687 [BZ #15465]
12688 * elf/Makefile (tests): Add tst-null-argv.
12689 (modules-names): Add tst-null-argv-lib.
12690 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12691 (tst-null-argv-ENV): Set environment for tst-null-argv.
12692 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12693 (RTLD_PROGNAME): New macro.
12694 * elf/tst-null-argv.c: New test case.
12695 * elf/tst-null-argv-lib.c: Library for test case.
12696 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12697 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12698 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12699 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12700 * elf/dl-init.c (call_init): Likewise.
12701 (_dl_init): Likewise.
12702 * elf/dl-load.c (print_search_path): Likewise.
12703 (_dl_map_object): Likewise.
12704 * elf/dl-lookup.c (do_lookup_x): Likewise.
12705 (add_dependency): Likewise.
12706 (_dl_lookup_symbol_x): Likewise.
12707 (_dl_debug_bindings): Likewise.
12708 * elf/dl-open.c (_dl_show_scope): Likewise.
12709 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12710 * elf/dl-version.c (match_symbol): Likewise.
12711 (_dl_check_map_versions): Likewise.
12712 * elf/rtld.c (dl_main): Likewise.
12713 (print_unresolved): Use RTLD_PROGNAME.
12714 (print_missing_version): Likewise.
12715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12716 (elf_machine_rela): Likewise.
12717 * sysdeps/powerpc/powerpc32/dl-machine.c
12718 (__process_machine_rela): Likewise.
12719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12720 Likewise.
12721 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12722 Likewise.
12723 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12724 Likewise.
12725 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12726 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12727 Likewise.
12728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12729 Likewise.
12730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12731
8a9f20c8
CD
127322013-05-28 Carlos O'Donell <carlos@redhat.com>
12733
12734 * po/be.po: Add descriptive title.
12735 * po/zh_CN.po: Likewise.
12736 * po/header.pot: Likewise.
12737
0e60d68e
MF
127382013-05-28 Mike Frysinger <vapier@gentoo.org>
12739
12740 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12741 error message.
12742 (enlarge_archive): Likewise.
12743
56b672e9
BN
127442013-05-28 Ben North <ben@redfrontdoor.org>
12745
12746 * manual/arith.texi (frexp): It is the magnitude of the return
12747 value which lies in [0.5, 1), not the return value itself.
12748
5e056687
AZ
127492013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12750
12751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12752
2b66ef5d
TS
127532013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12754
528c2405
TS
12755 * stdio-common/bug26.c (main): Correct fscanf template.
12756
07b4c13d
TS
12757 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12758 declare _dl_skip_args.
12759
ec9dd97c
TS
12760 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12761 Don't declare.
12762
2b66ef5d
TS
12763 * manual/platform.texi: Add missing @end deftypefun.
12764
4f8dfe27
JM
127652013-05-24 Joseph Myers <joseph@codesourcery.com>
12766
0323d086
JM
12767 [BZ #15529]
12768 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12769 bit of mantissa of 2^16382.
12770 * math/libm-test.inc (hypot_test_data): Add more tests.
12771
dd4259b9
JM
12772 * math/libm-test.inc: Add drem and pow10 to list of tested
12773 functions.
12774 (pow10_test): New function.
12775 (drem_test): Likewise.
12776 (drem_test_tonearest): Likewise.
12777 (drem_test_towardzero): Likewise.
12778 (drem_test_downward): Likewise.
12779 (drem_test_upward): Likewise.
12780 (main): Call the new functions.
12781
4f8dfe27
JM
12782 * math/libm-test.inc (finite_test_data): Remove.
12783 (finite_test): Run tests from isfinite_test_data.
12784 (gamma_test_data): Remove.
12785 (gamma_test): Run tests from lgamma_test_data.
12786 * sysdeps/i386/fpu/libm-test-ulps: Update.
12787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12788
d116b7c4
AZ
127892013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12790
12791 * manual/platform.texi: Add PowerPC PPR function set documentation.
12792 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12793 implementation.
12794
e96e3767
CD
127952013-05-24 Carlos O'Donell <carlos@redhat.com>
12796
12797 * math/libm-test.inc (MAX_EXP): Define.
12798 (ULPDIFF): Define.
12799 (ulp): New function.
12800 (check_float_internal): Use ULPDIFF.
12801 (cpow_test): Disable failing test.
12802 (check_ulp): Test ulp() implemetnation.
12803 (main): Call check_ulp before starting tests.
12804
b679a606
JM
128052013-05-24 Joseph Myers <joseph@codesourcery.com>
12806
e8bdba36
JM
12807 * math/gen-libm-test.pl (generate_testfile): Do not handle
12808 START_DATA and END_DATA.
12809 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12810 END_DATA.
12811 (acos_tonearest_test_data): Likewise.
12812 (acos_towardzero_test_data): Likewise.
12813 (acos_downward_test_data): Likewise.
12814 (acos_upward_test_data): Likewise.
12815 (acosh_test_data): Likewise.
12816 (asin_test_data): Likewise.
12817 (asin_tonearest_test_data): Likewise.
12818 (asin_towardzero_test_data): Likewise.
12819 (asin_downward_test_data): Likewise.
12820 (asin_upward_test_data): Likewise.
12821 (asinh_test_data): Likewise.
12822 (atan_test_data): Likewise.
12823 (atanh_test_data): Likewise.
12824 (atan2_test_data): Likewise.
12825 (cabs_test_data): Likewise.
12826 (cacos_test_data): Likewise.
12827 (cacosh_test_data): Likewise.
12828 (carg_test_data): Likewise.
12829 (casin_test_data): Likewise.
12830 (casinh_test_data): Likewise.
12831 (catan_test_data): Likewise.
12832 (catanh_test_data): Likewise.
12833 (cbrt_test_data): Likewise.
12834 (ccos_test_data): Likewise.
12835 (ccosh_test_data): Likewise.
12836 (ceil_test_data): Likewise.
12837 (cexp_test_data): Likewise.
12838 (cimag_test_data): Likewise.
12839 (clog_test_data): Likewise.
12840 (clog10_test_data): Likewise.
12841 (conj_test_data): Likewise.
12842 (copysign_test_data): Likewise.
12843 (cos_test_data): Likewise.
12844 (cos_tonearest_test_data): Likewise.
12845 (cos_towardzero_test_data): Likewise.
12846 (cos_downward_test_data): Likewise.
12847 (cos_upward_test_data): Likewise.
12848 (cosh_test_data): Likewise.
12849 (cosh_tonearest_test_data): Likewise.
12850 (cosh_towardzero_test_data): Likewise.
12851 (cosh_downward_test_data): Likewise.
12852 (cosh_upward_test_data): Likewise.
12853 (cpow_test_data): Likewise.
12854 (cproj_test_data): Likewise.
12855 (creal_test_data): Likewise.
12856 (csin_test_data): Likewise.
12857 (csinh_test_data): Likewise.
12858 (csqrt_test_data): Likewise.
12859 (ctan_test_data): Likewise.
12860 (ctan_tonearest_test_data): Likewise.
12861 (ctan_towardzero_test_data): Likewise.
12862 (ctan_downward_test_data): Likewise.
12863 (ctan_upward_test_data): Likewise.
12864 (ctanh_test_data): Likewise.
12865 (ctanh_tonearest_test_data): Likewise.
12866 (ctanh_towardzero_test_data): Likewise.
12867 (ctanh_downward_test_data): Likewise.
12868 (ctanh_upward_test_data): Likewise.
12869 (erf_test_data): Likewise.
12870 (erfc_test_data): Likewise.
12871 (exp_test_data): Likewise.
12872 (exp_tonearest_test_data): Likewise.
12873 (exp_towardzero_test_data): Likewise.
12874 (exp_downward_test_data): Likewise.
12875 (exp_upward_test_data): Likewise.
12876 (exp10_test_data): Likewise.
12877 (exp2_test_data): Likewise.
12878 (expm1_test_data): Likewise.
12879 (fabs_test_data): Likewise.
12880 (fdim_test_data): Likewise.
12881 (finite_test_data): Likewise.
12882 (floor_test_data): Likewise.
12883 (fma_test_data): Likewise.
12884 (fma_towardzero_test_data): Likewise.
12885 (fma_downward_test_data): Likewise.
12886 (fma_upward_test_data): Likewise.
12887 (fmax_test_data): Likewise.
12888 (fmin_test_data): Likewise.
12889 (fmod_test_data): Likewise.
12890 (fpclassify_test_data): Likewise.
12891 (frexp_test_data): Likewise.
12892 (gamma_test_data): Likewise.
12893 (hypot_test_data): Likewise.
12894 (ilogb_test_data): Likewise.
12895 (isfinite_test_data): Likewise.
12896 (isgreater_test_data): Likewise.
12897 (isgreaterequal_test_data): Likewise.
12898 (isinf_test_data): Likewise.
12899 (isless_test_data): Likewise.
12900 (islessequal_test_data): Likewise.
12901 (islessgreater_test_data): Likewise.
12902 (isnan_test_data): Likewise.
12903 (isnormal_test_data): Likewise.
12904 (issignaling_test_data): Likewise.
12905 (isunordered_test_data): Likewise.
12906 (j0_test_data): Likewise.
12907 (j1_test_data): Likewise.
12908 (jn_test_data): Likewise.
12909 (ldexp_test_data): Likewise.
12910 (lgamma_test_data): Likewise.
12911 (lrint_test_data): Likewise.
12912 (lrint_tonearest_test_data): Likewise.
12913 (lrint_towardzero_test_data): Likewise.
12914 (lrint_downward_test_data): Likewise.
12915 (lrint_upward_test_data): Likewise.
12916 (llrint_test_data): Likewise.
12917 (llrint_tonearest_test_data): Likewise.
12918 (llrint_towardzero_test_data): Likewise.
12919 (llrint_downward_test_data): Likewise.
12920 (llrint_upward_test_data): Likewise.
12921 (log_test_data): Likewise.
12922 (log10_test_data): Likewise.
12923 (log1p_test_data): Likewise.
12924 (log2_test_data): Likewise.
12925 (logb_test_data): Likewise.
12926 (logb_downward_test_data): Likewise.
12927 (lround_test_data): Likewise.
12928 (llround_test_data): Likewise.
12929 (modf_test_data): Likewise.
12930 (nearbyint_test_data): Likewise.
12931 (nextafter_test_data): Likewise.
12932 (nexttoward_test_data): Likewise.
12933 (pow_test_data): Likewise.
12934 (pow_tonearest_test_data): Likewise.
12935 (pow_towardzero_test_data): Likewise.
12936 (pow_downward_test_data): Likewise.
12937 (pow_upward_test_data): Likewise.
12938 (remainder_test_data): Likewise.
12939 (remainder_tonearest_test_data): Likewise.
12940 (remainder_towardzero_test_data): Likewise.
12941 (remainder_downward_test_data): Likewise.
12942 (remainder_upward_test_data): Likewise.
12943 (remquo_test_data): Likewise.
12944 (rint_test_data): Likewise.
12945 (rint_tonearest_test_data): Likewise.
12946 (rint_towardzero_test_data): Likewise.
12947 (rint_downward_test_data): Likewise.
12948 (rint_upward_test_data): Likewise.
12949 (round_test_data): Likewise.
12950 (scalb_test_data): Likewise.
12951 (scalbn_test_data): Likewise.
12952 (scalbln_test_data): Likewise.
12953 (signbit_test_data): Likewise.
12954 (sin_test_data): Likewise.
12955 (sin_tonearest_test_data): Likewise.
12956 (sin_towardzero_test_data): Likewise.
12957 (sin_downward_test_data): Likewise.
12958 (sin_upward_test_data): Likewise.
12959 (sincos_test_data): Likewise.
12960 (sinh_test_data): Likewise.
12961 (sinh_tonearest_test_data): Likewise.
12962 (sinh_towardzero_test_data): Likewise.
12963 (sinh_downward_test_data): Likewise.
12964 (sinh_upward_test_data): Likewise.
12965 (sqrt_test_data): Likewise.
12966 (tan_test_data): Likewise.
12967 (tan_tonearest_test_data): Likewise.
12968 (tan_towardzero_test_data): Likewise.
12969 (tan_downward_test_data): Likewise.
12970 (tan_upward_test_data): Likewise.
12971 (tanh_test_data): Likewise.
12972 (tgamma_test_data): Likewise.
12973 (trunc_test_data): Likewise.
12974 (y0_test_data): Likewise.
12975 (y1_test_data): Likewise.
12976 (yn_test_data): Likewise.
12977 (significand_test_data): Likewise.
12978
b679a606
JM
12979 * math/gen-libm-test.pl (@functions): Remove variable.
12980 (generate_testfile): Don't handle START and END lines.
12981 * math/libm-test.inc (START): New macro.
12982 (END): Likewise.
12983 (END_COMPLEX): Likewise.
12984 (acos_test): Use END macro without arguments.
12985 (acos_test_tonearest): Likewise.
12986 (acos_test_towardzero): Likewise.
12987 (acos_test_downward): Likewise.
12988 (acos_test_upward): Likewise.
12989 (acosh_test): Likewise.
12990 (asin_test): Likewise.
12991 (asin_test_tonearest): Likewise.
12992 (asin_test_towardzero): Likewise.
12993 (asin_test_downward): Likewise.
12994 (asin_test_upward): Likewise.
12995 (asinh_test): Likewise.
12996 (atan_test): Likewise.
12997 (atanh_test): Likewise.
12998 (atan2_test): Likewise.
12999 (cabs_test): Likewise.
13000 (cacos_test): Use END_COMPLEX macro without arguments.
13001 (cacosh_test): Likewise.
13002 (carg_test): Use END macro without arguments.
13003 (casin_test): Use END_COMPLEX macro without arguments.
13004 (casinh_test): Likewise.
13005 (catan_test): Likewise.
13006 (catanh_test): Likewise.
13007 (cbrt_test): Use END macro without arguments.
13008 (ccos_test): Use END_COMPLEX macro without arguments.
13009 (ccosh_test): Likewise.
13010 (ceil_test): Use END macro without arguments.
13011 (cexp_test): Use END_COMPLEX macro without arguments.
13012 (cimag_test): Use END macro without arguments.
13013 (clog_test): Use END_COMPLEX macro without arguments.
13014 (clog10_test): Likewise.
13015 (conj_test): Likewise.
13016 (copysign_test): Use END macro without arguments.
13017 (cos_test): Likewise.
13018 (cos_test_tonearest): Likewise.
13019 (cos_test_towardzero): Likewise.
13020 (cos_test_downward): Likewise.
13021 (cos_test_upward): Likewise.
13022 (cosh_test): Likewise.
13023 (cosh_test_tonearest): Likewise.
13024 (cosh_test_towardzero): Likewise.
13025 (cosh_test_downward): Likewise.
13026 (cosh_test_upward): Likewise.
13027 (cpow_test): Use END_COMPLEX macro without arguments.
13028 (cproj_test): Likewise.
13029 (creal_test): Use END macro without arguments.
13030 (csin_test): Use END_COMPLEX macro without arguments.
13031 (csinh_test): Likewise.
13032 (csqrt_test): Likewise.
13033 (ctan_test): Likewise.
13034 (ctan_test_tonearest): Likewise.
13035 (ctan_test_towardzero): Likewise.
13036 (ctan_test_downward): Likewise.
13037 (ctan_test_upward): Likewise.
13038 (ctanh_test): Likewise.
13039 (ctanh_test_tonearest): Likewise.
13040 (ctanh_test_towardzero): Likewise.
13041 (ctanh_test_downward): Likewise.
13042 (ctanh_test_upward): Likewise.
13043 (erf_test): Use END macro without arguments.
13044 (erfc_test): Likewise.
13045 (exp_test): Likewise.
13046 (exp_test_tonearest): Likewise.
13047 (exp_test_towardzero): Likewise.
13048 (exp_test_downward): Likewise.
13049 (exp_test_upward): Likewise.
13050 (exp10_test): Likewise.
13051 (exp2_test): Likewise.
13052 (expm1_test): Likewise.
13053 (fabs_test): Likewise.
13054 (fdim_test): Likewise.
13055 (finite_test): Likewise.
13056 (floor_test): Likewise.
13057 (fma_test): Likewise.
13058 (fma_test_towardzero): Likewise.
13059 (fma_test_downward): Likewise.
13060 (fma_test_upward): Likewise.
13061 (fmax_test): Likewise.
13062 (fmin_test): Likewise.
13063 (fmod_test): Likewise.
13064 (fpclassify_test): Likewise.
13065 (frexp_test): Likewise.
13066 (gamma_test): Likewise.
13067 (hypot_test): Likewise.
13068 (ilogb_test): Likewise.
13069 (isfinite_test): Likewise.
13070 (isgreater_test): Likewise.
13071 (isgreaterequal_test): Likewise.
13072 (isinf_test): Likewise.
13073 (isless_test): Likewise.
13074 (islessequal_test): Likewise.
13075 (islessgreater_test): Likewise.
13076 (isnan_test): Likewise.
13077 (isnormal_test): Likewise.
13078 (issignaling_test): Likewise.
13079 (isunordered_test): Likewise.
13080 (j0_test): Likewise.
13081 (j1_test): Likewise.
13082 (jn_test): Likewise.
13083 (ldexp_test): Likewise.
13084 (lgamma_test): Likewise.
13085 (lrint_test): Likewise.
13086 (lrint_test_tonearest): Likewise.
13087 (lrint_test_towardzero): Likewise.
13088 (lrint_test_downward): Likewise.
13089 (lrint_test_upward): Likewise.
13090 (llrint_test): Likewise.
13091 (llrint_test_tonearest): Likewise.
13092 (llrint_test_towardzero): Likewise.
13093 (llrint_test_downward): Likewise.
13094 (llrint_test_upward): Likewise.
13095 (log_test): Likewise.
13096 (log10_test): Likewise.
13097 (log1p_test): Likewise.
13098 (log2_test): Likewise.
13099 (logb_test): Likewise.
13100 (logb_test_downward): Likewise.
13101 (lround_test): Likewise.
13102 (llround_test): Likewise.
13103 (modf_test): Likewise.
13104 (nearbyint_test): Likewise.
13105 (nextafter_test): Likewise.
13106 (nexttoward_test): Likewise.
13107 (pow_test): Likewise.
13108 (pow_test_tonearest): Likewise.
13109 (pow_test_towardzero): Likewise.
13110 (pow_test_downward): Likewise.
13111 (pow_test_upward): Likewise.
13112 (remainder_test): Likewise.
13113 (remainder_test_tonearest): Likewise.
13114 (remainder_test_towardzero): Likewise.
13115 (remainder_test_downward): Likewise.
13116 (remainder_test_upward): Likewise.
13117 (remquo_test): Likewise.
13118 (rint_test): Likewise.
13119 (rint_test_tonearest): Likewise.
13120 (rint_test_towardzero): Likewise.
13121 (rint_test_downward): Likewise.
13122 (rint_test_upward): Likewise.
13123 (round_test): Likewise.
13124 (scalb_test): Likewise.
13125 (scalbn_test): Likewise.
13126 (scalbln_test): Likewise.
13127 (signbit_test): Likewise.
13128 (sin_test): Likewise.
13129 (sin_test_tonearest): Likewise.
13130 (sin_test_towardzero): Likewise.
13131 (sin_test_downward): Likewise.
13132 (sin_test_upward): Likewise.
13133 (sincos_test): Likewise.
13134 (sinh_test): Likewise.
13135 (sinh_test_tonearest): Likewise.
13136 (sinh_test_towardzero): Likewise.
13137 (sinh_test_downward): Likewise.
13138 (sinh_test_upward): Likewise.
13139 (sqrt_test): Likewise.
13140 (tan_test): Likewise.
13141 (tan_test_tonearest): Likewise.
13142 (tan_test_towardzero): Likewise.
13143 (tan_test_downward): Likewise.
13144 (tan_test_upward): Likewise.
13145 (tanh_test): Likewise.
13146 (tgamma_test): Likewise.
13147 (trunc_test): Likewise.
13148 (y0_test): Likewise.
13149 (y1_test): Likewise.
13150 (yn_test): Likewise.
13151 (significand_test): Likewise.
13152
bae143d2
OB
131532013-05-24 Ondřej Bílka <neleai@seznam.cz>
13154
13155 [BZ #15381]
13156 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13157
9323d39b
EM
131582013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13159
d4ea44a0 13160 [BZ #14894]
9323d39b
EM
13161 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13162 __ppc_mdoio and __ppc_mdoom.
13163 * manual/platform.texi: Document new functions __ppc_yield,
13164 __ppc_mdoio and __ppc_mdoom.
13165
13e23af7
CD
131662013-05-22 Carlos O'Donell <carlos@redhat.com>
13167
13168 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13169 (main): Mention "tls" pseudo-hwcap is legacy.
13170 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13171
351fe550
JM
131722013-05-22 Joseph Myers <joseph@codesourcery.com>
13173
13174 * math/gen-libm-test.pl (parse_args): Output only string of
13175 arguments as text for test name, not full call or descriptions of
13176 tests for extra outputs.
13177 (generate_testfile): Do not pass function name to parse_args.
13178 Generate this_func variable from START.
13179 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13180 field to arg_str.
13181 (struct test_ff_f_data): Likewise.
13182 (test_ff_f_data_nexttoward): Likewise.
13183 (struct test_fi_f_data): Likewise.
13184 (struct test_fl_f_data): Likewise.
13185 (struct test_if_f_data): Likewise.
13186 (struct test_fff_f_data): Likewise.
13187 (struct test_c_f_data): Likewise.
13188 (struct test_f_f1_data): Likewise. Remove field extra_name.
13189 (struct test_fF_f1_data): Likewise.
13190 (struct test_ffI_f1_data): Likewise.
13191 (struct test_c_c_data): Rename test_name field to arg_str.
13192 (struct test_cc_c_data): Likewise.
13193 (struct test_f_i_data): Likewise.
13194 (struct test_ff_i_data): Likewise.
13195 (struct test_f_l_data): Likewise.
13196 (struct test_f_L_data): Likewise.
13197 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13198 and extra2_name.
13199 (COMMON_TEST_SETUP): New macro.
13200 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13201 (COMMON_TEST_CLEANUP): Likewise.
13202 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13203 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13204 macros.
13205 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13206 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13207 macros.
13208 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13209 (RUN_TEST_fff_f): Take argument string. Call new setup and
13210 cleanup macros.
13211 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13212 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13213 macros.
13214 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13215 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13216 macros.
13217 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13218 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13219 cleanup macros.
13220 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13221 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13222 cleanup macros.
13223 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13224 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13225 cleanup macros.
13226 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13227 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13228 macros.
13229 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13230 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13231 macros.
13232 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13233 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13234 macros.
13235 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13236 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13237 cleanup macros.
13238 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13239 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13240 cleanup macros.
13241 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13242 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13243 macros.
13244 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13245 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13246 cleanup macros.
13247 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13248 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13249 macros.
13250 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13251 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13252 macros.
13253 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13254 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13255 cleanup macros.
13256 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13257
85118d4d
EBM
132582013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13259
13260 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13261 to _sifields.sigfault.
13262 (si_addr_lsb): Define new macro.
13263 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13265 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13266
7a44c18f
CD
132672013-05-03 Carlos O'Donell <carlos at redhat.com>
13268
13269 [BZ #15441]
13270 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13271 returns -1.
13272 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13273 null return -1.
13274 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13275 loading the domain.
13276
b50a7181
JM
132772013-05-22 Joseph Myers <joseph@codesourcery.com>
13278
13279 * math/gen-libm-test.pl (parse_args): Do not include expected
13280 result in test name.
13281 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13283 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13284 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13285 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13287
051063c8
SP
132882013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13289
3ce9e010
SP
13290 * benchtests/Makefile: Sort function entries.
13291
051063c8
SP
13292 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13293 tanh, asinh, acosh, atanh.
13294 * benchtests/acos-inputs: New file.
13295 * benchtests/acosh-inputs: New file.
13296 * benchtests/asin-inputs: New file.
13297 * benchtests/asinh-inputs: New file.
13298 * benchtests/atanh-inputs: New file.
13299 * benchtests/cosh-inputs: New file.
13300 * benchtests/log-inputs: New file.
13301 * benchtests/sinh-inputs: New file.
13302 * benchtests/tanh-inputs: New file.
13303
47c22455
DL
133042013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13305
13306 [BZ #15339]
13307 * posix/tst-getaddrinfo4.c: New test.
13308 * posix/Makefile (tests): Add it.
13309
3d04f5db
SP
133102013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13311
13312 [BZ #15339]
13313 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13314 when no services were used.
13315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13316 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13317
d5dd6189
AS
133182013-05-21 Andreas Schwab <schwab@suse.de>
13319
13320 [BZ #15014]
13321 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13322 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13323 successful.
13324 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13325 redundant variable declarations and reallocation of buffer when
13326 parsing as IPv6 address. Always set NSS status when called from
13327 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13328 buffer too small. Correct computation of needed size.
13329 * nss/Makefile (tests): Add test-digits-dots.
13330 * nss/test-digits-dots.c: New test.
13331
fef94eab
SP
133322013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13333
13334 * benchtests/Makefile: Remove instructions for adding
13335 benchmark tests.
13336 * benchtests/README: New file to explain how to execute and
13337 enhance the benchmark tests.
13338
e39adf43
AS
133392013-05-21 Andreas Schwab <schwab@suse.de>
13340
13341 [BZ #15493]
13342 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13343 * setjmp/tst-sigsetjmp.c: New test.
13344
b2b671b6
OB
133452013-05-20 Ondřej Bílka <neleai@seznam.cz>
13346
13347 * sysdeps/x86_64/memset.S (memset): New implementation.
13348 (__bzero): Likewise.
13349 (__memset_tail): New function.
13350
2d48b41c
OB
133512013-05-20 Ondřej Bílka <neleai@seznam.cz>
13352
13353 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13354 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13355 __memcpy_sse2_unaligned ifunc selection.
13356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13357 Add memcpy-sse2-unaligned.S.
13358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13359 Add: __memcpy_sse2_unaligned.
13360
f16cc3eb
JM
133612013-05-19 Joseph Myers <joseph@codesourcery.com>
13362
3e694268
JM
13363 [BZ #15490]
13364 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13365 math_force_eval before restoring floating-point envrionment.
13366 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13368 Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13370 <math_private.h>.
13371 (__nearbyintl): Use math_force_eval before restoring
13372 floating-point environment.
13373 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13374
db62a907
JM
13375 * math/gen-libm-test.pl (special_functions): Remove.
13376 (parse_args): Don't handle TEST_extra. Handle functions with no
13377 return value.
13378 * math/libm-test.inc (struct test_sincos_data): Replace with
13379 struct test_fFF_11_data.
13380 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13381 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13382 (sincos_test_data): Change element type to struct
13383 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13384 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13385 RUN_TEST_LOOP_sincos.
13386 * math/README.libm-test: Don't mention special handling of
13387 individual functions.
13388 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13389 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13390 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13391 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13392 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13394
f16cc3eb
JM
13395 * math/gen-libm-test.pl (get_variable): Remove function.
13396 (parse_args): Don't show pointer parameters to call in test
13397 names. Use "extra output N" in test names for extra outputs
13398 rather than naming variables.
13399
3779b5b6
JM
134002013-05-18 Joseph Myers <joseph@codesourcery.com>
13401
2ee094ff
JM
13402 [BZ #15488]
13403 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13404 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13405 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13406 double tests.
13407 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13408 disable.
13409 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13410 check_long_double.
13411
3779b5b6
JM
13412 * math/gen-libm-test.pl (@tests): Remove variable.
13413 ($count): Likewise.
13414 (new_test): Remove function.
13415 (show_exceptions): New function.
13416 (special_functions): Use show_exceptions instead of new_test.
13417 (parse_args): Likewise.
13418 (generate_testfile): Pass only function name in generated call to
13419 print_max_error or print_complex_max_error.
13420 (get_ulps): Do not handle complex tests specially.
13421 (output_test): Rename to ...
13422 (get_all_ulps_for_test): ... this. Return a string rather than
13423 printing to a file. Require ulps to be present.
13424 (output_ulps): Generate arrays rather than #defines.
13425 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13426 (struct ulp_data): New type.
13427 (BUILD_COMPLEX_ULP): Remove macro.
13428 (compare_ulp_data): New function.
13429 (find_ulps): Likewise.
13430 (find_test_ulps): Likewise.
13431 (find_function_ulps): Likewise.
13432 (find_complex_function_ulps): Likewise.
13433 (print_max_error): Determine allowed ulps using
13434 find_function_ulps.
13435 (print_complex_max_error): Determine allowed ulps using
13436 find_complex_function_ulps.
13437 (check_float_internal): Determine max ulps using find_test_ulps.
13438 (check_float): Do not take max_ulp parameter. Update call to
13439 check_float_internal.
13440 (check_complex): Likewise.
13441 (check_int): Do not take max_ulp parameter.
13442 (check_long): Likewise.
13443 (check_bool): Likewise.
13444 (check_longlong): Likewise.
13445 (struct test_f_f_data): Remove max_ulp field.
13446 (struct test_ff_f_data): Likewise.
13447 (struct test_ff_f_data_nexttoward): Likewise.
13448 (struct test_fi_f_data): Likewise.
13449 (struct test_fl_f_data): Likewise.
13450 (struct test_if_f_data): Likewise.
13451 (struct test_fff_f_data): Likewise.
13452 (struct test_c_f_data): Likewise.
13453 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13454 (struct test_fF_f1_data): Likewise.
13455 (struct test_ffI_f1_data): Likewise.
13456 (struct test_c_c_data): Remove max_ulp field.
13457 (struct test_cc_c_data): Likewise.
13458 (struct test_f_i_data): Likewise.
13459 (struct test_ff_i_data): Likewise.
13460 (struct test_f_l_data): Likewise.
13461 (struct test_f_L_data): Likewise.
13462 (struct test_sincos_data): Likewise.
13463 (RUN_TEST_f_f): Do not handle ulps.
13464 (RUN_TEST_LOOP_f_f): Likewise.
13465 (RUN_TEST_2_f): Likewise.
13466 (RUN_TEST_LOOP_2_f): Likewise.
13467 (RUN_TEST_fff_f): Likewise.
13468 (RUN_TEST_LOOP_fff_f): Likewise.
13469 (RUN_TEST_c_f): Likewise.
13470 (RUN_TEST_LOOP_c_f): Likewise.
13471 (RUN_TEST_f_f1): Likewise.
13472 (RUN_TEST_LOOP_f_f1): Likewise.
13473 (RUN_TEST_fF_f1): Likewise.
13474 (RUN_TEST_LOOP_fF_f1): Likewise.
13475 (RUN_TEST_fI_f1): Likewise.
13476 (RUN_TEST_LOOP_fI_f1): Likewise.
13477 (RUN_TEST_ffI_f1): Likewise.
13478 (RUN_TEST_LOOP_ffI_f1): Likewise.
13479 (RUN_TEST_c_c): Likewise.
13480 (RUN_TEST_LOOP_c_c): Likewise.
13481 (RUN_TEST_cc_c): Likewise.
13482 (RUN_TEST_LOOP_cc_c): Likewise.
13483 (RUN_TEST_f_i): Likewise.
13484 (RUN_TEST_LOOP_f_i): Likewise.
13485 (RUN_TEST_f_i_tg): Likewise.
13486 (RUN_TEST_LOOP_f_i_tg): Likewise.
13487 (RUN_TEST_ff_i_tg): Likewise.
13488 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13489 (RUN_TEST_f_b): Likewise.
13490 (RUN_TEST_LOOP_f_b): Likewise.
13491 (RUN_TEST_f_b_tg): Likewise.
13492 (RUN_TEST_LOOP_f_b_tg): Likewise.
13493 (RUN_TEST_f_l): Likewise.
13494 (RUN_TEST_LOOP_f_l): Likewise.
13495 (RUN_TEST_f_L): Likewise.
13496 (RUN_TEST_LOOP_f_L): Likewise.
13497 (RUN_TEST_sincos): Likewise.
13498 (RUN_TEST_LOOP_sincos): Likewise.
13499
8269107f
JM
135002013-05-17 Joseph Myers <joseph@codesourcery.com>
13501
bb38759d
JM
13502 [BZ #15480]
13503 [BZ #15485]
13504 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13505 main case of finite arguments, set rounding mode to FE_TONEAREST
13506 and discard exceptions.
13507 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13508 exceptions.
13509 (remainder_tonearest_test_data): New variable.
13510 (remainder_test_tonearest): New function.
13511 (remainder_towardzero_test_data): New variable.
13512 (remainder_test_towardzero): New function.
13513 (remainder_downward_test_data): New variable.
13514 (remainder_test_downward): New function.
13515 (remainder_upward_test_data): New variable.
13516 (remainder_test_upward): New function.
13517 (main): Call the new test functions.
13518
a00bdcf0
JM
13519 * math/libm-test.inc (struct test_f_f1_data): Remove field
13520 extra_init.
13521 (struct test_fF_f1_data): Likewise.
13522 (struct test_ffI_f1_data): Likewise.
13523 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13524 based on value of EXTRA_EXPECTED.
13525 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13526 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13527 EXTRA_VAR based on value of EXTRA_EXPECTED.
13528 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13529 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13530 EXTRA_VAR based on value of EXTRA_EXPECTED.
13531 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13532 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13533 EXTRA_VAR based on value of EXTRA_EXPECTED.
13534 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13535 * math/gen-libm-test.pl (parse_args): Don't output initializers
13536 for extra output values.
13537
de407f79
JM
13538 * math/libm-test.inc (check_int): Expect result to be exactly
13539 equal to expected value and do not handle ulps.
13540 (check_long): Likewise.
13541 (check_longlong): Likewise.
13542
8269107f
JM
13543 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13544 exceptions.
13545 (cimag_test_data): Likewise.
13546 (conj_test_data): Likewise.
13547 (copysign_test_data): Likewise.
13548 (cproj_test_data): Likewise.
13549 (creal_test_data): Likewise.
13550 (fabs_test_data): Likewise.
13551 (fdim_test_data): Likewise.
13552 (finite_test_data): Likewise.
13553 (floor_test_data): Likewise.
13554 (fmax_test_data): Likewise.
13555 (fmin_test_data): Likewise.
13556 (fmod_test_data): Likewise.
13557 (fpclassify_test_data): Likewise.
13558 (frexp_test_data): Likewise.
13559 (ilogb_test_data): Likewise.
13560 (isfinite_test_data): Likewise.
13561 (isgreater_test_data): Likewise.
13562 (isgreaterequal_test_data): Likewise.
13563 (isinf_test_data): Likewise.
13564 (isless_test_data): Likewise.
13565 (islessequal_test_data): Likewise.
13566 (islessgreater_test_data): Likewise.
13567 (isnan_test_data): Likewise.
13568 (isnormal_test_data): Likewise.
13569 (issignaling_test_data): Likewise.
13570 (isunordered_test_data): Likewise.
13571 (ldexp_test_data): Likewise.
13572 (lrint_test_data): Likewise.
13573 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13574 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13575 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13576 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13577 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13578 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13579 test input.
13580 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13581 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13582 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13583 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13584 that test input.
13585 (lrint_downward_test_data): Test for "inexact" exceptions.
13586 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13587 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13588 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13589 test input.
13590 (lrint_upward_test_data): Test for "inexact" exceptions.
13591 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13592 test input.
13593 (llrint_test_data): Test for "inexact" exceptions.
13594 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13595 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13596 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13597 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13598 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13599 (llrint_downward_test_data): Test for "inexact" exceptions.
13600 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13601 (llrint_upward_test_data): Test for "inexact" exceptions.
13602 (logb_test_data): Likewise.
13603 (logb_downward_test_data): Likewise.
13604 (nextafter_test_data): Likewise.
13605 (nexttoward_test_data): Likewise.
13606 (remainder_test_data): Likewise.
13607 (remquo_test_data): Likewise.
13608 (scalbn_test_data): Likewise.
13609 (scalbln_test_data): Likewise.
13610 (signbit_test_data): Likewise.
13611 (sqrt_test_data): Likewise.
13612 (significand_test_data): Likewise.
13613
48a18de1
SP
136142013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13615
13616 [BZ #15424]
13617 * benchtests/bench-modf.c (struct args): Mark arg0 as
13618 volatile.
13619 * scripts/bench.pl: Mark members of struct args as volatile.
13620
13d3b41a
AZ
136212013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13622
68191c1d 13623 [BZ # 15497]
13d3b41a
AZ
13624 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13625 negative infinity on POWER6 or lower.
13626 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13627
2848b105
MR
136282013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13629
13630 [BZ #15442]
13631 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13632 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13633 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13634 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13635 (_FP_SETQNAN): New macro.
13636 (_FP_SETQNAN_SEMIRAW): Likewise.
13637 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13638 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13639 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13640 (FP_EXTEND): Use _FP_FRAC_SNANP.
13641 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13642 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13643 into account.
13644 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13645 New macro.
13646 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13647 Likewise.
13648
323e5cb7
JM
136492013-05-16 Joseph Myers <joseph@codesourcery.com>
13650
c58b274f
JM
13651 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13652 with DIVIDE_BY_ZERO_EXCEPTION.
13653 (gamma_test_data): Likewise.
13654 (lgamma_test_data): Likewise.
13655 (log_test_data): Likewise.
13656 (log10_test_data): Likewise.
13657 (log2_test_data): Likewise.
13658 (tgamma_test_data): Likewise.
13659
0ab34904
JM
13660 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13661 (acos_test_tonearest): Likewise.
13662 (acos_test_towardzero): Likewise.
13663 (acos_test_downward): Likewise.
13664 (acos_test_upward): Likewise.
13665 (acosh_test): Likewise.
13666 (asin_test): Likewise.
13667 (asin_test_tonearest): Likewise.
13668 (asin_test_towardzero): Likewise.
13669 (asin_test_downward): Likewise.
13670 (asin_test_upward): Likewise.
13671 (asinh_test): Likewise.
13672 (atan_test): Likewise.
13673 (atanh_test): Likewise.
13674 (atan2_test): Likewise.
13675 (cabs_test): Likewise.
13676 (cacos_test): Likewise.
13677 (cacosh_test): Likewise.
13678 (casin_test): Likewise.
13679 (casinh_test): Likewise.
13680 (catan_test): Likewise.
13681 (catanh_test): Likewise.
13682 (cbrt_test): Likewise.
13683 (ccos_test): Likewise.
13684 (ccosh_test): Likewise.
13685 (cexp_test): Likewise.
13686 (clog_test): Likewise.
13687 (clog10_test): Likewise.
13688 (cos_test): Likewise.
13689 (cos_test_tonearest): Likewise.
13690 (cos_test_towardzero): Likewise.
13691 (cos_test_downward): Likewise.
13692 (cos_test_upward): Likewise.
13693 (cosh_test): Likewise.
13694 (cosh_test_tonearest): Likewise.
13695 (cosh_test_towardzero): Likewise.
13696 (cosh_test_downward): Likewise.
13697 (cosh_test_upward): Likewise.
13698 (cpow_test): Likewise.
13699 (csin_test): Likewise.
13700 (csinh_test): Likewise.
13701 (csqrt_test): Likewise.
13702 (ctan_test): Likewise.
13703 (ctan_test_tonearest): Likewise.
13704 (ctan_test_towardzero): Likewise.
13705 (ctan_test_downward): Likewise.
13706 (ctan_test_upward): Likewise.
13707 (ctanh_test): Likewise.
13708 (ctanh_test_tonearest): Likewise.
13709 (ctanh_test_towardzero): Likewise.
13710 (ctanh_test_downward): Likewise.
13711 (ctanh_test_upward): Likewise.
13712 (erf_test): Likewise.
13713 (erfc_test): Likewise.
13714 (exp_test): Likewise.
13715 (exp_test_tonearest): Likewise.
13716 (exp_test_towardzero): Likewise.
13717 (exp_test_downward): Likewise.
13718 (exp_test_upward): Likewise.
13719 (exp10_test): Likewise.
13720 (exp2_test): Likewise.
13721 (expm1_test): Likewise.
13722 (fmod_test): Likewise.
13723 (gamma_test): Likewise.
13724 (hypot_test): Likewise.
13725 (j0_test): Likewise.
13726 (j1_test): Likewise.
13727 (jn_test): Likewise.
13728 (lgamma_test): Likewise.
13729 (log_test): Likewise.
13730 (log10_test): Likewise.
13731 (log1p_test): Likewise.
13732 (log2_test): Likewise.
13733 (logb_test_downward): Likewise.
13734 (pow_test): Likewise.
13735 (pow_test_tonearest): Likewise.
13736 (pow_test_towardzero): Likewise.
13737 (pow_test_downward): Likewise.
13738 (pow_test_upward): Likewise.
13739 (remainder_test): Likewise.
13740 (remquo_test): Likewise.
13741 (sin_test): Likewise.
13742 (sin_test_tonearest): Likewise.
13743 (sin_test_towardzero): Likewise.
13744 (sin_test_downward): Likewise.
13745 (sin_test_upward): Likewise.
13746 (sincos_test): Likewise.
13747 (sinh_test): Likewise.
13748 (sinh_test_tonearest): Likewise.
13749 (sinh_test_towardzero): Likewise.
13750 (sinh_test_downward): Likewise.
13751 (sinh_test_upward): Likewise.
13752 (sqrt_test): Likewise.
13753 (tan_test): Likewise.
13754 (tan_test_tonearest): Likewise.
13755 (tan_test_towardzero): Likewise.
13756 (tan_test_downward): Likewise.
13757 (tan_test_upward): Likewise.
13758 (tanh_test): Likewise.
13759 (tgamma_test): Likewise.
13760 (y0_test): Likewise.
13761 (y1_test): Likewise.
13762 (yn_test): Likewise.
13763
323e5cb7
JM
13764 * math/gen-libm-test.pl (adjust_arg): Remove function.
13765 (special_function): Remove argument $in_func. Only handle
13766 generating output for tables of tests, not inside functions.
13767 (parse_args): Likewise.
13768 (generate_testfile): Remove variable $in_func. Update call to
13769 parse_args.
13770 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13771 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13772 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13773 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13774 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13775 (MAX_VALUE_INIT): Rename macro to max_value.
13776 (MIN_VALUE_INIT): Rename macro to min_value.
13777 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13778 (plus_zero): Remove variable.
13779 (minus_zero): Likewise.
13780 (plus_infty): Likewise.
13781 (minus_infty): Likewise.
13782 (qnan_value): Likewise.
13783 (max_value): Likewise.
13784 (min_value): Likewise.
13785 (min_subnorm_value): Likewise.
13786
e054f494
RA
137872013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13788
13789 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13790 uint64_t or uint32_t usage.
13791 * crypt/sha256-block.c: Likewise.
13792 * crypt/sha256-crypt.c: Likewise.
13793 * crypt/sha256.c: Likewise.
13794 * crypt/sha512-block.c: Likewise.
13795 * crypt/sha512-crypt.c: Likewise.
13796 * crypt/sha512.c: Likewise.
13797 * debug/backtrace-tst.c: Likewise.
13798 * debug/pcprofiledump.c: Likewise.
13799 * elf/cache.c: Likewise.
13800 * elf/dl-cache.c: Likewise.
13801 * elf/dl-misc.c: Likewise.
13802 * elf/dl-profile.c: Likewise.
13803 * elf/dl-support.c: Likewise.
13804 * elf/ldconfig.c: Likewise.
13805 * elf/sprof.c: Likewise.
13806 * iconv/dummy-repertoire.c: Likewise.
13807 * iconv/iconv_charmap.c: Likewise.
13808 * iconv/skeleton.c: Likewise.
13809 * iconvdata/8bit-generic.c: Likewise.
13810 * iconvdata/cp737.h: Likewise.
13811 * iconvdata/cp775.h: Likewise.
13812 * iconvdata/ibm1008.h: Likewise.
13813 * iconvdata/ibm1025.h: Likewise.
13814 * iconvdata/ibm1046.h: Likewise.
13815 * iconvdata/ibm1097.h: Likewise.
13816 * iconvdata/ibm1112.h: Likewise.
13817 * iconvdata/ibm1122.h: Likewise.
13818 * iconvdata/ibm1123.h: Likewise.
13819 * iconvdata/ibm1124.h: Likewise.
13820 * iconvdata/ibm1129.h: Likewise.
13821 * iconvdata/ibm1130.h: Likewise.
13822 * iconvdata/ibm1132.h: Likewise.
13823 * iconvdata/ibm1133.h: Likewise.
13824 * iconvdata/ibm1137.h: Likewise.
13825 * iconvdata/ibm1140.h: Likewise.
13826 * iconvdata/ibm1141.h: Likewise.
13827 * iconvdata/ibm1142.h: Likewise.
13828 * iconvdata/ibm1143.h: Likewise.
13829 * iconvdata/ibm1144.h: Likewise.
13830 * iconvdata/ibm1145.h: Likewise.
13831 * iconvdata/ibm1146.h: Likewise.
13832 * iconvdata/ibm1147.h: Likewise.
13833 * iconvdata/ibm1148.h: Likewise.
13834 * iconvdata/ibm1149.h: Likewise.
13835 * iconvdata/ibm1153.h: Likewise.
13836 * iconvdata/ibm1154.h: Likewise.
13837 * iconvdata/ibm1155.h: Likewise.
13838 * iconvdata/ibm1156.h: Likewise.
13839 * iconvdata/ibm1157.h: Likewise.
13840 * iconvdata/ibm1158.h: Likewise.
13841 * iconvdata/ibm1160.h: Likewise.
13842 * iconvdata/ibm1161.h: Likewise.
13843 * iconvdata/ibm1162.h: Likewise.
13844 * iconvdata/ibm1163.h: Likewise.
13845 * iconvdata/ibm1164.h: Likewise.
13846 * iconvdata/ibm1166.h: Likewise.
13847 * iconvdata/ibm1167.h: Likewise.
13848 * iconvdata/ibm12712.h: Likewise.
13849 * iconvdata/ibm1390.h: Likewise.
13850 * iconvdata/ibm1399.h: Likewise.
13851 * iconvdata/ibm16804.h: Likewise.
13852 * iconvdata/ibm4517.h: Likewise.
13853 * iconvdata/ibm4899.h: Likewise.
13854 * iconvdata/ibm4909.h: Likewise.
13855 * iconvdata/ibm4971.h: Likewise.
13856 * iconvdata/ibm5347.h: Likewise.
13857 * iconvdata/ibm803.h: Likewise.
13858 * iconvdata/ibm856.h: Likewise.
13859 * iconvdata/ibm901.h: Likewise.
13860 * iconvdata/ibm902.h: Likewise.
13861 * iconvdata/ibm9030.h: Likewise.
13862 * iconvdata/ibm9066.h: Likewise.
13863 * iconvdata/ibm921.h: Likewise.
13864 * iconvdata/ibm922.h: Likewise.
13865 * iconvdata/ibm9448.h: Likewise.
13866 * iconvdata/isiri-3342.h: Likewise.
13867 * iconvdata/jis0201.h: Likewise.
13868 * include/link.h: Likewise.
13869 * include/netdb.h: Likewise.
13870 * inet/check_native.c: Likewise.
13871 * inet/check_pf.c: Likewise.
13872 * inet/getipv4sourcefilter.c: Likewise.
13873 * inet/getnameinfo.c: Likewise.
13874 * inet/getsourcefilter.c: Likewise.
13875 * inet/htonl.c: Likewise.
13876 * inet/setipv4sourcefilter.c: Likewise.
13877 * inet/setsourcefilter.c: Likewise.
13878 * inet/test-inet6_opt.c: Likewise.
13879 * inet/tst-network.c: Likewise.
13880 * locale/C-collate.c: Likewise.
13881 * locale/C-ctype.c: Likewise.
13882 * locale/C-time.c: Likewise.
13883 * locale/C-translit.h: Likewise.
13884 * locale/loadarchive.c: Likewise.
13885 * locale/programs/3level.h: Likewise.
13886 * locale/programs/charmap.c: Likewise.
13887 * locale/programs/charmap.h: Likewise.
13888 * locale/programs/ld-address.c: Likewise.
13889 * locale/programs/ld-collate.c: Likewise.
13890 * locale/programs/ld-ctype.c: Likewise.
13891 * locale/programs/ld-identification.c: Likewise.
13892 * locale/programs/ld-measurement.c: Likewise.
13893 * locale/programs/ld-messages.c: Likewise.
13894 * locale/programs/ld-monetary.c: Likewise.
13895 * locale/programs/ld-name.c: Likewise.
13896 * locale/programs/ld-numeric.c: Likewise.
13897 * locale/programs/ld-paper.c: Likewise.
13898 * locale/programs/ld-telephone.c: Likewise.
13899 * locale/programs/ld-time.c: Likewise.
13900 * locale/programs/linereader.c: Likewise.
13901 * locale/programs/locale.c: Likewise.
13902 * locale/programs/locarchive.c: Likewise.
13903 * locale/programs/locfile.h: Likewise.
13904 * locale/programs/repertoire.c: Likewise.
13905 * locale/programs/simple-hash.c: Likewise.
13906 * locale/programs/simple-hash.h: Likewise.
13907 * malloc/memusage.c: Likewise.
13908 * malloc/memusagestat.c: Likewise.
13909 * nis/nis_defaults.c: Likewise.
13910 * nis/nis_hash.c: Likewise.
13911 * nis/nis_print.c: Likewise.
13912 * nis/nis_xdr.c: Likewise.
13913 * nscd/connections.c: Likewise.
13914 * nscd/hstcache.c: Likewise.
13915 * nscd/nscd_gethst_r.c: Likewise.
13916 * nscd/nscd_getserv_r.c: Likewise.
13917 * nscd/nscd_helper.c: Likewise.
13918 * nscd/servicescache.c: Likewise.
13919 * nss/makedb.c: Likewise.
13920 * nss/nss_db/db-XXX.c: Likewise.
13921 * nss/nss_db/db-initgroups.c: Likewise.
13922 * nss/nss_db/db-netgrp.c: Likewise.
13923 * nss/nss_files/files-network.c: Likewise.
13924 * nss/nss_files/files-parse.c: Likewise.
13925 * posix/bug-regex5.c: Likewise.
13926 * posix/fnmatch_loop.c: Likewise.
13927 * posix/regcomp.c: Likewise.
13928 * posix/regexec.c: Likewise.
13929 * posix/tst-rfc3484-2.c: Likewise.
13930 * posix/tst-rfc3484-3.c: Likewise.
13931 * posix/tst-rfc3484.c: Likewise.
13932 * resolv/nss_dns/dns-canon.c: Likewise.
13933 * resolv/nss_dns/dns-network.c: Likewise.
13934 * resolv/res_init.c: Likewise.
13935 * resolv/res_mkquery.c: Likewise.
13936 * resolv/tst-aton.c: Likewise.
13937 * stdlib/cxa_atexit.c: Likewise.
13938 * stdlib/cxa_finalize.c: Likewise.
13939 * stdlib/gen-fpioconst.c: Likewise.
13940 * stdlib/strtol_l.c: Likewise.
13941 * string/tst-endian.c: Likewise.
13942 * sunrpc/auth_des.c: Likewise.
13943 * sunrpc/clnt_udp.c: Likewise.
13944 * sunrpc/rtime.c: Likewise.
13945 * sunrpc/svcauth_des.c: Likewise.
13946 * sunrpc/xdr.c: Likewise.
13947 * sunrpc/xdr_intXX_t.c: Likewise.
13948 * sunrpc/xdr_rec.c: Likewise.
13949 * sysdeps/generic/ldconfig.h: Likewise.
13950 * sysdeps/generic/ldsodefs.h: Likewise.
13951 * sysdeps/generic/memusage.h: Likewise.
13952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13955 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13962 * sysdeps/posix/getaddrinfo.c: Likewise.
13963 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13964 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13965 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13966 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13967 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13968 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13969 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13970 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13971 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13973 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13974 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13975 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13976 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13978 * sysdeps/x86_64/dl-tls.h: Likewise.
13979 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13980 * time/alt_digit.c: Likewise.
13981 * time/era.c: Likewise.
13982 * wcsmbs/tst-c16c32-1.c: Likewise.
13983
8c75f674
JM
139842013-05-16 Joseph Myers <joseph@codesourcery.com>
13985
13986 * math/libm-test.inc (struct test_sincos_data): New type.
13987 (RUN_TEST_LOOP_sincos): New macro.
13988 (sincos_test_data): New variable.
13989 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13990
e6e49e59
RH
139912013-05-16 Richard Henderson <rth@redhat.com>
13992
13993 * math/atest-exp2.c (LIMB64): New macro.
13994 (CONSTSZ): New macro.
13995 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13996 (hexdig): Move ...
13997 (print_mpn_fp): ... to function scope.
13998 (read_mpn_hex): Remove.
13999 (get_log2): Remove.
14000 (exp2_mpn): Use mp_log2.
14001 (main): Use mp_exp1.
14002
15c7c18d
JM
140032013-05-16 Joseph Myers <joseph@codesourcery.com>
14004
105a07df
JM
14005 * math/libm-test.inc: Remove comment about not testing "inexact"
14006 exceptions.
14007 (INEXACT_EXCEPTION): New macro.
14008 (NO_INEXACT_EXCEPTION): Likewise.
14009 (INVALID_EXCEPTION_OK): Update value.
14010 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14011 (OVERFLOW_EXCEPTION_OK): Likewise.
14012 (UNDERFLOW_EXCEPTION_OK): Likewise.
14013 (IGNORE_ZERO_INF_SIGN): Likewise.
14014 (ERRNO_UNCHANGED): Likewise.
14015 (ERRNO_EDOM): Likewise.
14016 (ERRNO_ERANGE): Likewise.
14017 (test_exceptions): Handle testing "inexact" exceptions.
14018 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14019 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14020 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14021 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14022 INEXACT_EXCEPTION.
14023 (rint_towardzero_test_data): Likewise.
14024 (rint_downward_test_data): Likewise.
14025 (rint_upward_test_data): Likewise.
14026
e9eee333
JM
14027 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14028 with OVERFLOW_EXCEPTION.
14029 (exp10_test_data): Likewise.
14030 (exp2_test_data): Likewise.
14031 (expm1_test_data): Likewise.
14032 (lgamma_test_data): Likewise.
14033 (pow_test_data): Likewise.
14034 (tgamma_test_data): Likewise.
14035 (yn_test_data): Remove duplicate test of overflow.
14036
1c38ff73
JM
14037 * math/libm-test.inc (struct test_cc_c_data): New type.
14038 (RUN_TEST_LOOP_cc_c): New macro.
14039 (cpow_test_data): New variable.
14040 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14041
15c7c18d
JM
14042 * math/libm-test.inc (struct test_f_L_data): New type.
14043 (RUN_TEST_LOOP_f_L): New macro.
14044 (llrint_test_data): New variable.
14045 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14046 (llrint_tonearest_test_data): New variable.
14047 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14048 (llrint_towardzero_test_data): New variable.
14049 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14050 (llrint_downward_test_data): New variable.
14051 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14052 (llrint_upward_test_data): New variable.
14053 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14054 (llround_test_data): New variable.
14055 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14056
f137ff13
PC
140572013-05-13 Peter Collingbourne <pcc@google.com>
14058
14059 * math/atest-exp2.c (get_log2): Remove const attribute.
14060
3608cb24
JM
140612013-05-15 Joseph Myers <joseph@codesourcery.com>
14062
14063 * math/libm-test.inc (struct test_f_l_data): New type.
14064 (RUN_TEST_LOOP_f_l): New macro.
14065 (lrint_test_data): New variable.
14066 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14067 (lrint_tonearest_test_data): New variable.
14068 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14069 (lrint_towardzero_test_data): New variable.
14070 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14071 (lrint_downward_test_data): New variable.
14072 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14073 (lrint_upward_test_data): New variable.
14074 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14075 (lround_test_data): New variable.
14076 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14077
39b1f617
PC
140782013-05-15 Peter Collingbourne <pcc@google.com>
14079
1deff3dc
PC
14080 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14081 (EXTRACT_WORDS64) Use where appropriate.
14082 (INSERT_WORDS64) Likewise.
14083
791f3ba0
PC
14084 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14085 constraints with x constraints.
14086 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14087
39b1f617
PC
14088 * malloc/obstack.c (_obstack_compat): Add initializer.
14089
12fba011
EM
140902013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14091
14092 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14093 si_trapno and add si_addr_lsb to _sifields.sigfault.
14094 (si_trapno): Remove macro.
14095 (si_addr_lsb): Define new macro.
14096 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14097
d369f531
JM
140982013-05-15 Joseph Myers <joseph@codesourcery.com>
14099
b861c6c4
JM
14100 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14101 instead of TEST_f_l.
14102 (llrint_test_tonearest): Likewise.
14103 (llrint_test_towardzero): Likewise.
14104 (llrint_test_downward): Likewise.
14105 (llrint_test_upward): Likewise.
14106 (llround_test): Likewise.
14107
7abeee12
JM
14108 * math/libm-test.inc (struct test_f_i_data): Add comment.
14109 (RUN_TEST_LOOP_f_b): New macro.
14110 (RUN_TEST_LOOP_f_b_tg): Likewise.
14111 (finite_test_data): New variable.
14112 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14113 (isfinite_test_data): New variable.
14114 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14115 (isinf_test_data): New variable.
14116 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14117 (isnan_test_data): New variable.
14118 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14119 (isnormal_test_data): New variable.
14120 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14121 (issignaling_test_data): New variable.
14122 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14123 (signbit_test_data): New variable.
14124 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14125
cbe8c4d3
JM
14126 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14127 with INVALID_EXCEPTION.
14128 (acosh_test_data): Likewise.
14129 (asin_test_data): Likewise.
14130 (atanh_test_data): Likewise.
14131 (fmod_test_data): Likewise.
14132 (log_test_data): Likewise.
14133 (log10_test_data): Likewise.
14134 (log2_test_data): Likewise.
14135 (pow_test_data): Likewise.
14136 (sqrt_test_data): Likewise.
14137 (y0_test_data): Likewise.
14138 (y1_test_data): Likewise.
14139 (yn_test_data): Likewise.
14140
5575c0e5
JM
14141 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14142 function contents.
14143
d369f531
JM
14144 * math/libm-test.inc (struct test_ff_i_data): New type.
14145 (RUN_TEST_LOOP_ff_i_tg): New macro.
14146 (isgreater_test_data): New variable.
14147 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14148 (isgreaterequal_test_data): New variable.
14149 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14150 (isless_test_data): New variable.
14151 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14152 (islessequal_test_data): New variable.
14153 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14154 (islessgreater_test_data): New variable.
14155 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14156 (isunordered_test_data): New variable.
14157 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14158
781fd748
DM
141592013-05-14 David S. Miller <davem@davemloft.net>
14160
14161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14162
87aa21df
JM
141632013-05-14 Joseph Myers <joseph@codesourcery.com>
14164
5e908270
JM
14165 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14166
f71172e5
JM
14167 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14168 extra_test to int.
14169 (struct test_f_i_data): Change type of max_ulp to int.
14170
8cfa635a
JM
14171 * math/libm-test.inc (test_ffI_f1_data): New type.
14172 (RUN_TEST_LOOP_ffI_f1): New macro.
14173 (remquo_test_data): New variable.
14174 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14175
2bcb36b2
JM
14176 * setjmp/tst-setjmp-fp.c: New file.
14177 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14178 (link-libm): New variable.
14179 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14180
acbd839a
JM
14181 * math/libm-test.inc (struct test_f_i_data): New type.
14182 (RUN_TEST_LOOP_f_i): New macro.
14183 (RUN_TEST_LOOP_f_i_tg): Likewise.
14184 (fpclassify_test_data): New variable.
14185 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14186 (ilogb_test_data): New variable.
14187 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14188
e414d745
JM
14189 * math/libm-test.inc (scalbln_test): Correct function name in END
14190 call.
14191
d9c2a0fd
JM
14192 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14193 (RUN_TEST_LOOP_fI_f1): New macro.
14194 (frexp_test_data): New variable.
14195 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14196
9dc9095d
JM
14197 * math/libm-test.inc (struct test_fF_f1_data): New type.
14198 (RUN_TEST_LOOP_fF_f1): New macro.
14199 (modf_test_data): New variable.
14200 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14201
87aa21df
JM
14202 * math/libm-test.inc (struct test_f_f1_data): New type.
14203 (RUN_TEST_LOOP_f_f1): New macro.
14204 (gamma_test_data): New variable.
14205 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14206 (lgamma_test_data): New variable.
14207 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14208
141af660
CD
142092013-05-13 Carlos O'Donell <carlos@redhat.com>
14210
14211 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14212 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14213 (main): Comment "tls" pseudo-hwcap.
14214
6d33265c
JM
142152013-05-13 Joseph Myers <joseph@codesourcery.com>
14216
68fc074c
JM
14217 * math/libm-test.inc (struct test_fl_f_data): New type.
14218 (RUN_TEST_LOOP_fl_f): New variable.
14219 (scalbln_test_data): New variable.
14220 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14221
243216e1
JM
14222 * math/libm-test.inc (struct test_fi_f_data): New type.
14223 (RUN_TEST_LOOP_fi_f): New macro.
14224 (ldexp_test_data): New variable.
14225 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14226 (scalbn_test_data): New variable.
14227 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14228
6a1992e2
JM
14229 * math/libm-test.inc (struct test_c_f_data): New type.
14230 (RUN_TEST_LOOP_c_f): New macro.
14231 (cabs_test_data): New variable.
14232 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14233 (carg_test_data): New variable.
14234 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14235 (cimag_test_data): New variable.
14236 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14237 (creal_test_data): New variable.
14238 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14239
0e400df5
JM
14240 * math/libm-test.inc (struct test_if_f_data): New type.
14241 (RUN_TEST_LOOP_if_f): New macro.
14242 (jn_test_data): New variable.
14243 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14244 (yn_test_data): New variable.
14245 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14246
6d33265c
JM
14247 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14248
f98ece5f
AZ
142492013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14250
14251 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14252 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14253
0f7d347b
SP
142542013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14255
43fe811b
SP
14256 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14257 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14258 (bench-deps): Add bench-timing.h.
14259 * benchtests-bench-skeleton.c: Include bench-timing.h.
14260 (main): Use TIMING_* macros instead of clock_gettime.
14261 * benchtests/bench-timing.h: New file.
14262
0f7d347b
SP
14263 [BZ #14582]
14264 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14265 Renamed from _LIB_VERSION.
14266 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14267
601a3a5f
JM
142682013-05-12 Joseph Myers <joseph@codesourcery.com>
14269
4f184d30
JM
14270 * math/libm-test.inc (struct test_fff_f_data): New type.
14271 (RUN_TEST_LOOP_fff_f): New macro.
14272 (fma_test_data): New variable.
14273 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14274 (fma_towardzero_test_data): New variable.
14275 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14276 (fma_downward_test_data): New variable.
14277 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14278 (fma_upward_test_data): New variable.
14279 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14280
08198877
JM
14281 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14282 (struct test_c_c_data): New type.
14283 (RUN_TEST_LOOP_c_c): New macro.
14284 (cacos_test_data): New variable.
14285 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14286 (cacosh_test_data): New variable.
14287 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14288 (casin_test_data): New variable.
14289 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14290 (casinh_test_data): New variable.
14291 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14292 (catan_test_data): New variable.
14293 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14294 (catanh_test_data): New variable.
14295 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14296 (ccos_test_data): New variable.
14297 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14298 (ccosh_test_data): New variable.
14299 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14300 (cexp_test_data): New variable.
14301 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14302 (clog_test_data): New variable.
14303 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14304 (clog10_test_data): New variable.
14305 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14306 (conj_test_data): New variable.
14307 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14308 (cproj_test_data): New variable.
14309 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14310 (csin_test_data): New variable.
14311 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14312 (csinh_test_data): New variable.
14313 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14314 (csqrt_test_data): New variable.
14315 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14316 (ctan_test_data): New variable.
14317 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14318 (ctan_tonearest_test_data): New variable.
14319 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14320 (ctan_towardzero_test_data): New variable.
14321 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14322 (ctan_downward_test_data): New variable.
14323 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14324 (ctan_upward_test_data): New variable.
14325 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14326 (ctanh_test_data): New variable.
14327 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14328 (ctanh_tonearest_test_data): New variable.
14329 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14330 (ctanh_towardzero_test_data): New variable.
14331 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14332 (ctanh_downward_test_data): New variable.
14333 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14334 (ctanh_upward_test_data): New variable.
14335 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14336 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14337 of BUILD_COMPLEX.
14338
601a3a5f
JM
14339 * math/libm-test.inc (struct test_ff_f_data): New type.
14340 (struct test_ff_f_data_nexttoward): Likewise.
14341 (RUN_TEST_LOOP_2_f): New macro.
14342 (RUN_TEST_LOOP_ff_f): Likewise.
14343 (atan2_test_data): New variable.
14344 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14345 (copysign_test_data): New variable.
14346 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14347 (fdim_test_data): New variable.
14348 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14349 (fmax_test_data): New variable.
14350 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14351 (fmin_test_data): New variable.
14352 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14353 (fmod_test_data): New variable.
14354 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14355 (hypot_test_data): New variable.
14356 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14357 (nextafter_test_data): New variable.
14358 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14359 (nexttoward_test_data): New variable.
14360 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14361 (pow_test_data): New variable.
14362 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14363 (pow_tonearest_test_data): New variable.
14364 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14365 (pow_towardzero_test_data): New variable.
14366 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14367 (pow_downward_test_data): New variable.
14368 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14369 (pow_upward_test_data): New variable.
14370 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14371 (remainder_test_data): New variable.
14372 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14373 (scalb_test_data): New variable.
14374 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14375 * sysdeps/i386/fpu/libm-test-ulps: Update.
14376
74c57478
JM
143772013-05-11 Joseph Myers <joseph@codesourcery.com>
14378
8329e4da
JM
14379 * math/libm-test.inc (fma_test): Use max_value instead of local
14380 variable fltmax.
14381 (nextafter_test): Likewise.
14382
74c57478
JM
14383 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14384 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14385 (acos_downward_test_data): New variable.
14386 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14387 (acos_upward_test_data): New variable.
14388 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14389 (acosh_test_data): New variable.
14390 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14391 (asin_test_data): New variable.
14392 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14393 (asin_tonearest_test_data): New variable.
14394 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14395 (asin_towardzero_test_data): New variable.
14396 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14397 (asin_downward_test_data): New variable.
14398 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14399 (asin_upward_test_data): New variable.
14400 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14401 (asinh_test_data): New variable.
14402 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14403 (atan_test_data): New variable.
14404 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14405 (atanh_test_data): New variable.
14406 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14407 (cbrt_test_data): New variable.
14408 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14409 (ceil_test_data): New variable.
14410 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14411 (cos_test_data): New variable.
14412 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14413 (cos_tonearest_test_data): New variable.
14414 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14415 (cos_towardzero_test_data): New variable.
14416 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14417 (cos_downward_test_data): New variable.
14418 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14419 (cos_upward_test_data): New variable.
14420 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14421 (cosh_test_data): New variable.
14422 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14423 (cosh_tonearest_test_data): New variable.
14424 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14425 (cosh_towardzero_test_data): New variable.
14426 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14427 (cosh_downward_test_data): New variable.
14428 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14429 (cosh_upward_test_data): New variable.
14430 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14431 (erf_test_data): New variable.
14432 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14433 (erfc_test_data): New variable.
14434 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14435 (exp_test_data): New variable.
14436 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14437 (exp_tonearest_test_data): New variable.
14438 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14439 (exp_towardzero_test_data): New variable.
14440 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14441 (exp_downward_test_data): New variable.
14442 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14443 (exp_upward_test_data): New variable.
14444 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14445 (exp10_test_data): New variable.
14446 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14447 (exp2_test_data): New variable.
14448 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14449 (expm1_test_data): New variable.
14450 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14451 (fabs_test_data): New variable.
14452 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14453 (floor_test_data): New variable.
14454 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14455 (j0_test_data): New variable.
14456 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14457 (j1_test_data): New variable.
14458 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14459 (log_test_data): New variable.
14460 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14461 (log10_test_data): New variable.
14462 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14463 (log1p_test_data): New variable.
14464 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14465 (log2_test_data): New variable.
14466 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14467 (logb_test_data): New variable.
14468 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14469 (logb_downward_test_data): New variable.
14470 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14471 (nearbyint_test_data): New variable.
14472 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14473 (rint_test_data): New variable.
14474 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14475 (rint_tonearest_test_data): New variable.
14476 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14477 (rint_towardzero_test_data): New variable.
14478 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14479 (rint_downward_test_data): New variable.
14480 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14481 (rint_upward_test_data): New variable.
14482 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14483 (round_test_data): New variable.
14484 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14485 (sin_test_data): New variable.
14486 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14487 (sin_tonearest_test_data): New variable.
14488 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14489 (sin_towardzero_test_data): New variable.
14490 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14491 (sin_downward_test_data): New variable.
14492 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14493 (sin_upward_test_data): New variable.
14494 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14495 (sinh_test_data): New variable.
14496 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14497 (sinh_tonearest_test_data): New variable.
14498 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14499 (sinh_towardzero_test_data): New variable.
14500 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14501 (sinh_downward_test_data): New variable.
14502 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14503 (sinh_upward_test_data): New variable.
14504 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14505 (sqrt_test_data): New variable.
14506 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14507 (tan_test_data): New variable.
14508 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14509 (tan_tonearest_test_data): New variable.
14510 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14511 (tan_towardzero_test_data): New variable.
14512 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14513 (tan_downward_test_data): New variable.
14514 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14515 (tan_upward_test_data): New variable.
14516 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14517 (tanh_test_data): New variable.
14518 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14519 (tgamma_test_data): New variable.
14520 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14521 (trunc_test_data): New variable.
14522 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14523 (y0_test_data): New variable.
14524 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14525 (y1_test_data): New variable.
14526 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14527 (significand_test_data): New variable.
14528 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14529
7187d844
CG
145302013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14531
14532 [BZ #12387]
14533 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14534
f63fae73
PT
145352013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14536
14537 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14538
8a67a4b3
AJ
145392013-05-10 Andreas Jaeger <aj@suse.de>
14540
14541 [BZ #15448]
14542 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14543 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14544
51df539d
JM
145452013-05-10 Joseph Myers <joseph@codesourcery.com>
14546
14547 * math/gen-libm-test.pl (adjust_arg): New function.
14548 (special_functions): Handle generating output in both functions
14549 and arrays.
14550 (parse_args): Likewise.
14551 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14552 $in_func argument to parse_args.
14553 * math/libm-test.inc (struct test_f_f_data): New type.
14554 (IF_ROUND_INIT_): New macro.
14555 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14556 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14557 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14558 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14559 (ROUND_RESTORE_): Likewise.
14560 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14561 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14562 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14563 (ROUND_RESTORE_FE_UPWARD): Likewise.
14564 (RUN_TEST_LOOP_f_f): New macro.
14565 (acos_test_data): New variable.
14566 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14567 (acos_tonearest_test_data): New variable.
14568 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14569
5c637fe5
SP
145702013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14571
14572 * benchtests/bench-skeleton.c (startup): Fix coding style.
14573
ab2b9461
JM
145742013-05-10 Joseph Myers <joseph@codesourcery.com>
14575
14576 [BZ #6809]
14577 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14578 negative infinity argument.
14579 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14580 negative infinity argument.
14581 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14582 negative infinity argument.
14583 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14584 domain errors.
14585
4c0fe6fe
FW
145862013-05-10 Florian Weimer <fweimer@redhat.com>
14587
14588 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14589 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14590 * iconv/iconv_prog.c (main): Likewise.
14591 * locale/programs/charmap-dir.c (charmap_readdir)
14592 (fopen_uncompressed): Likewise.
14593 * locale/programs/locfile.c (siblings_uncached)
14594 (write_locale_data): Use lstat64 instead of lstat.
14595 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14596 stat.
14597
a3375d29
AJ
145982013-05-10 Andreas Jaeger <aj@suse.de>
14599
14600 [BZ #15395]
14601 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14602 localization.
14603 Include <locale.h>.
14604
36129722
CD
146052013-05-09 Carlos O'Donell <carlos@redhat.com>
14606
14607 * elf/dl-close.c (_dl_close_worker): Add comments.
14608
faa7f811
JM
146092013-05-09 Joseph Myers <joseph@codesourcery.com>
14610
ed41ffef
JM
14611 [BZ #15359]
14612 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14613 high part of pi/2.
14614 (__ieee754_rem_pio2l): Update comments.
14615
d0213cd0
JM
14616 [BZ #15429]
14617 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14618 high part of pi/2.
14619 (__ieee754_rem_pio2l): Update comments.
14620
0d3e777a
JM
14621 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14622 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14623
24f56066
JM
14624 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14625 M_PI_4l.
14626
faa7f811
JM
14627 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14628 (M_PI_34_LOG10El): Likewise.
14629 (M_PI2_LOG10El): Likewise.
14630 (M_PI4_LOG10El): Likewise.
14631 (M_PI_LOG10El): Likewise.
14632
e9a5e0fd
AZ
146332013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14634
14635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14636
d8cd06db
JM
146372013-05-08 Joseph Myers <joseph@codesourcery.com>
14638
a0d9f9d7
JM
14639 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14640 (MINUS_ZERO_INIT): Likewise.
14641 (PLUS_INFTY_INIT): Likewise.
14642 (MINUS_INFTY_INIT): Likewise.
14643 (QNAN_VALUE_INIT): Likewise.
14644 (MAX_VALUE_INIT): Likewise.
14645 (MIN_VALUE_INIT): Likewise.
14646 (MIN_SUBNORM_VALUE_INIT): Likewise.
14647 (plus_zero): Initialize with PLUS_ZERO_INIT.
14648 (minus_zero): Initialize with MINUS_ZERO_INIT.
14649 (plus_infty): Initialize with PLUS_INFTY_INIT.
14650 (minus_infty): Initialize with MINUS_INFTY_INIT.
14651 (qnan_value): Initialize with QNAN_VALUE_INIT.
14652 (max_value): Initialize with MAX_VALUE_INIT.
14653 (min_value): Initialize with MIN_VALUE_INIT.
14654 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14655
ae08db3b
JM
14656 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14657 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14658 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14659 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14660
f44bf14a
JM
14661 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14662 (RUN_TEST_2_f): Likewise.
14663 (RUN_TEST_ff_f): Likewise.
14664 (RUN_TEST_fi_f): Likewise.
14665 (RUN_TEST_fl_f): Likewise.
14666 (RUN_TEST_fff_f): Likewise.
14667 (RUN_TEST_c_f): Likewise.
14668 (RUN_TEST_f_f1): Likewise.
14669 (RUN_TEST_fF_f1): Likewise.
14670 (RUN_TEST_fI_f1): Likewise.
14671 (RUN_TEST_ffI_f1): Likewise.
14672 (RUN_TEST_c_c): Likewise.
14673 (RUN_TEST_cc_c): Likewise.
14674 (RUN_TEST_f_i): Likewise.
14675 (RUN_TEST_f_i_tg): Likewise.
14676 (RUN_TEST_ff_i_tg): Likewise.
14677 (RUN_TEST_f_b): Likewise.
14678 (RUN_TEST_f_b_tg): Likewise.
14679 (RUN_TEST_f_l): Likewise.
14680 (RUN_TEST_f_L): Likewise.
14681 (RUN_TEST_sincos): Likewise.
14682 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14683 whether to show exceptions. Do not include ");\n" in return
14684 value.
14685 (special_functions): Output call to RUN_TEST_sincos instead of
14686 check_float calls. Update calls to new_test.
14687 (parse_args): Output call to single RUN_TEST_* macro instead of
14688 check_* calls and other assignments. Update calls to new_test.
14689
d8cd06db
JM
14690 [BZ #2546]
14691 [BZ #2560]
14692 [BZ #5159]
14693 [BZ #15426]
14694 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14695 input to result for tgamma overflow.
14696 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14697 (gamma_coeff): New variable.
14698 (NCOEFF): New macro.
14699 (gamma_positive): New function.
14700 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14701 underflow here. Use gamma_positive instead of exp (lgamma) for
14702 other arguments.
14703 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14704 (gamma_coeff): New variable.
14705 (NCOEFF): New macro.
14706 (gammaf_positive): New function.
14707 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14708 underflow here. Use gamma_positive instead of exp (lgamma) for
14709 other arguments.
14710 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14711 (gamma_coeff): New variable.
14712 (NCOEFF): New macro.
14713 (gammal_positive): New function.
14714 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14715 underflow here. Use gamma_positive instead of exp (lgamma) for
14716 other arguments.
14717 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14718 (gamma_coeff): New variable.
14719 (NCOEFF): New macro.
14720 (gammal_positive): New function.
14721 (__ieee754_gammal_r): Handle positive infinity, overflow and
14722 underflow here. Handle NaN the same as positive infinity. Remove
14723 check x < 0xffffffff for negative integers. Use gamma_positive
14724 instead of exp (lgamma) for other arguments.
14725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14726 (gamma_coeff): New variable.
14727 (NCOEFF): New macro.
14728 (gammal_positive): New function.
14729 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14730 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14734 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14735 * sysdeps/generic/math_private.h (__gamma_productf): New
14736 prototype.
14737 (__gamma_product): Likewise.
14738 (__gamma_productl): Likewise.
14739 * math/Makefile (libm-calls): Add gamma_product.
14740 * math/libm-test.inc (tgamma_test): Add more tests.
14741 * sysdeps/i386/fpu/libm-test-ulps: Update.
14742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14743
bb7cf681
OB
147442013-05-08 Ondřej Bílka <neleai@seznam.cz>
14745
14746 * benchtests/bench-skeleton.c (main): Preheat CPU.
14747
ba853947
AJ
147482013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14749
14750 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14751
8347c74c
RM
147522013-05-07 Roland McGrath <roland@hack.frob.com>
14753
14754 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14755 and _dl_skip_args_internal.
14756
e8dd4791
CD
147572013-05-07 Carlos O'Donell <carlos@redhat.com>
14758
14759 * manual/message.texi (Message Translation): Talk about users.
14760 Message to key mapping impacts design.
14761
c7405830
RM
147622013-05-06 Roland McGrath <roland@hack.frob.com>
14763
a9173057
RM
14764 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14765
976e2f03
RM
14766 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14767
9723ffc5
RM
14768 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14769 * sysdeps/wordsize-64/glob64.c: ... here.
14770
962e6658
RM
14771 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14772 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14773 New macros.
14774
ee586a6d
RM
14775 * debug/getlogin_r_chk.c: Moved to ...
14776 * login/getlogin_r_chk.c: ... here.
14777 * debug/Makefile (routines): Move getlogin_r_chk to ...
14778 * login/Makefile (routines): ... here.
14779 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14780 * login/Versions (libc: GLIBC_2.4): ... here.
14781
355f9165
RM
14782 * io/poll.c (__poll): Renamed from poll.
14783 Add libc_hidden_def.
14784 (poll): Define as weak alias.
14785
bd9ffde6
RM
14786 * debug/ptsname_r_chk.c: Moved to ...
14787 * login/ptsname_r_chk.c: ... here.
14788 * debug/Makefile (routines): Move ptsname_r_chk to ...
14789 * login/Makefile (routines): ... here.
14790 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14791 * login/Versions (libc: GLIBC_2.4): ... here.
14792
8fb16a04
RM
14793 * posix/getlogin.c: Moved to ...
14794 * login/getlogin.c: ... here.
14795 * posix/getlogin_r.c: Moved to ...
14796 * login/getlogin_r.c: ... here.
14797 * posix/getlogin_r.c: Moved to ...
14798 * login/getlogin_r.c: ... here.
14799 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14800 * login/Makefile (routines): ... here.
14801 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14802 * login/Versions (libc: GLIBC_2.0): ... here.
14803
b99b892f
RM
14804 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14805 (setrlimit): Define as weak alias.
14806
c7405830
RM
14807 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14808 Call __ names for open, ftruncate, and close.
14809 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14810 (truncate): Define as weak alias.
14811
5bf96de5
JM
148122013-05-06 Joseph Myers <joseph@codesourcery.com>
14813
9ea3513c
JM
14814 * math/gen-libm-test.pl (parse_args): Initialize x before each
14815 test of frexp, modf and remquo.
14816
5bf96de5
JM
14817 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14818 test signgam value.
14819
16e616a7
AZ
148202013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14821
14822 [BZ #15418]
14823 [BZ #15419]
14824 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14825 internal tests.
14826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14827
d5e82754
RM
148282013-05-06 Roland McGrath <roland@hack.frob.com>
14829
14830 * elf/dl-writev.h: New file.
14831 * elf/dl-misc.c: Include it.
14832 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14833 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14834
a7548d41
JM
148352013-05-04 Joseph Myers <joseph@codesourcery.com>
14836
b7dab1e4
JM
14837 * math/libm-test.inc (noXFails): Remove variable.
14838 (noXPasses): Likewise.
14839 (BUILD_COMPLEX_INT): Remove macro.
14840 (print_screen): Remove xfail argument.
14841 (print_screen_max_error): Likewise.
14842 (update_stats): Likewise.
14843 (print_max_error): Likewise. Update calls to other affected
14844 functions.
14845 (print_complex_max_error): Likewise.
14846 (test_single_exception): Update calls to print_screen.
14847 (test_single_errno): Likewise.
14848 (check_float_internal): Remove xfail argument. Update calls to
14849 other affected functions.
14850 (check_float): Likewise.
14851 (check_complex): Likewise.
14852 (check_int): Likewise.
14853 (check_long): Likewise.
14854 (check_bool): Likewise.
14855 (check_longlong): Likewise.
14856 (main): Don't print noXFails and noXPasses.
14857 * math/gen-libm-test.pl (top level): Don't mention expected
14858 failure handling in comment.
14859 (new_test): Don't handle expected failures.
14860 (parse_args): Don't mention expected failure handling in comment.
14861 (generate_testfile): Don't handle expected failures.
14862 (parse_ulps): Likewise.
14863 (print_ulps_file): Likewise.
14864 (get_failure): Remove function.
14865 (output_test): Don't handle expected failures.
14866 * make/README.libm-test: Don't mention expected failure handling.
14867
a7548d41
JM
14868 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14869 (minus_zero): Likewise.
14870 (plus_infty): Likewise.
14871 (minus_infty): Likewise.
14872 (qnan_value): Likewise.
14873 (max_value): Likewise.
14874 (min_value): Likewise.
14875 (min_subnorm_value): Likewise.
14876 (initialize): Do not initialize those variables dynamically.
14877
60bfd54c
RM
148782013-05-03 Roland McGrath <roland@hack.frob.com>
14879
cc0e6ed8
RM
14880 * io/open.c (__open_2): Moved to ...
14881 * io/open_2.c: ... this new file.
14882 * io/open64.c (__open64_2): Moved to ...
14883 * io/open64_2.c: ... this new file.
14884 * io/openat.c (__openat_2): Moved to ...
14885 * io/openat_2.c: ... this new file.
14886 * io/openat64.c (__openat64_2): Moved to ...
14887 * io/openat64_2.c: ... this new file.
14888 * io/Makefile (routines): Add them.
14889 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14890 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14891 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14892 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14893 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14894 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14895 (__openat64): Add hidden_ver.
14896 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14897 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14898
60bfd54c
RM
14899 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14900 Separately conditionalize setting of GLRO(dl_sysinfo) so
14901 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14902 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14903
83e7640f
AZ
149042013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14905
14906 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14907 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14908 definition.
14909 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14910 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14911 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14912 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14913 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14914
d5dc2af3
JM
149152013-05-03 Joseph Myers <joseph@codesourcery.com>
14916
c31a5b1e
JM
14917 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14918 test signgam value.
14919
d5dc2af3
JM
14920 * math/libm-test.inc (hypot_test): Do not use
14921 IGNORE_ZERO_INF_SIGN.
14922
164fd39d
AJ
149232013-05-03 Andreas Jaeger <aj@suse.de>
14924
14925 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14926 Linux 3.9.
14927 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14928 (PF_MAX): Adjust for VSOCK change.
14929
8237f48c
AZ
149302013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14931
14932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14933
9df02941
CD
149342013-05-02 Carlos O'Donell <carlos@redhat.com>
14935
14936 [BZ #15264]
14937 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14938 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14939 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14940
d422395e
DM
149412013-05-02 David S. Miller <davem@davemloft.net>
14942
14943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14944
a07c5731
OB
149452013-05-01 Ondřej Bílka <neleai@seznam.cz>
14946
14947 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14948
1324e37f
RM
149492013-05-01 Roland McGrath <roland@hack.frob.com>
14950
14951 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14952
0695940b
RS
149532013-05-01 Richard Smith <richard@metafoo.co.uk>
14954
bb5f27ad 14955 [BZ #14952]
0695940b
RS
14956 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14957 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14958 Use __attribute__ ((__gnu_inline__)).
14959 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14960 Don't use __attribute__ ((__gnu_inline__)).
14961
10de07f5
JM
149622013-05-01 Joseph Myers <joseph@codesourcery.com>
14963
14964 [BZ #15423]
14965 * math/s_catan.c (__catan): Handle small real or imaginary part of
14966 input specially to avoid spurious underflow.
14967 * math/s_catanf.c (__catanf): Likewise.
14968 * math/s_catanh.c (__catanh): Likewise.
14969 * math/s_catanhf.c (__catanhf): Likewise.
14970 * math/s_catanhl.c (__catanhl): Likewise.
14971 * math/s_catanl.c (__catanl): Likewise.
14972 * math/libm-test.inc (catan_test): Add more tests.
14973 (catanh_test): Likewise.
14974 * sysdeps/i386/fpu/libm-test-ulps: Update.
14975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14976
cb4d5414
AZ
149772013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14978
14979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14980
caf84319
JM
149812013-04-30 Joseph Myers <joseph@codesourcery.com>
14982
14983 [BZ #15416]
14984 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14985 accurately for denominator in atan2.
14986 * math/s_catanf.c (__catanf): Likewise.
14987 * math/s_catanh.c (__catanh): Likewise.
14988 * math/s_catanhf.c (__catanhf): Likewise.
14989 * math/s_catanhl.c (__catanhl): Likewise.
14990 * math/s_catanl.c (__catanl): Likewise.
14991 * math/libm-test.inc (catan_test): Add more tests.
14992 (catanh_test): Likewise.
14993 * sysdeps/i386/fpu/libm-test-ulps: Update.
14994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14995
d569c6ee
SP
149962013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14997
6dbe713d
SP
14998 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14999
f0ee064b
SP
15000 * benchtests/Makefile (bench): Remove slow benchmarks.
15001 * benchtests/atan-inputs: Add slow benchmark inputs.
15002 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15003 (BENCH_FUNC): Accept variant offset.
15004 (VARIANT): Define.
15005 * benchtests/bench-skeleton.c (main): Run benchmark for each
15006 variant.
15007 * benchtests/cos-inputs: Add slow benchmark inputs.
15008 * benchtests/exp-inputs: Likewise.
15009 * benchtests/pow-inputs: Likewise.
15010 * benchtests/sin-inputs: Likewise.
15011 * benchtests/slowatan-inputs: Remove.
15012 * benchtests/slowatan.c: Remove.
15013 * benchtests/slowcos-inputs: Remove.
15014 * benchtests/slowcos.c: Remove.
15015 * benchtests/slowexp-inputs: Remove.
15016 * benchtests/slowexp.c: Remove.
15017 * benchtests/slowpow-inputs: Remove.
15018 * benchtests/slowpow.c: Remove.
15019 * benchtests/slowsin-inputs: Remove.
15020 * benchtests/slowsin.c: Remove.
15021 * benchtests/slowtan-inputs: Remove.
15022 * benchtests/slowtan.c: Remove.
15023 * benchtests/tan-inputs: Add slow benchmark inputs.
15024 * scripts/bench.pl: Parse comments and directives.
15025
d569c6ee
SP
15026 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15027 in CPPFLAGS.
15028 ($(objpfx)bench-%.c): Remove *-ITER.
15029 * benchtests/bench-modf.c: Remove definition of ITER.
15030 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15031 (main): Loop for DURATION seconds instead of fixed number of
15032 iterations.
15033 * scripts/bench.pl: Don't expect iterations in parameters.
15034
a6a242fe
RM
150352013-04-29 Roland McGrath <roland@hack.frob.com>
15036
15037 * io/fchdir.c (__fchdir): Renamed from fchdir.
15038 (fchdir): Define as weak alias.
15039
f2da7793
JM
150402013-04-29 Joseph Myers <joseph@codesourcery.com>
15041
15042 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15043 (ERRNO_EDOM): Likewise.
15044 (ERRNO_ERANGE): Likewise.
15045 (noErrnoTests): New variable.
15046 (init_max_error): Set errno to 0.
15047 (test_single_errno): New function.
15048 (test_errno): Likewise.
15049 (check_float_internal): Call test_errno. Set errno to 0.
15050 (check_complex): Refer to errno tests in comment.
15051 (check_int): Call test_errno. Set errno to 0.
15052 (check_long): Likewise.
15053 (check_bool): Likewise.
15054 (check_longlong): Likewise.
15055 (cos_test): Use ERRNO_* flags for errno tests instead of
15056 check_int.
15057 (expm1_test): Likewise.
15058 (fmod_test): Likewise.
15059 (ilogb_test): Likewise.
15060 (lgamma_test): Likewise.
15061 (pow_test): Likewise.
15062 (remainder_test): Likewise.
15063 (sin_test): Likewise.
15064 (tan_test): Likewise.
15065 (yn_test): Likewise.
15066 (initialize): Set errno to 0.
15067 (main): Print number of errno tests.
15068 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15069
b1a36ceb
AJ
150702013-04-29 Andreas Jaeger <aj@suse.de>
15071
c3ed8088
AJ
15072 [BZ #15084]
15073 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15074 and RES_USEVC.
15075
f1a24198
AJ
15076 [BZ #15085]
15077 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15078 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15079 unimplemented.
15080
9ce3b2cb
AJ
15081 [BZ #15380]
15082 * stdlib/random.c (__initstate): Return NULL if
15083 __initstate fails.
15084
f1a24198 15085 [BZ #15086]
b1a36ceb
AJ
15086 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15087 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15088 RES_SNGLKUPREOP.
15089
7e7b6f36
AZ
150902013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15091
15092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15093
4d14f449
JM
150942013-04-29 Joseph Myers <joseph@codesourcery.com>
15095
15096 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15097 of individual tests.
15098 (casin_test): Likewise.
15099 (casinh_test): Likewise.
15100
5b4217d7
JM
151012013-04-27 Joseph Myers <joseph@codesourcery.com>
15102
15103 [BZ #15409]
15104 * math/s_catan.c (__catan): Handle arguments with large real or
15105 imaginary part separately without squaring.
15106 * math/s_catanf.c (__catanf): Likewise.
15107 * math/s_catanh.c (__catanh): Likewise.
15108 * math/s_catanhf.c (__catanhf): Likewise.
15109 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15110 and redefine.
15111 (__catanhl): Handle arguments with large real or imaginary part
15112 separately without squaring.
15113 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15114 and redefine.
15115 (__catanl): Handle arguments with large real or imaginary part
15116 separately without squaring.
15117 * math/libm-test.inc (catan_test): Add more tests.
15118 (catanh_test): Likewise.
15119 * sysdeps/i386/fpu/libm-test-ulps: Update.
15120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15121
4220c3ef
AJ
151222013-04-27 Andreas Jaeger <aj@suse.de>
15123
15124 [BZ #15007]
15125 * stdlib/stdlib.h: Update guards for qecvt.
15126 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15127 <stdlib.h>.
15128
4721b2d1
AM
151292013-04-27 Allan McRae <allan@archlinux.org>
15130
15131 * sysdeps/i386/fpu/libm-test-ulps: Update.
15132
f0302940
JM
151332013-04-26 Joseph Myers <joseph@codesourcery.com>
15134
9457fd95
JM
15135 [BZ #15406]
15136 * math/s_catan.c: Include <float.h>.
15137 (__catan): Ensure underflow exception occurs for underflowed
15138 result.
15139 * math/s_catanf.c: Include <float.h>.
15140 (__catanf): Ensure underflow exception occurs for underflowed
15141 result.
15142 * math/s_catanh.c: Include <float.h>.
15143 (__catanh): Ensure underflow exception occurs for underflowed
15144 result.
15145 * math/s_catanhf.c: Include <float.h>.
15146 (__catanhf): Ensure underflow exception occurs for underflowed
15147 result.
15148 * math/s_catanhl.c: Include <float.h>.
15149 (__catanhl): Ensure underflow exception occurs for underflowed
15150 result.
15151 * math/s_catanl.c: Include <float.h>.
15152 (__catanl): Ensure underflow exception occurs for underflowed
15153 result.
15154 * math/libm-test.inc (catan_test): Add more tests.
15155 (catanh_test): Likewise.
15156
f0302940
JM
15157 [BZ #15405]
15158 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15159 underflowed result.
15160 * math/s_ccoshf.c (__ccoshf): Likewise.
15161 * math/s_ccoshl.c (__ccoshl): Likewise.
15162 * math/s_csin.c (__csin): Likewise.
15163 * math/s_csinf.c (__csinf): Likewise.
15164 * math/s_csinh.c (__csinh): Likewise.
15165 * math/s_csinhf.c (__csinhf): Likewise.
15166 * math/s_csinhl.c (__csinhl): Likewise.
15167 * math/s_csinl.c (__csinl): Likewise.
15168 * math/libm-test.inc (ccos_test): Add more tests.
15169 (ccosh_test): Likewise.
15170 (csin_test): Likewise.
15171 (csinh_test): Likewise.
15172
aa630f59
AZ
151732013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15174
15175 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15176 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15177 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15178 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15179 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15180 powerpc/power5+/fpu folders.
15181 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15182
15183
1b835983
MT
151842013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15185
15186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15187
73709b26
JM
151882013-04-25 Joseph Myers <joseph@codesourcery.com>
15189
15190 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15191 additions to variable.
15192 [$(config-machine) = x86_64] (modules-names): Likewise.
15193 ($(objpfx)tst-audit3): Remove dependency.
15194 ($(objpfx)tst-audit3.out): Likewise.
15195 ($(objpfx)tst-audit4): Likewise.
15196 ($(objpfx)tst-audit4.out): Likewise.
15197 ($(objpfx)tst-audit5): Likewise.
15198 ($(objpfx)tst-audit5.out): Likewise.
15199 ($(objpfx)tst-audit6): Likewise.
15200 ($(objpfx)tst-audit6.out): Likewise.
15201 ($(objpfx)tst-audit7): Likewise.
15202 ($(objpfx)tst-audit7.out): Likewise.
15203 (tst-audit3-ENV): Remove variable.
15204 (tst-audit4-ENV): Likewise.
15205 (tst-audit5-ENV): Likewise.
15206 (tst-audit6-ENV): Likewise.
15207 (tst-audit7-ENV): Likewise.
15208 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15209 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15210 addition to variable.
15211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15215 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15216 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15217 tst-audit3, tst-audit4 and tst-audit5.
15218 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15219 tst-audit6 and tst-audit7.
15220 [$(subdir) = elf] (modules-names): Add audit modules for those
15221 tests.
15222 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15223 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15224 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15225 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15226 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15227 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15228 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15229 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15230 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15231 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15232 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15233 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15234 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15235 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15236 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15237 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15238 Likewise.
15239 [$(subdir) = elf && $(config-cflags-avx) = yes]
15240 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15241 [$(subdir) = elf && $(config-cflags-avx) = yes]
15242 (CFLAGS-tst-auditmod4a.c): Likewise.
15243 [$(subdir) = elf && $(config-cflags-avx) = yes]
15244 (CFLAGS-tst-auditmod4b.c): Likewise.
15245 [$(subdir) = elf && $(config-cflags-avx) = yes]
15246 (CFLAGS-tst-auditmod6b.c): Likewise.
15247 [$(subdir) = elf && $(config-cflags-avx) = yes]
15248 (CFLAGS-tst-auditmod6c.c): Likewise.
15249 [$(subdir) = elf && $(config-cflags-avx) = yes]
15250 (CFLAGS-tst-auditmod7b.c): Likewise.
15251 * elf/tst-audit3.c: Move to ...
15252 * sysdeps/x86_64/tst-audit3.c: ... here.
15253 * elf/tst-audit4.c: Move to ...
15254 * sysdeps/x86_64/tst-audit4.c: ... here.
15255 * elf/tst-audit5.c: Move to ...
15256 * sysdeps/x86_64/tst-audit5.c: ... here.
15257 * elf/tst-audit6.c: Move to ...
15258 * sysdeps/x86_64/tst-audit6.c: ... here.
15259 * elf/tst-audit7.c: Move to ...
15260 * sysdeps/x86_64/tst-audit7.c: ... here.
15261 * elf/tst-auditmod3a.c: Move to ...
15262 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15263 * elf/tst-auditmod3b.c: Move to ...
15264 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15265 * elf/tst-auditmod4a.c: Move to ...
15266 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15267 * elf/tst-auditmod4b.c: Move to ...
15268 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15269 * elf/tst-auditmod5a.c: Move to ...
15270 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15271 * elf/tst-auditmod5b.c: Move to ...
15272 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15273 * elf/tst-auditmod6a.c: Move to ...
15274 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15275 * elf/tst-auditmod6b.c: Move to ...
15276 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15277 * elf/tst-auditmod6c.c: Move to ...
15278 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15279 * elf/tst-auditmod7a.c: Move to ...
15280 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15281 * elf/tst-auditmod7b.c: Move to ...
15282 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15283
1ef74943
PP
152842013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15285
15286 [BZ #15366]
15287 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15288 define unconditionally.
15289 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15290 define unconditionally.
15291 (INT8_C, INT16_C, etc.): Likewise.
15292
93fd48c5
MR
152932013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15294
ae9552cf
MR
15295 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15296 __ehdr_start with hidden visibility.
15297
93fd48c5
MR
15298 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15299
418601aa
CD
153002013-04-24 Carlos O'Donell <carlos@redhat.com>
15301
15302 * math/libm-test.inc (cos_test): Use accurate hex constants.
15303 (sincost_test): Likewise.
15304
2f38fbfe
JM
153052013-04-24 Joseph Myers <joseph@codesourcery.com>
15306
5e221800
JM
15307 * math/libm-test.inc (catan_test): Add more tests.
15308 (catanh_test): Likewise.
15309
77f143fd
JM
15310 * math/s_catanf.c (__catanf): Use suffixed floating-point
15311 constants.
15312 * math/s_catanhf.c (__catanhf): Likewise.
15313 * math/s_catanhl.c (__catanhl): Likewise.
15314 * math/s_catanl.c (__catanl): Likewise.
15315
2f38fbfe
JM
15316 [BZ #15394]
15317 * math/s_catan.c (__catan): Calculate imaginary part of result
15318 with log1p not log unless computing log of number close to 0.
15319 * math/s_catanf.c (__catanf): Likewise.
15320 * math/s_catanl.c (__catanl): Likewise.
15321 * math/s_catanh.c (__catanh): Calculate real part of result with
15322 log1p not log unless computing log of number close to 0.
15323 * math/s_catanhf.c (__catanhf): Likewise.
15324 * math/s_catanhl.c (__catanhl): Likewise.
15325 * math/libm-test.inc (catan_test): Add more tests.
15326 (catanh_test): Likewise.
15327 * sysdeps/i386/fpu/libm-test-ulps: Update.
15328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15329
45d69176
SP
153302013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15331
15332 * benchtests/Makefile: Mention files in which fast and slow
15333 paths of math functions are implemented.
15334
87f51853
RM
153352013-04-23 Roland McGrath <roland@hack.frob.com>
15336
15337 * sysdeps/posix/timespec_get.c: New file.
15338
3c026539
AZ
153392013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15340
15341 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15342 POWER.
15343 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15344 for POWER.
15345 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15346 powerpc/power5/fpu folders.
15347 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15348 * benchtests/Makefile: Add modf testcase.
15349 * benchtests/bench-modf.c: New file: Benchmark test for mo
15350
ff491d14
SP
153512013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15352
15353 [BZ #14888]
15354 * time/Makefile (tests): Add tst-strptime-whitespace.
15355 * time/strptime_l.c (get_number): Use ISSPACE.
15356 (__strptime_internal): Likewise.
15357 * time/tst-strptime-whitespace.c: New test case.
15358
7ed3f4e8
AS
153592013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15360
15361 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15362 member.
15363 (_nss_files_init): Set it here.
15364
5c95f7b6
HC
153652013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15366
15367 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15368 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15369 unsigned.
15370
d34c9158
JBG
153712013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15372
15373 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15374
2169712d
SP
153752013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15376
15377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15378 size just once.
15379
29c5de99
DM
153802013-04-21 David S. Miller <davem@davemloft.net>
15381
15382 * po/ru.po: Update Russion translation from translation project.
15383
ccdad15d
AC
153842013-04-17 Adam Conrad <adconrad@0c3.net>
15385
15386 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15387 and setfsgid.
15388
0f122b8d
CD
153892013-04-17 Carlos O'Donell <carlos@redhat.com>
15390
5c5b07da 15391 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15392 * configure: Regenerate.
5c5b07da 15393 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15394 Add example to error message.
15395 * sysdeps/i386/configure: Regenerate.
15396
037714dd
SP
153972013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15398
15399 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15400 slowtan.
15401 * benchtests/cos-inputs: New file.
15402 * benchtests/slowcos-inputs: New file.
15403 * benchtests/slowcos.c: New file.
15404 * benchtests/slowtan-inputs: New file.
15405 * benchtests/slowtan.c: New file.
15406 * benchtests/tan-inputs: New file.
15407
e913141d
RM
154082013-04-16 Roland McGrath <roland@hack.frob.com>
15409
15410 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15411 considered kosher.
15412
a2964074
SP
154132013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15414
4856bcd2
SP
15415 * benchtests/Makefile: Include cppflags-iterator.mk to add
15416 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15417
a2964074
SP
15418 * Makefile.in (bench-clean): New target.
15419 * benchtests/Makefile (bench-clean): Likewise.
15420
9fbf9aca
DH
154212013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15422
15423 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15424
207d1e2a
TS
154252013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15426
15427 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15428
306dfba9
AS
154292013-04-15 Andreas Schwab <schwab@suse.de>
15430
15431 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15432 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15433 * nscd/pwdcache.c (cache_addpw): Likewise.
15434 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15435 more than recsize.
15436
206a6699
SP
154372013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15438
15439 * benchtests/Makefile (bench): Write all output to
15440 bench-out.tmp together.
15441
0582f6b3
AS
154422013-04-15 Andreas Schwab <schwab@suse.de>
15443
15444 * nscd/nscd.c (main): Don't fork again after closing files.
15445
acb4325f
SP
154462013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15447
5cb26d0a
SP
15448 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15449
acb4325f
SP
15450 * benchtests/Rules (bench-deps): Collect dependencies into a
15451 single variable. Add Makefile to dependencies.
15452 ($(objpfx)bench-%.c): Depend on bench-deps.
15453
47792506
RM
154542013-04-12 Roland McGrath <roland@hack.frob.com>
15455 Xavier Roche <roche+kml2@exalead.com>
15456
15457 [BZ #15361]
15458 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15459 just that it's a file descriptor.
15460 * manual/llio.texi (Synchronizing AIO Operations): Update description
15461 for EBADF error from aio_fsync.
15462
8fc1bee5
SP
154632013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15464
15465 * Rules (bench): Move target definition...
15466 * benchtests/Makefile: ... here.
15467
aba5e333
CD
154682013-04-11 Carlos O'Donell <carlos@redhat.com>
15469
15470 * math/libm-test.inc (cos_test): Fix PI/2 test.
15471 (sincos_test): Likewise.
15472 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15473 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15474
273cdee8
AS
154752013-04-11 Andreas Schwab <schwab@suse.de>
15476
6ecec3b6
AS
15477 [BZ #13988]
15478 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15479 accept exponent character only when digits were seen.
15480 * stdio-common/Makefile (tests): Add bug26.
15481 * stdio-common/bug26.c: New file.
15482
273cdee8
AS
15483 [BZ #14293]
15484 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15485 non-freeable.
15486
8da491f5
SP
154872013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15488
01dc6df9
SP
15489 * Makeconfig (rtld-prefix): Define built linker prefix.
15490 * Rules (run-bench): Use it.
15491 * math/Makefile (run-regen-ulps): Likewise.
15492
8da491f5
SP
15493 * Rules (bench): Remove eval.
15494
abe7f530
SP
154952013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15496 Roland McGrath <roland@hack.frob.com>
15497 Ondrej Bilka <neleai@seznam.cz>
15498
15499 [BZ #15346]
15500 * time/getdate.c: Include ctype.h and alloca.h.
15501 (__getdate_r): Trim leading and trailing spaces of input.
15502 * time/tst-getdate.c (tests): Add tests with leading and
15503 trailing spaces.
15504
61c23e62
RM
155052013-04-08 Roland McGrath <roland@hack.frob.com>
15506
15507 [BZ #14280]
15508 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15509 when computing value.
15510
7208a313
CD
155112013-04-06 Carlos O'Donell <carlos@redhat.com>
15512
085b2d41
CD
15513 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15514 Use testrun.sh to run libm tests.
15515
7208a313
CD
15516 [BZ #15309]
15517 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15518
872c0acd
MM
155192013-04-06 Marko Myllynen <myllynen@redhat.com>
15520
15521 [BZ #15264]
15522 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15523
26510bdd
CD
155242013-04-06 Carlos O'Donell <carlos@redhat.com>
15525
15526 * Makefile.in (regen-ulps): New target.
15527 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15528 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15529 [ifneq (no,$(PERL)] (regen-ulps): New target.
15530 [ifeq (no,$(PERL)] (regen-ulps): New target.
15531 * math/libm-test.inc (ulps_file_name): Define.
15532 (output_dir): New variable.
15533 (options): Add "output-dir" option.
15534 (parse_opt): Handle 'o' case.
15535 (main): If output_dir is non-NULL use it as a prefix
15536 otherwise use "".
15537 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15538
a01f19c8
CD
155392013-04-06 Carlos O'Donell <carlos@redhat.com>
15540
15541 [BZ #10060, #10062]
15542 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15543 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15544 fail configure if __sync_val_compare_and_swap is not inlined.
15545 * sysdeps/i386/configure: Regenerate.
15546 * configure.in: Build for i686 when configured for i386.
15547 * configure: Regenerate.
15548 * README: Remove i386 reference.
15549
b7a329a5
CD
155502013-04-06 Carlos O'Donell <carlos@redhat.com>
15551
15552 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15553 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15554
bf0f50df
TS
155552013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15556
ee091edf
TS
15557 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15558 (lmsnanval): New variables.
15559 (F): Add conversion tests.
15560 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15561 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15562
a8b792d6
TS
15563 * stdio-common/tstdiomisc.c (F): Properly collect individual
15564 tests' results.
15565
a1cbf437
TS
15566 [BZ #14686, #15336]
15567 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15568 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15569 Instead, use input NaN values or generate a qNaN by arithmetic
15570 operation. Also fix bugs to comply with the standard.
15571 * math/libm-test.inc (remainder_test): Add more tests.
15572
8b43a0c9
TS
15573 [BZ #15335, #15342]
15574 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15576 input NaN values or generate a qNaN by arithmetic operation.
15577
d91da4ce
TS
15578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15579 unreachable code.
15580
bf0f50df
TS
15581 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15582 definitions.
15583
05e166c8
JM
155842013-04-03 Joseph Myers <joseph@codesourcery.com>
15585
15586 [BZ #14478]
15587 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15588 underflowed result.
15589 * math/s_cexpf.c (__cexpf): Likewise.
15590 * math/s_cexpl.c (__cexpl): Likewise.
15591 * math/libm-test.inc (cexp_test): Add more tests.
15592
1cef1b19
AS
155932013-04-03 Andreas Schwab <schwab@suse.de>
15594
15595 [BZ #15330]
15596 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15597 order arrays from heap if bigger than alloca cutoff.
15598
74d87055
TS
155992013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15600
15601 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15602 (SNAN_TESTS_double): Refer to GCC PR56831.
15603 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15604 GCC PR56828.
15605
d755bba4
SP
156062013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15607
90d5d5bb
SP
15608 * Rules (bench): Move bench.out after the run is complete.
15609
73e0cd5d
SP
15610 * Rules (bench): Echo currently running benchmark.
15611
64aabd4b
SP
15612 * benchtests/Makefile (bench): Add atan and slowatan.
15613 * benchtests/atan-inputs: New file.
15614 * benchtests/slowatan-inputs: New file.
15615 * benchtests/slowatan.c: New file.
15616
c871eccd
SP
15617 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15618 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15619 its value.
15620
d755bba4
SP
15621 [BZ #15305]
15622 * sysdeps/unix/sysv/linux/kernel-features.h
15623 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15624 __ASSUME_XFS_RESTRICTED_CHOWN.
15625 * sysdeps/unix/sysv/linux/pathconf.c
15626 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15627 Save and restore errno.
15628
52ce4860
JM
156292013-04-02 Joseph Myers <joseph@codesourcery.com>
15630
15631 [BZ #15327]
15632 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15633 arguments using __kernel_casinh.
15634 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15635 arguments using __kernel_casinhf.
15636 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15637 arguments using __kernel_casinhl.
15638 * math/libm-test.inc (cacosh_test): Add more tests.
15639 * sysdeps/i386/fpu/libm-test-ulps: Update.
15640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15641
81f311c2
SP
156422013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15643
e7906a47
SP
15644 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15646
92e3664b
SP
15647 * bench/Makefile (bench): Add sin and slowsin.
15648 * benchtests/sin-inputs: New file.
15649 * benchtests/slowsin-inputs: New file.
15650 * benchtests/slowsin.c: New file.
15651
81f311c2
SP
15652 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15653 (bench): Add slowexp and slowpow.
15654 (exp-ITER): Increase iterations.
15655 (pow-ITER): Likewise.
15656 * benchtests/exp-inputs: Change input.
15657 * benchtests/pow-inputs: Likewise.
15658 * benchtests/slowexp-inputs: New file.
15659 * benchtests/slowexp.c: New file.
15660 * benchtests/slowpow-inputs: New file.
15661 * benchtests/slowpow.c: New file.
15662
ab0f1aa9
AZ
156632013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15664
15665 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15666 instructions.
15667 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15668 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15669 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15670 * benchtests/Makefile: Add rint benchtest.
15671 * benchtests/rint-inputs: Input for rint benchtest.
15672
57267616
TS
156732013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15674
15675 * Versions.def (libm): Add GLIBC_2.18.
15676 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15677 hidden libm prototypes.
15678 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15679 * math/Makefile (libm-calls): Add s_issignaling.
15680 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15681 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15682 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15683 declaration.
15684 * math/math.h [__USE_GNU] (issignaling): New macro.
15685 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15686 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15687 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15688 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15691 * manual/arith.texi (issignaling): New section.
15692 * manual/libm-err-tab.pl (@all_functions): Update comment.
15693 * math/gen-libm-test.pl (parse_args): Apply special handling for
15694 issignaling.
15695 * math/libm-test.inc (print_float, issignaling_test): New
15696 functions.
15697 (check_float_internal): Add issignaling checks.
15698 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15699 default definition.
15700 * sysdeps/powerpc/math-tests.h: New file.
15701 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15702 tests.
15703 * math/test-snan.c (TEST_FUNC): Likewise.
15704
6142896d
DM
157052013-03-30 David S. Miller <davem@davemloft.net>
15706
15707 * po/de.po: Update from translation team.
15708
ccc8cadf
JM
157092013-03-30 Joseph Myers <joseph@codesourcery.com>
15710
15711 [BZ #10357]
15712 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15713 imaginary part less than 1.0 and real part less than 0.5
15714 specially.
15715 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15716 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15717 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15718 (cacos_test): Add more tests.
15719 (casin_test): Likewise.
15720 (casinh_test): Likewise.
15721 * sysdeps/i386/fpu/libm-test-ulps: Update.
15722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15723
0f6a8d4b
SP
157242013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15725
0d1029de
SP
15726 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15727 ONE with its value.
15728
c2d94018
SP
15729 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15730 (__pow_mp): Replace ONE and MONE with their values.
15731 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15732 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15733 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15734 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15735 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15736 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15737
27ec37f1
SP
15738 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15739
a64d7e0e
SP
15740 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15741 (__pow_mp): Replace ZERO and MZERO with their values.
15742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15743 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15744 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15746 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15747 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15748 (__sqr): Likewise.
15749
d26dd3eb
SP
15750 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15751
0f6a8d4b
SP
15752 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15753
e57b0c61
RM
157542013-03-28 Roland McGrath <roland@hack.frob.com>
15755
15756 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15757 Declare with __attribute__ ((weak)).
15758 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15759 Call __call_tls_dtors only if it's not NULL.
15760
356b3480
RM
157612013-03-28 Roland McGrath <roland@hack.frob.com>
15762
288f7d79
RM
15763 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15764 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15765 magic __ehdr_start linker symbol if it's defined.
15766 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15767 them up here if it was already done.
15768
dc0a0263
RM
15769 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15770 (_dl_aux_init): Use const in cast when setting it.
15771 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15772 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15773 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15774
3d3436ae
RM
15775 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15776 Declare them here.
15777 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15778 * csu/libc-tls.c: Nor here.
15779 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15780
356b3480
RM
15781 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15782 (__libc_message): Never call vsyslog.
15783
b0f1246a
AM
157842013-03-28 Alan Modra <amodra@gmail.com>
15785
15786 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15787 Define as empty.
15788 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15789 Likewise.
15790
fbbe2b9a
AZ
157912013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15792
15793 [BZ #15214]
15794 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15795 underflow.
15796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15797
1728ab37
SP
157982013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15799
7a86be6e
SP
15800 [BZ #15304]
15801 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15802 Don't add gid passed as argument.
15803
1728ab37
SP
15804 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15805
3a7182a1
JM
158062013-03-27 Joseph Myers <joseph@codesourcery.com>
15807
15808 [BZ #15307]
15809 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15810 imaginary part between 1.0 and 1.5 and real part less than 0.5
15811 specially.
15812 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15813 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15814 * math/libm-test.inc (cacos_test): Add more tests.
15815 (casin_test): Likewise.
15816 (casinh_test): Likewise.
15817 * sysdeps/i386/fpu/libm-test-ulps: Update.
15818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15819
6f2e90e7
SP
158202013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15821
5739f705
SP
15822 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15823 constants.
15824 (norm): Likewise.
15825 (denorm): Likewise.
15826 (__dbl_mp): Likewise.
15827 (add_magnitudes): Likewise.
15828 (sub_magnitudes): Likewise.
15829 (__add): Likewise.
15830 (__sub): Likewise.
15831 (__mul): Likewise.
15832 (__sqr): Likewise.
15833 (__inv): Likewise.
15834 (__dvd): Likewise.
15835
e375e83d
SP
15836 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15837 commented code.
15838 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15839 (__dubcos): Likewise.
15840 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15841 (__ieee754_acos): Likewise.
15842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15843 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15844 (__exp1): Likewise.
15845 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15847 (log1): Likewise.
15848 (my_log2): Likewise.
15849 (checkint): Likewise.
15850 * sysdeps/ieee754/dbl-64/e_remainder.c
15851 (__ieee754_remainder): Likewise.
15852 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15854 (bsloww): Likewise.
15855 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15856
6f2e90e7
SP
15857 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15858 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15859 MANTISSA_STORE_T to store computations on mantissa. Use
15860 macros for rounding and division.
15861 (denorm): Likewise.
15862 (__dbl_mp): Likewise.
15863 (add_magnitudes): Likewise.
15864 (sub_magnitudes): Likewise.
15865 (__mul): Likewise.
15866 (__sqr): Likewise.
15867 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15868 powers of two in terms of TWOPOW macro.
15869 (mp_no): Make type of mantissa as MANTISSA_T.
15870 [!RADIXI]: Define RADIXI.
15871 [!TWO52]: Define TWO52.
15872 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15873
fce14d4e
AZ
158742013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15875
15876 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15877 llroundl symbol when building for PPC32.
15878
9ad027fb
MW
158792013-03-24 Mark H Weaver <mhw@netris.org>
15880
15881 * manual/arith.texi (Normalization Functions): Fix prototypes for
15882 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15883
e42a38dd
AZ
158842013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15885
15886 [BZ #13889]
15887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15888 high value to check if expl overflow.
15889 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15890 to check for underflow and overflow.
15891 * math/libm-test.inc: Add exp test.
15892
2e0fb521
DL
158932013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15894
15895 [BZ #11120]
15896 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15897 with NOT_IN_libc.
15898
b5784d95
AZ
158992013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15900
15901 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15902 symbol.
15903
5aa4a1a1
TS
159042013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15905
bdef0be7
TS
15906 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15907 wrap blocks consisting of several statements.
15908
5aa4a1a1
TS
15909 * sysdeps/generic/math-tests.h: New file.
15910 * sysdeps/i386/fpu/math-tests.h: Likewise.
15911 * math/test-snan.c: Include it.
15912 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15913
98c48fe5
JM
159142013-03-21 Joseph Myers <joseph@codesourcery.com>
15915
15916 [BZ #15285]
15917 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15918 (__ieee754_j0l): Do not improve calculations using cos of twice
15919 input for inputs above LDBL_MAX / 2.0L.
15920 (__ieee754_y0l): Likewise.
15921 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15922 (__ieee754_j1l): Do not improve calculations using cos of twice
15923 input for inputs above LDBL_MAX / 2.0L.
15924 (__ieee754_y1l): Likewise.
15925 * math/libm-test.inc (j0_test): Add another test.
15926 (j1_test): Likewise.
15927 (y0_test): Likewise.
15928 (y1_test): Likewise.
15929 * sysdeps/i386/fpu/libm-test-ulps: Update.
15930
3775a8bc
SP
159312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15932
15933 * Rules ($(objpfx)bench-%.c): Include code from a C source
15934 file.
15935
0a1b2ae6
JM
159362013-03-21 Joseph Myers <joseph@codesourcery.com>
15937
15938 [BZ #15287]
15939 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15940 imaginary part 1.0 and real part less than 0.5 specially.
15941 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15942 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15943 * math/libm-test.inc (cacos_test): Add more tests.
15944 (casin_test): Likewise.
15945 (casinh_test): Likewise.
15946 * sysdeps/i386/fpu/libm-test-ulps: Update.
15947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15948
b33d4ce4
SP
159492013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15950
15951 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15952 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15953
bef0b507
JM
159542013-03-20 Joseph Myers <joseph@codesourcery.com>
15955
15956 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15957 * config.make.in (config-cflags-sse4): Remove variable.
15958 (config-cflags-avx): Likewise.
15959 (config-cflags-sse2avx): Likewise.
15960 (config-cflags-novzeroupper): Likewise.
15961 (config-asflags-i686): Likewise.
15962 (have-mfma4): Likewise.
15963 (have-as-vis3): Likewise.
15964 (MIG): Likewise.
15965 * configure.in (MIG): Do not AC_SUBST.
15966 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15967 (libc_cv_cc_sse4): Do not AC_SUBST.
15968 (libc_cv_cc_avx): Likewise.
15969 (libc_cv_cc_sse2avx): Likewise.
15970 (libc_cv_cc_novzeroupper): Likewise.
15971 (libc_cv_cc_fma4): Likewise.
15972 (libc_cv_as_i686): Likewise.
15973 (libc_cv_sparc_as_vis3): Likewise.
15974 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15975 LIBC_CONFIG_VAR.
15976 (config-asflags-i686): Likewise.
15977 (config-cflags-avx): Likewise.
15978 (config-cflags-sse2avx): Likewise.
15979 (have-mfma4): Likewise.
15980 (config-cflags-novzeroupper): Likewise.
15981 * sysdeps/mach/configure.in (MIG): Likewise.
15982 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15983 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15984 LIBC_CONFIG_VAR.
15985 (config-cflags-avx): Likewise.
15986 (config-cflags-sse2avx): Likewise.
15987 (have-mfma4): Likewise.
15988 (config-cflags-novzeroupper): Likewise.
15989 * configure: Regenerated.
15990 * sysdeps/i386/configure: Likewise.
15991 * sysdeps/mach/configure: Likewise.
15992 * sysdeps/sparc/configure: Likewise.
15993 * sysdeps/x86_64/configure: Likewise.
15994
912cc4b3
RM
159952013-03-20 Roland McGrath <roland@hack.frob.com>
15996
15997 [BZ #14812]
15998 * locale/programs/localedef.c (options): Put N_ translation marker
15999 on argument names, not just descriptions.
16000
04eed2b0
MS
160012013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16002
16003 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16004
a065ceff
OB
160052013-03-20 Ondřej Bílka <neleai@seznam.cz>
16006
9bb2a810 16007 [BZ #14176]
a065ceff
OB
16008 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16009
a600e5ce
RM
160102013-03-19 Roland McGrath <roland@hack.frob.com>
16011
16012 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16013 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16014 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16015 [!BEFORE_ABORT] (before_abort): New function.
16016 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16017 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16018 (writev_for_fatal): New function.
16019 (WRITEV_FOR_FATAL): New macro; call that.
16020 (backtrace_and_maps): New function.
16021 (BEFORE_ABORT): New macro; call that.
16022 (struct str_list): Type removed.
16023 (__libc_message, __libc_fatal): Functions removed.
16024 Include <sysdeps/posix/libc_fatal.c> instead.
16025
6b18bea6
JM
160262013-03-19 Joseph Myers <joseph@codesourcery.com>
16027
16028 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16029 constants.
16030 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16031 double constants.
16032
aaa8cb4b
AS
160332013-03-19 Andreas Schwab <schwab@suse.de>
16034
44673770
AS
16035 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16036 * sysdeps/gnu/configure: Regenerate.
16037
aaa8cb4b
AS
16038 * configure.in: Substitute libc_cv_rtlddir.
16039 * configure: Regenerate.
16040 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16041 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16042 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16043 * elf/Makefile (install-others, CFLAGS-interp.c)
16044 (ldso_install, common-ldd-rewrite): Likewise.
16045 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16046 $(inst_slibdir)/$(rtld-installed-name).
16047 * scripts/rellns-sh: Add -p option.
16048 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16049 for source.
16050
d3cfc668
SP
160512013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16052
16053 * manual/nptl.texi: Renamed to ...
16054 * manual/threads.texi: ... this.
16055 * manual/Makefile (chapters): Update.
16056
0e2b9cdd
RM
160572013-03-18 Roland McGrath <roland@hack.frob.com>
16058
16059 [BZ #14812]
16060 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16061 on argument names, not just descriptions.
0e2b9cdd
RM
16062 * malloc/memusagestat.c (options): Likewise.
16063 * nss/getent.c (options): Likewise.
63270c24
RM
16064
160652013-03-18 Benno Schulenberg <bensberg@justemail.net>
16066
16067 [BZ #14812]
16068 * iconv/iconv_prog.c (options): Put N_ translation marker
16069 on argument names, not just descriptions.
16070 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16071
b2e1393c
OB
160722013-03-18 Ondrej Bilka <neleai@seznam.cz>
16073
16074 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16075 implementation which is faster on all x86_64 architectures.
16076 Tested on AMD, Intel Nehalem, SNB, IVB.
16077 * sysdeps/x86_64/strnlen.S: Likewise.
16078
16079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16080 Remove all multiarch strlen and strnlen versions.
16081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16082 Remove strlen and strnlen related parts.
16083
16084 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16085 Inline strlen part.
16086 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16087
16088 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16089 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16090 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16091 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16092 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16093 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16094
ec4ff04d
CD
160952013-03-17 Carlos O'Donell <carlos@redhat.com>
16096
16097 * manual/memory.texi (Malloc Tunable Parameters):
16098 Sort parameters alphabetically. Add comments for missing entries.
16099
cd18e90a
DM
161002013-03-17 David S. Miller <davem@davemloft.net>
16101
16102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16103
2a185d32
JM
161042013-03-16 Joseph Myers <joseph@codesourcery.com>
16105
d2f9799e
JM
16106 [BZ #15283]
16107 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16108 for arguments at most half maximum finite value.
16109 * math/libm-test.inc (j0_test): Add more tests.
16110 (j1_test): Likewise.
16111 (y0_test): Likewise.
16112 (y1_test): Likewise.
16113 * sysdeps/i386/fpu/libm-test-ulps: Update.
16114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16115
2a185d32
JM
16116 [BZ #14155]
16117 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16118 1 / x and functions P and Q for arguments above 0x1p256L.
16119 (__ieee754_y0l): Likewise.
16120 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16121 (__ieee754_y1l): Likewise.
16122 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16123 (j1_test): Likewise.
16124 (y0_test): Likewise.
16125 (y1_test): Likewise.
16126
6cbec759
TS
161272013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16128
16129 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16130 variable.
16131
bc16e260
RM
161322013-03-15 Roland McGrath <roland@hack.frob.com>
16133
aefc9b8c
RM
16134 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16135 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16136 zero since it's initialized to EXEC_PAGESIZE.
16137
bc16e260
RM
16138 * sysdeps/unix/sysv/linux/ldsodefs.h
16139 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16140 * sysdeps/generic/ldsodefs.h: ... here.
16141
a57da955
TS
161422013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16143
af00a34d
TS
16144 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16145
495ded2c
TS
16146 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16147 math/test-snan.c.
16148 * math/test-snan.c: Renamed from
16149 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16150 * math/Makefile (tests): Add test-snan.
16151 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16152 test-powerpc-snan.
16153
777b0332
TS
16154 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16155 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16156 functions.
16157 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16158 __builtin_nan family of functions.
16159 * math/libm-test.inc (initialize): Initialize qnan_value with
16160 __builtin_nan family of functions.
16161 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16162 Remove variables.
16163 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16164 Remove functions.
16165 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16166 storage class. Initialize qNaN_var and sNaN_var with
16167 __builtin_nan and __builtin_nans families of functions,
16168 respectively.
16169
64d063b8
TS
16170 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16171 (sqrt_test): Remove duplicate test with qNaN input.
16172 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16173 (round_test, signbit_test, significand_test): Note missing +/-Inf
16174 as well as qNaN tests.
16175
67e971f1
TS
16176 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16177 qNaN_var. Fix a few strings, too.
16178 * math/libm-test.inc (nan_value): Rename to qnan_value.
16179 * math/gen-libm-test.pl (%beautify): Adjust to that.
16180 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16181 * math/test-misc.c (main): Likewise.
16182 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16183 to __qnan_bytes, and __qnan_union, respectively.
16184 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16185 Likewise.
16186 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16187 and lqnanval, respectively.
16188 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16189 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16190 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16191 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16192
64487e12
TS
16193 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16194 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16195 doubles.
16196
e015e27b
TS
16197 * math/test-misc.c (main): Fix copy'n'pastos.
16198 * misc/tst-efgcvt.c (special): Likewise.
16199
a57da955
TS
16200 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16201 Remove declarations.
16202
1e380345
SP
162032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16204
16205 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16206 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16207 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16208 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16209
ef26eece
AZ
162102013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16211
16212 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16213 macro to return vdso values correctly in IFUNC implementations.
16214 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16215 Optimization by using IFUNC.
16216
8cfdb7e0
SP
162172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16218 Richard Henderson <rth@redhat.com>
16219 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16220
16221 * Makefile.in (bench): New target.
16222 * NEWS: Mention the benchmark framework.
16223 * Rules (bench): Likewise.
16224 (binaries-bench): Generate binaries for functions to
16225 benchmark.
16226 * benchtests/Makefile: New makefile for benchmark tests.
16227 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16228 programs.
16229 * benchtests/exp-inputs: New input file for EXP function.
16230 * benchtests/pow-inputs: New input file for POW function.
16231 * scripts/bench.pl: New script to generate source files for
16232 benchmark programs.
16233
bcda9880
SP
162342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16235
d22ca8cd
SP
16236 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16237 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16238 computations on mantissa. Use macros for rounding and
16239 division.
16240 (denorm): Likewise.
16241 (__dbl_mp): Likewise.
16242 (add_magnitudes): Likewise.
16243 (sub_magnitudes): Likewise.
16244 (__mul): Likewise.
16245 (__sqr): Likewise.
16246 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16247 powers of two in terms of TWOPOW macro.
16248 (mp_no): Make type of mantissa as MANTISSA_T.
16249 [!RADIXI]: Define RADIXI.
16250 [!TWO52]: Define TWO52.
16251 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16252
bcda9880
SP
16253 * manual/nptl.texi (cindex): Modify threads to pthreads.
16254
06d5adfb
JM
162552013-03-15 Joseph Myers <joseph@codesourcery.com>
16256
16257 * sysdeps/x86_64/preconfigure: Regenerated.
16258
41c7328e
JM
162592013-03-14 Joseph Myers <joseph@codesourcery.com>
16260
16261 [BZ #14155]
16262 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16263 0x1p28 and above.
16264 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16265 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16266 0x1p28 and above.
16267 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16268 * math/libm-test.inc (j0_test): Do not allow one spurious
16269 underflow exception.
16270 (y1_test): Likewise.
16271
e25cfa60
SP
162722013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16273
0409959c
SP
16274 * manual/Makefile (chapters): Add nptl.
16275 * manual/debug.texi (Debugging Support): Add link to Threads
16276 chapter.
16277 * manual/nptl.texi: New file.
16278
e25cfa60
SP
16279 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16280
58a1335e
PB
162812013-03-14 Petr Baudis <pasky@ucw.cz>
16282
16283 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16284 for non-NULL pointer before the memory validity test. Pointed
16285 out by Holger Brunck <holger.brunck@keymile.com>.
16286
9dc7c64f
AS
162872013-03-13 Andreas Schwab <schwab@suse.de>
16288
16289 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16290 instead of .os.
16291
54206aa6
JM
162922013-03-13 Joseph Myers <joseph@codesourcery.com>
16293
16294 * timezone/zic.c: Update from tzcode 2013b.
16295
e98cdb38
CD
162962013-03-12 Carlos O'Donell <carlos@redhat.com>
16297
16298 * manual/install.texi (Configuring and compiling):
16299 Mention i686 and i586.
16300 * INSTALL: Regenerate.
16301
9967e003
RM
163022013-03-12 Roland McGrath <roland@hack.frob.com>
16303
16304 * sysdeps/init_array/elf-init.c: New file.
16305 * csu/elf-init.c
16306 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16307 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16308
16309 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16310 __gmon_start__ as global, but as static with a .preinit_array pointer.
16311 * sysdeps/init_array/gmon-start.c: New file. Use that.
16312 * sysdeps/init_array/crti.S: New file, empty except for comments.
16313 * sysdeps/init_array/crtn.S: Likewise.
16314
e6b5a293 163152013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16316
16317 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16318 definining bcopy.
80f844c9
OB
16319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16320 Remove Prefer_SSE_for_memop.
16321 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16322 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16323 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16325 memset-x86-64.
80f844c9 16326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16327 Remove bzero, memset ifunc support.
80f844c9
OB
16328 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16329 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16330 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16331 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16332
fb6b0fcb
AS
163332013-03-11 Andreas Schwab <schwab@suse.de>
16334
16335 [BZ #15234]
16336 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16337 by SHLIB_COMPAT.
16338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16339 (GLIBC_2.16): Remove pthread_atfork.
16340
3e6bd4b1
PP
163412013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16342
16343 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16344 (ptestcases.h): Likewise.
16345
222d7f00
RM
163462013-03-08 Roland McGrath <roland@hack.frob.com>
16347
16348 * Makeconfig ($(common-objpfx)config.status): Depend on
16349 sysdeps/*/preconfigure{,.in} too.
16350
1ba4f030
JM
163512013-03-08 Joseph Myers <joseph@codesourcery.com>
16352
a222d91a
JM
16353 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16354 (__free_hook): Use void * instead of __malloc_ptr_t.
16355 (__malloc_hook): Likewise.
16356 (__realloc_hook): Likewise.
16357 (__memalign_hook): Likewise.
16358 (__after_morecore_hook): Likewise.
16359 * malloc/arena.c (save_malloc_hook): Likewise.
16360 (save_free_hook): Likewise.
16361 * malloc/hooks.c (malloc_hook_ini): Likewise.
16362 (realloc_hook_ini): Likewise.
16363 (memalign_hook_ini): Likewise.
16364 * malloc/malloc.c (malloc_hook_ini): Likewise.
16365 (realloc_hook_ini): Likewise.
16366 (memalign_hook_ini): Likewise.
16367 (__free_hook): Likewise.
16368 (__malloc_hook): Likewise.
16369 (__realloc_hook): Likewise.
16370 (__memalign_hook): Likewise.
16371 (__libc_malloc): Likewise.
16372 (__libc_free): Likewise.
16373 (__libc_realloc): Likewise.
16374 (__libc_memalign): Likewise.
16375 (__libc_valloc): Likewise.
16376 (__libc_pvalloc): Likewise.
16377 (__libc_calloc): Likewise.
16378 (__posix_memalign): Likewise.
16379 * malloc/morecore.c (__sbrk): Likewise.
16380 (__default_morecore): Likewise.
16381
5cc45e10
JM
16382 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16383
dd54b864
JM
16384 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16385 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16386 __malloc_ptrdiff_t.
16387
1ba4f030
JM
16388 * malloc/malloc.h (__malloc_size_t): Remove macro.
16389 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16390 __malloc_size_t.
16391 (old_memalign_hook): Likewise.
16392 (old_realloc_hook): Likewise.
16393 (struct hdr): Likewise.
16394 (flood): Likewise.
16395 (mallochook): Likewise.
16396 (memalignhook): Likewise.
16397 (reallochook): Likewise.
16398 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16399 (tr_old_realloc_hook): Likewise.
16400 (tr_old_memalign_hook): Likewise.
16401 (tr_mallochook): Likewise.
16402 (tr_reallochook): Likewise.
16403 (tr_memalignhook): Likewise.
16404
edf66e57
AZ
164052013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16406
16407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16408 default_ldbl_pack and using as default implementation.
16409 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16410 implementation.
16411 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16412 redundant definition.
16413 (ldbl_insert_mantissa): Likewise.
16414 (ldbl_canonicalize): Likewise.
16415 (ldbl_nearbyint): Likewise.
16416 (ldbl_pack): Rename to ldbl_pack_ppc.
16417 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16418 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16419 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16420
6d9145d8
SP
164212013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16422
16423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16424 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16425 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16426 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16428 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16429 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16430 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16431
4dd4e157
AJ
164322013-03-07 Andreas Jaeger <aj@suse.de>
16433
16434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16435 bits/mman-linux.h.
16436
adbb8027
SP
164372013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16438
ce544b5b
SP
16439 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16440 Include mpa.h and declare __MPEXP.
16441 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16443 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16444 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16445 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16446 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16447 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16448
4cc149fd
SP
16449 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16450 (__slowpow): Use long double EXPL and LOGL functions to
16451 compute POW.
16452 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16453 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16454 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16455 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16456 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16457 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16458
e6ebd4a7
SP
16459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16460 intermediate variable to calculate exponent.
16461 (__sqr): Likewise.
16462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16463 Likewise.
16464 (__sqr): Likewise.
16465
82a9811d
SP
16466 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16467 [!NO__SQR]: Define __sqr.
16468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16469 and NO__SQR. Remove all code except __mul and __sqr. Include
16470 sysdeps/ieee754/dbl-64/mpa.c.
16471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16472
adbb8027
SP
16473 [BZ #12723]
16474 * posix/Makefile (tests): Add tst-pathconf.
16475 * posix/tst-pathconf.c: New test case.
16476 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16477 _PC_PIPE_BUF.
16478 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16479
39120df9
PF
164802013-03-06 Patsy Franklin <pfrankli@redhat.com>
16481
16482 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16483
67525cb8
AJ
164842013-03-06 Andreas Jaeger <aj@suse.de>
16485
664a9ce4
AJ
16486 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16487 definition via __MAP_ANONYMOUS.
16488
8e39047d
AJ
16489 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16490 it's not part of Linux headers.
16491
67525cb8
AJ
16492 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16493 (MAP_HUGE_MASK): Define.
16494
16495 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16496 Define.
16497 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16499 Define.
16500 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16501 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16502 Define.
16503 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16504 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16505 Define.
16506 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16507
16508 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16509 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16510 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16511 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16512 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16513 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16514
16515 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16516 Handle f2fs.
16517
16518 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16519 Handle f2fs and efivarfs.
16520
16521 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16522 f2fs.
16523
16524 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16525 (EFIVARFS_MAGIC): Add.
16526 (F2FS_LINK_MAX): Add.
16527
e1b42695
PP
165282013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16529
16530 * stdio-common/vfprintf.c: Replace __builtin_expect with
16531 __glibc_unlikely.
16532
2d67d91a
JM
165332013-03-06 Joseph Myers <joseph@codesourcery.com>
16534
16535 [BZ #13550]
16536 * sysdeps/generic/bp-sym.h: Remove file.
16537 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16538 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16539 <bp-sym.h> and <bp-asm.h>.
16540 (__longjmp): Don't use BP_SYM.
16541 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16542 and <bp-asm.h>.
16543 (memcpy): Don't use BP_SYM.
16544 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16545 <bp-sym.h> and <bp-asm.h>.
16546 (memcpy): Don't use BP_SYM.
16547 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16548 <bp-asm.h>.
16549 (memcpy): Don't use BP_SYM.
16550 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16551 <bp-asm.h>.
16552 (memset): Don't use BP_SYM.
16553 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16554 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16555 (__bzero): Don't use BP_SYM.
16556 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16557 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16558 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16559 <bp-sym.h> and <bp-asm.h>.
16560 (memcmp): Don't use BP_SYM. Remove comment about bounded
16561 pointers.
16562 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16563 <bp-sym.h> and <bp-asm.h>.
16564 (memcpy): Don't use BP_SYM.
16565 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16566 <bp-sym.h> and <bp-asm.h>.
16567 (memset): Don't use BP_SYM.
16568 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16569 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16570 (__bzero): Don't use BP_SYM.
16571 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16572 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16573 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16574 <bp-sym.h> and <bp-asm.h>.
16575 (strncmp): Don't use BP_SYM. Remove comment about bounded
16576 pointers.
16577 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16578 <bp-sym.h> and <bp-asm.h>.
16579 (memcpy): Don't use BP_SYM.
16580 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16581 <bp-sym.h> and <bp-asm.h>.
16582 (memset): Don't use BP_SYM.
16583 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16584 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16585 (__bzero): Don't use BP_SYM.
16586 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16587 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16589 <bp-sym.h> and <bp-asm.h>.
16590 (__memchr): Don't use BP_SYM.
16591 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16592 <bp-sym.h> and <bp-asm.h>.
16593 (memcmp): Don't use BP_SYM. Remove comment about bounded
16594 pointers.
16595 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16596 <bp-sym.h> and <bp-asm.h>.
16597 (memcpy): Don't use BP_SYM.
16598 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16599 <bp-sym.h> and <bp-asm.h>.
16600 (__mempcpy): Don't use BP_SYM.
16601 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16602 <bp-sym.h> and <bp-asm.h>.
16603 (__memrchr): Don't use BP_SYM.
16604 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16605 <bp-sym.h> and <bp-asm.h>.
16606 (memset): Don't use BP_SYM.
16607 (__bzero): Likewise.
16608 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16609 <bp-sym.h> and <bp-asm.h>.
16610 (__rawmemchr): Don't use BP_SYM.
16611 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16612 <bp-sym.h> and <bp-asm.h>.
16613 (__STRCMP): Don't use BP_SYM.
16614 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16615 <bp-sym.h> and <bp-asm.h>.
16616 (strchr): Don't use BP_SYM.
16617 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16618 <bp-sym.h> and <bp-asm.h>.
16619 (__strchrnul): Don't use BP_SYM.
16620 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16621 <bp-sym.h> and <bp-asm.h>.
16622 (strlen): Don't use BP_SYM.
16623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16624 <bp-sym.h> and <bp-asm.h>.
16625 (strncmp): Don't use BP_SYM. Remove comment about bounded
16626 pointers.
16627 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16628 <bp-sym.h> and <bp-asm.h>.
16629 (__strnlen): Don't use BP_SYM.
16630 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16631 <bp-sym.h> and <bp-asm.h>.
16632 (__GI__setjmp): Don't use BP_SYM.
16633 (_setjmp): Likewise.
16634 (__sigsetjmp): Likewise.
16635 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16636 (L(start_addresses)): Don't use BP_SYM.
16637 (_start): Likewise.
16638 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16639 <bp-asm.h>.
16640 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16641 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16642 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16643 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16644 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16645 <bp-asm.h>.
16646 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16647 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16648 about bounded pointers.
16649 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16650 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16651 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16652 <bp-asm.h>.
16653 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16654 about bounded pointers. Remove GKM FIXME comments.
16655 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16656 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16657 <bp-asm.h>.
16658 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16659 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16660 Remove GKM FIXME comments.
16661 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16662 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16663 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16664 <bp-asm.h>.
16665 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16666 about bounded pointers. Remove GKM FIXME comment.
16667 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16668 and <bp-asm.h>.
16669 (strncmp): Don't use BP_SYM. Remove comment about bounded
16670 pointers.
16671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16672 <bp-sym.h> and <bp-asm.h>.
16673 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16675 <bp-sym.h> and <bp-asm.h>.
16676 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16677 comment.
16678
cdcf361f
PP
166792013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16680
16681 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16682 call free(NULL).
16683
3c4a2b15
DM
166842013-03-05 David S. Miller <davem@davemloft.net>
16685
16686 * po/es.po: Update from translation team.
16687
cdcf361f 166882013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16689
16690 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16691 <bits/mman-linux.h>.
16692 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16693 is fine.
16694 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16695 <bits/mman-linux.h> to end of file.
16696 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16697 is fine.
16698 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16699 <bits/mman-linux.h> to end of file.
16700 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16701 is fine.
16702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16703 <bits/mman-linux.h> to end of file.
16704
16705 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16706 (MCL_CURRENT, MCL_FUTURE): Define here.
16707
5f67c04f
AK
167082013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16709
8a4473cc 16710 [BZ #15232]
5f67c04f
AK
16711 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16712 attribute_hidden.
16713 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16714
c3e94a95
AK
167152013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16716
16717 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16718 fourth parameter needed for rt_sigprocmask syscall.
16719 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16720 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16721 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16722 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16723 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16724 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16725
cfb6382a
JM
167262013-03-04 Joseph Myers <joseph@codesourcery.com>
16727
16728 [BZ #13550]
16729 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16730 comment about bounded pointers.
16731 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16732 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16733
539d8e01
AJ
167342013-03-04 Andreas Jaeger <aj@suse.de>
16735
16736 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16737 common definitions.
16738
16739 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16740 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16741 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16742 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16744 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16745
2e167a70 167462013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16747
16748 [BZ #15055]
16749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16750 __ieee754_sqrl instead of __sqrl.
16751
68508633
JM
167522013-03-01 Joseph Myers <joseph@codesourcery.com>
16753
16754 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16755 * sysdeps/powerpc/fpu_control.h: ... here.
16756 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16757 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16758 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16759 * sysdeps/powerpc/bits/mathinline.h: ... here.
16760
7775448e
RM
167612013-03-01 Roland McGrath <roland@hack.frob.com>
16762
16763 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16764 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16765 to just [NEED_DL_SYSINFO_DSO].
16766 * elf/dl-support.c: Likewise.
16767 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16768 * elf/rtld.c (dl_main): Likewise.
16769 * elf/setup-vdso.h (setup_vdso): Likewise.
16770 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16771 * sysdeps/unix/sysv/linux/dl-sysdep.c
16772 (_dl_discover_osversion): Likewise.
16773
4e9b5995
CD
167742013-03-01 Carlos O'Donell <carlos@redhat.com>
16775
16776 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16777 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16778
e23872c8
SP
167792013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16780
e5c74c63
SP
16781 * NEWS: Mention libm performance improvements and non-x86 PI
16782 futex support.
16783
e23872c8
SP
16784 * csu/libc-start.c (__pthread_initialize_minimal): Change
16785 function arguments.
16786 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16787
b5510883
JM
167882013-02-28 Joseph Myers <joseph@codesourcery.com>
16789
16790 [BZ #13550]
16791 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16792 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16793 <bp-sym.h> and <bp-asm.h>.
16794 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16795 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16796 and <bp-asm.h>.
16797 (memcpy): Don't use BP_SYM.
16798 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16799 <bp-asm.h>.
16800 (__mpn_add_n): Don't use BP_SYM.
16801 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16802 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16803 and <bp-asm.h>.
16804 (__mpn_addmul_1): Don't use BP_SYM.
16805 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16806 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16807 <bp-sym.h>.
16808 (_setjmp): Don't use BP_SYM.
16809 (__novmx_setjmp): Likewise.
16810 (__GI__setjmp): Likewise.
16811 (__vmx_setjmp): Likewise.
16812 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16813 <bp-sym.h>.
16814 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16815 (__bzero): Don't use BP_SYM.
16816 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16817 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16818 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16819 <bp-sym.h> and <bp-asm.h>.
16820 (memcpy): Don't use BP_SYM.
16821 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16822 <bp-sym.h> and <bp-asm.h>.
16823 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16824 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16825 <bp-sym.h> and <bp-asm.h>.
16826 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16827 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16828 <bp-asm.h>.
16829 (__mpn_lshift): Don't use BP_SYM.
16830 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16831 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16832 <bp-asm.h>.
16833 (memset): Don't use BP_SYM.
16834 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16835 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16836 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16837 <bp-asm.h>.
16838 (__mpn_mul_1): Don't use BP_SYM.
16839 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16840 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16841 <bp-sym.h> and <bp-asm.h>.
16842 (memcmp): Don't use BP_SYM.
16843 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16844 <bp-sym.h> and <bp-asm.h>.
16845 (memcpy): Don't use BP_SYM.
16846 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16847 <bp-sym.h> and <bp-asm.h>.
16848 (memset): Don't use BP_SYM.
16849 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16850 <bp-sym.h> and <bp-asm.h>.
16851 (strncmp): Don't use BP_SYM.
16852 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16853 <bp-sym.h> and <bp-asm.h>.
16854 (memcpy): Don't use BP_SYM.
16855 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16856 <bp-sym.h> and <bp-asm.h>.
16857 (memset): Don't use BP_SYM.
16858 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16859 <bp-sym.h> and <bp-asm.h>.
16860 (__memchr): Don't use BP_SYM.
16861 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16862 <bp-sym.h> and <bp-asm.h>.
16863 (memcmp): Don't use BP_SYM.
16864 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16865 <bp-sym.h> and <bp-asm.h>.
16866 (memcpy): Don't use BP_SYM.
16867 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16868 <bp-sym.h> and <bp-asm.h>.
16869 (__mempcpy): Don't use BP_SYM.
16870 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16871 <bp-sym.h> and <bp-asm.h>.
16872 (__memrchr): Don't use BP_SYM.
16873 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16874 <bp-sym.h> and <bp-asm.h>.
16875 (memset): Don't use BP_SYM.
16876 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16877 <bp-sym.h> and <bp-asm.h>.
16878 (__rawmemchr): Don't use BP_SYM.
16879 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16880 <bp-sym.h> and <bp-asm.h>.
16881 (__STRCMP): Don't use BP_SYM.
16882 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16883 <bp-sym.h> and <bp-asm.h>.
16884 (strchr): Don't use BP_SYM.
16885 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16886 <bp-sym.h> and <bp-asm.h>.
16887 (__strchrnul): Don't use BP_SYM.
16888 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16889 <bp-sym.h> and <bp-asm.h>.
16890 (strlen): Don't use BP_SYM.
16891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16892 <bp-sym.h> and <bp-asm.h>.
16893 (strncmp): Don't use BP_SYM.
16894 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16895 <bp-sym.h> and <bp-asm.h>.
16896 (__strnlen): Don't use BP_SYM.
16897 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16898 <bp-asm.h>.
16899 (__mpn_rshift): Don't use BP_SYM.
16900 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16901 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16902 <bp-sym.h> and <bp-asm.h>.
16903 (__sigsetjmp): Don't use BP_SYM.
16904 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16905 (L(start_addresses)): Don't use BP_SYM.
16906 (_start): Likewise.
16907 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16908 <bp-asm.h>.
16909 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16910 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16911 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16912 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16913 <bp-asm.h>.
16914 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16915 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16916 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16917 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16918 <bp-asm.h>.
16919 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16920 comments.
16921 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16922 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16923 <bp-asm.h>.
16924 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16925 FIXME comments.
16926 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16927 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16928 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16929 <bp-asm.h>.
16930 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16931 comment.
16932 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16933 and <bp-asm.h>.
16934 (strncmp): Don't use BP_SYM,
16935 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16936 <bp-asm.h>.
16937 (__mpn_sub_n): Don't use BP_SYM.
16938 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16939 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16940 and <bp-asm.h>.
16941 (__mpn_submul_1): Don't use BP_SYM.
16942 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16944 <bp-sym.h> and <bp-asm.h>.
16945 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16947 <bp-sym.h> and <bp-asm.h>.
16948 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16949 comment.
16950
8d19fe64
SP
169512013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16952
16953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16954 Use ZK to minimize writes to Z.
16955 (sub_magnitudes): Simplify code a bit.
16956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16957 Use ZK to minimize writes to Z.
16958 (sub_magnitudes): Simplify code a bit.
16959
85bd816a
RM
169602013-02-27 Roland McGrath <roland@hack.frob.com>
16961
16962 * csu/gmon-start.c: Add special exception to license text.
16963
b5977bf2
RH
169642013-02-27 Richard Henderson <rth@redhat.com>
16965
16966 * scripts/config.guess: Update from config.git.
16967 * scripts/config.sub: Likewise.
16968
11d6e2f2
SP
169692013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16970
09c14ed2
SP
16971 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16972
a688864e
SP
16973 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16974
6295157a
SP
16975 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16976
b8de2202
SP
16977 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16978
11d6e2f2
SP
16979 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16980
7e80ddb8
RM
169812013-02-26 Roland McGrath <roland@hack.frob.com>
16982
16983 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16984 [$(build-shared = yes].
7e80ddb8 16985
7da6d9ed
SP
169862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16987
45f05884
SP
16988 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16989 (__mul): Reduce iterations for calculating mantissa.
16990
2236d359
SP
16991 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16992 MPTWO.
16993 (__mpranred): Likewise.
16994
7da6d9ed
SP
16995 [BZ #15160]
16996 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16997 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16998
b7688c42
PE
169992013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17000
17001 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17002 Define __attribute__.
17003
53a5c423
SP
170042013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17005
17006 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17007 unused.
17008 * posix/regex_internal.h (__attribute): Remove.
17009 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17010 (re_string_context_at): Likewise.
17011 (bitset_not): Use __attribute__ and mark function as possibly
17012 unused.
17013 (bitset_merge): Likewise.
17014 (bitset_mask): Likewise.
17015 (re_string_char_size_at): Likewise.
17016 (re_string_wchar_at): Likewise.
17017 (re_string_elem_size_at): Likewise.
17018
60f5a8b5
SP
170192013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17020
2a983a2e
SP
17021 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17022 code.
17023 (cc32): Likewise.
17024
e69804d1
SP
17025 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17026 (__acr): Likewise.
17027 (__cpy): Likewise.
17028 (norm): Likewise.
17029 (denorm): Likewise.
17030 (__dbl_mp): Likewise.
17031 (add_magnitudes): Likewise.
17032 (sub_magnitudes): Likewise.
17033 (__mul): Likewise.
17034 (__inv): Likewise.
17035
2f22a1e8
SP
17036 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17037 style.
17038
8930ddc7
SP
17039 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17040 style.
17041
dc60cb11
SP
17042 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17043 code.
17044
60f5a8b5
SP
17045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17046 up changes with default code.
17047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17048 Likewise.
17049
b4d1fd33
AM
170502013-02-24 Allan McRae <allan@archlinux.org>
17051
faf6f8bc
AM
17052 * manual/socket.texi (The Internet Namespace): Order menu items
17053 to match that in the file.
17054
b4d1fd33
AM
17055 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17056 node listing of the info page menu.
17057
2366713d
JM
170582013-02-21 Joseph Myers <joseph@codesourcery.com>
17059
17060 [BZ #13550]
17061 * sysdeps/i386/bp-asm.h: Remove file.
17062 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17063 (PARMS): Do not use macros from bp-asm.h.
17064 (S1): Likewise.
17065 (S2): Likewise.
17066 (SIZE): Likewise.
17067 (__mpn_add_n): Do not use BP_SYM
17068 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17069 "bp-asm.h".
17070 (PARMS): Do not use macros from bp-asm.h.
17071 (S1): Likewise.
17072 (SIZE): Likewise.
17073 (__mpn_addmul_1): Do not use BP_SYM
17074 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17075 "bp-asm.h".
17076 (PARMS): Do not use macros from bp-asm.h.
17077 (SIGMSK): Likewise.
17078 (_setjmp): Likewise. Do not use BP_SYM.
17079 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17080 "bp-asm.h".
17081 (PARMS): Do not use macros from bp-asm.h.
17082 (SIGMSK): Likewise.
17083 (setjmp): Likewise. Do not use BP_SYM.
17084 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17085 "bp-asm.h".
17086 (PARMS): Do not use macros from bp-asm.h.
17087 (__frexp): Do not use BP_SYM.
17088 (frexp): Likewise.
17089 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17090 "bp-asm.h".
17091 (PARMS): Do not use macros from bp-asm.h.
17092 (__frexpf): Do not use BP_SYM.
17093 (frexpf): Likewise.
17094 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17095 "bp-asm.h".
17096 (PARMS): Do not use macros from bp-asm.h.
17097 (__frexpl): Do not use BP_SYM.
17098 (frexpl): Likewise.
17099 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17100 "bp-asm.h".
17101 (PARMS): Do not use macros from bp-asm.h.
17102 (__remquo): Do not use BP_SYM.
17103 (remquo): Likewise.
17104 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17105 "bp-asm.h".
17106 (PARMS): Do not use macros from bp-asm.h.
17107 (__remquof): Do not use BP_SYM.
17108 (remquof): Likewise.
17109 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17110 "bp-asm.h".
17111 (PARMS): Do not use macros from bp-asm.h.
17112 (__remquol): Do not use BP_SYM.
17113 (remquol): Likewise.
17114 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17115 "bp-asm.h".
17116 (PARMS): Do not use macros from bp-asm.h.
17117 (DEST): Likewise.
17118 (SRC): Likewise.
17119 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17120 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17121 "bp-asm.h".
17122 (PARMS): Do not use macros from bp-asm.h.
17123 (strlen): Do not use BP_SYM.
17124 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17125 "bp-asm.h".
17126 (PARMS): Do not use macros from bp-asm.h.
17127 (S1): Likewise.
17128 (S2): Likewise.
17129 (SIZE): Likewise.
17130 (__mpn_add_n): Do not use BP_SYM.
17131 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17132 "bp-asm.h".
17133 (PARMS): Do not use macros from bp-asm.h.
17134 (S1): Likewise.
17135 (SIZE): Likewise.
17136 (__mpn_addmul_1): Do not use BP_SYM.
17137 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17138 weak_alias.
17139 (bzero): Likewise.
17140 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17141 "bp-asm.h".
17142 (PARMS): Do not use macros from bp-asm.h.
17143 (S): Likewise.
17144 (SIZE): Likewise.
17145 (__mpn_lshift): Do not use BP_SYM.
17146 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17147 "bp-asm.h".
17148 (PARMS): Do not use macros from bp-asm.h.
17149 (DEST): Likewise.
17150 (SRC): Likewise.
17151 (LEN): Likewise.
17152 (memcpy): Likewise. Do not use BP_SYM.
17153 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17154 libc_hidden_def and weak_alias.
17155 (mempcpy): Do not use BP_SYM in weak_alias.
17156 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17157 "bp-asm.h".
17158 (PARMS): Do not use macros from bp-asm.h.
17159 (DEST): Likewise.
17160 (LEN): Likewise.
17161 [!BZERO_P] (CHR): Likewise.
17162 (memset): Likewise. Do not use BP_SYM.
17163 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17164 "bp-asm.h".
17165 (PARMS): Do not use macros from bp-asm.h.
17166 (S1): Likewise.
17167 (SIZE): Likewise.
17168 (__mpn_mul_1): Do not use BP_SYM.
17169 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17170 "bp-asm.h".
17171 (PARMS): Do not use macros from bp-asm.h.
17172 (S): Likewise.
17173 (SIZE): Likewise.
17174 (__mpn_rshift): Do not use BP_SYM.
17175 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17176 "bp-asm.h".
17177 (PARMS): Do not use macros from bp-asm.h.
17178 (STR): Likewise.
17179 (CHR): Likewise.
17180 (strchr): Likewise. Do not use BP_SYM.
17181 (index): Do not use BP_SYM in weak_alias.
17182 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17183 "bp-asm.h".
17184 (PARMS): Do not use macros from bp-asm.h.
17185 (DEST): Likewise.
17186 (SRC): Likewise.
17187 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17188 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17189 "bp-asm.h".
17190 (PARMS): Do not use macros from bp-asm.h.
17191 (strlen): Do not use BP_SYM.
17192 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17193 "bp-asm.h".
17194 (PARMS): Do not use macros from bp-asm.h.
17195 (S1): Likewise.
17196 (S2): Likewise.
17197 (SIZE): Likewise.
17198 (__mpn_sub_n): Do not use BP_SYM.
17199 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17200 "bp-asm.h".
17201 (PARMS): Do not use macros from bp-asm.h.
17202 (S1): Likewise.
17203 (SIZE): Likewise.
17204 (__mpn_submul_1): Do not use BP_SYM.
17205 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17206 "bp-asm.h".
17207 (PARMS): Do not use macros from bp-asm.h.
17208 (S1): Likewise.
17209 (S2): Likewise.
17210 (SIZE): Likewise.
17211 (__mpn_add_n): Do not use BP_SYM.
17212 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17213 weak_alias.
17214 (bzero): Likewise.
17215 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17216 "bp-asm.h".
17217 (PARMS): Do not use macros from bp-asm.h.
17218 (BLK2): Likewise.
17219 (LEN): Likewise.
17220 (memcmp): Do not use BP_SYM.
17221 (bcmp): Do not use BP_SYM in weak_alias.
17222 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17223 "bp-asm.h".
17224 (PARMS): Do not use macros from bp-asm.h.
17225 (DEST): Likewise.
17226 (SRC): Likewise.
17227 (LEN): Likewise.
17228 (memcpy): Likewise. Do not use BP_SYM.
17229 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17230 "bp-asm.h".
17231 (PARMS): Do not use macros from bp-asm.h.
17232 (DEST): Likewise.
17233 (SRC): Likewise.
17234 (LEN): Likewise.
17235 (memmove): Likewise. Do not use BP_SYM.
17236 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17237 "bp-asm.h".
17238 (PARMS): Do not use macros from bp-asm.h.
17239 (DEST): Likewise.
17240 (SRC): Likewise.
17241 (LEN): Likewise.
17242 (__mempcpy): Likewise. Do not use BP_SYM.
17243 (mempcpy): Do not use BP_SYM in weak_alias.
17244 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17245 "bp-asm.h".
17246 (PARMS): Do not use macros from bp-asm.h.
17247 (DEST): Likewise.
17248 (LEN): Likewise.
17249 [!BZERO_P] (CHR): Likewise.
17250 (memset): Likewise. Do not use BP_SYM.
17251 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17252 "bp-asm.h".
17253 (PARMS): Do not use macros from bp-asm.h.
17254 (STR2): Likewise.
17255 (strcmp): Do not use BP_SYM.
17256 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17257 "bp-asm.h".
17258 (PARMS): Do not use macros from bp-asm.h.
17259 (STR): Likewise.
17260 (DELIM): Likewise.
17261 [USE_AS_STRTOK_R] (SAVE): Likewise.
17262 (FUNCTION): Likewise. Do not use BP_SYM.
17263 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17264 aliases.
17265 (strtok_r): Likewise.
17266 (__GI___strtok_r): Likewise.
17267 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17268 (PARMS): Do not use macros from bp-asm.h.
17269 (S): Likewise.
17270 (SIZE): Likewise.
17271 (__mpn_lshift): Do not use BP_SYM.
17272 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17273 (PARMS): Do not use macros from bp-asm.h.
17274 (STR): Likewise.
17275 (CHR): Likewise.
17276 (__memchr): Do not use BP_SYM.
17277 (memchr): Do not use BP_SYM in weak_alias.
17278 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17279 (PARMS): Do not use macros from bp-asm.h.
17280 (BLK2): Likewise.
17281 (LEN): Likewise.
17282 (memcmp): Do not use BP_SYM.
17283 (bcmp): Do not use BP_SYM in weak_alias.
17284 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17285 (PARMS): Do not use macros from bp-asm.h.
17286 (S1): Likewise.
17287 (SIZE): Likewise.
17288 (__mpn_mul_1): Do not use BP_SYM.
17289 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17290 "bp-asm.h".
17291 (PARMS): Do not use macros from bp-asm.h.
17292 (STR): Likewise.
17293 (CHR): Likewise.
17294 (__rawmemchr): Do not use BP_SYM.
17295 (rawmemchr): Do not use BP_SYM in weak_alias.
17296 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17297 (PARMS): Do not use macros from bp-asm.h.
17298 (S): Likewise.
17299 (SIZE): Likewise.
17300 (__mpn_rshift): Do not use BP_SYM.
17301 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17302 (PARMS): Do not use macros from bp-asm.h.
17303 (SIGMSK): Likewise.
17304 (__sigsetjmp): Likewise. Do not use BP_SYM.
17305 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17306 (_start): Do not use BP_SYM.
17307 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17308 (PARMS): Do not use macros from bp-asm.h.
17309 (DEST): Likewise.
17310 (SRC): Likewise.
17311 (__stpcpy): Likewise. Do not use BP_SYM.
17312 (stpcpy): Do not use BP_SYM in weak_alias.
17313 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17314 "bp-asm.h".
17315 (PARMS): Do not use macros from bp-asm.h.
17316 (DEST): Likewise.
17317 (SRC): Likewise.
17318 (LEN): Likewise.
17319 (__stpncpy): Likewise. Do not use BP_SYM.
17320 (stpncpy): Do not use BP_SYM in weak_alias.
17321 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17322 (PARMS): Do not use macros from bp-asm.h.
17323 (STR): Likewise.
17324 (CHR): Likewise.
17325 (strchr): Likewise. Do not use BP_SYM.
17326 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17327 "bp-asm.h".
17328 (PARMS): Do not use macros from bp-asm.h.
17329 (STR): Likewise.
17330 (CHR): Likewise.
17331 (__strchrnul): Likewise. Do not use BP_SYM.
17332 (strchrnul): Do not use BP_SYM in weak_alias.
17333 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17334 "bp-asm.h".
17335 (PARMS): Do not use macros from bp-asm.h.
17336 (STOP): Likewise.
17337 (strcspn): Do not use BP_SYM.
17338 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17339 "bp-asm.h".
17340 (PARMS): Do not use macros from bp-asm.h.
17341 (STR): Likewise.
17342 (STOP): Likewise.
17343 (strpbrk): Likewise. Do not use BP_SYM.
17344 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17345 "bp-asm.h".
17346 (PARMS): Do not use macros from bp-asm.h.
17347 (STR): Likewise.
17348 (CHR): Likewise.
17349 (strrchr): Likewise. Do not use BP_SYM.
17350 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17351 (PARMS): Do not use macros from bp-asm.h.
17352 (SKIP): Likewise.
17353 (strspn): Do not use BP_SYM.
17354 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17355 (PARMS): Do not use macros from bp-asm.h.
17356 (STR): Likewise.
17357 (DELIM): Likewise.
17358 (SAVE): Likewise.
17359 (FUNCTION): Likewise. Do not use BP_SYM.
17360 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17361 aliases.
17362 (strtok_r): Likewise.
17363 (__GI___strtok_r): Likewise.
17364 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17365 (PARMS): Do not use macros from bp-asm.h.
17366 (S1): Likewise.
17367 (S2): Likewise.
17368 (SIZE): Likewise.
17369 (__mpn_sub_n): Do not use BP_SYM.
17370 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17371 "bp-asm.h".
17372 (PARMS): Do not use macros from bp-asm.h.
17373 (S1): Likewise.
17374 (SIZE): Likewise.
17375 (__mpn_submul_1): Do not use BP_SYM.
17376 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17377 <bp-sym.h>.
17378 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17379 and <bp-asm.h>.
17380 (PARMS): Do not use macros from bp-asm.h.
17381 (FLAGS): Likewise.
17382 (PTID): Likewise.
17383 (TLS): Likewise.
17384 (CTID): Likewise.
17385 (__clone): Do not use BP_SYM.
17386 (clone): Do not use BP_SYM in weak_alias.
17387 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17388 and <bp-asm.h>.
17389 (PARMS): Do not use macros from bp-asm.h.
17390 (LEN): Likewise.
17391 (__mmap64): Do not use BP_SYM.
17392 (mmap64): Do not use BP_SYM in weak_alias.
17393 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17394 <bp-sym.h> and <bp-asm.h>.
17395 (PARMS): Do not use macros from bp-asm.h.
17396 (__posix_fadvise64_l64): Do not use BP_SYM.
17397 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17398 (PARMS): Do not use macros from bp-asm.h.
17399 (NSOPS): Likewise.
17400 (semtimedop): Do not use BP_SYM.
17401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17402 and <bp-asm.h>.
17403
582a3cff
AM
174042013-02-21 Allan McRae <allan@archlinux.org>
17405
17406 * manual/message.texi (Charset conversion in gettext):
17407 Move @end statement to beginning of line.
17408
bab8a695
SP
174092013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17410
80945231
SP
17411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17412 static.
17413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17414 Likewise.
17415
bab8a695
SP
17416 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17417 (denorm): Likewise.
17418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17420
e21d7aa7
AK
174212013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17422
17423 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17424 tail-call to the resolved function if pltexit isn't needed.
17425
4c7a4263
SP
174262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17427
17428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17429 or Y being zero as being unlikely.
17430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17431 Likewise.
17432
41f49342
CD
174332013-02-20 Carlos O'Donell <carlos@redhat.com>
17434
17435 * manual/nss.texi (System Databases and Name Service Switch):
17436 Remove frobnicate @pxref.
17437
50022a93
TS
174382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17439
17440 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17441 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17442
08cbd996
PM
174432013-02-20 Petr Machata <pmachata@redhat.com>
17444
17445 * elf/elf.h (R_ARM_TARGET1): New macro.
17446 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17447 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17448 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17449 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17450 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17451 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17452 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17453 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17454 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17455 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17456 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17457 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17458 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17459 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17460 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17461 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17462 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17463 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17464 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17465 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17466 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17467 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17468 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17469 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17470 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17471 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17472 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17473 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17474 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17475 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17476 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17477 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17478 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17479 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17480 (R_ARM_THM_GOT_BREL12): Likewise.
17481 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17482 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17483 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17484 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17485 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17486 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17487 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17488 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17489 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17490
c7b275d6
TS
174912013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17492
17493 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17494 __attribute_used__ to __attribute__ ((unused)).
17495
20cd7fb3
SP
174962013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17497
17498 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17499 powerpc mpa.c.
17500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17501 comment formatting.
17502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17503
92945b52
JM
175042013-02-19 Joseph Myers <joseph@codesourcery.com>
17505
17506 [BZ #13550]
17507 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17508 Remove macro.
17509 (ENTER): Remove both macro definitions.
17510 (LEAVE): Likewise.
17511 (CHECK_BOUNDS_LOW): Likewise.
17512 (CHECK_BOUNDS_HIGH): Likewise.
17513 (CHECK_BOUNDS_BOTH): Likewise.
17514 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17515 (RETURN_BOUNDED_POINTER): Likewise.
17516 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17517 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17518 (POP_ERRNO_LOCATION_RETURN): Likewise.
17519 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17520 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17521 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17522 macros.
17523 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17524 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17525 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17526 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17527 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17528 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17529 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17530 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17531 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17532 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17533 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17534 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17535 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17536 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17537 removed macros.
17538 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17539 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17540 macros.
17541 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17542 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17543 * sysdeps/i386/i586/memset.S (memset): Likewise.
17544 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17545 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17546 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17547 macros.
17548 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17549 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17550 Change uses of L(2) to L(out).
17551 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17552 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17553 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17554 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17555 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17556 removed macros.
17557 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17558 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17559 macros.
17560 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17561 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17562 (RETURN): Do not use macro LEAVE.
17563 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17564 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17565 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17566 * sysdeps/i386/i686/memset.S (memset): Likewise.
17567 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17568 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17569 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17570 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17571 Likewise.
17572 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17573 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17574 L(1_2) and L(1_3) into L(1).
17575 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17576 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17577 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17578 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17579 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17580 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17581 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17582 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17583 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17584 macros.
17585 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17586 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17587 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17588 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17589 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17590 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17591 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17592 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17593 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17594 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17595 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17596 * sysdeps/i386/strspn.S (strspn): Likewise.
17597 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17598 conditional code.
17599 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17600 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17601 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17602 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17603 L(1_3) into L(1_1).
17604 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17605 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17606 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17607 macros.
17608 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17609
2389741a
JJ
176102013-02-19 Jakub Jelinek <jakub@redhat.com>
17611
17612 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17613 macro.
17614
2016b3cd
SP
176152013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17616
e4f22324
SP
17617 * math/atest-exp.c (exp_mpn): Remove ROUND.
17618 * math/atest-exp2.c (exp_mpn): Likewise.
17619 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17620
2016b3cd
SP
17621 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17622 * stdlib/tst-tls-atexit-lib.c: Likewise.
17623 * stdlib/tst-tls-atexit.c: Likewise.
17624
4be9b544
MF
176252013-02-18 Mike Frysinger <vapier@gentoo.org>
17626
17627 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17628 and __attribute_alloc_size__.
17629
2f62b9ee
MF
176302013-02-18 Mike Frysinger <vapier@gentoo.org>
17631
17632 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17633 __attribute_alloc_size__.
17634 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17635 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17636
6ff444c4
MF
176372013-02-18 Mike Frysinger <vapier@gentoo.org>
17638
17639 * include/programs/xmalloc.h: New file.
17640 * catgets/gencat.c: Include it.
17641 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17642 * elf/pldd.c: Likewise.
17643 * iconv/iconv_charmap.c: Likewise.
17644 * iconv/iconvconfig.c: Likewise.
17645 * iconv/strtab.c: Likewise.
17646 * locale/programs/locale.c: Likewise.
17647 * locale/programs/localedef.h: Likewise.
17648 * locale/programs/simple-hash.c: Likewise.
17649 * nscd/nscd.h: Likewise.
17650 * nss/makedb.c: Likewise.
17651 * sysdeps/generic/ldconfig.h: Likewise.
17652
be179c8a
SP
176532013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17654
ba384f6e
SP
17655 * Versions.def: Add GLIBC_2.18.
17656 * include/link.h (struct link_map): New member l_tls_dtor_count.
17657 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17658 (__call_tls_dtors): Likewise.
17659 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17660 __cxa_thread_atexit_impl.
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17662 Likewise.
17663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17664 Likewise.
17665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17666 Likewise.
17667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17668 Likewise.
17669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17671 Likewise.
17672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17673 Likewise.
17674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17676 Likewise.
17677 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17678 (tests): Add test case tst-tls-atexit.
17679 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17680 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17681 (GLIBC_PRIVATE): Add __call_tls_dtors.
17682 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17683 for libstdc++.
17684 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17685 * stdlib/tst-tls-atexit.c: New test case.
17686 * stdlib/tst-tls-atexit-lib.c: New test case.
17687
ffaa74cf 17688 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17689
be179c8a
SP
17690 * elf/Versions (ld): Add _dl_find_dso_for_object.
17691 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17692 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17693 (dl_open_worker): Use _dl_find_dso_for_object.
17694 * elf/dl-sym.c (do_sym): Likewise.
17695 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17696
f78b5caa
AK
176972013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17698
17699 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17700 Syntactic changes only.
17701 (_dl_runtime_profile): Do a tail-call to the resolved function.
17702
29691210
JM
177032013-02-17 Joseph Myers <joseph@codesourcery.com>
17704
17705 [BZ #13550]
17706 * sysdeps/x86_64/bp-asm.h: Remove file.
17707 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17708 <bp-sym.h> and <bp-asm.h>.
17709 (__clone): Do not use BP_SYM.
17710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17711 <bp-sym.h> and <bp-asm.h>.
17712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17713 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17714 "bp-asm.h".
17715 (_setjmp): Do not use BP_SYM.
17716 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17717 "bp-asm.h".
17718 (setjmp): Do not use BP_SYM.
17719 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17720 libc_hidden_def.
17721 (mempcpy): Do not use BP_SYM in weak_alias.
17722 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17723 "bp-asm.h".
17724 (strchr): Do not use BP_SYM.
17725 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17726 "bp-asm.h".
17727 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17728 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17729 (_start): Do not use BP_SYM.
17730 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17731 "bp-asm.h".
17732 (strcat): Do not use BP_SYM.
17733 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17734 "bp-asm.h".
17735 (STRCMP): Do not use BP_SYM.
17736 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17737 "bp-asm.h".
17738 (STRCPY): Do not use BP_SYM.
17739 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17740 "bp-asm.h".
17741 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17742 "bp-asm.h".
17743 (FUNCTION): Do not use BP_SYM.
17744 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17745 weak_alias.
17746 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17747
f238fd19
AJ
177482013-02-17 Andreas Jaeger <aj@suse.de>
17749
17750 * time/Versions: Sort entries.
17751 * string/Versions: Likewise.
17752 * resolv/Versions: Likewise.
17753 * posix/Versions: Likewise.
17754 * iconv/Versions: Likewise.
17755 * elf/Versions: Likewise.
17756 * wcsmbs/Versions: Likewise.
17757
bd07f23c 177582013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17759
22af19f9
SP
17760 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17761 loop termination condition.
17762
4709fe76
SP
17763 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17764 variable to calculate EZ.
17765 (__sqr): Likewise.
2d0e0f29
SP
17766
17767 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17768 the lower precision input.
17769
daaa7713
JM
177702013-02-15 Joseph Myers <joseph@codesourcery.com>
17771
17772 [BZ #13550]
17773 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17774 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17775 (run-via-rtld-prefix): Do not handle %-bp tests.
17776 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17777 (all-object-suffixes): Remove .ob.
17778 (bppfx): Remove variable.
17779 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17780 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17781 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17782 [$(build-bounded) = yes] (libtype.ob): Likewise.
17783 * Makerules (elide-routines.ob): Remove variable.
17784 (do-tests-clean): Do not handle *-bp.out.
17785 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17786 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17787 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17788 (tests): Do not include $(tests-bp.out).
17789 (xtests): Do not include $(xtests-bp.out).
17790 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17791 [$(build-bounded) = yes] ($(addprefix
17792 $(objpfx),$(binaries-bounded))): Remove rule.
17793 ($(objpfx)%-bp.out): Remove rule.
17794 * config.make.in (build-bounded): Remove variable.
17795 * crypt/Makefile [$(build-bounded) = yes]
17796 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17797 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17798 append to variable.
17799 [$(build-bounded) = yes] (install-lib): Likewise.
17800 [$(build-bounded) = yes] (generated): Likewise.
17801 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17802 Remove rule.
17803 * intl/Makefile [$(build-bounded) = yes]
17804 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17805 * math/Makefile [$(build-bounded) = yes]
17806 ($(tests:%=$(objpfx)%-bp): Likewise.
17807 * misc/Makefile [$(build-bounded) = yes]
17808 ($(objpfx)tst-tsearch-bp): Likewise.
17809 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17810 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17811 Remove dependency.
17812 * string/Makefile (o-objects.ob): Remove variable.
17813 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17814 (CFLAGS-.ob): Remove variable.
17815 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17816 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17817 both definitions of variable.
17818 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17819 (ASFLAGS-.ob): Remove variable.
17820
e97ed6dd
JM
178212013-02-14 Joseph Myers <joseph@codesourcery.com>
17822
2bdd4ca6
JM
17823 [BZ #13550]
17824 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17825 Remove __BOUNDED_POINTERS__ from condition.
17826 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17827 * string/bits/string2.h [!__NO_STRING_INLINES &&
17828 !__BOUNDED_POINTERS__]: Likewise.
17829 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17830 Likewise.
17831 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17832 Remove conditional code.
17833 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17834 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17835 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17836 condition.
17837
e97ed6dd
JM
17838 [BZ #13550]
17839 * csu/libc-start.c: Do not include <bp-sym.h>.
17840 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17841 * elf/dl-open.c: Do not include <bp-sym.h>.
17842 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17843 * math/fegetenv.c: Do not include <bp-sym.h>.
17844 (fegetenv): Do not use BP_SYM in versioned symbols.
17845 * nptl/sysdeps/pthread/bits/libc-lockP.h
17846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17847 <bp-sym.h>.
17848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17849 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17851 (__pthread_mutex_destroy): Likewise.
17852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17853 (__pthread_mutex_lock): Likewise.
17854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17855 (__pthread_mutex_trylock): Likewise.
17856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17857 (__pthread_mutex_unlock): Likewise.
17858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17859 (__pthread_mutexattr_init): Likewise.
17860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17861 (__pthread_mutexattr_destroy): Likewise.
17862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17863 (__pthread_mutexattr_settype): Likewise.
17864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17865 (__pthread_rwlock_init): Likewise.
17866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17867 (__pthread_rwlock_destroy): Likewise.
17868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17869 (__pthread_rwlock_rdlock): Likewise.
17870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17871 (__pthread_rwlock_tryrdlock): Likewise.
17872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17873 (__pthread_rwlock_wrlock): Likewise.
17874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17875 (__pthread_rwlock_trywrlock): Likewise.
17876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17877 (__pthread_rwlock_unlock): Likewise.
17878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17879 (__pthread_key_create): Likewise.
17880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17881 (__pthread_setspecific): Likewise.
17882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17883 (__pthread_getspecific): Likewise.
17884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17885 Likewise.
17886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17887 (_pthread_cleanup_push_defer): Likewise.
17888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17889 (_pthread_cleanup_pop_restore): Likewise.
17890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17891 (pthread_setcancelstate): Likewise.
17892 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17893 <bp-sym.h>.
17894 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17895 (memchr): Do not use BP_SYM in weak_alias.
17896 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17897 (fegetenv): Do not use BP_SYM in versioned symbols.
17898 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17899 (fesetenv): Do not use BP_SYM in versioned symbols.
17900 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17901 (feupdateenv): Do not use BP_SYM in versioned symbols.
17902 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17903 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17904 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17905 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17906 (open64): Do not use BP_SYM in weak_alias.
17907 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17908 (fegetenv): Do not use BP_SYM in versioned symbols.
17909 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17910 (fesetenv): Do not use BP_SYM in versioned symbols.
17911 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17912 (feupdateenv): Do not use BP_SYM in versioned symbols.
17913 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17914 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17915 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17916 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17917 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17918 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17919 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17920 <bp-sym.h>.
17921 (__libc_start_main): Do not use BP_SYM.
17922
d6752ccd
SP
179232013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17924
cb57ce60
SP
17925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17926 redundant return line.
17927 (norm): Likewise.
17928 (denorm): Likewise.
17929 (dbl_mp): Likewise.
17930 (sub_magnitudes): Likewise.
17931 (__add): Likewise.
17932 (__sub): Likewise.
17933 (__mul): Likewise.
17934 (__inv): Likewise.
17935 (__dvd): Likewise.
17936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17937 (norm): Likewise.
17938 (denorm): Likewise.
17939 (dbl_mp): Likewise.
17940 (sub_magnitudes): Likewise.
17941 (__add): Likewise.
17942 (__sub): Likewise.
17943 (__mul): Likewise.
17944 (__inv): Likewise.
17945 (__dvd): Likewise.
17946
f414520d
SP
17947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17948 instead of __mul.
17949 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17950 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17951 (cc32): Likewise.
17952
d6752ccd
SP
17953 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17954 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17956 of __mul for squares.
17957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17958 function
17959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17960 Likewise.
17961 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17963
70d9946a
JM
179642013-02-13 Joseph Myers <joseph@codesourcery.com>
17965
17966 [BZ #13550]
17967 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17968 code.
17969 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17970 prototype or function definition. Rename ubp_* variables and
17971 parameters. Remove argv definitions conditional on
17972 [__BOUNDED_POINTERS__].
17973 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17974 * elf/dl-runtime.c (_dl_fixup): Likewise.
17975 * include/set-hooks.h (RUN_HOOK): Likewise.
17976 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17977 definition.
17978 * string/strcpy.c (strcpy): Do not use __unbounded.
17979 * sysdeps/generic/frame.h (struct layout): Likewise.
17980 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17981 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17982 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17983 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17984 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17985 (__backtrace): Likewise.
17986 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17987 use __ptrvalue.
17988 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17989 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17990 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17991 Likewise.
17992 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17993 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17994 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17995 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17996 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17997 Do not use __unbounded.
17998 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17999 Rename __unboundedrlimits parameter to rlimits in prototype.
18000 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18001 Do not use __unbounded.
18002 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18003 not use __ptrvalue.
18004 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18005 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18006 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18007 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18008 __ptrvalue or __unbounded.
18009 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18010 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18011 use __unbounded.
18012 (__new_msgctl): Do not use __ptrvalue.
18013 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18014 __unbounded.
18015 (__libc_msgrcv): Do not use __ptrvalue.
18016 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18017 startup_info): Do not use __unbounded.
18018 (__libc_start_main): Likewise. Rename ubp_* variables and
18019 parameters. Remove argv definitions conditional on
18020 [__BOUNDED_POINTERS__].
18021 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18022 __ptrvalue.
18023 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18024 use __unbounded.
18025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18026 or __ptrvalue.
18027 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18028 use __unbounded.
18029 (__new_shmctl): Do not use __ptrvalue.
18030 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18031 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18032 Likewise.
18033 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18034 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18035 (__libc_sigaction): Likewise.
18036 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18037 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18038 Likewise.
18039 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18040
cc7834d6
OB
180412013-02-13 Ondřej Bílka <neleai@seznam.cz>
18042
ffb1ec7b 18043 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18044
18045 * string/mempcpy.c: Implement by calling memcpy.
18046
bdf02814
SP
180472013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18048
c2af38aa
SP
18049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18050
4e92d59e
SP
18051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18052 evaluation.
18053
909279a5
SP
18054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18055 values in the mantissa.
18056
bdf02814
SP
18057 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18058 minimize writes to Z.
18059 (sub_magnitudes): Simplify code a bit.
18060
cd525923
RM
180612013-02-12 Roland McGrath <roland@hack.frob.com>
18062
18063 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18064 from the message. The linker prefixes all warnings with that already.
18065
7e2f0d2d
AS
180662013-02-12 Andreas Schwab <schwab@suse.de>
18067
a445af0b
AS
18068 [BZ #15078]
18069 * posix/regexec.c (extend_buffers): Add parameter min_len.
18070 (check_matching): Pass minimum needed length.
18071 (clean_state_log_if_needed): Likewise.
18072 (get_subexp): Likewise.
18073 * posix/Makefile (tests): Add bug-regex34.
18074 (bug-regex34-ENV): Define.
18075 * posix/bug-regex34.c: New file.
18076
7e2f0d2d
AS
18077 [BZ #11561]
18078 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18079 elements compare against the byte sequence of it, not its name.
18080 * posix/Makefile (tests): Add bug-regex35.
18081 (bug-regex35-ENV): Define.
18082 * posix/bug-regex35.c: New file.
18083
a175b684
TV
180842013-02-11 Tom de Vries <tom@codesourcery.com>
18085
18086 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18087 comment.
18088 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18089 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18090 (CHECK_EOL): Add undef.
18091
310998fe 180922013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18093
18094 * bits/stdlib-bsearch.h: New file.
18095 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18096 * stdlib/stdlib.h: Likewise.
41eda41d 18097
8ded91fb
RM
180982013-02-11 Roland McGrath <roland@hack.frob.com>
18099
18100 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18101 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18102 declaration.
18103 * manual/search.texi (Array Search Function): Add missing const in
18104 lfind prototype.
18105 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18106 declaration to use rlim_t.
18107 (Basic Scheduling Functions): Remove erroneous const from
18108 sched_getparam prototype. Remove erroneous * from
18109 sched_get_priority_max and sched_get_priority_min prototypes.
18110 (Resource Usage): Fix summary @comment on vtimes to refer to
18111 sys/vtimes.h rather than vtimes.h.
18112 Add missing *s in vtimes prototype.
18113 (Limits on Resources): Fix ulimit prototype to return long int.
18114 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18115 prototypes to use long int rather than double.
18116 (BSD Random): Fix initstate and setstate to use char *, not void *.
18117 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18118 prototype to make second argument 'struct aiocb64 *const[]'.
18119 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18120 (Status of AIO Operations): Remove erroneous const in aio_return and
18121 aio_return64 prototypes.
18122 (Synchronizing I/O): Fix sync prototype to return void.
18123 * manual/startup.texi (Suboptions): Remove an erroneous const in
18124 getsubopt prototype.
18125 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18126 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18127 use size_t rather than int.
18128 (Scanning All Users): Likewise for getpwent_r.
18129 (Setting Groups): Add missing const to setgroups prototype.
18130 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18131 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18132 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18133 'const void *' rather than 'const char *'.
18134 (Host Address Functions): Likewise for inet_ntop.
18135 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18136 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18137 ssize_t for return value.
18138 (Sending Data): Likewise for send, sendto, sendmsg.
18139 (Socket Option Functions): Add a missing const in setsockopt prototype.
18140 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18141 use wchar_t for the argument.
18142 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18143 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18144 take no arguments.
18145 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18146 double/float/long double for second argument.
18147 Fix return types of significand, significandf, significandl.
18148 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18149 argument in fchmod prototype.
18150 (File Owner): Use uid_t and gid_t in fchown prototype.
18151 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18152 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18153 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18154 use 'const struct dirent **' as argument types to CMP function pointer
18155 argument.
18156 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18157 (File Times): Fix summary magic @comment for struct utimbuf and utime
18158 to refer to utime.h, not time.h.
18159 * manual/string.texi (Argz Functions): Add missing const in
18160 argz_extract and argz_next prototypes.
18161 (Finding Tokens in a String): Likewise for basename.
18162 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18163 (Copying and Concatenation): Fix typo in wmemmove prototype.
18164 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18165 (Signal Stack): Remove erroneous const in sigstack prototype.
18166 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18167 prototype.
18168 (Simple Calendar Time): Likewise for stime.
18169 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18170 prototype.
18171 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18172 say sys/sysctl.h instead.
18173 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18174 and vsyslog prototypes.
18175
fe77fe6d
TV
181762013-02-11 Tom de Vries <tom@codesourcery.com>
18177
18178 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18179 Remove.
18180
3a09b620
RM
181812013-02-11 Roland McGrath <roland@hack.frob.com>
18182
18183 * misc/sys/mman.h: Fix typo in mremap comment.
18184
550a0b89
RM
181852013-02-08 Roland McGrath <roland@hack.frob.com>
18186
18187 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18188 the '\0' terminator.
18189
a2da1673
JM
181902013-02-08 Joseph Myers <joseph@codesourcery.com>
18191
18192 [BZ #13550]
18193 * debug/segfault.c: Don't include <bp-checks.h>.
18194 * sysdeps/generic/bp-checks.h: Remove file.
18195 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18196 (__GETDENTS): Don't use CHECK_N.
18197 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18198 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18199 (__getgroups): Don't use CHECK_N.
18200 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18201 (setgroups): Don't use CHECK_N.
18202 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18203 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18204 (__libc_msgrcv): Don't use CHECK_N.
18205 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18206 (__libc_msgsnd): Don't use CHECK_N.
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18208 <bp-checks.h>.
18209 (__libc_pread): Don't use CHECK_N.
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18211 include <bp-checks.h>.
18212 (__libc_pread64): Don't use CHECK_N.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18214 include <bp-checks.h>.
18215 (__libc_pwrite): Don't use CHECK_N.
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18217 include <bp-checks.h>.
18218 (__libc_pwrite64): Don't use CHECK_N.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18220 <bp-checks.h>.
18221 (__libc_pread): Don't use CHECK_N.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18223 include <bp-checks.h>.
18224 (__libc_pread64): Don't use CHECK_N.
18225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18226 include <bp-checks.h>.
18227 (__libc_pwrite): Don't use CHECK_N.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18229 include <bp-checks.h>.
18230 (__libc_pwrite64): Don't use CHECK_N.
18231 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18232 (do_pread): Don't use CHECK_N.
18233 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18234 (do_pread64): Don't use CHECK_N.
18235 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18236 (do_pwrite): Don't use CHECK_N.
18237 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18238 (do_pwrite64): Don't use CHECK_N.
18239 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18240 (__libc_readv): Don't use CHECK_N.
18241 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18242 (semop): Don't use CHECK_N.
18243 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18244 <bp-checks.h>.
18245 (semtimedop): Don't use CHECK_N.
18246 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18247 (__libc_pread): Don't use CHECK_N.
18248 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18249 <bp-checks.h>.
18250 (__libc_pread64): Don't use CHECK_N.
18251 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18252 <bp-checks.h>.
18253 (__libc_pwrite): Don't use CHECK_N.
18254 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18255 <bp-checks.h>.
18256 (__libc_pwrite64): Don't use CHECK_N.
18257 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18258 <bp-checks.h>.
18259 (__libc_msgrcv): Don't use CHECK_N.
18260 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18261 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18262 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18263 (__libc_writev): Don't use CHECK_N.
18264
b84660a8
RM
182652013-02-08 Roland McGrath <roland@hack.frob.com>
18266
7f3e75f8
RM
18267 * string/strcpy.c: Removed unused variable.
18268
b84660a8
RM
18269 * Makeconfig (+sysdep-includes): Define with := rather than =.
18270 Use an existing include/ subdir of each sysdeps dir before it.
18271
471514d3
CD
182722013-02-08 Carlos O'Donell <carlos@redhat.com>
18273
18274 * nscd/connection.c (register_traced_file): Comment function.
18275 [HAVE_INOTIFY] (union __inev): Define.
18276 [HAVE_INOTIFY] (inotify_check_files): New function.
18277 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18278 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18279 clear_db_cache.
18280 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18281
b2d3c3be
CD
182822013-02-08 Carlos O'Donell <carlos@redhat.com>
18283
18284 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18285 loaded if not already and that a failure is permanent.
18286
b39949d2
CD
182872013-02-08 Carlos O'Donell <carlos@redhat.com>
18288
ddacd1db 18289 [BZ #15006]
b39949d2
CD
18290 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18291 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18292
b2c9eff4
JM
182932013-02-08 Joseph Myers <joseph@codesourcery.com>
18294
f3aae3f3
JM
18295 [BZ #13550]
18296 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18297 (CHECK_1_NULL_OK): Likewise.
18298 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18299 (__fxstat): Do not use CHECK_1.
18300 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18301 <bp-checks.h>.
18302 (___fxstat64): Do not use CHECK_1.
18303 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18304 <bp-checks.h>.
18305 (__fxstatat): Do not use CHECK_1.
18306 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18307 <bp-checks.h>.
18308 (__fxstatat64): Do not use CHECK_1.
18309 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18310 <bp-checks.h>.
18311 (__fxstat): Do not use CHECK_1.
18312 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18313 <bp-checks.h>.
18314 (__fxstatat): Do not use CHECK_1.
18315 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18316 <bp-checks.h>.
18317 (__getresgid): Do not use CHECK_1.
18318 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18319 <bp-checks.h>.
18320 (__getresuid): Do not use CHECK_1.
18321 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18322 <bp-checks.h>.
18323 (__lxstat): Do not use CHECK_1.
18324 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18325 <bp-checks.h>.
18326 (__old_msgctl): Do not use CHECK_1.
18327 (__new_msgctl): Likewise.
18328 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18329 <bp-checks.h>.
18330 (__new_setrlimit): Do not use CHECK_1.
18331 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18332 <bp-checks.h>.
18333 (__old_shmctl): Do not use CHECK_1.
18334 (__new_shmctl): Likewise.
18335 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18336 <bp-checks.h>.
18337 (__xstat): Do not use CHECK_1.
18338 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18339 (__lxstat): Do not use CHECK_1.
18340 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18341 <bp-checks.h>.
18342 (___lxstat64): Do not use CHECK_1.
18343 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18344 (__old_msgctl): Do not use CHECK_1.
18345 (__new_msgctl): Likewise.
18346 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18347 <bp-checks.h>.
18348 (__gettimeofday): Do not use CHECK_1.
18349 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18350 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18351 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18352 <bp-checks.h>.
18353 (__gettimeofday): Do not use CHECK_1.
18354 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18355 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18356 (__new_shmctl): Do not use CHECK_1.
18357 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18358 <bp-checks.h>.
18359 (do_sigtimedwait): Do not use CHECK_1.
18360 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18361 <bp-checks.h>.
18362 (do_sigwaitinfo): Do not use CHECK_1.
18363 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18364 <bp-checks.h>.
18365 (msgctl): Do not use CHECK_1.
18366 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18367 <bp-checks.h>.
18368 (shmctl): Do not use CHECK_1.
18369 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18370 (ustat): Do not use CHECK_1.
18371 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18372 <bp-checks.h>.
18373 (__fxstat): Do not use CHECK_1.
18374 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18375 <bp-checks.h>.
18376 (__fxstatat): Do not use CHECK_1.
18377 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18378 <bp-checks.h>.
18379 (__lxstat): Do not use CHECK_1.
18380 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18381 <bp-checks.h>.
18382 (__xstat): Do not use CHECK_1.
18383 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18384 (__xstat): Do not use CHECK_1.
18385 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18386 (___xstat64): Do not use CHECK_1.
18387
b2c9eff4
JM
18388 [BZ #13550]
18389 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18390 definitions.
18391 (CHECK_BOUNDS_HIGH): Likewise.
18392 * string/strcpy.c: Do not include <bp-checks.h>.
18393 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18394
f1d70dad
RM
183952013-02-07 Roland McGrath <roland@hack.frob.com>
18396
18397 * nscd/nscd-client.h (__nscd_drop_map_ref):
18398 Add __attribute__ ((unused)).
18399 * nis/nss-nisplus.h (niserr2nss): Likewise.
18400
18401 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18402 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18403
18404 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18405 Remove inline keyword.
18406 * include/rounding-mode.h (round_away): Likewise.
18407 * libio/wfileops.c (adjust_wide_data): Likewise.
18408 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18409 (__m128i_strloadu_tolower): Likewise.
18410 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18411 (__m128i_strloadu_tolower): Likewise.
18412 * time/mktime.c (ydhms_diff): Likewise.
18413 * locale/elem-hash.h (elem_hash): Likewise.
18414 * locale/setlocale.c (setdata): Likewise.
18415 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18416 (re_string_wchar_at): Likewise.
18417 (bitset_not, bitset_merge, bitset_mask): Likewise.
18418 [!(__GNUC__ > 3)] (inline): Remove macro.
18419 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18420 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18421 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18422 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18423 * string/memcmp.c (memcmp_bytes): Likewise.
18424 * locale/programs/locarchive.c (compute_hashval): Likewise.
18425 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18426 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18427 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18428 * nss/getent.c (print_rpc, print_protocols): Likewise.
18429 (print_passwd, print_group, print_aliases): Likewise.
18430 * nis/nss-nisplus.h (niserr2nss): Likewise.
18431 * nscd/connections.c (restart_p): Likewise.
18432 Change return type to bool.
18433
eab55bfb
RM
184342013-02-05 Roland McGrath <roland@hack.frob.com>
18435
7bd642f5
RM
18436 * Makeconfig (all-Depend-files): Add existing
18437 $(sorted-subdirs:=/Depend) files.
18438 (all-subdirs): Remove nss.
18439 * sysdeps/unix/inet/Subdirs: Add it here instead.
18440 * hesiod/Depend: New file.
18441
573c29b2
RM
18442 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18443 instead of calling alloca.
18444
b2e25af0
RM
18445 * io/lseek.c (__lseek): Rename to __libc_lseek.
18446 Define __lseek as an alias.
18447
eab55bfb
RM
18448 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18449
9a0d1941
CD
184502013-02-04 Carlos O'Donell <carlos@redhat.com>
18451
18452 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18453 else clause and remove check for non-standard endianness.
18454
b83bbec4
DM
184552013-02-04 David S. Miller <davem@davemloft.net>
18456
18457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18458
6277fdab
JM
184592013-02-04 Joseph Myers <joseph@codesourcery.com>
18460
18461 [BZ #13550]
18462 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18463 (__ubp_memchr): Remove prototype.
18464 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18465 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18466 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18467 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18468 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18469 Remove alias.
18470 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18471 (__ubp_memchr): Likewise.
18472 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18473 (__ubp_memchr): Likewise.
18474 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18475 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18476 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18477 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18478 CHECK_STRING.
18479 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18480 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18481 (__getcwd): Do not use CHECK_STRING.
18482 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18483 <bp-checks.h>.
18484 (__real_chown): Do not use CHECK_STRING.
18485 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18486 <bp-checks.h>.
18487 (fchownat): Do not use CHECK_STRING.
18488 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18489 CHECK_STRING.
18490 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18491 <bp-checks.h>.
18492 (__lchown): Do not use CHECK_STRING.
18493 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18494 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18495 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18496 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18498 include <bp-checks.h>.
18499 (truncate64): Do not use CHECK_STRING.
18500 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18501 <bp-checks.h>.
18502 (__real_chown): Do not use CHECK_STRING.
18503 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18504 <bp-checks.h>.
18505 (__lchown): Do not use CHECK_STRING.
18506 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18507 <bp-checks.h>.
18508 (__chown): Do not use CHECK_STRING.
18509 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18510 <bp-checks.h>.
18511 (truncate64): Do not use CHECK_STRING.
18512 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18513 Likewise.
18514 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18515 (__xmknod): Do not use CHECK_STRING.
18516 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18517 <bp-checks.h>.
18518 (__xmknodat): Do not use CHECK_STRING.
18519 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18520 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18521
903ae060
AS
185222013-02-04 Andreas Schwab <schwab@suse.de>
18523
18524 [BZ #14142]
18525 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18526 * include/netdb.h: Likewise for h_errno.
18527 * elf/tst-stackguard1.c: Include <tls.h>.
18528
542f9466
JK
185292013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18530
18531 * elf/link.h (struct link_map): Extend the l_addr comment.
18532 * include/link.h (struct link_map): Likewise.
18533
e782a927
JM
185342013-02-01 Joseph Myers <joseph@codesourcery.com>
18535
18536 [BZ #13550]
18537 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18538 (BOUNDED_1): Remove macro.
18539 * debug/backtrace.c: Don't include <bp-checks.h>.
18540 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18541 (__backtrace): Likewise.
18542 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18543 <bp-checks.h>.
18544 (__backtrace): Don't use BOUNDED_1.
18545 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18546 <bp-checks.h>.
18547 (__backtrace): Don't use BOUNDED_1.
18548 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18549 (__backtrace): Don't use BOUNDED_1.
18550 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18551 (shmat): Don't use BOUNDED_N.
18552
8cf28c5e
JM
185532013-01-31 Joseph Myers <joseph@codesourcery.com>
18554
3a7ac8a0
JM
18555 [BZ #13550]
18556 * sysdeps/generic/bp-start.h: Remove file.
18557 * csu/libc-start.c: Don't include <bp-start.h>.
18558 (LIBC_START_MAIN): Set up __environ directly instead of using
18559 INIT_ARGV_and_ENVIRON.
18560 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18561 <bp-start.h>.
18562
f3499f95
JM
18563 [BZ #13550]
18564 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18565 definitions.
18566 (CHECK_FCNTL): Likewise.
18567 (CHECK_N_PAGES): Likewise.
18568
32a45bea
JM
18569 [BZ #13550]
18570 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18571 definitions.
18572 (CHECK_SIGSET_NULL_OK): Likewise.
18573 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18574 <bp-checks.h>.
18575 (sigpending): Don't use CHECK_SIGSET.
18576 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18577 <bp-checks.h>.
18578 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18579 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18580 <bp-checks.h>.
18581 (do_sigsuspend): Don't use CHECK_SIGSET.
18582 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18583 use CHECK_SIGSET.
18584 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18585 (do_sigwait): Don't use CHECK_SIGSET.
18586 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18587 use CHECK_SIGSET.
18588 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18589 include <bp-checks.h>.
18590 (sigpending): Don't use CHECK_SIGSET.
18591 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18592 include <bp-checks.h>.
18593 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18594 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18595 <bp-checks.h>.
18596 (sigpending): Don't use CHECK_SIGSET.
18597 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18598 <bp-checks.h>.
18599 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18600
2e8a5c8c
JM
18601 [BZ #13550]
18602 * sysdeps/generic/bp-semctl.h: Remove file.
18603 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18604 <bp-checks.h> and <bp-semctl.h>.
18605 (__old_semctl): Don't use CHECK_SEMCTL.
18606 (__new_semctl): Likewise.
18607 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18608 and <bp-semctl.h>.
18609 (__old_semctl): Don't use CHECK_SEMCTL.
18610 (__new_semctl): Likewise.
18611 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18612 <bp-checks.h> and <bp-semctl.h>.
18613 (__old_semctl): Don't use CHECK_SEMCTL.
18614 (__new_semctl): Likewise.
18615 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18616 <bp-checks.h> and <bp-semctl.h>.
18617 (semctl): Don't use CHECK_SEMCTL.
18618
c2d54929
JM
18619 [BZ #13550]
18620 * Makerules (elide-bp-thunks): Remove variable.
18621 (elide-routines.oS): Don't use $(elide-bp-thunks).
18622 (elide-routines.os): Likewise.
18623 (elide-routines.o): Likewise.
18624 (elide-routines.op): Likewise.
18625 (elide-routines.og): Likewise.
18626 (objects): Don't use $(bp-thunks).
18627 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18628 include.
18629 (common-generated): Do not add s-proto-bp.d.
18630 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18631 (int): Likewise.
18632 (typ): Likewise.
18633 Do not generate makefile rules for bounded-pointer thunks.
18634 * sysdeps/generic/bp-thunks.h: Remove file.
18635 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18636 * sysdeps/unix/s-proto-bp.S: Likewise.
18637
8cf28c5e
JM
18638 [BZ #15062]
18639 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18640 parts of result separately when argument is not close to line from
18641 -i to i and one part of argument is small.
18642 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18643 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18644 * math/libm-test.inc (cacos_test): Add more tests.
18645 (casin_test): Likewise.
18646 (casinh_test): Likewise.
18647 * sysdeps/i386/fpu/libm-test-ulps: Update.
18648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18649
c4e33b8d
DM
186502013-01-31 David S. Miller <davem@davemloft.net>
18651
18652 * po/de.po: Update from translation team.
18653
3b60b421
MK
186542013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18655
18656 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18657
bb931195
TS
186582013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18659
b5a5da23
TS
18660 * configure.in (_AC_PROG_CC_C89): New definition.
18661 * configure: Regenerate.
18662
bb931195
TS
18663 * configure.in (AC_PROG_CPP): New definition.
18664 * configure: Regenerate.
18665
8c53a12c
JM
186662013-01-23 Joseph Myers <joseph@codesourcery.com>
18667
18668 * debug/tst-backtrace.h: New file.
18669 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18670 (ret): Remove variable.
18671 (x): Likewise.
18672 (FAIL): Remove macro.
18673 (NO_INLINE): Likewise.
18674 (fn1): Use match function instead of strstr.
18675 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18676 (ret): Remove variable.
18677 (x): Likewise.
18678 (FAIL): Remove macro.
18679 (NO_INLINE): Likewise.
18680 (fn): Use match function instead of strstr.
18681 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18682 (ret): Remove variable.
18683 (x): Likewise.
18684 (FAIL): Remove macro.
18685 (NO_INLINE): Likewise.
18686 (handle_signal): Use match function instead of strstr.
18687 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18688 (ret): Remove variable.
18689 (x): Likewise.
18690 (FAIL): Remove macro.
18691 (NO_INLINE): Likewise.
18692 (handle_signal): Use match function instead of strstr.
18693
4858fa2a
RM
186942013-01-23 Roland McGrath <roland@hack.frob.com>
18695
18696 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18697
bae8e7f5
DM
186982013-01-23 David S. Miller <davem@davemloft.net>
18699
18700 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18701 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18702 argument of CAS if possible.
18703 * sysdeps/sparc/sparc64/bits/atomic.h
18704 (__arch_compare_and_exchange_val_32_acq): Likewise.
18705 (__arch_compare_and_exchange_val_64_acq): Likewise.
18706
9cbbc4ae
PT
187072013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18708
18709 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18710 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18711 Include <limits.h>.
67b3f58c 18712 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18713
5655a0b5
AC
187142013-01-23 Adam Conrad <adconrad@0c3.net>
18715
18716 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18717 (LDFLAGS-tst-array5): Likewise.
18718
052aff95
JM
187192013-01-23 Joseph Myers <joseph@codesourcery.com>
18720
18721 [BZ #15036]
18722 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18723 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18724 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18725 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18726
7c1e01aa
DM
187272013-01-21 David S. Miller <davem@davemloft.net>
18728
18729 * sysdeps/sparc/backtrace.c: New file.
18730 * sysdeps/sparc/sparc32/backtrace.h: New file.
18731 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18732 * sysdeps/sparc/sparc64/backtrace.h: New file.
18733 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18734 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18735 -funwind-tables.
18736
ab087e0a
AS
187372013-01-21 Andreas Schwab <schwab@suse.de>
18738
18739 [BZ #15020]
18740 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18741 closed its stdout.
18742
ed689c2f
AS
187432013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18744
18745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18746 "mpa2.h".
18747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18748
31d470ac
JM
187492013-01-18 Joseph Myers <joseph@codesourcery.com>
18750 Mark Mitchell <mark@codesourcery.com>
18751 Tom de Vries <tom@codesourcery.com>
18752 Paul Pluzhnikov <ppluzhnikov@google.com>
18753
18754 * debug/tst-backtrace2.c: New file.
18755 * debug/tst-backtrace3.c: Likewise.
18756 * debug/tst-backtrace4.c: Likewise.
18757 * debug/tst-backtrace5.c: Likewise.
18758 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18759 (CFLAGS-tst-backtrace3.c): Likewise.
18760 (CFLAGS-tst-backtrace4.c): Likewise.
18761 (CFLAGS-tst-backtrace5.c): Likewise.
18762 (LDFLAGS-tst-backtrace2): Likewise.
18763 (LDFLAGS-tst-backtrace3): Likewise.
18764 (LDFLAGS-tst-backtrace4): Likewise.
18765 (LDFLAGS-tst-backtrace5): Likewise.
18766 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18767 tst-backtrace4 and tst-backtrace5.
18768
90567f30 187692013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18770 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18771
18772 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18773 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18774 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18775 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18777 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18778 "+r" and remove output regs list as redundant. Add explicit inline
18779 asm to specify register of return val to work around compiler codegen
18780 bug. Remove (int) cast on return value. Add return type parameter to
18781 use in macro so that this macro does not truncate return value for
18782 64-bit values.
18783 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18784 pass to INTERNAL_VSYSCALL_NCS.
18785 (INLINE_VSYSCALL): Add 'long int' as return type to
18786 INTERNAL_VSYSCALL_NCS macro invocation.
18787 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18788 INTERNAL_VSYSCALL_NCS macro invocation.
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18790
d3b9ea61
SP
187912013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18792
0b57daeb
SP
18793 [BZ #14496]
18794 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18795 Fix application of SIMD FP exception mask.
18796
caa99d06
SP
18797 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18798 mp_no from a power of two.
18799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18800 __mpexp_twomm1. Use __pow_mp.
18801
d3b9ea61
SP
18802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18803 multiplication.
18804
1dbaee3c
DM
188052013-01-17 David S. Miller <davem@davemloft.net>
18806
18807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18808
728d7b43
JM
188092013-01-17 Joseph Myers <joseph@codesourcery.com>
18810
18811 [BZ #15023]
18812 * include/complex.h: Condition contents on [!_COMPLEX_H].
18813 (__kernel_casinhf): New prototype.
18814 (__kernel_casinh): Likewise.
18815 (__kernel_casinhl): Likewise.
18816 * math/Makefile (libm_calls): Add k_casinh.
18817 * math/k_casinh.c: New file.
18818 * math/k_casinhf.c: Likewise.
18819 * math/k_casinhl.c: Likewise.
18820 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18821 finite nonzero arguments.
18822 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18823 finite nonzero arguments.
18824 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18825 finite nonzero arguments.
18826 * math/s_casinh.c: Do not include <float.h>.
18827 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18828 * math/s_casinhf.c: Do not include <float.h>.
18829 (__casinhf): Move code for finite nonzero arguments to
18830 k_casinhf.c.
18831 * math/s_casinhl.c: Do not include <float.h>.
18832 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18833 redefine.
18834 (__casinhl): Move code for finite nonzero arguments to
18835 k_casinhl.c.
18836 * math/libm-test.inc (cacos_test): Add more tests.
18837 * sysdeps/i386/fpu/libm-test-ulps: Update.
18838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18839
2a26ef3a
PT
188402013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18841
18842 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18843 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18844 [!HAVE_MREMAP]: Remove [defined linux] case.
18845 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18846
a897655d
SP
188472013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18848
18849 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18850
881ebe89 188512013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18852
18853 * elf/elf.h (R_386_SIZE32): New relocation.
18854 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18855 R_386_SIZE32.
18856 (elf_machine_rela): Likewise.
18857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18858 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18859
59981e9b
JM
188602013-01-17 Joseph Myers <joseph@codesourcery.com>
18861
18862 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18863 (FP_FAST_FMA): Do not define.
18864 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18865 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18866 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18867 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18868 !_SOFT_FLOAT]: Likewise.
18869 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18870 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18871 value.
18872 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18873 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18874 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18876 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18877 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18878 file.
18879
cfa8054f
AS
188802013-01-16 Andreas Schwab <schwab@suse.de>
18881
18882 [BZ #14327]
18883 * include/stdlib.h (__mktemp): Add declaration.
18884 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18885 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18886
dd930cc5
SP
188872013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18888
881ebe89
SP
18889 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18890 definitions.
18891 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18892 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18893 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18894 definitions here.
18895 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18896 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18897 definitions.
18898 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18899 and ONE.
18900 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18901 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18902 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18903 definitions.
18904 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18905 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18906 definitions.
18907 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18908
dd930cc5
SP
18909 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18910
c19a9f89
DM
189112013-01-15 David S. Miller <davem@davemloft.net>
18912
1aa61767
DM
18913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18914 trunc{,f} to libm-sysdep_routes.
18915 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18917 file.
18918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18920 file.
18921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18922 file.
18923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18925 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18926 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18927 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18929 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18930 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18931
c42d5e98
DM
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18933 nearbyint{,f} to libm-sysdep_routes.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18936 New file.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18938 file.
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18940 New file.
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18942 file.
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18946 file.
18947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18949 file.
18950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18951 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18952 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18953
c19a9f89
DM
18954 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18955 libc_feholdexcept and libc_fesetenv.
18956
357679d2
MF
189572013-01-15 Mike Frysinger <vapier@gentoo.org>
18958
18959 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18960
65a82e3d
DM
189612013-01-14 David S. Miller <davem@davemloft.net>
18962
8b954ab9
DM
18963 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18964 (SPARC_ASM_VIS2_IFUNC): Likewise.
18965 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18967 use of 'siam' instruction.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18969 Likewise.
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18971 Likewise.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18973 Likewise.
18974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18979 file.
18980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18981 file.
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18983 file.
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18985 file.
18986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18991 new VIS2 routines.
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18995 Likewise.
18996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19001 routines to libm-sysdep_routines.
19002 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19003
65a82e3d
DM
19004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19005 fdim/fdimf to libm-sysdep_routines.
19006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19007 file.
19008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19010 file.
19011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19014 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19015 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19016 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19017 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19018
e34ab705
SP
190192013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19020
2a91b573
SP
19021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19022 to optimize copies.
19023
1066a534
SP
19024 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19027
e34ab705
SP
19028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19029 local variable MPTWO.
19030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19031 Likewise.
19032
aba5e596
MF
190332013-01-13 Mike Frysinger <vapier@gentoo.org>
19034
19035 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19036 GLOB_NOESCAPE.
19037
e557e9e5
MF
190382013-01-13 Mike Frysinger <vapier@gentoo.org>
19039
19040 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19041
0428cec9
MF
190422013-01-13 Mike Frysinger <vapier@gentoo.org>
19043
19044 * manual/pattern.texi (glob_t): Document gl_flags.
19045 (glob64_t): Likewise.
19046
8794a964
DM
190472013-01-11 David S. Miller <davem@davemloft.net>
19048
66438c3f
RM
19049 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19050 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19051 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19052 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19053 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19054 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19055 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19056 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19057 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19058 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19059 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19060 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19061 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19062
4ae4244d
DM
19063 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19064 sparc V9 rather than using V8 code.
19065 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19066 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19067
8794a964
DM
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19069 Move to...
19070 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19071 Here.
19072
6270516e
RM
190732013-01-11 Roland McGrath <roland@hack.frob.com>
19074
19075 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19076 not in the main loop.
19077 * configure: Regenerated.
19078
6a57d931
JM
190792013-01-11 Joseph Myers <joseph@codesourcery.com>
19080
19081 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19082 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19083 to just #else.
19084 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19085 [!__GLIBC_HAVE_LONG_LONG] case.
19086 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19087 condition to just #else.
19088 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19089 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19090 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19091 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19092 unconditional.
19093 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19094 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19095 #elif condition to just #else.
19096 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19097 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19098 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19099 #elif condition to just #else.
19100
0e8529e9
SE
191012013-01-11 Steve Ellcey <sellcey@mips.com>
19102
19103 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19104 (EF_MIPS_ARCH_64): Fix value.
19105 (EF_MIPS_ARCH_32R2): New.
19106 (EF_MIPS_ARCH_64R2): New.
19107
740b3dbe
L
191082013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19109
19110 * Makeconfig (+link-pie-before-libc): New.
19111 (+link-pie-after-libc): Likewise.
19112 (+link-pie-tests): Likewise.
19113 (+link-pie): Rewritten.
19114 (link-before-libc): Remove $(config-LDFLAGS).
19115 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19116 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19117 (config-LDFLAGS): Renamed to ...
19118 (rtld-LDFLAGS): This.
19119 (rtld-tests-LDFLAGS): New macro.
19120 (link-libc-rpath-link): Likewise.
19121 (link-libc-tests-rpath-link): Likewise.
19122 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19123 (link-libc): Prepand $(link-libc-rpath-link).
19124 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19125 (test-program-prefix): New macro.
19126 (test-via-rtld-prefix): Likewise.
19127 (test-program-cmd): Likewise.
19128 (host-test-program-cmd): Likewise.
19129 * Makefile ($(common-objpfx)testrun.sh): Replace
19130 $(run-program-prefix) with $(test-program-prefix).
19131 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19132 $(rtld-LDFLAGS).
19133 ($(common-objpfx)shlib.lds): Likewise.
19134 (build-module-helper): Likewise.
19135 ($(common-objpfx)format.lds): Likewise.
19136 * Rules (binaries-pie-tests): New.
19137 (binaries-pie-notests): Likewise.
19138 (binaries-pie): Rewritten.
19139 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19140 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19141 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19142 (make-test-out): Replace $(host-built-program-cmd) with
19143 $(host-test-program-cmd).
19144 * config.make.in (build-hardcoded-path-in-tests): New variable.
19145 * configure.in (--enable-hardcoded-path-in-tests): New configure
19146 option.
19147 (hardcoded_path_in_tests): New AC_SUBST.
19148 * configure: Regenerated.
19149 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19150 $(built-program-cmd) with $(test-program-cmd).
19151 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19152 (test_program_cmd): This.
19153 * elf/Makefile ($(objpfx)order.out): Run test with
19154 $(test-program-prefix).
19155 ($(objpfx)order2.out): Likewise.
19156 ($(objpfx)tst-initorder.out): Likewise.
19157 ($(objpfx)tst-initorder2.out): Likewise.
19158 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19159 $(test-program-cmd).
19160 ($(objpfx)tst-array1-static.out): Likewise.
19161 ($(objpfx)tst-array2.out): Likewise.
19162 ($(objpfx)tst-array3.out): Likewise.
19163 ($(objpfx)tst-array4.out): Likewise.
19164 ($(objpfx)tst-array5.out): Likewise.
19165 ($(objpfx)tst-array5-static.out): Likewise.
19166 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19167 $(test-program-cmd).
19168 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19169 $(run-program-prefix) with $(test-program-prefix).
19170 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19171 (test_program_prefix): This.
19172 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19173 $(run-program-prefix) with $(test-program-prefix).
19174 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19175 (test_program_prefix): This.
19176 * iconvdata/tst-tables.sh: Likewise.
19177 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19178 $(run-program-prefix) with $(test-program-prefix).
19179 ($(objpfx)tst-translit.out): Likewise.
19180 ($(objpfx)tst-gettext2.out): Likewise.
19181 ($(objpfx)tst-gettext4.out): Likewise.
19182 ($(objpfx)tst-gettext6.out): Likewise.
19183 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19184 (test_program_prefix): This.
19185 * intl/tst-gettext2.sh: Likewise.
19186 * intl/tst-gettext4.sh Likewise.
19187 * intl/tst-gettext6.sh: Likewise.
19188 * intl/tst-translit.sh: Likewise.
19189 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19190 with $(test-program-cmd).
19191 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19192 $(run-program-prefix) with $(test-program-prefix).
19193 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19194 (test_program_prefix): This.
19195 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19196 $(run-program-prefix) with $(test-program-prefix).
19197 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19198 (test_program_prefix): This.
19199 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19200 * posix/Makefile ($(objpfx)globtest.out): Replace
19201 $(run-via-rtld-prefix) and $(test-wrapper) with
19202 $(test-program-prefix) and $(test-via-rtld-prefix).
19203 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19204 $(test-program-prefix).
19205 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19206 $(host-test-program-cmd).
19207 (tst-spawn-ARGS): Likewise.
19208 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19209 $(test-program-prefix).
19210 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19211 (test_via_rtld_prefix): This.
19212 (test_wrapper): Renamed to ...
19213 (test_program_prefix): This.
19214 (run_program_prefix): Replaced by test_program_prefix.
19215 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19216 (test_program_prefix): This.
19217 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19218 with $(host-test-program-cmd).
19219 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19220 $(run-program-prefix) with $(test-program-prefix).
19221 ($(objpfx)tst-printf.out): Likewise.
19222 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19223 $(test-program-cmd).
19224 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19225 (test_program_prefix): This.
19226 * stdio-common/tst-unbputc.sh: Likewise.
19227 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19228 $(run-program-prefix) with $(test-program-prefix).
19229 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19230 (test_program_prefix): This.
19231 * string/Makefile ($(objpfx)tst-svc.out): Replace
19232 $(built-program-cmd) with $(test-program-cmd).
19233
c6fe55cf
AJ
192342013-01-11 Andreas Jaeger <aj@suse.de>
19235
19236 [BZ #15003]
19237 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19238 value. Sync with Linux 3.7.
19239
9e6919c8
DM
192402013-01-10 David S. Miller <davem@davemloft.net>
19241
19242 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19243 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19244 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19245
1c9f1a02
RM
192462013-01-10 Roland McGrath <roland@hack.frob.com>
19247
19248 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19249 never set.
19250 * configure: Regenerated.
19251
b9de2dde
DM
192522013-01-10 David S. Miller <davem@davemloft.net>
19253
19254 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19255 sparc V9 rather than using V8 code.
19256 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19257 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19258
e7f68ef4
RM
192592013-01-10 Roland McGrath <roland@hack.frob.com>
19260
19261 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19262 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19263 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19264 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19265 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19266 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19267 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19268 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19269 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19270 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19271 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19272 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19273 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19274 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19275 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19276 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19277 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19278 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19279 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19280 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19281 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19282 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19283 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19284 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19285 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19286 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19287 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19288
5a47cc9c
DM
192892013-01-10 David S. Miller <davem@davemloft.net>
19290
19291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19292
4cf8f209
L
192932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19294
19295 * posix/Makefile (tests-static): New variable.
19296 (tests): Add $(tests-static).
19297 (tst-exec-static-ARGS): New variable.
19298 (tst-spawn-static-ARGS): Likewise.
19299 * posix/tst-exec-static.c: New file.
19300 * posix/tst-spawn-static.c: Likewise.
19301 * posix/tst-exec.c: Support run directly.
19302 * posix/tst-spawn.c: Likewise.
19303
fed0faa1
JM
193042013-01-10 Joseph Myers <joseph@codesourcery.com>
19305
828beb13
JM
19306 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19307 long.
19308 * math/bits/mathcalls.h (llrint): Likewise.
19309 (llround): Likewise.
19310 * stdlib/stdlib.h (struct drand48_data): Likewise.
19311 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19312 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19313 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19314 Likewise.
19315 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19316 Likewise.
19317 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19318 (elf_greg_t): Likewise.
19319 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19320 (__jmp_buf): Likewise.
19321 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19322 definitions.
19323 (llrint): Likewise, for all definitions.
19324 (llrintl): Likewise.
19325
fed0faa1
JM
19326 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19327 Remove [__GNUC__] condition.
19328 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19329 condition to just [__USE_ISOC99].
19330 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19331
1a20cb20
L
193322013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19333
19334 [BZ #14200]
19335 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19336 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19337 defined.
19338 (_POSIX_V6_ILP32_OFF32): Likewise.
19339 (_XBS5_ILP32_OFF32): Likewise.
19340 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19341 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19342
751b85f7
SP
193432013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19344
7490eb81
SP
19345 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19346
751b85f7
SP
19347 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19348 doubles __mpexp_twomm1. Adjust usage.
19349 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19350 Remove.
19351
988197f0
AS
193522013-01-10 Andreas Schwab <schwab@suse.de>
19353
19354 [BZ #14964]
19355 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19356 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19357
e83d7298
DM
193582013-01-09 David S. Miller <davem@davemloft.net>
19359
034ed64b 19360 [BZ #15003]
e83d7298
DM
19361 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19362 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19363 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19364 TCP_FASTOPEN): Define.
19365 (tcp_repair_opt): New structure.
19366 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19367 enum values.
19368 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19369 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19370 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19371 (tcp_cookie_transactions): New structure.
19372
d5e0b9bd
AB
193732013-01-09 Anton Blanchard <anton@samba.org>
19374
19375 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19376 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19378 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19379
0c07e3ea
JM
193802013-01-09 Joseph Myers <joseph@codesourcery.com>
19381
19382 * include/features.h (__USE_ANSI): Remove.
19383
232f7002
RM
193842013-01-09 Roland McGrath <roland@hack.frob.com>
19385
ad98e30c
RM
19386 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19387
232f7002
RM
19388 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19389
950c99ca
SP
193902013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19391
b5792741
SP
19392 * sysdeps/s390/fpu/libm-test-ulps: Update.
19393
47cf2278
SP
19394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19395
950c99ca
SP
19396 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19397 (__acr): Likewise.
19398 (__cpy): Likewise.
19399 (norm): Likewise.
19400 (denorm): Likewise.
19401 (__mp_dbl): Likewise.
19402 (__dbl_mp): Likewise.
19403 (add_magnitudes): Likewise.
19404 (sub_magnitudes): Likewise.
19405 (__add): Likewise.
19406 (__sub): Likewise.
19407 (__mul): Likewise.
19408 (__inv): Likewise.
19409 (__dvd): Likewise.
19410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19411 (__acr): Likewise.
19412 (__cpy): Likewise.
19413 (norm): Likewise.
19414 (denorm): Likewise.
19415 (__mp_dbl): Likewise.
19416 (__dbl_mp): Likewise.
19417 (add_magnitudes): Likewise.
19418 (sub_magnitudes): Likewise.
19419 (__add): Likewise.
19420 (__sub): Likewise.
19421 (__mul): Likewise.
19422 (__inv): Likewise.
19423 (__dvd): Likewise.
19424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19425 (__acr): Likewise.
19426 (__cpy): Likewise.
19427 (norm): Likewise.
19428 (denorm): Likewise.
19429 (__mp_dbl): Likewise.
19430 (__dbl_mp): Likewise.
19431 (add_magnitudes): Likewise.
19432 (sub_magnitudes): Likewise.
19433 (__add): Likewise.
19434 (__sub): Likewise.
19435 (__mul): Likewise.
19436 (__inv): Likewise.
19437 (__dvd): Likewise.
19438
eede9df9
JM
194392013-01-08 Joseph Myers <joseph@codesourcery.com>
19440
19441 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19442 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19443 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19444 2 && __USE_EXTERN_INLINES]: Likewise.
19445
c40ea3d9
AJ
194462013-01-08 Andreas Jaeger <aj@suse.de>
19447
19448 [BZ# 14985]
19449 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19450 Remove.
19451 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19452 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19453
2ccdea26
AB
194542013-01-07 Anton Blanchard <anton@samba.org>
19455
19456 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19457 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19458 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19459 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19460 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19461 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19462 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19463 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19465 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19468 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19469 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19470 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19471 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19472 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19473 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19474 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19475 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19476 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19477 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19478 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19479 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19480 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19481 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19482 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19483 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19485 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19486 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19488 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19489 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19490 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19491 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19492 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19493 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19494 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19495 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19496 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19497 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19498 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19499
a9708fed
JM
195002013-01-07 Joseph Myers <joseph@codesourcery.com>
19501
375607b9
JM
19502 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19503 (__MALLOC_PMT): Likewise.
19504 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19505 [__GNUC__], only on [_LIBC].
19506 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19507 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19508 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19509 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19510 forward declaration.
19511 (realloc_hook_ini): Likewise.
19512 (memalign_hook_ini): Likewise.
19513 (__libc_memalign): Do not use __MALLOC_PMT in variable
19514 declaration.
19515 (__libc_valloc): Likewise.
19516 (__libc_pvalloc): Likewise.
19517 (__libc_calloc): Likewise.
19518 (__posix_memalign): Likewise.
19519
a9708fed
JM
19520 [BZ #14996]
19521 * math/s_casinh.c: Include <float.h>.
19522 (__casinh): Do not do computation with squaring and square root
19523 for large arguments.
19524 * math/s_casinhf.c: Include <float.h>.
19525 (__casinhf): Do not do computation with squaring and square root
19526 for large arguments.
19527 * math/s_casinhl.c: Include <float.h>.
19528 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19529 (__casinhl): Do not do computation with squaring and square root
19530 for large arguments.
19531 * math/libm-test.inc (casin_test): Add more tests.
19532 (casinh_test): Likewise.
19533 * sysdeps/i386/fpu/libm-test-ulps: Update.
19534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535
afec409a
L
195362013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19537
19538 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19539 (__x86_64_raw_data_cache_size): Likewise.
19540 (__x86_64_data_cache_size_half): Likewise.
19541 (__x86_64_raw_data_cache_size_half): Likewise.
19542 (__x86_64_shared_cache_size): Likewise.
19543 (__x86_64_raw_shared_cache_size): Likewise.
19544 (__x86_64_shared_cache_size_half): Likewise.
19545 (__x86_64_raw_shared_cache_size_half): Likewise.
19546 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19547 to ...
19548 (__x86_data_cache_size): This.
19549 (__x86_64_raw_data_cache_size): Renamed to ...
19550 (__x86_raw_data_cache_size): This.
19551 (__x86_64_data_cache_size_half): Renamed to ...
19552 (__x86_data_cache_size_half): This.
19553 (__x86_64_raw_data_cache_size_half): Renamed to ...
19554 (__x86_raw_data_cache_size_half): This.
19555 (__x86_64_shared_cache_size): Renamed to ...
19556 (__x86_shared_cache_size): This.
19557 (__x86_64_raw_shared_cache_size): Renamed to ...
19558 (__x86_raw_shared_cache_size): This.
19559 (__x86_64_shared_cache_size_half): Renamed to ...
19560 (__x86_shared_cache_size_half): This.
19561 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19562 (__x86_raw_shared_cache_size_half): This.
19563 * sysdeps/x86_64/memcpy.S: Updated.
19564 * sysdeps/x86_64/memset.S: Likewise.
19565 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19566 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19568
0b3986d0
DM
195692013-01-04 David S. Miller <davem@davemloft.net>
19570
19571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19572
e47686e9
AS
195732013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19574
d643bac1
AS
19575 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19576 1 to avoid redefinition warning.
19577 (__USE_GNU): Don't define.
19578 (init_signaling_nan): Protoize.
19579
e47686e9
AS
19580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19581
b18decba
SP
195822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19583
fffb407f
SP
19584 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19586 (__cpymn): Likewise.
19587 (norm): Remove commented code.
19588 (denorm): Likewise.
19589 (__mp_dbl): Likewise.
19590 (__inv): Likewise.
19591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19592 (__cpymn): Likewise.
19593 (norm): Remove commented code.
19594 (denorm): Likewise.
19595 (__mp_dbl): Likewise.
19596 (__inv): Likewise.
19597
b18decba
SP
19598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19599 mp_no value for 1.0 and 2.0.
19600 (norm): Use RADIXI instead of radixi.d.
19601 (denorm): Likewise.
19602 (__mul): Use 0.0 instead of zero.d.
19603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19604 mp_no value for 1.0 and 2.0.
19605 (norm): Use RADIXI instead of radixi.d.
19606 (denorm): Likewise.
19607 (__mul): Use 0.0 instead of zero.d.
19608
cdc1c96f
JM
196092013-01-04 Joseph Myers <joseph@codesourcery.com>
19610
19611 [BZ #14994]
19612 * math/s_casinh.c (__casinh): Reduce finite argument to first
19613 quadrant then set signs of results at the end.
19614 * math/s_casinhf.c (__casinhf): Likewise.
19615 * math/s_casinhl.c (__casinhl): Likewise.
19616 * math/libm-test.inc (casin_test): Add more tests.
19617 (casinh_test): Likewise.
19618 * sysdeps/i386/fpu/libm-test-ulps: Update.
19619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19620
302913e1
SP
196212013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19622
6420d207
SP
19623 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19624
a9e48ab4
SP
19625 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19626
b7837264
SP
19627 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19628 declarations.
19629 (denorm): Likewise.
19630 (__mp_dbl): Likewise.
19631 (__inv): Likewise.
19632
f8af25d2
SP
19633 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19634 and adjust the header comment.
19635
302913e1
SP
19636 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19637 variable name from declaration.
19638
5d7dd1ca
L
196392013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19640
19641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19642 Initialize COMMON_CPUID_INDEX_7 element.
19643 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19644 (CPUID_RTM): Likewise.
19645 (HAS_RTM): Likewise.
19646 (COMMON_CPUID_INDEX_7): New enum.
19647
2f5f40f4
AS
196482013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19649
19650 [BZ #14981]
19651 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19652 size is zero, record memory as freed.
19653
4056f4a0
AJ
196542013-01-03 Andreas Jaeger <aj@suse.de>
19655
19656 * po/ia.po: Add new Interlingua translation.
19657
ab15736f 196582012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19659
19660 * locale/programs/localedef.c: Fix description of '--posix' flag.
19661
568035b7
JM
196622013-01-02 Joseph Myers <joseph@codesourcery.com>
19663
e6898b8d
JM
19664 * NEWS: Update dates in second copyright notice.
19665 * README: Update copyright dates in example.
19666 * manual/libc.texinfo: Update copyright dates.
19667 * scripts/test-installation.pl: Update copyright date in --version
19668 output.
19669
0e2f9562
JM
19670 * hurd/ctty-input.c: Fix copyright notice formatting.
19671 * hurd/ctty-output.c: Likewise.
19672 * hurd/dtable.c: Likewise.
19673 * hurd/hurd-raise.c: Likewise.
19674 * hurd/hurdprio.c: Likewise.
19675 * hurd/msgportdemux.c: Likewise.
19676 * misc/sys/file.h: Likewise.
19677 * misc/sys/ioctl.h: Likewise.
19678 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19679 * sysdeps/mach/hurd/chdir.c: Likewise.
19680 * sysdeps/mach/hurd/fchdir.c: Likewise.
19681 * sysdeps/mach/hurd/rename.c: Likewise.
19682 * sysdeps/mach/hurd/rmdir.c: Likewise.
19683 * sysdeps/mach/hurd/seekdir.c: Likewise.
19684 * sysdeps/mach/hurd/setsid.c: Likewise.
19685 * sysdeps/posix/wait3.c: Likewise.
19686
568035b7
JM
19687 * All files with FSF copyright notices: Update copyright dates
19688 using scripts/update-copyrights.
19689 * intl/plural.c: Regenerated.
19690 * locale/programs/charmap-kw.h: Likewise.
19691 * locale/programs/locfile-kw.h: Likewise.
19692
da08f647
SP
196932013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19694
0f5477af
SP
19695 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19696 four values.
19697
44e0d4c2
SP
19698 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19699 calculation loop and add branch prediction.
19700
4d55b4e5
SP
19701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19702 check access beyond bounds of m1np.
19703
da08f647
SP
19704 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19705 MPTWO.
19706 (__inv): Remove local variable MPTWO to use the global
19707 constant.
19708 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19709 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19710 variable MPTWO.
19711 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19712 MP3HALFS static const.
19713
8e051029
DM
197142013-01-01 David S. Miller <davem@davemloft.net>
19715
19716 * po/ca.po: Update from translation team.
19717
f4cf5f2d
JM
197182013-01-01 Joseph Myers <joseph@codesourcery.com>
19719
19720 * scripts/update-copyrights: New file.
19721 * Makeconfig: Reformat copyright notice.
19722 * ctype/ctype.h: Likewise.
19723 * debug/swprintf_chk.c: Likewise.
19724 * elf/dl-cache.c: Likewise.
19725 * elf/dl-debug.c: Likewise.
19726 * elf/dl-object.c: Likewise.
19727 * grp/initgroups.c: Likewise.
19728 * hurd/Makefile: Likewise.
19729 * hurd/hurd/signal.h: Likewise.
19730 * hurd/hurdfault.c: Likewise.
19731 * hurd/hurdioctl.c: Likewise.
19732 * hurd/hurdlookup.c: Likewise.
19733 * hurd/intr-msg.c: Likewise.
19734 * iconv/gconv_open.c: Likewise.
19735 * libio/swprintf.c: Likewise.
19736 * locale/lc-ctype.c: Likewise.
19737 * locale/nl_langinfo.c: Likewise.
19738 * mach/Machrules: Likewise.
19739 * mach/Makefile: Likewise.
19740 * malloc/obstack.h: Likewise.
19741 * manual/Makefile: Likewise.
19742 * manual/tsort.awk: Likewise.
19743 * misc/bits/stab.def: Likewise.
19744 * nis/nis_print_group_entry.c: Likewise.
19745 * nis/nis_table.c: Likewise.
19746 * nis/nss_compat/compat-pwd.c: Likewise.
19747 * nis/nss_compat/compat-spwd.c: Likewise.
19748 * po/Makefile: Likewise.
19749 * posix/fnmatch.c: Likewise.
19750 * posix/regex.h: Likewise.
19751 * resolv/Makefile: Likewise.
19752 * resolv/nss_dns/dns-network.c: Likewise.
19753 * resolv/res_hconf.c: Likewise.
19754 * scripts/gen-sorted.awk: Likewise.
19755 * soft-fp/soft-fp.h: Likewise.
19756 * stdio-common/printf.h: Likewise.
19757 * stdlib/monetary.h: Likewise.
19758 * stdlib/random.c: Likewise.
19759 * stdlib/random_r.c: Likewise.
19760 * sysdeps/generic/Makefile: Likewise.
19761 * sysdeps/gnu/Makefile: Likewise.
19762 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19772 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19773 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19775 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19778 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19780 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19782 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19783 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19784 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19785 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19786 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19787 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19789 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19790 * sysdeps/mach/hurd/errnos.awk: Likewise.
19791 * sysdeps/mach/hurd/fork.c: Likewise.
19792 * sysdeps/mach/hurd/getcwd.c: Likewise.
19793 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19794 * sysdeps/mach/hurd/mmap.c: Likewise.
19795 * sysdeps/mach/hurd/utimes.c: Likewise.
19796 * sysdeps/mach/hurd/xmknod.c: Likewise.
19797 * sysdeps/posix/profil.c: Likewise.
19798 * sysdeps/posix/readdir_r.c: Likewise.
19799 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19800 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19801 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19802 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19804 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19805 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19806 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19808 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19809 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19810 * sysdeps/pthread/lio_listio.c: Likewise.
19811 * sysdeps/sparc/dl-procinfo.h: Likewise.
19812 * sysdeps/unix/i386/sysdep.S: Likewise.
19813 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19814 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19815 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19816 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19818 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19819 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19820 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19821 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19822 * sysdeps/wordsize-32/divdi3.c: Likewise.
19823 * time/sys/time.h: Likewise.
19824 * wcsmbs/Makefile: Likewise.
19825
0549fbba
DM
198262013-01-01 David S. Miller <davem@davemloft.net>
19827
a141f1a7
DM
19828 * po/fr.po: Update from translation team.
19829
0549fbba
DM
19830 * catgets/gencat.c: Update copyright year.
19831 * csu/version.c: Likewise.
19832 * debug/catchsegv.sh: Likewise.
19833 * debug/pcprofiledump.c: Likewise.
19834 * debug/xtrace.sh: Likewise.
19835 * elf/ldconfig.c: Likewise.
19836 * elf/ldd.bash.in: Likewise.
19837 * elf/pldd.c: Likewise.
19838 * elf/sotruss.ksh: Likewise.
19839 * elf/sprof.c: Likewise.
19840 * iconv/iconv_prog.c: Likewise.
19841 * iconv/iconvconfig.c: Likewise.
19842 * locale/programs/locale.c: Likewise.
19843 * locale/programs/localedef.c: Likewise.
19844 * login/programs/pt_chown.c: Likewise.
19845 * malloc/memusage.sh: Likewise.
19846 * malloc/memusagestat.c: Likewise.
19847 * malloc/mtrace.pl: Likewise.
19848 * nscd/nscd.c: Likewise.
19849 * nss/getent.c: Likewise.
19850 * nss/makedb.c: Likewise.
19851 * posix/getconf.c: Likewise.
19852
18ea052c
SP
198532012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19854
19855 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19856 numbers.
19857
9c89fca6
MF
198582012-12-30 Mike Frysinger <vapier@gentoo.org>
19859
19860 * math/bits/mathcalls.h (modf): Use __nonnull.
19861
085ec079
SP
198622012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19863
19864 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19865 (split): Use macro CN instead of the bare value.
19866 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19867 could be used.
19868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19869 instead of the bare value.
19870 (power1): Likewise.
19871
6d9f97e1
SP
198722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19873
d63f73be
SP
19874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19875 __ATAN_TWOM.
19876 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19877
6d9f97e1
SP
19878 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19879 their values.
19880 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19881 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19882 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19883 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19884
4c4febf5
AJ
198852012-12-28 Andreas Jaeger <aj@suse.de>
19886
af5843ef
AJ
19887 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19888 values are from Linux 3.7.
19889
4c4febf5
AJ
19890 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19891 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19892
99136f82
SP
198932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19894
2f216c3c 19895 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19896 TRUE case.
19897
99136f82
SP
19898 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19899 (norm): Likewise.
19900 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19901 variables with preprocessor constants.
19902 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19903 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19904 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19905
7fffbdff
BH
199062012-12-27 Bruno Haible <bruno@clisp.org>
19907
19908 [BZ #14317]
19909 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19910 only if needed.
19911
b76eb5f0
SP
199122012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19913
31a7fe5c
SP
19914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19915 and use variable directly.
19916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19917
b76eb5f0
SP
19918 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19919 MPONE.
19920 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19922 variable MPONE.
19923 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19925 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19926 include directive. Remove local variable MPONE.
19927 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19928 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19929 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19930
2c8bfe7d
DM
199312012-12-25 David S. Miller <davem@davemloft.net>
19932
19933 * version.h (RELEASE): Set to "development".
19934 (VERSION): Set to "2.17.90".
19935 * NEWS: Add 2.18 section.
19936
147d03b0
DM
199372012-12-21 David S. Miller <davem@davemloft.net>
19938
19939 * po/hr.po: Update from translation team.
19940
a8ebb2b9
AK
199412012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19942
19943 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19944
95b4f1b6
SE
199452012-12-19 Steve Ellcey <sellcey@mips.com>
19946
b2d94007 19947 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19948
cedb2a90
MS
199492012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19950
19951 * manual/contrib.texi (Contributors): Spelling correction.
19952
bbf527d6
DM
199532012-12-15 David S. Miller <davem@davemloft.net>
19954
19955 * po/ru.po: Update from translation team.
19956
bc38c906
DM
199572012-12-13 David S. Miller <davem@davemloft.net>
19958
85429b1a
DM
19959 * NEWS: Mention IFUNC testsuite enhancements.
19960
d283e353
DM
19961 * po/pl.po: Update from translation team.
19962 * po/bg.po: Likewise.
19963
bc38c906
DM
19964 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19965 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19966
a181b0d7
DM
199672012-12-11 David S. Miller <davem@davemloft.net>
19968
4641d57e
DM
19969 * po/sv.po: Update from translation team.
19970
f7bc6495
DM
19971 * po/vi.po: Update from translation team.
19972
6fc9048f
DM
19973 * po/cs.po: Update from translation team.
19974
a181b0d7
DM
19975 * po/de.po: Update from translation team.
19976 * po/eo.po: Likewise.
19977 * po/nl.po: Likewise.
19978
f70bfe80
SP
199792012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19980
3c8b4190
SP
19981 [BZ #14246]
19982 * manual/argp.texi (Argp Helper Functions): Move node to follow
19983 Argp Parsing State.
19984
f70bfe80
SP
19985 [BZ #14872]
19986 * manual/conf.texi (Limits on File System Capacity): Mention if
19987 terminating null is included in the max size.
19988
188f0adf
AJ
199892012-12-10 Andreas Jaeger <aj@suse.de>
19990
19991 * po/cs.po: Update from translation team.
19992
56e7d3ad
SP
199932012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19994
19995 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19996 void pointer and cast to uintptr_t.
19997 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19998 path.
19999 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20000 * sysdeps/s390/s390-64/memset.S: Likewise.
20001
76f2d2ea 200022012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20003
20004 [BZ #14833]
20005 * menual/message.texi (Message Translation): Fix typos.
20006 (Helper programs for gettext): Likewise.
20007
67cbf9a2
AS
200082012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20009
20010 [BZ #14898]
20011 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20012 Change to -1.
20013
682d0e9a
DM
200142012-12-07 David S. Miller <davem@davemloft.net>
20015
20016 * po/libc.pot: Update.
20017
573cd484
RH
200182012-12-07 Richard Henderson <rth@redhat.com>
20019
7e9da188 20020 [BZ #10114]
573cd484
RH
20021 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20022 normal/normal case to before the switch.
20023 (_FP_DIV): Likewise.
20024
e933a943
MF
200252012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20026 Mike Frysinger <vapier@gentoo.org>
20027
20028 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20029 check for __NR_fadvise64_64.
20030
82123268
CM
200312012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20032
20033 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20034 0, not just to plain "0" as a statement.
20035 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20036 with cw.
20037
d9814526
JM
200382012-12-06 Joseph Myers <joseph@codesourcery.com>
20039
20040 * NEWS: Use sourceware.org in Bugzilla URL.
20041
7728c574
SP
200422012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20043
f16946dd
SP
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20045 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20046
5704bbcb
SP
20047 * stdio-common/tst-put-error.c (do_test): Add newline to the
20048 padded test to ensure flush.
20049
17aa0516
JL
200502012-12-05 Jeff Law <law@redhat.com>
20051
20052 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20053
363313b5
JM
200542012-12-05 Joseph Myers <joseph@codesourcery.com>
20055
effbd42a
JM
20056 * README: Don't refer to ports add-on as distributed separately.
20057 Mention AArch64 in list of systems supported in the ports add-on.
20058
87600365
JM
20059 * LICENSES: Add more non-FSF copyright and license notices.
20060
a0d7066a
JM
20061 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20062 ((unused)).
20063
66ca5a5b
JM
20064 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20065
363313b5
JM
20066 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20067 10000 as width of padded output.
20068
b37984ad
JM
200692012-12-04 Joseph Myers <joseph@codesourcery.com>
20070
9003570a
JM
20071 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20072
b37984ad
JM
20073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20074 variable LX with __attribute__ ((unused)).
20075 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20076 Likewise.
20077 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20080 with __attribute__ ((unused)).
20081
c8df52ec
DM
200822012-12-04 David S. Miller <davem@abraco.davemloft.net>
20083
20084 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20085
b3b099af
JM
200862012-12-04 Joseph Myers <joseph@codesourcery.com>
20087
c33aa6e3
JM
20088 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20089 (CFLAGS-nldbl-acos.c): New variable.
20090 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20140 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20141 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20142 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20143 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20144 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20145 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20146 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20147 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20148 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20149 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20150 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20151 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20152 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20153 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20154 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20155 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20156 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20157 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20158 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20159 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20160 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20161 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20162 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20163 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20164 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20165 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20166 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20167 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20168 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20169 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20170 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20171 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20172 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20173 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20174 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20175 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20176 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20177 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20178 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20179 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20180 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20181 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20182 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20183 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20184 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20185 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20186 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20187
20f0018d
JM
20188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20189 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20190
b3b099af
JM
20191 [BZ #14914]
20192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20193 whole low double instead of just low 47 bits when splitting values
20194 into two parts.
20195
029264d1
AM
201962012-12-03 Allan McRae <allan@archlinux.org>
20197
20198 * manual/stdio.texi (Predefined Printf Handlers): Remove
20199 @hsep and @vsep usage.
20200
c9d6789e
MF
202012012-12-03 Mike Frysinger <vapier@gentoo.org>
20202
20203 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20204 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20205
4b7634a5
JL
202062012-12-03 Jeff Law <law@redhat.com>
20207
20208 * time/sys/time.h (settimeofday): Do not mark TV argument
20209 as __nonnull.
20210
eb6cbd24
MF
202112012-12-01 Mike Frysinger <vapier@gentoo.org>
20212
20213 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20214 when currently writing and seek to current position when not.
20215 * libio/Makefile (tests): Remove bug-fclose1.
20216 * libio/bug-fclose1.c: Delete.
20217
f638872a
JM
202182012-12-01 Joseph Myers <joseph@codesourcery.com>
20219
20220 * manual/arith.texi (feenableexcept): Fix typo.
20221 (fedisableexcept): Likewise.
20222
48085d14
RM
202232012-11-30 Roland McGrath <roland@hack.frob.com>
20224
20225 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20226 second, differently-typed declaration, rather than a cast.
20227
1a538b9f
SP
202282012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20229
20230 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20231 * include/rpc/svc.h: ... here.
20232
d07f2ff1 202332012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20234
20235 [BZ #13013]
20236 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20237 depending n and resplen2 to catch cases where answer
20238 equals answerp2.
20239
c93ec1f0
CD
202402012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20241
20242 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20243 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20244
37db69de
MF
202452012-11-29 Mike Frysinger <vapier@gentoo.org>
20246
20247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20248
e10c4e4f
RM
202492012-11-29 Roland McGrath <roland@hack.frob.com>
20250
20251 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20252
2af1b328
JL
202532012-11-28 Jeff Law <law@redhat.com>
20254
20255 [BZ #13761]
20256 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20257 dataset_temporary. Track alloca usage into alloca_used.
20258 If dataset is large allocate and release it via malloc/free.
20259
111db5b1
FW
202602012-06-04 Florian Weimer <fweimer@redhat.com>
20261
f06cc227 20262 [BZ #14197]
111db5b1
FW
20263 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20264
dd694abd
DM
202652012-11-28 David S. Miller <davem@davemloft.net>
20266
20267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20268
9984dd01
JM
202692012-11-28 Joseph Myers <joseph@codesourcery.com>
20270
20271 [BZ #14803]
20272 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20273 of pi/2 rounded to nearest to 64 bits.
20274 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20275 nearest to 64 bits.
20276 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20277 bits.
20278
14bc93a9
JL
202792012-11-28 Jeff Law <law@redhat.com>
20280 Martin Osvald <mosvald@redhat.com>
20281
20282 [BZ #14889]
20283 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20284 * sunrpc/svc.c: Include time.h.
20285 (__svc_accept_failed): New function.
20286 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20287 any reason other than EINTR, call __svc_accept_failed.
20288 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20289 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20290
e3c6aa3a
AS
202912012-11-28 Andreas Schwab <schwab@suse.de>
20292
20293 * scripts/abilist.awk: Also handle indirect functions in .opd
20294 section.
20295
1bead169
JM
202962012-11-28 Joseph Myers <joseph@codesourcery.com>
20297
20298 [BZ #13881]
20299 * sysdeps/x86/fpu/powl_helper.c: New file.
20300 * sysdeps/x86/fpu/Makefile: Likewise.
20301 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20302 (p3): New object.
20303 (__ieee754_powl): Use __powl_helper for finite arguments except
20304 integer exponents below 8.
20305 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20306 (p3): New object.
20307 (__ieee754_powl): Use __powl_helper for finite arguments except
20308 integer exponents below 8.
20309 * math/libm-test.inc (pow_test): Add more tests and enable some
20310 previously disabled tests.
20311 * sysdeps/i386/fpu/libm-test-ulps: Update.
20312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20313
0817d63d
SP
203142012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20315 Carlos O'Donell <carlos_odonell@mentor.com>
20316
20317 * nss/makedb.c (is_prime): Assert that input is odd and greater
20318 than 4. Note that fact in a comment too.
20319 (next_prime): Add 4 to input.
20320
de2fd463
SP
203212012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20322
20323 [BZ #11741]
20324 * libio/Makefile (tests): Add test case tst-fwrite-error.
20325 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20326 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20327 * libio/tst-fwrite-error.c: New test case.
20328
c515fb51
L
203292012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20330
20331 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20332 before casting to void *.
20333 * include/libc-internal.h (__pointer_type): New macro.
20334 (__integer_if_pointer_type_sub): Likewise.
20335 (__integer_if_pointer_type): Likewise.
20336 (cast_to_integer): Likewise.
20337 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20338 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20339 before casting to atomic64_t.
20340 (atomic_exchange_acq): Likewise.
20341 (__arch_exchange_and_add_body): Likewise.
20342 (__arch_add_body): Likewise.
20343 (atomic_add_negative): Likewise.
20344 (atomic_add_zero): Likewise.
20345
4cf77aa9
JM
203462012-11-26 Joseph Myers <joseph@codesourcery.com>
20347
20348 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20349 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20350 (add_fdes): Likewise.
20351 (linear_search_fdes): Likewise.
20352 (binary_search_unencoded_fdes): Likewise.
20353
d260b3b4
AS
203542012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20355
20356 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20357
67060746
AC
203582012-11-24 Adam Conrad <adconrad@0c3.net>
20359
20360 * configure.in: Autodetect C++ header directories.
20361 * configure: Regenerated.
20362
800938a1
MF
203632012-11-23 Mike Frysinger <vapier@gentoo.org>
20364
20365 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20366
4e6e34e6
AS
203672012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20368
20369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20370
7c7feb47
JM
203712012-11-22 Joseph Myers <joseph@codesourcery.com>
20372
7184dcdf
JM
20373 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20374 LDBL_MANT_DIG == 106]: Disable some tests.
20375 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20376 Likewise.
20377 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20378 Likewise.
20379
0a42601f
JM
20380 [BZ #14871]
20381 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20382 input for small inputs. Return +/- pi/2 for large inputs.
20383 * math/libm-test.inc (atan_test): Add more tests.
20384
79c9b9fe
JM
20385 * sysdeps/generic/unwind-dw2-fde-glibc.c
20386 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20387 __attribute__ ((unused)).
20388
c60d3bf2
JM
20389 [BZ #14645]
20390 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20391 x * y if x and y are nonzero and z is zero.
20392
ef1e0867
JM
20393 [BZ #14811]
20394 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20395 nonzero exponents with absolute value below 0x1p-117 to +/-
20396 0x1p-117.
20397
1468ded3
JM
20398 [BZ #14869]
20399 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20400 up arguments below 2**-450, not just those below 2**-500.
20401 * math/libm-test.inc (hypot_test): Add another test.
20402
8e27e3cc
JM
20403 [BZ #14868]
20404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20405 Return a+b for ratio over 2**120, not 2**60.
20406 * math/libm-test.inc (hypot_test): Add another test.
20407
c9c0279b
JM
20408 * math/libm-test.inc (clog_test): Use
20409 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20410 (clog10_test): Likewise.
20411
7c7feb47
JM
20412 [BZ #6778]
20413 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20414
fff1530e
AS
204152012-11-22 Andreas Schwab <schwab@suse.de>
20416
20417 * sysdeps/i386/fpu/libm-test-ulps: Update.
20418
94558d30
PT
204192012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20420
20421 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20422 printf output with newline.
20423
7e1be741
L
204242012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20425
6bfea974
L
20426 [BZ #14865]
20427 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20428 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20429 -z nodlopen, -z initfirst and -z execstack support.
20430 * configure: Regenerated.
20431
7e1be741
L
20432 * elf/elf.h (DF_1_NODIRECT): New macro.
20433 (DF_1_IGNMULDEF): Likewise.
20434 (DF_1_NOKSYMS): Likewise.
20435 (DF_1_NOHDR): Likewise.
20436 (DF_1_EDITED): Likewise.
20437 (DF_1_NORELOC): Likewise.
20438 (DF_1_SYMINTPOSE): Likewise.
20439 (DF_1_GLOBAUDIT): Likewise.
20440 (DF_1_SINGLETON): Likewise.
20441 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20442 DT_1_SUPPORTED_MASK bits.
20443 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20444
105ce2ce
CD
204452012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20446
20447 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20448
123be9de
TS
204492012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20450
d072f3f7
TS
20451 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20452 macro.
20453
123be9de
TS
20454 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20455 (sendmmsg): Move declarations...
20456 * socket/sys/socket.h: ... here.
20457 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20458 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20459 include it from...
20460 * socket/recvmmsg.c: ... this new file.
20461 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20462 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20463 definition of __sendmmsg hidden.
20464 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20465 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20466 Move ENOSYS stub into and include it from...
20467 * socket/sendmmsg.c: ... this new file.
20468 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20469 (sysdep_routines): Move recvmmsg and sendmmsg...
20470 * socket/Makefile (routines): ... here.
20471 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20472 (GLIBC_PRIVATE): Add __sendmmsg.
20473 * include/sys/socket.h (__sendmmsg): Add declarations.
20474 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20475 sendmmsg.
20476
cf9a5d18
JM
204772012-11-20 Joseph Myers <joseph@codesourcery.com>
20478
20479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20480 variable I1 with __attribute__ ((unused)).
20481 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20482
ecd4caf9
JM
204832012-11-19 Joseph Myers <joseph@codesourcery.com>
20484
be14d48f
JM
20485 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20486 DUMMY variables with __attribute__ ((unused)).
20487
ecd4caf9
JM
20488 * bits/byteswap.h: Include <bits/types.h>.
20489 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20490
986cab95
PT
204912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20492
20493 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20494 string_t. Do not manually set errno.
20495 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20496 length with __strnlen. Make sure to both set errno and return it on
20497 failure.
20498
6d33cc9d
DM
204992012-11-19 David S. Miller <davem@davemloft.net>
20500
20501 With help from Joseph Myers.
20502 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20503 very large arguments properly.
20504 * math/libm-test.inc (atan_test): New tests.
20505 (atan2_test): New tests.
20506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20508
ee663277
JM
205092012-11-19 Joseph Myers <joseph@codesourcery.com>
20510
877f2d8e
JM
20511 [BZ #14856]
20512 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20513 Define to 3.
20514
116fc08a
JM
20515 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20516 [POSIX] (EADDRNOTAVAIL): Likewise.
20517 [POSIX] (EAFNOSUPPORT): Likewise.
20518 [POSIX] (EALREADY): Likewise.
20519 [POSIX] (ECONNABORTED): Likewise.
20520 [POSIX] (ECONNREFUSED): Likewise.
20521 [POSIX] (ECONNRESET): Likewise.
20522 [POSIX] (EDESTADDRREQ): Likewise.
20523 [POSIX] (EDQUOT): Likewise.
20524 [POSIX] (EHOSTUNREACH): Likewise.
20525 [POSIX] (EIDRM): Likewise.
20526 [POSIX] (EISCONN): Likewise.
20527 [POSIX] (ELOOP): Likewise.
20528 [POSIX] (EMULTIHOP): Likewise.
20529 [POSIX] (ENETDOWN): Likewise.
20530 [POSIX] (ENETUNREACH): Likewise.
20531 [POSIX] (ENOBUFS): Likewise.
20532 [POSIX] (ENODATA): Likewise.
20533 [POSIX] (ENOLINK): Likewise.
20534 [POSIX] (ENOMSG): Likewise.
20535 [POSIX] (ENOPROTOOPT): Likewise.
20536 [POSIX] (ENOSR): Likewise.
20537 [POSIX] (ENOSTR): Likewise.
20538 [POSIX] (ENOTCONN): Likewise.
20539 [POSIX] (ENOTSOCK): Likewise.
20540 [POSIX] (EOPNOTSUPP): Likewise.
20541 [POSIX] (EOVERFLOW): Likewise.
20542 [POSIX] (EPROTO): Likewise.
20543 [POSIX] (EPROTONOSUPPORT): Likewise.
20544 [POSIX] (EPROTOTYPE): Likewise.
20545 [POSIX] (ESTALE): Likewise.
20546 [POSIX] (ETIME): Likewise.
20547 [POSIX] (ETXTBSY): Likewise.
20548 [POSIX] (EWOULDBLOCK): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20550 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20551 [POSIX] (SEEK_CUR): Likewise.
20552 [POSIX] (SEEK_END): Likewise.
20553 [POSIX || UNIX98] (mode_t): Do not require.
20554 [POSIX] (off_t): Likewise.
20555 [POSIX] (pid_t): Likewise.
20556 [POSIX] (sys/stat.h): Do not allow header.
20557 [POSIX] (unistd.h): Likewise.
20558 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20559 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20561 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20562 require.
20563 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20564 sigevent): Specify elements.
20565 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20566 entry.
20567 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20568 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20569
a483863f
JM
20570 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20571 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20572 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20573 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20574 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20575 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20576 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20577 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20579 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20580 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20581 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20582 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20583 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20584 Likewise.
20585 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20586 Likewise.
20587 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20588 Likewise.
20589 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20590 Likewise.
20591 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20592 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20593 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20594 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20596 Specify lower bound on value.
20597 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20603 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20604 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20605 value.
20606 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20607 as optional.
20608 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20610 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20617 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20618 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20621 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20622 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20623 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20624 entry.
20625 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20626 optional.
20627 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20628 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20629 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20630 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20631 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20632 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20633 Likewise.
20634 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20635 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20636 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20637 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20638 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20639 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20641 as optional.
20642 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20644 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20645 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20646 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20647 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20648 specify as optional.
20649 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20650 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20651 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20652 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20653 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20654 [XPG3] (NL_LANGMAX): Likewise.
20655 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20656 [POSIX || XPG3] (NL_NMAX): Likewise.
20657 [POSIX || XPG3] (NL_SETMAX): Likewise.
20658 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20659 [XPG3] (NZERO): Likewise.
20660 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20661 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20662 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20663 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20664 (REG_ERANGE): Expect.
20665 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20666 optional-constant.
20667 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20668 Use (void) in prototype.
20669 [POSIX] (*_t): Allow.
20670 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20671 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20672 (WRDE_BADVAL): Expect.
20673
5ba924e3
JM
20674 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20675 expect.
20676 [XPG3 || XPG4] (O_RSYNC): Likewise.
20677 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20678 Likewise.
20679 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20680 [XPG3 || XPG4] (sigqueue): Likewise.
20681 [XPG3 || XPG4] (sigtimedwait): Likewise.
20682 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20683 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20684 [XPG3 || XPG4] (vsnprintf): Likewise.
20685 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20686 Likewise.
20687 [XPG3 || XPG4] (blksize_t): Likewise.
20688 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20689 Likewise.
20690 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20691 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20692 [XPG3 || XPG4] (struct itimerspec): Likewise.
20693 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20694 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20695 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20696 [XPG3 || XPG4] (clockid_t): Likewise.
20697 [XPG3 || XPG4] (timer_t): Likewise.
20698 [XPG3 || XPG4] (clock_getres): Likewise.
20699 [XPG3 || XPG4] (clock_gettime): Likewise.
20700 [XPG3 || XPG4] (clock_settime): Likewise.
20701 [XPG3 || XPG4] (nanosleep): Likewise.
20702 [XPG3 || XPG4] (timer_create): Likewise.
20703 [XPG3 || XPG4] (timer_delete): Likewise.
20704 [XPG3 || XPG4] (timer_gettime): Likewise.
20705 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20706 [XPG3 || XPG4] (timer_settime): Likewise.
20707 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20708 [XPG3 || XPG4] (getlogin_r): Likewise.
20709 [XPG3 || XPG4] (pread): Likewise.
20710 [XPG3 || XPG4] (pthread_atfork): Likewise.
20711 [XPG3 || XPG4] (pwrite): Likewise.
20712
ee663277
JM
20713 [BZ #14835]
20714 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20715 <bits/siginfo.h>.
20716
942caa16
PT
207172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20718
e19af380
PT
20719 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20720 finalizing MALLSTREAM.
20721
942caa16
PT
20722 * sysdeps/mach/hurd/syncfs.c: New file.
20723
cfde9b46
SP
207242012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20725
20726 [BZ #14719]
20727 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20728 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20729 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20730 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20731 (_nss_dns_gethostbyname4_r): Likewise.
20732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20733 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20734
f6da27e5
PH
207352012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20736
20737 [BZ #13763]
20738 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20739
6665d4a2
SM
207402012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20741
1f51ee92
SM
20742 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20743 * elf/cache.c (print_entry): Print ",AArch64" for
20744 FLAG_AARCH64_LIB64
20745
6665d4a2
SM
20746 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20747 * elf/cache.c (print_entry): Print ",hard-float" for
20748 FLAG_ARM_LIBHF.
20749
05b227bd
DM
207502012-11-18 David S. Miller <davem@davemloft.net>
20751
20752 With help from Joseph Myers.
20753 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20754 cutoff to 2**-13.
20755 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20756 cutoff to 2**-25.
20757 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20758 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20759 small.
20760 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20761 * math/libm-test.inc (y0_test): New tests.
20762 (y1_test): New tests.
20763 * sysdeps/i386/fpu/libm-test-ulps: Update.
20764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20766
786b0b67
AS
207672012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20768
20769 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20770 64-bit targets.
20771 * configure: Regenerated.
20772
8e18b86d
DM
207732012-11-17 David S. Miller <davem@davemloft.net>
20774
20775 [BZ #14811]
20776 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20777 nonzero exponents with absolute value below 0x1p-128 to +/-
20778 0x1p-128.
20779
531f1ae0
JM
207802012-11-17 Joseph Myers <joseph@codesourcery.com>
20781
12df29e2
JM
20782 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20783
150dc1a0
JM
20784 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20785
531f1ae0
JM
20786 * posix/getconf-speclist.c: New file.
20787 * posix/posix-envs.def: Likewise.
20788 * posix/confstr.c (START_ENV_GROUP): New macro.
20789 (END_ENV_GROUP): Likewise.
20790 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20791 (KNOWN_PRESENT_ENV_STRING): Likewise.
20792 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20793 (UNKNOWN_ENVIRONMENT): Likewise.
20794 (confstr): Include posix-envs.def instead of handling
20795 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20796 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20797 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20798 (END_ENV_GROUP): Likewise.
20799 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20800 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20801 (UNKNOWN_ENVIRONMENT): Likewise.
20802 (__sysconf): Include posix-envs.def instead of handling associated
20803 cases directly here.
20804 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20805 preprocessing getconf-speclist.c rather than running getconf or
20806 generating empty file.
20807
a93f9cbc
PT
208082012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20809
20810 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20811
d64d9f87
AL
208122012-11-16 Andrej Lajovic <natrij@gmail.com>
20813
20814 [BZ #14672]
20815 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20816
447885eb
DM
208172012-11-16 David S. Miller <davem@davemloft.net>
20818
20819 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20820 smaller than LDBL_EPSILON/2.0L, just return xm1.
20821
bcbf9830
L
208222012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20823
20824 * elf/tst-array1.c (init): Set constructor priority to 1000.
20825 (fini): Set destructor priority to 1000.
20826 * elf/tst-array2dep.c: Likewise.
20827
2b766585
SP
208282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20829
20830 [BZ #11741]
20831 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20832 (_IO_new_file_xsputn): Also return EOF if none of the input
20833 data was written when overflow failed.
20834 * libio/iopadn.c (_IO_padn): Likewise.
20835 * libio/iowpadn.c (_IO_wpadn): Likewise.
20836 * stdio-common/tst-put-error.c: Add copyright notice.
20837 (do_test): Add case for printing padded string.
20838 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20839 _IO_padn returned error.
20840 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20841 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20842 return EOF.
20843
b1848fde
SP
208442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20845
20846 * libio/libioP.h: Add comment note that the references to C++
20847 bits are now obsolete.
20848
2fd89785
MS
208492012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20850
20851 * math/libm-test.inc (check_complex): Use asprintf.
20852
e3ea5409
JM
208532012-11-14 Joseph Myers <joseph@codesourcery.com>
20854
20855 * debug/pcprofiledump.c (print_version): Update copyright year.
20856 * malloc/memusagestat.c (print_version): Likewise.
20857
2e64d265
L
208582012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20859
20860 [BZ #14831]
20861 * elf/Makefile (tests): Add tst-audit8.
20862 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20863 ($(objpfx)tst-audit8.out): New target.
20864 (tst-audit8-ENV): New variable.
20865 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20866 audit if l_reloc_result is NULL.
20867 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20868 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20869 * elf/tst-audit8.c: New file.
20870
c485e4d2
MS
208712012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20872
20873 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20874 * misc/Makefile (CFLAGS-select.c): Define.
20875 * posix/Makefile (CFLAGS-pause.c): Define.
20876
3a0d900a
DM
208772012-11-13 David S. Miller <davem@davemloft.net>
20878
20879 * crypt/Makefile: Move test targets after toplevel Rules
20880 inclusion. Grab any necessary sysdep routines when linking.
20881 * crypt/md5.c (md5_process_block): Remove define, we will always
20882 name it __md5_process_block.
20883 (md5_finish_ctx): Update md5_process_block call.
20884 (md5_stream): Likewise.
20885 (md5_process_bytes): Likewise.
20886 (md5_process_block): Rename to __md5_process_block and move to ...
20887 * crypt/md5-block.c: ... here.
20888 * crypt/sha256.c (sha256_process_block): Move to ...
20889 * crypt/sha256-block.c: ... here.
20890 * crypt/sha512.c (sha512_process_block): Move to ...
20891 * crypt/sha512-block.c: ... here.
20892 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20893 path.
20894 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20895 * sysdeps/sparc/sparc64/multiarch/Makefile
20896 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20897 crypt subdir.
20898 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20899 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20900 multiarch changes.
20901 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20902 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20903 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20904 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20905 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20906 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20907 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20908 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20909 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20910 file.
20911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20912 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20913 file.
20914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20915
8ca89318
JM
209162012-11-13 Joseph Myers <joseph@codesourcery.com>
20917
e27d476a
JM
20918 * timezone/tzselect.ksh: Update from tzcode git revision
20919 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20920 * timezone/zdump.c: Likewise.
20921 * timezone/zic.c: Likewise.
20922 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20923 in TZVERSION setting, not $(PKGVERSION).
20924 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20925 REPORT_BUGS_TO settings.
20926
8ca89318
JM
20927 [BZ #14838]
20928 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20929 macro.
20930
47594329
MS
209312012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20932
20933 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20934 detection to immediately after _FP_ROUND().
20935 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20936 bits are 0.
20937
640ac3f1
DM
209382012-11-11 David S. Miller <davem@davemloft.net>
20939
20940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20941 inttypes.h
20942 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20943 __close rather than their public counterparts.
20944
3d2577bb
JM
209452012-11-10 Joseph Myers <joseph@codesourcery.com>
20946
20947 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20948 file.
20949 [UNIX98] (sem_timedwait): Do not expect.
20950 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20951 [XPG4 || UNIX98] (sockatmark): Do not expect.
20952 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20953 (clock_getcpuclockid): Do not expect.
20954 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20955 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20956 Do not expect.
20957 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20958 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20959 [UNIX98] (vwscanf): Likewise.
20960 [UNIX98] (vswscanf): Likewise.
20961
fb1ae1ee
JM
209622012-11-09 Joseph Myers <joseph@codesourcery.com>
20963
9ec6f8bd
JM
20964 * timezone/version.h: Remove file.
20965 * timezone/README: Do not refer to version.h.
20966 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20967 $(objpfx)version.h.
20968 ($(objpfx)zdump.o): Likewise.
c3f81911 20969 ($(objpfx)version.h): New target.
9ec6f8bd 20970
0aa8f8a1
JM
20971 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20972 2012i.
20973 * timezone/README: Don't mention modification to tzselect.ksh.
20974 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20975 work on unmodified tzselect.ksh. Substitute version numbers in
20976 tzselect.ksh.
20977
4e87147f
JM
20978 * Makefile (format-me): Remove.
20979 (INSTALL): Adjust indentation. Use commands directly instead of
20980 using $(format-me).
20981
8b748aed
JM
20982 * aclocal.m4 (ACX_PKGVERSION): New macro.
20983 (ACX_BUGURL): Likewise.
20984 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20985 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20986 (REPORT_BUGS_TO): Likewise.
20987 * configure: Regenerated.
20988 * config.h.in (PKGVERSION): New macro.
20989 (REPORT_BUGS_TO): Likewise.
20990 * config.make.in (PKGVERSION): New variable.
20991 (PKGVERSION_TEXI): Likewise.
20992 (REPORT_BUGS_TO): Likewise.
20993 (REPORT_BUGS_TEXI): Likewise.
20994 * Makefile (format-me): Use -I$(common-objpfx)manual.
20995 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20996 ($(common-objpfx)manual/%): New target.
20997 (manual/%): Remove target.
20998 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20999 (print_version): Use PKGVERSION.
21000 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21001 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21002 and REPORT_BUGS_TO.
21003 ($(objpfx)xtrace): Likewise.
21004 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21005 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21006 (print_version): Use PKGVERSION.
21007 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21008 (do_version): Use PKGVERSION.
21009 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21010 REPORT_BUGS_TO.
21011 (common-ldd-rewrite): Likewise.
21012 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21013 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21014 (print_version): Use PKGVERSION.
21015 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21016 * elf/pldd.c (argp_program_bug_address): Remove variable.
21017 (more_help): New function.
21018 (argp): Use more_help.
21019 (print_version): Use PKGVERSION.
21020 * elf/sln.c (main): Use PKGVERSION.
21021 (usage): Use REPORT_BUGS_TO.
21022 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21023 (top level): Use PKGVERSION.
21024 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21025 (print_version): Use PKGVERSION.
21026 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21027 (print_version): Use PKGVERSION.
21028 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21029 (print_version): Use PKGVERSION.
21030 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21031 (print_version): Use PKGVERSION.
21032 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21033 (print_version): Use PKGVERSION.
21034 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21035 (print_version): Use PKGVERSION.
21036 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21037 and BUGURL.
21038 ($(objpfx)memusage): Likewise.
21039 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21040 (do_version): Use PKGVERSION.
21041 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21042 (print_version): Use PKGVERSION.
21043 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21044 ($PKGVERSION): New variable.
21045 ($REPORT_BUGS_TO): Likewise.
21046 (usage): Use $REPORT_BUGS_TO.
21047 (top level): Use $PKGVERSION.
21048 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21049 ($(objpfx)pkgvers.texi): New rule.
21050 ($(objpfx)stamp-pkgvers): Likewise.
21051 * manual/install.texi: Include pkgvers.texi.
21052 (--with-pkgversion): Document new configure option.
21053 (--with-bugurl): Likewise.
21054 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21055 than necessarily for this particular distribution. Use
21056 REPORT_BUGS_TO for where to report bugs.
21057 * INSTALL: Regenerated.
21058 * manual/libc.texinfo: Include pkgvers.texi.
21059 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21060 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21061 (print_version): Use PKGVERSION.
21062 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21063 (print_version): Use PKGVERSION.
21064 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21065 (print_version): Use PKGVERSION.
21066 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21067 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21068 macro.
21069 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21070 (print_version): Use PKGVERSION.
21071 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21072 (print_version): Use PKGVERSION.
21073 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21074 and PKGVERSION.
21075
92e4b6a9
JM
21076 * timezone/checktab.awk: Update from tzcode 2012i.
21077 * timezone/ialloc.c: Likewise.
21078 * timezone/private.h: Likewise.
21079 * timezone/scheck.c: Likewise.
21080 * timezone/tzfile.h: Likewise.
21081 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21082 (TZVERSION): Hardcode tzcode version number.
21083 * timezone/zdump.c: Update from tzcode 2012i.
21084 * timezone/zic.c: Likewise.
21085 * timezone/version.h: New file.
21086 * timezone/README: Describe version.h. Update upstream location.
21087
9bde902c
JM
21088 [BZ #14824]
21089 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21090 (mktemp): Enable declaration.
21091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21095 Likewise.
21096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21097 Likewise.
21098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21099 Likewise.
21100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21101 Likewise.
21102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21103 Likewise.
21104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21105 Likewise.
21106
fb1ae1ee
JM
21107 [BZ #14821]
21108 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21109 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21110 for copies of such integer values.
21111 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21112 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21113
2c1adbcb
AJ
211142012-11-09 Andreas Jaeger <aj@suse.de>
21115
21116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21117 definitions and declarations that are provided by
21118 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21119
d0f8457e
AK
211202012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21121
3a235abb 21122 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21123 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21124 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21125 definition.
21126
57241e26
MS
211272012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21128
21129 * elf/elf.h: Update comment before AArch64 relocations.
21130
60e8270d
DM
211312012-11-07 David S. Miller <davem@davemloft.net>
21132
21133 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21134 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21135 (__start_context): Declare.
21136 (__makecontext_ret): Delete.
21137 (__makecontext): Hook up __start_context instead of
21138 __makecontext_ret.
21139 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21140 (sysdep_routines): Add __start_context when in stdlib.
21141
0fbb0fbc
JM
211422012-11-07 Joseph Myers <joseph@codesourcery.com>
21143
21144 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21145 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21146 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21147 hardcoded "nm".
21148 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21149 (READELF): New variable. Use it instead of hardcoded "readelf".
21150
eb48db7e
L
211512012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21152
21153 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21154 * sysdeps/x86/Makefile: Here.
21155 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21156 * sysdeps/x86/tst-xmmymm.sh: This.
21157
05bcf62a
JM
211582012-11-07 Joseph Myers <joseph@codesourcery.com>
21159
c4b6cf53
JM
21160 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21161 expectations.
21162 [UNIX98] (pthread_barrier_t): Do not expect.
21163 [UNIX98] (pthread_barrierattr_t): Likewise.
21164 [UNIX98] (pthread_spinlock_t): Likewise.
21165 [UNIX98] (pthread_barrier_destroy): Likewise.
21166 [UNIX98] (pthread_barrier_init): Likewise.
21167 [UNIX98] (pthread_barrier_wait): Likewise.
21168 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21169 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21170 [UNIX98] (pthread_barrierattr_init): Likewise.
21171 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21172 [UNIX98] (pthread_getcpuclockid): Likewise.
21173 [UNIX98] (pthread_mutex_timedlock): Likewise.
21174 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21175 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21176 [UNIX98] (pthread_sigmask): Likewise.
21177 [UNIX98] (pthread_spin_destroy): Likewise.
21178 [UNIX98] (pthread_spin_init): Likewise.
21179 [UNIX98] (pthread_spin_lock): Likewise.
21180 [UNIX98] (pthread_spin_trylock): Likewise.
21181 [UNIX98] (pthread_spin_unlock): Likewise.
21182 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21183 Do not expect.
21184 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21185 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21186 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21187 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21188 [XPG3 || XPG4] (pthread_key_t): Likewise.
21189 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21190 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21191 [XPG3 || XPG4] (pthread_once_t): Likewise.
21192 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21193 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21194 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21195 [XPG3 || XPG4] (pthread_t): Likewise.
21196
cbe6e120
JM
21197 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21198 not expect.
21199 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21200
1b126443
JM
21201 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21202 Change function return type to int.
21203
b961a573
JM
21204 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21205 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21206 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21207 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21208 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21209 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21210 [!POSIX] (posix_madvise): Likewise.
21211 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21212 && !UNIX98].
21213 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21214 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21215 (mode_t): Likewise.
21216 (posix_mem_offset): Likewise.
21217 (posix_typed_mem_get_info): Likewise.
21218 (posix_typed_mem_open): Likewise.
21219
9e188909
JM
21220 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21221 Change condition to [XOPEN2K8].
21222
05bcf62a
JM
21223 * conform/conformtest.pl: Preprocess allow-header data with -x c
21224 instead of from stdin.
21225 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21226 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21227 [C99-based standards] (cerfc): Likewise.
21228 [C99-based standards] (cexp2): Likewise.
21229 [C99-based standards] (cexpm1): Likewise.
21230 [C99-based standards] (clog10): Likewise.
21231 [C99-based standards] (clog1p): Likewise.
21232 [C99-based standards] (clog2): Likewise.
21233 [C99-based standards] (clgamma): Likewise.
21234 [C99-based standards] (ctgamma): Likewise.
21235 [C99-based standards] (cerff): Likewise.
21236 [C99-based standards] (cerfcf): Likewise.
21237 [C99-based standards] (cexp2f): Likewise.
21238 [C99-based standards] (cexpm1f): Likewise.
21239 [C99-based standards] (clog10f): Likewise.
21240 [C99-based standards] (clog1pf): Likewise.
21241 [C99-based standards] (clog2f): Likewise.
21242 [C99-based standards] (clgammaf): Likewise.
21243 [C99-based standards] (ctgammaf): Likewise.
21244 [C99-based standards] (cerfl): Likewise.
21245 [C99-based standards] (cerfcl): Likewise.
21246 [C99-based standards] (cexp2l): Likewise.
21247 [C99-based standards] (cexpm1l): Likewise.
21248 [C99-based standards] (clog10l): Likewise.
21249 [C99-based standards] (clog1pl): Likewise.
21250 [C99-based standards] (clog2l): Likewise.
21251 [C99-based standards] (clgammal): Likewise.
21252 [C99-based standards] (ctgammal): Likewise.
21253 * conform/data/inttypes.h-data [C99-based standards]: Include
21254 stdint.h-data. Remove all expectations for stdint.h contents.
21255 [C99-based standards] (PRI*): Do not allow.
21256 [C99-based standards] (SCN*): Likewise.
21257 [C99-based standards] (*_t): Likewise.
21258 [C99-based-standards] (PRId8): Expect macro.
21259 [C99-based-standards] (PRIi8): Likewise.
21260 [C99-based-standards] (PRIo8): Likewise.
21261 [C99-based-standards] (PRIu8): Likewise.
21262 [C99-based-standards] (PRIx8): Likewise.
21263 [C99-based-standards] (PRIX8): Likewise.
21264 [C99-based-standards] (SCNd8): Likewise.
21265 [C99-based-standards] (SCNi8): Likewise.
21266 [C99-based-standards] (SCNo8): Likewise.
21267 [C99-based-standards] (SCNu8): Likewise.
21268 [C99-based-standards] (SCNx8): Likewise.
21269 [C99-based-standards] (PRIdLEAST8): Likewise.
21270 [C99-based-standards] (PRIiLEAST8): Likewise.
21271 [C99-based-standards] (PRIoLEAST8): Likewise.
21272 [C99-based-standards] (PRIuLEAST8): Likewise.
21273 [C99-based-standards] (PRIxLEAST8): Likewise.
21274 [C99-based-standards] (PRIXLEAST8): Likewise.
21275 [C99-based-standards] (SCNdLEAST8): Likewise.
21276 [C99-based-standards] (SCNiLEAST8): Likewise.
21277 [C99-based-standards] (SCNoLEAST8): Likewise.
21278 [C99-based-standards] (SCNuLEAST8): Likewise.
21279 [C99-based-standards] (SCNxLEAST8): Likewise.
21280 [C99-based-standards] (PRIdFAST8): Likewise.
21281 [C99-based-standards] (PRIiFAST8): Likewise.
21282 [C99-based-standards] (PRIoFAST8): Likewise.
21283 [C99-based-standards] (PRIuFAST8): Likewise.
21284 [C99-based-standards] (PRIxFAST8): Likewise.
21285 [C99-based-standards] (PRIXFAST8): Likewise.
21286 [C99-based-standards] (SCNdFAST8): Likewise.
21287 [C99-based-standards] (SCNiFAST8): Likewise.
21288 [C99-based-standards] (SCNoFAST8): Likewise.
21289 [C99-based-standards] (SCNuFAST8): Likewise.
21290 [C99-based-standards] (SCNxFAST8): Likewise.
21291 [C99-based-standards] (PRId16): Likewise.
21292 [C99-based-standards] (PRIi16): Likewise.
21293 [C99-based-standards] (PRIo16): Likewise.
21294 [C99-based-standards] (PRIu16): Likewise.
21295 [C99-based-standards] (PRIx16): Likewise.
21296 [C99-based-standards] (PRIX16): Likewise.
21297 [C99-based-standards] (SCNd16): Likewise.
21298 [C99-based-standards] (SCNi16): Likewise.
21299 [C99-based-standards] (SCNo16): Likewise.
21300 [C99-based-standards] (SCNu16): Likewise.
21301 [C99-based-standards] (SCNx16): Likewise.
21302 [C99-based-standards] (PRIdLEAST16): Likewise.
21303 [C99-based-standards] (PRIiLEAST16): Likewise.
21304 [C99-based-standards] (PRIoLEAST16): Likewise.
21305 [C99-based-standards] (PRIuLEAST16): Likewise.
21306 [C99-based-standards] (PRIxLEAST16): Likewise.
21307 [C99-based-standards] (PRIXLEAST16): Likewise.
21308 [C99-based-standards] (SCNdLEAST16): Likewise.
21309 [C99-based-standards] (SCNiLEAST16): Likewise.
21310 [C99-based-standards] (SCNoLEAST16): Likewise.
21311 [C99-based-standards] (SCNuLEAST16): Likewise.
21312 [C99-based-standards] (SCNxLEAST16): Likewise.
21313 [C99-based-standards] (PRIdFAST16): Likewise.
21314 [C99-based-standards] (PRIiFAST16): Likewise.
21315 [C99-based-standards] (PRIoFAST16): Likewise.
21316 [C99-based-standards] (PRIuFAST16): Likewise.
21317 [C99-based-standards] (PRIxFAST16): Likewise.
21318 [C99-based-standards] (PRIXFAST16): Likewise.
21319 [C99-based-standards] (SCNdFAST16): Likewise.
21320 [C99-based-standards] (SCNiFAST16): Likewise.
21321 [C99-based-standards] (SCNoFAST16): Likewise.
21322 [C99-based-standards] (SCNuFAST16): Likewise.
21323 [C99-based-standards] (SCNxFAST16): Likewise.
21324 [C99-based-standards] (PRId32): Likewise.
21325 [C99-based-standards] (PRIi32): Likewise.
21326 [C99-based-standards] (PRIo32): Likewise.
21327 [C99-based-standards] (PRIu32): Likewise.
21328 [C99-based-standards] (PRIx32): Likewise.
21329 [C99-based-standards] (PRIX32): Likewise.
21330 [C99-based-standards] (SCNd32): Likewise.
21331 [C99-based-standards] (SCNi32): Likewise.
21332 [C99-based-standards] (SCNo32): Likewise.
21333 [C99-based-standards] (SCNu32): Likewise.
21334 [C99-based-standards] (SCNx32): Likewise.
21335 [C99-based-standards] (PRIdLEAST32): Likewise.
21336 [C99-based-standards] (PRIiLEAST32): Likewise.
21337 [C99-based-standards] (PRIoLEAST32): Likewise.
21338 [C99-based-standards] (PRIuLEAST32): Likewise.
21339 [C99-based-standards] (PRIxLEAST32): Likewise.
21340 [C99-based-standards] (PRIXLEAST32): Likewise.
21341 [C99-based-standards] (SCNdLEAST32): Likewise.
21342 [C99-based-standards] (SCNiLEAST32): Likewise.
21343 [C99-based-standards] (SCNoLEAST32): Likewise.
21344 [C99-based-standards] (SCNuLEAST32): Likewise.
21345 [C99-based-standards] (SCNxLEAST32): Likewise.
21346 [C99-based-standards] (PRIdFAST32): Likewise.
21347 [C99-based-standards] (PRIiFAST32): Likewise.
21348 [C99-based-standards] (PRIoFAST32): Likewise.
21349 [C99-based-standards] (PRIuFAST32): Likewise.
21350 [C99-based-standards] (PRIxFAST32): Likewise.
21351 [C99-based-standards] (PRIXFAST32): Likewise.
21352 [C99-based-standards] (SCNdFAST32): Likewise.
21353 [C99-based-standards] (SCNiFAST32): Likewise.
21354 [C99-based-standards] (SCNoFAST32): Likewise.
21355 [C99-based-standards] (SCNuFAST32): Likewise.
21356 [C99-based-standards] (SCNxFAST32): Likewise.
21357 [C99-based-standards] (PRId64): Likewise.
21358 [C99-based-standards] (PRIi64): Likewise.
21359 [C99-based-standards] (PRIo64): Likewise.
21360 [C99-based-standards] (PRIu64): Likewise.
21361 [C99-based-standards] (PRIx64): Likewise.
21362 [C99-based-standards] (PRIX64): Likewise.
21363 [C99-based-standards] (SCNd64): Likewise.
21364 [C99-based-standards] (SCNi64): Likewise.
21365 [C99-based-standards] (SCNo64): Likewise.
21366 [C99-based-standards] (SCNu64): Likewise.
21367 [C99-based-standards] (SCNx64): Likewise.
21368 [C99-based-standards] (PRIdLEAST64): Likewise.
21369 [C99-based-standards] (PRIiLEAST64): Likewise.
21370 [C99-based-standards] (PRIoLEAST64): Likewise.
21371 [C99-based-standards] (PRIuLEAST64): Likewise.
21372 [C99-based-standards] (PRIxLEAST64): Likewise.
21373 [C99-based-standards] (PRIXLEAST64): Likewise.
21374 [C99-based-standards] (SCNdLEAST64): Likewise.
21375 [C99-based-standards] (SCNiLEAST64): Likewise.
21376 [C99-based-standards] (SCNoLEAST64): Likewise.
21377 [C99-based-standards] (SCNuLEAST64): Likewise.
21378 [C99-based-standards] (SCNxLEAST64): Likewise.
21379 [C99-based-standards] (PRIdFAST64): Likewise.
21380 [C99-based-standards] (PRIiFAST64): Likewise.
21381 [C99-based-standards] (PRIoFAST64): Likewise.
21382 [C99-based-standards] (PRIuFAST64): Likewise.
21383 [C99-based-standards] (PRIxFAST64): Likewise.
21384 [C99-based-standards] (PRIXFAST64): Likewise.
21385 [C99-based-standards] (SCNdFAST64): Likewise.
21386 [C99-based-standards] (SCNiFAST64): Likewise.
21387 [C99-based-standards] (SCNoFAST64): Likewise.
21388 [C99-based-standards] (SCNuFAST64): Likewise.
21389 [C99-based-standards] (SCNxFAST64): Likewise.
21390 [C99-based-standards] (PRIdMAX): Likewise.
21391 [C99-based-standards] (PRIiMAX): Likewise.
21392 [C99-based-standards] (PRIoMAX): Likewise.
21393 [C99-based-standards] (PRIuMAX): Likewise.
21394 [C99-based-standards] (PRIxMAX): Likewise.
21395 [C99-based-standards] (PRIXMAX): Likewise.
21396 [C99-based-standards] (SCNdMAX): Likewise.
21397 [C99-based-standards] (SCNiMAX): Likewise.
21398 [C99-based-standards] (SCNoMAX): Likewise.
21399 [C99-based-standards] (SCNuMAX): Likewise.
21400 [C99-based-standards] (SCNxMAX): Likewise.
21401 [C99-based-standards] (PRIdPTR): Likewise.
21402 [C99-based-standards] (PRIiPTR): Likewise.
21403 [C99-based-standards] (PRIoPTR): Likewise.
21404 [C99-based-standards] (PRIuPTR): Likewise.
21405 [C99-based-standards] (PRIxPTR): Likewise.
21406 [C99-based-standards] (PRIXPTR): Likewise.
21407 [C99-based-standards] (SCNdPTR): Likewise.
21408 [C99-based-standards] (SCNiPTR): Likewise.
21409 [C99-based-standards] (SCNoPTR): Likewise.
21410 [C99-based-standards] (SCNuPTR): Likewise.
21411 [C99-based-standards] (SCNxPTR): Likewise.
21412 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21413 allow.
21414 * conform/data/stdint.h-data: Update comments to clarify
21415 requirements.
21416 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21417 type.
21418 [C99-based standards] (INT8_MAX): Likewise.
21419 [C99-based standards] (INT16_MIN): Likewise.
21420 [C99-based standards] (INT16_MAX): Likewise.
21421 [C99-based standards] (INT32_MIN): Likewise.
21422 [C99-based standards] (INT32_MAX): Likewise.
21423 [C99-based standards] (INT64_MIN): Likewise.
21424 [C99-based standards] (INT64_MAX): Likewise.
21425 [C99-based standards] (UINT8_MAX): Likewise.
21426 [C99-based standards] (UINT16_MAX): Likewise.
21427 [C99-based standards] (UINT32_MAX): Likewise.
21428 [C99-based standards] (UINT64_MAX): Likewise.
21429 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21430 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21431 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21432 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21433 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21434 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21435 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21436 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21437 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21438 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21439 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21440 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21441 [C99-based standards] (INT_FAST8_MIN): Likewise.
21442 [C99-based standards] (INT_FAST8_MAX): Likewise.
21443 [C99-based standards] (INT_FAST16_MIN): Likewise.
21444 [C99-based standards] (INT_FAST16_MAX): Likewise.
21445 [C99-based standards] (INT_FAST32_MIN): Likewise.
21446 [C99-based standards] (INT_FAST32_MAX): Likewise.
21447 [C99-based standards] (INT_FAST64_MIN): Likewise.
21448 [C99-based standards] (INT_FAST64_MAX): Likewise.
21449 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21450 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21451 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21452 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21453 [C99-based standards] (INTPTR_MIN): Likewise.
21454 [C99-based standards] (INTPTR_MAX): Likewise.
21455 [C99-based standards] (UINTPTR_MAX): Likewise.
21456 [C99-based standards] (INTMAX_MIN): Likewise.
21457 [C99-based standards] (INTMAX_MAX): Likewise.
21458 [C99-based standards] (UINTMAX_MAX): Likewise.
21459 [C99-based standards] (PTRDIFF_MIN): Likewise.
21460 [C99-based standards] (PTRDIFF_MAX): Likewise.
21461 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21462 [C99-based standards] (SIZE_MAX): Likewise.
21463 [C99-based standards] (WCHAR_MAX): Likewise.
21464 [C99-based standards] (WINT_MAX): Likewise.
21465 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21466 constraint on value.
21467 [C99-based standards] (WCHAR_MIN): Likewise.
21468 [C99-based standards] (WINT_MIN): Likewise.
21469 [C99-based standards] (*_t): Allow.
21470 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21471 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21472 Include math.h-data and complex.h-data. Remove all expectations
21473 of math.h and complex.h contents.
21474 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21475 at end of line.
21476 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21477 (struct tm): Expect tag.
21478 [C99-based-standards] (wcstof): Expect function.
21479 [C99-based-standards] (wcstold): Likewise.
21480 [C99-based-standards] (wcstoll): Likewise.
21481 [C99-based-standards] (wcstoull): Likewise.
21482 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21483 macro-int-constant. Specify type.
21484 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21485 constraint on value.
21486 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21487 Specify type.
21488 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21489 Specify value.
21490 [ISO C standards]: Do not allow headers.
21491 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21492 wcs[abcdefghijklmnopqrstuvwxyz]*.
21493 [ISO C standards] (*_t): Do not allow.
21494 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21495 Expect function.
21496 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21497 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21498 Specify type.
21499 [ISO C standards]: Do not allow headers.
21500 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21501 is[abcdefghijklmnopqrstuvwxyz]*.
21502 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21503 to[abcdefghijklmnopqrstuvwxyz]*.
21504 [ISO C standards] (*_t): Do not allow.
21505 * conform/data/stdalign.h-data: New file.
21506 * conform/data/stdbool.h-data: Likewise.
21507 * conform/data/stdnoreturn.h-data: Likewise.
21508
7514feb8
RM
215092012-11-07 Roland McGrath <roland@hack.frob.com>
21510
21511 [BZ #14815]
21512 * manual/filesys.texi (Directory Entries): Typo fix.
21513 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21514
19b2ecfc
MS
215152012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21516
21517 * elf/elf.h (EM_AARCH64): New macro.
21518 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21519 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21520 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21521 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21522 (R_AARCH64_TLSDESC): Likewise.
21523 (NT_ARM_TLS): Likewise.
21524 (NT_ARM_HW_BREAK): Likewise.
21525 (NT_ARM_HW_WATCH): Likewise.
21526
60e235ee
JM
215272012-11-07 Joseph Myers <joseph@codesourcery.com>
21528
21529 [BZ #14811]
21530 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21531 (__ieee754_powl): Saturate nonzero exponents with absolute value
21532 below 0x1p-79 to +/- 0x1p-79.
21533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21534 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21535 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21536 nonzero exponents with absolute value below 0x1p-32 to +/-
21537 0x1p-32.
21538 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21539 (__ieee754_powl): Saturate nonzero exponents with absolute value
21540 below 0x1p-79 to +/- 0x1p-79.
21541 * math/libm-test.inc (pow_test): Add more tests.
21542
0ab234b7
AK
215432012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21544
21545 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21546 _dl_s390_cap_flags with kernel. Increase string length.
21547 (_dl_s390_platforms): Add z196 and zEC12.
21548
45832f74
JM
215492012-11-07 Joseph Myers <joseph@codesourcery.com>
21550
21551 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21552 Change XOPEN21K to XOPEN2K.
21553
19218757
MK
215542012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21555
21556 * string/memmove.c: Use memcpy when possible.
21557
c5f45721
AJ
215582012-11-06 Andreas Jaeger <aj@suse.de>
21559
21560 * po/eo.po: Update from translation team.
21561
82477c28
JM
215622012-11-06 Joseph Myers <joseph@codesourcery.com>
21563
21564 [BZ #14793]
21565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21566 exponent and small x and y exponents, scale x or y up. Increase
21567 by 2 the exponent used in scaling up.
21568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21569 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21570 * math/libm-test.inc (fma_test): Add more tests.
21571 (fma_test_towardzero): Likewise.
21572 (fma_test_downward): Likewise.
21573 (fma_test_upward): Likewise.
21574
99252c8c
JM
215752012-11-05 Joseph Myers <joseph@codesourcery.com>
21576
acfa885f
JM
21577 [BZ #14805]
21578 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21579 fenv_t *.
21580
99252c8c
JM
21581 [BZ #14801]
21582 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21583 namespace for names of struct fields.
21584 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21585 fenv_t fields.
21586 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21587 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21588
d6d98dea
ST
215892012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21590
21591 [BZ #3665]
21592 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21593
e10bb107
TS
215942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21595
21596 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21597 PTR_DEMANGLE.
21598
21599 [BZ #5246]
21600 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21601 PTR_DEMANGLE.
21602
a0c2940d
JM
216032012-11-04 Joseph Myers <joseph@codesourcery.com>
21604
21605 [BZ #14797]
21606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21607 definitely overflow as x * y not x * y + z.
21608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21610 * math/libm-test.inc (fma_test): Add more tests.
21611 (fma_test_towardzero): Likewise.
21612 (fma_test_downward): Likewise.
21613 (fma_test_upward): Likewise.
21614
b830319d
TS
216152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21616
21617 [BZ #157]
21618
21619 * include/stub-tag.h: Remove file.
21620 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21621 '#include' of it.
21622 * manual/maint.texi (Porting): Don't reference it.
21623 * Makerules ($(objpfx)stubs): Likewise.
21624 * dirent/closedir.c: Don't include <stub-tag.h>.
21625 * dirent/dirfd.c: Likewise.
21626 * dirent/fdopendir.c: Likewise.
21627 * dirent/getdents.c: Likewise.
21628 * dirent/getdents64.c: Likewise.
21629 * dirent/opendir.c: Likewise.
21630 * dirent/readdir.c: Likewise.
21631 * dirent/readdir64.c: Likewise.
21632 * dirent/readdir64_r.c: Likewise.
21633 * dirent/readdir_r.c: Likewise.
21634 * dirent/rewinddir.c: Likewise.
21635 * dirent/seekdir.c: Likewise.
21636 * dirent/telldir.c: Likewise.
21637 * gmon/profil.c: Likewise.
21638 * grp/setgroups.c: Likewise.
21639 * inet/if_index.c: Likewise.
21640 * io/access.c: Likewise.
21641 * io/chdir.c: Likewise.
21642 * io/chmod.c: Likewise.
21643 * io/chown.c: Likewise.
21644 * io/close.c: Likewise.
21645 * io/dup.c: Likewise.
21646 * io/dup2.c: Likewise.
21647 * io/dup3.c: Likewise.
21648 * io/euidaccess.c: Likewise.
21649 * io/faccessat.c: Likewise.
21650 * io/fchdir.c: Likewise.
21651 * io/fchmod.c: Likewise.
21652 * io/fchmodat.c: Likewise.
21653 * io/fchown.c: Likewise.
21654 * io/fchownat.c: Likewise.
21655 * io/fcntl.c: Likewise.
21656 * io/flock.c: Likewise.
21657 * io/fstatfs.c: Likewise.
21658 * io/fstatfs64.c: Likewise.
21659 * io/fstatvfs.c: Likewise.
21660 * io/fstatvfs64.c: Likewise.
21661 * io/futimens.c: Likewise.
21662 * io/fxstat.c: Likewise.
21663 * io/fxstat64.c: Likewise.
21664 * io/fxstatat.c: Likewise.
21665 * io/fxstatat64.c: Likewise.
21666 * io/getcwd.c: Likewise.
21667 * io/isatty.c: Likewise.
21668 * io/lchmod.c: Likewise.
21669 * io/lchown.c: Likewise.
21670 * io/link.c: Likewise.
21671 * io/linkat.c: Likewise.
21672 * io/lseek.c: Likewise.
21673 * io/lseek64.c: Likewise.
21674 * io/lxstat64.c: Likewise.
21675 * io/mkdir.c: Likewise.
21676 * io/mkdirat.c: Likewise.
21677 * io/mkfifo.c: Likewise.
21678 * io/mkfifoat.c: Likewise.
21679 * io/open.c: Likewise.
21680 * io/open64.c: Likewise.
21681 * io/openat.c: Likewise.
21682 * io/openat64.c: Likewise.
21683 * io/pipe.c: Likewise.
21684 * io/pipe2.c: Likewise.
21685 * io/poll.c: Likewise.
21686 * io/posix_fadvise.c: Likewise.
21687 * io/posix_fadvise64.c: Likewise.
21688 * io/posix_fallocate.c: Likewise.
21689 * io/posix_fallocate64.c: Likewise.
21690 * io/read.c: Likewise.
21691 * io/readlink.c: Likewise.
21692 * io/readlinkat.c: Likewise.
21693 * io/rmdir.c: Likewise.
21694 * io/sendfile.c: Likewise.
21695 * io/sendfile64.c: Likewise.
21696 * io/statfs.c: Likewise.
21697 * io/statfs64.c: Likewise.
21698 * io/statvfs.c: Likewise.
21699 * io/statvfs64.c: Likewise.
21700 * io/symlink.c: Likewise.
21701 * io/symlinkat.c: Likewise.
21702 * io/ttyname.c: Likewise.
21703 * io/ttyname_r.c: Likewise.
21704 * io/umask.c: Likewise.
21705 * io/unlink.c: Likewise.
21706 * io/unlinkat.c: Likewise.
21707 * io/utime.c: Likewise.
21708 * io/utimensat.c: Likewise.
21709 * io/write.c: Likewise.
21710 * io/xmknod.c: Likewise.
21711 * io/xmknodat.c: Likewise.
21712 * io/xstat.c: Likewise.
21713 * io/xstat64.c: Likewise.
21714 * login/getpt.c: Likewise.
21715 * login/grantpt.c: Likewise.
21716 * login/unlockpt.c: Likewise.
21717 * math/e_acoshl.c: Likewise.
21718 * math/e_acosl.c: Likewise.
21719 * math/e_asinl.c: Likewise.
21720 * math/e_atan2l.c: Likewise.
21721 * math/e_atanhl.c: Likewise.
21722 * math/e_coshl.c: Likewise.
21723 * math/e_expl.c: Likewise.
21724 * math/e_fmodl.c: Likewise.
21725 * math/e_gammal_r.c: Likewise.
21726 * math/e_hypotl.c: Likewise.
21727 * math/e_j0l.c: Likewise.
21728 * math/e_j1l.c: Likewise.
21729 * math/e_jnl.c: Likewise.
21730 * math/e_lgammal_r.c: Likewise.
21731 * math/e_log10l.c: Likewise.
21732 * math/e_log2l.c: Likewise.
21733 * math/e_logl.c: Likewise.
21734 * math/e_powl.c: Likewise.
21735 * math/e_rem_pio2l.c: Likewise.
21736 * math/e_sinhl.c: Likewise.
21737 * math/e_sqrtl.c: Likewise.
21738 * math/fclrexcpt.c: Likewise.
21739 * math/fedisblxcpt.c: Likewise.
21740 * math/feenablxcpt.c: Likewise.
21741 * math/fegetenv.c: Likewise.
21742 * math/fegetexcept.c: Likewise.
21743 * math/fegetround.c: Likewise.
21744 * math/feholdexcpt.c: Likewise.
21745 * math/fesetenv.c: Likewise.
21746 * math/fesetround.c: Likewise.
21747 * math/feupdateenv.c: Likewise.
21748 * math/fgetexcptflg.c: Likewise.
21749 * math/fraiseexcpt.c: Likewise.
21750 * math/fsetexcptflg.c: Likewise.
21751 * math/ftestexcept.c: Likewise.
21752 * math/k_cosl.c: Likewise.
21753 * math/k_rem_pio2l.c: Likewise.
21754 * math/k_sinl.c: Likewise.
21755 * math/k_tanl.c: Likewise.
21756 * math/s_asinhl.c: Likewise.
21757 * math/s_atanl.c: Likewise.
21758 * math/s_cbrtl.c: Likewise.
21759 * math/s_erfl.c: Likewise.
21760 * math/s_expm1l.c: Likewise.
21761 * math/s_log1pl.c: Likewise.
21762 * math/s_tanhl.c: Likewise.
21763 * misc/acct.c: Likewise.
21764 * misc/brk.c: Likewise.
21765 * misc/chflags.c: Likewise.
21766 * misc/chroot.c: Likewise.
21767 * misc/fchflags.c: Likewise.
21768 * misc/fgetxattr.c: Likewise.
21769 * misc/flistxattr.c: Likewise.
21770 * misc/fremovexattr.c: Likewise.
21771 * misc/fsetxattr.c: Likewise.
21772 * misc/fsync.c: Likewise.
21773 * misc/ftruncate.c: Likewise.
21774 * misc/futimes.c: Likewise.
21775 * misc/futimesat.c: Likewise.
21776 * misc/getdomain.c: Likewise.
21777 * misc/getdtsz.c: Likewise.
21778 * misc/gethostid.c: Likewise.
21779 * misc/gethostname.c: Likewise.
21780 * misc/getloadavg.c: Likewise.
21781 * misc/getpagesize.c: Likewise.
21782 * misc/getsysstats.c: Likewise.
21783 * misc/getxattr.c: Likewise.
21784 * misc/gtty.c: Likewise.
21785 * misc/ioctl.c: Likewise.
21786 * misc/lgetxattr.c: Likewise.
21787 * misc/listxattr.c: Likewise.
21788 * misc/llistxattr.c: Likewise.
21789 * misc/lremovexattr.c: Likewise.
21790 * misc/lsetxattr.c: Likewise.
21791 * misc/lutimes.c: Likewise.
21792 * misc/madvise.c: Likewise.
21793 * misc/mincore.c: Likewise.
21794 * misc/mlock.c: Likewise.
21795 * misc/mlockall.c: Likewise.
21796 * misc/mmap.c: Likewise.
21797 * misc/mprotect.c: Likewise.
21798 * misc/msync.c: Likewise.
21799 * misc/munlock.c: Likewise.
21800 * misc/munlockall.c: Likewise.
21801 * misc/munmap.c: Likewise.
21802 * misc/preadv.c: Likewise.
21803 * misc/preadv64.c: Likewise.
21804 * misc/ptrace.c: Likewise.
21805 * misc/pwritev.c: Likewise.
21806 * misc/pwritev64.c: Likewise.
21807 * misc/readv.c: Likewise.
21808 * misc/reboot.c: Likewise.
21809 * misc/remap_file_pages.c: Likewise.
21810 * misc/removexattr.c: Likewise.
21811 * misc/revoke.c: Likewise.
21812 * misc/select.c: Likewise.
21813 * misc/setdomain.c: Likewise.
21814 * misc/setegid.c: Likewise.
21815 * misc/seteuid.c: Likewise.
21816 * misc/sethostid.c: Likewise.
21817 * misc/sethostname.c: Likewise.
21818 * misc/setregid.c: Likewise.
21819 * misc/setreuid.c: Likewise.
21820 * misc/setxattr.c: Likewise.
21821 * misc/sstk.c: Likewise.
21822 * misc/stty.c: Likewise.
21823 * misc/swapoff.c: Likewise.
21824 * misc/swapon.c: Likewise.
21825 * misc/sync.c: Likewise.
21826 * misc/syncfs.c: Likewise.
21827 * misc/syscall.c: Likewise.
21828 * misc/truncate.c: Likewise.
21829 * misc/ualarm.c: Likewise.
21830 * misc/usleep.c: Likewise.
21831 * misc/ustat.c: Likewise.
21832 * misc/utimes.c: Likewise.
21833 * misc/vhangup.c: Likewise.
21834 * misc/writev.c: Likewise.
21835 * posix/_exit.c: Likewise.
21836 * posix/alarm.c: Likewise.
21837 * posix/execve.c: Likewise.
21838 * posix/fexecve.c: Likewise.
21839 * posix/fork.c: Likewise.
21840 * posix/fpathconf.c: Likewise.
21841 * posix/getaddrinfo.c: Likewise.
21842 * posix/getegid.c: Likewise.
21843 * posix/geteuid.c: Likewise.
21844 * posix/getgid.c: Likewise.
21845 * posix/getgroups.c: Likewise.
21846 * posix/getlogin.c: Likewise.
21847 * posix/getlogin_r.c: Likewise.
21848 * posix/getpgid.c: Likewise.
21849 * posix/getpid.c: Likewise.
21850 * posix/getppid.c: Likewise.
21851 * posix/getresgid.c: Likewise.
21852 * posix/getresuid.c: Likewise.
21853 * posix/getsid.c: Likewise.
21854 * posix/getuid.c: Likewise.
21855 * posix/glob64.c: Likewise.
21856 * posix/nanosleep.c: Likewise.
21857 * posix/pathconf.c: Likewise.
21858 * posix/pause.c: Likewise.
21859 * posix/posix_madvise.c: Likewise.
21860 * posix/pread.c: Likewise.
21861 * posix/pread64.c: Likewise.
21862 * posix/pwrite.c: Likewise.
21863 * posix/pwrite64.c: Likewise.
21864 * posix/sched_getaffinity.c: Likewise.
21865 * posix/sched_getp.c: Likewise.
21866 * posix/sched_gets.c: Likewise.
21867 * posix/sched_primax.c: Likewise.
21868 * posix/sched_primin.c: Likewise.
21869 * posix/sched_rr_gi.c: Likewise.
21870 * posix/sched_setaffinity.c: Likewise.
21871 * posix/sched_setp.c: Likewise.
21872 * posix/sched_sets.c: Likewise.
21873 * posix/sched_yield.c: Likewise.
21874 * posix/setgid.c: Likewise.
21875 * posix/setlogin.c: Likewise.
21876 * posix/setpgid.c: Likewise.
21877 * posix/setresgid.c: Likewise.
21878 * posix/setresuid.c: Likewise.
21879 * posix/setsid.c: Likewise.
21880 * posix/setuid.c: Likewise.
21881 * posix/sleep.c: Likewise.
21882 * posix/spawni.c: Likewise.
21883 * posix/sysconf.c: Likewise.
21884 * posix/times.c: Likewise.
21885 * posix/wait.c: Likewise.
21886 * posix/wait3.c: Likewise.
21887 * posix/wait4.c: Likewise.
21888 * posix/waitpid.c: Likewise.
21889 * resolv/gai_sigqueue.c: Likewise.
21890 * resource/getpriority.c: Likewise.
21891 * resource/getrlimit.c: Likewise.
21892 * resource/getrusage.c: Likewise.
21893 * resource/nice.c: Likewise.
21894 * resource/setpriority.c: Likewise.
21895 * resource/setrlimit.c: Likewise.
21896 * resource/ulimit.c: Likewise.
21897 * rt/aio_cancel.c: Likewise.
21898 * rt/aio_fsync.c: Likewise.
21899 * rt/aio_read.c: Likewise.
21900 * rt/aio_sigqueue.c: Likewise.
21901 * rt/aio_suspend.c: Likewise.
21902 * rt/aio_write.c: Likewise.
21903 * rt/clock_getres.c: Likewise.
21904 * rt/clock_gettime.c: Likewise.
21905 * rt/clock_nanosleep.c: Likewise.
21906 * rt/clock_settime.c: Likewise.
21907 * rt/lio_listio.c: Likewise.
21908 * rt/mq_close.c: Likewise.
21909 * rt/mq_getattr.c: Likewise.
21910 * rt/mq_notify.c: Likewise.
21911 * rt/mq_open.c: Likewise.
21912 * rt/mq_receive.c: Likewise.
21913 * rt/mq_send.c: Likewise.
21914 * rt/mq_setattr.c: Likewise.
21915 * rt/mq_timedreceive.c: Likewise.
21916 * rt/mq_timedsend.c: Likewise.
21917 * rt/mq_unlink.c: Likewise.
21918 * rt/shm_open.c: Likewise.
21919 * rt/shm_unlink.c: Likewise.
21920 * rt/timer_create.c: Likewise.
21921 * rt/timer_delete.c: Likewise.
21922 * rt/timer_getoverr.c: Likewise.
21923 * rt/timer_gettime.c: Likewise.
21924 * rt/timer_settime.c: Likewise.
21925 * setjmp/__longjmp.c: Likewise.
21926 * setjmp/setjmp.c: Likewise.
21927 * signal/kill.c: Likewise.
21928 * signal/killpg.c: Likewise.
21929 * signal/raise.c: Likewise.
21930 * signal/sigaction.c: Likewise.
21931 * signal/sigaltstack.c: Likewise.
21932 * signal/sigblock.c: Likewise.
21933 * signal/sigignore.c: Likewise.
21934 * signal/sigintr.c: Likewise.
21935 * signal/signal.c: Likewise.
21936 * signal/sigpause.c: Likewise.
21937 * signal/sigpending.c: Likewise.
21938 * signal/sigqueue.c: Likewise.
21939 * signal/sigreturn.c: Likewise.
21940 * signal/sigset.c: Likewise.
21941 * signal/sigsetmask.c: Likewise.
21942 * signal/sigstack.c: Likewise.
21943 * signal/sigsuspend.c: Likewise.
21944 * signal/sigtimedwait.c: Likewise.
21945 * signal/sigvec.c: Likewise.
21946 * signal/sigwait.c: Likewise.
21947 * signal/sigwaitinfo.c: Likewise.
21948 * signal/sysv_signal.c: Likewise.
21949 * socket/accept.c: Likewise.
21950 * socket/accept4.c: Likewise.
21951 * socket/bind.c: Likewise.
21952 * socket/connect.c: Likewise.
21953 * socket/getpeername.c: Likewise.
21954 * socket/getsockname.c: Likewise.
21955 * socket/getsockopt.c: Likewise.
21956 * socket/isfdtype.c: Likewise.
21957 * socket/listen.c: Likewise.
21958 * socket/recv.c: Likewise.
21959 * socket/recvfrom.c: Likewise.
21960 * socket/recvmsg.c: Likewise.
21961 * socket/send.c: Likewise.
21962 * socket/sendmsg.c: Likewise.
21963 * socket/sendto.c: Likewise.
21964 * socket/setsockopt.c: Likewise.
21965 * socket/shutdown.c: Likewise.
21966 * socket/sockatmark.c: Likewise.
21967 * socket/socket.c: Likewise.
21968 * socket/socketpair.c: Likewise.
21969 * stdio-common/ctermid.c: Likewise.
21970 * stdio-common/cuserid.c: Likewise.
21971 * stdio-common/remove.c: Likewise.
21972 * stdio-common/rename.c: Likewise.
21973 * stdio-common/renameat.c: Likewise.
21974 * stdio-common/tempname.c: Likewise.
21975 * stdlib/getcontext.c: Likewise.
21976 * stdlib/makecontext.c: Likewise.
21977 * stdlib/setcontext.c: Likewise.
21978 * stdlib/swapcontext.c: Likewise.
21979 * stdlib/system.c: Likewise.
21980 * streams/fattach.c: Likewise.
21981 * streams/fdetach.c: Likewise.
21982 * streams/getmsg.c: Likewise.
21983 * streams/getpmsg.c: Likewise.
21984 * streams/putmsg.c: Likewise.
21985 * streams/putpmsg.c: Likewise.
21986 * sysdeps/unix/bsd/getpt.c: Likewise.
21987 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21988 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21989 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21991 Likewise.
21992 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21993 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21994 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21995 * sysvipc/msgctl.c: Likewise.
21996 * sysvipc/msgget.c: Likewise.
21997 * sysvipc/msgrcv.c: Likewise.
21998 * sysvipc/msgsnd.c: Likewise.
21999 * sysvipc/semctl.c: Likewise.
22000 * sysvipc/semget.c: Likewise.
22001 * sysvipc/semop.c: Likewise.
22002 * sysvipc/semtimedop.c: Likewise.
22003 * sysvipc/shmat.c: Likewise.
22004 * sysvipc/shmctl.c: Likewise.
22005 * sysvipc/shmdt.c: Likewise.
22006 * sysvipc/shmget.c: Likewise.
22007 * termios/tcdrain.c: Likewise.
22008 * termios/tcflow.c: Likewise.
22009 * termios/tcflush.c: Likewise.
22010 * termios/tcgetattr.c: Likewise.
22011 * termios/tcgetpgrp.c: Likewise.
22012 * termios/tcsendbrk.c: Likewise.
22013 * termios/tcsetattr.c: Likewise.
22014 * termios/tcsetpgrp.c: Likewise.
22015 * time/adjtime.c: Likewise.
22016 * time/clock.c: Likewise.
22017 * time/getitimer.c: Likewise.
22018 * time/gettimeofday.c: Likewise.
22019 * time/setitimer.c: Likewise.
22020 * time/settimeofday.c: Likewise.
22021 * time/stime.c: Likewise.
22022 * time/time.c: Likewise.
22023
220242012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22025
a20492cf
PT
22026 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22027 /usr/old/bin.
22028
72e182e3
PT
22029 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22030 instead of spaces.
22031 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22032
fbeafede
JM
220332012-11-03 Joseph Myers <joseph@codesourcery.com>
22034
5b5b04d6
JM
22035 [BZ #14796]
22036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22037 FE_TONEAREST before applying Dekker multiplication and Knuth
22038 addition. Clear inexact exceptions and check for exact zero
22039 results afterwards.
22040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22041 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22043 * math/libm-test.inc (fma_test): Add more tests.
22044 (fma_test_towardzero): Likewise.
22045 (fma_test_downward): Likewise.
22046 (fma_test_upward): Likewise.
22047 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22048 function.
22049 (libc_fesetround): New macro.
22050 (libc_fesetroundf): Likewise.
22051 (libc_fesetroundl): Likewise.
22052 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22053 function.
22054 (libc_fesetround_387): Likewise.
22055 (libc_fesetroundf): New macro.
22056 (libc_fesetround): Likewise.
22057 (libc_fesetroundl): Likewise.
22058 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22059 function.
22060 (libc_fesetroundf): New macro.
22061 (libc_fesetround): Likewise.
22062 (libc_fesetroundl): Likewise.
22063 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22064 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22065 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22066 libm_hidden_ver.
22067 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22068 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22069 libm_hidden_def.
22070 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22071 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22072 libm_hidden_ver.
22073 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22074 libm_hidden_def.
22075
fbeafede
JM
22076 [BZ #3439]
22077 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22078 integer constant usable in #if and use that to give value to enum
22079 constant.
22080 (FE_DIVBYZERO): Likewise.
22081 (FE_UNDERFLOW): Likewise.
22082 (FE_OVERFLOW): Likewise.
22083 (FE_INVALID): Likewise.
22084 (FE_INVALID_SNAN): Likewise.
22085 (FE_INVALID_ISI): Likewise.
22086 (FE_INVALID_IDI): Likewise.
22087 (FE_INVALID_ZDZ): Likewise.
22088 (FE_INVALID_IMZ): Likewise.
22089 (FE_INVALID_COMPARE): Likewise.
22090 (FE_INVALID_SOFTWARE): Likewise.
22091 (FE_INVALID_SQRT): Likewise.
22092 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22093 (FE_TONEAREST): Likewise.
22094 (FE_TOWARDZERO): Likewise.
22095 (FE_UPWARD): Likewise.
22096 (FE_DOWNWARD): Likewise.
22097 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22098 (FE_DIVBYZERO): Likewise.
22099 (FE_OVERFLOW): Likewise.
22100 (FE_UNDERFLOW): Likewise.
22101 (FE_INEXACT): Likewise.
22102 (FE_TONEAREST): Likewise.
22103 (FE_DOWNWARD): Likewise.
22104 (FE_UPWARD): Likewise.
22105 (FE_TOWARDZERO): Likewise.
22106 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22107 (FE_UNDERFLOW): Likewise.
22108 (FE_OVERFLOW): Likewise.
22109 (FE_DIVBYZERO): Likewise.
22110 (FE_INVALID): Likewise.
22111 (FE_TONEAREST): Likewise.
22112 (FE_TOWARDZERO): Likewise.
22113 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22114 (FE_OVERFLOW): Likewise.
22115 (FE_UNDERFLOW): Likewise.
22116 (FE_DIVBYZERO): Likewise.
22117 (FE_INEXACT): Likewise.
22118 (FE_TONEAREST): Likewise.
22119 (FE_TOWARDZERO): Likewise.
22120 (FE_UPWARD): Likewise.
22121 (FE_DOWNWARD): Likewise.
22122 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22123 (FE_DIVBYZERO): Likewise.
22124 (FE_OVERFLOW): Likewise.
22125 (FE_UNDERFLOW): Likewise.
22126 (FE_INEXACT): Likewise.
22127 (FE_TONEAREST): Likewise.
22128 (FE_DOWNWARD): Likewise.
22129 (FE_UPWARD): Likewise.
22130 (FE_TOWARDZERO): Likewise.
22131
105ca950
CM
221322012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22133
22134 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22135
a542b389
AS
221362012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22137
22138 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22139 commands. Quote $PWD.
22140 (blacklist_exports): Don't use remove_newlines. Replace "declare
22141 -x" by "export".
22142 (remove_newlines): Remove.
22143
f62c8abc
L
221442012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22145
22146 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22147 * stdlib/stdlib.h (atof): Moved to ...
22148 * include/bits/stdlib-float.h: Here. New file.
22149 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22150 * stdlib/bits/stdlib-float.h: New file.
22151 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22152 -mno-sse -mno-mmx.
22153 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22154 <xmmintrin.h>.
22155
0155d5b2
JM
221562012-11-02 Joseph Myers <joseph@codesourcery.com>
22157
a68d0680
JM
22158 * conform/conformtest.pl (@headers): Add fenv.h.
22159 * conform/data/fenv.h-data: New file.
22160 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22161 include of <math/fenv.h>.
22162
caf7f573
JM
22163 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22164 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22165 && !UNIX98]. Enables tests for XOPEN2K8.
22166 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22167 POSIX2008]: Likewise.
22168
6c073ad6
JM
22169 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22170 (struct rusage): Do not expect type or its members.
22171
0155d5b2
JM
22172 [BZ #3439]
22173 * math/math.h (FP_NAN): Define macro to integer constant usable in
22174 #if and use that to give value to enum constant.
22175 (FP_INFINITE): Likewise.
22176 (FP_ZERO): Likewise.
22177 (FP_SUBNORMAL): Likewise.
22178 (FP_NORMAL): Likewise.
22179
b5dcacb4
AS
221802012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22181
22182 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22183 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22184 arguments.
22185
f7934be8
RM
221862012-11-02 Roland McGrath <roland@hack.frob.com>
22187
22188 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22189 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22190 autoconf-time if not.
22191 * configure.in: Remove AC_PREREQ.
22192
d7d08bde
TMQMF
221932012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22194
22195 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22196 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22197 of the internal implementation.
22198
dcdae19a
JM
221992012-11-02 Joseph Myers <joseph@codesourcery.com>
22200
22201 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22202 except include of <misc/sys/syslog.h>.
22203
d6cffd3e
AS
222042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22205
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22207 function returns with a NULL context exit with zero.
22208
b3563932
TMQMF
222092012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22210
22211 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22212
b288a93d
L
222132012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22214
22215 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22216 (run_program_cmd): This.
22217 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22218 (tst_langinfo): New variable. Use it.
22219
a2421a68
SAS
222202012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22221
22222 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22223 floating point opcodes.
22224
6f796e1b
TS
222252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22226
7402596b
TS
22227 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22228 variable.
22229
d0d4f868
TS
22230 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22231
6f796e1b
TS
22232 * sysdeps/mach/hurd/powerpc: Remove directory.
22233 * sysdeps/mach/powerpc: Likewise.
22234
4da224a2
AS
222352012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22236
22237 * scripts/check-local-headers.sh: Ignore c++ headers.
22238
341dd673
TS
222392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22240
22241 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22242 __libc_cleanup_region_start argument.
22243
473611b2
JM
222442012-11-01 Joseph Myers <joseph@codesourcery.com>
22245
22246 [BZ #14784]
22247 [BZ #14785]
22248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22249 x * y using scaling, not as x * y + z.
22250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22251 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22252 * math/libm-test.inc (fma_test): Add more tests.
22253 (fma_test_towardzero): Likewise.
22254 (fma_test_downward): Likewise.
22255 (fma_test_upward): Likewise.
22256
4078da3d
TS
222572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22258
22259 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22260
903252aa
JM
222612012-10-31 Joseph Myers <joseph@codesourcery.com>
22262
22263 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22264 New variable.
22265
cbc818d0
TS
222662012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22267
22268 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22269
5a03cb1e
AS
222702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22271
22272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22273 Fix sort order.
22274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22275 Likewise.
22276
90aff2ff
TMQMF
222772012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22278
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22280 Fix the order of the list for glibc 2.17.
22281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22282 Likewise.
22283
1818fcb7
AS
222842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22285
22286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22287
ef82f4da
JM
222882012-10-31 Joseph Myers <joseph@codesourcery.com>
22289
16a0e2ec
JM
22290 [BZ #14610]
22291 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22292 for low part of x being zero before using __atanl (y).
22293 * math/libm-test.inc (atan2_test): Add another test.
22294
0eb69512
JM
22295 * manual/install.texi (Configuring and compiling): Document
22296 general use of test-wrapper and test-wrapper-env.
22297 * INSTALL: Regenerated.
22298
ef82f4da
JM
22299 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22300 (__fma): Do not extract and scale down low bits on after-rounding
22301 systems when result rounded to normal precision would have normal
22302 exponent.
22303 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22304 (__fmal): Do not extract and scale down low bits on after-rounding
22305 systems when result rounded to normal precision would have normal
22306 exponent.
22307 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22308 (__fmal): Do not extract and scale down low bits on after-rounding
22309 systems when result rounded to normal precision would have normal
22310 exponent.
22311 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22312 macro.
22313 (fma_test): Add more tests.
22314 (fma_test_towardzero): Likewise.
22315 (fma_test_downward): Likewise.
22316 (fma_test_upward): Likewise.
22317
954ef0d9
L
223182012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22319
22320 * sysdeps/i386/tininess.h: Renamed to ...
22321 * sysdeps/x86/tininess.h: This.
22322 * sysdeps/x86_64/tininess.h: Removed.
22323
df61ffb2
JM
223242012-10-30 Joseph Myers <joseph@codesourcery.com>
22325
22326 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22327 input. Use $(build-program-cmd).
22328 ($(objpfx)tst-array1-static.out): Likewise.
22329 ($(objpfx)tst-array2.out): Likewise.
22330 ($(objpfx)tst-array3.out): Likewise.
22331 ($(objpfx)tst-array4.out): Likewise.
22332 ($(objpfx)tst-array5.out): Likewise.
22333 ($(objpfx)tst-array5-static.out): Likewise.
22334
01767843
CM
223352012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22336
47cc1490
CM
22337 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22338 if defined.
22339
01767843
CM
22340 * nss/nsswitch.h (nss_interface_function): Provide new
22341 macro for use with NSS functions.
22342 * grp/initgroups.c: Use new macro.
22343 * nss/getXXbyYY.c: Likewise.
22344 * nss/getXXbyYY_r.c: Likewise.
22345 * nss/getXXent.c: Likewise.
22346 * nss/getXXent_r.c: Likewise.
22347 * sysdeps/posix/getaddrinfo.c: Likewise.
22348
8321aa97
AJ
223492012-10-30 Andreas Jaeger <aj@suse.de>
22350
22351 * po/ru.po: Update Russion translation from translation project.
22352
2a27fd6d
JM
223532012-10-30 Joseph Myers <joseph@codesourcery.com>
22354
8627a232
JM
22355 [BZ #14152]
22356 [BZ #14783]
22357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22358 result and shift together with sticky bit instead of replicating
22359 round-to-nearest rounding.
22360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22361 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22362 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22363 missing underflow exceptions.
22364 (fma_test_towardzero): Add more tests.
22365 (fma_test_downward): Likewise.
22366 (fma_test_upward): Likewise.
22367
2a27fd6d
JM
22368 [BZ #14047]
22369 * sysdeps/generic/tininess.h: New file.
22370 * sysdeps/i386/tininess.h: Likewise.
22371 * sysdeps/sh/tininess.h: Likewise.
22372 * sysdeps/x86_64/tininess.h: Likewise.
22373 * stdlib/tst-strtod-underflow.c: Likewise.
22374 * stdlib/tst-tininess.c: Likewise.
22375 * stdlib/strtod_l.c: Include <tininess.h>.
22376 (round_and_return): Do not set errno for exact underflow cases.
22377 Force an underflow exception when setting errno for underflow.
22378 Determine underflow based on rounding to normal precision if
22379 TININESS_AFTER_ROUNDING.
22380 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22381 ERANGE for exact underflow cases.
22382 * stdlib/Makefile (tests): Add tst-tininess and
22383 tst-strtod-underflow.
22384 ($(objpfx)tst-tininess): Use $(link-libm).
22385 ($(objpfx)tst-strtod-underflow): Likewise.
22386
e7170363
AJ
223872012-10-30 Andreas Jaeger <aj@suse.de>
22388
e5088dc6
AJ
22389 [BZ#14767]
22390 * elf/Makefile (tests): Remove conditional for have-initfini-array
22391 since this is now always required and the variable does not exist
22392 anymore.
22393 (tests-static): Likewise.
22394 (modules-names): Likewise.
22395
e7170363 22396 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22397
22398 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22399 merged with constructor/destructor.
22400 (init_array): Likewise.
22401 * elf/tst-array2dep.c (fini_array): Likewise.
22402 (init_array): Likewise.
22403
60457d8a
MF
224042012-10-29 Mike Frysinger <vapier@gentoo.org>
22405
22406 * manual/message.texi: Delete @cartouche tags.
22407
8bece752
PT
224082012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22409
94ce799f
PT
22410 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22411 EOPNOTSUPP.
22412 * sysdeps/mach/hurd/fsync.c: Likewise.
22413
8bece752
PT
22414 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22415 [_POSIX_REALTIME_SIGNALS]: Change condition to
22416 [_POSIX_REALTIME_SIGNALS > 0].
22417
86ebe6b1
AJ
224182012-10-27 Andreas Jaeger <aj@suse.de>
22419
22420 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22421 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22423 [__WORDSIZE != 64]: Likewise.
22424
54399c08
L
224252012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22426
22427 * iconvdata/tst-table.sh: Remove ${SHELL}.
22428 * iconvdata/tst-tables.sh: Likewise.
22429
e2211bed
DM
224302012-10-25 David S. Miller <davem@davemloft.net>
22431
22432 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22433 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22434 of strtoull.
22435
f303f97c
DM
22436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22437 ifunc-impl-list.c
22438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22439 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22440 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22441 file.
22442
1e9d84cd
RM
224432012-10-25 Roland McGrath <roland@hack.frob.com>
22444
22445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22446 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22447 __getdirentries.
22448
df381762
JM
224492012-10-25 Joseph Myers <joseph@codesourcery.com>
22450 Jim Blandy <jimb@codesourcery.com>
22451
22452 * scripts/cross-test-ssh.sh: New file.
22453 * manual/install.texi (Configuring and compiling): Document use of
22454 cross-test-ssh.sh.
22455 * INSTALL: Regenerated.
22456
bff64913
PT
224572012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22458
22459 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22460 EOPNOTSUPP.
22461
25fe8932
JM
224622012-10-25 Joseph Myers <joseph@codesourcery.com>
22463
22464 * Makeconfig (run-program-prefix): Fix comment.
22465
cc1290d0
JM
224662012-10-24 Joseph Myers <joseph@codesourcery.com>
22467 Jim Blandy <jimb@codesourcery.com>
22468
22469 * Makeconfig (test-wrapper): New variable,
22470 (test-wrapper-env): Likewise.
22471 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22472 (run-built-tests): Define to yes.
22473 (run-program-prefix): Use $(test-wrapper).
22474 (built-program-cmd): Likewise.
22475 * Rules (make-test-out): Use $(test-wrapper-env) and
22476 $(host-built-program-cmd).
22477 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22478 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22479 tst-pathopt.sh.
22480 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22481 $(test-wrapper-env) to tst-rtld-load-self.sh.
22482 ($(objpfx)order2.out): Use $(test-wrapper).
22483 ($(objpfx)tst-initorder.out): Likewise.
22484 ($(objpfx)tst-initorder2.out): Likewise.
22485 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22486 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22487 (test_wrapper_env): New variable. Use it to run ld.so.
22488 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22489 Use it to run ld.so.
22490 (test_wrapper_env): Likewise.
22491 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22492 $(test-wrapper) to run-iconv-test.sh.
22493 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22494 (ICONV): Use $test_wrapper.
22495 * posix/Makefile ($(objpfx)globtest.out): Pass
22496 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22497 globtest.sh, not $(run-program-prefix).
22498 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22499 (test_wrapper): Likewise.
22500 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22501 set together with run_via_rtld_prefix.
22502 (run_program_prefix): Define in terms of test_wrapper and
22503 run_via_rtld_prefix.
22504
6e6249d0
RM
225052012-10-24 Roland McGrath <roland@hack.frob.com>
22506
22507 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22508 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22509 Targets removed.
22510
22511 [BZ #14743]
22512 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22513 Declare __clock_getres, __clock_gettime, __clock_settime,
22514 __clock_nanosleep, and __clock_getcpuclockid.
22515 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22516 Remove librt_hidden_def (clock_gettime).
22517 * sysdeps/unix/clock_gettime.c: Likewise.
22518 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22519 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22520 * rt/clock_getres.c: Define __clock_getres as an alias.
22521 * sysdeps/posix/clock_getres.c: Likewise.
22522 * rt/clock_settime.c: Define __clock_settime as an alias.
22523 * sysdeps/unix/clock_settime.c: Likewise.
22524 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22525 * sysdeps/unix/clock_nanosleep.c: Likewise.
22526 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22527 * rt/clock-compat.c: New file.
22528 * rt/Makefile (librt-routines): Add clock-compat and move
22529 $(clock-routines) to ...
22530 (routines): ... here, new variable.
22531 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22532 Don't add get_clockfreq here.
22533 * rt/Versions (libc: GLIBC_2.17): New version set.
22534 Add clock_* symbols here.
22535 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22536 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22537 (GLIBC_2.17): Add clock_* symbols.
22538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22542 Likewise.
22543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22544 Likewise.
22545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22549 * NEWS: Mention the move.
22550
22551 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22552 Use __open, __read, __close rather than their public counterparts.
22553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22554 (__get_clockfreq_via_cpuinfo): Likewise.
22555 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22556 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22557
22558 * config.h.in (HAVE_IFUNC): New #undef.
22559 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22560 was successful.
22561 * configure: Regenerated.
22562
0cae3f4b
MF
225632012-10-24 Mike Frysinger <vapier@gentoo.org>
22564
22565 * configure.in: Move READELF check to start of file.
22566 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22567 libc_cv_asm_gnu_indirect_function in the process.
22568 * configure: Regenerated.
22569
8175a253
MF
225702012-10-24 Mike Frysinger <vapier@gentoo.org>
22571
22572 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22573 send the output to /dev/null.
22574 (libc_cv_cc_with_libunwind): Likewise.
22575 (libc_cv_as_noexecstack): Likewise.
22576 * configure: Regenerate.
22577
0708a7d1
JM
225782012-10-24 Joseph Myers <joseph@codesourcery.com>
22579
10b40d85
JM
22580 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22581
0708a7d1
JM
22582 * posix/globtest.sh (TMPDIR): Do not set.
22583 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22584 (testout): Likewise.
22585
9fddec1a
AJ
225862012-10-24 Andreas Jaeger <aj@suse.de>
22587
3a8db22f
AJ
22588 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22589 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22590 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22591 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22592 posix_fadvise64, posix_fallocate64.
22593
9fddec1a
AJ
22594 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22595 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22596 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22597 Likewise.
22598 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22599 Likewise.
22600 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22601
22602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22603 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22604 <bits/fcntl-linux.h>.
22605 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22606
22607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22608 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22609 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22610 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22611 [__WORDSIZE != 64]: Likewise.
22612
ebfd1bbd
JM
226132012-10-23 Joseph Myers <joseph@codesourcery.com>
22614
03ac099f
JM
22615 * Makeconfig (run-built-tests): New variable.
22616 * Rules [$(cross-compiling) = yes]: Change condition to
22617 [$(run-built-tests) = no].
22618 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22619 to [$(run-built-tests) = yes].
22620 * elf/Makefile [$(cross-compiling) = no]: Likewise
22621 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22622 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22623 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22624 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22625 * io/Makefile [$(cross-compiling) = no]: Likewise.
22626 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22627 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22628 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22629 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22630 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22631 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22632 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22633 * string/Makefile [$(cross-compiling) = no]: Likewise.
22634
ebfd1bbd
JM
22635 * posix/Makefile ($(objpfx)globtest.out): Pass
22636 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22637 $(rtld-installed-name).
22638 * posix/globtest.sh (elf_objpfx): Remove variable.
22639 (rtld_installed_name): Likewise.
22640 (library_path): Likewise.
22641 (run_program_prefix): New variable. Use for running globtest
22642 binary.
22643
166bca24
JB
226442012-10-23 Jim Blandy <jimb@codesourcery.com>
22645 Joseph Myers <joseph@codesourcery.com>
22646
22647 * Makeconfig (host-built-program-cmd): New variable.
22648 * elf/Makefile (tst-stackguard1-ARGS): Use
22649 $(host-built-program-cmd).
22650 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22651 (tst-spawn-ARGS): Likewise.
22652 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22653
88866099
JM
226542012-10-23 Joseph Myers <joseph@codesourcery.com>
22655 Jim Blandy <jimb@codesourcery.com>
22656
22657 * Makeconfig (run-via-rtld-prefix): New variable.
22658 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22659 (built-program-cmd): Likewise.
22660
b4b4c296
AJ
226612012-10-22 Andreas Jaeger <aj@suse.de>
22662
22663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22664 __O_RSYNC if it exists, otherwise to O_SYNC.
22665
6fb54a22
JB
226662012-10-22 Jim Blandy <jimb@codesourcery.com>
22667 Joseph Myers <joseph@codesourcery.com>
22668
22669 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22670 /dev/null.
22671 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22672 from /dev/null
22673 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22674 /dev/null.
22675
481b90b9
AJ
226762012-10-22 Andreas Jaeger <aj@suse.de>
22677
2a0e2669
AJ
22678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22679 Define always.
22680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22681
76e38f9a
AJ
22682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22683 bits/fcntl-linux.h.
22684
7cd37b43
AJ
22685 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22686 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22687
481b90b9
AJ
22688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22689 to __O_LARGEFILE.
22690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22691 to __O_LARGEFILE.
22692
aba75984
JB
226932012-10-21 Jim Blandy <jimb@codesourcery.com>
22694 Joseph Myers <joseph@codesourcery.com>
22695
22696 * config.make.in (NM): New variable.
22697
88d4247f
AJ
226982012-10-21 Andreas Jaeger <aj@suse.de>
22699
22700 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22701 definitions and declarations that are provided by
22702 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22703
f2eed205
L
227042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22705
22706 [BZ #14683]
22707 * elf/Makefile (tests-static): Add tst-leaks1-static.
22708 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22709 ($(objpfx)tst-leaks1-static): New rule.
22710 ($(objpfx)tst-leaks1-static-mem): Likewise.
22711 (tst-leaks1-static-ENV): New macro.
22712 * elf/dl-open.c (dl_open_worker): Check the main application
22713 only if SHARED is defined.
22714 * elf/tst-leaks1-static.c: New file.
22715
335e6931
AJ
227162012-10-20 Andreas Jaeger <aj@suse.de>
22717
22718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22719 generic values for Linux.
22720 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22721 and declarations that are provided by <bits/fcntl-linux.h> and
22722 include <bits/fcntl-linux.h>.
22723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22725
ac5c94d3
RM
227262012-10-20 Roland McGrath <roland@hack.frob.com>
22727
22728 * io/fcntl.h: Move include of <bits/types.h> to the top and
22729 include it unconditionally.
22730
de54b33a
L
227312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22732
228cfb01
L
22733 * wcsmbs/Makefile (tests-ifunc): New variable.
22734 (tests): Add $(tests-ifunc).
22735 * wcsmbs/test-wcschr-ifunc.c: New file.
22736 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22737 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22738 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22739 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22740 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22741
69f07e5f
L
22742 * string/Makefile (tests-ifunc): New variable.
22743 (tests): Add $(tests-ifunc).
22744 * string/test-memccpy.c (TEST_NAME): New macro.
22745 * string/test-memchr.c (TEST_NAME): Likewise.
22746 * string/test-memcmp.c (TEST_NAME): Likewise.
22747 * string/test-memcpy.c (TEST_NAME): Likewise.
22748 * string/test-memmem.c (TEST_NAME): Likewise.
22749 * string/test-memmove.c (TEST_NAME): Likewise.
22750 * string/test-memset.c (TEST_NAME): Likewise.
22751 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22752 * string/test-stpcpy.c (TEST_NAME): Likewise.
22753 * string/test-stpncpy.c (TEST_NAME): Likewise.
22754 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22755 * string/test-strcasestr.c (TEST_NAME): Likewise.
22756 * string/test-strcat.c (TEST_NAME): Likewise.
22757 * string/test-strchr.c (TEST_NAME): Likewise.
22758 * string/test-strcmp.c(TEST_NAME): Likewise.
22759 * string/test-strcpy.c (TEST_NAME): Likewise.
22760 * string/test-strcspn.c (TEST_NAME): Likewise.
22761 * string/test-strlen.c (TEST_NAME): Likewise.
22762 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22763 * string/test-strncmp.c (TEST_NAME): Likewise.
22764 * string/test-strncpy.c (TEST_NAME): Likewise.
22765 * string/test-strnlen.c (TEST_NAME): Likewise.
22766 * string/test-strpbrk.c (TEST_NAME): Likewise.
22767 * string/test-strrchr.c (TEST_NAME): Likewise.
22768 * string/test-strspn.c (TEST_NAME): Likewise.
22769 * string/test-strstr.c (TEST_NAME): Likewise.
22770 * string/test-bcopy-ifunc.c: New file.
22771 * string/test-bzero-ifunc.c: Likewise.
22772 * string/test-memccpy-ifunc.c: Likewise.
22773 * string/test-memchr-ifunc.c: Likewise.
22774 * string/test-memcmp-ifunc.c: Likewise.
22775 * string/test-memcpy-ifunc.c: Likewise.
22776 * string/test-memmem-ifunc.c: Likewise.
22777 * string/test-memmove-ifunc.c: Likewise.
22778 * string/test-mempcpy-ifunc.c: Likewise.
22779 * string/test-memset-ifunc.c: Likewise.
22780 * string/test-rawmemchr-ifunc.c: Likewise.
22781 * string/test-stpcpy-ifunc.c: Likewise.
22782 * string/test-stpncpy-ifunc.c: Likewise.
22783 * string/test-strcasecmp-ifunc.c: Likewise.
22784 * string/test-strcasestr-ifunc.c: Likewise.
22785 * string/test-strcat-ifunc.c: Likewise.
22786 * string/test-strchr-ifunc.c: Likewise.
22787 * string/test-strchrnul-ifunc.c: Likewise.
22788 * string/test-strcmp-ifunc.c: Likewise.
22789 * string/test-strcpy-ifunc.c: Likewise.
22790 * string/test-strcspn-ifunc.c: Likewise.
22791 * string/test-strlen-ifunc.c: Likewise.
22792 * string/test-strncasecmp-ifunc.c: Likewise.
22793 * string/test-strncat-ifunc.c: Likewise.
22794 * string/test-strncmp-ifunc.c: Likewise.
22795 * string/test-strncpy-ifunc.c: Likewise.
22796 * string/test-strnlen-ifunc.c: Likewise.
22797 * string/test-strpbrk-ifunc.c: Likewise.
22798 * string/test-strrchr-ifunc.c: Likewise.
22799 * string/test-strspn-ifunc.c: Likewise.
22800 * string/test-strstr-ifunc.c: Likewise.
22801
de54b33a
L
22802 * debug/Makefile (tests-ifunc): New variable.
22803 (tests): Add $(tests-ifunc).
22804 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22805 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22806 * debug/test-stpcpy_chk-ifunc.c: New file.
22807 * debug/test-strcpy_chk-ifunc.c: Likewise.
22808
88481c16
SP
228092012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22810
22811 [BZ #13601]
22812 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22813 header is not read in.
22814
135948bd
JM
228152012-10-19 Joseph Myers <joseph@codesourcery.com>
22816
89f1c388
JM
22817 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22818 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22819 directly. Pass built executable to script as
22820 $(built-program-cmd).
22821 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22822 $testprogram without using LD_LIBRARY_PATH and $ldso.
22823
e40a0d21
JM
22824 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22825 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22826 $(rtld-installed-name).
22827 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22828 (rtld_installed_name): Likewise.
22829 (library_path): Likewise.
22830 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22831 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22832 $(run-program-prefix) to tst-tables.sh.
22833 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22834 it to run tst-table-from and tst-table-to.
22835 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22836 Pass it to tst-table.sh.
22837 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22838 $(run-program-prefix) to tst-gettext.sh.
22839 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22840 tst-translit.sh.
22841 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22842 tst-gettext2.sh.
22843 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22844 to run tst-gettext.
22845 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22846 to run tst-gettext2.
22847 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22848 to run tst-translit.
22849 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22850 $(run-program-prefix) to tst-mtrace.sh.
22851 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22852 to run tst-mtrace.
22853 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22854 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22855 $(rtld-installed-name).
22856 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22857 (rtld_installed_name): Likewise.
22858 (run_program_prefix): New variable. Use it to run wordexp-test.
22859
728e272a
JM
22860 * Makeconfig (ARCH): Remove all definitions.
22861 (machine): Likewise.
22862 [ARCH]: Remove conditional code.
22863 [!objdir]: Give error.
22864 [!objdir] (objpfx): Remove.
22865 [!objdir] (common-objpfx): Likewise.
22866 [!objdir] (common-objdir): Likewise.
22867 * configure.in (config_makefile): Remove. Hardcode Makefile in
22868 AC_CONFIG_FILES call.
22869 * configure: Regenerated.
22870
d528cdcf
JM
22871 [BZ #13888]
22872 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22873 or TMPDIR.
22874 (testout): Likewise.
22875
135948bd
JM
22876 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22877 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22878 $(rtld-installed-name).
22879 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22880 (rtld_installed_name): Likwise.
22881 (runit): Remove function.
22882 (run_getconf): New variable, Use it for running getconf binary.
22883
38c78296
L
228842012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22885
22886 [BZ #14716]
22887 * string/test-memmem.c (check_result): New function.
22888 (do_one_test): Use it.
22889 (check1): New function.
22890 (test_main): Use it.
22891
d077f65f
MT
228922012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22893
22894 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22895
ced52c71
JM
228962012-10-18 Joseph Myers <joseph@codesourcery.com>
22897
22898 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22899 (_G_LSEEK64): Likewise.
22900 (_G_MMAP64): Likewise.
22901 (_G_FSTAT64): Likewise.
22902 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22903 (_G_LSEEK64): Likewise.
22904 (_G_MMAP64): Likewise.
22905 (_G_FSTAT64): Likewise.
22906 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22907 unconditional. Call __mmap64 directly.
22908 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22909 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22910 __lseek64 directly.
22911 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22912 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22913 __mmap64 directly.
22914 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22915 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22916 __lseek64 directly.
22917 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22918 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22919 __lseek64 directly.
22920 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22921 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22922 __lseek64 directly.
22923 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22924 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22925 __fxstat64 directly.
22926 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22927 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22928 unconditional.
22929 (freopen64) [!_G_OPEN64]: Remove conditional code.
22930 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22931 unconditional.
22932 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22933 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22934 unconditional.
22935 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22936 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22937 unconditional.
22938 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22939 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22940 unconditional.
22941 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22942 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22943 unconditional.
22944 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22945 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22946 unconditional.
22947 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22948 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22949 unconditional.
22950 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22951
b741de23
SP
229522012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22953
22954 [BZ #12140]
22955 * manual/memory.texi (Malloc Tunable Parameters): Add note
22956 about free list pointers overwriting some perturb bytes.
22957 Wording suggested by Roland McGrath.
22958
f9b9d9c9
JM
229592012-10-17 Joseph Myers <joseph@codesourcery.com>
22960
22961 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22962 (lgamma_test): Likewise.
22963 (tgamma_test): Likewise.
22964
172a631a
FW
229652012-10-16 Florian Weimer <fweimer@redhat.com>
22966
22967 [BZ #14700]
22968 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22969 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22970
e9f37252
MK
229712012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22972
22973 * NEWS: Mention BZ #14716.
22974 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22975 when removing AVAILABLE1_USES_J macro.
22976
d394eb74
L
229772012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22978
22979 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22980 (__bswap_64): __uint64_t for unsigned 64-bit int.
22981
ca38dc17
AS
229822012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22983
22984 * include/string.h (memmem): Declare libc hidden alias.
22985 * string/memmem.c (memmem): Define libc hidden alias.
22986 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22987 __read, __close instead of open, read, close.
22988
9a387d1f
L
229892012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22990
ac49ecaf
L
22991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22992 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22993 global and hidden.
22994 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22995 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22996 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22997 Likewise.
22998 (__rawmemchr_sse2): Likewise.
22999 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23000 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23001 (__strchr_sse2): Likewise.
23002 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23003 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23004 (__strcasecmp_sse2): Likewise.
23005 (__strncasecmp_sse2): Likewise.
23006 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23007 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23008 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23009 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23010 (__strrchr_sse2): Likewise.
23011 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23012 ifunc-impl-list.c.
23013 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23014 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23015 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23016 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23017 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23018 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23019 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23020 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23021 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23022 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23023 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23024 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23025 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23026 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23027 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23028 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23029 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23030 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23031 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23032 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23033 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23034 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23035 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23036 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23037 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23038 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23039 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23040 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23041 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23042 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23043
b090e8ea
L
23044 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23045 global and hidden.
23046 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23047 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23048 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23049 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23050 Likewise.
23051 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23052 Likewise.
23053 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23054 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23055 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23056 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23057 ifunc-impl-list.c.
23058 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23059 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23060 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23061 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23062 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23063 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23064 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23065 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23066 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23067 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23068 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23069 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23070 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23071 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23072 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23073 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23074 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23075 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23076 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23077 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23078 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23079 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23080 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23081 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23082 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23083 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23084 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23085 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23086 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23087 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23088 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23089 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23090 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23091 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23092 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23093 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23094 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23095 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23096 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23097 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23098 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23099
11dd4af6
L
23100 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23101 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23102 * include/ifunc-impl-list.h: New file.
23103 * misc/ifunc-impl-list.c: Likewise.
23104 * misc/Makefile (routines): Add ifunc-impl-list.
23105 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23106 * string/test-string.h: Include <ifunc-impl-list.h>.
23107 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23108 impl_array): New variables.
23109 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23110 are defined.
23111 (test_init): Call __libc_ifunc_impl_list to initialize
23112 func_list if TEST_IFUNC and TEST_NAME are defined.
23113
9a387d1f
L
23114 * string/Makefile (strop-tests): Add bcopy and bzero.
23115 * string/test-bcopy.c: New file.
23116 * string/test-bzero.c: Likewise.
23117 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23118 defined.
23119 * string/test-memset.c: Support bzero test if TEST_BZERO is
23120 defined.
23121 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23122 __libc_memmove.
23123 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23124 __libc_memset.
23125 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23126 of memset.
23127
472371b9
JM
231282012-10-10 Joseph Myers <joseph@codesourcery.com>
23129
1e4a9536
JM
23130 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23131 * configure: Regenerated.
23132
d173d12e
JM
23133 * Makeconfig (+link-static-before-libc): Don't include
23134 $(link-static-libc).
23135
472371b9
JM
23136 * libio/libio.h (_IO_pos_t): Remove.
23137
89a3ad0b
AO
231382012-10-10 Alexandre Oliva <aoliva@redhat.com>
23139
23140 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23141 McGrath.
23142
e7451425
AO
231432012-10-10 Alexandre Oliva <aoliva@redhat.com>
23144
23145 * crypt/crypt-entry.c: Include fips-private.h.
23146 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23147 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23148 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23149 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23150
4ba74a35
AO
231512012-10-10 Alexandre Oliva <aoliva@redhat.com>
23152
23153 * crypt/crypt-private.h: Include stdbool.h.
23154 (_ufc_setup_salt_r): Return bool.
23155 * crypt/crypt-entry.c: Include errno.h.
23156 (__crypt_r): Return NULL with EINVAL for bad salt.
23157 * crypt/crypt_util.c (bad_for_salt): New.
23158 (_ufc_setup_salt_r): Check that salt is long enough and within
23159 the specified alphabet.
23160 * crypt/badsalttest.c: New file.
23161 * crypt/Makefile (tests): Add it.
23162 ($(objpfx)badsalttest): New.
23163
f96f1242
MK
231642012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23165
23166 * NEWS: Add entry for BZ #14602.
23167
0e8e0c1c
JM
231682012-10-09 Joseph Myers <joseph@codesourcery.com>
23169
23170 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23171 type-generic.
23172 * math/libm-test.inc: Update comment listing what functions and
23173 macros are tested.
23174 (isgreater_test): New function.
23175 (isgreaterequal_test): Likewise.
23176 (isless_test): Likewise.
23177 (islessequal_test): Likewise.
23178 (islessgreater_test): Likewise.
23179 (isunordered_test): Likewise.
23180 (main): Call the new functions.
23181
273edc5e
RM
231822012-10-09 Roland McGrath <roland@hack.frob.com>
23183
b8493de0
RM
23184 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23185 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23186 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23187 * sysdeps/i386/configure: Regenerated.
23188 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23189 * sysdeps/mach/configure: Regenerated.
23190 * sysdeps/mach/hurd/configure: Regenerated.
23191 * sysdeps/powerpc/configure: Regenerated.
23192 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23193 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23194 * sysdeps/s390/s390-32/configure: Regenerated.
23195 * sysdeps/s390/s390-64/configure: Regenerated.
23196 * sysdeps/sh/configure: Regenerated.
23197 * sysdeps/sparc/configure: Regenerated.
23198 * sysdeps/unix/sysv/linux/configure: Regenerated.
23199 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23200 * sysdeps/x86_64/configure: Regenerated.
23201
273edc5e
RM
23202 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23203 defined. Don't check if MAP is NULL.
23204
c8450f70
JM
232052012-10-09 Joseph Myers <joseph@codesourcery.com>
23206
23207 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23208 (_G_stat64): Likewise.
23209 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23210 (_G_stat64): Likewise.
23211 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23212 instead of struct _G_stat64.
23213 * libio/fileops.c (mmap_remap_check): Likewise.
23214 (decide_maybe_mmap): Likewise.
23215 (_IO_new_file_seekoff): Likewise.
23216 (_IO_file_stat): Likewise.
23217 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23218 _G_off64_t.
23219 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23220 instead of struct _G_stat64.
23221 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23222
57e605ba
MK
232232012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23224
23225 [BZ #14602]
23226 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23227 Replace with ...
23228 (CHECK_EOL): New macro.
23229 (two_way_short_needle): Check beginning of haystack for EOL. Use
23230 CHECK_EOL.
23231 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23232 Replace with CHECK_EOL.
23233 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23234 Replace with CHECK_EOL.
23235
ef1bb361
JM
232362012-10-08 Joseph Myers <joseph@codesourcery.com>
23237
23238 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23239 type-generic.
23240 * math/libm-test.inc: Update comment listing what functions and
23241 macros are tested.
23242 (finite_test): New function.
23243 (isinf_test): Likewise.
23244 (isnan_test): Likewise.
23245 (fpclassify_test): Test subnormal input.
23246 (isfinite_test): Likewise.
23247 (isnormal_test): Likewise.
23248 (main): Call the new functions.
23249
55f11534
JN
232502012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23251
23252 [BZ #14660]
23253 * Makerules (%.dynsym): Force C locale when running
23254 $(OBJDUMP) --dynamic-syms.
23255
1ab29350
AS
232562012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23257
23258 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23259 <stdint.h>.
23260
f1ecb7ef
DM
232612012-10-06 David S. Miller <davem@davemloft.net>
23262
23263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23264 upper 32-bits of the length value in %o2 since we use branch-on-register
23265 tests which consider the entire 64-bit register.
23266
5d41d91a
L
232672012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23268
23269 * string/test-strstr.c (check2): Add a test for page boundary.
23270
3baddb72
DM
232712012-10-05 David S. Miller <davem@davemloft.net>
23272
23273 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23274 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23275 file.
23276 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23277 sysdep_routines.
23278 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23279 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23280 and bzero when HWCAP_SPARC_CRYPTO is present.
23281
9cee5585
L
232822012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23283
d7e0dab9
L
23284 [BZ #14602]
23285 * string/test-strstr.c (check2): New function.
23286 (test_main): Call check2.
23287
03759f47
L
23288 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23289 and bug-strchr1.
23290 * string/bug-strcasestr1.c (do_test): Moved to ...
23291 * string/test-strcasestr.c (check1): Here. New function.
23292 (do_one_test): Break out result checking code into ...
23293 (check_result): This. New function.
23294 (do_one_test): Call check_result.
23295 (test_main): Call check1.
23296 * string/bug-strchr1.c (do_test): Moved to ...
23297 * string/test-strchr.c (check1): Here. New function.
23298 (do_one_test): Break out result checking code into ...
23299 (check_result): This. New function.
23300 (do_one_test): Call check_result.
23301 (test_main): Call check1.
23302 * string/bug-strstr1.c (main): Moved to ...
046f153e 23303 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23304 (do_one_test): Break out result checking code into ...
23305 (check_result): This. New function.
23306 (do_one_test): Call check_result.
23307 (test_main): Call check1.
23308 * string/bug-strcasestr1.c: Removed.
23309 * string/bug-strchr1.c: Likewise.
23310 * string/bug-strstr1.c: Likewise.
23311
53cea63e
L
23312 * elf/Makefile (dl-routines): Add hwcaps.
23313 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23314 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23315 (_dl_important_hwcaps): Moved to ...
23316 * elf/dl-hwcaps.c: Here. New file.
23317 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23318
9cee5585 23319 [BZ #14557]
bb859b06
L
23320 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23321 if IS_IN_rtld isn't defined.
23322
9cee5585
L
23323 * elf/dl-support.c (_dl_sysinfo_map): New.
23324 Include "get-dynamic-info.h" and "setup-vdso.h".
23325 (_dl_non_dynamic_init): Call setup_vdso.
23326 * elf/dynamic-link.h: Don't include <assert.h>.
23327 (elf_get_dynamic_info): Moved to ...
23328 * elf/get-dynamic-info.h: Here. New file.
23329 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23330 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23331 * elf/setup-vdso.h: Here. New file.
23332 * elf/rtld.c: Include "setup-vdso.h".
23333 (dl_main): Call setup_vdso.
23334
23c31b76
JM
233352012-10-05 Joseph Myers <joseph@codesourcery.com>
23336
28234b07
JM
23337 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23338 creal in comment listing functions tested. List finite, isinf,
23339 isnan, isless, islessequal, isgreater, isgreaterequal,
23340 islessgreater, isunordered, lgamma_r and pow10 as functions and
23341 macros not tested. Mention which functions not tested are aliases
23342 for other functions. Fix typo. Note that signs of NaNs are not
23343 tested.
23344
23c31b76
JM
23345 * scripts/config.guess: Update from config.git.
23346 * scripts/config.sub: Likewise.
23347
9043e228
RM
233482012-10-04 Roland McGrath <roland@hack.frob.com>
23349
23350 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23351 * misc/madvise.c (madvise): Renamed to __madvise.
23352 Make madvise a weak alias.
23353 * include/sys/mman.h: Declare __madvise.
23354 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23355 * sysdeps/unix/syscalls.list
23356 (madvise): Make __madvise the strong name, and madvise a weak alias.
23357 * sysdeps/unix/sysv/linux/syscalls.list
23358 (madvise, mmap): Remove redundant entries.
23359 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23360 * malloc/malloc.c (mtrim): Likewise.
23361 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23362
f57f8055
RM
233632012-10-03 Roland McGrath <roland@hack.frob.com>
23364
23365 * sysdeps/mach/hurd/dl-cache.c: File removed.
23366 * config.h.in (USE_LDCONFIG): New #undef.
23367 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23368 * configure: Regenerated.
23369 * elf/Makefile (dl-routines): Add dl-cache only under
23370 [$(use-ldconfig) = yes].
23371 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23372 cache on [USE_LDCONFIG].
23373 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23374 [USE_LDCONFIG].
23375 * elf/rtld.c (dl_main): Likewise.
23376
5bb0c10a
PT
233772012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23378
23379 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23380 _SC_LEVEL4_CACHE_LINESIZE.
23381
010188c6
RM
233822012-10-03 Roland McGrath <roland@hack.frob.com>
23383
23384 * sysdeps/unix/bsd/confstr.h: File removed.
23385
b6c5ec07
AO
233862012-10-02 Alexandre Oliva <aoliva@redhat.com>
23387
23388 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23389 sys/sdt-config.h.
23390
408223d4
RM
233912012-10-02 Roland McGrath <roland@hack.frob.com>
23392
23393 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23394 Make 'mapoff' field ElfW(Off) rather than off_t.
23395
bb9510dc
DL
233962012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23397
fc997c6e
DL
23398 * nscd/Makefile: Remove nscd-cflags and all its users.
23399 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23400 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23401
bb9510dc
DL
23402 [BZ #10631]
23403 * malloc.c (malloc_printerr): Clarify error message.
23404
05699367
L
234052012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23406
23407 [BZ #14648]
23408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23409 Set bit_FMA_Usable if FMA is supported.
23410 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23411 macro.
23412 (bit_FMA4_Usable): Updated.
23413 (index_FMA_Usable): New macro.
23414 (CPUID_FMA): Likewise
23415 (HAS_FMA): Defined with bit_FMA_Usable.
23416
51367701
RM
234172012-10-01 Roland McGrath <roland@hack.frob.com>
23418
23419 * bits/types.h (__swblk_t): Type removed.
23420 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23421 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23423 (__SWBLK_T_TYPE): Likewise.
23424 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23425 (__SWBLK_T_TYPE): Likewise.
23426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23427 (__SWBLK_T_TYPE): Likewise.
23428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23429 (__SWBLK_T_TYPE): Likewise.
23430
4d57bf63 234312012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23432 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23433
23434 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23435 (xdr_mapname): Use YPMAXMAP as maxsize.
23436 (xdr_peername): Use YPMAXPEER as maxsize.
23437 (xdr_keydat): Use YPAXRECORD as maxsize.
23438 (xdr_valdat): Use YPMAXRECORD as maxsize.
23439
93c65d43
RM
234402012-10-01 Roland McGrath <roland@hack.frob.com>
23441
497a03d6
RM
23442 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23443
93c65d43
RM
23444 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23445 * csu/init-first.c: ... here.
23446 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23447 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23448 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23449 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23450 * sysdeps/i386/init-first.c: File removed.
23451 * sysdeps/sh/init-first.c: File removed.
23452
bec749fd
JM
234532012-10-01 Joseph Myers <joseph@codesourcery.com>
23454
23455 [BZ #14645]
23456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23457 if x * y might underflow to zero and z is zero.
23458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23460 * math/libm-test.inc (min_subnorm_value): New variable.
23461 (fma_test): Add more tests.
23462 (fma_test_towardzero): Likewise.
23463 (fma_test_downward): Likewise
23464 (fma_test_upward): Likewise.
23465 (initialize): Set min_subnorm_value.
23466
8ec5b013
JM
234672012-09-29 Joseph Myers <joseph@codesourcery.com>
23468
23469 [BZ #14638]
23470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23471 0 + 0.
23472 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23473 mode for addition resulting in exact zero.
23474 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23476 exact 0 + 0.
23477 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23478 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23479 * math/libm-test.inc (fma_test): Add more tests.
23480 (fma_test_towardzero): New function.
23481 (fma_test_downward): Likewise.
23482 (fma_test_upward): Likewise.
23483 (main): Call the new functions.
23484
b1fa802e
DM
234852012-09-28 David S. Miller <davem@davemloft.net>
23486
23487 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23488
d3b9fd9e
RM
234892012-09-28 Roland McGrath <roland@hack.frob.com>
23490
ea4d37b3
RM
23491 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23492 instead of SIGALRM.
23493
ac51c949
RM
23494 * sysdeps/gnu/_G_config.h: Moved to ...
23495 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23496 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23497 * sysdeps/generic/_G_config.h: ... here.
23498
28c195f7
RM
23499 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23500
848917f9
RM
23501 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23502
6bacf05b
RM
23503 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23504 Conditionalize target on [libnss_test1.so-version].
23505
91363dbb
RM
23506 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23507
cc87f7d8
RM
23508 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23509 (elfobjdir): Move out of conditionals.
23510
b1c608fe
RM
23511 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23512 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23513 (__nss_lookup_function): Conditionalize label remove_from_tree on
23514 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23515
1d9a6d96
DM
235162012-09-28 David S. Miller <davem@davemloft.net>
23517
23518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23519 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23520 file.
23521 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23522 sysdep_routines.
23523 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23525 when HWCAP_SPARC_CRYPTO is present.
23526
72581615
PT
235272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23528
23529 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23530
715a900c
JL
235312012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23532
23533 [BZ #6530]
23534 * stdio-common/vfprintf.c (process_string_arg): Revert
23535 2000-07-22 change.
23536
235372011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23538
23539 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23540 for testcase.
23541 * stdio-common/tst-sprintf.c: Include <locale.h>
23542 (main): Test sprintf's handling of incomplete multibyte
23543 characters.
23544
9bac1d86
L
235452012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23546
23547 * elf/dl-runtime.c (VERSYMIDX): Removed.
23548 * elf/dl-version.c (VERSYMIDX): Likewise.
23549 * elf/do-rel.h (VERSYMIDX): Likewise.
23550 (VALIDX): Likewise.
23551 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23552 * elf/rtld.c (VALIDX): Likewise.
23553 (ADDRIDX): Likewise.
9bac1d86
L
23554 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23555 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23556 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23557 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23558 (VALIDX): Likewise.
23559 (ADDRIDX): Likewise.
9bac1d86 23560
b31606c0
PT
235612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23562
23563 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23564
11541177
JL
235652012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23566
23567 [BZ #11438]
23568 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23569 to global scope.
23570 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23571 addresses are in the same scope as 192.0.2/24.
23572 * posix/gai.conf: Document new scope table defaults.
23573
adb26fae
SP
235742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23575
23576 [BZ #5298]
23577 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23578 for ftell. Compute offsets from write pointers instead.
23579 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23580
4573c6b0
SP
235812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23582
23583 [BZ #14543]
23584 * libio/Makefile (tests): New test case tst-fseek.
23585 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23586 combination works in wide mode.
23587 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23588 state when the external buffer state changes.
23589
aa9bbfe6
DM
235902012-09-27 David S. Miller <davem@davemloft.net>
23591
23592 [BZ #14376]
23593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23594 pass reloc->r_addend in as the 'high' argument to
23595 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23596
784421e7
DM
23597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23598
c39bc8b8
PT
235992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23600
23601 * rt/tst-aio2.c: Include <pthread.h>.
23602 * rt/tst-aio3.c: Likewise.
23603
1ccc2399
SE
236042012-09-27 Steve Ellcey <sellcey@mips.com>
23605
23606 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23607
31ed4153
L
236082012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23609
25f5f885
L
23610 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23611 contents on [SHARED].
31ed4153 23612
b7bfe116
MP
236132012-09-26 Marek Polacek <polacek@redhat.com>
23614
23615 [BZ #14530]
23616 [BZ #13741]
23617 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23618 for C++ and GCC <4.3 as well as for non GCC compilers.
23619
43c4edba
MT
236202012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23621
23622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23623
6a1bf82f
RM
236242012-09-25 Roland McGrath <roland@hack.frob.com>
23625
23626 * Makefile.in (all, install): Declare with .PHONY.
23627 Reported by Michael Hope <michael.hope@linaro.org>.
23628
8ad11b9a
TMQMF
236292012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23630
23631 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23632 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23633 system header.
23634 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23635 Likewise.
23636 (sydep_routines): Add the new and the internal functions.
23637 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23638 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23640 (GLIBC_2.17): Add the new function.
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23642 (GLIBC_2.17): Likewise.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23644 (GLIBC_2.17): Likewise.
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23646 (GLIBC_2.17): Likewise.
23647 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23648
7e2fca8d
AM
236492012-09-25 Alan Modra <amodra@gmail.com>
23650
23651 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23652 Add release barrier before setting once_control to say
23653 initialisation is done. Add hints on lwarx. Use macro in
23654 place of isync.
23655 (clear_once_control): Add release barrier.
23656
b87c4b24
JM
236572012-09-25 Joseph Myers <joseph@codesourcery.com>
23658
d032e0d2
JM
23659 [BZ #13629]
23660 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23661 specially.
23662 * math/s_clog10.c (__clog10): Likewise.
23663 * math/s_clog10f.c (__clog10f): Likewise.
23664 * math/s_clog10l.c (__clog10l): Likewise.
23665 * math/s_clogf.c (__clogf): Likewise.
23666 * math/s_clogl.c (__clogl): Likewise.
23667 * math/Makefile (libm-calls): Add x2y2m1.
23668 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23669 (__x2y2m1): Likewise.
23670 (__x2y2m1l): Likewise.
23671 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23672 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23673 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23675 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23676 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23677 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23678 * sysdeps/i386/fpu/libm-test-ulps: Update.
23679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23680
b87c4b24
JM
23681 [BZ #14621]
23682 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23683 int as type of variable DEPTH.
23684 (glob): Use size_t instead of int as type of variables NEWCOUNT
23685 and OLD_PATHC.
23686
6d3bf199
LD
236872012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23688
22bf5c17
LD
23689 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23690 Add s_sincosf-sse2.
23691 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23692 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23693 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23694 macros for using routine as __sincosf_ia32.
23695 Use macro for function declaration and weak_alias.
23696 * sysdeps/i386/fpu/libm-test-ulps: Update.
23697
23698 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23700
23701 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23702 subnormal argument.
23703 * math/s_cexpf.c (__cexpf): Likewise.
23704 * math/s_csinf.c (__csinf): Likewise.
23705 * math/s_csinhf.c (__csinhf): Likewise.
23706 * math/s_ctanf.c (__ctanf): Likewise.
23707 * math/s_ctanhf.c (__ctanhf): Likewise.
23708 * math/s_ccosh.c (__ccoshf): Likewise.
23709 * math/s_cexp.c (__cexpl): Likewise.
23710 * math/s_csin.c (__csin): Likewise.
23711 * math/s_csinh.c (__csinh): Likewise.
23712 * math/s_ctan.c (__ctan): Likewise.
23713 * math/s_ctanh.c (ctanh): Likewise.
23714 * math/s_ccoshl.c (__ccoshl): Likewise.
23715 * math/s_cexpl.c (__cexpl): Likewise.
23716 * math/s_csinl.c (__csinl): Likewise.
23717 * math/s_csinhl.c (__csinhl): Likewise.
23718 * math/s_ctanl.c (__ctanl): Likewise.
23719 * math/s_ctanhl.c (__ctanhl): Likewise.
23720
203e5603
JM
237212012-09-25 Joseph Myers <joseph@codesourcery.com>
23722
23723 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23724 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23725 (_IO_off_t): Define to __off_t, not _G_off_t.
23726 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23727 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23728 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23729 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23730 type of __dummy and __dummy2 fields.
23731 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23732 (_G_ssize_t): Likewise.
23733 (_G_off_t): Likewise.
23734 (_G_pid_t): Likewise.
23735 (_G_uid_t): Likewise.
23736 (_G_wchar_t): Likewise.
23737 (_G_wint_t): Likewise.
23738 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23739 (_G_ssize_t): Likewise.
23740 (_G_off_t): Likewise.
23741 (_G_pid_t): Likewise.
23742 (_G_uid_t): Likewise.
23743 (_G_wchar_t): Likewise.
23744 (_G_wint_t): Likewise.
23745 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23746 (_G_ssize_t): Likewise.
23747 (_G_off_t): Likewise.
23748 (_G_pid_t): Likewise.
23749 (_G_uid_t): Likewise.
23750 (_G_wchar_t): Likewise.
23751 (_G_wint_t): Likewise.
23752
9fab36eb
SP
237532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23754
23755 * malloc/arena.c: Include malloc-sysdep.h.
23756 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23757 is sufficient to shrink the heap or an unmap is needed.
23758 * sysdeps/generic/malloc-sysdep.h: New file. Define
23759 new function check_may_shrink_heap.
23760 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23761 new function check_may_shrink_heap.
23762
2b4f00d1
SP
237632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23764
23765 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23766 comments.
23767
9a9028b1
DL
237682012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23769
57c69bef
DL
23770 * catgets/test-gencat.sh: Add "set -e".
23771 * elf/tst-pathopt.sh: Likewise.
23772 * grp/tst_fgetgrent.sh: Likewise.
23773 * iconvdata/run-iconv-test.sh: Likewise.
23774 * intl/tst-gettext.sh: Likewise.
23775 * intl/tst-gettext2.sh: Likewise.
23776 * intl/tst-gettext4.sh: Likewise.
23777 * intl/tst-gettext6.sh: Likewise.
23778 * intl/tst-translit.sh: Likewise.
23779 * io/ftwtest-sh: Likewise.
23780 * libio/test-freopen.sh: Likewise.
23781 * malloc/tst-mtrace.sh: Likewise.
23782 * posix/globtest.sh: Likewise.
23783 * posix/tst-getconf.sh: Likewise.
23784 * posix/wordexp-tst.sh: Likewise.
23785 * stdio-common/tst-printf.sh: Likewise.
23786 * stdio-common/tst-unbputc.sh: Likewise.
23787 * stdlib/tst-fmtmsg.sh: Likewise.
23788 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23789 * catgets/Makefile: Do not specify -e option when running
23790 testsuite shell scripts.
23791 * elf/Makefile: Likewise.
23792 * grp/Makefile: Likewise.
23793 * iconvdata/Makefile: Likewise.
23794 * intl/Makefile: Likewise.
23795 * io/Makefile: Likewise.
23796 * libio/Makefile: Likewise.
23797 * malloc/Makefile: Likewise.
23798 * posix/Makefile: Likewise.
23799 * stdio-common/Makefile: Likewise.
23800 * stdlib/Makefile: Likewise.
23801 * sysdeps/x86_64/Makefile: Likewise.
23802
9a9028b1
DL
23803 * io/ftwtest-sh: Add copyright header.
23804 * posix/globtest.sh: Likewise.
23805 * posix/tst-getconf.sh: Likewise.
23806 * posix/wordexp-tst.sh: Likewise.
23807 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23808
ced6f16e
L
238092012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23810
94b32c39
L
23811 [BZ #13679]
23812 * Makeconfig (+link): Defined as $(+link-static) if
23813 $(build-shared) isn't yes.
23814 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23815 isn't yes.
23816 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23817
189e935b
L
23818 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23819
ced6f16e
L
23820 [BZ #14562]
23821 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23822 new chunk size with MALLOC_ALIGN_MASK.
23823
a9f8e53a
JM
238242012-09-24 Joseph Myers <joseph@codesourcery.com>
23825
23826 [BZ #5044]
23827 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23828 <rounding-mode.h>.
23829 (__printf_fphex): Determine rounding using get_rounding_mode and
23830 round_away.
23831 * stdio-common/tst-printf-round.c (struct hex_test): New
23832 structure.
23833 (hex_tests): New variable.
23834 (test_hex_in_one_mode): New function.
23835 (do_test): Also run tests for hex float output.
23836
43153109
JM
238372012-09-21 Joseph Myers <joseph@codesourcery.com>
23838
23839 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23840 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23841 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23842 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23843 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23844 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23845 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23846 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23847
8a26625d
JM
238482012-09-20 Joseph Myers <joseph@codesourcery.com>
23849
23850 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23851 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23852 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23853 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23854
f3fd569c
DL
238552012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23856
23857 [BZ #14579]
23858 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23859 mode only.
23860 * elf/tst-rtld-load-self.sh: New test.
23861 * elf/Makefile: Run it.
23862
63bbedd4
JM
238632012-09-18 Joseph Myers <joseph@codesourcery.com>
23864
23865 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23866 (tst-writev-ENV): Remove.
23867 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23868
626f8b6a
CM
238692012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23870
23871 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23872
b7aaa4d6
JM
238732012-09-17 Joseph Myers <joseph@codesourcery.com>
23874
23875 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23876 unconditional.
23877 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23878 Likewise.
23879 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23880 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23881 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23882 Likewise.
23883
65513990
L
238842012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23885
23886 [BZ #14587]
23887 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23888 * config.make.in (have-cpp-asm-debuginfo): Removed.
23889 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23890 * configure: Regenerated.
23891
784761be
JM
238922012-09-14 Joseph Myers <joseph@codesourcery.com>
23893
23894 [BZ #5044]
23895 * stdio-common/printf_fp.c: Include <stdbool.h> and
23896 <rounding-mode.h>.
23897 (___printf_fp): Determine rounding using get_rounding_mode and
23898 round_away.
23899 * stdio-common/tst-printf-round.c: New file.
23900 * stdio-common/Makefile (tests): Add tst-printf-round.
23901 (link-libm): New variable.
23902 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23903
9503345f
L
239042012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23905
23906 [BZ #14576]
23907 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23908 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23909 Likewise.
23910 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23911 Likewise.
23912
ad35fc00
JM
239132012-09-13 Joseph Myers <joseph@codesourcery.com>
23914
23915 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23916 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23917 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23918 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23919
6c9b0f68
JM
239202012-09-12 Joseph Myers <joseph@codesourcery.com>
23921
23922 [BZ #14518]
23923 * include/rounding-mode.h: New file.
23924 * sysdeps/generic/get-rounding-mode.h: Likewise.
23925 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23926 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23927 (MAX_VALUE): New macro.
23928 (MIN_VALUE): Likewise.
23929 (overflow_value): New function.
23930 (underflow_value): Likewise.
23931 (round_and_return): Use overflow_value and underflow_value to
23932 determine return values in overflow and underflow cases. Use
23933 round_away to determine rounding depending on rounding mode.
23934 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23935 determine return values in overflow and underflow cases.
23936 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23937 (struct test_results): New structure.
23938 (struct test): Use struct test_results to store expected results
23939 for all rounding modes.
23940 (TEST): Include expected results for all rounding modes.
23941 (test_in_one_mode): New function.
23942 (do_test): Use test_in_one_mode to compute and check results.
23943 Check results for all rounding modes.
23944 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23945 $(link-libm).
23946
19fcedd5
AM
239472012-12-09 Allan McRae <allan@archlinux.org>
23948
1e9d84cd 23949 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23950
8bbfd2f1
JM
239512012-09-11 Joseph Myers <joseph@codesourcery.com>
23952
23953 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23954 (_G_int32_t): Likewise.
23955 (_G_uint16_t): Likewise.
23956 (_G_uint32_t): Likewise.
23957 (_G_HAVE_BOOL): Likewise.
23958 (_G_HAVE_ATEXIT): Likewise.
23959 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23960 (_G_HAVE_IO_FILE_OPEN): Likewise.
23961 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23962 (_G_int32_t): Likewise.
23963 (_G_uint16_t): Likewise.
23964 (_G_uint32_t): Likewise.
23965 (_G_HAVE_BOOL): Likewise.
23966 (_G_HAVE_ATEXIT): Likewise.
23967 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23968 (_G_HAVE_IO_FILE_OPEN): Likewise.
23969 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23970 (_G_int32_t): Likewise.
23971 (_G_uint16_t): Likewise.
23972 (_G_uint32_t): Likewise.
23973 (_G_HAVE_BOOL): Likewise.
23974 (_G_HAVE_ATEXIT): Likewise.
23975 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23976 (_G_HAVE_IO_FILE_OPEN): Likewise.
23977
b1dc5912
L
239782012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23979
23980 * csu/libc-tls.c: Update copyright years.
23981
0e886ef9
JM
239822012-09-10 Joseph Myers <joseph@codesourcery.com>
23983
28361c5e
JM
23984 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23985 [!_G_USING_THUNKS]: Remove conditional code.
23986 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23987 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23988
0e886ef9
JM
23989 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23990 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23991 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23992 (_G_VTABLE_LABEL_PREFIX): Likewise.
23993 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23994 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23995 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23996 (_G_VTABLE_LABEL_PREFIX): Likewise.
23997 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23998 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23999 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24000 (_G_VTABLE_LABEL_PREFIX): Likewise.
24001 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24002
bcba7aa2
L
240032012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24004
24005 * libio/Makefile: Include ../Makeconfig before tests.
24006 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24007 only if $(build-shared) is yes.
24008
06585ee8
L
24009 * iconv/gconv_db.c: Update copyright years.
24010
80ccd52c
LD
240112012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24012
24013 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24014 unwind info if defined PIC. Fix special cases description.
24015 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24016
24017 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24018 DP_HI_MASK entry.
24019 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24020
691bc9c1
L
240212012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24022
3d9b46b3
L
24023 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24024
de2139a9
L
24025 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24026 is NULL.
24027
5ca78dd0
L
24028 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24029 (LDLIBS-tst-chk4): This.
24030 (LDFLAGS-tst-chk5): Renamed to ...
24031 (LDLIBS-tst-chk5): This.
24032 (LDFLAGS-tst-chk6): Renamed to ...
24033 (LDLIBS-tst-chk6): This.
24034 (LDFLAGS-tst-lfschk4): Renamed to ...
24035 (LDLIBS-tst-lfschk4): This.
24036 (LDFLAGS-tst-lfschk5): Renamed to ...
24037 (LDLIBS-tst-lfschk5): This.
24038 (LDFLAGS-tst-lfschk6): Renamed to ...
24039 (LDLIBS-tst-lfschk6): This.
24040
691bc9c1
L
24041 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24042 on $(common-objpfx)soversions.mk.
24043
65cafb1c
JM
240442012-09-07 Joseph Myers <joseph@codesourcery.com>
24045
24046 [BZ #10014]
24047 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24048 example host name.
24049
c78ab094
SP
240502012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24051
24052 * malloc/arena.c (arena_get_retry): New function that gets
24053 another arena for the caller to try its request on.
24054 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24055 current arena cannot fulfill the request.
24056 (__libc_memalign): Likewise.
24057 (__libc_memalign): Likewise.
24058 (__libc_pvalloc): Likewise.
24059 (__libc_calloc): Likewise.
24060
01f49f59
JT
240612012-09-05 John Tobey <john.tobey@gmail.com>
24062
24063 [BZ #13542]
24064 * manual/arith.texi (Operations on Complex): Fix description
24065 of carg branch cut.
24066
4c23fed5
JM
240672012-09-06 Joseph Myers <joseph@codesourcery.com>
24068
1d3c8572
JM
24069 [BZ #10014]
24070 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24071 host name.
24072
4c23fed5
JM
24073 [BZ #10038]
24074 * manual/memory.texi (Memory): Make order of menu items match
24075 order of sections.
24076
04570aaa
L
240772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24078
24079 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24080 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24081 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24082
b80af2f4
L
240832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24084
24085 * csu/libc-tls.c (static_dtv): Renamed to ...
24086 (_dl_static_dtv): This. Make it global.
24087 (_dl_initial_dtv): Removed.
24088 (__libc_setup_tls): Updated.
24089 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24090 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24091 DL_INITIAL_DTV.
24092
2abe9f15
PM
240932012-09-06 Petr Machata <pmachata@redhat.com>
24094
24095 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24096 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24097 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24098 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24099
0948c3af
L
241002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24101
24102 [BZ #14545]
24103 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24104 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24105 freeing dtv[-1].
24106
a5055ad1
L
241072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24108
24109 [BZ #14544]
24110 * Makeconfig (link-static-before-libc): Replace $(+prector)
24111 with $(+prectorT).
24112 (link-static-after-libc): Replace $(+postctor) with
24113 $(+postctorT).
24114 (link-bounded): Replace $(+prector)/$(+postctor) with
24115 $(+prectorT)/$(+postctorT).
24116 (+prectorT): New macro.
24117 (+postctorT): Likewise.
24118
ed8c2ecd
JM
241192012-09-06 Joseph Myers <joseph@codesourcery.com>
24120
24121 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24122 (round_str): Handle values above the maximum for IBM long double
24123 as inexact.
24124 * stdlib/tst-strtod-round.c (tests): Regenerated.
24125
14c996c8
AK
241262012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24127
24128 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24129 assembler flag.
24130 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24131 zarch_nohighgprs around the zarch optimized routines.
24132 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24133 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24134 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24135 for zarch.
24136
430d6ce6
DM
241372012-09-05 David S. Miller <davem@davemloft.net>
24138
24139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24140
ff04dda4
DM
24141 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24142 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24143 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24144 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24145 entries.
24146
24d4e01b
AO
241472012-09-05 Alexandre Oliva <aoliva@redhat.com>
24148
24149 * malloc/arena.c: Fold copyright years.
24150 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24151
61d58174
AO
241522012-09-05 Alexandre Oliva <aoliva@redhat.com>
24153
24154 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24155
20196a5e
AO
241562012-09-05 Alexandre Oliva <aoliva@redhat.com>
24157
24158 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24159
5c447383
AO
241602012-09-05 Alexandre Oliva <aoliva@redhat.com>
24161
24162 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24163 change internal state upon failure.
24164
fad64255
AO
241652012-09-05 Alexandre Oliva <aoliva@redhat.com>
24166
24167 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24168 * malloc/memusage.c (mmap): Likewise.
24169 (mmap64, mremap): Likewise. Adjust name in comment.
24170
1ffb8c90
SP
241712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24172
24173 * libio/fileops.c: Fix typos in comments.
24174 * libio/oldfileops.c: Likewise.
24175 * libio/wfileops.c: Likewise.
24176
6ef9cc37
SP
241772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24178
24179 [BZ #1349]
24180 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24181 (tst-malloc-usable-ENV): Set environment for test case.
24182 * malloc/hooks.c (malloc_check_get_size): New function to get
24183 requested size.
24184 * malloc/malloc.c (musable): Use malloc_check_get_size.
24185 * malloc/tst-malloc-usable.c: New test case.
24186
4d038ae3
AS
241872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24188
24189 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24190
c4e85184
AM
241912012-09-05 Allan McRae <allan@archlinux.org>
24192
b9dafc56 24193 [BZ #13966]
c4e85184
AM
24194 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24195 determine header location.
24196 * configure: Regenerated.
24197
e1343020
AS
241982012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24199
24200 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24201 float format.
24202 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24203 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24204 format.
e1343020
AS
24205 (test): Regenerate.
24206
0a9f1987
DM
242072012-09-04 David S. Miller <davem@davemloft.net>
24208
24209 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24210 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24211 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24212
29237804
FW
242132012-09-04 Florian Weimer <fweimer@redhat.com>
24214
24215 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24216 failures.
24217
edb3cb88
FW
24218 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24219
60160d83
JM
242202012-09-04 Joseph Myers <joseph@codesourcery.com>
24221
24222 [BZ #9914]
24223 * libio/iogetdelim.c: Include <limits.h>.
24224 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24225 + len + 1 would overflow.
24226
bcd6c8dc
AJ
242272012-09-03 Andreas Jaeger <aj@suse.de>
24228
24229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24230 * sysdeps/i386/fpu/libm-test-ulps: Update.
24231
4ffffbd2
LD
242322012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24233
24234 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24235 Add s_sinf-sse2, s_conf-sse2.
24236
24237 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24238 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24239 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24240 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24241
24242 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24243 for using routine as __sinf_ia32.
24244 Use macro for function declaration and weak_alias.
24245 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24246 for using routine as __cosf_ia32.
24247 Use macro for function declaration and weak_alias.
24248
24249 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24250 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24251
24252 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24253 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24255
24256 * math/libm-test.inc (cos_test): Add more test cases.
24257 (sin_test): Likewise.
24258 (sincos_test): Likewise.
24259
511fa286
AK
242602012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24261
24262 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24263 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24264 hidden.
24265 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24266
5f30cfec
L
242672012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24268
24269 [BZ #14538]
24270 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24271 first element of the GOT.
24272 (elf_machine_load_address): Return the difference between
24273 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24274
0786794f
AM
242752012-09-01 Allan McRae <allan@archlinux.org>
24276
5f30cfec
L
24277 [BZ #13412]
24278 * configure.in (AWK): Require gawk version 3.0 or later.
24279 * configure: Regenerated.
0786794f 24280
26889eac
JM
242812012-09-01 Joseph Myers <joseph@codesourcery.com>
24282
24283 * sysdeps/unix/sysv/linux/kernel-features.h
24284 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24285 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24286 [__NR_clock_getres]: Make code unconditional.
24287 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24288 (clock_getcpuclockid): Remove code left unreachable by removal of
24289 conditionals.
24290 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24291 code unconditional.
24292 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24293 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24294 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24295 Make code unconditional.
24296 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24297 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24298 * sysdeps/unix/sysv/linux/clock_settime.c
24299 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24300 conditional code.
24301 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24302 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24303
d22e28b0
L
243042012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 [BZ #14476]
24307 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24308 scripts/test-installation.pl.
24309
24310 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24311 and $ld_so_version if it is set.
24312
050af9c4
SP
243132012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24314
24315 [BZ #14516]
24316 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24317 failure if reading from procfs failed.
24318 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24319
ad845c0b
JM
243202012-08-27 Joseph Myers <joseph@codesourcery.com>
24321
24322 * sysdeps/unix/sysv/linux/kernel-features.h
24323 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24324 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24325 Remove conditional code.
24326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24327 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24328 Remove conditional code.
24329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24330 * sysdeps/unix/sysv/linux/i386/fxstat.c
24331 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24333 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24334 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24336 * sysdeps/unix/sysv/linux/i386/lxstat.c
24337 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24339 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24340 Remove conditional code.
24341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24342 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24343 Remove conditional code.
24344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24345 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24346 <kernel-features.h>.
24347 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24348 Remove.
24349 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24350 Remove conditional code.
24351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24352 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24353 Remove conditional.
24354
5dbf56af
MF
243552012-08-27 Mike Frysinger <vapier@gentoo.org>
24356
24357 [BZ #5400]
24358 * NEWS: Add fixed bug number.
24359
d6e70f43
JM
243602012-08-27 Joseph Myers <joseph@codesourcery.com>
24361
7efb4737
JM
24362 [BZ #14519]
24363 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24364 underflowing exponent in case of negative sign.
24365 * stdlib/tst-strtod-round-data: Add more tests.
24366 * stdlib/tst-strtod-round.c (tests): Regenerated.
24367
af92131a
JM
24368 [BZ #3479]
24369 * stdlib/strtod_l.c (NDIG): Remove.
24370 (HEXNDIG): Likewise.
24371 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24372 smallest representable value.
24373 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24374 lie within an exact representation of 1/2 ulp of the result.
24375 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24376 unconditionally.
24377 (TENS_P9_IDX): Define unconditionally.
24378 (TENS_P9_SIZE): Likewise.
24379 (TENS_P10_IDX): Likewise.
24380 (TENS_P10_SIZE): Likewise.
24381 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24382 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24383 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24384 entries for 10^2^13 and 10^2^14.
24385 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24386 (TENS_P13_IDX): Define.
24387 (TENS_P13_SIZE): Likewise.
24388 (TENS_P14_IDX): Likewise.
24389 (TENS_P14_SIZE): Likewise.
24390 (_fpioconst_pow10): Change array size to
24391 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24392 unconditional.
24393 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24394 1024]: Add entries for 10^2^13 and 10^2^14.
24395 [LAST_POW10 > _LAST_POW10]: Remove #error.
24396 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24397 (_fpioconst_pow10): Change array size to
24398 FPIOCONST_POW10_ARRAY_SIZE.
24399 * stdlib/gen-fpioconst.c: New file.
24400 * stdlib/gen-tst-strtod-round.c: Likewise.
24401 * stdlib/tst-strtod-round-data: Likewise.
24402 * stdlib/tst-strtod-round.c: Likewise.
24403 * stdlib/Makefile (tests): Add tst-strtod-round.
24404
d6e70f43
JM
24405 [BZ #14459]
24406 * stdlib/strtod_l.c: Include <stdint.h>.
24407 (NDEBUG): Do not define.
24408 (round_and_return): Change EXPONENT parameter to type intmax_t.
24409 Rearrange calculations to avoid internal overflow possibilities.
24410 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24411 Rearrange calculations to avoid internal overflow possibilities.
24412 Assert that number fits inside MPNSIZE limbs.
24413 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24414 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24415 calculations and add assertions to avoid internal overflow
24416 possibilities. Add casts to avoid signed/unsigned operations.
24417 * stdlib/tst-strtod-overflow.c: New file.
24418 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24419
1f529f7d
MP
244202012-08-25 Marek Polacek <polacek@redhat.com>
24421
24422 * time/time.h: Fix some typos in comments.
24423
59a629f1
RM
244242012-08-23 Roland McGrath <roland@hack.frob.com>
24425
24426 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24427 * posix/tst-rfc3484-2.c: Likewise.
24428 * posix/tst-rfc3484-3.c: Likewise.
24429
d3bafbc9
SM
244302012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24431
24432 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24433 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24434
4efcc022
JM
244352012-08-23 Joseph Myers <joseph@codesourcery.com>
24436
24437 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24438 #include of fxstatat64.c.
24439
3cc3ef96
RM
244402012-08-22 Roland McGrath <roland@hack.frob.com>
24441
f04e2132
RM
24442 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24443 * shadow/getspent_r.c: Likewise.
24444 * shadow/getspnam.c: Likewise.
24445 * shadow/getspnam_r.c: Likewise.
24446 * gshadow/getsgent.c: Likewise.
24447 * gshadow/getsgent_r.c: Likewise.
24448 * gshadow/getsgnam.c: Likewise.
24449 * gshadow/getsgnam_r.c: Likewise.
24450 * inet/getnetbyad.c: Likewise.
24451 * inet/getnetbyad_r.c: Likewise.
24452 * inet/getnetbynm.c: Likewise.
24453 * inet/getnetbynm_r.c: Likewise.
24454 * inet/getnetent.c: Likewise.
24455 * inet/getnetent_r.c: Likewise.
24456 * inet/getproto.c: Likewise.
24457 * inet/getproto_r.c: Likewise.
24458 * inet/getprtent.c: Likewise.
24459 * inet/getprtent_r.c: Likewise.
24460 * inet/getprtname.c: Likewise.
24461 * inet/getprtname_r.c: Likewise.
24462 * inet/getrpcbyname.c: Likewise.
24463 * inet/getrpcbyname_r.c: Likewise.
24464 * inet/getrpcbynumber.c: Likewise.
24465 * inet/getrpcbynumber_r.c: Likewise.
24466 * inet/getrpcent.c: Likewise.
24467 * inet/getrpcent_r.c: Likewise.
24468 * inet/getaliasent.c: Likewise.
24469 * inet/getaliasent_r.c: Likewise.
24470 * inet/getaliasname.c: Likewise.
24471 * inet/getaliasname_r.c: Likewise.
24472 * nscd/getgrgid_r.c: Likewise.
24473 * nscd/getgrnam_r.c: Likewise.
24474 * nscd/gethstbyad_r.c: Likewise.
24475 * nscd/gethstbynm3_r.c: Likewise.
24476 * nscd/getpwnam_r.c: Likewise.
24477 * nscd/getpwuid_r.c: Likewise.
24478 * nscd/getsrvbynm_r.c: Likewise.
24479 * nscd/getsrvbypt_r.c: Likewise.
24480 * nscd/gai.c: Likewise.
24481
c53d909c
RM
24482 * configure.in (build_nscd): New substituted variable, set
24483 by --disable-build-nscd and defaults to $use_nscd.
24484 * configure: Regenerated.
24485 * config.make.in (build-nscd): New substituted variable.
24486 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24487 Change conditional to require [$(build-nscd) = yes] as well.
24488 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24489
3cc3ef96
RM
24490 [BZ# 13696]
24491 * configure.in (use_nscd): New substituted variable, set by
24492 --disable-nscd. If enabled, define USE_NSCD.
24493 * configure: Regenerated.
24494 * config.h.in: Add USE_NSCD.
24495 * config.make.in (use-nscd): New substituted variable.
24496 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24497 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24498 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24499 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24500 (CFLAGS-getgrnam_r.c): Likewise.
24501 (CFLAGS-initgroups.c): Likewise.
24502 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24503 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24504 Variables removed.
24505 * inet/getnetgrent_r.c
24506 (nscd_setnetgrent): New function, broken out of ...
24507 (setnetgrent): ... here. Call it.
24508 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24509 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24510 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24511 * nscd/Makefile (routines, aux): Move definitions after include of
24512 Makeconfig. Conditionalize on [$(use-nscd) != no].
24513 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24514 Conditionalize on [USE_NSCD].
24515 (is_nscd, nscd_init_cb): Likewise.
24516 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24517 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24518 * nss/nss_db/db-init.c: Likewise.
24519 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24520 [USE_NSCD].
24521 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24522 (make_request): Use it.
24523 (cache_valid_p): New function.
24524 (__check_pf): Use it.
24525 * NEWS: Add item for --disable-nscd.
24526
07e51550
DL
245272012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24528
24529 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24530 to support sed >= 4.2.1-20-ga9bf076.
24531 * configure: Regenerated.
24532
35a5b08b
RM
245332012-08-22 Roland McGrath <roland@hack.frob.com>
24534
24535 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24536 Conditionalize whole body on [IREL].
24537
8479f23a
JL
245382012-08-22 Jeff Law <law@redhat.com>
24539
24540 [BZ #14505]
24541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24542 if the family is PF_UNSPEC.
24543
48da0b21
MF
245442012-08-22 Mike Frysinger <vapier@gentoo.org>
24545
24546 * Makerules (lib-version): Rename from V.
24547 (install-lib-nosubdir): Change V to lib-version.
24548
15d0da8c
WS
245492012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24550
24551 [BZ #14252]
24552 * powerpc32/power6/wcschr.c: New file.
24553 * powerpc32/power6/wcscpy.c: New file.
24554 * powerpc32/power6/wcsrchr.c: New file.
24555 * powerpc64/power6/wcschr.c: New file.
24556 * powerpc64/power6/wcscpy.c: New file.
24557 * powerpc64/power6/wcsrchr.c: New file.
24558
bcca0895
MK
245592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24560
24561 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24562 (two_way_short_needle): Use it.
5a4aaa33
RM
24563 * string/strstr.c (AVAILABLE1_USES_J): Define.
24564 * string/strcasestr.c: Likewise.
99677e57
MK
24565
24566 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24567 array references.
24568 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24569
400726de
MK
24570 [BZ #11607]
24571 * NEWS: Add an entry.
24572 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24573 define their defaults.
24574 (two_way_short_needle): Detect end-of-string on-the-fly.
24575 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24576 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24577 * string/bug-strcasestr1.c: New test.
24578 * string/Makefile: Run it.
24579
20a71f2c
MK
245802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24581
24582 [BZ #11607]
24583 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24584 the first character.
24585
21ad0558
RM
245862012-08-21 Roland McGrath <roland@hack.frob.com>
24587
24588 * csu/elf-init.c (__libc_csu_irel): Function removed.
24589 * csu/libc-start.c (apply_irel): New function.
24590 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24591
0e1d9911
JM
245922012-08-21 Joseph Myers <joseph@codesourcery.com>
24593
24594 * sysdeps/unix/sysv/linux/kernel-features.h
24595 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24596 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24597 <kernel-features.h>.
24598 [__NR_fadvise64_64]: Make code unconditional.
24599 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24600 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24601 !__NR_fadvise64_64)]: Likewise.
24602 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24603 !__NR_fadvise64_64))]: Likewise.
24604 [__NR_fadvise64]: Make code unconditional.
24605 [!__NR_fadvise64]: Remove conditional code.
24606 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24607 <kernel-features.h>.
24608 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24609 unconditional.
24610 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24611 conditional code.
24612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24613 not include <kernel-features.h>.
24614 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24615 unconditional.
24616 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24617 conditional code.
24618 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24619 include <kernel-features.h>.
24620 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24621 unconditional.
24622 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24623 conditional code.
24624
14a50c9d
WS
246252012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24626
24627 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24628 slight instruction rearrangements per scrollpipe analysis.
24629 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24630
c0f4faf0
RM
246312012-08-20 Roland McGrath <roland@hack.frob.com>
24632
696da859
RM
24633 * manual/syslog.texi (syslog; vsyslog, closelog):
24634 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24635 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24636
c0f4faf0
RM
24637 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24638 DSOCAPS to match condition on defining it.
24639
348363b2
JM
246402012-08-20 Joseph Myers <joseph@codesourcery.com>
24641
a35cbf28
JM
24642 * sysdeps/unix/sysv/linux/kernel-features.h
24643 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24645 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24646 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24648 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24649 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24651 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24652 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24653
445f7ecd
JM
24654 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24655 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24656
348363b2
JM
24657 * sysdeps/unix/sysv/linux/kernel-features.h
24658 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24659 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24660 unconditional.
24661 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24662 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24663 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24664 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24665 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24666 Make code unconditional.
24667 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24668 (__mmap64) [!__NR_mmap2]: Likewise.
24669 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24670 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24671 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24672 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24673 [__NR_mmap2]: Make code unconditional.
24674 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24675 (__mmap64) [!__NR_mmap2]: Likewise.
24676
bc5bc0e5
AK
246772012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24678
24679 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24680
88d506de
AJ
246812012-08-18 Andreas Jaeger <aj@suse.de>
24682
24683 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24684
493387d2
MF
246852012-08-18 Mike Frysinger <vapier@gentoo.org>
24686
24687 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24688 * include/unistd.h (__have_sock_cloexec): Likewise.
24689 (__have_pipe2): Likewise.
24690 (__have_dup3): Likewise.
24691
a277af22
MF
246922012-08-18 Mike Frysinger <vapier@gentoo.org>
24693
24694 [BZ #9685]
24695 * include/unistd.h (__have_pipe2): Change define into an extern int.
24696 (__have_dup3): Likewise.
24697 * socket/have_sock_cloexec.c: Include fcntl.h.
24698 (__have_pipe2): New variable.
24699 (__have_dup3): Likewise.
24700
fdab8fd3
MF
247012012-08-17 Mike Frysinger <vapier@gentoo.org>
24702
24703 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24704
31035e80
MP
247052012-08-17 Marek Polacek <polacek@redhat.com>
24706
24707 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24708 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24709
3bd9e993
RM
247102012-08-17 Roland McGrath <roland@hack.frob.com>
24711
c91c505f
RM
24712 * configure.in: Add AC_SUBST for sysheaders.
24713 * configure: Regenerated.
24714 * config.make.in (sysheaders): New substituted variable.
24715
7c6f9d53
RM
24716 * sysdeps/unix/mkfifo.c: Moved ...
24717 * sysdeps/posix/mkfifo.c: ... here.
24718 * sysdeps/unix/mkfifoat.c: Moved ...
24719 * sysdeps/posix/mkfifoat.c: ... here.
24720
24721 * sysdeps/unix/utime.c: Moved ...
24722 * sysdeps/posix/utime.c: ... here.
24723
24724 * sysdeps/unix/time.c: Moved ...
24725 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24726 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24727 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24728
24729 * sysdeps/unix/nice.c: Moved ...
24730 * sysdeps/posix/nice.c: ... here.
24731
24732 * sysdeps/unix/alarm.c: Moved ...
24733 * sysdeps/posix/alarm.c: ... here.
24734
3bd9e993
RM
24735 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24736
d1f09384
JL
247372012-08-17 Jeff Law <law@redhat.com>
24738
24739 * intl/Makefile (codeset_mo): New variable.
24740 ($(codeset_mo)): New target.
24741 (tst-codeset.out): Depend on that. Remove explicit rule.
24742 (tst-gettext3.out, tst-gettext5.out): Likewise.
24743 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24744 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24745 * intl/tst-codeset.sh: Remove.
24746 * intl/tst-gettext3.sh: Likewise.
24747 * intl/tst-gettext5.sh: Likewise.
24748
2ae1ae5c
RM
247492012-08-17 Roland McGrath <roland@hack.frob.com>
24750
c31fdb83
RM
24751 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24752 * sysdeps/unix/syscalls.list: ... here.
24753
a0844057
RM
24754 * sysdeps/posix/getaddrinfo.c
24755 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24756 (gaiconf_init, gaiconf_reload): Use them.
24757 [!_STATBUF_ST_NSEC]
24758 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24759 Define using time_t rather than struct timespec.
24760
750c1f2a
RM
24761 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24762 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24763 Macros removed.
24764 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24765 [!NO_THREADS].
24766 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24767 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24768 Likewise.
24769
2ae1ae5c
RM
24770 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24771 __libc_cleanup_push argument.
24772
e66a42f5
RM
24773 * bits/param.h: New file.
24774 * misc/sys/param.h: New file.
24775 * include/sys/param.h: New file.
24776 * misc/Makefile (headers): Add bits/param.h.
24777 * sysdeps/generic/sys/param.h: File removed.
24778 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24779 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24780 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24781 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24782
b7c08a66
RM
24783 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24784 last change.
24785
b2e1c562
RM
24786 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24787 [_IO_MTSAFE_IO].
24788 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24789 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24790 New macros.
24791
c75ccd4c
RM
24792 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24793 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24794 rather than -D_IO_MTSAFE_IO conditionally.
24795 * stdio-common/Makefile (CPPFLAGS): Likewise.
24796 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24797 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24798 Use $(libio-mtsafe).
24799 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24800 of -D_IO_MTSAFE_IO.
24801 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24802 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24803 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24804 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24805 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24806 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24807 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24808 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24809 (CFLAGS-fread_u_chk.c): Likewise.
24810 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24811 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24812 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24813 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24814 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24815 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24816 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24817 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24818 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24819
24820 * libio/Makefile: Test [$(libc-reentrant) = yes]
24821 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24822
24823 * Makeconfig
24824 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24825 * sysdeps/pthread/configure: File removed.
24826 * sysdeps/pthread/Makeconfig: New file.
24827 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24828 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24829
d9195db8
GB
248302012-08-16 Gary Benson <gbenson@redhat.com>
24831
24832 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24833 unmapping the first object in a namespace.
24834
86466cd9
RM
248352012-08-16 Roland McGrath <roland@hack.frob.com>
24836
24837 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24838 (__internal_setnetgrent): ... this. Add internal_function to
24839 definition. Add libc_hidden_def.
24840 (setnetgrent): Update caller.
24841 (internal_endnetgrent): Renamed to ...
24842 (__internal_endnetgrent): ... this. Add internal_function to
24843 definition. Add libc_hidden_def.
24844 (endnetgrent): Update caller.
24845 (internal_getnetgrent_r): Renamed to ...
24846 (__internal_getnetgrent_r): ... this. Add internal_function to
24847 definition. Add libc_hidden_def.
24848 (__getnetgrent_r): Update caller.
24849 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24850
c3c8283c
JM
248512012-08-16 Joseph Myers <joseph@codesourcery.com>
24852
24853 * stdlib/longlong.h: Update from GCC.
24854
db1ee0a8
RM
248552012-08-16 Roland McGrath <roland@hack.frob.com>
24856
24857 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24858 on _QL, which is set by umul_ppmm but never used.
24859 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24860 variables, which are set by GMP macros but never used.
24861 * stdio-common/_itowa.c (_itowa): Likewise.
24862 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24863 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24864
30f69637
CD
248652012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24866
24867 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24868 struct La_sh_regs is not constant.
24869 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24870 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24871 and struct La_sparc64_regs are not constant.
24872
93a78ac4
JM
248732012-08-16 Joseph Myers <joseph@codesourcery.com>
24874
24875 * sysdeps/unix/sysv/linux/kernel-features.h
24876 (__ASSUME_POSIX_TIMERS): Remove.
24877 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24878 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24879 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24880 Make code unconditional.
24881 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24882 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24883 Make code unconditional.
24884 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24885 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24886 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24887 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24888 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24889 Make code unconditional.
24890 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24891 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24892 (__libc_missing_posix_timers): Remove.
24893
dd924cd7
RM
248942012-08-15 Roland McGrath <roland@hack.frob.com>
24895
4b4f2771
RM
24896 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24897 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24898
601c888b
RM
24899 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24900
176790a7
RM
24901 * elf/dl-sym.c: Include <stdlib.h>.
24902
329bc018
RM
24903 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24904 constants, which avoids warnings in 32-bit builds.
24905
e04e272d
RM
24906 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24907 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24908
952bf94a
RM
24909 * misc/lseek.c: File moved to ...
24910 * io/lseek.c: ... here.
24911
7c99b50a
RM
24912 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24913
dd924cd7
RM
24914 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24915 shifting LEN more than 31 bits at once.
24916
b3f479a8
LD
249172012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24918
24919 [BZ #14195]
8c4ae0d4
RM
24920 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24921 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24922 * string/test-strncasecmp.c (check1): Renamed to...
24923 (bz12205): ...this.
24924 (bz14195): Add new testcase for two empty input strings and N > 0.
24925 (test_main): Call new testcase, adapt for renamed function.
24926
9c55864e
AJ
249272012-08-15 Andreas Jaeger <aj@suse.de>
24928
24929 [BZ #14090]
24930 * crypt/md5test2.c: New test, based on test supplied by Serge
24931 Belyshev <belyshev@depni.sinp.msu.ru>.
24932 * crypt/Makefile (xtests): Add md5test-giant..
24933 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24934
02dcb6c5
PE
249352012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24936
24937 [BZ #14090]
24938 * crypt/md5.c (md5_process_block): Don't assume the buffer
24939 length is less than 2**32.
24940 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24941 length is less than 2**64.
24942
a3f95dcc
RM
249432012-08-15 Roland McGrath <roland@hack.frob.com>
24944
be75d758
RM
24945 * string/str-two-way.h: Include <sys/param.h>.
24946 (MAX): Macro removed.
24947
7312ca90
RM
24948 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24949 Move #define and #undef of memmove to just before and after
24950 including <string.h>.
24951
9a0a5486
RM
24952 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24953 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24954 and after including <string.h>. Move declarations of
24955 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24956 to before #include "string/memmove.c".
24957
67cc348d
RM
24958 * include/dirent.h: Declare __getdirentries.
24959
a3f95dcc
RM
24960 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24961 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24962
ca98e171
MF
249632012-08-14 Mike Frysinger <vapier@gentoo.org>
24964
24965 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24966 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24967 * sysdeps/i386/configure: Regenerated.
24968 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24969 STABS_CURRENT_FILE, and STABS_FUN.
24970 (END): Remove call to STABS_FUN_END.
24971 (STABS_CURRENT_FILE1): Delete.
24972 (STABS_CURRENT_FILE): Likewise.
24973 (STABS_FUN): Likewise.
24974 (STABS_FUN_END): Likewise.
24975 (STABS_FUN2): Likewise.
24976 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24977 * sysdeps/x86_64/configure: Regenerated.
24978
5908bf46
RM
249792012-08-14 Roland McGrath <roland@hack.frob.com>
24980
24981 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24982 * elf/dl-lookup.c: Likewise.
5908bf46 24983
f2c05b9e
JM
249842012-08-14 Joseph Myers <joseph@codesourcery.com>
24985
24986 * sysdeps/unix/sysv/linux/kernel-features.h
24987 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24988 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24989 unconditionally.
24990 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24991 unconditionally.
24992 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24993 condition on __ASSUME_CLONE_THREAD_FLAGS.
24994
e11f5155
AJ
249952012-08-14 Andreas Jaeger <aj@suse.de>
24996
24997 * sysdeps/i386/fpu/libm-test-ulps: Update.
24998
51a9ba86
MK
249992012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25000
2fdd4f78
AJ
25001 * include/atomic.h (atomic_exchange_and_add): Split into ...
25002 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25003 New atomic macros.
51a9ba86 25004
ba6cba9e
MT
250052012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25006
25007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25008
42443a47
JL
250092012-08-13 Jeff Law <law@redhat.com>
25010
25011 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25012 null byte in the output string.
25013
121dce05
JM
250142012-08-10 Joseph Myers <joseph@codesourcery.com>
25015
25016 * sysdeps/unix/sysv/linux/kernel-features.h
25017 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25018 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25019 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25020 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25021 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25022 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25023 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25024
bf51f568
JL
250252012-08-09 Jeff Law <law@redhat.com>
25026
25027 [BZ #13939]
25028 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25029 When avoid_arena is set, don't retry in the that arena. Pick the
25030 next one, whatever it might be.
25031 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25032 (arena_lock): Pass in new parameter to arena_get2.
25033 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25034 arena_get2.
25035 (__libc_malloc): Unify retrying after main arena failure with
25036 __libc_memalign version.
25037 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25038
f85fa270
L
250392012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25040
25041 [BZ #14166]
25042 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25043 to __redirect_strstr.
25044 (__strstr_sse42): Use typeof __redirect_strstr.
25045 (__strstr_ia32): Likewise.
25046 (__libc_strstr): New prototype.
25047 (strstr): Renamed to ...
25048 (__libc_strstr): This.
25049 (strstr): New strong alias of __libc_strstr.
25050 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25051 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25052 __redirect_time.
25053 Include <time.h>.
25054 (__libc_time): New prototype.
25055 (time_ifunc): Replace time with __libc_time.
25056 (time): New strong alias and hidden definition of __libc_time.
25057 (__GI_time): Remove strong alias.
25058 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25059 Include <stddef.h>.
25060 (memmove): Redefined to __redirect_memmove.
25061 (__memmove_sse2): Use typeof __redirect_memmove.
25062 (__memmove_ssse3): Likewise.
25063 (__memmove_ssse3_back): Likewise.
25064 (__libc_memmove): New prototype.
25065 (memmove): Renamed to ...
25066 (__libc_memmove): This.
25067 (memmove): New strong alias of __libc_memmove.
25068
33b4a91e
MS
250692012-08-08 Mark Salter <msalter@redhat.com>
25070
25071 * elf/elf.h
25072 (R_MN10300_TLS_GD): Define.
25073 (R_MN10300_TLS_LD): Likewise.
25074 (R_MN10300_TLS_LDO): Likewise.
25075 (R_MN10300_TLS_GOTIE): Likewise.
25076 (R_MN10300_TLS_IE): Likewise.
25077 (R_MN10300_TLS_LE): Likewise.
25078 (R_MN10300_TLS_DTPMOD): Likewise.
25079 (R_MN10300_TLS_DTPOFF): Likewise.
25080 (R_MN10300_TLS_TPOFF): Likewise.
25081 (R_MN10300_SYM_DIFF): Likewise.
25082 (R_MN10300_ALIGN): Likewise.
25083 (R_MN10300_NUM): Update.
25084
b36137f1
JM
250852012-08-08 Joseph Myers <joseph@codesourcery.com>
25086
25087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25088 Remove.
25089
cdd915fd
RM
250902012-08-08 Roland McGrath <roland@hack.frob.com>
25091
a2433aac
RM
25092 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25093
cdd915fd
RM
25094 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25095 sysdeps/unix -> sysdeps/posix move.
25096 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25097
bf9b740a
AM
250982012-08-07 Allan McRae <allan@archlinux.org>
25099
25100 [BZ #14303]
25101 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25102 (SUNOS_CPP): Likewise.
25103 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25104 not found.
25105 (open_input): Call CPP using execvp.
25106
93df14ee
JM
251072012-08-07 Joseph Myers <joseph@codesourcery.com>
25108
25109 * sysdeps/unix/sysv/linux/kernel-features.h
25110 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25111 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25112 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25113 (__ASSUME_WAITID_SYSCALL): Likewise.
25114 * sysdeps/unix/sysv/linux/dl-execstack.c
25115 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25116 code unconditional.
25117 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25118 conditional code.
25119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25120 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25121 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25122 code.
25123 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25124 unconditional.
25125 [__ASSUME_WAITID_SYSCALL]: Likewise.
25126 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25127
d34689de
RM
251282012-08-07 Roland McGrath <roland@hack.frob.com>
25129
a281decc
RM
25130 * sysdeps/unix/closedir.c: Renamed to ...
25131 * sysdeps/posix/closedir.c: ... here.
25132 * sysdeps/unix/dirfd.c: Renamed to ...
25133 * sysdeps/posix/dirfd.c: ... here.
25134 * sysdeps/unix/dirstream.h: Renamed to ...
25135 * sysdeps/posix/dirstream.h: ... here.
25136 * sysdeps/unix/fdopendir.c: Renamed to ...
25137 * sysdeps/posix/fdopendir.c: ... here.
25138 * sysdeps/unix/opendir.c: Renamed to ...
25139 * sysdeps/posix/opendir.c: ... here.
25140 * sysdeps/unix/readdir.c: Renamed to ...
25141 * sysdeps/posix/readdir.c: ... here.
25142 * sysdeps/unix/readdir_r.c: Renamed to ...
25143 * sysdeps/posix/readdir_r.c: ... here.
25144 * sysdeps/unix/rewinddir.c: Renamed to ...
25145 * sysdeps/posix/rewinddir.c: ... here.
25146 * sysdeps/unix/seekdir.c: Renamed to ...
25147 * sysdeps/posix/seekdir.c: ... here.
25148 * sysdeps/unix/telldir.c: Renamed to ...
25149 * sysdeps/posix/telldir.c: ... here.
25150 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25151 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25152 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25153 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25154
22895b47
RM
25155 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25156 * bits/fcntl.h: ... here.
25157
707a53b6
RM
25158 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25159 not 0.
25160 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25161 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25162 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25163 (struct flock): Move l_start, l_len to the beginning.
25164 Use __pid_t for l_pid.
25165 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25166 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25167 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25168 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25169 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25170 [__USE_LARGEFILE64] (struct flock64): New type.
25171 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25172
f0bd3e25
RM
25173 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25174 * bits/dirent.h: ... here.
25175
d34689de
RM
25176 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25177 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25178
6dad2c06
JM
251792012-08-07 Joseph Myers <joseph@codesourcery.com>
25180
25181 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25182 Change from 2.6.0 to 2.6.16.
25183 * sysdeps/unix/sysv/linux/configure: Regenerated.
25184 * sysdeps/unix/sysv/linux/kernel-features.h
25185 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25186 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25187 version.
25188 (__ASSUME_UTIMES): Likewise.
25189 (__ASSUME_CLONE_STOPPED): Remove.
25190 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25191 architectures, not kernel version.
25192 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25193 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25194 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25195 (__ASSUME_WAITID_SYSCALL): Likewise.
25196 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25197 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25198 * README: State 2.6.16 as minimum Linux kernel version. Do not
25199 refer to older versions.
25200
03af9520
RM
252012012-08-06 Roland McGrath <roland@hack.frob.com>
25202
8e49df1d
RM
25203 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25204 Define alphasort64 as an alias.
25205 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25206 Define versionsort64 as an alias.
25207 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25208 Define scandir64 as an alias.
25209 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25210 Define scandirat64 as an alias.
25211 * dirent/alphasort64.c (alphasort64):
25212 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25213 * dirent/versionsort64.c: Likewise.
25214 * dirent/scandir64.c: Likewise.
25215 * dirent/scandirat64.c: Likewise.
25216 * sysdeps/wordsize-64/alphasort.c: File removed.
25217 * sysdeps/wordsize-64/alphasort64.c: File removed.
25218 * sysdeps/wordsize-64/scandir.c: File removed.
25219 * sysdeps/wordsize-64/scandir64.c: File removed.
25220 * sysdeps/wordsize-64/scandirat.c: File removed.
25221 * sysdeps/wordsize-64/scandirat64.c: File removed.
25222 * sysdeps/wordsize-64/versionsort.c: File removed.
25223 * sysdeps/wordsize-64/versionsort64.c: File removed.
25224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25225 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25226 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25227 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25228 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25229 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25230 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25231 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25232
25233 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25235 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25237 [defined __arch64__ || defined __sparcv9]
25238 (__INO_T_MATCHES_INO64_T): New macro.
25239 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25240 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25241 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25242 * sysdeps/unix/sysv/linux/bits/dirent.h
25243 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25244 (_DIRENT_MATCHES_DIRENT64): New macro.
25245
03af9520
RM
25246 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25247 Define lockf64 as an alias.
25248 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25249 Define fseeko64 as an alias.
25250 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25251 Define ftello64 as an alias.
25252 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25253 Define _IO_fgetpos64 and fgetpos64 as aliases.
25254 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25255 Define _IO_fsetpos64 and fsetpos64 as aliases.
25256 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25257 Conditionalize body on this.
25258 * libio/fseeko64.c: Likewise.
25259 * libio/ftello64.c: Likewise.
25260 * libio/iofgetpos64.c: Likewise.
25261 * libio/iofsetpos64.c: Likewise.
25262 * sysdeps/wordsize-64/lockf.c: File removed.
25263 * sysdeps/wordsize-64/lockf64.c: File removed.
25264 * sysdeps/wordsize-64/fseeko.c: File removed.
25265 * sysdeps/wordsize-64/fseeko64.c: File removed.
25266 * sysdeps/wordsize-64/ftello.c: File removed.
25267 * sysdeps/wordsize-64/ftello64.c: File removed.
25268 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25269 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25270 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25271 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25274 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25276 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25278 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25279 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25280 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25281 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25282
25283 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25285 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25287 [defined __arch64__ || defined __sparcv9]
25288 (__OFF_T_MATCHES_OFF64_T): New macro.
25289 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25290 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25292 (__OFF_T_MATCHES_OFF64_T): New macro.
25293
c5757acd
L
252942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25295
25296 * stdlib/secure-getenv.c (__secure_getenv): Replace
25297 GLIBC_2_16 with GLIBC_2_17.
25298
3a31811e
L
252992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25300
25301 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25303
faa2bccb
DM
253042012-08-03 David S. Miller <davem@davemloft.net>
25305
25306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25307
85fe1997
JM
253082012-08-03 Joseph Myers <joseph@codesourcery.com>
25309
25310 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25311 Remove.
25312 (__ASSUME_CORRECT_SI_PID): Likewise.
25313 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25314 (__ASSUME_TMPFS_NAME): Likewise.
25315 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25316 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25317 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25318 (HAVE_AUX_SECURE): Make definition unconditional.
25319 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25320 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25321
4f75b7a0
RM
253222012-08-03 Roland McGrath <roland@hack.frob.com>
25323
25324 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25325 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25326 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25327 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25328 __eloop_threshold instead of SYMLOOP_MAX.
25329
25330 * sysdeps/generic/eloop-threshold.h: New file.
25331 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25332 of MAXSYMLINKS.
25333 * elf/chroot_canon.c (chroot_canon): Likewise.
25334
7aab07e4
JM
253352012-08-03 Joseph Myers <joseph@codesourcery.com>
25336
25337 [BZ #13717]
25338 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25339 Change to 2.6.0 everywhere.
25340 * sysdeps/unix/sysv/linux/configure: Regenerated.
25341 * sysdeps/unix/sysv/linux/kernel-features.h
25342 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25343 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25344 kernel versions.
25345 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25346 (__ASSUME_FUTEX_REQUEUE): Remove.
25347 (__ASSUME_STATFS64): Define unconditionally.
25348 (__ASSUME_AT_SECURE): Likewise.
25349 (__ASSUME_CORRECT_SI_PID): Likewise.
25350 (__ASSUME_TGKILL): Define without depending on kernel version for
25351 i386.
25352 (__ASSUME_UTIMES): Likewise.
25353 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25354 kernel version.
25355 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25356 (__ASSUME_TMPFS_NAME): Likewise.
25357 * README: Update reference to Linux kernel versions.
25358
b67e9372
MP
253592012-08-02 Marek Polacek <polacek@redhat.com>
25360
1f529f7d 25361 [BZ# 14150]
b67e9372
MP
25362 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25363 libc_cv_asm_type_prefix with %.
25364 * configure: Regenerated.
d2441631
RM
25365 * include/libc-symbols.h: Remove comment about
25366 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25367 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25368 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25369 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25370 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25371 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25372 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25373 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25374 * elf/tst-unique2mod1.c: Likewise.
25375 * elf/tst-unique1mod2.c: Likewise.
25376 * elf/tst-unique1mod1.c: Likewise.
25377 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25378 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25379 Replace ASM_TYPE_DIRECTIVE with .type.
25380 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25381 * sysdeps/i386/sysdep.h: Likewise.
25382 * sysdeps/x86_64/sysdep.h: Likewise.
25383 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25385 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25386 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25387 * sysdeps/powerpc/powerpc32/sysdep.h:
25388 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25389 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25390 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25391 * sysdeps/i386/fpu/e_powf.S: Likewise.
25392 * sysdeps/i386/fpu/e_expl.S: Likewise.
25393 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25394 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25395 * sysdeps/i386/fpu/e_pow.S: Likewise.
25396 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25397 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25398 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25399 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25400 * sysdeps/i386/fpu/e_log2.S: Likewise.
25401 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25402 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25403 * sysdeps/i386/fpu/e_powl.S: Likewise.
25404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25405 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25406 * sysdeps/i386/fpu/e_logl.S: Likewise.
25407 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25408 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25409 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25410 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25411 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25412 * sysdeps/i386/fpu/e_log.S: Likewise.
25413 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25414 * sysdeps/i386/fpu/e_logf.S: Likewise.
25415 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25416 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25417 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25418 * sysdeps/i386/fpu/e_log10.S: Likewise.
25419 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25421 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25422 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25424 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25425 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25426 * sysdeps/i386/i686/strtok.S: Likewise.
25427 * sysdeps/i386/i386-mcount.S: Likewise.
25428 * sysdeps/i386/strtok.S: Likewise.
25429 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25430 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25431 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25433 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25434 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25435 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25436 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25437 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25438 * sysdeps/x86_64/_mcount.S: Likewise.
25439 * sysdeps/x86_64/strtok.S: Likewise.
25440 * sysdeps/sh/_mcount.S: Likewise.
25441
2747bf9a
RM
254422012-08-01 Roland McGrath <roland@hack.frob.com>
25443
25444 * libio/iofopen.c: Include <fcntl.h>.
25445 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25446 (_IO_fopen64, fopen64): Define as aliases.
25447 * libio/iofopen64.c: Include <fcntl.h>.
25448 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25449 Conditionalize body on this.
25450 * sysdeps/wordsize-64/iofopen.c: File removed.
25451 * sysdeps/wordsize-64/iofopen64.c: File removed.
25452
3fb791b8
MP
254532012-08-01 Marek Polacek <polacek@redhat.com>
25454
25455 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25456 Use dlfcn directly instead of a variable.
25457 (binfmt-subdir): Do not define.
25458 (dlfcn): Likewise.
25459
a9f1039f
JM
254602012-08-01 Joseph Myers <joseph@codesourcery.com>
25461
23bddc06
JM
25462 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25463 Remove all definitions.
25464 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25465 <kernel-features.h>.
25466 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25467 (miss_F_GETOWN_EX): Remove all definitions.
25468 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25469 macro definition.
25470 [!__ASSUME_FCNTL64]: Remove conditional code.
25471 [__ASSUME_FCNTL64]: Make code unconditional.
25472 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25473 <kernel-features.h>.
25474 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25475 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25476 (lockf64) [__NR_fcntl64]: Make code unconditional.
25477 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25478
a9f1039f
JM
25479 * sysdeps/unix/sysv/linux/kernel-features.h
25480 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25481 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25482 Make code unconditional.
25483 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25484 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25486 [__NR_vfork]: Make code unconditional.
25487 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25488 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25490 [__NR_vfork]: Make code unconditional.
25491 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25492 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25493
09c0ee5f
RM
254942012-08-01 Roland McGrath <roland@hack.frob.com>
25495
48aec5b9
RM
25496 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25497 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25498
cd97c966
RM
25499 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25500 Define mkstemp64 as an alias.
3f55550c
RM
25501 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25502 Define mkstemps64 as an alias.
cd97c966
RM
25503 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25504 Define mkostemp64 as an alias.
b8625cfc
RM
25505 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25506 Define mkostemps64 as an alias.
cd97c966
RM
25507 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25508 Conditionalize body on this.
25509 * misc/mkostemp64.c: Likewise.
b8625cfc 25510 * misc/mkostemps64.c: Likewise.
3f55550c 25511 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25512 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25513 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25514 * sysdeps/wordsize-64/mkostemp.c: File removed.
25515 * sysdeps/wordsize-64/mkstemp.c: File removed.
25516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25517 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25518 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25519 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25520
09c0ee5f
RM
25521 [BZ #14138]
25522 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25523 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25524 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25525 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25526
25527 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25528 compat_symbol macros from <shlib-compat.h> rather than the underlying
25529 default_symbol_version and symbol_version macros, so that DEFAULT
25530 lines in shlib-versions are respected.
25531 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25532
7e66ee51
FW
255332012-08-01 Florian Weimer <fweimer@redhat.com>
25534
25535 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25536 Declare with warn_unused_result.
25537 (setgid, setregid, setegid, setresgid): Likewise.
25538 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25539 Likewise.
25540 * WUR-REPORT: Remove set*id functions.
25541
d2a54255
PT
255422012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25543
25544 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25545
7ecdb005
RM
255462012-07-31 Roland McGrath <roland@hack.frob.com>
25547
b4180a5e 25548 [BZ #10191]
789bd351
RM
25549 * include/sys/socket.h (__libc_accept, __libc_accept4):
25550 Add attribute_hidden.
25551 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25552
40ce302d
RM
25553 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25554 use of PTR_MANGLE.
25555 * inet/getnetgrent_r.c (setup): Likewise.
25556
7ecdb005
RM
25557 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25558
e2eabb2c
DM
255592012-07-31 David S. Miller <davem@davemloft.net>
25560
25561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25562
d0419dbf
JM
255632012-07-31 Joseph Myers <joseph@codesourcery.com>
25564
25565 [BZ #13629]
25566 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25567 value between 1.0 and 2.0 and smaller part has absolute value less
25568 than 1.0.
25569 * math/s_clog10.c (__clog10): Likewise.
25570 * math/s_clog10f.c (__clog10f): Likewise.
25571 * math/s_clog10l.c (__clog10l): Likewise.
25572 * math/s_clogf.c (__clogf): Likewise.
25573 * math/s_clogl.c (__clogl): Likewise.
25574 * math/libm-test.inc (clog_test): Add more tests.
25575 (clog10_test): Likewise.
25576 * sysdeps/i386/fpu/libm-test-ulps: Update.
25577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25578
2bc13872
FW
255792012-07-31 Florian Weimer <fweimer@redhat.com>
25580
25581 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25582 Exit with zero in case no suitable GID is found, and write a
25583 message to standard error.
25584
bea9b193
RM
255852012-07-30 Roland McGrath <roland@hack.frob.com>
25586
25587 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25588 rather than to 1.
25589 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25590 (MAXPATHLEN): Removed.
25591 (NOGROUP, NODEV): New macros.
25592 (setbit, clrbit, isset, isclr): New macros.
25593 (howmany, roundup, powerof2): New macros.
25594 (DEV_BSIZE): New macro.
25595
25596 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25597 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25598
25599 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25600 definition on [!__NO_LONG_DOUBLE_MATH].
25601
25602 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25603 PTR_MANGLE and PTR_DEMANGLE.
25604
25605 * socket/accept4.c (accept4): Rename to __libc_accept4.
25606 Define accept4 as a weak alias.
25607
25608 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25609 on [_DIRENT_HAVE_D_TYPE].
25610 * io/ftw.c (ftw_dir): Likewise.
25611
25612 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25613
25614 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25615
25616 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25617 Use the BSD numbers rather than the arbitrary ones we had.
25618 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25619 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25620 (SIGXCPU, SIGXFSZ): New macros.
25621 (_NSIG): Now 32.
25622
25623 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25624 initializer on [_LIBC_REENTRANT].
25625
25626 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25627 definitions inside [_POSIX_MAPPED_FILES].
25628
25629 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25630
25631 * dirent/opendir.c: Include <fcntl.h>.
25632
25633 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25634 (__libc_getspecific): Likewise.
25635 (__libc_key_create): Likewise.
25636
25637 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25638 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25639 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25640 (tmpfile64): Define as alias.
25641 * sysdeps/wordsize-64/tmpfile.c: File removed.
25642 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25643 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25645
25646 * stdio-common/vfscanf.c: Include <stdbool.h>.
25647 * nss/makedb.c: Likewise.
25648 * stdio-common/_i18n_number.h: Likewise.
25649 * argp/argp-help.c: Likewise.
25650 * posix/wordexp.c: Likewise.
25651 * sysdeps/posix/spawni.c: Likewise.
25652 * nss/nss_files/files-initgroups.c: Likewise.
25653 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25654 * nss/nss_files/files-initgroups.c: Likewise.
25655 * nss/nss_db/db-netgrp.c: Likewise.
25656 * nss/nss_db/db-initgroups.c: Likewise.
25657 * io/fchmodat.c: Include <sys/stat.h>.
25658
25659 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25660 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25661
25662 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25663 [HAVE_MMAP].
25664
25665 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25666 Add multiple inclusion protection.
25667
e5abc686
DM
256682012-07-27 David S. Miller <davem@davemloft.net>
25669
25670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25671
815e6fa3
GB
256722012-07-27 Gary Benson <gbenson@redhat.com>
25673
25674 [BZ #14298]
25675 * elf/rtld.c: Include <stap-probe.h>.
25676 (dl_main): Added static probes "init_start" and "init_complete".
25677 * elf/dl-load.c: Include <stap-probe.h>.
25678 (lose): Take new parameter "nsid".
25679 Added static probe "map_failed".
25680 (_dl_map_object_from_fd): Pass namespace id to lose.
25681 Added static probe "map_start".
25682 (open_verify): Pass namespace id to lose.
25683 * elf/dl-open.c: Include <stap-probe.h>.
25684 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25685 and "reloc_complete".
25686 * elf/dl-close.c: Include <stap-probe.h>.
25687 (_dl_close_worker): Added static probes "unmap_start" and
25688 "unmap_complete".
25689 * elf/rtld-debugger-interface.txt: New file documenting the above.
25690
9f98c16c
RM
256912012-07-26 Roland McGrath <roland@hack.frob.com>
25692
25693 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25694 rather than a string variable.
25695 * sunrpc/rpc_main.c (h_output): Likewise.
25696 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25697
f3c22df3
PT
256982012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25699
25700 * inet/check_native.c: New file.
25701
3129cfc6
JM
257022012-07-26 Joseph Myers <joseph@codesourcery.com>
25703
da865e95
JM
25704 [BZ #13629]
25705 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25706 if larger part has absolute value 1.0.
25707 * math/s_clog10.c (__clog10): Likewise.
25708 * math/s_clog10f.c (__clog10f): Likewise.
25709 * math/s_clog10l.c (__clog10l): Likewise.
25710 * math/s_clogf.c (__clogf): Likewise.
25711 * math/s_clogl.c (__clogl): Likewise.
25712 * math/libm-test.inc (clog_test): Add more tests.
25713 (clog10_test): Likewise.
25714 * sysdeps/i386/fpu/libm-test-ulps: Update.
25715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25716
3129cfc6
JM
25717 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25718 (pltexit): Likewise.
25719 (La_regs): Likewise.
25720 (La_retval): Likewise.
25721 (int_retval): Likewise.
25722 Update #error for removed macros to refer only to definitions in
25723 tst-audit.h.
25724 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25725 macro.
25726 (pltexit): Likewise.
25727 (La_regs): Likewise.
25728 (La_retval): Likewise.
25729 (int_retval): Likewise.
25730 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25731 macro.
25732 (pltexit): Likewise.
25733 (La_regs): Likewise.
25734 (La_retval): Likewise.
25735 (int_retval): Likewise.
25736 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25737 macro.
25738 (pltexit): Likewise.
25739 (La_regs): Likewise.
25740 (La_retval): Likewise.
25741 (int_retval): Likewise.
25742 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25743 macro.
25744 (pltexit): Likewise.
25745 (La_regs): Likewise.
25746 (La_retval): Likewise.
25747 (int_retval): Likewise.
25748 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25749 macro.
25750 (pltexit): Likewise.
25751 (La_regs): Likewise.
25752 (La_retval): Likewise.
25753 (int_retval): Likewise.
25754 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25755 macro.
25756 (pltexit): Likewise.
25757 (La_regs): Likewise.
25758 (La_retval): Likewise.
25759 (int_retval): Likewise.
25760 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25761 macro definitions in tst-audit.h.
25762 * sysdeps/i386/tst-audit.h: New file.
25763 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25764 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25765 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25766 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25767 * sysdeps/sh/tst-audit.h: Likewise.
25768 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25769 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25770 * sysdeps/x86_64/tst-audit.h: Likewise.
25771
bfc07087
AJ
257722012-07-26 Andreas Jaeger <aj@suse.de>
25773
b1b2aaf8
AJ
25774 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25775 ptrace.
25776
25777 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25778 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25779 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25780 PTRACE_O_MASK.
25781 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25782 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25783 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25784
bfc07087
AJ
25785 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25786 value.
25787
25788 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25789 _sigsys.
25790 (si_call_addr, si_syscall, si_arch): Define new macro.
25791 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25792 _sigsys.
25793 (si_call_addr, si_syscall, si_arch): Define new marcro.
25794 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25795 _sigsys.
25796 (si_call_addr, si_syscall, si_arch): Define new macro.
25797 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25798 _sigsys.
25799 (si_call_addr, si_syscall, si_arch): Define new macro.
25800
89b4b02f
JM
258012012-07-25 Joseph Myers <joseph@codesourcery.com>
25802
25803 [BZ #13717]
25804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25805 Change to 2.4.21 where previously 2.4.1.
25806 * sysdeps/unix/sysv/linux/configure: Regenerated.
25807 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25808 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25809 Linux kernel version.
25810 (__ASSUME_STD_AUXV): Remove.
25811 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25812 kernel version.
25813 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25814 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25815 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25816 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25817 (__ASSUME_NETLINK_SUPPORT): Likewise.
25818 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25819 (__no_netlink_support): Remove conditional definition.
25820 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25821 Remove.
25822 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25823 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25824 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25825 (if_nameindex_ioctl): Remove.
25826 (if_nameindex_netlink): Do not handle __no_netlink_support.
25827 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25828 code.
25829 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25830 Remove conditional code.
25831 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25832 code.
25833 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25834 unconditional.
25835 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25836 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25837 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25838 Remove.
25839 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25840 [!__ASSUME_STD_AUXV]: Remove conditional code.
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25842 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25843 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25845 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25846 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25847 code.
25848 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25850 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25851 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25852 conditional code.
25853 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25855 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25856 code.
25857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25858 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25859 conditional code.
25860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25861 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25862 code unconditional.
25863 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25864 conditional code.
25865 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25866 unconditional.
25867 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25868 conditional code.
25869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25870 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25871 unconditional.
25872 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25873 conditional code.
25874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25875 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25876 code unconditional.
25877 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25878 conditional code.
25879 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25880 unconditional.
25881 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25882 conditional code.
25883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25884 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25885 code unconditional.
25886 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25887 conditional code.
25888 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25889 unconditional.
25890 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25891 conditional code.
25892
842a39cd
AS
258932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25894
25895 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25896 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25897 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25898 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25899 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25900 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25901 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25902 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25903 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25904 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25905 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25906 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25907 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25908 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25909 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25910 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25911 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25912 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25913 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25915 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25916 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25917 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25918
84b3fd84
FW
259192012-07-25 Florian Weimer <fweimer@redhat.com>
25920
25921 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25922 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25923 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25924 Introduce __libc_secure_getenv.
0c7936d5
FW
25925 * stdlib/Versions (2.17): Add secure_getenv
25926 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25927 * stdlib/secure-getenv.c: Rename __secure_getenv to
25928 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25929 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25930 * stdlib/tst-secure-getenv.c: New.
25931 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25932 * manual/startup.texi (Environment Access): Document
25933 secure_getenv.
84b3fd84
FW
25934 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25935 __libc_secure_getenv.
25936 * inet/ruserpass.c (ruserpass): Likewise.
25937 * malloc/mtrace.c (mtrace): Likewise.
25938 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25939 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25940 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25941 * sysdeps/posix/tempname.c: Likewise. Evaluate
25942 HAVE_SECURE_GETENV.
25943 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25944 __secure_getenv to __libc_secure_getenv.
84b3fd84 25945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25947 Likewise.
25948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25949 Likewise.
25950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25957
56e49b71
JM
259582012-07-25 Joseph Myers <joseph@codesourcery.com>
25959
25960 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25961 (struct La_i86_retval): Likewise.
25962 (struct La_x86_64_regs): Likewise.
25963 (struct La_x86_64_retval): Likewise.
25964 (struct La_x32_regs): Likewise.
25965 (struct La_x32_retval): Likewise.
25966 (struct La_ppc32_regs): Likewise.
25967 (struct La_ppc32_retval): Likewise.
25968 (struct La_ppc64_regs): Likewise.
25969 (struct La_ppc64_retval): Likewise.
25970 (struct La_sh_regs): Likewise.
25971 (struct La_sh_retval): Likewise.
25972 (struct La_s390_32_regs): Likewise.
25973 (struct La_s390_32_retval): Likewise.
25974 (struct La_s390_64_regs): Likewise.
25975 (struct La_s390_64_retval): Likewise.
25976 (struct La_sparc32_regs): Likewise.
25977 (struct La_sparc32_retval): Likewise.
25978 (struct La_sparc64_regs): Likewise.
25979 (struct La_sparc64_retval): Likewise.
25980 (struct audit_ifaces): Remove architecture-specific pltenter and
25981 pltexit members.
25982 * sysdeps/i386/ldsodefs.h: New file.
25983 * sysdeps/powerpc/ldsodefs.h: Likewise.
25984 * sysdeps/s390/ldsodefs.h: Likewise.
25985 * sysdeps/sh/ldsodefs.h: Likewise.
25986 * sysdeps/sparc/ldsodefs.h: Likewise.
25987 * sysdeps/x86_64/ldsodefs.h: Likewise.
25988
354691b7
MP
259892012-07-25 Marek Polacek <polacek@redhat.com>
25990
25991 [BZ #6808]
25992 * math/libm-test.inc (yn_test): Add another test.
25993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25994 to ERANGE when the result is +-Inf.
25995 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25996 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25997 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25998 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25999
bf9e2071
JM
260002012-07-24 Joseph Myers <joseph@codesourcery.com>
26001
26002 * conform/data/time.h-data (NULL): Use macro-constant. Require
26003 equal to 0.
26004 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26005 clock_t.
26006 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26007
57633811
TS
260082012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26009
26010 * configure.in <sysdeps resolving>: Correct printing
26011 Implies_before.
26012 * configure: Regenerate.
26013
c23c33b0
TS
260142012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26015
26016 * math/w_ilogb.c: Include <limits.h>.
26017 * math/w_ilogbl.c: Likewise.
26018
b5982523
JM
260192012-07-20 Joseph Myers <joseph@codesourcery.com>
26020
26021 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26022 va_copy. Document allowing for unavailable va_copy only as
26023 pre-C99 compatibility.
26024 * manual/string.texi (Copying and Concatenation): Use va_copy
26025 instead of __va_copy in concat example.
26026
ac4ea442
PT
260272012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26028
26029 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26030 (__sendto): Use create_address_port. Initialize APORT and deallocate
26031 it if not null.
26032
f98eafbd
PT
26033 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26034 with O_NOLINK passed to __file_name_lookup.
26035
898c7aab
PT
26036 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26037 with O_NOLINK passed to __file_name_lookup.
26038
0ced335a
PT
26039 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26040 negative N or less than NGIDS.
26041
b3404dbd
PT
26042 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26043 type to string_t. Set ERANGE as errno and return it if NAME is not big
26044 enough. Use memcpy instead of strncpy.
26045
0f48659e
JM
260462012-07-20 Joseph Myers <joseph@codesourcery.com>
26047
26048 * elf/Makefile (check-data): Remove.
26049 (localplt.data): New vpath directive.
26050 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26051 instead of $(check-data).
26052 * scripts/data/localplt-generic.data: Move to ...
26053 * sysdeps/generic/localplt.data: ... here.
26054 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26055 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26056 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26058 ... here.
26059 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26061 ... here.
26062 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26064 ... here.
26065 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26067 ... here.
26068 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26070 ... here.
26071 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26073 ... here.
26074
d37cbdaa
AZ
260752012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26076
26077 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26078 PPC32 and PPC64 files.
26079 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26080 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26081
46f85fc2
AK
260822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26083
26084 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26085 __makecontext_ret to ...
26086 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26087 ... here and call exit if uc_link is NULL. New file.
26088 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26089 __makecontext_ret.S.
26090 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26091 __makecontext_ret to ...
26092 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26093 ... here and call exit if uc_link is NULL. New file.
26094 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26095 __makecontext_ret.S.
26096
08f43f9b
AK
260972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26098
26099 * elf/elf.h (R_390_IRELATIVE): New definition.
26100 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26101 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26102 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26103 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26104 (elf_machine_lazy_rel): Likewise.
26105 * sysdeps/s390/dl-irel.h: New file.
26106 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26107 * sysdeps/s390/s390-64/memset.S: New asm code.
26108 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26109 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26110 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26111 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26112 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26113 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26114 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26115 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26116 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26117 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26118 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26119 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26120 * sysdeps/s390/s390-32/memset.S: New asm code.
26121 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26122
3b05db33
MP
261232012-07-17 Marek Polacek <polacek@redhat.com>
26124
26125 [BZ #14349]
26126 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26127 * sysdeps/s390/s390-64/configure.in: Likewise.
26128 * sysdeps/sparc/configure.in: Likewise.
26129 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26130 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26131 * sysdeps/i386/configure.in: Likewise.
26132 * sysdeps/x86_64/configure.in: Likewise.
26133 * sysdeps/sh/configure.in: Likewise.
26134 * sysdeps/s390/s390-32/configure: Regenerated.
26135 * sysdeps/s390/s390-64/configure: Likewise.
26136 * sysdeps/x86_64/configure: Likewise.
26137 * sysdeps/sh/configure: Likewise.
26138 * sysdeps/powerpc/powerpc64/configure: Likewise.
26139 * sysdeps/powerpc/powerpc32/configure: Likewise.
26140 * sysdeps/sparc/configure: Likwise.
26141 * sysdeps/i386/configure: Likewise.
26142
a66877c6
MP
26143 * elf/dl-open.c: Comment fixes.
26144
cfc82fd8
JM
261452012-07-17 Joseph Myers <joseph@codesourcery.com>
26146
bd29910a
JM
26147 * Makefile [CXX] (check-data): Remove.
26148 [CXX] (c++-types.data): New vpath directive.
26149 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26150 vpath. Do not allow for C++ type data being missing.
26151 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26152 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26153 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26154 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26155 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26156 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26157 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26159 ... here.
26160 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26162 ... here.
26163 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26165 ... here.
26166 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26168 ... here.
26169 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26171 ... here.
26172 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26174 ... here.
26175 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26177 ... here.
26178 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26180
cfc82fd8
JM
26181 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26182 definitions to architecture-specific files.
26183 (TLS_IE): Likewise.
26184 (TLS_LD): Likewise.
26185 (TLS_GD): Likewise.
26186 * sysdeps/i386/tls-macros.h: New file.
26187 * sysdeps/powerpc/tls-macros.h: Likewise.
26188 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26189 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26190 * sysdeps/sh/tls-macros.h: Likewise.
26191 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26192 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26193 * sysdeps/x86_64/tls-macros.h: Likewise.
26194
f7db3170
TS
261952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26196
07cbfc23
TS
26197 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26198 zero value for regular exit case.
26199
f7db3170
TS
26200 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26201 (__start_context): Preserve zero value for regular exit case.
26202
dc97c227
TS
262032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26204 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26205
26206 * manual/setjmp.texi (setcontext): Clarify normal process
26207 termination when uc_link is the null pointer.
26208 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26209 exit call.
26210
d0cd7d02
AS
262112012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26212
26213 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26214 preprocessor. Test for each exception mask separately.
26215
dd318934
AJ
262162012-07-16 Andreas Jaeger <aj@suse.de>
26217
26218 * po/ru.po: Update from translation team.
26219
8048311a
JM
262202012-07-15 Joseph Myers <joseph@codesourcery.com>
26221
26222 * conform/data/string.h-data (NULL): Use macro-constant. Require
26223 equal to 0.
26224 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26225 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26226 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26227 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26229
b637d46e
AJ
262302012-07-13 Andreas Jaeger <aj@suse.de>
26231
26232 * po/fr.po: Update from translation team.
26233
541428fe
MP
262342012-07-12 Marek Polacek <polacek@redhat.com>
26235
26236 [BZ #14173]
26237 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26239 loop condition.
26240
ec332e94
JM
262412012-07-12 Joseph Myers <joseph@codesourcery.com>
26242
26243 [BZ #13717]
26244 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26245 Change to 2.4.1 where previously 2.4.0.
26246 * sysdeps/unix/sysv/linux/configure: Regenerated.
26247 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26248 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26249 version.
26250 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26251 (__ASSUME_AT_CLKTCK): Remove.
26252 (__ASSUME_AT_PAGESIZE): Likewise.
26253 (__ASSUME_AT_XID): Likewise.
26254 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26255 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26256 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26257 unconditionally.
26258 (HAVE_AUX_PAGESIZE): Likewise.
26259 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26260 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26261 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26262
7b6e99be
JB
262632012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26264
26265 [BZ #14307]
26266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26267 the temporary buffer used to invoke __gethostbyname2_r,
26268 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26269 host_data / struct gaih_addrtuple.
26270 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26271 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26272 header file nss/nsswitch.h.
26273 * nss/nsswitch.h (global scope): Add definition of implementation
26274 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26275 resolv/nss_dns/dns-host.c).
26276
608404eb
AJ
262772012-07-11 Andreas Jaeger <aj@suse.de>
26278
26279 * po/fr.po: Update from translation team.
26280
71220aca
AJ
26281 * po/sv.po: Update from translation team
26282 * po/fr.po: Another update from translation team.
26283
28cfe843
AZ
262842012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26285
26286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26287 for subnormals or multiply small sinh result by itself.
26288 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26290
6b90f981
DM
262912012-07-11 David S. Miller <davem@davemloft.net>
26292
26293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26294
c6825772
AS
262952012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26296
26297 [BZ #14347]
26298 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26299 (INTERNAL_MARK): Shift it here.
26300
7b8e0d49
MP
263012012-07-10 Marek Polacek <polacek@redhat.com>
26302
26303 [BZ #14151]
26304 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26305 libc_cv_asm_global_directive with .globl.
26306 * configure: Regenerated.
26307 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26308 with .globl.
26309 * sysdeps/i386/configure: Regenerated.
26310 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26311 with .globl.
26312 * sysdeps/x86_64/configure: Regenerated.
26313 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26314 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26315 * elf/tst-unique2mod2.c: Likewise.
26316 * elf/tst-unique2mod1.c: Likewise.
26317 * elf/tst-unique1mod2.c: Likewise.
26318 * elf/tst-unique1mod1.c: Likewise.
26319 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26320 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26321 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26322 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26323 * sysdeps/mach/sysdep.h: Likewise.
26324 * sysdeps/i386/sysdep.h: Likewise.
26325 * sysdeps/i386/i386-mcount.S: Likewise.
26326 * sysdeps/x86_64/_mcount.S: Likewise.
26327 * sysdeps/x86_64/sysdep.h: Likewise.
26328 * sysdeps/sh/_mcount.S: Likewise.
26329 * sysdeps/sh/sysdep.h: Likewise.
26330 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26331 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26332 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26333 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26334 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26335 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26336 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26337 * locale/localeinfo.h: Likewise.
26338 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26339 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26340
6c55cda3
RM
263412012-07-09 Roland McGrath <roland@hack.frob.com>
26342
26343 [BZ #14336]
26344 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26345 system".
26346 * manual/message.texi (The Uniforum approach): Likewise.
26347 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26348 (glibc iconv Implementation): Likewise.
26349
638a572e
JM
263502012-07-09 Joseph Myers <joseph@codesourcery.com>
26351
26352 [BZ #14337]
26353 * math/s_clog.c (__clog): Avoid scaling a value down where that
26354 could result in underflow.
26355 * math/s_clog10.c (__clog10): Likewise.
26356 * math/s_clog10f.c (__clog10f): Likewise.
26357 * math/s_clog10l.c (__clog10l): Likewise.
26358 * math/s_clogf.c (__clogf): Likewise.
26359 * math/s_clogl.c (__clogl): Likewise.
26360 * math/libm-test.inc (clog_test): Add more tests.
26361 (clog10_test): Likewise.
26362 * sysdeps/i386/fpu/libm-test-ulps: Update.
26363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26364
261f4859
AS
263652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26366
0abaf3e4
AS
26367 [BZ #14283]
26368 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26369 by 7 not 8 to examine high bit of fractional part.
26370
261f4859
AS
26371 [BZ #14042]
26372 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26373 for call to __mcount_internal.
26374 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26375 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26376 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26377
f17ac40d
JM
263782012-07-06 Joseph Myers <joseph@codesourcery.com>
26379
9ad63c23
JM
26380 [BZ #14154]
26381 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26382 approximation for values within 0x1p-13f of an odd multiple of
26383 pi/4.
26384 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26385 exception. Add more tests.
26386 * sysdeps/i386/fpu/libm-test-ulps: Update.
26387
f17ac40d
JM
26388 [BZ #6778]
26389 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26390 inputs and return -1 for them. Do not check for +Inf in case not
26391 reachable for +Inf.
26392 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26393 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26394 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26395 and return -1 for them. Do not check for +Inf in case not
26396 reachable for +Inf.
26397 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26398 define.
26399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26400 and return -1 for them. Do not check for +Inf in case not
26401 reachable for +Inf.
26402 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26403 spurious underflow.
26404 * sysdeps/i386/fpu/libm-test-ulps: Update.
26405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26406
fb21f89b
MF
264072012-07-06 Mike Frysinger <vapier@gentoo.org>
26408
26409 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26410
cdfe2c5e
JM
264112012-07-05 Joseph Myers <joseph@codesourcery.com>
26412
26413 [BZ #14157]
26414 [BZ #14331]
26415 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26416 could result in spurious underflow. Scale down values above
26417 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26418 * math/s_csqrtf.c (__csqrtf): Likewise.
26419 * math/s_csqrtl.c (__csqrtl): Likewise.
26420 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26421 spurious underflow.
26422 * sysdeps/i386/fpu/libm-test-ulps: Update.
26423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26424
70d35b67
AS
264252012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26426
704bc459
AS
26427 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26428 xopen-msg.sed.
26429 * catgets/xopen-msg.awk: New file.
26430 * catgets/xopen-msg.sed: Removed.
26431
70d35b67
AS
26432 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26433 po2text.sed.
26434 * intl/po2test.awk: New file.
26435 * intl/po2test.sed: Removed.
26436
ca61cf32
JM
264372012-07-04 Joseph Myers <joseph@codesourcery.com>
26438
26439 [BZ #14328]
26440 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26441 or multiply small sinh result by itself.
26442 * math/s_ctanf.c (__ctanf): Likewise.
26443 * math/s_ctanh.c (__ctanh): Likewise.
26444 * math/s_ctanhf.c (__ctanhf): Likewise.
26445 * math/s_ctanhl.c (__ctanhl): Likewise.
26446 * math/s_ctanl.c (__ctanl): Likewise.
26447 * math/libm-test.inc (ctan_test_tonearest): New function.
26448 (ctan_test_towardzero): Likewise.
26449 (ctan_test_downward): Likewise.
26450 (ctan_test_upward): Likewise.
26451 (ctanh_test_tonearest): Likewise.
26452 (ctanh_test_towardzero): Likewise.
26453 (ctanh_test_downward): Likewise.
26454 (ctanh_test_upward): Likewise.
26455 (main): Call these new functions.
26456 * sysdeps/i386/fpu/libm-test-ulps: Update.
26457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26458
ca48a46a
MF
264592012-07-03 Mike Frysinger <vapier@gentoo.org>
26460
26461 * .gitignore: Delete /ports entry.
26462
9d63d37d
AJ
264632012-07-03 Andreas Jaeger <aj@suse.de>
26464
26465 * po/bg.po: Update from translation team.
26466 * po/cs.po: Likewise.
26467 * po/de.po: Likewise.
26468 * po/hr.po: Likewise.
26469 * po/nl.pl: Likewise.
26470 * po/pl.po: Likewise.
26471 * po/vi.po: Likewise.
26472
370ca3d2
JM
264732012-07-03 Joseph Myers <joseph@codesourcery.com>
26474
95f5a9a8
JM
26475 * Makeconfig [!+link] (+link-before-libc): New variable.
26476 [!+link] (+link-after-libc): Likewise.
26477 [!+link] (+link-tests): Likewise.
26478 [!+link] (+link): Define in terms of $(+link-before-libc) and
26479 $(+link-after-libc).
26480 [!+link-static] (+link-static-before-libc): New variable.
26481 [!+link-static] (+link-static-after-libc): Likewise.
26482 [!+link-static] (+link-static-tests): Likewise.
26483 [!+link-static] (+link-static): Define in terms of
26484 $(+link-static-before-libc) and $(+link-static-after-libc).
26485 [build-shared] (link-libc-before-gnulib): New variable.
26486 [build-shared] (link-libc-tests): Likewise.
26487 [build-shared] (link-libc): Define in terms of
26488 $(link-libc-before-gnulib).
26489 [!build-shared] (link-libc-tests): New variable.
26490 (link-libc-static-tests): New variable.
26491 [!gnulib] (gnulib-arch): New variable.
26492 [!gnulib] (gnulib-tests): Likewise.
26493 [!gnulib] (static-gnulib-arch): Likewise.
26494 [!gnulib] (static-gnulib-tests): Likewise.
26495 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26496 Define with "=" instead of ":=".
26497 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26498 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26499 * Rules (binaries-all-notests): New variable.
26500 (binaries-all-tests): Likewise.
26501 (binaries-static-notests): Likewise.
26502 (binaries-static-tests): Likewise.
26503 (binaries-all): Define using $(binaries-all-notests) and
26504 $(binaries-all-tests).
26505 (binaries-static): Define using $(binaries-static-notests) and
26506 $(binaries-static-tests).
26507 (binaries-shared-tests): New variable.
26508 (binaries-shared-notests): Likewise.
26509 (binaries-shared): Remove variable.
26510 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26511 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26512 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26513 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26514 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26515 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26516 * elf/Makefile (sln-modules): New variable.
26517 (extra-objs): Add $(sln-modules:=.o).
26518 (ldconfig-modules): Add static-stubs.
26519 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26520 * elf/static-stubs.c: New file.
26521
7a845b2c
JM
26522 [BZ #14283]
26523 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26524 by 7 not 8 to examine high bit of fractional part. Use volatile
26525 variables when splitting into final array of floats if
26526 __FLT_EVAL_METHOD__ != 0.
26527 * math/libm-test.inc (cos_test): Add another test.
26528 (sin_test): Likewise.
26529 * sysdeps/i386/fpu/libm-test-ulps: Update.
26530
e2283f38
JM
26531 [BZ #14273]
26532 * math/libm-test.inc (cosh_test): Add more tests.
26533
370ca3d2
JM
26534 * version.h (RELEASE): Set to "development".
26535 (VERSION): Set to "2.16.90".
26536
ee9247c3
CD
265372012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26538
26539 * NEWS: Update copyright. Remove last-updated date.
26540 Mention math library bug fixes and timezone data changes.
26541 * README: Mention GNU/Hurd, x32, and HPPA support status.
26542
4648c381
TS
265432012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26544
26545 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26546
aac78a43
AJ
265472012-06-27 Andreas Jaeger <aj@suse.de>
26548
26549 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26550
ed3dbfad
AJ
265512012-06-25 Andreas Jaeger <aj@suse.de>
26552
26553 * sysdeps/s390/fpu/libm-test-ulps: Update.
26554
4d0ee855
AS
265552012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26556 Thomas Schwinge <thomas@codesourcery.com>
26557
26558 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26559 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26560 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26561 fanotify_mark.
26562
af1bce34
TS
265632012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26564
a9fa33ba
TS
26565 * sysdeps/mach/start.c: Remove file.
26566 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26567 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26568 * sysdeps/sh/init-first.c: Likewise.
26569
58f902b8
TS
26570 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26571 registers for frame unwinding purposes, add CFI directives.
26572 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26573 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26574 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26575 Likewise.
26576
1518f58b
TS
26577 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26578 __fortify_fail returning.
26579 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26580
db9b5059
TS
26581 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26582 sysdeps/sh/____longjmp_chk.S.
26583 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26584 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26585 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26586 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26587
967705fe
TS
26588 * sysdeps/sh/abort-instr.h: New file.
26589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26590 process in case exit returns.
26591
a9def8c4
TS
26592 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26593 initialize the GOT register before use.
26594
2a649725
TS
26595 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26596 calculation of ARGC > 4.
26597
af1bce34
TS
26598 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26599 meaningful names to some local labels.
26600
d230f50a
KK
266012012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26602 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26603
26604 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26605 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26606 (__arch_compare_and_exchange_val_16_acq): Likewise.
26607 (__arch_compare_and_exchange_val_32_acq): Likewise.
26608 (atomic_exchange_and_add): Fix gUSA sequence.
26609 (atomic_add): Likewise.
26610 (atomic_add_negative): Likewise.
26611 (atomic_add_zero): Likewise.
26612 (atomic_bit_test_set): Likewise.
26613
0479b305
AS
266142012-06-22 Andreas Schwab <schwab@redhat.com>
26615
26616 [BZ #13579]
26617 * include/link.h (struct link_map): Add l_free_initfini.
26618 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26619 l_initfini.
26620 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26621 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26622 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26623 set.
26624
0e3933b9
CD
266252012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26626
26627 * configure.in: Use AC_LANG_SOURCE.
26628 * configure: Regenerate.
26629
4248b1b1
RM
266302012-06-22 Roland McGrath <roland@hack.frob.com>
26631
26632 * configure.in (libc_cv_localstatedir): New substituted variable.
26633 * configure: Regenerated.
26634 * config.make.in (localstatedir): New variable, substituted from
26635 libc_cv_localstatedir.
26636 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26637 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26638 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26639 * sysdeps/gnu/configure: Regenerated.
26640
006dd861
JL
266412012-06-21 Jeff Law <law@redhat.com>
26642
26643 [BZ #14277]
26644 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26645 free. Simplify list management for _LIBC case.
26646
79662d42
JM
266472012-06-21 Joseph Myers <joseph@codesourcery.com>
26648
b7abb4bf
JM
26649 [BZ #14273]
26650 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26651 Clear sign bit of 64-bit integer value before comparing against
26652 overflow value.
26653
79662d42
JM
26654 * sysdeps/mach/configure: Regenerated.
26655
1f150908
L
266562012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26657
26658 [BZ #14278]
26659 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26660
28363bbf
JL
266612012-06-21 Jeff Law <law@redhat.com>
26662
26663 [BZ #13882]
26664 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26665 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26666 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26667 * elf/dl-open.c (dl_open_worker): Likewise.
26668
09615db4
CD
266692012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26670
26671 * scripts/list-sources.sh: Scan PORTS for translations.
26672 * po/libc.pot: Regenerated.
26673
2174c6dd
AJ
266742012-06-21 Andreas Jaeger <aj@suse.de>
26675
26676 [BZ #12194]
26677 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26678 warning.
26679 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26680 * bits/byteswap-16.h (__bswap_16): Likewise.
26681 * bits/byteswap.h (__bswap_constant_16): Likewise.
26682
3ee947b1
L
266832012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26684
26685 [BZ #14117]
a2f34833
L
26686 * sysdeps/i386/fpu_control.h: Removed.
26687 * sysdeps/x86_64/fpu_control.h: Moved to ...
26688 * sysdeps/x86/fpu_control.h: Here.
26689
3ee947b1
L
26690 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26691 (_FPU_SETCW): Likewise.
26692
ed1825f8
L
266932012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26694
25f1282a
L
26695 [BZ #14117]
26696 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26697 * sysdeps/x86/fpu/bits/mathinline.h: This.
26698 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26699
ed1825f8
L
26700 [BZ #14050]
26701 [BZ #14117]
26702 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26703 functions if __x86_64__ is defined.
26704
36d54b74
CLT
267052012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26706
26707 * string/endian.h: Add !__ASSEMBLER__ condition for including
26708 conversion interfaces.
26709
10285c21
JM
267102012-06-15 Joseph Myers <joseph@codesourcery.com>
26711
26712 [BZ #14241]
26713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26714 of ABS(x) in calculating zero to negative powers other than odd
26715 integers.
26716 * math/libm-test.inc (pow_test): Add more tests.
26717
06c5abbd
AJ
267182012-06-15 Andreas Jaeger <aj@suse.de>
26719
26720 * manual/contrib.texi (Contributors): Update entry of Liubov
26721 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26722 Machado Filho.
26723
a3aeac40
CH
267242012-06-15 Cyril Hrubis <metan@ucw.cz>
26725
26726 * string/string.h: Add __wur to GNU version of strerror_r.
26727
49bdf4c1
L
267282012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26729
26730 [BZ #14229]
26731 * string/Makefile (tests): Add tst-strtok_r.
26732 * string/tst-strtok_r.c: New file.
26733 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26734 RAX_LP/RDX_LP on SAVE_PTR.
26735
834f9b8d
RM
267362012-06-14 Roland McGrath <roland@hack.frob.com>
26737
26738 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26739
75fa1921
JM
267402012-06-14 Joseph Myers <joseph@codesourcery.com>
26741
26742 * libm_test.inc (csqrt_test): Allow more spurious underflow
26743 exceptions.
26744 (j0_test): Likewise.
26745 (j1_test): Likewise.
26746 (y0_test): Likewise.
26747 (y1_test): Likewise.
26748
771766df
CD
267492012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26750
26751 * po/Makefile (libc.pot): Use UTF-8 charset.
26752
ceb9e56b
PP
267532012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26754
26755 [BZ #14210]
26756 Suppress sign-conversion warning from FD_SET.
26757 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26758 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26759 not unsigned long int.
26760 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26761
ddb28975
L
267622012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26763
26764 [BZ #14050]
26765 [BZ #14117]
26766 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26767 __extern_always_inline instead of __extern_inline.
26768 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26769 (__signbit): Likewise.
26770 (__signbitl): Support C++ namespace.
26771 (lrintf): New inline function.
26772 (lrint): Likewise.
26773 (llrintf): Likewise.
26774 (llrint): Likewise.
26775 (fmaxf): Likewise.
26776 (fmax): Likewise.
26777 (fminf): Likewise.
26778 (fmin): Likewise.
26779 (rint): Likewise.
26780 (rintf): Likewise.
26781 (ceil): Likewise.
26782 (ceilf): Likewise.
26783 (floor): Likewise.
26784 (floorf): Likewise.
26785 (nearbyint): Likewise.
26786 (nearbyintf): Likewise.
26787
d7b4fb26
TS
267882012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26789
26790 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26791 non-default versions.
26792
eb55f5c2
RM
267932012-06-11 Roland McGrath <roland@hack.frob.com>
26794
26795 [BZ #14218]
26796 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26797
366af02c
TS
267982012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26799
99ff6e5c
TS
26800 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26801 (FE_UPWARD, FE_DOWNWARD): Don't define.
26802 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26803 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26804
366af02c
TS
26805 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26806 reading it.
26807 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26809
793ea851
KK
268102012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26811
26812 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26814 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26815 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26816
a728a38f
L
268172012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26818
26819 [BZ #14117]
c08010c7
L
26820 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26821 * sysdeps/i386/fpu/Implies: New file.
26822 * sysdeps/x86_64/fpu/Implies: Likewise.
26823 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26824 * sysdeps/x86/fpu/bits/fenv.h: This.
26825
a728a38f
L
26826 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26827 __SSE_MATH__.
26828
6e230d11
SP
268292012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26830
26831 [BZ #14134]
26832 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26833 character 0xffff that matches the last element of the
26834 conversion table.
26835
1b671feb
AZ
268362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26837
26838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26839 fmodl commit.
26840
6043738b
AZ
268412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26842
26843 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26844 values higher than 25.6283.
26845
34ae0b32
AZ
268462012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26847
26848 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26849 subnormal exponent extraction and add some __builtin_expect.
26850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26851 Fix for subnormal mantissa calculation.
26852
1214ec8f
MF
268532012-06-04 Mike Frysinger <vapier@gentoo.org>
26854
26855 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26856 cpu2 is -1 and errno is not ENOSYS.
26857
f3d1f93c
L
268582012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26859
26860 [BZ #14117]
0e4a3cd7
L
26861 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26862 * sysdeps/x86/bits/string.h: This.
26863 * sysdeps/x86_64/bits/string.h: Removed.
26864
6704c645
L
26865 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26866 if not compiling for x86-64, but compiling for >= i486.
26867
48495318
L
26868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26869 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26870
14adcbfc
L
26871 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26872 New macro from Linux kernel 3.4.0.
26873 (FP_XSTATE_MAGIC2): Likewise.
26874 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26875 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26876 (struct _fpx_sw_bytes): New struct.
26877 (struct _xsave_hdr): Likewise.
26878 (struct _ymmh_state): Likewise.
26879 (struct _xstate): Likewise.
26880
68e408ab
L
26881 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26882 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26883 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26884 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26885 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26886 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26887
f3d1f93c
L
26888 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26890 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26891 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26892 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26893 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26894
d9dc34cd
TMQMF
268952012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26896
26897 [BZ #13743]
26898 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26899 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26900 (sysdep_headers): Include sys/platform/ppc.h.
26901 * sysdeps/powerpc/test-gettimebase.c: Test for
26902 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26903 * manual/Makefile (appendices): Include platform.texi.
26904 * manual/contrib.texi (Contributors): Update @node pointers.
26905 * manual/maint.texi (Maintenance): Likewise.
26906 (Platform): New node.
26907 * manual/platform.texi: New file. Document the new features.
26908
4af3879c
SP
269092012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26910 Jakub Jelinek <jakub@redhat.com>
26911
26912 [BZ #14188]
26913 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26914 where __builtin_expect is unavailable.
26915
2fd6ff13
DM
269162012-06-03 David S. Miller <davem@davemloft.net>
26917
26918 * stdlib/longlong.h: Updated from GCC.
26919
173f7220
AS
269202012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26921
26922 [BZ #14042]
26923 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26924 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26925 __mcount_internal.
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26927 (GLIBC_2.16): Likewise.
26928
f34a1c6f
L
269292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26932
88a4576f
JM
269332012-06-01 Joseph Myers <joseph@codesourcery.com>
26934
ea32bcdd
JM
26935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26936 (default-abi): New variable.
26937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26938 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26939 variable.
26940 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26941 Likewise.
26942 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26943 Likewise.
26944 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26945 Likewise.
26946
88a4576f
JM
26947 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26948 definition. Document in comment.
26949
402fe938
DM
269502012-06-01 David S. Miller <davem@davemloft.net>
26951
26952 * stdlib/longlong.h: Updated from GCC.
26953
3553723f
L
269542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26955
26956 [BZ #14117]
3bd872c4
L
26957 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26958 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26959 sys/debugreg.h sys/io.h here.
26960 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26961 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26962 sys/io.h.
26963 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26964 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26965 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26966 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26967 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26968 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26969
3553723f
L
26970 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26971 Define only if __x86_64__ is defined.
26972
4842e4fe
JM
269732012-06-01 Joseph Myers <joseph@codesourcery.com>
26974
c5bfe3d5
JM
26975 [BZ #14048]
26976 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26977 Use int64_t for variable i.
26978 * math/libm-test.inc (fmod_test): Add more tests.
26979
4842e4fe
JM
26980 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26981 z computation is not scheduled after fetestexcept.
26982 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26983 Use math_force_eval instead of asm to ensure calculation scheduled
26984 before exception test.
26985 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26986 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26987
efb73488
AJ
269882012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26989
26990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26991 computation is not scheduled after fetestexcept.
26992
29bcce7c
L
269932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26994
26995 [BZ #14117]
26996 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26997 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26998
73a68f94
AZ
269992012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27000
27001 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27002 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27003
67b6df78
L
270042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27005
edf2933a 27006 [BZ #14117]
ebc64a18
L
27007 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27008 <bits/wordsize.h>.
27009 (__WCHAR_MIN): Support __WORDSIZE == 64.
27010 (__WCHAR_MAX): Likewise.
27011
edf2933a
L
27012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27013 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27014
57c6cf40
L
27015 [BZ #14183]
27016 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27017 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27018
67b6df78 27019 [BZ #14117]
8eb6281e
L
27020 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27021 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27022
aac639f4
L
27023 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27024 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27025
67b6df78
L
27026 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27027 Defined to 1 if __x86_64__ isn't defined.
27028 (_STAT_VER_LINUX_OLD): New.
27029 (st_atime): Remove duplicate.
27030 (st_mtime): Likewise.
27031 (st_ctime): Likewise.
27032
1c2cfe81
DM
270332012-05-31 David S. Miller <davem@davemloft.net>
27034
27035 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27036 entries.
27037
5be8418c
AS
270382012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27039
e7725326
AS
27040 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27041 gen-libm-test.pl.
27042
5be8418c
AS
27043 [BZ #14132]
27044 * elf/dl-reloc.c: Include <_itoa.h>.
27045 (_dl_reloc_bad_type): Remove use of INTUSE.
27046 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27047 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27048 * stdio-common/psiginfo.c (psiginfo): Likewise.
27049 * stdio-common/psignal.c (psignal): Likewise.
27050 * string/strsignal.c (strsignal): Likewise.
27051 * include/signal.h (_sys_siglist): Declare hidden proto.
27052 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27053 INTVARDEF with libc_hidden_data_def.
27054 * stdio-common/itoa-udigits.c: Likewise.
27055 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27056 (_itoa_lower_digits_internal): Remove declaration.
27057 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27058 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27059 (_sys_sigabbrev_internal): Remove aliases.
27060 (_sys_siglist): Define hidden alias.
27061
507352f1
MT
270622012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27063
27064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27065 bits/sysctl.h.
27066
42bbb1c3
L
270672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27068
27069 [BZ #14117]
6bd784b6
L
27070 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27071 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27072
8bca20f0
L
27073 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27074 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27075 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27076 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27077 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27078 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27079
f9e890a9
L
27080 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27082 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27083
471101a1
L
27084 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27085 with __addr.
27086 (insw): Likewise.
27087 (insl): Likewise.
27088 (outsb): Likewise.
27089 (outsw): Likewise.
27090 (outsl): Likewise.
27091
6451c862
L
27092 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27094 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27095
a254b8c9
L
27096 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27097 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27098 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27099 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27100 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27101 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27102
b8dfdd92
L
27103 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27104 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27105
578cd270
L
27106 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27107 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27108
de662f5f
L
27109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27111 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27112
25653439
L
27113 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27114 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27115 to ...
27116 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27117
6bad24a0
L
27118 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27119 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27120 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27121
42bbb1c3
L
27122 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27123 for x86-64.
27124 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27125
2d10d547
JM
271262012-05-31 Joseph Myers <joseph@codesourcery.com>
27127
27128 * math/math.h (M_El): Use two more decimal places.
27129 (M_LOG2El): Likewise.
27130 (M_LOG10El): Likewise.
27131 (M_LN2l): Likewise.
27132 (M_LN10l): Likewise.
27133 (M_PIl): Likewise.
27134 (M_PI_2l): Likewise.
27135 (M_PI_4l): Likewise.
27136 (M_1_PIl): Likewise.
27137 (M_2_PIl): Likewise.
27138 (M_2_SQRTPIl): Likewise.
27139 (M_SQRT2l): Likewise.
27140 (M_SQRT1_2l): Likewise.
27141
f230c29b
DM
271422012-05-31 David S. Miller <davem@davemloft.net>
27143
27144 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27145 values between float registers.
27146 * sysdeps/sparc/sparc64/memset.S: Likewise.
27147 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27148
fed806c3
MF
271492012-05-31 Mike Frysinger <vapier@gentoo.org>
27150
27151 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27152 -D_FORTIFY_SOURCE=1.
27153 (CPPFLAGS-tst-longjmp_chk.c): Define.
27154 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27155 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27156 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27157 CFLAGS-tst-wchar-h.c.
27158
30917259
MP
271592012-05-31 Marek Polacek <polacek@redhat.com>
27160
27161 [BZ #14132]
27162 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27163 __endmntent_internal): Remove declaration.
27164 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27165 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27166 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27167
1c58d5dc
DM
271682012-05-30 David S. Miller <davem@davemloft.net>
27169
27170 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27171 (___Q_simulate_exceptions): Use real FP ops rather than writing
27172 into the %fsr.
27173 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27174 Likewise.
27175
7dc00e0d
L
271762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27177
27178 [BZ #14117]
0bd53985
L
27179 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27180 * sysdeps/x86/bits/xtitypes.h: This.
27181
3a257e66
L
27182 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27183 * sysdeps/x86/bits/wordsize.h: This.
27184
62f62904
L
27185 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27186 * sysdeps/x86/bits/huge_vall.h: This.
27187
404fe9d9
L
27188 * sysdeps/i386/bits/select.h: Removed.
27189 * sysdeps/x86_64/bits/select.h: Renamed to ...
27190 * sysdeps/x86/bits/select.h: This.
27191
d48d0446
L
27192 * sysdeps/i386/bits/setjmp.h: Removed.
27193 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27194 * sysdeps/x86/bits/setjmp.h: This.
27195
7dc00e0d
L
27196 * sysdeps/i386/bits/mathdef.h: Removed.
27197 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27198 * sysdeps/x86/bits/mathdef.h: This.
27199
03277f8f
AS
272002012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27201
27202 [BZ #14132]
27203 * include/sys/socket.h (__connect_internal)
27204 (__libc_sa_len_internal): Remove declaration.
27205 (__connect, __libc_sa_len): Declare hidden_proto.
27206 (SA_LEN): Remove use of INTUSE.
27207 * socket/connect.c: Add libc_hidden_def.
27208 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27209 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27210 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27211 alias.
27212 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27213 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27214 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27215 of adding _internal alias.
27216
13764867
L
272172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27218
27219 [BZ #14117]
6bd97696
L
27220 * sysdeps/i386/bits/link.h: Removed.
27221 * sysdeps/i386/bits/linkmap.h: Likewise.
27222 * sysdeps/x86_64/bits/link.h: Renamed to ...
27223 * sysdeps/x86/bits/link.h: This.
27224 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27225 * sysdeps/x86/bits/linkmap.h: This.
27226
f726f0bb
L
27227 * sysdeps/i386/bits/endian.h: Removed.
27228 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27229 * sysdeps/x86/bits/endian.h: This.
27230
13764867
L
27231 * sysdeps/i386/bits/byteswap.h: Removed.
27232 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27233 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27234 * sysdeps/x86/bits/byteswap.h: This.
27235 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27236 * sysdeps/x86/bits/byteswap-16.h: This.
27237 * sysdeps/i386/Implies: Add x86.
27238 * sysdeps/x86_64/Implies: Likewise.
27239
ae251b0b
DM
272402012-05-30 David S. Miller <davem@davemloft.net>
27241
27242 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27243 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27244 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27245 (FP_TRAPPING_EXCEPTIONS): Define.
27246 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27247 (FP_TRAPPING_EXCEPTIONS): Define.
27248 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27249 subnormals only when inexact has been signalled or underflow
27250 exceptions are enabled.
27251 (_FP_PACK_CANONICAL): Likewise.
27252
d5c90867
L
272532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27254
27255 [BZ #14183]
27256 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27257 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27258
63f1549e
RH
272592012-05-30 Richard Henderson <rth@twiddle.net>
27260
8d8f2279
RH
27261 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27262 with #ifndef NOT_IN_libc.
27263
63f1549e
RH
27264 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27265 marked to avoid plt entry.
27266
0ab0291b
L
272672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27268
27269 [BZ #14112]
27270 * Makeconfig (default-abi): New macro.
27271 (abi-includes): Likewise.
27272 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27273 $(abi-$(default-abi)-lib-soname) for soname if defined.
27274 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27275 abi-variants.
27276 * Makefile (installed-stubs): Likewise.
27277 * include/stubs-biarch.h: Removed.
27278 * scripts/lib-names.awk: Only handle one library at a time.
27279 * scripts/soversions.awk: Remove WORDSIZE support.
27280 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27281 entries.
27282 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27283 Removed.
27284 (syscall-list-default-condition): Likewise.
27285 (syscall-list-default-condition): Likewise.
27286 (syscall-list-includes): Likewise.
27287 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27288 syscall-list-* with abi-*. Handle undefined abi-variants.
27289 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27290 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27291 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27292 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27293 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27294 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27295 Removed.
27296 (syscall-list-32-options): Likewise.
27297 (syscall-list-32-condition): Likewise.
27298 (syscall-list-64-options): Likewise.
27299 (syscall-list-64-condition): Likewise.
27300 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27301 macro.
27302 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27303 Renamed to ...
27304 (abi-*): This.
27305 (abi-64-ld-soname): New macro.
27306 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27307 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27308 Renamed to ...
27309 (abi-*): This.
27310 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27311 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27312
4da0431d
JM
273132012-05-30 Joseph Myers <joseph@codesourcery.com>
27314
3a85279c
JM
27315 * sysdeps/unix/sysv/linux/kernel-features.h
27316 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27317 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27318 include <kernel-features.h>.
27319 [!__NR_ftruncate64]: Remove conditional code.
27320 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27321 [__NR_ftruncate64]: Make code unconditional.
27322 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27323 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27324 include <kernel-features.h>.
27325 [!__NR_ftruncate64]: Remove conditional code.
27326 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27327 [__NR_ftruncate64]: Make code unconditional.
27328 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27330 include <kernel-features.h>.
27331 [!__NR_ftruncate64]: Remove conditional code.
27332 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27333 [__NR_ftruncate64]: Make code unconditional.
27334 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27336 include <kernel-features.h>.
27337 [!__NR_ftruncate64]: Remove conditional code.
27338 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27339 [__NR_ftruncate64]: Make code unconditional.
27340 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27341
4da0431d
JM
27342 * configure.in (libc_cv_fpie): Weaken to a compile test using
27343 LIBC_TRY_CC_OPTION.
27344 * configure: Regenerated.
27345
11ef492c
AK
273462012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27347
27348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27352 Refreshed.
27353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27359 Refreshed.
27360
d66ef399
DM
273612012-05-27 David S. Miller <davem@davemloft.net>
27362
27363 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27364 (___Q_zero): New.
27365 (__Q_simulate_exceptions): Return void. Change to simulate
27366 exceptions by writing into the %fsr.
27367 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27368 (__Qp_handle_exceptions): Likewise.
27369 (numbers): Delete.
27370 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27371 __Qp_handle_exceptions.
27372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27373 __Qp_handle_exceptions.
27374 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27375 as unused and give dummy FP_RND_NEAREST initializer.
27376 (FP_INHIBIT_RESULTS): Define.
27377 (___Q_simulate_exceptions): Update declaration.
27378 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27379 formatting.
27380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27381 as unused and give dummy FP_RND_NEAREST initializer.
27382 (__Qp_handle_exceptions): Update declaration.
27383 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27384 formatting.
27385
04fb54b5
TS
273862012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27387
27388 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27389 the temporary FPU control word.
27390 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27391 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27392 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27393 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27394 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27395 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27396 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27398 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27399 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27400 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27401
3f99608f
KK
274022012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27403
27404 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27405 fields.
27406
65a4de4e
CLT
274072012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27408
27409 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27410 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27411 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27412 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27413 Likewise.
27414 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27415 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27416 Likewise.
27417
15749d40
UD
274182012-05-27 Ulrich Drepper <drepper@gmail.com>
27419
27420 * po/h.po: Update from translation team.
27421
25dbcb27
AS
274222012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27423
3d3f8e55
AS
27424 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27425
25dbcb27
AS
27426 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27427 handling of denormals.
27428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27429 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27430 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27431 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27435 Likewise.
27436
7ad47a80 274372012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27438
27439 [BZ #14152]
27440 * math/libm-test.inc (fma_test): Don't always expect underflow
27441 exception.
27442
9c6ea9fa
SP
274432012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27444
27445 [BZ #12416]
27446 * elf/tst-execstack.c: Include stackinfo.h.
27447 (do_test): Adjust test case to ensure that pthread_getattr_np
27448 behaviour remains the same after marking stack executable.
27449
a8239222
JM
274502012-05-25 Joseph Myers <joseph@codesourcery.com>
27451
27452 * sysdeps/unix/sysv/linux/kernel-features.h
27453 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27454 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27455 kernel-features.h.
27456 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27457 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27458 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27459 kernel-features.h.
27460 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27461 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27462
918b5606
L
274632012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27464
27465 * configure.in: Define the default includes to being none.
27466 * configure: Regenerated.
27467
3a097cc7
RM
274682012-05-25 Roland McGrath <roland@hack.frob.com>
27469
8422c9a5
RM
27470 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27471 * sysdeps/x86_64/setjmp.S: Likewise.
27472 * sysdeps/i386/bsd-setjmp.S: Likewise.
27473 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27474 * sysdeps/i386/setjmp.S: Likewise.
27475 * sysdeps/i386/__longjmp.S: Likewise.
27476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27477 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27478
3a097cc7
RM
27479 * include/stap-probe.h: New file.
27480 * configure.in: Handle --enable-systemtap.
27481 * configure: Regenerated.
27482 * config.h.in (USE_STAP_PROBE): New #undef.
27483 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27484 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27485 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27486
21708942
JM
274872012-05-25 Joseph Myers <joseph@codesourcery.com>
27488
27489 [BZ #13717]
27490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27491 to 2.4.0 where earlier.
27492 * sysdeps/unix/sysv/linux/configure: Regenerated.
27493 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
27502 [__ASSUME_32BITUIDS]: Make code unconditional.
27503 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27504 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27505 <kernel-features.h>.
27506 [__ASSUME_32BITUIDS]: Make code unconditional.
27507 [!__ASSUME_32BITUIDS]: Remove conditional code.
27508 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27509 <kernel-features.h>.
27510 [__ASSUME_32BITUIDS]: Make code unconditional.
27511 [!__ASSUME_32BITUIDS]: Remove conditional code.
27512 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27513 <kernel-features.h>.
27514 [__ASSUME_32BITUIDS]: Make code unconditional.
27515 [!__ASSUME_32BITUIDS]: Remove conditional code.
27516 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27517 <kernel-features.h>.
27518 [__ASSUME_32BITUIDS]: Make code unconditional.
27519 [!__ASSUME_32BITUIDS]: Remove conditional code.
27520 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27521 <kernel-features.h>.
27522 [__ASSUME_32BITUIDS]: Make code unconditional.
27523 [!__ASSUME_32BITUIDS]: Remove conditional code.
27524 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27525 <kernel-features.h>.
27526 [__ASSUME_32BITUIDS]: Make code unconditional.
27527 [!__ASSUME_32BITUIDS]: Remove conditional code.
27528 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27529 <kernel-features.h>.
27530 [__ASSUME_32BITUIDS]: Make code unconditional.
27531 [!__ASSUME_32BITUIDS]: Remove conditional code.
27532 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27533 <kernel-features.h>.
27534 [__ASSUME_32BITUIDS]: Make code unconditional.
27535 [!__ASSUME_32BITUIDS]: Remove conditional code.
27536 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27537 <kernel-features.h>.
27538 [__ASSUME_32BITUIDS]: Make code unconditional.
27539 [!__ASSUME_32BITUIDS]: Remove conditional code.
27540 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27541 <kernel-features.h>.
27542 [__ASSUME_32BITUIDS]: Make code unconditional.
27543 [!__ASSUME_32BITUIDS]: Remove conditional code.
27544 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27545 <kernel-features.h>.
27546 [__NR_setresgid] (__setresgid): Do not declare.
27547 [__ASSUME_32BITUIDS]: Make code unconditional.
27548 [!__ASSUME_32BITUIDS]: Remove conditional code.
27549 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27550 <kernel-features.h>.
27551 [__NR_setresuid] (__setresuid): Do not declare.
27552 [__ASSUME_32BITUIDS]: Make code unconditional.
27553 [!__ASSUME_32BITUIDS]: Remove conditional code.
27554 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27555 <kernel-features.h>.
27556 [__ASSUME_32BITUIDS]: Make code unconditional.
27557 [!__ASSUME_32BITUIDS]: Remove conditional code.
27558 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27559 <kernel-features.h>.
27560 [__ASSUME_32BITUIDS]: Make code unconditional.
27561 [!__ASSUME_32BITUIDS]: Remove conditional code.
27562 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27563 <kernel-features.h>.
27564 [__ASSUME_32BITUIDS]: Make code unconditional.
27565 [!__ASSUME_32BITUIDS]: Remove conditional code.
27566 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27567 <kernel-features.h>.
27568 [__ASSUME_32BITUIDS]: Make code unconditional.
27569 [!__ASSUME_32BITUIDS]: Remove conditional code.
27570 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27571 <kernel-features.h>.
27572 [__ASSUME_32BITUIDS]: Make code unconditional.
27573 [!__ASSUME_32BITUIDS]: Remove conditional code.
27574 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27575 <kernel-features.h>.
27576 [__ASSUME_32BITUIDS]: Make code unconditional.
27577 [!__ASSUME_32BITUIDS]: Remove conditional code.
27578 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27579 <kernel-features.h>.
27580 [__ASSUME_32BITUIDS]: Make code unconditional.
27581 [!__ASSUME_32BITUIDS]: Remove conditional code.
27582 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27583 <kernel-features.h>.
27584 [__ASSUME_32BITUIDS]: Make code unconditional.
27585 [!__ASSUME_32BITUIDS]: Remove conditional code.
27586 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27587 <kernel-features.h>.
27588 [__ASSUME_32BITUIDS]: Make code unconditional.
27589 [!__ASSUME_32BITUIDS]: Remove conditional code.
27590 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27591 <kernel-features.h>.
27592 [__ASSUME_32BITUIDS]: Make code unconditional.
27593 [!__ASSUME_32BITUIDS]: Remove conditional code.
27594 * sysdeps/unix/sysv/linux/kernel-features.h
27595 (__ASSUME_SETRESUID_SYSCALL): Remove.
27596 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27597 (__ASSUME_32BITUIDS): Likewise.
27598 (__ASSUME_LDT_WORKS): Likewise.
27599 (__ASSUME_O_DIRECTORY): Likewise.
27600 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27601 architecture but not kernel version.
27602 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27603 (__ASSUME_MMAP2_SYSCALL): Likewise.
27604 (__ASSUME_STAT64_SYSCALL): Likewise.
27605 (__ASSUME_IPC64): Likewise.
27606 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27607 <kernel-features.h>.
27608 [__ASSUME_32BITUIDS]: Make code unconditional.
27609 [!__ASSUME_32BITUIDS]: Remove conditional code.
27610 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27611 <kernel-features.h>.
27612 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27613 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27614 132096]: Remove conditional code.
27615 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27616 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27617 <kernel-features.h>.
27618 [__ASSUME_32BITUIDS]: Make code unconditional.
27619 [!__ASSUME_32BITUIDS]: Remove conditional code.
27620 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27621 <kernel-features.h>.
27622 [__ASSUME_32BITUIDS]: Make code unconditional.
27623 [!__ASSUME_32BITUIDS]: Remove conditional code.
27624 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27625 <kernel-features.h>.
27626 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27627 unconditional.
27628 (__setresgid): Do not declare.
27629 [__ASSUME_32BITUIDS]: Make code unconditional.
27630 [!__ASSUME_32BITUIDS]: Remove conditional code.
27631 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27632 <kernel-features.h>.
27633 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27634 unconditional.
27635 (__setresuid): Do not declare.
27636 [__ASSUME_32BITUIDS]: Make code unconditional.
27637 [!__ASSUME_32BITUIDS]: Remove conditional code.
27638 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27639 <kernel-features.h>.
27640 [__ASSUME_32BITUIDS]: Make code unconditional.
27641 [!__ASSUME_32BITUIDS]: Remove conditional code.
27642 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27643 <kernel-features.h>.
27644 [__ASSUME_32BITUIDS]: Make code unconditional.
27645 [!__ASSUME_32BITUIDS]: Remove conditional code.
27646
a386f1cc
RH
276472012-05-25 Richard Henderson <rth@twiddle.net>
27648
27649 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27650 dl_hwcap to ifunc resolver.
27651 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27652 elf_ifunc_invoke.
27653 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27654 dl_hwcap to ifunc resolver.
27655 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27656
b6550497
JM
276572012-05-24 Joseph Myers <joseph@codesourcery.com>
27658
27659 [BZ #14153]
27660 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27661 for |x| <= 2**-26, not 2**-57.
27662 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27663 exception.
27664
b0bc23a1
JL
276652012-05-24 Jeff Law <law@redhat.com>
27666
27667 * stdio-common/Makefile (tests): Add bug25.
27668 * stdio-common/bug25.c: New test.
27669
347c92e9
L
276702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27671
27672 [BZ #13576]
27673 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27674 multiple of MALLOC_ALIGNMENT in size.
27675 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27676
6bcc8b3f
JM
276772012-05-24 Joseph Myers <joseph@codesourcery.com>
27678
27679 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27680 Require >= 256.
27681 (FILENAME_MAX): Use macro-int-constant.
27682 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27683 (_IOFBF): Use macro-int-constant.
27684 (_IOLBF): Likewise.
27685 (_IONBF): Likewise.
27686 (SEEK_CUR): Likewise.
27687 (SEEK_END): Likewise.
27688 (SEEK_SET): Likewise.
27689 (TMP_MAX): Likewise.
27690 (EOF): Use macro-int-constant. Require < 0.
27691 (NULL): Use macro-constant. Require == 0.
27692 (stdin): Require type to be FILE *.
27693 (stdout): Likewise.
27694 (stderr): Likewise.
27695 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27696 macro-int-constant.
27697 (EXIT_SUCCESS): Likewise.
27698 (NULL): Use macro-constant. Require == 0.
27699 (RAND_MAX): Use macro-int-constant.
27700 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27701 [C99-based standards] (strtof): Require function.
27702 [C99-based standards] (strtold): Likewise.
27703 [C99-based standards] (strtoll): Likewise.
27704 [C99-based standards] (strtoull): Likewise.
27705 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27706 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27707 [ISO || ISO99 || ISO11] (math.h): Likewise.
27708 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27709 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27711
d18ea0c5
AS
277122012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27713
27714 [BZ #14132]
56d25bb8
AS
27715 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27716 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27717 * intl/dgettext.c (DCGETTEXT): Likewise.
27718 * intl/gettext.c (DCGETTEXT): Likewise.
27719 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27720 * posix/regex_internal.h (gettext): Likewise.
27721 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27722 Remove declaration.
27723 * include/argz.h (__argz_count_internal)
27724 (__argz_stringify_internal): Remove declaration.
27725 (__argz_count, __argz_stringify): Declare hidden proto.
27726 * intl/dcgettext.c: Remove use of INTDEF.
27727 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27728 * string/argz-stringify.c: Likewise.
27729 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27730 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27731 Declare hidden proto.
d18ea0c5
AS
27732 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27733 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27734 Declare hidden proto.
27735 * include/stdio.h (__asprintf_internal): Don't declare.
27736 (__asprintf): Don't define as macro. Declare hidden proto.
27737 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27738 (__fsetlocking): Declare hidden proto.
27739 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27740 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27741 hidden proto.
27742 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27743 (_IO_setlinebuf): Remove use of INTUSE.
27744 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27745 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27746 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27747 Remove declaration.
27748 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27749 (_IO_do_flush): Remove use of INTUSE.
27750 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27751 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27752 (_IO_adjust_column, _IO_least_wmarker)
27753 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27754 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27755 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27756 (_IO_default_doallocate, _IO_wdefault_doallocate)
27757 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27758 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27759 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27760 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27761 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27762 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27763 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27764 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27765 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27766 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27767 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27768 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27769 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27770 proto.
27771 (_IO_flush_all_internal, _IO_adjust_column_internal)
27772 (_IO_default_uflow_internal, _IO_default_finish_internal)
27773 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27774 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27775 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27776 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27777 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27778 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27779 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27780 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27781 (_IO_file_close_internal, _IO_file_close_it_internal)
27782 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27783 (_IO_file_init_internal, _IO_file_attach_internal)
27784 (_IO_file_fopen_internal, _IO_file_read_internal)
27785 (_IO_file_sync_internal, _IO_file_seek_internal)
27786 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27787 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27788 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27789 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27790 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27791 (_IO_list_all_internal, _IO_link_in_internal)
27792 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27793 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27794 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27795 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27796 (_IO_do_write_internal, _IO_padn_internal)
27797 (_IO_getline_info_internal, _IO_getline_internal)
27798 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27799 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27800 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27801 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27802 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27803 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27804 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27805 with libc_hidden_ver, remove use of INTUSE.
27806 * libio/genops.c: Likewise.
27807 * libio/freopen.c: Likewise.
27808 * libio/freopen64.c: Likewise.
27809 * libio/iofclose.c: Likewise.
27810 * libio/iofdopen.c: Likewise.
27811 * libio/iofflush.c: Likewise.
27812 * libio/iofflush_u.c: Likewise.
27813 * libio/iofgets.c: Likewise.
27814 * libio/iofgets_u.c: Likewise.
27815 * libio/iofopen.c: Likewise.
27816 * libio/iofopncook.c: Likewise.
27817 * libio/iofread.c: Likewise.
27818 * libio/iofread_u.c: Likewise.
27819 * libio/ioftell.c: Likewise.
27820 * libio/iofwrite.c: Likewise.
27821 * libio/iogetline.c: Likewise.
27822 * libio/iogets.c: Likewise.
27823 * libio/iogetwline.c: Likewise.
27824 * libio/iopadn.c: Likewise.
27825 * libio/iopopen.c: Likewise.
27826 * libio/ioseekoff.c: Likewise.
27827 * libio/ioseekpos.c: Likewise.
27828 * libio/iosetbuffer.c: Likewise.
27829 * libio/iosetvbuf.c: Likewise.
27830 * libio/ioungetc.c: Likewise.
27831 * libio/ioungetwc.c: Likewise.
27832 * libio/iovdprintf.c: Likewise.
27833 * libio/iovsprintf.c: Likewise.
27834 * libio/iovsscanf.c: Likewise.
27835 * libio/memstream.c: Likewise.
27836 * libio/obprintf.c: Likewise.
27837 * libio/oldfileops.c: Likewise.
27838 * libio/oldiofclose.c: Likewise.
27839 * libio/oldiofdopen.c: Likewise.
27840 * libio/oldiofopen.c: Likewise.
27841 * libio/oldiopopen.c: Likewise.
27842 * libio/oldstdfiles.c: Likewise.
27843 * libio/putc.c: Likewise.
27844 * libio/setbuf.c: Likewise.
27845 * libio/setlinebuf.c: Likewise.
27846 * libio/stdfiles.c: Likewise.
27847 * libio/strops.c: Likewise.
27848 * libio/vasprintf.c: Likewise.
27849 * libio/vscanf.c: Likewise.
27850 * libio/vsnprintf.c: Likewise.
27851 * libio/vswprintf.c: Likewise.
27852 * libio/wfiledoalloc.c: Likewise.
27853 * libio/wfileops.c: Likewise.
27854 * libio/wgenops.c: Likewise.
27855 * libio/wmemstream.c: Likewise.
27856 * libio/wstrops.c: Likewise.
27857 * libio/__fpurge.c: Likewise.
27858 * libio/__fsetlocking.c: Likewise.
27859 * assert/assert.c: Likewise.
27860 * debug/fgets_chk.c: Likewise.
27861 * debug/fgets_u_chk.c: Likewise.
27862 * debug/fread_chk.c: Likewise.
27863 * debug/fread_u_chk.c: Likewise.
27864 * debug/gets_chk.c: Likewise.
27865 * debug/obprintf_chk.c: Likewise.
27866 * debug/vasprintf_chk.c: Likewise.
27867 * debug/vdprintf_chk.c: Likewise.
27868 * debug/vsnprintf_chk.c: Likewise.
27869 * debug/vsprintf_chk.c: Likewise.
27870 * malloc/mtrace.c: Likewise.
27871 * misc/error.c: Likewise.
27872 * misc/syslog.c: Likewise.
27873 * stdio-common/asprintf.c: Likewise.
27874 * stdio-common/fxprintf.c: Likewise.
27875 * stdio-common/getw.c: Likewise.
27876 * stdio-common/isoc99_fscanf.c: Likewise.
27877 * stdio-common/isoc99_scanf.c: Likewise.
27878 * stdio-common/isoc99_vfscanf.c: Likewise.
27879 * stdio-common/isoc99_vscanf.c: Likewise.
27880 * stdio-common/isoc99_vsscanf.c: Likewise.
27881 * stdio-common/printf-prs.c: Likewise.
27882 * stdio-common/printf_fp.c: Likewise.
27883 * stdio-common/printf_fphex.c: Likewise.
27884 * stdio-common/printf_size.c: Likewise.
27885 * stdio-common/putw.c: Likewise.
27886 * stdio-common/scanf.c: Likewise.
27887 * stdio-common/sprintf.c: Likewise.
27888 * stdio-common/tmpfile.c: Likewise.
27889 * stdio-common/vfprintf.c: Likewise.
27890 * stdio-common/vfscanf.c: Likewise.
27891 * stdlib/strfmon_l.c: Likewise.
27892 * sunrpc/openchild.c: Likewise.
27893 * sunrpc/xdr_stdio.c: Likewise.
27894 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27895 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27896
d6c33fda
RM
278972012-05-24 Roland McGrath <roland@hack.frob.com>
27898
c1487492
RM
27899 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27900
27901 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27902 in the third column, to generate for the shared library an IFUNC
27903 that uses _dl_vdso_vsym.
27904 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27905 * Makeconfig (object-suffixes-noshared): New variable.
27906
27907 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27908 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27909 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27910 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27911
d6c33fda
RM
27912 [BZ #14132]
27913 * include/sys/time.h (__gettimeofday): Remove macro.
27914 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27915 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27916 Remove INTDEF.
27917 (__gettimeofday): Add libc_hidden_def.
27918 (gettimeofday): Add libc_hidden_weak.
27919 * sysdeps/mach/gettimeofday.c: Likewise.
27920 * sysdeps/posix/gettimeofday.c: Likewise.
27921 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27922 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27924 (__gettimeofday_internal): Remove strong_alias.
27925 (__gettimeofday): Add libc_hidden_def.
27926 (gettimeofday): Add libc_hidden_weak.
27927 * sysdeps/unix/syscalls.list (gettimeofday):
27928 Remove __gettimeofday_internal alias.
27929
b5a2bbe6
L
279302012-05-24 Daniel Jacobowitz <drow@false.org>
27931 H.J. Lu <hongjiu.lu@intel.com>
27932
27933 [BZ #12495]
27934 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27935 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27936 (largebin_index_32_big): New.
27937 (largebin_index): Use it for 16-byte alignment.
27938 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27939 correction with front_misalign.
27940
cfba4fda
L
279412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27942
7f907421
L
27943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27945 Likewise.
27946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27947 Likewise.
27948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27949 Likewise.
27950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27951 Likewise.
27952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27953 Likewise.
27954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27955 Likewise.
27956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27957 Likewise.
27958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27959 Likewise.
27960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27961 Likewise.
27962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27963 Likewise.
27964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27965 Likewise.
27966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27967 Likewise.
27968
cfba4fda
L
27969 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27970 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27971
80bad0cc
JM
279722012-05-24 Joseph Myers <joseph@codesourcery.com>
27973
7a25eb06
JM
27974 [BZ #10846]
27975 [BZ #14036]
27976 * math/libm-test.inc (exp_test): Add test from bug 14036.
27977 (pow_test): Add test from bug 10846.
27978
795405f9
JM
27979 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27980 and other flags.
27981 (special_function): Do not include flags in test name.
27982 (parse_args): Likewise.
27983 * sysdeps/i386/fpu/libm-test-ulps: Update.
27984 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27985 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27986 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27988
80bad0cc
JM
27989 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27990 exceptions.
27991 * math/libm-test.inc ("Philosophy"): Update comment about
27992 exception testing.
27993 (UNDERFLOW_EXCEPTION): New macro.
27994 (UNDERFLOW_EXCEPTION_OK): Likewise.
27995 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27996 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27997 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27998 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27999 (INVALID_EXCEPTION_OK): Update value.
28000 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28001 (OVERFLOW_EXCEPTION_OK): Likewise.
28002 (IGNORE_ZERO_INF_SIGN): Likewise.
28003 (test_exceptions): Handle underflow exceptions.
28004 (acos_test): Update for underflow exception expectations.
28005 (cexp_test): Likewise.
28006 (clog_test): Likewise.
28007 (clog10_test): Likewise.
28008 (csqrt_test): Likewise.
28009 (ctan_test): Likewise.
28010 (ctanh_test): Likewise.
28011 (exp_test): Likewise.
28012 (exp10_test): Likewise.
28013 (exp2_test): Likewise.
28014 (expm1_test): Likewise.
28015 (fma_test): Likewise.
28016 (j0_test): Likewise.
28017 (jn_test): Likewise.
28018 (nexttoward_test): Likewise.
28019 (pow_test): Likewise.
28020 (scalbn_test): Likewise.
28021 (scalbln_test): Likewise.
28022 (tan_test): Likewise.
28023 (y1_test): Likewise.
28024 * sysdeps/i386/fpu/libm-test-ulps: Update.
28025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28026
9e0e3d0b
DM
280272012-05-23 David S. Miller <davem@davemloft.net>
28028
28029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28030 (__libc_sigaction): Remove unused local variables.
28031
ccd0a08f
L
280322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28033
28034 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28035
62bdf9a6
PE
280362012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28037
f8591f80
PE
28038 mktime: avoid signed integer overflow
28039 * time/mktime.c (__mktime_internal): Do not mishandle the case
28040 where diff == INT_MIN.
28041
94c7d826
PE
28042 mktime: simplify computation of average
28043 * time/mktime.c (ranged_convert): Use new time_t_avg function
28044 instead of rolling our own (probably-slower) code.
28045
ce73d683
PE
28046 mktime: do not assume signed right shift propagates sign bit
28047 * time/mktime.c (isdst_differ): New static function.
28048 (__mktime_internal): No need to normalize tm_isdst now.
28049 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28050 tm_isdst values.
28051
72a22e59
PE
28052 mktime: merge another wrapv change from gnulib
28053 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28054 from some compilers.
28055
68605433
PE
28056 mktime: remove incorrect attempt at unusual arithmetics
28057 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28058 The code didn't really work on such machines anyway.
28059 (TYPE_MINIMUM): Assume two's complement.
28060 (twos_complement_arithmetic): Verify that long_int and time_t
28061 are two's complement (or unsigned, in the latter case).
28062
03cf7fe3
PE
28063 mktime: check signed shifts on long_int and time_t, too
28064 * time/mktime.c (SHR): Check that shifts work as desired
28065 on the types long_int and time_t too, as SHR is used on
28066 such types.
28067
f04dfbc2
PE
28068 mktime: do not assume 'long' is wide enough
28069 * time/mktime.c (verify): Move decl up.
28070 (long_int): New type.
28071 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28072 to remove assumption in the code that 'long' is wide enough to
28073 store year values. This assumption is not true on x32 and on
28074 some non-glibc platforms.
28075
62bdf9a6
PE
28076 mktime: merge wrapv change from gnulib
28077 * time/mktime.c (WRAPV): New macro.
28078 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28079 (guess_time_tm, __mktime_internal): Do not assume that signed
28080 integer overflow wraps around; modern compilers generate code
28081 where this assumption is no longer valid.
28082
5e292e4f
L
280832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28084
28085 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28086 Replace "jmp L(pseudo_end)" with "ret".
28087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28088 Likewise.
28089
8caf8c87
AJ
280902012-05-23 Andreas Jaeger <aj@suse.de>
28091
28092 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28093 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28094
1a09dc56
AJ
280952012-05-23 Andreas Jaeger <aj@suse.de>
28096 Maximilian Attems <max@stro.at>
28097
28098 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28099 New macros.
28100
1c87aba0
L
281012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28102
28103 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28104 code so that pseudo_end is just ret and the stack pointer is
28105 correct also for static library in error case.
28106
40e45bd5
JM
281072012-05-23 Joseph Myers <joseph@codesourcery.com>
28108
c2670533
JM
28109 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28110 move to syscalls.list.
28111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28115
40e45bd5
JM
28116 * manual/install.texi (Running make install): Do not mention Linux
28117 kernel version for which pt_chown is not needed.
28118 (Linux): Do not mention problems with nscd with 2.0 kernels.
28119 * INSTALL: Regenerated.
28120
be08eda5
AJ
281212012-05-23 Andreas Jaeger <aj@suse.de>
28122
28123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28124 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28125 macro.
28126 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28127 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28128 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28129 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28130 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28131 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28133 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28134 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28136 * sysdeps/unix/sysv/linux/bits/in.h
28137 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28138
a6a056bb
RM
281392012-05-22 Roland McGrath <roland@hack.frob.com>
28140
28141 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28142 (PREPARE_VERSION): Just use assert instead, it will be elided
28143 under [NDEBUG] anyway.
28144
c9009328
L
281452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28146
28147 * sysdeps/unix/sysv/linux/Makefile: Include
28148 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28149 (sysdep_routines): Remove sysctl.
c9009328
L
28150 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28151 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28152 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28153 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28154 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28155
73338355
AJ
281562012-05-22 Andreas Jaeger <aj@suse.de>
28157
28158 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28159 that pseudo_end is just ret and the stack pointer is correct also
28160 for static library in error case.
28161
d44638b0
PP
281622012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28163
28164 [BZ #14122]
28165 * nss/nsswitch.c (defconfig_entries): New variable.
28166 (__nss_database_lookup): Don't leak defconfig entries.
28167 (nss_parse_service_list): Don't leak on error paths.
28168 (free_database_entries): New function.
28169 (free_defconfig): New function.
28170 (free_mem): Move common code to free_database_entries.
28171
31a39bd8
L
281722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28173
da0331a8
L
28174 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28175 Add arch_prctl.
28176 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28177
31a39bd8
L
28178 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28179 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28181 New macro.
28182 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28183 (INTERNAL_SYSCALL_TYPES): Likewise.
28184 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28185 (LOAD_REGS_TYPES_[1-6]): Likewise.
28186 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28187 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28188
45470df3
AZ
281892012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28190
28191 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28192 copysignl for GLIBC_2_0.
28193 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28194 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28196 logbl for GLIBC_2_0.
28197 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28198 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28199
98a61bcb
L
282002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28201
a4f6e481
L
28202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28204
f63d5db6
L
28205 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28206 Use "neg %eax".
28207
98a61bcb
L
28208 * time/mktime.c: Update copyright years.
28209
95770f14
PE
282102012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28211
6226efbd
PE
28212 mktime: merge comment-quoting-style change from gnulib
28213 * time/mktime.c: Quote 'like this' in comments.
28214 The GNU coding standards suggest that we no longer quote `like this',
28215 as "`" and "'" are typically rendered asymmetrically nowadays.
28216 The typical gnulib style is to quote 'like this' when quoting
28217 code, and "like this" when quoting English.
28218
b99e4f78
PE
28219 * time/mktime.c (compile-command): Add "-I.".
28220
643e01e6
PE
28221 mktime: merge mktime-internal.h change from gnulib
28222 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28223
2554247d
PE
28224 mktime: merge time_r change from gnulib
28225 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28226
826dd0ab
PE
28227 mktime: merge DEBUG change from gnulib
28228 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28229 case system <time.h> has a #define.
28230
bd83aabe
PE
28231 mktime: merge <sys/types.h> change from gnulib
28232 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28233 since <time.t> is now guaranteed to define time_t.
28234
95770f14
PE
28235 mktime: merge HAVE_CONFIG_H change from gnulib
28236 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28237
5e1a27a9
L
282382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28239
0e44a77e
L
28240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28241 Use "neg %eax".
28242
5e1a27a9
L
28243 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28244 __rlim_t cast.
28245 (struct rusage): Use anonymous union to pad each field to
28246 __syscall_slong_t.
28247
46259bec
DM
282482012-05-21 David S. Miller <davem@davemloft.net>
28249
28250 * Makefules (o-iterator): Remove .s cases.
28251 (compile-command.s): Delete.
28252 (COMPILE.s): Delete.
28253 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28254
59f0c22e
JM
282552012-05-21 Joseph Myers <joseph@codesourcery.com>
28256
28257 * configure.in (libc_cv_predef_stack_protector): Only consider
28258 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28259 * configure: Regenerated.
28260
20c07380
L
282612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28262
bbb3154b
L
28263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28264 New macro. Use R*LP on int and pointer.
28265 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28266 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28267 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28268 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28269
20c07380
L
28270 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28271 [__WORDSIZE_TIME64_COMPAT32] instead of
28272 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28273 (struct utmp): Likewise.
28274 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28275 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28276 Renamed to ...
28277 (__WORDSIZE_TIME64_COMPAT32): This.
28278 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28279 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28280 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28281 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28282 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28283 (__WORDSIZE_TIME64_COMPAT32): New macro.
28284
d8d1017e
AJ
282852012-05-21 Andreas Jaeger <aj@suse.de>
28286
28287 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28288 only if [SHARED]. Add prototype for __wcschr_ia32.
28289
6c7fb145
RM
282902012-05-21 Roland McGrath <roland@hack.frob.com>
28291
28292 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28293 of %rbp unmolested in the jmp_buf while mangling the low bits.
28294 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28295 unmolested high bits of %rbp while demangling the low bits.
28296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28297
66274218
AJ
282982012-05-21 Andreas Jaeger <aj@suse.de>
28299
07c58f8f
AJ
28300 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28301 * sunrpc/svc_simple.c: Use it for registerrpc.
28302 * sunrpc/xcrypt.c: Use it for passwd2des.
28303
66274218
AJ
28304 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28305
61f65140
L
283062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28307
28308 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28309 Don't define if [__SYSCALL_WORDSIZE != 32].
28310 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28311 New macro.
28312
5fefb436
AJ
283132012-05-21 Bruno Haible <bruno@clisp.org>
28314 Andreas Jaeger <aj@suse.de>
28315
28316 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28317 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28318 inptr and inend for must_buffer_ch.
28319 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28320 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28321 * stdio-common/Makefile (tests): Remove bug15.
28322 (bug15-ENV): Remove macro.
28323 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28324 anymore.
28325
d8e272ab
AJ
283262012-05-19 Andreas Jaeger <aj@suse.de>
28327 Roland McGrath <roland@hack.frob.com>
28328
28329 * manual/contrib.texi: Completely rewritten. It contains now an
28330 alphabetical list of contributors and their contributions.
28331
4a56a162
RH
283322012-05-21 Richard Henderson <rth@twiddle.net>
28333
28334 * misc/getauxval.c (__getauxval): Use unsigned long int.
28335 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28336 (getauxval): Use unsigned long int.
28337
d024d23c
L
283382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28339
28340 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28341
cbc00a03
RM
283422012-05-21 Roland McGrath <roland@hack.frob.com>
28343
28344 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28345 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28346 __alignof__ (long double).
28347
478143fa
AZ
283482012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28349
28350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28351
c7683a6d
RH
283522012-05-20 Richard Henderson <rth@twiddle.net>
28353
28354 * misc/getauxval.c: New file.
28355 * misc/sys/auxv.h: New file.
28356 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28357 (routines): Add getauxval.
28358 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28359 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28360 * elf/dl-sysdep.c (_dl_auxv): Remove.
28361 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28362 * elf/dl-support.c (_dl_auxv): New variable.
28363 (_dl_aux_init): Initialize it.
28364 * manual/startup.texi (Auxiliary Vector): New node.
28365 * sysdeps/generic/bits/hwcap.h: New file.
28366 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28367 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28368 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28369 * sysdeps/sparc/sysdep.h: ... here. Include it.
28370 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28371 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28373 Update.
c7683a6d
RH
28374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28382
a6f1845d
AZ
283832012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28384
28385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28386
cbcbe830
DM
283872012-05-19 David S. Miller <davem@davemloft.net>
28388
28389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28390
e0b16cc2
JM
283912012-05-19 Joseph Myers <joseph@codesourcery.com>
28392
28393 [BZ #14123]
28394 * math/s_ccosh.c: Include <float.h>
28395 (__ccosh): Avoid internal overflow calculating sinh and cosh
28396 values before multiplying by sin and cos values.
28397 * math/s_ccoshf.c: Likewise.
28398 * math/s_ccoshl.c: Likewise.
28399 * math/s_csin.c: Likewise.
28400 * math/s_csinf.c: Likewise.
28401 * math/s_csinl.c: Likewise.
28402 * math/s_csinh.c: Likewise.
28403 * math/s_csinhf.c: Likewise.
28404 * math/s_csinhl.c: Likewise.
28405 * math/libm-test.inc (ccos_test): Add more tests.
28406 (ccosh_test): Likewise.
28407 (csin_test): Likewise.
28408 (csinh_test): Likewise.
28409 * sysdeps/i386/fpu/libm-test-ulps: Update.
28410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28411
6ad13e08
L
284122012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28413
f66f0ce8
L
28414 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28415 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28416
6ad13e08
L
28417 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28418
b1d072a7
JM
284192012-05-19 Joseph Myers <joseph@codesourcery.com>
28420
28421 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28422 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28423 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28424 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28425 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28426 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28427 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28428 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28429 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28430 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28431 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28432 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28433 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28434 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28435 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28436 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28437 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28438 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28439 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28440 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28441 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28442 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28443 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28444 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28445 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28446 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28447 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28448 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28449 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28450 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28451 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28452
9eae47cb
AJ
284532012-05-18 Andreas Jaeger <aj@suse.de>
28454
28455 * csu/.gitignore: Delete.
28456
bb07f69f
L
284572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28458
28459 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28460 (timex): Use __syscall_slong_t.
28461
e6bdb741
AJ
284622012-05-18 Andreas Jaeger <aj@suse.de>
28463 Carlos O'Donell <carlos_odonell@mentor.com>
28464
28465 * manual/install.texi (Configuring and compiling): Update
28466 description about files modified in the source directory.
d6c33fda 28467 * INSTALL: Regenerated.
e6bdb741 28468
1b74487e
L
284692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28470
28471 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28472 value. Use "or" to set return value to -1.
28473 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28474 negate return value.
28475
a88b64b9
TMQMF
284762012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28477
28478 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28479 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28480 failure if the compiler has Graphite support disabled.
28481 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28482 Likewise.
28483 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28484 CFLAGS-memmove.c): Likewise.
28485 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28486 Likewise.
28487
3707636e
L
284882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28489
610b8622
L
28490 * sysdeps/x86_64/x32/_itoa.h: New file.
28491
7cd195df
L
28492 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28493 getdents system call only if kernel and user dirents have the
28494 same d_ino and d_off.
28495
94b07d20
L
28496 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28497 LLONG_MAX != LONG_MAX.
28498 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28499 (_fitoa_word): Likewise.
28500
18298070
L
28501 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28502 years.
28503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28504 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28505 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28506
553c7ea4
L
28507 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28508 include <bits/wordsize.h>. Check __x86_64__ instead of
28509 __WORDSIZE.
28510 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28511 if __x86_64__ is defined. Use anonymous union on fpstate.
28512
3707636e
L
28513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28514 anonymous union.
28515
b53ef01a
AS
285162012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28517
37fb1dc0
AS
28518 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28519 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28520 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28521 Refer to _rtld_local_ro instead of _rtld_global_ro.
28522 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28523 Likewise.
28524 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28525 Likewise.
28526 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28527 Likewise.
28528 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28529 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28530 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28531
b53ef01a
AS
28532 * sysdeps/powerpc/powerpc32/dl-machine.c
28533 (__elf_machine_runtime_setup) [PROF]: Don't reference
28534 _dl_prof_resolve.
28535
7a185db2
AJ
285362012-05-18 Andreas Jaeger <aj@suse.de>
28537
28538 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28539 function only available for GCCs before 3.4 since GCC 3.4
28540 introduced a builtin.
28541 (lrint): Likewise.
28542 (llrintf): Likewise.
28543 (llrint): Likewise.
28544 (fmaxf): Likewise.
28545 (fmax): Likewise.
28546 (fminf): Likewise.
28547 (fmin): Likewise.
28548 (rint): Likewise.
28549 (rintf): Likewise.
28550 (nearbyint): Likewise.
28551 (nearbyintf): Likewise.
28552 (ceil): Likewise.
28553 (ceilf): Likewise.
28554 (floor): Likewise.
28555 (floorf): Likewise.
28556
3e5aef87
L
285572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28558
428bd707
L
28559 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28560 on both fields and cast pointer to __syscall_ulong_t.
28561
3e5aef87
L
28562 * bits/types.h (__fsword_t): New type.
28563 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28564 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28566 (__FSWORD_T_TYPE): Likewise.
28567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28568 (__FSWORD_T_TYPE): Likewise.
28569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28570 (__FSWORD_T_TYPE): Likewise.
28571 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28572 (__FSWORD_T_TYPE): Likewise.
28573 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28574 __SWORD_TYPE with __fsword_t.
28575 (statfs64): Likewise.
28576
1ba7c3dc
DM
285772012-05-17 David S. Miller <davem@davemloft.net>
28578
28579 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28580
59910343
AJ
285812012-05-17 Andreas Jaeger <aj@suse.de>
28582
28583 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28584 warning.
28585
2e4c1e9e
L
285862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28587
28588 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28589
de7f5ce7
AJ
285902012-05-17 Andreas Jaeger <aj@suse.de>
28591
28592 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28593 when it is used.
28594
286abc3d
CM
285952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28596
28597 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28598
477cc68e
L
285992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28600
28601 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28602 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28603
1a0994f5
CD
286042012-05-17 Andreas Jaeger <aj@suse.de>
28605 Carlos O'Donell <carlos_odonell@mentor.com>
28606
28607 [BZ #14059]
28608 * sysdeps/x86_64/multiarch/init-arch.h
28609 (bit_YMM_Usable): Rename to...
28610 (bit_AVX_Usable): ... this.
28611 (bit_FMA4_Usable): New macro.
28612 (bit_XMM_state): New macro.
28613 (bit_YMM_state): New macro.
28614 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28615 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28616 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28617 (CPUID_OSXSAVE): New macro.
28618 (CPUID_AVX): New macro.
28619 (CPUID_FMA4): New macro.
28620 (index_YMM_Usable): Rename to...
28621 (index_AVX_Usable): ... this.
28622 (HAS_AVX): Use HAS_ARCH_FEATURE.
28623 (HAS_FMA4): Likewise.
28624 (HAS_YMM_USABLE): Remove.
28625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28626 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28627 are present.
28628 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28629 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28630 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28631 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28632 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28633
0af797de
CM
286342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28635
28636 * math/libm-test.c: Support platforms without multiple rounding modes.
28637 * math/bug-nextafter.c: Support platforms without FP exceptions.
28638 * math/bug-nexttoward.c: Likewise.
28639 * math/test-fenv.c: Likewise.
28640 * math/test-misc.c: Likewise.
28641 * stdlib/bug-getcontext.c: Likewise.
28642
e39745ff
AJ
286432012-05-17 Andreas Jaeger <aj@suse.de>
28644
28645 * manual/examples/search.c (critter_cmp): Change signature to
28646 avoid warnings.
28647 * manual/string.texi (Collation Functions): Likewise.
28648
48970aba
L
286492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28650
28651 * bits/types.h: Fold copyright years.
28652 * bits/typesizes.h: Likewise.
28653 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28657 * time/time.h: Likewise.
28658
bedee953
PP
286592012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28660
28661 [BZ #208]
28662 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28663 in instead of returning them. Return void.
28664 (__libc_mallinfo): Accumulate over all arenas.
28665 (__malloc_stats): Adjust for change in int_mallinfo interface.
28666
61653dfb
RM
286672012-05-16 Roland McGrath <roland@hack.frob.com>
28668
30b99d79
RM
28669 [BZ #10375]
28670 * configure.in (NM): Add AC_CHECK_TOOL for it.
28671 (libc_extra_cflags): New substituted variable.
28672 Check for -fstack-protector being used implicitly.
28673 * configure: Regenerated.
28674 * config.make.in (config-extra-cflags): New variable,
28675 gets @libc_extra_cflags@.
28676 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28677
61653dfb
RM
28678 [BZ #10375]
28679 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28680 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28681 * configure: Regenerated.
28682 * config.make.in (CPPUNDEFS): New substituted variable.
28683 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28684 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28685 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28686
661768bb
L
286872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28688
28689 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28690 (mq_attr): Use __syscall_slong_t.
28691
d4261567
L
286922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28693
28694 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28695 Check __x86_64__ instead of __WORDSIZE.
28696 (_STAT_VER_LINUX): Likewise.
28697 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28698 __syscall_ulong_t and __syscall_slong_t.
28699 (stat64): Likewise.
28700
cf3ff365
L
287012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28702
28703 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28704
76cf3e4d
L
287052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28706
28707 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28708
a637753a
L
287092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28710
28711 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28712 __syscall_ulong_t.
28713
d5e05119
L
28714 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28715 include <bits/wordsize.h>. Check __x86_64__ instead of
28716 __WORDSIZE.
28717 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28718 defined.
28719 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28720
f62ee380
L
28721 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28722 include <bits/wordsize.h>. Check __x86_64__ instead of
28723 __WORDSIZE.
28724 (user_regs_struct): Use "__extension__ unsigned long long"
28725 instead of "unsigned long" if __x86_64__ is defined.
28726 (user): Likewise. Pad after pointer field if __ILP32__ is
28727 defined.
28728
4e124ced
JM
287292012-05-16 Joseph Myers <joseph@codesourcery.com>
28730
6a3951a0
JM
28731 * configure.in (makeinfo): Require version 4.5 or later. Allow
28732 versions 5 to 9.
28733 * configure: Regenerated.
28734 * manual/install.texi (texinfo): Increase version requirement to
28735 4.5 or later.
28736 * INSTALL: Regenerated.
28737
4e124ced
JM
28738 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28739
953ca31a
L
287402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28741
28742 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28743
617aca05
L
28744 * sysdeps/x86_64/x32/ffs.c: New file.
28745
5762f7ae
L
28746 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28747 __syscall_ulong_t.
28748 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28749 defined. Use __syscall_ulong_t.
28750 (shminfo): Use __syscall_ulong_t.
28751 (shm_info): Likewise.
28752
a26b6856
L
28753 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28754 __syscall_ulong_t.
28755
cb2b9ef7
L
28756 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28757 <bits/wordsize.h>.
28758 (msgqnum_t): Use __syscall_ulong_t.
28759 (msglen_t): Likewise.
28760 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28761 __syscall_ulong_t.
28762
34683bb0
L
28763 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28765
84a68786
L
28766 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28767
48baa5f1
L
28768 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28769 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28770
180be88b
L
28771 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28772 __syscall_slong_t.
28773
5e90c8ad
L
28774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28775 include <bits/wordsize.h>. Check __x86_64__ instead of
28776 __WORDSIZE.
28777
23dfb58b
L
28778 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28779 "unsigned long long int" if __x86_64__ is defined.
28780 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28781
ce5d54b0
L
28782 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28783 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28784 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28785
13dc9eac
L
28786 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28787 <stdint.h>.
28788 (GET_PC): Cast to uintptr_t first.
28789 (GET_FRAME): Likewise.
28790 (GET_STACK): Likewise.
28791
a7895d15
L
28792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28796 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28798 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28799 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28800 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28801 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28803 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28805 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28813 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28815 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28819 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28821
656416c9
AS
288222012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28823
5bd66283
AS
28824 * Makerules (+depfiles): Also collect depfiles from .oS in
28825 $(extra-objs).
28826 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28827 .oS, $(libnldbl-routines)).
28828
656416c9
AS
28829 * Makerules (native-compile-mkdep-flags): Define.
28830 * sunrpc/Makefile (extra-objs): Add $(addprefix
28831 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28832 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28833 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28834 calling $(make-target-directory).
28835
a46f2169
L
288362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28837
28838 * bits/types.h (__snseconds_t): Removed.
28839 * time/time.h (struct timespec): Replace __snseconds_t with
28840 __syscall_slong_t.
28841 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28842 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28843 Likewise.
28844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28845 (__SNSECONDS_T_TYPE): Likewise.
28846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28847 (__SNSECONDS_T_TYPE): Likewise.
28848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28849 (__SNSECONDS_T_TYPE): Likewise.
28850
6af6528b
L
288512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28852
28853 * sysdeps/mach/hurd/bits/typesizes.h
28854 (__SYSCALL_SLONG_TYPE): New macro.
28855 (__SYSCALL_ULONG_TYPE): Likewise.
28856
de986b56
L
288572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28858
28859 * bits/types.h (__syscall_slong_t): New type.
28860 (__syscall_ulong_t): Likewise.
28861
28862 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28863 (__SYSCALL_ULONG_TYPE): Likewise.
28864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28865 (__SYSCALL_SLONG_TYPE): Likewise.
28866 (__SYSCALL_ULONG_TYPE): Likewise.
28867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28868 (__SYSCALL_SLONG_TYPE): Likewise.
28869 (__SYSCALL_ULONG_TYPE): Likewise.
28870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28871 (__SYSCALL_SLONG_TYPE): Likewise.
28872 (__SYSCALL_ULONG_TYPE): Likewise.
28873
85736dc7
L
288742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28875
28876 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28877 Add sigaltstack-offsets.sym.
28878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28879 <sigaltstack-offsets.h>.
28880 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28881 longjmp_msg pointer.
28882 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28883 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28884 signal stack.
28885 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28886
cc03b296
JM
288872012-05-15 Joseph Myers <joseph@codesourcery.com>
28888
a9538892
JM
28889 * elf/stackguard-macros.h: Remove file.
28890 * sysdeps/generic/stackguard-macros.h: New file.
28891 * sysdeps/i386/stackguard-macros.h: Likewise.
28892 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28893 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28894 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28895 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28896 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28897 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28898 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28899 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28900 <elf/stackguard-macros.h>.
28901
cc03b296
JM
28902 [BZ #14109]
28903 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28904 __aligned__ in attribute.
28905 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28906 (gregset_t): Likewise.
28907
93171016
L
289082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28909
28910 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28911 * sysdeps/x86_64/64/Implies-after: Here. New file.
28912 * sysdeps/x86_64/x32/Implies-after: New file.
28913
d86813a0
L
289142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28915
28916 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28917 and access return value for _dl_profile_fixup. Use R10_LP to
28918 load frame size.
28919
2953ec75
L
289202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28921
28922 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28923
3b550e9e
L
289242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28925
28926 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28927 * sysdeps/x86_64/x32/sysdep.h: New file.
28928
eda41706
L
289292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28930
28931 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28932 * sysdeps/x86_64/setjmp.S: Likewise.
28933
9ea01d93
AZ
289342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28935
28936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28938 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28939 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28940 remove unused global constant.
28941
02a91938
CM
289422012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28943
28944 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28945 include of <not-cancel.h>.
28946
6540185f
RM
289472012-05-15 Roland McGrath <roland@hack.frob.com>
28948
28949 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28950
509072a0
AJ
289512012-05-15 Jeff Law <law@redhat.com>
28952 Andreas Jaeger <aj@suse.de>
28953
28954 [BZ #13594]
28955 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28956 out from...
28957 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28958 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28959 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28960 code changing __hst_map_handle.map.
28961
ba75122d
RM
289622012-05-15 Roland McGrath <roland@hack.frob.com>
28963
28964 * configure.in (sysnames): Look for Implies-before and Implies-after
28965 files.
28966 * configure: Regenerated.
28967
890d8bd8
L
289682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28969
28970 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28971 8-byte data alignment with LP_SIZE alignment.
28972
f6ee6623
L
289732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28974
28975 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28976 into R10_LP.
28977
ea2626f6
L
289782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28979
28980 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28981
085f715e
L
289822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28983
28984 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28985 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28987 Likewise.
28988 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28989
be8498fc
L
289902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28991
28992 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28993 (stackinfo_sub_sp): Likewise.
28994
70bc83b9
L
289952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28996
28997 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28998 RAX_LP.
28999
9bc0b730
L
290002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29001
29002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29003 into R*_LP.
29004
6d2850e7
L
290052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29006
29007 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29008 sizes into R*_LP.
29009
3cb84561
L
290102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29011
29012 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29013
54e2ed81
L
290142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29015
29016 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29017 into R11_LP and load __x86_64_shared_cache_size_half into
29018 R8_LP.
29019
8a17f349
L
290202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29021
29022 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29023 R8_LP.
29024
777b1eea
AZ
290252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29026
29027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29028 logb for POWER7.
29029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29030 logbf for POWER7.
29031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29032 logbl for POWER7.
29033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29034 powerpc32/power7/fpu/s_logb.c via #include.
29035 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29036 powerpc32/power7/fpu/s_logbf.c via #include.
29037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29038 powerpc32/power7/fpu/s_logbl.c via #include.
29039
d20d4ac2
JM
290402012-05-15 Joseph Myers <joseph@codesourcery.com>
29041
29042 * README.libm: Remove file.
29043
6cdef1ab
L
290442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29045
29046 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29047 count for x32. Use R*_LP and omit operand-size suffix.
29048
0b254d8f
L
290492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29050
29051 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29052 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29053 * sysdeps/x86_64/x32/shlib-versions: New file.
29054
ceb809dc
RM
290552012-05-14 Roland McGrath <roland@hack.frob.com>
29056
29057 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29058 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29059 Use _dl_fatal_printf instead.
29060
37f1abd4
JM
290612012-05-14 Joseph Myers <joseph@codesourcery.com>
29062
29063 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29064 set if not set by the user. Do not allow for being unset.
29065 * sysdeps/unix/sysv/linux/configure: Regenerated.
29066
11de3a33
L
290672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29068
29069 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29070 the `q' suffix from lea and replace .quad with ASM_ADDR.
29071
e02f153a
L
290722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29073
29074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29075 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29076 instead of $17.
29077 (PTR_DEMANGLE): Likewise.
29078
520ae0fd
L
290792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29080
29081 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29082 (LP_OP): Likewise.
29083 (ASM_ADDR): Likewise.
29084 (RAX_LP): Likewise.
29085 (RBP_LP): Likewise.
29086 (RBX_LP): Likewise.
29087 (RCX_LP): Likewise.
29088 (RDI_LP): Likewise.
29089 (RSI_LP): Likewise.
29090 (RSP_LP): Likewise.
29091 (R8_LP): Likewise.
29092 (R9_LP): Likewise.
29093 (R10_LP): Likewise.
29094 (R10_LP): Likewise.
29095 (R11_LP): Likewise.
29096 (R12_LP): Likewise.
29097 (R13_LP): Likewise.
29098 (R14_LP): Likewise.
29099 (R15_LP): Likewise.
29100
b985be81
L
291012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/x86_64/x32/dl-machine.h: New file.
29104
6a4888ff
AJ
291052012-05-14 Andreas Jaeger <aj@suse.de>
29106
29107 * manual/Makefile (subdir): Remove export of subdir.
29108 (all): Remove target.
29109 (.PHONY): Remove all from list.
29110 (mkinstalldirs): Remove.
29111 (.PHONY): Remove installdirs from list.
29112 ($(inst_infodir)/libc.info): Use make-target-directory.
29113 (installdirs): Remove.
29114 (subdir_%): Remove.
29115 (glibc-targets): Remove.
29116 (lib): Remove.
29117 (stubs): Remove.
29118 ($(objpfx)stubs ../po/manual.pot): Remove.
29119 ($(objpfx)stamp%): Remove.
29120 (make-target-directory): Remove.
29121 (subdir_install): Remove.
29122 (routines): Remove.
29123 (aux): Remove.
29124 (sources): Remove.
29125 (objects): Remove.
29126 (headers): Remove.
29127
29128 [BZ #13750]
29129 * manual/.gitignore: Remove, it's not needed anymore.
29130 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29131 all files in it.
29132 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29133 directory.
29134 (texis): Renamed to $(objpfx)texis.
29135 (texis-path): New, contains path to generated files.
29136 (chapters.%): Use texis-path for complete path, add extra argument
29137 libc-texinfo.sh.
29138 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29139 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29140 (summary,texi, stamp-summary): Use complete path of
29141 files. Generate files in build dir.
29142 (dir-add.texi): Build in build dir.
29143 (libm-err.texi,stamp-libm-err): Likewise.
29144 (version.texi, stamp-version): Likewise.
29145 (.%c.texi): Likewise.
29146 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29147 (mostlyclean): Remove target.
29148 (realclean): Remove target.
29149 (generated): Add new variable with contents from mostlyclean and
29150 realclean, remove entries duplicated in common-mostlyclean, add
29151 stamp-libm-err and stamp-version.
29152 (generated-dirs): Add libc directory.
29153 ($(inst_infodir)/libc.info): Install files from build dir.
29154
29155 * manual/install.texi (Configuring and compiling): Adjust since
29156 the info files are not part of the tar ball anymore.
29157
7ac77294
AJ
291582012-05-14 Andreas Jaeger <aj@suse.de>
29159
29160 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29161 variable.
29162
ffb7875d
JM
291632012-05-14 Joseph Myers <joseph@codesourcery.com>
29164
29165 [BZ #13717]
29166 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29167 to 2.2.0 where earlier.
29168 * sysdeps/unix/sysv/linux/configure: Regenerated.
29169 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29170 Remove conditional code.
29171 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29172 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29173 Remove conditional code.
29174 [!__NR_lchown]: Likewise.
29175 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29176 [__NR_lchown]: Likewise.
29177 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29178 comment referencing __ASSUME_LCHOWN_SYSCALL.
29179 * sysdeps/unix/sysv/linux/i386/sigaction.c
29180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29182 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29183 Remove conditional code.
29184 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29185 (__protocol_available): Remove #if 0 code.
29186 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29187 conditional code.
29188 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29189 * sysdeps/unix/sysv/linux/kernel-features.h
29190 (__ASSUME_GETCWD_SYSCALL): Don't define.
29191 (__ASSUME_REALTIME_SIGNALS): Likewise.
29192 (__ASSUME_PREAD_SYSCALL): Likewise.
29193 (__ASSUME_PWRITE_SYSCALL): Likewise.
29194 (__ASSUME_POLL_SYSCALL): Likewise.
29195 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29196 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29197 non-SPARC.
29198 (__ASSUME_SIOCGIFNAME): Don't define.
29199 (__ASSUME_MSG_NOSIGNAL): Likewise.
29200 (__ASSUME_SENDFILE): Define unconditionally.
29201 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29202 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29203 conditional code.
29204 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29205 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29206 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29207 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29208 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29209 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29210 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29227 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29235 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29236 Remove conditional code.
29237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29238 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29239 Remove conditional code.
29240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29241 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29242 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29243 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29244 Remove conditional code.
29245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29246 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29247 Remove conditional code.
29248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29249 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29250 Remove conditional code.
29251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29252 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29253 Remove conditional code.
29254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29255 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29256 Remove conditional code.
29257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29258 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29261 * sysdeps/unix/sysv/linux/sigaction.c
29262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29264 * sysdeps/unix/sysv/linux/sigpending.c
29265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29267 * sysdeps/unix/sysv/linux/sigprocmask.c
29268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29270 * sysdeps/unix/sysv/linux/sigsuspend.c
29271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29274 (__libc_missing_rt_sigs): Remove.
29275 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29276 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29277 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29278 Remove conditional code.
29279 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29280 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29281 return 1.
29282 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29283 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29284 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29285 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29286
1bfb7291
AJ
292872012-05-14 Andreas Jaeger <aj@suse.de>
29288
caae5a81
AJ
29289 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29290 it's not used in glibc.
29291 (__coshm1): Likewise.
29292 (__acosh1p): Likewise.
29293 (__sgn): Likewise.
29294
1bfb7291
AJ
29295 * manual/string.texi (Copying and Concatenation): Add missing
29296 variable in concat example.
29297 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29298
c044d724
L
292992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29300
144c5467 29301 [BZ #14103]
c044d724
L
29302 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29303 __builtin_clzl with __builtin_clzll.
29304
2523c62b
L
293052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29306
29307 [BZ #14104]
29308 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29309 libc_freeres_ptr.
29310
d7bb4c42
LD
293112012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29312
29313 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29314 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29315 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29316 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29317
9dc4e1fb
MF
293182012-05-14 Mike Frysinger <vapier@gentoo.org>
29319
29320 * NEWS: Update ia64 info.
29321
c7df0112
AS
293222012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29323
29324 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29325 used as bcopy.
29326
dc70356c
TS
293272012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29328
29329 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29330 * sysdeps/unix/syscalls.list (dup3): Likewise.
29331 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29332 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29333
9fb1a21f
L
293342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29335
29336 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29337 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29338
4822a2a5
L
293392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29340
29341 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29342 thread pointer.
29343 (TLS_IE): Use mov/add instead of movq/addq to load thread
29344 pointer.
29345 (TLS_GD_PREFIX): New.
29346 (TLS_GD): Use it.
29347
842b81d6
DM
293482012-05-11 David S. Miller <davem@davemloft.net>
29349
29350 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29351 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29352 (_FPU_SETCW): Likewise.
29353
1cf463cd
L
293542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29355
29356 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29357 is 32-byte aligned.
29358
60cc4a18
AS
293592012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29360
29361 [BZ #11837]
29362 * iconvdata/gb18030.c: Update tables.
29363 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29364 characters specially.
29365 (BODY for TO_LOOP): Add encoding of missing ranges.
29366
febb44a4
TS
293672012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29368
29369 [BZ #13673]
29370 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29371 * sysdeps/mach/hurd/dup3.c: Likewise.
29372 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29373 * sysdeps/powerpc/memmove.c:: Likewise.
29374
0a10fb9e
L
293752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29376
29377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29378 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29379
df8a552f
L
293802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29381
29382 * elf/elf.h (R_X86_64_RELATIVE64): New.
29383 (R_X86_64_NUM): Updated.
29384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29385 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29386 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29387 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29388 tst-quad1pie tst-quad2pie
29389 (modules-names): Add tst-quadmod1 tst-quadmod2.
29390 ($(objpfx)tst-quad1): New dependency.
29391 ($(objpfx)tst-quad2): Likewise.
29392 ($(objpfx)tst-quad1pie): Likewise.
29393 ($(objpfx)tst-quad2pie): Likewise.
29394 * sysdeps/x86_64/tst-quad1.c: New file.
29395 * sysdeps/x86_64/tst-quad1pie.c: New file.
29396 * sysdeps/x86_64/tst-quad2.c: Likewise.
29397 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29398 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29399 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29400 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29401 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29402
f34d6f84
ST
294032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29404
f42d41d1
ST
29405 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29406 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29407 * streams/stropts.h (t_scalar_t): Define type.
29408
3c3571fc
ST
29409 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29410 (_PATH_PRESERVE): Set to "/var/lib".
29411 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29412
61f06bd3
ST
29413 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29414 instead of int.
29415
918d4d71
ST
29416 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29417 if __dir_mkfile succeeded.
29418
f34d6f84
ST
29419 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29420 checking for _hurd_dtablesize. Unlock it right after having
29421 finished _hurd_dtable allocation.
29422
10589b4a
TS
294232012-05-10 Thomas Schwinge <thomas@schwinge.name>
29424
674cdbc7
TS
29425 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29426 * sysdeps/mach/hurd/configure: Regenerated.
29427 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29428 special-casing to...
29429 * sysdeps/gnu/configure.in: ... this new file.
29430 * sysdeps/unix/sysv/linux/configure: Regenerated.
29431 * sysdeps/gnu/configure: New generated file.
29432
8e41b99f
TS
29433 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29434 for Linux: use nsec instead of usec, as well as:
29435 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29436 members of type struct timespec.
29437 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29438 New macros.
29439 (struct stat64): Likewise.
29440 (_STATBUF_ST_NSEC): New macro.
29441 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29442
10589b4a
TS
29443 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29444 __strtoul_internal rather than strtoul.
29445
63643c85
PT
294462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29447
29448 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29449 and reject them.
29450
3faebe6a
ST
294512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29452
29453 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29454 which preserves existing values.
29455 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29456
c6474b07
PT
294572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29458
29459 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29460 TIMEOUT values. Return EINVAL for NFDS values either negative or
29461 greater than FD_SETSIZE.
29462
1043890b
ST
294632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29464
29465 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29466 allocated, call __vm_protect to finish enabling the existing space, and
29467 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29468 allocate the remainder.
29469
37ed8b9b
PT
294702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29471
29472 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29473 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29474
db653660
ST
294752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29476
37ed8b9b
PT
29477 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29478 sysdeps/mach/hurd/readlink.c.
b29d4053 29479
db653660
ST
29480 * posix/tst-sysconf.c (posix_options): Only use
29481 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29482 _POSIX_SYNCHRONIZED_IO when they are defined
29483 * sysdeps/mach/hurd/bits/posix_opt.h:
29484 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29485 (_XOPEN_REALTIME): Undefine macro.
29486 (_XOPEN_REALTIME_THREADS): Undefine macro.
29487 (_XOPEN_SHM): Undefine macro.
29488 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29489 macro to -1.
29490 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29491 macro to -1.
29492 (_POSIX_ASYNC_IO): Undefine macro.
29493 (_POSIX_PRIORITIZED_IO): Undefine macro.
29494 (_POSIX_SPIN_LOCKS): Define macro to -1.
29495
ee16e894
ST
29496 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29497 SA_NODEFER, SA_RESETHAND.
29498 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29499 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29500 F_DUPFD_CLOEXEC.
29501
6103ae3b
TS
295022012-05-10 Thomas Schwinge <thomas@schwinge.name>
29503
29504 * elf/Makefile (pldd-modules): Define unconditionally.
29505
80b4e5f3
TS
295062012-05-10 Thomas Schwinge <thomas@schwinge.name>
29507
29508 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29509
edadcbd6
ST
295102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29511
29512 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29513 Return ENOENT when name is empty.
29514 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29515
80694780
TS
295162012-05-10 Thomas Schwinge <thomas@schwinge.name>
29517
1792c087
TS
29518 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29519
80694780
TS
29520 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29521
6b645f0d
ST
295222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29523
80694780
TS
29524 Fix mlock in all cases except non-readable pages.
29525 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29526 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29527
6b645f0d
ST
29528 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29529 (__mkdir): When path is `/', just fail with EEXIST.
29530 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29531
e468f8a3
TS
295322012-05-10 Thomas Schwinge <thomas@schwinge.name>
29533
29534 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29535 <sys/uio.h> (for writev).
29536 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29537 and <sys/param.h> (for MIN).
29538
a4186cff
PT
295392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29540
29541 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29542 REQUESTED_TIME. Properly set the remaining time and return EINTR
29543 if interrupted.
29544
510bbf14
TS
295452012-05-10 Thomas Schwinge <thomas@schwinge.name>
29546
29547 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29548 Depend on against $(link-rpcuserlibs).
29549
5d5722e8
ST
295502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29551
a4186cff
PT
29552 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29553 (__libc_stack_end): Do not use attribute_relro.
29554 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29555 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29556 to libthread-provided value.
a4186cff
PT
29557 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29558 attribute_relro.
5d5722e8 29559
37233df9
TS
295602012-05-10 Thomas Schwinge <thomas@schwinge.name>
29561
be971a2b
TS
29562 [BZ #3748]
29563 * bits/libc-lock.h (__libc_once_get): New macro.
29564 * sysdeps/mach/bits/libc-lock.h: Likewise.
29565 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29567 instead of using implementation details.
29568
37233df9
TS
29569 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29570 * libio/freopen.c: Likewise.
29571 * libio/freopen64.c: Likewise.
29572 * misc/syslog.c: Likewise.
29573 * nscd/connections.c: Likewise.
29574 * nscd/netgroupcache.c: Likewise.
29575 * sysdeps/posix/getcwd.c: Likewise.
29576
38de94a5
RM
295772012-05-10 Roland McGrath <roland@hack.frob.com>
29578
29579 * math/w_ilogbf.c: Add #include <limits.h>.
29580
67530489
ST
295812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29582
a4186cff 29583 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29584 path instead of returning without unlocking.
29585
67530489
ST
29586 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29587 immediate-write ioctls.
29588 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29589
5aa3a74a
TS
295902012-05-10 Thomas Schwinge <thomas@schwinge.name>
29591
18bad2ae
TS
29592 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29593 __builtin_frame_address instead of making assumptions about the
29594 location of the return address relative to DATA. Force early load of
29595 the return address.
29596 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29597 __builtin_frame_address.
29598
5aa3a74a
TS
29599 dup3 for GNU Hurd.
29600 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29601 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29602 implement dup3 and do some further code clean-ups.
29603 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29604 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29605
ecd0de9a
ST
296062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29607
cd9fa985
ST
29608 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29609
a4186cff
PT
29610 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29611 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29612 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29613 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29614 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29615 d->port.lock.
802ca5a5 29616
a4186cff
PT
29617 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29618 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29619 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29620
bcf55240
TS
296212012-05-10 Thomas Schwinge <thomas@schwinge.name>
29622
6960eb42
TS
29623 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29624 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29625 definitions.
29626
eb43375f
TS
29627 accept4 for GNU Hurd.
29628 * include/sys/socket.h (__libc_accept4): New prototype.
29629 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29630 to implement __libc_accept4.
29631 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29632 __libc_accept4.
29633 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29634
bcf55240
TS
29635 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29636 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29637 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29638 signal-defines.sym.
29639
6178c55b
ST
296402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29641
a4186cff 29642 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29643
6f080c2f
TS
296442012-05-10 Thomas Schwinge <thomas@schwinge.name>
29645
29646 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29647 assertion on O_CLOEXEC flag.
29648 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29649 * hurd/intern-fd.c: Likewise.
29650 * hurd/port2fd.c: Likewise.
29651
bcfe3a54
ST
296522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29653
29654 [BZ #3906]
29655 * bits/in.h (IPV6_PKTINFO): Define new macro.
29656 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29657
89c9aa49
AZ
296582012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29659
29660 [BZ #13954]
29661 [BZ #13955]
29662 [BZ #13956]
29663 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29664 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29665 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29666 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29668 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29669 * math/libm-test.inc (logb_test) : Additional logb tests.
29670
021db4be
AJ
296712012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29672 Andreas Jaeger <aj@suse.de>
29673
29674 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29675 * configure: Regenerated.
29676 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29677 * config.make.in (link-obsolete-rpc): New substituted variable.
29678 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29679 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29680 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29681 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29682 so that libc.a contains the symbols.
29683 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29684 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29685 * sunrpc/auth_none.c: Likewise.
29686 * sunrpc/auth_unix.c: Likewise.
29687 * sunrpc/authdes_prot.c: Likewise.
29688 * sunrpc/authuxprot.c: Likewise.
29689 * sunrpc/clnt_gen.c: Likewise.
29690 * sunrpc/clnt_perr.c: Likewise.
29691 * sunrpc/clnt_raw.c: Likewise.
29692 * sunrpc/clnt_simp.c: Likewise.
29693 * sunrpc/clnt_tcp.c: Likewise.
29694 * sunrpc/clnt_udp.c: Likewise.
29695 * sunrpc/clnt_unix.c: Likewise.
29696 * sunrpc/des_crypt.c: Likewise.
29697 * sunrpc/des_soft.c: Likewise.
29698 * sunrpc/get_myaddr.c: Likewise.
29699 * sunrpc/key_call.c: Likewise.
29700 * sunrpc/key_prot.c: Likewise.
29701 * sunrpc/netname.c: Likewise.
29702 * sunrpc/pm_getmaps.c: Likewise.
29703 * sunrpc/pm_getport.c: Likewise.
29704 * sunrpc/pmap_clnt.c: Likewise.
29705 * sunrpc/pmap_prot.c: Likewise.
29706 * sunrpc/pmap_prot2.c: Likewise.
29707 * sunrpc/pmap_rmt.c: Likewise.
29708 * sunrpc/publickey.c: Likewise.
29709 * sunrpc/rpc_cmsg.c: Likewise.
29710 * sunrpc/rpc_common.c: Likewise.
29711 * sunrpc/rpc_dtable.c: Likewise.
29712 * sunrpc/rpc_prot.c: Likewise.
29713 * sunrpc/rpc_thread.c: Likewise.
29714 * sunrpc/rtime.c: Likewise.
29715 * sunrpc/svc.c: Likewise.
29716 * sunrpc/svc_auth.c: Likewise.
29717 * sunrpc/svc_raw.c: Likewise.
29718 * sunrpc/svc_run.c: Likewise.
29719 * sunrpc/svc_tcp.c: Likewise.
29720 * sunrpc/svc_udp.c: Likewise.
29721 * sunrpc/svc_unix.c: Likewise.
29722 * sunrpc/svcauth_des.c: Likewise.
29723 * sunrpc/xcrypt.c: Likewise.
29724 * sunrpc/xdr.c: Likewise.
29725 * sunrpc/xdr_array.c: Likewise.
29726 * sunrpc/xdr_float.c: Likewise.
29727 * sunrpc/xdr_intXX_t.c: Likewise.
29728 * sunrpc/xdr_mem.c: Likewise.
29729 * sunrpc/xdr_rec.c: Likewise.
29730 * sunrpc/xdr_ref.c: Likewise.
29731 * sunrpc/xdr_sizeof.c: Likewise.
29732 * sunrpc/xdr_stdio.c: Likewise.
29733
b5c086a2
RM
297342012-05-10 Roland McGrath <roland@hack.frob.com>
29735
29736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29737 change. Update copyright years.
29738
6d74dd09
JM
297392012-05-10 Joseph Myers <joseph@codesourcery.com>
29740
29741 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29742
28e72501
MK
297432012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29744 Joseph Myers <joseph@codesourcery.com>
29745 Paul Pluzhnikov <ppluzhnikov@google.com>
29746
29747 [BZ #14012]
29748 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29749 requiring rpcgen.
29750 [cross-compiling] (extra-libs): Likewise.
29751 [cross-compiling] (extra-libs-others): Likewise.
29752 [cross-compiling] (librpcsvc-routines): Likewise.
29753 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29754 [cross-compiling] (omit-deps): Likewise.
29755 (sunrpc-CPPFLAGS): New variable.
29756 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29757 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29758 (cross-rpcgen-objs): New variable.
29759 (extra-objs): Append $(cross-rpcgen-objs).
29760 ($(cross-rpcgen-objs)): New rule.
29761 ($(objpfx)cross-rpcgen): Likewise.
29762 (rpcgen-cmd): Define to use $(built-program-file). Expand
29763 comment.
29764 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29765 ($(objpfx)x%.stmp): Likewise.
29766 * sunrpc/proto.h [IS_IN_build] (_): Define.
29767 [IS_IN_build] (_libc_intl_domainname): Likewise.
29768
c8c59454
L
297692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29770
29771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29772 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29773 and R_X86_64_TPOFF64.
29774
6f27cd16
JM
297752012-05-10 Joseph Myers <joseph@codesourcery.com>
29776
29777 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29778 sysdeps/unix/sysv/syscalls.list.
29779 (stime): Likewise.
29780 (utime): Likewise.
29781 * sysdeps/unix/sysv/syscalls.list: Remove file.
29782
02467e1c
PE
297832012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29784
29785 [BZ #3440]
29786 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29787 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29788 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29789 (__LC_IDENTIFICATION): Make these macros useful in #if
29790 expressions, as required by C99.
29791
da392631
AS
297922012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29793
29794 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29795 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29796 after this.
29797
8115f29b
L
297982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29799
29800 * stdlib/longlong.h: Updated from GCC.
29801
bdd74070
AJ
298022012-05-09 Andreas Jaeger <aj@suse.de>
29803
edfe0dbe
AJ
29804 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29805 default is first entry.
29806 (run_mode): Set type.
29807 (main): Remove informal message about syslog.
29808 (options): Fix typo.
29809
bcfe3a54
ST
29810 [BZ #14053]
29811 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29812 to asm.
bcfe3a54
ST
29813 (lrint): Likewise.
29814 (llrintf): Likewise.
29815 (llrint): Likewise.
29816 (rint): Likewise.
29817 (rintf): Likewise.
29818 (nearbyint): Likewise.
29819 (nearbyintf): Likewise.
bdd74070 29820
91d8d69e
AJ
298212012-05-09 Andreas Jaeger <aj@suse.de>
29822 Pedro Alves <palves@redhat.com>
29823
29824 * nscd/nscd.c (run_mode): Use enum.
29825 (main): Cleanup coding style issue.
29826
bb90b80b
AJ
298272012-05-09 Alexandre Oliva <aoliva@redhat.com>
29828 Andreas Jaeger <aj@suse.de>
29829
bcfe3a54
ST
29830 * nscd/nscd.c (go_background): Replaced with...
29831 (run_mode): ... this.
bb90b80b 29832 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29833 (options): Add -F --foreground.
29834 (main): Implement it.
29835 (parse_opt): Parse it.
bb90b80b 29836
1a4b75a1
AJ
298372012-05-09 Andreas Jaeger <aj@suse.de>
29838
29839 [BZ #14083]
29840 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29841 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29842 -Wconversion warning.
29843 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29844 Likewise.
29845
b1cc2472
JM
298462012-05-09 Joseph Myers <joseph@codesourcery.com>
29847
29848 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29849 == 0.
29850 (LC_ALL): Use macro-int-constant.
29851 (LC_COLLATE): Likewise.
29852 (LC_CTYPE): Likewise.
29853 (LC_MESSAGES): Likewise.
29854 (LC_MONETARY): Likewise.
29855 (LC_NUMERIC): Likewise.
29856 (LC_TIME): Likewise.
29857 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29858 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29860 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29861 Specify type.
29862 [C99-based standards] (float_t): Expect type.
29863 [C99-based standards] (double_t): Expect type.
29864 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29865 type.
29866 [C99-based standards] (HUGE_VALL): Likewise.
29867 [C99-based standards] (INFINITY): Likewise.
29868 [C99-based standards] (NAN): Likewise.
29869 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29870 [C99-based standards] (FP_NAN): Likewise.
29871 [C99-based standards] (FP_NORMAL): Likewise.
29872 [C99-based standards] (FP_SUBNORMAL): Likewise.
29873 [C99-based standards] (FP_ZERO): Likewise.
29874 [C99-based standards] (FP_FAST_FMA): Use
29875 optional-macro-int-constant. Specify type. Require == 1.
29876 [C99-based standards] (FP_FAST_FMAF): Likewise.
29877 [C99-based standards] (FP_FAST_FMAL): Likewise.
29878 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29879 [C99-based standards] (FP_ILOGBNAN): Likewise.
29880 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29881 Specify type.
29882 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29883 [C99-based standards] (math_errhandling): Specify type.
29884 [ISO99 || ISO11] (signgam): Do not allow.
29885 [non-C99-based standards] (copysignf): Do not allow.
29886 [non-C99-based standards] (exp2f): Likewise.
29887 [non-C99-based standards] (log2f): Likewise.
29888 [non-C99-based standards] (modff): Allow.
29889 [non-C99-based standards] (erff): Do not allow.
29890 [non-C99-based standards] (erfcf): Likewise.
29891 [non-C99-based standards] (gammaf): Likewise.
29892 [non-C99-based standards] (hypotf): Likewise.
29893 [non-C99-based standards] (j0f): Likewise.
29894 [non-C99-based standards] (j1f): Likewise.
29895 [non-C99-based standards] (jnf): Likewise.
29896 [non-C99-based standards] (lgammaf): Likewise.
29897 [non-C99-based standards] (tgammaf): Likewise.
29898 [non-C99-based standards] (y0f): Likewise.
29899 [non-C99-based standards] (y1f): Likewise.
29900 [non-C99-based standards] (ynf): Likewise.
29901 [non-C99-based standards] (isnanf): Likewise.
29902 [non-C99-based standards] (acoshf): Likewise.
29903 [non-C99-based standards] (asinhf): Likewise.
29904 [non-C99-based standards] (atanhf): Likewise.
29905 [non-C99-based standards] (cbrtf): Likewise.
29906 [non-C99-based standards] (expm1f): Likewise.
29907 [non-C99-based standards] (ilogbf): Likewise.
29908 [non-C99-based standards] (log1pf): Likewise.
29909 [non-C99-based standards] (logbf): Likewise.
29910 [non-C99-based standards] (nextafterf): Likewise.
29911 [non-C99-based standards] (remainderf): Likewise.
29912 [non-C99-based standards] (rintf): Likewise.
29913 [non-C99-based standards] (scalbf): Likewise.
29914 [non-C99-based standards] (copysignl): Likewise.
29915 [non-C99-based standards] (exp2l): Likewise.
29916 [non-C99-based standards] (log2l): Likewise.
29917 [non-C99-based standards] (modfl): Allow.
29918 [non-C99-based standards] (erfl): Do not allow.
29919 [non-C99-based standards] (erfcl): Likewise.
29920 [non-C99-based standards] (gammal): Likewise.
29921 [non-C99-based standards] (hypotl): Likewise.
29922 [non-C99-based standards] (j0l): Likewise.
29923 [non-C99-based standards] (j1l): Likewise.
29924 [non-C99-based standards] (jnl): Likewise.
29925 [non-C99-based standards] (lgammal): Likewise.
29926 [non-C99-based standards] (tgammal): Likewise.
29927 [non-C99-based standards] (y0l): Likewise.
29928 [non-C99-based standards] (y1l): Likewise.
29929 [non-C99-based standards] (ynl): Likewise.
29930 [non-C99-based standards] (isnanl): Likewise.
29931 [non-C99-based standards] (acoshl): Likewise.
29932 [non-C99-based standards] (asinhl): Likewise.
29933 [non-C99-based standards] (atanhl): Likewise.
29934 [non-C99-based standards] (cbrtl): Likewise.
29935 [non-C99-based standards] (expm1l): Likewise.
29936 [non-C99-based standards] (ilogbl): Likewise.
29937 [non-C99-based standards] (log1pl): Likewise.
29938 [non-C99-based standards] (logbl): Likewise.
29939 [non-C99-based standards] (nextafterl): Likewise.
29940 [non-C99-based standards] (remainderl): Likewise.
29941 [non-C99-based standards] (rintl): Likewise.
29942 [non-C99-based standards] (scalbl): Likewise.
29943 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29944 [non-C99-based standards] (FP_*): Do not allow.
29945 [C99-based standards] (FP_*): Change to
29946 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29947 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29948 allow.
29949 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29950 (SIG_ERR): Likewise.
29951 [X/Open-based standards] (SIG_HOLD): Likewise.
29952 (SIG_IGN): Likewise.
29953 (SIGABRT): Use macro-int-constant. Specify type. Require
29954 positive value.
29955 (SIGFPE): Likewise.
29956 (SIGILL): Likewise.
29957 (SIGINT): Likewise.
29958 (SIGSEGV): Likewise.
29959 (SIGTER): Likewise.
29960 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29962 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29967 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29968 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29969 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29970 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29971 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29972 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29973 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29974 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29975 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29976 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29977 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29978 [X/Open-based standards] (SIGTRAP): Likewise.
29979 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29980 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29981 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29982 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29983 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29984 allow.
29985
b9f1922d
IW
299862012-05-08 Ian Wienand <ianw@vmware.com>
29987
29988 [BZ #14080]
29989 * time/tzset.c (__tzset_parse_tz): Update default rules for
29990 daylight time changes in the Energy Policy Act of 2005.
29991
1db86e88
AJ
299922012-05-09 Andreas Jaeger <aj@suse.de>
29993
29994 [BZ #13983]
29995 * elf/ldconfig.c (parse_conf): Change string to make clear that
29996 ldconfig only issued a warning if ld.so.conf does not exist.
29997
dee4a4e3
DM
299982012-05-08 David S. Miller <davem@davemloft.net>
29999
ee0db190
DM
30000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30001 movxtod instead of popping the value on the stack.
30002
dee4a4e3
DM
30003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30004
6a43ec98
CD
300052012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30006
30007 * config.h.in: Add HAVE_ARM_PCS_VFP.
30008
05c2c961
RMG
300092012-05-08 Roland Mc Grath <roland@hack.frob.com>
30010
bcfe3a54
ST
30011 [BZ #13979]
30012 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30013 checking but the checks are disabled for any reason.
05c2c961 30014
4b30f61a
L
300152012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30016
30017 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30018 and ELF64_R_TYPE with ELFW(R_TYPE).
30019
eee2bc67
JM
300202012-05-08 Joseph Myers <joseph@codesourcery.com>
30021
7ea5391a
JM
30022 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30023 (ulimit): Likewise.
30024
eee2bc67
JM
30025 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30026 (settimeofday): Likewise.
30027
abb66a67
MF
300282012-05-08 Mike Frysinger <vapier@gentoo.org>
30029
30030 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30031 a struct th_u2 inside the union, and move tu_block/tu_code into
30032 a new th_u3 union of tu_block/tu_code inside of that. Move
30033 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30034 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30035 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30036 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30037 (th_stuff): Change to th_u1.tu_stuff.
30038 (th_data): Define.
30039 (th_msg): Change to th_u1.th_u2.tu_data.
30040
7f18b530
DM
300412012-05-07 David S. Miller <davem@davemloft.net>
30042
05760585
DM
30043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30044
7f18b530
DM
30045 [BZ #14074]
30046 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30047 (SETUP_PIC_REG): Use it.
30048 (SETUP_PIC_REG_LEAF): Use it.
30049
495fd99f
JM
300502012-05-07 Joseph Myers <joseph@codesourcery.com>
30051
30052 [BZ #13885]
30053 [BZ #13923]
30054 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30055 USE_AS_EXPM1L.
30056 (EXPL_FINITE): Likewise.
30057 (FLDLOG): Likewise.
30058 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30059 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30060 e_expl.S.
30061 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30062 USE_AS_EXPM1L.
30063 (EXPL_FINITE): Likewise.
30064 (FLDLOG): Likewise.
30065 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30066 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30067 e_expl.S.
30068 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30069 test of -max_value argument for long double.
30070 * sysdeps/i386/fpu/libm-test-ulps: Update.
30071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30072
6693d694
DM
300732012-05-06 David S. Miller <davem@davemloft.net>
30074
30075 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30076 quad soft-float symbols whose references which are compiler
30077 generated.
30078 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30079
6c23e11c
JM
300802012-05-06 Joseph Myers <joseph@codesourcery.com>
30081
d8b82cad
JM
30082 [BZ #13884]
30083 [BZ #13914]
30084 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30085 USE_AS_EXP10L.
30086 (EXPL_FINITE): Likewise.
30087 (FLDLOG): Likewise.
30088 (c0): Likewise.
30089 (c1): Likewise.
30090 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30091 Adjust comments for base varying.
30092 (__expl_finite): Change alias to EXPL_FINITE.
30093 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30094 e_expl.S.
30095 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30096 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30098 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30099 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30100 USE_AS_EXP10L.
30101 (EXPL_FINITE): Likewise.
30102 (FLDLOG): Likewise.
30103 (c0): Likewise.
30104 (c1): Likewise.
30105 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30106 Adjust comments for base varying.
30107 (__expl_finite): Change alias to EXPL_FINITE.
30108 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30109 tests for bugs.
30110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30111
6c23e11c
JM
30112 [BZ #14064]
30113 * math/libm-test.inc (check_float_internal): Correct ulp
30114 calculation for subnormal expected results.
30115
29ba805c
AJ
301162012-05-06 Andreas Jaeger <aj@suse.de>
30117
30118 * Makeconfig (+math-flags): New, set to -frounding-math.
30119 (+cflags): Add +math-flags so that all of glibc gets compiled with
30120 it.
30121
30122 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30123
7b17aeda
JM
301242012-05-05 Joseph Myers <joseph@codesourcery.com>
30125
5779f134
JM
30126 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30127 Disable one test.
30128
41498f4d
JM
30129 [BZ #13787]
30130 [BZ #13922]
30131 [BZ #14036]
30132 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30133 (__ieee754_expl): Allow for and saturate large arguments.
30134 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30135 (u_threshold): Likewise.
30136 (__exp): Call __ieee754_exp before checking for overflow and
30137 underflow.
30138 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30139 (u_threshold): Likewise.
30140 (__expf): Call __ieee754_expf before checking for overflow and
30141 underflow.
30142 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30143 (u_threshold): Likewise.
30144 (__expl): Call __ieee754_expl before checking for overflow and
30145 underflow.
30146 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30147 (__ieee754_expl): Allow for and saturate large arguments.
30148 * math/libm-test.inc (exp_test): Add another test. Do not allow
30149 missing overflow exception on overflow.
30150 (expm1_test): Do not allow missing overflow exception on overflow.
30151
6698b8bf
JM
30152 * sysdeps/i386/fpu/e_expl.c: Move to ...
30153 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30154 rather than using inline asm.
30155 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30156 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30157 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30158
7b17aeda
JM
30159 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30160 (nice): Likewise.
30161 (poll): Likewise.
30162 (signal): Likewise.
30163 (time): Likewise.
30164 (times): Likewise.
30165
f7c85819
JM
301662012-05-04 Joseph Myers <joseph@codesourcery.com>
30167
30168 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30169 sysdeps/unix/common/syscalls.list.
30170 (fchmod): Likewise.
30171 (fchown): Likewise.
30172 (ftruncate): Likewise.
30173 (getrusage): Likewise.
30174 (gettimeofday): Likewise.
30175 (setpgid): Likewise.
30176 (setregid): Likewise.
30177 (setreuid): Likewise.
30178 (sigaction): Likewise.
30179 (truncate): Likewise.
30180 (vhangup): Likewise.
30181 * sysdeps/unix/common/syscalls.list: Remove file.
30182 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30183 * sysdeps/unix/sysv/linux/Implies: Likewise.
30184
336270d0
L
301852012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30186
30187 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30189 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30190 Moved to ...
30191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30192 Here.
30193 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30194 to ...
30195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30196 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30197 to ...
30198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30199 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30200 to ...
30201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30202 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30203 to ...
30204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30205 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30206 to ...
30207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30208 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30209 to ...
30210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30211 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30212 to ...
30213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30214 Here.
30215 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30216 to ...
30217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30218 Here.
30219 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30220 to ...
30221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30222 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30223 Moved to ...
30224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30225 Here.
30226 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30227 to ...
30228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30229
d128e450
JM
302302012-05-04 Joseph Myers <joseph@codesourcery.com>
30231
fa8ee516
JM
30232 * sysdeps/unix/common/bits/dirent.h: Remove file.
30233 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30234
d128e450
JM
30235 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30236 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30237 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30238 * sysdeps/unix/bsd/isatty.c: Likewise.
30239 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30240 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30241 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30242
ff8faaf0 302432012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30244
62881be4 30245 [BZ #13563]
31dc8730
AZ
30246 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30247 long double comparison inaccuracies.
30248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30250
6fef930c
AS
302512012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30252
30253 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30255
8f203e6c
JM
302562012-05-04 Joseph Myers <joseph@codesourcery.com>
30257
30258 [BZ #14049]
30259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30260 nonzero digits before rounding a hex value.
30261 * stdlib/tst-strtod.c (tests): Add another test.
30262
5197d9c2
AK
302632012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30264
30265 * sysdeps/s390/fpu/libm-test-ulps: Update.
30266
f0c1dedf
AJ
302672012-05-03 Andreas Jaeger <aj@suse.de>
30268
30269 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30270 does not get optimized out.
30271 (malloc_opt_barrier): New.
30272
a65ef2ae 302732012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30274 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30275
2b942cb7 30276 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30277 intermediate file deletion.
2b942cb7 30278 (generated): Add .symlist files.
a65ef2ae 30279
54b71e02
JM
302802012-05-03 Joseph Myers <joseph@codesourcery.com>
30281
30282 [BZ #13775]
30283 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30284 Redirect under this condition.
30285 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30286 [__USE_GNU] (__dprintf_chk): Not under this condition.
30287 [__USE_GNU] (__vdprintf_chk): Likewise.
30288 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30289 under this condition.
30290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30291 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30292 [__USE_XOPEN2K8] (vdprintf): Likewise.
30293 [__USE_GNU] (__dprintf_chk): Not under this condition.
30294 [__USE_GNU] (__vdprintf_chk): Likewise.
30295 [__USE_GNU] (dprintf): Likewise.
30296 [__USE_GNU] (vdprintf): Likewise.
30297
d3dfcc41
RM
302982012-05-03 Roland McGrath <roland@hack.frob.com>
30299
30300 * elf/Makefile (common-generated): Set this instead of generated for
30301 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30302 $(all-built-dso)-derived lists.
30303
7ac30cc5
AJ
303042012-05-03 Andreas Jaeger <aj@suse.de>
30305
0c51e550
AJ
30306 * sysdeps/i386/fpu/libm-test-ulps: Update.
30307
7ac30cc5
AJ
30308 * FAQ: Removed.
30309 * FAQ.in: Likewise.
30310 * scripts/gen-FAQ.pl: Likewise.
30311 * manual/install.texi (Installation): Point to online location of
30312 FAQ.
30313 * Makefile (files-for-dist): Remove FAQ.
30314 (FAQ): Remove.
30315
d4c2917f
AM
303162012-05-02 Allan McRae <allan@archlinux.org>
30317
30318 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30319 (LDFLAGS-reldepmod5.so): Likewise.
30320 (LDFLAGS-reldep6mod1.so): Likewise.
30321 (LDFLAGS-reldep6mod4.so): Likewise.
30322 (LDFLAGS-reldep8mod3.so): Likewise.
30323 (LDFLAGS-unload4mod1.so): Likewise.
30324 (LDFLAGS-unload4mod2.so): Likewise.
30325 (LDFLAGS-tst-initorder): Likewise.
30326 (LDFLAGS-tst-initordera2.so): Likewise.
30327 (LDFLAGS-tst-initordera3.so): Likewise.
30328 (LDFLAGS-tst-initordera4.so): Likewise.
30329 (LDFLAGS-tst-initorderb2.so): Likewise.
30330 (LDFLAGS-noload): Likewise.
30331 (LDFLAGS-next): Likewise.
30332 (LDFLAGS-order2mod1.so): Likewise.
30333 (LDFLAGS-order2mod2.so): Likewise.
30334 (LDFLAGS-tst-initorder2): Likewise.
30335 (LDFLAGS-tst-initorder2a.so): Likewise.
30336 (LDFLAGS-tst-initorder2b.so): Likewise.
30337 (LDFLAGS-tst-initorder2c.so): Likewise.
30338 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30339
d77f993f
DM
303402012-05-02 David S. Miller <davem@davemloft.net>
30341
30342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30343
171a70b4
PP
303442012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30345
30346 [BZ #14055]
30347 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30348
0be196ad
AJ
303492012-05-02 Andreas Jaeger <aj@suse.de>
30350
30351 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30352 since we manipulate rounding mode.
30353 (CPPFLAGS-test-idouble.c): Likewise.
30354 (CPPFLAGS-test-ifloat.c): Likewise.
30355 (CFLAGS-test-ldouble.c): Likewise.
30356 (CFLAGS-test-double.c): Likewise.
30357 (CFLAGS-test-float.c): Likewise.
30358 (CFLAGS-test-misc.c): Likewise.
30359 (CFLAGS-test-test-fenv.c): Likewise.
30360
4f9d04aa
AZ
303612012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30362
2b942cb7
RM
30363 [BZ #2550]
30364 [BZ #2570]
30365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30366 comparisons to determine direction to adjust input.
4f9d04aa 30367
82a79e7d
RM
303682012-05-01 Roland McGrath <roland@hack.frob.com>
30369
f5a01ca9
RM
30370 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30371 output to the target.
30372
90fe4186
RM
30373 * scripts/localplt.awk: New file.
30374 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30375 (check-localplt-CFLAGS): Variable removed.
30376 ($(all-built-dso:=.jmprel)): New static pattern rule.
30377 (generated): Add those targets.
30378 (localplt-built-dso): New variable.
30379 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30380
30381 * elf/check-localplt.c: File removed.
30382
82397ed6
RM
30383 * scripts/check-execstack.awk: New file.
30384 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30385 (check-execstack-CFLAGS): Variable removed.
30386 ($(objpfx)check-execstack.h): Target removed.
30387 ($(objpfx)execstack-default): New target.
30388 (generated): Add that instead of check-execstack.h.
30389 ($(all-built-dso:=.phdr)): New static pattern rule.
30390 (generated): Add those targets.
30391 * elf/check-execstack.c: File removed.
30392
82a79e7d
RM
30393 * scripts/check-textrel.awk: New file.
30394 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30395 (check-textrel-CFLAGS): Variable removed.
30396 (all-built-dso): Use := to define.o
30397 ($(all-built-dso:=.dyn)): New static pattern rule.
30398 (generated): Add those targets.
30399 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30400 * config.make.in (READELF): New substituted variable.
30401 * elf/check-textrel.c: File removed.
30402
62fde54f 304032012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30404
615605c9
JM
30405 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30406 allow.
30407 * conform/data/ctype.h-data [C99-based standards] (isblank):
30408 Expect function.
30409 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30410 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30412 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30413 Specify type. Require positive value.
30414 (EILSEQ): Likewise.
30415 (ERANGE): Likewise.
30416 [ISO || POSIX] (EILSEQ): Do not expect.
30417 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30418 Specify type. Require positive value.
30419 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30442 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30446 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30447 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30448 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30449 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30450 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30461 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30462 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30463 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30464 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30465 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30466 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30467 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30468 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30469 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30470 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30471 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30472 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30473 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30474 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30475 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30476 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30477 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30478 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30479 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30480 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30481 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30482 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30483 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30484 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30485 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30486 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30487 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30488 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30489 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30490 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30491 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30492 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30493 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30494 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30495 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30496 Require >= 2.
30497 (FLT_ROUNDS): Expect as macro, not constant.
30498 (FLT_MANT_DIG): Use macro-int-constant.
30499 (DBL_MANT_DIG): Likewise.
30500 (LDBL_MANT_DIG): Likewise.
30501 (FLT_DIG): Likewise.
30502 (DBL_DIG): Likewise.
30503 (LDBL_DIG): Likewise.
30504 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30505 (DBL_MIN_EXP): Likewise.
30506 (LDBL_MIN_EXP): Likewise.
30507 (FLT_MAX_EXP): Use macro-int-constant.
30508 (DBL_MAX_EXP): Likewise.
30509 (LDBL_MAX_EXP): Likewise.
30510 (FLT_MAX_10_EXP): Likewise.
30511 (DBL_MAX_10_EXP): Likewise.
30512 (LDBL_MAX_10_EXP): Likewise.
30513 (FLT_MAX): Use macro-constant.
30514 (DBL_MAX): Likewise.
30515 (LDBL_MAX): Likewise.
30516 (FLT_EPSILON): Use macro-constant. Give upper bound.
30517 (DBL_EPSILON): Likewise.
30518 (LDBL_EPSILON): Likewise.
30519 (FLT_MIN): Likewise.
30520 (DBL_MIN): Likewise.
30521 (LDBL_MIN): Likewise.
30522 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30523 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30524 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30525 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30526 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30527 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30528 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30529 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30530 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30531 [ISO11] (FLT_TRUE_MIN): Likewise.
30532 [ISO11] (LDBL_TRUE_MIN): Likewise.
30533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30534 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30535 (SCHAR_MIN): Use macro-int-constant. Specify type.
30536 (SCHAR_MAX): Likewise.
30537 (UCHAR_MAX): Likewise.
30538 (CHAR_MIN): Likewise.
30539 (CHAR_MAX): Likewise.
30540 (MB_LEN_MAX): Use macro-int-constant.
30541 (SHRT_MIN): Use macro-int-constant. Specify type.
30542 (SHRT_MAX): Likewise.
30543 (USHRT_MAX): Likewise.
30544 (INT_MAX): Likewise.
30545 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30546 bound negative.
30547 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30548 bound with "U".
30549 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30550 bound with "L".
30551 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30552 bound negative. Suffix upper bound with "L".
30553 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30554 bound with "UL".
30555 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30556 Specify type.
30557 [C99-based standards] (LLONG_MAX): Likewise.
30558 [C99-based standards] (ULLONG_MAX): Likewise.
30559 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30560 == 0.
30561 [ISO11] (max_align_t): Require type.
30562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30563
c9140a62
JM
30564 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30565 from $CFLAGS, without defining away __attribute__ calls.
30566 (checknamespace): Use $CFLAGS_namespace.
30567
9af0bf29
JM
30568 * conform/conformtest.pl (@keywords): Only include C99 keywords
30569 for standards based on C99 or C11.
30570
343222a2
JM
30571 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30572 Disable tests.
30573 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30574 UNIX98]: Likewise.
30575
661f8cf0
JM
30576 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30577 usability of symbols in #if.
30578
ee74b9cb
JM
30579 * conform/conformtest.pl: If macro or constant types start
30580 "promoted:", expect the symbol to be of the following type
30581 promoted by the integer promotions.
62fde54f 30582
aafc49b3
JM
30583 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30584 in one place. Also handle "macro-constant".
30585
fefdf574
JM
30586 * conform/conformtest.pl: Only accept expected macro values with
30587 "==". Parse all "macro" lines in one place.
30588 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30589
f2d922fe
JM
30590 * conform/conformtest.pl: Handle braced types on "constant" lines
30591 instead of handling "typed-constant".
30592 * conform/data/signal.h-data: Use "constant" instead of
30593 "typed-constant".
30594
d22956c9
JM
30595 * conform/conformtest.pl: Handle "optional-" at start of lines in
30596 one place rather than duplicating several cases. Handle each
30597 format of "macro" line with initial "optional-".
30598
028e2e38
JM
30599 * conform/conformtest.pl: Only accept expected constant or
30600 optional-constant values with "==". Parse all "constant" lines in
30601 one place. Parse all "optional-constant" lines in one place.
30602 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30603 * conform/data/fmtmsg.h-data: Likewise.
30604 * conform/data/netinet/in.h-data: Likewise.
30605 * conform/data/tar.h-data: Likewise.
30606 * conform/data/limits.h-data: Use "==" form on "constant" and
30607 "optional-constant" lines.
30608
1b8f2850
JM
30609 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30610 Use -std=c99 for XOPEN2K.
30611 (@knownproblems): Remove.
30612 (newtoken): Don't check %isknown.
30613
a05a144b
JM
30614 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30615 Do not expect macro.
30616 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30628 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30629 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30646 [XPG3] (acosh): Likewise.
30647 [XPG3] (asinh): Likewise.
30648 [XPG3] (atanh): Likewise.
30649 [XPG3] (cbrt): Likewise.
30650 [XPG3] (expm1): Likewise.
30651 [XPG3] (ilogb): Likewise.
30652 [XPG3] (log1p): Likewise.
30653 [XPG3] (logb): Likewise.
30654 [XPG3] (nextafter): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30657 [XPG3] (remainder): Likewise.
30658 [XPG3] (rint): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30666 [UNIX98 || XOPEN2K] (scalb): Expect.
30667 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30668 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30804
73c5ebe3
JM
30805 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30806 _XOPEN_SOURCE_EXTENDED for XPG4.
30807
39c33b6c
JM
30808 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30809
62fde54f
JM
30810 * Makeconfig (localtime): Remove variable.
30811 (inst_localtime-file): Likewise.
30812
0741d64c
AS
308132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30814
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30816 Update.
30817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30818 Update.
30819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30820 Update.
30821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30822 Update.
30823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30824 Update.
30825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30826 Update.
30827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30828 Update.
30829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30830 Update.
30831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30832 Update.
30833
7cb029ee
JM
308342012-05-01 Joseph Myers <joseph@codesourcery.com>
30835
30836 [BZ #2550]
30837 [BZ #2570]
30838 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30839 comparisons to determine direction to adjust input.
30840 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30841 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30843 Likewise.
30844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30845 Likewise.
30846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30847 Likewise.
30848 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30849 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30850 Likewise.
30851 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30852 Likewise.
30853 * math/libm-test.inc (nexttoward_test): Add more tests.
30854
412bd966
AS
308552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30856
30857 [BZ #14040]
30858 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30859 in version GLIBC_2.1, not GLIBC_2.0.
30860 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30861 Likewise.
30862
9568c0c2
JM
308632012-04-30 Joseph Myers <joseph@codesourcery.com>
30864
adfbc8ac
JM
30865 [BZ #13942]
30866 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30867 (1 - x) * (1 + x).
30868 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30869 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30870 * math/libm-test.inc (acos_test): Add more tests.
30871 (asin_test): Likewise.
30872 * sysdeps/i386/fpu/libm-test-ulps: Update.
30873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30874
5ba3cc69
JM
30875 [BZ #14034]
30876 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30877 of square root.
30878 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30879 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30880 * math/libm-test.inc (acos_test_tonearest): New function.
30881 (acos_test_towardzero): Likewise.
30882 (acos_test_downward): Likewise.
30883 (acos_test_upward): Likewise.
30884 (asin_test_tonearest): Likewise.
30885 (asin_test_towardzero): Likewise.
30886 (asin_test_downward): Likewise.
30887 (asin_test_upward): Likewise.
30888 (main): Call the new functions.
30889 * sysdeps/i386/fpu/libm-test-ulps: Update.
30890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30891
9568c0c2
JM
30892 [BZ #13884]
30893 [BZ #13924]
30894 * math/e_exp10.c: Include <float.h>.
30895 (__ieee754_exp10): Handle underflow here rather than multiplying
30896 large negative argument by M_LN10.
30897 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30898 of __ieee754_expf.
30899 * math/e_exp10l.c: Include <float.h>.
30900 (__ieee754_exp10l): Handle underflow here rather than multiplying
30901 large negative argument by M_LN10l.
30902 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30903 spurious overflow exception on underflow.
30904
5ac3ea17
MP
309052012-04-29 Marek Polacek <polacek@redhat.com>
30906
30907 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30908 (__fortify_function): New macro.
30909 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30910 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30911 __extern_always_inline.
30912 * libio/bits/stdio2.h: Likewise.
30913 * libio/bits/stdio.h: Likewise.
30914 * string/string.h: Likewise.
30915 * string/bits/string3.h: Likewise.
30916 * include/stdio.h: Likewise.
30917 * stdlib/bits/stdlib.h: Likewise.
30918 * stdlib/stdlib.h: Likewise.
30919 * rt/bits/mqueue2.h: Likewise.
30920 * rt/mqueue.h: Likewise.
30921 * posix/bits/unistd.h: Likewise.
30922 * posix/unistd.h: Likewise.
30923 * io/bits/poll2.h: Likewise.
30924 * io/bits/fcntl2.h: Likewise.
30925 * io/fcntl.h: Likewise.
30926 * io/sys/poll.h: Likewise.
30927 * misc/bits/syslog.h: Likewise.
30928 * misc/bits/syslog-ldbl.h: Likewise.
30929 * misc/sys/syslog.h: Likewise.
30930 * socket/bits/socket2.h: Likewise.
30931 * socket/sys/socket.h: Likewise.
30932 * debug/tst-chk1.c: Likewise.
30933 * wcsmbs/bits/wchar2.h: Likewise.
30934 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30935 * wcsmbs/wchar.h: Likewise.
30936
ecf0ebfb
AJ
309372012-04-29 Andreas Jaeger <aj@suse.de>
30938
30939 * Makerules (tests): Remove enable-check-abi protection.
30940 (check-abi-warn): Remove.
30941 (check-abi-%): Remove check-abi-warn usage.
30942
30943 * configure.in: Remove check-abi configure option.
30944 * configure: Regenerated.
30945 * config.make.in (enable-check-abi): Remove.
30946
6d5c57fa
AS
309472012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30948
24c5d07e 30949 [BZ #14033]
ded5180a
AS
30950 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30951 double functions to double *_finite functions.
30952
7e0d315d
AS
30953 [BZ #13941]
30954 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30955 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30956 LDBL_MIN_EXP.
30957 * stdio-common/Makefile (tests): Add tst-sprintf3.
30958 * stdio-common/tst-sprintf3.c: New file.
30959
6d5c57fa
AS
30960 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30961 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30962
0749ff8b
JM
309632012-04-28 Joseph Myers <joseph@codesourcery.com>
30964
30965 * conform/conformtest.pl: Remove duplicate typed-constant
30966 handling.
30967
8dbd5d7b
DM
309682012-04-28 David S. Miller <davem@davemloft.net>
30969
30970 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30971 (check-abi-%): Remove AWK script prerequisite and explicit
30972 abilist directory.
30973 (check-abi): Rewrite to just diff the symlist with the abilist.
30974 (config-tls, config-abi-config): Delete, no longer used.
30975 (update-abi-%): Remove AWK script and explicit abilist directory.
30976 (update-abi): Rewrite to simply compare and conditionally copy the
30977 symlist and the sysdep abilist file. Remove update-abi-config
30978 checks.
30979 * abilist/ld.abilist: Remove.
30980 * abilist/libBrokenLocale.abilist: Remove.
30981 * abilist/libanl.abilist: Remove.
30982 * abilist/libcrypt.abilist: Remove.
30983 * abilist/libdl.abilist: Remove.
30984 * abilist/librt.abilist: Remove.
30985 * abilist/libthread_db.abilist: Remove.
30986 * abilist/libutil.abilist: Remove.
30987 * scripts/extract-abilist.awk: Remove.
30988 * scripts/merge-abilist.awk: Remove.
30989 * sysdeps/generic/libcidn.abilist: New file.
30990 * sysdeps/generic/libnss_compat.abilist: New file.
30991 * sysdeps/generic/libnss_db.abilist: New file.
30992 * sysdeps/generic/libnss_dns.abilist: New file.
30993 * sysdeps/generic/libnss_files.abilist: New file.
30994 * sysdeps/generic/libnss_hesiod.abilist: New file.
30995 * sysdeps/generic/libnss_nis.abilist: New file.
30996 * sysdeps/generic/libnss_nisplus.abilist: New file.
30997 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30998 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30999 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31000 file.
31001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31002 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31003 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31004 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31005 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31006 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31007 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31008 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31009 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31010 file.
31011 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31012 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31013 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31014 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31015 file.
31016 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31017 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31018 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31019 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31020 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31021 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31022 file.
31023 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31024 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31025 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31026 file.
31027 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31029 New file.
31030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31031 New file.
31032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31033 New file.
31034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31035 New file.
31036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31037 New file.
31038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31039 New file.
31040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31041 New file.
31042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31043 New file.
31044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31045 New file.
31046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31047 New file.
31048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31049 New file.
31050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31051 New file.
31052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31053 New file.
31054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31055 file.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31057 New file.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31059 New file.
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31061 file.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31063 New file.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31065 New file.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31067 file.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31069 New file.
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31071 New file.
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31073 New file.
31074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31075 New file.
31076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31077 New file.
31078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31079 New file.
31080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31082 file.
31083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31084 New file.
31085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31086 file.
31087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31088 file.
31089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31090 file.
31091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31092 file.
31093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31094 file.
31095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31096 New file.
31097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31098 file.
31099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31100 file.
31101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31102 New file.
31103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31104 file.
31105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31107 file.
31108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31109 New file.
31110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31111 file.
31112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31113 file.
31114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31115 file.
31116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31117 file.
31118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31119 file.
31120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31121 New file.
31122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31123 file.
31124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31125 file.
31126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31127 New file.
31128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31129 file.
31130 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31131 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31132 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31133 file.
31134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31135 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31136 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31137 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31138 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31139 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31140 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31141 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31142 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31143 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31146 file.
31147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31148 New file.
31149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31150 file.
31151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31152 file.
31153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31154 file.
31155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31156 file.
31157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31158 file.
31159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31160 New file.
31161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31162 New file.
31163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31164 file.
31165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31166 New file.
31167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31168 file.
31169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31171 file.
31172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31173 New file.
31174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31175 file.
31176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31177 file.
31178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31179 file.
31180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31181 file.
31182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31183 file.
31184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31185 New file.
31186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31187 New file.
31188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31189 file.
31190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31191 New file.
31192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31193 file.
31194
41d73a1b
JM
311952012-04-28 Joseph Myers <joseph@codesourcery.com>
31196
31197 * conform/conformtest.pl: Fix typo in handling typed-constant from
31198 allow-header.
31199
28aeeda4
JM
312002012-04-27 Joseph Myers <joseph@codesourcery.com>
31201
adae8f5e
JM
31202 * README: Cut down references to pre-2.6 Linux kernels and
31203 Linuxthreads. Update lists of configurations in libc and ports
31204 and sort alphabetically. Say "or newer" with Linux kernel version
31205 requirements.
31206
28aeeda4
JM
31207 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31208
a462cb63
RA
312092012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31210
31211 [BZ #887]
31212 * math/libm-test.inc (logb_test_downward): New test to expose
31213 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31214 rounding mode.
31215
6ad3493e
JM
312162012-04-27 Joseph Myers <joseph@codesourcery.com>
31217
31218 [BZ #14027]
31219 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31220 to be done.
31221 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31222 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31223
2ce4f015
JM
312242012-04-26 Joseph Myers <joseph@codesourcery.com>
31225
5aeb141a
JM
31226 * sysdeps/unix/i386/brk.S: Remove file.
31227 * sysdeps/unix/i386/dl-brk.S: Likewise.
31228 * sysdeps/unix/i386/pipe.S: Likewise.
31229 * sysdeps/unix/i386/sigreturn.S: Likewise.
31230 * sysdeps/unix/i386/syscall.S: Likewise.
31231 * sysdeps/unix/i386/vfork.S: Likewise.
31232 * sysdeps/unix/i386/wait.S: Likewise.
31233
7143acae
JM
31234 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31235 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31236
2ce4f015
JM
31237 * configure.in (arm*-none*): Do not allow without
31238 --enable-hacker-mode.
31239 (netbsd*): Remove case setting base_os.
31240 (386bsd*): Likewise.
31241 (freebsd*): Likewise.
31242 (bsdi*): Likewise.
31243 (osf*): Likewise.
31244 (sunos*): Likewise.
31245 (ultrix*): Likewise.
31246 (newsos*): Likewise.
31247 (dynix*): Likewise.
31248 (*bsd*): Likewise.
31249 (sysv*): Likewise.
31250 (isc*): Likewise.
31251 (esix*): Likewise.
31252 (sco*): Likewise.
31253 (minix*): Likewise.
31254 (irix4*): Likewise.
31255 (irix6*): Likewise.
31256 (solaris[2-9]*): Likewise.
31257 (none): Likewise.
31258 * configure: Regenerated.
31259
0ac229c8
AZ
312602012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31261
31262 [BZ #11521]
31263 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31264 overflow or cancellation in calculating denominator.
31265 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31267 down expression to avoid unexpected rounding in newer GCCs.
31268 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31269
33f244f4
DM
312702012-04-26 David S. Miller <davem@davemloft.net>
31271
31272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31273 long-double compat symbols.
31274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31287
cfa1f3e8
DM
312882012-04-25 David S. Miller <davem@davemloft.net>
31289
31290 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31291 HWCAP_* values only after the memory barriers have been defined.
31292 (atomic_full_barrier): Define.
31293 (atomic_read_barrier): Define.
31294 (atomic_write_barrier): Define.
31295
6e236b92
SP
312962012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31297
31298 * shlib-versions: Add libgcc_s version information.
31299 * sysdeps/generic/libgcc_s.h: Remove.
31300 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31301 libgcc_s.h.
31302 * sysdeps/gnu/unwind-resume.c: Likewise.
31303 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31304
aab39a09
DM
313052012-04-25 David S. Miller <davem@davemloft.net>
31306
31307 * sysdeps/unix/sparc/brk.S: Delete.
31308 * sysdeps/unix/sparc/dl-brk.S: Delete.
31309 * sysdeps/unix/sparc/pipe.S: Delete.
31310 * sysdeps/unix/sparc/sysdep.S: Delete.
31311 * sysdeps/unix/sparc/sysdep.h: Delete.
31312 * sysdeps/unix/sparc/vfork.S: Delete.
31313 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31314 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31315 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31316 ret_ERRVAL, r0, r1, MOVE): Define.
31317 (JUMPTARGET): Remove.
31318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31319 sysdeps/unix/sparc/sysdep.h
31320 (ENTRY, END): Remove.
31321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31322
a3cc4f48
JM
313232012-04-25 Joseph Myers <joseph@codesourcery.com>
31324
2ed8cda2
JM
31325 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31326 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31327 -DIS_IN_build.
31328
35d76d59
JM
31329 * timezone/README: Update upstream location and email address for
31330 tzcode and tzdata.
31331 * timezone/zdump.c: Update from tzcode 2012b.
31332 * timezone/zic.c: Likewise.
31333
a3cc4f48
JM
31334 * configure.in (libc_cv_as_needed): Remove test.
31335 * configure: Regenerated.
31336 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31337 conditional definition.
31338 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31339 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31340 * config.make.in (have-as-needed): Remove variable.
31341
ceab42c3
SP
313422012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31343 Paul Pluzhnikov <ppluzhnikov@google.com>
31344
31345 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31346 strings correctly.
31347
3ce2865f
CLT
313482012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31349
31350 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31351 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31352 * sysdeps/sh/strlen.S: Likewise.
31353
f37e0d68
JM
313542012-04-24 Joseph Myers <joseph@codesourcery.com>
31355
ae186e9a
JM
31356 * sysdeps/unix/fork.S: Remove file.
31357 * sysdeps/unix/i386/fork.S: Likewise.
31358 * sysdeps/unix/sparc/fork.S: Likewise.
31359
b96914af
JM
31360 * sysdeps/unix/system.c: Remove file.
31361 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31362
f37e0d68
JM
31363 * sysdeps/unix/getegid.S: Remove file.
31364 * sysdeps/unix/geteuid.S: Likewise.
31365
87ef29ca
RM
313662012-04-24 Roland McGrath <roland@hack.frob.com>
31367
83bcd236
RM
31368 * scripts/check-localplt.awk: New file.
31369 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31370 of diff.
31371 * scripts/data/localplt-generic.data: Add a comment.
31372
87ef29ca
RM
31373 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31374 NODE when __dir_mkfile failed.
31375 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31376 Reported by Ludovic Courtès <ludo@gnu.org>.
31377
e5a6e567
AJ
313782012-04-24 Andreas Jaeger <aj@suse.de>
31379
31380 * Makerules (common-clean): Also remove gen-as-const-headers
31381 files.
31382
c1820385
JM
313832012-04-24 Joseph Myers <joseph@codesourcery.com>
31384
31385 * Makerules (native-compile): Do not change working directory for
31386 build. Use $(OUTPUT_OPTION) in command.
31387 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31388
94e02fc4
AZ
313892012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31390
31391 [BZ #13886]
31392 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31393 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31394 * math/libm-test.inc (floor_test): Add more tests.
31395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31396
3a533ca3
JM
313972012-04-24 Joseph Myers <joseph@codesourcery.com>
31398
940ab4b3
JM
31399 * sysdeps/unix/getdents.c: Remove file.
31400 * sysdeps/unix/sysv/getdents.c: Likewise.
31401 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31402
90e037bd
JM
31403 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31404 sysdeps/unix/mman/syscalls.list.
31405 (mmap): Likewise.
31406 (mprotect): Likewise.
31407 (msync): Likewise.
31408 (munmap): Likewise.
31409 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31410 * sysdeps/unix/mman/syscalls.list: Remove.
31411 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31412
3a533ca3
JM
31413 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31414 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31415 * configure: Regenerated.
31416 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31417 $(libgcc_s_suffix).
31418 * config.make.in (libgcc_s_suffix): Remove variable.
31419
1ad743de
JM
314202012-04-23 Joseph Myers <joseph@codesourcery.com>
31421
4ad451e2
JM
31422 * sysdeps/unix/sysv/gethostname.c: Move to ...
31423 * sysdeps/posix/gethostname.c: ... here.
31424
5e37ce39
JM
31425 * sysdeps/unix/execve.S: Remove file.
31426
1ad743de
JM
31427 * sysdeps/unix/_exit.S: Remove file.
31428
4e681b5b
AJ
314292012-04-23 Andreas Jaeger <aj@suse.de>
31430
31431 [BZ #13739]
31432 * manual/Makefile: Remove make dist support, there's no
31433 need for a stand-alone documentation tar ball.
31434 (TEXI2DVI): Define always, it's not in Makeconfig.
31435 (dist): Removed.
31436 (tar-it): Removed.
31437 (edition): Removed.
31438 (glibc-doc-$(edition).tar): Removed
31439 (%.Z): Removed.
31440 (%.gz): Removed.
31441 (%.uu): Removed.
31442 (ETAGS): Remove, it's in Makeconfig.
31443 (move-if-change): Remove, it's in Makeconfig.
31444
38686a03 314452012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31446
31447 [BZ #13970]
31448 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31449 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31450 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31451 (strtod_l, strtof_l, strtold_l): Remove __wur.
31452 It is not necessarily an error to ignore strtol's return value.
31453 One can reliably look at the stored endptr to decide whether
31454 the number had valid syntax.
31455
7c0616fa
AJ
314562012-04-21 Andreas Jaeger <aj@suse.de>
31457
803cb6b7 31458 [BZ #13739]
7c0616fa
AJ
31459 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31460
b0fe253f
JM
314612012-04-21 Joseph Myers <joseph@codesourcery.com>
31462
31463 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31464 * sysdeps/unix/sysv/Versions: Remove file.
31465
8280f22d
MT
314662012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31467
31468 [BZ #13927]
31469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31470
75ce411f 314712012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31472
31473 [BZ #7064]
31474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31475 version from __vm86.
31476
097d59fa
JM
314772012-04-20 Joseph Myers <joseph@codesourcery.com>
31478
a90f3bcb
JM
31479 * sysdeps/unix/common/lxstat.c: Remove file.
31480 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31481
edc7ea78
JM
31482 * sysdeps/unix/sysv/Makefile: Remove file.
31483
cb78c221
JM
31484 * sysdeps/unix/sysv/direct.h: Remove file.
31485
efa6a45f
JM
31486 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31487 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31488 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31489 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31490 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31491 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31492 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31493
9c9f2d0c
JM
31494 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31495
4541c83b
JM
31496 * sysdeps/unix/xmknod.c: Remove file.
31497 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31498
f5d153a0
JM
31499 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31500
aa746595
JM
31501 * sysdeps/unix/sysv/i386/time.S: Remove file.
31502
cce5905e
JM
31503 * sysdeps/unix/fxstat.c: Remove file.
31504 * sysdeps/unix/xstat.c: Likewise.
31505 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31506
37fa3841
JM
31507 * sysdeps/unix/sysv/sigaction.c: Remove file.
31508
ff1962a3
JM
31509 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31510 (sysdep_headers): Remove variable.
31511 [termio.h not in sysdep_headers] (generated): Likewise.
31512 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31513 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31514 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31515 * sysdeps/unix/sysv/tcflow.c: Likewise.
31516 * sysdeps/unix/sysv/tcflush.c: Likewise.
31517 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31518 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31519 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31520 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31521 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31522
e7740d31
JM
31523 * sysdeps/unix/siglist.c: Remove file.
31524
ee06f18b
JM
31525 * sysdeps/unix/getppid.S: Remove file.
31526
097d59fa
JM
31527 * sysdeps/unix/mkdir.c: Remove file.
31528 * sysdeps/unix/rmdir.c: Likewise.
31529
ff3d51ec
AS
315302012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31531
31532 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31533 ERR_MAX value.
31534 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31535 errlist-compat value.
31536
50f81fd7
DM
315372012-04-18 David S. Miller <davem@davemloft.net>
31538
31539 * sysdeps/generic/memcopy.h (reg_char): Delete.
31540 * debug/strcat_chk.c: Use char, not reg_char.
31541 * debug/strcpy_chk.c: Likewise.
31542 * debug/strncat_chk.c: Likewise.
31543 * debug/strncpy_chk.c: Likewise.
31544 * string/memchr.c: Likewise.
31545 * string/memrchr.c: Likewise.
31546 * string/rawmemchr.c: Likewise.
31547 * string/strcat.c: Likewise.
31548 * string/strchr.c: Likewise.
31549 * string/strchrnul.c: Likewise.
31550 * string/strcmp.c: Likewise.
31551 * string/strcpy.c: Likewise.
31552 * string/strncat.c: Likewise.
31553 * string/strncmp.c: Likewise.
31554 * string/strncpy.c: Likewise.
31555
8ff41c46
WS
315562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31557
31558 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31559 __builtin_memcopy is called when src and dest ranges are known to not
31560 overlap.
31561
6b652f46
WS
315622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31563
31564 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31565 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31566 fwd_align_merge macro call.
31567 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31568 bwd_align_merge macro call.
31569 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31570
b282631e
WS
315712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31572
31573 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31574 bwd_align_merge macros.
31575 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31576 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31577 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31578
95aa737c
DM
315792012-04-18 David S. Miller <davem@davemloft.net>
31580
31581 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31582
7a99a614
AJ
315832012-04-18 Andreas Jaeger <aj@suse.de>
31584
31585 [BZ# 6794]
31586 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31587 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31589
31590 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31591 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31592 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31593
31594 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31595 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31596 Adjust for changed ldbl-128 files.
31597
31598 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31599 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31600 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31601
e5270c23
DM
316022012-04-17 David S. Miller <davem@davemloft.net>
31603
31604 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31605
fb5e92c9
AS
316062012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31607
31608 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31609 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31610 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31611 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31612 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31613 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31614
76da7265
AZ
316152012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31616
31617 [BZ #6794]
31618 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31619 * math/libm-test.inc: Add ilogb errno and exception tests.
31620 * math/w_ilogb.c: New file: ilogb wrapper.
31621 * math/w_ilogbf.c: New file: ilogbf wrapper.
31622 * math/w_ilogbl.c: New file: ilogbl wrapper.
31623 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31624 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31625 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31626 exception being thrown with 0.0 as argument.
31627 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31628 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31629 exception being thrown with 0.0 as argument.
31630 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31631 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31632 exception being thrown with 0.0 as argument.
31633 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31634 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31635 exception being thrown with 0.0 as argument.
31636 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31637 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31639 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31641 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31642 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31643 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31644 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31645
0396e69d
PB
316462012-04-17 Petr Baudis <pasky@ucw.cz>
31647
31648 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31649 with altivec.
31650
750b5926
MP
316512012-04-16 Marek Polacek <polacek@redhat.com>
31652
31653 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31654
751728a1
MP
316552012-04-16 Marek Polacek <polacek@redhat.com>
31656
31657 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31658 operands of fdivp instruction.
31659
34a27407
L
316602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31661
31662 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31663 * elf/tst-auditmod3b.c: Likewise.
31664 * elf/tst-auditmod4b.c: Likewise.
31665 * elf/tst-auditmod5b.c: Likewise.
31666 * elf/tst-auditmod6b.c: Likewise.
31667 * elf/tst-auditmod6c.c: Likewise.
31668 * elf/tst-auditmod7b.c: Likewise.
31669 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31670 * sysdeps/x86_64/preconfigure.in: Likewise.
31671 * sysdeps/x86_64/preconfigure: Regenerated.
31672
7e73e17d
L
316732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31674
31675 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31676 __ILP32__.
31677
c7a6ab72
AB
316782012-04-13 Antoine Balestrat <merkil33@gmail.com>
31679
31680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31681 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31682
a9e8e0e0
CL
316832012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31684
31685 [BZ #13973]
31686 * locale/iso-639.def: Fix gl language name. Spotted by
31687 Yaron Shahrabani.
31688
ec98af7d
RM
316892012-04-12 Roland McGrath <roland@hack.frob.com>
31690
31691 [BZ #2074]
31692 * libio/libio.h (__io_write_fn): Update comment.
31693
247c3ede
PB
316942012-04-12 Petr Baudis <pasky@ucw.cz>
31695
31696 [BZ #2074]
31697 * stdio.texi (Hook Functions): The user provided writer function
31698 is not allowed to return -1.
31699
55939d6d
DM
317002012-04-11 David S. Miller <davem@davemloft.net>
31701
31702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31703
90020f5a
MF
317042012-04-11 Mike Frysinger <vapier@gentoo.org>
31705
31706 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31707 Add a leading slash to rtkaio.
31708
288f9098
JM
317092012-04-11 Jim Meyering <meyering@redhat.com>
31710
90020f5a
MF
31711 [BZ #11959]
31712 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31713 It is not necessarily an error to ignore fwrite's return
31714 value. One can reliably use ferror to test for errors after
31715 the fact.
288f9098 31716
4be2b570
L
317172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31718
31719 * bits/types.h (__snseconds_t): New type.
31720 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31721
31722 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31724 (__SNSECONDS_T_TYPE): Likewise.
31725 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31726 (__SNSECONDS_T_TYPE): Likewise.
31727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31728 (__SNSECONDS_T_TYPE): Likewise.
31729
288f9098 317302012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31731
31732 [BZ #2636]
31733 * manual/time.texi (Processor Time): Return type of times is
31734 elapsed real time since an arbitrary point in the past.
31735 (CPU Time): Move CLK_TCK from here...
31736 (Processor Time): ...to here. Correct description.
31737 * manual/conf.texi (Constants for Sysconf): Correct description of
31738 _SC_CLK_TCK.
31739
d7dd4413
DM
317402012-04-10 David S. Miller <davem@davemloft.net>
31741
31742 [BZ #13967]
31743 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31744 where the is a gap between DT_REL(A) and DT_JMPREL.
31745
b46068fc
L
317462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31747
31748 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31749 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31750 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31751
73d65cc3
SP
317522012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31753
31754 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31755 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31756 (dl_main): Handle --inhibit-cache.
31757 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31758 _dl_inhibit_cache.
31759 * elf/dl-load.c (_dl_map_object): Use it.
31760 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31761
bcc8d661
JM
317622012-04-09 Joseph Myers <joseph@codesourcery.com>
31763
8f9a2fae
JM
31764 [BZ #13872]
31765 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31766 (__ieee754_powl): Saturate large exponents rather than testing for
31767 overflow of y*log2(x).
31768 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31769 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31770 exceptions.
31771
bcc8d661
JM
31772 [BZ #11521]
31773 * math/s_ctan.c: Include <float.h>.
31774 (__ctan): Avoid internal overflow or cancellation in calculating
31775 denominator.
31776 * math/s_ctanf.c: Likewise.
31777 * math/s_ctanl.c: Likewise.
31778 * math/s_ctanh.c: Likewise.
31779 * math/s_ctanhf.c: Likewise.
31780 * math/s_ctanhl.c: Likewise.
31781 * math/libm-test.inc (ctan_test): Add more tests.
31782 (ctanh_test): Likewise.
31783 * sysdeps/i386/fpu/libm-test-ulps: Update.
31784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31785
823fbbb4
AJ
317862012-04-09 Andreas Jaeger <aj@suse.de>
31787
03879793
AJ
31788 [BZ #6894]
31789 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31790 is an optional BSD extension.
31791
823fbbb4
AJ
31792 [BZ #10254]
31793 * manual/stdio.texi (Opening Streams): Document additional fopen
31794 parameters.
31795
8de131cb
RM
317962012-04-09 Roland McGrath <roland@hack.frob.com>
31797
31798 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31799 %eax without telling the compiler.
31800
c0ed9d7d
CD
318012012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31802
31803 [BZ # 13963]
31804 * manual/install.texi: Use sourceware.org.
31805
c483f6b4
JM
318062012-04-09 Joseph Myers <joseph@codesourcery.com>
31807
d7dd9453
JM
31808 [BZ #13873]
31809 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31810 (__ieee754_pow): Generate overflow and underflow using huge*huge
31811 and tiny*tiny rather than just returning constant infinity or zero
31812 for large exponents.
31813 * math/libm-test.inc (pow_test): Require overflow exceptions for
31814 applicable cases of large exponents.
31815
c483f6b4
JM
31816 [BZ #706]
31817 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31818 (__ieee754_pow): Use iterative multiplication algorithm only for
31819 integer exponents with absolute value below 1024. Check for odd
31820 integer exponents when using algorithm for real exponents.
31821 * math/libm-test.inc (pow_test): Add more tests.
31822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31823
d2de7579
JM
318242012-04-08 Joseph Myers <joseph@codesourcery.com>
31825
31826 [BZ #13705]
31827 * math/libm-test.inc (exp_test): Do not allow overflow exception
31828 on underflow test.
31829
f77f1232
AJ
318302012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31831
31832 [BZ #13705]
31833 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31834 instead of __kernel_standard_f.
31835
3884932b
MF
318362012-04-08 Mike Frysinger <vapier@gentoo.org>
31837
31838 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31839 * sysdeps/x86_64/memset_chk.S: Likewise.
31840
54472e9c
AJ
318412012-04-08 Andreas Jaeger <aj@suse.de>
31842
6ab0fbfc
AJ
31843 [BZ #10153]
31844 * manual/startup.texi (Environment Access): Describe return value
31845 for putenv and setenv.
31846
61efba8c
AJ
31847 [BZ #6895]
31848 * manual/filesys.texi (Directory Entries): Add description for
31849 DT_LNK.
31850
95c3f29a
AJ
31851 [BZ #6890]
31852 * manual/filesys.texi (Directory Entries): Clarify that it's file
31853 system not operating system in the description of DT_UNKNOWN.
31854
54472e9c
AJ
31855 [BZ #6578]
31856 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31857
624254b1
SC
318582012-04-08 Stephen Compall <s11@member.fsf.org>
31859
31860 [BZ #6649]
31861 * manual/llio.texi (Opening and Closing Files): Add cross
31862 reference to explain mode argument.
31863
1e4920e0
MF
318642012-04-07 Mike Frysinger <vapier@gentoo.org>
31865
31866 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31867 * sysdeps/x86_64/memset_chk.S: Likewise.
31868
5ed848f3
DM
318692012-04-07 David S. Miller <davem@davemloft.net>
31870
31871 * elf/elf.h (R_SPARC_WDISP10): Define.
31872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31873 R_SPARC_SIZE32.
31874 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31875 R_SPARC_SIZE64 and R_SPARC_H34.
31876
96154cd8
CD
318772012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31878
31879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31880 conditions and remove no longer applicable assertion.
31881
9904dc47
L
318822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31883
31884 * bits/byteswap.h: Include <features.h>.
31885 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31886 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31887
f8887d0a
L
318882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31889
31890 * bits/byteswap.h (__bswap_16): Removed.
31891 Include <bits/byteswap-16.h> to get __bswap_16.
31892 * sysdeps/i386/bits/byteswap.h: Likewise.
31893 * sysdeps/s390/bits/byteswap.h: Likewise.
31894 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31895 * bits/byteswap-16.h: New file.
31896 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31897 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31898 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31899 * string/Makefile (headers): Add bits/byteswap-16.h.
31900
62470f60
PP
319012012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31902
31903 [BZ #13895]
31904 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31905 extra indirection.
31906 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31907 * nss/tst-nss-static.c: New.
31908
4dad7bab
RM
319092012-04-06 Robert Millan <rmh@gnu.org>
31910
31911 [BZ #6486]
31912 * manual/llio.texi (File Position Primitive): lseek
31913 refers to WHENCE when it really means OFFSET.
31914
e9142a17
AJ
319152012-04-06 Andreas Jaeger <aj@suse.de>
31916
2c040eff
AJ
31917 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31918 strncmp declarations.
31919
e9142a17
AJ
31920 * abilist/libc.abilist: Add __poll and __ppoll.
31921
ff9f1c5f
DM
319222012-04-05 David S. Miller <davem@davemloft.net>
31923
dcd2ae90
DM
31924 * scripts/check-local-headers.sh: Accept a host triplet in the
31925 path matched by the exclude regexp.
31926
993eb054
DM
31927 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31928 definition.
31929 * sysdeps/powerpc/powerpc32/dl-machine.h
31930 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31931 * sysdeps/s390/s390-32/dl-machine.h
31932 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31933 * sysdeps/sparc/sparc32/dl-machine.h
31934 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31935 * sysdeps/sparc/sparc64/dl-machine.h
31936 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31937
ff9f1c5f
DM
31938 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31939 lazy binding.
48e2e132 31940 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31941 undefined symbol errors.
31942
48e2e132 31943 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31944 DT_NEEDED entries.
31945
e80d6f94
MM
319462012-04-05 Michael Matz <matz@suse.de>
31947
31948 [BZ #13592]
31949 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31950
349fa79f
AJ
319512012-04-05 Andreas Jaeger <aj@suse.de>
31952
31953 [BZ #13908]
31954 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31955 comment.
31956
f402708f
KK
319572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31958
31959 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31960 which ROUND is no valid rounding mode.
31961
2ecccfc9
KK
319622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31963
31964 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31965 read again.
31966 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31967
8a53f50f
KK
319682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31969
31970 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31971 an exception using FPU order intentionally.
31972
319732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31974
31975 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31976 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31977 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31978 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31979
d653abb7
SJ
319802012-04-05 Simon Josefsson <simon@josefsson.org>
31981
31982 [BZ #12340]
31983 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31984 EINVAL when BUFLEN is too smal.
31985
c3b1bf7d
TS
319862012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31987
31988 [BZ #13553]
31989 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31990 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31991
b1aa60f3
AJ
319922012-04-03 Andreas Jaeger <aj@suse.de>
31993
c3b1bf7d 31994 [BZ #13938]
67f60a26
AJ
31995 * manual/setjmp.texi (System V contexts): Fix sentence.
31996
b1aa60f3
AJ
31997 [BZ #13926]
31998 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31999 New macro for this case.
32000 [!__GNUC__] (__bswap_64): New inline function for this case.
32001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32002 * bits/byteswap.h: Likewise.
32003 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32004 ull, guard with __GLIBC_HAVE_LONG_LONG.
32005
32006 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32007 __GLIBC_HAVE_LONG_LONG.
32008
32009 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32010 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32011
39c59c35
TMQMF
320122012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32013
32014 [BZ #13691]
32015 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32016 inptr and inend, rather than using last_ch.
32017
135ffda8
DM
320182012-04-02 David S. Miller <davem@davemloft.net>
32019
32020 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32021 * stdio-common/printf-parse.h (read_int): Change return type to
32022 'int', return -1 on INT_MAX overflow.
32023 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32024 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32025 overflows INT_MAX. Check for overflow of in-format-string precision
32026 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32027 SIZE_MAX not INT_MAX for integer overflow test.
32028 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32029 skip the construct in the format string but do not record anything.
32030 * stdio-common/bug22.c: Adjust to test both width/prevision
32031 INT_MAX overflow as well as total length INT_MAX overflow. Check
32032 explicitly for proper errno values.
32033
228c019e
TS
320342012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32035
302cadd3
TS
32036 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32037 CHAR_MAX.
32038 * string/test-strcmp.c [! WIDE]: Likewise.
32039 * time/tst-mktime2.c: Likewise for INT_MAX.
32040 * string/test-string.h: #include <sys/param.h> for MIN.
32041
228c019e
TS
32042 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32043 * sysdeps/i386/init-first.c (init): Likewise.
32044 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32045 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32046 * sysdeps/sh/init-first.c (init): Likewise.
32047
cfa633f5
UD
320482012-04-01 Ulrich Drepper <drepper@gmail.com>
32049
32050 * po/ru.po: Update from translation team.
d1635ef8 32051 * po/vi.po: Likewise.
cfa633f5 32052
6cd0a5ea
SP
320532012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32054
32055 * resolv/nss_dns/dns-host.c: Merge copyright years.
32056
4b43400f
LD
320572012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32058
32059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32060 Optimize memcpy with prefetch if
32061 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32062 src, dst pointers have unequal 16 byte alignments.
32063
48c41d04
SP
320642012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32065
32066 [BZ #13928]
32067 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32068 from a CNAME entry and return the minimum ttl for the query.
32069 (gaih_getanswer_slice): Likewise.
32070
b8dc394d
JL
320712012-03-30 Jeff Law <law@redhat.com>
32072
32073 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32074 due to long keys.
32075 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32076 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32077
2f5a5ed0
JL
32078 * resolv/nss_dns/dns-host.c: Update copyright year.
32079
1d39e359
UD
320802012-03-30 Ulrich Drepper <drepper@gmail.com>
32081
c030f70c 32082 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32083 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32084
1d39e359
UD
32085 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32086 comments for sendmmsg.
32087
320882012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32089
32090 [BZ #13691]
32091 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32092 with only 1 character between 0x0041 and 0x01b0.
32093 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32094 * wcsmbs/tst-mbsnrtowcs.c: New file.
32095
20fde227
DM
320962012-03-29 David S. Miller <davem@davemloft.net>
32097
32098 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32099 small copies by hand.
32100
984a4237
JL
321012012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32102
32103 [BZ #13761]
32104 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32105 _nss_compat_initgroups_dyn): Fall back to malloc/free
32106 for large group memberships.
32107
18c9d62b
DM
321082012-03-28 David S. Miller <davem@davemloft.net>
32109
88d85d4f
DM
32110 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32111 that branches into memcpy.
32112 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32113 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32115 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32117 bits.
32118 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32119 implementation too.
32120 * sysdeps/sparc/mempcpy.S: New file.
32121
e5aa83e1
DM
32122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32123 the IFUNC routine in the libc case.
32124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32125
88570753
DM
32126 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32128 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32129 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32130 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32131 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32132 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32133 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32134
249d7567
DM
32135 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32136 loop to 256 bytes instead of 64 bytes and fix test signedness.
32137
18c9d62b
DM
32138 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32139 * sysdeps/sparc/sparc32/Makefile: rather than here...
32140 * sysdeps/sparc/sparc64/Makefile: and here.
32141
05f3d1f6
UD
321422012-03-28 Ulrich Drepper <drepper@gmail.com>
32143
32144 * malloc/mallocbug.c: Avoid warnings about unused variables.
32145
86ae07a8
JL
321462012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32147
32148 [BZ #13760]
32149 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32150 in the right place. Discard and retry query if response is
32151 larger than input buffer size.
32152
41bf21a1
JM
321532012-03-28 Joseph Myers <joseph@codesourcery.com>
32154
d6270972
JM
32155 [BZ #369]
32156 [BZ #2678]
32157 [BZ #3866]
32158 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32159 x for large integer exponent.
32160 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32161 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32162 sign of result as needed afterwards.
32163 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32164 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32165 result for underflowing pow the same as for overflow.
32166 (__kernel_standard_l): Handle powl overflow and underflow here
32167 rather than calling __kernel_standard.
32168 * math/libm-test.inc (pow_test): Add more tests.
32169
414fca03 32170 [BZ #3868]
41bf21a1
JM
32171 [BZ #13879]
32172 [BZ #13910]
32173 [BZ #13911]
32174 [BZ #13912]
32175 [BZ #13913]
32176 [BZ #13915]
32177 [BZ #13916]
32178 [BZ #13917]
32179 [BZ #13918]
32180 [BZ #13919]
32181 [BZ #13920]
32182 [BZ #13921]
32183 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32184 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32185 (__kernel_standard_l): New function.
32186 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32187 __kernel_standard.
32188 * math/w_acosl.c (__acosl): Likewise.
32189 * math/w_asinl.c (__asinl): Likewise.
32190 * math/w_atan2l.c (__atan2l): Likewise.
32191 * math/w_atanhl.c (__atanhl): Likewise.
32192 * math/w_coshl.c (__coshl): Likewise.
32193 * math/w_exp10l.c (__exp10l): Likewise.
32194 * math/w_exp2l.c (__exp2l): Likewise.
32195 * math/w_fmodl.c (__fmodl): Likewise.
32196 * math/w_hypotl.c (__hypotl): Likewise.
32197 * math/w_j0l.c (__j0l, __y0l): Likewise.
32198 * math/w_j1l.c (__j1l, __y1l): Likewise.
32199 * math/w_jnl.c (__jnl, __ynl): Likewise.
32200 * math/w_lgammal.c (__lgammal): Likewise.
32201 * math/w_log10l.c (__log10l): Likewise.
32202 * math/w_log2l.c (__log2l): Likewise.
32203 * math/w_logl.c (__logl): Likewise.
32204 * math/w_powl.c (__powl): Likewise.
32205 * math/w_remainderl.c (__remainderl): Likewise.
32206 * math/w_scalbl.c (sysv_scalbl): Likewise.
32207 * math/w_sinhl.c (__sinhl): Likewise.
32208 * math/w_sqrtl.c (__sqrtl): Likewise.
32209 * math/w_tgammal.c (__tgammal): Likewise.
32210 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32211 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32212 * math/libm-test.inc (acos_test): Add more tests.
32213 (acosh_test): Likewise.
32214 (asin_test): Likewise.
32215 (atanh_test): Likewise.
32216 (exp_test): Likewise.
32217 (exp10_test): Likewise.
32218 (exp2_test): Likewise.
32219 (expm1_test): Likewise.
32220 (lgamma_test): Likewise.
32221 (log_test): Likewise.
32222 (log10_test): Likewise.
32223 (log1p_test): Likewise.
32224 (log2_test): Likewise.
32225 (pow_test): Do not allow some spurious overflow exceptions.
32226 (sqrt_test): Add more tests.
32227 (tgamma_test): Likewise.
32228 (y0_test): Likewise.
32229 (y1_test): Likewise.
32230 (yn_test): Likewise.
32231
dd62fda6
AB
322322012-03-27 Anton Blanchard <anton@samba.org>
32233
32234 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32235 MAP_HUGETLB.
32236 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32237 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32238 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32239
1e3cdfda
AJ
322402012-03-27 David S. Miller <davem@davemloft.net>
32241
b855ab85
DM
32242 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32243
1e3cdfda
AJ
32244 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32245 have-as-vis3 check.
32246
322472012-03-27 Andreas Jaeger <aj@suse.de>
32248
32249 * sysdeps/x86_64/elf/configure.in: Moved to ...
32250 * sysdeps/x86_64/configure.in: ... here.
32251 * sysdeps/x86_64/elf/start.S: Moved to ...
32252 * sysdeps/x86_64/start.S: ... here.
32253 * sysdeps/x86_64/elf/configure: Delete.
32254
32255 * sysdeps/x86_64/configure.in: Merge contents from
32256 sysdeps/i386/configure.in (without i686 check).
32257
32258 * sysdeps/i386/elf/Versions: Merge into ...
32259 * sysdeps/i386/Versions: ... this.
32260 * sysdeps/i386/elf/Versions: Delete file.
32261 * sysdeps/i386/elf/start.S: Moved to ...
32262 * sysdeps/i386/start.S: ...here.
32263 * sysdeps/i386/elf/configure.in: Merge into...
32264 * sysdeps/i386/configure.in: ...here.
32265 * sysdeps/i386/elf/configure.in: Delete file.
32266 * sysdeps/i386/elf/configure: Delete file.
32267
32268 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32269 * debug/backtracesyms.c: ... here.
32270 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32271 * debug/backtracesymsfd.c: ... here.
32272 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32273 * sysdeps/generic/ifunc-sel.h: ... here.
32274
32275 * sysdeps/unix/i386/start.c: Delete file.
32276 * sysdeps/unix/sparc/start.c: Delete file.
32277 * sysdeps/unix/start.c: Delete file.
32278
32279 * sysdeps/sh/elf/configure.in: Moved to ...
32280 * sysdeps/sh/configure.in: ... here.
32281 * sysdeps/sh/elf/start.S: Moved to ...
32282 * sysdeps/sh/start.S: ... here.
32283 * sysdeps/sh/elf/configure: Delete file.
32284
32285 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32286 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32287 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32288 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32289 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32290 * sysdeps/powerpc/powerpc64/start.S: here.
32291 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32292 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32293 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32294 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32295 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32296
32297 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32298 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32299 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32300 * sysdeps/powerpc/powerpc32/start.S: ... here.
32301 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32302 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32303 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32304
32305 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32306 * sysdeps/powerpc/ifunc-sel.h: ... here.
32307 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32308 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32309
32310 * sysdeps/sparc/elf/configure.in: Moved to ...
32311 * sysdeps/sparc/configure.in: ... here.
32312 * sysdeps/sparc/elf/configure: Delete file.
32313 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32314 * sysdeps/sparc/sparc32/start.S: ... here.
32315 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32316 * sysdeps/sparc/sparc64/start.S: ... here.
32317 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32318 * sysdeps/sparc/sparc32/Makefile: ... this.
32319 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32320 * sysdeps/sparc/sparc64/Makefile: ... this.
32321
32322 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32323 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32324 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32325 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32326 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32327 * sysdeps/s390/s390-32/setjmp.S: ... here.
32328 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32329 * sysdeps/s390/s390-32/configure.in: ... here.
32330 * sysdeps/s390/s390-32/elf/configure: Delete file.
32331 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32332 * sysdeps/s390/s390-32/start.S: ... here.
32333
32334 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32335 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32336 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32337 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32338 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32339 * sysdeps/s390/s390-64/setjmp.S: ... here.
32340 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32341 * sysdeps/s390/s390-64/configure.in: ... here
32342 * sysdeps/s390/s390-64/elf/configure: Delete file.
32343 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32344 * sysdeps/s390/s390-64/start.S: ... here.
32345 * sysdeps/s390/s390-64/elf/configure: Delete.
32346
32347 * configure.in: Remove support for elf directories in sysdeps.
32348
32349 * configure: Regenerated.
32350 * sysdeps/i386/configure: Regenerated.
32351 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32352 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32353 * sysdeps/s390/s390-32/configure: Regenerated.
32354 * sysdeps/s390/s390-64/configure: Regenerated.
32355 * sysdeps/sh/configure: Regenerated.
32356 * sysdeps/sparc/configure: Regenerated.
32357 * sysdeps/x86_64/configure: Regenerated.
32358
a3f61311
AS
323592012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32360
c876e002
AS
32361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32362
a3f61311
AS
32363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32364 denormal result into account.
32365
ac4c54f0
RM
323662012-03-25 Roland McGrath <roland@hack.frob.com>
32367
32368 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32369 Reported by Allan McRae <allan@archlinux.org>.
32370
6a9b9c02
JL
323712012-03-23 Jeff Law <law@redhat.com>
32372
32373 * nss/getnssent.c (__nss_getent): Fix typo.
32374
4c42a0c1
DM
323752012-03-23 David S. Miller <davem@davemloft.net>
32376
32377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32378
1532c7ac
L
323792012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32380
32381 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32382 to pad to uint64_t for each field.
32383 (dl_tls_index): Replace unsigned long with uint64_t.
32384
3ff42526
PP
323852012-03-23 Daniel Jacobowitz <dmj@google.com>
32386 Paul Pluzhnikov <ppluzhnikov@google.com>
32387
32388 [BZ #6528]
32389 * grp/Makefile (otherlibs): Don't set it.
32390 * inet/Makefile (otherlibs): Likewise.
32391 * login/Makefile (otherlibs): Likewise.
32392 * nscd/Makefile (otherlibs): Likewise.
32393 * posix/Makefile (otherlibs): Likewise.
32394 * pwd/Makefile (otherlibs): Likewise.
32395 * rt/Makefile (otherlibs): Likewise.
32396 * sunrpc/Makefile (otherlibs): Likewise.
32397 * nss/Makefile (otherlibs): Likewise.
32398 Add libnss_files to routines and static-only-routines.
32399 ($(objpfx)getent): Remove rule.
32400 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32401 static-only-routines.
32402
7c69cd14
JM
324032012-03-22 Joseph Myers <joseph@codesourcery.com>
32404
32405 [BZ #13892]
32406 * math/s_cexp.c: Include <float.h>.
32407 (__cexp): Handle exp result overflowing not necessarily
32408 overflowing both real and imaginary parts of result.
32409 * math/s_cexpf.c: Likewise.
32410 * math/s_cexpl.c: Likewise.
32411 * math/libm-test.inc (cexp_test): Add more tests.
32412 * sysdeps/i386/fpu/libm-test-ulps: Update.
32413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32414
81b035fe
L
324152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32416
32417 * include/link.h (ELFW): New macro.
32418 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32419 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32420
1da7940c
L
324212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32422
32423 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32424 with uint64_t.
32425
b749dbb9
L
324262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32427
32428 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32429 declaration.
32430 (struct La_x32_retval): Likewise.
32431
2ff87f3f
L
324322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 * sysdeps/x86_64/preconfigure.in: New file.
32435 * sysdeps/x86_64/preconfigure: New generated file.
32436
c0df8e69
JM
324372012-03-22 Joseph Myers <joseph@codesourcery.com>
32438
48e44791
JM
32439 [BZ #13824]
32440 * math/e_exp2l.c: Include <float.h>.
32441 (__ieee754_exp2l): Handle overflow and underflow cases
32442 separately. Only pass fractional part of argument to
32443 __ieee754_expl.
32444 * math/libm-test.inc (exp2_test): Add more tests.
32445
c0df8e69
JM
32446 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32447 negating x to take absolute value.
32448 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32449 Likewise.
32450 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32451 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32452 Likewise.
32453 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32454 computing low part if x was negated.
32455 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32456
c8e43ba7
L
324572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32458
32459 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32460 la_x32_gnu_pltexit.
32461 (pltexit): Cast int_retval to ptrdiff_t.
32462 * elf/tst-auditmod3b.c: Likewise.
32463 * elf/tst-auditmod4b.c: Likewise.
32464 * elf/tst-auditmod5b.c: Likewise.
32465 * elf/tst-auditmod6b.c: Likewise.
32466 * elf/tst-auditmod6c.c: Likewise.
32467 * elf/tst-auditmod7b.c: Likewise.
32468
32469 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32470 and x32_gnu_pltexit.
32471
32472 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32473 __ELF_NATIVE_CLASS.
32474 (La_x32_regs): New macro.
32475 (La_x32_retval): Likewise.
32476 (la_x32_gnu_pltenter): New function prototype.
32477 (la_x32_gnu_pltexit): Likewise.
32478
7998fa78
AS
324792012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32480
dcb33988
AS
32481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32482 exponent.
32483
233fc563
AS
32484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32485
7998fa78
AS
32486 * configure.in (libc_cv_cc_nofma): Check for option to disable
32487 generation of FMA instructions.
32488 * configure: Regenerate.
32489 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32490 * sysdeps/ieee754/dbl-64/Makefile: New file.
32491 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32492 Remove brandred-fma4.
32493 (CFLAGS-brandred-fma4.c): Remove.
32494 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32496 define.
32497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32498 define.
32499
8e95c99a
L
325002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32501
32502 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32503 LLONG_MAX != LONG_MAX.
32504 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32505 (_fitoa_word): Likewise.
32506 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32507 LLONG_MAX != LONG_MAX.
32508 * stdio-common/_itowa.h: Include <_itoa.h>.
32509 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32510 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32511 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32512 only if not defined.
32513 (_ITOA_WORD_TYPE): Likewise.
32514 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32515 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32516
6f4db457
DM
325172012-03-21 David S. Miller <davem@davemloft.net>
32518
32519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32520
7785fe5a
L
325212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32522
32523 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32524 of x86_64 when setting libc_cv_slibdir, libdir and
32525 libc_cv_localedir.
32526 * sysdeps/unix/sysv/linux/configure: Regenerated.
32527
4535cd55
JM
325282012-03-21 Joseph Myers <joseph@codesourcery.com>
32529
32530 * manual/lang.texi (Old Varargs): Remove section.
32531 (How Variadic): Update menu.
32532 (va_start): Do not mention varargs.h.
32533
17228132
TS
325342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32535 Joseph Myers <joseph@codesourcery.com>
32536
32537 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32538 link test.
32539 * configure: Regenerated.
32540
8149f976
TS
325412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32542
05f3d1f6
UD
32543 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32544 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32545 conformtest.pl
8149f976 32546
1a4ac776
JM
325472012-03-21 Joseph Myers <joseph@codesourcery.com>
32548
be22ce65
JM
32549 * NOTES: Remove.
32550 * Makefile (files-for-dist): Remove NOTES.
32551 (NOTES): Remove rule.
32552 * README: Don't refer to NOTES.
32553 * manual/creature.texi: Don't include macros.texi.
32554 * manual/intro.texi (creature.texi): Remove comment referring to
32555 NOTES.
32556
40b601fb
JM
32557 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32558 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32559 * configure: Regenerated.
32560 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32561 LIBC_TRY_CC_OPTION.
32562 (libc_cv_as_i686): Likewise.
32563 (libc_cv_cc_avx): Likewise.
32564 (libc_cv_cc_sse2avx): Likewise.
32565 (libc_cv_cc_fma4): Likewise.
32566 (libc_cv_cc_novzeroupper): Likewise.
32567 * sysdeps/i386/configure: Regenerated.
32568
1a4ac776
JM
32569 [BZ #13883]
32570 * sysdeps/i386/fpu/s_cexp.S: Remove.
32571 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32572 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32573 * math/libm-test.inc (cexp_test): Add more tests.
32574 * sysdeps/i386/fpu/libm-test-ulps: Update.
32575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32576
a458e7fe
AM
325772012-03-21 Allan McRae <allan@archlinux.org>
32578
32579 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32580
0cb7efc5
JM
325812012-03-21 Joseph Myers <joseph@codesourcery.com>
32582
32583 [BZ #13871]
32584 * math/w_exp2.c: Do not include <float.h>.
32585 (o_threshold, u_threshold): Remove.
32586 (__exp2): Calculate result before checking finiteness and calling
32587 __kernel_standard.
32588 * math/w_exp2f.c: Likewise.
32589 * math/w_exp2l.c: Likewise.
32590 * math/libm-test.inc (exp2_test): Require overflow exception for
32591 1e6 input.
2460d3aa
JM
32592
32593 [BZ #3866]
32594 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32595 range of signed 64-bit integers before using fistpll. Remove
32596 checks for whether integers fit in mantissa bits.
32597 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32598 the range of signed 32-bit integers before using fistpl. Remove
32599 checks for whether integers fit in mantissa bits.
32600 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32601 (__ieee754_powl): Test for y outside the range of signed 64-bit
32602 integers before using fistpll. Reduce 64-bit values to 63-bit
32603 ones as needed.
32604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32605 divide-by-zero is raised for zero to large negative powers.
32606 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32607 (__ieee754_powl): Test for y outside the range of signed 64-bit
32608 integers before using fistpll. Reduce 64-bit values to 63-bit
32609 ones as needed.
32610 * math/libm-test.inc (pow_test): Add more tests.
32611
eb96ffb0
L
326122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32613
32614 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32615 <stdio-common/_itoa.h>.
32616 * debug/segfault.c: Likewise.
32617 * elf/dl-cache.c: Likewise.
32618 * elf/dl-minimal.c: Likewise.
32619 * elf/dl-misc.c: Likewise.
32620 * elf/dl-sysdep.c: Likewise.
32621 * elf/dl-version.c: Likewise.
32622 * elf/rtld.c: Likewise.
32623 * hurd/hurdsock.c: Likewise.
32624 * hurd/lookup-retry.c: Likewise.
32625 * malloc/malloc.c: Likewise.
32626 * malloc/mtrace.c: Likewise.
32627 * nscd/nscd_getgr_r.c: Likewise.
32628 * nscd/nscd_getpw_r.c: Likewise.
32629 * nscd/nscd_getserv_r.c: Likewise.
32630 * posix/getopt_init.c: Likewise.
32631 * posix/wordexp.c: Likewise.
32632 * stdio-common/_itoa.c: Likewise.
32633 * stdio-common/printf_fphex.c: Likewise.
32634 * stdio-common/vfprintf.c: Likewise.
32635 * string/_strerror.c: Likewise.
32636 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32637 * sysdeps/i386/i686/hp-timing.h: Likewise.
32638 * sysdeps/mach/_strerror.c: Likewise.
32639 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32640 * sysdeps/mach/hurd/sethostid.c: Likewise.
32641 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32642 * sysdeps/mach/xpg-strerror.c: Likewise.
32643 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32644 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32645 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32646 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32647 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32648 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32649 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32650 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32651 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32652 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32653 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32654 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32655 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32656 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32657 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32658 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32659 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32660 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32661 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32662 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32663 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32664
32665 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32666
32667 * stdio-common/_itoa.h: Moved to ...
32668 * sysdeps/generic/_itoa.h: Here.
32669
32670 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32671
32672 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32673 instead of "_itoa.h" and "_itowa.h".
32674 * stdio-common/vfprintf.: Likewise.
32675
d1af992d
L
326762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32677
32678 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32679 <bits/wordsize.h>.
32680 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32681 (__signbit): Likwise.
32682 (llrintf): Likwise.
32683 (llrint): Likwise.
32684
114883e0
L
326852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32686
32687 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32688 __WORDSIZE != 64.
32689
c135cc1b
JM
326902012-03-20 Joseph Myers <joseph@codesourcery.com>
32691
32692 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32693 OVERFLOW_EXCEPTION_OK.
32694 * math/libm-test.inc ("Philosophy"): Update comment about
32695 exception testing.
32696 (OVERFLOW_EXCEPTION): Define.
32697 (OVERFLOW_EXCEPTION_OK): Likewise.
32698 (INVALID_EXCEPTION_OK): Renumber.
32699 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32700 (IGNORE_ZERO_INF_SIGN): Likewise.
32701 (test_exceptions): Handle FE_OVERFLOW.
32702 (exp10_test): Expect overflow exceptions.
32703 (exp2_test): Likewise.
32704 (expm1_test): Likewise.
32705 (nextafter_test): Likewise.
32706 (pow_test): Likewise.
32707 (scalbn_test): Likewise.
32708 (scalbln_test): Likewise.
32709
95443d88
L
327102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32711
32712 * sysdeps/x86_64/bits/atomic.h
32713 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32714 64bit integer.
32715 (atomic_exchange_acq): Likewise.
32716 (__arch_exchange_and_add_body): Likewise.
32717 (__arch_add_body): Likewise.
32718 (atomic_add_negative): Likewise.
32719 (atomic_add_zero): Likewise.
32720
490df6c4
L
327212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32722
c2722551 32723 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32724 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32725
5e52b189
L
327262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32727
32728 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32729 Check __x86_64__ instead of __WORDSIZE.
32730
a9879d4c
L
327312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32732
32733 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32734
5df98260
DM
327352012-03-19 David S. Miller <davem@davemloft.net>
32736
e1497744
DM
32737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32738
5df98260
DM
32739 * sysdeps/sparc/fpu/fenv_private.h: New file.
32740 * sysdeps/sparc/fpu/math_private.h: Use it.
32741 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32742 Remove.
32743 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32744 (libc_feholdexcept_setroundl): Remove.
32745 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32746 Remove.
32747 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32748 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32749
b4c35121
L
327502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32751
32752 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32753 int64_t instead of long int.
32754 (INSERT_WORDS64): Likwise.
32755
56965fd7
L
327562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32757
32758 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32759 _Unwind_GetCFA return to _Unwind_Ptr first.
32760
83d1aec8
JM
327612012-03-19 Joseph Myers <joseph@codesourcery.com>
32762
1897ad44
JM
32763 [BZ #13629]
32764 * math/s_clog.c: Include <float.h>.
32765 (__clog): Scale large or subnormal inputs.
32766 * math/s_clogf.c: Likewise.
32767 * math/s_clogl.c: Likewise.
32768 * math/s_clog10.c: Include <float.h>.
32769 (M_LOG10_2): Define.
32770 (__clog10): Scale large or subnormal inputs.
32771 * math/s_clog10f.c: Likewise.
32772 * math/s_clog10l.c: Likewise.
32773 * math/libm-test.inc (clog_test): Add more tests.
32774 (clog10_test): Likewise.
32775 * sysdeps/i386/fpu/libm-test-ulps: Update.
32776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32777
7726d6a9
JM
32778 [BZ #11451]
32779 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32780 x and y.
32781 * math/libm-test.inc (atan2_test): Add another test.
32782
83d1aec8
JM
32783 * Makerules (common-objdir-compile): Remove.
32784 * sysdeps/unix/Makefile (config-generated): Do not add
32785 $(unix-generated) to variable.
32786 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32787 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32788 Remove rule.
32789 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32790 Likewise.
32791 [generic bits/local_lim.h] (before-compile): Do not append to
32792 variable.
32793 [generic bits/local_lim.h] (common-generated): Likewise.
32794 [generic sys/param.h] (before-compile): Do not append to variable.
32795 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32796 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32797 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32798 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32799 include.
32800 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32801 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32802 [generic sys/param.h] ($(addprefix
32803 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32804 [generic sys/param.h] (common-generated): Do not append to
32805 variable.
32806 [generic sys/param.h] (sysdep_headers): Likewise.
32807 [generic bits/errno.h] (before-compile): Do not append to
32808 variable.
32809 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32810 rule.
32811 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32812 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32813 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32814 [generic bits/errno.h] (common-generated): Do not append to
32815 variable.
32816 [generic bits/ioctls.h] (before-compile): Do not append to
32817 variable.
32818 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32819 rule.
32820 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32821 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32822 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32823 rule.
32824 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32825 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32826 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32827 [generic bits/ioctls.h] (common-generated): Do not append to
32828 variable.
32829 [generic sys/syscall.h] (syscall.h): Remove variable.
32830 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32831 rule.
32832 [generic sys/syscall.h] (before-compile): Do not append to
32833 variable.
32834 [generic sys/syscall.h] (common-generated): Likewise.
32835 * sysdeps/unix/errnos-tmpl.c: Remove file.
32836 * sysdeps/unix/errnos.awk: Likewise.
32837 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32838 * sysdeps/unix/ioctls.awk: Likewise.
32839 * sysdeps/unix/mk-local_lim.c: Likewise.
32840 * sysdeps/unix/snarf-ioctls: Likewise.
32841
4851a949
RH
328422012-03-19 Richard Henderson <rth@twiddle.net>
32843
bd37f2ee
RH
32844 * sysdeps/i386/fpu/fenv_private.h: New file.
32845 * sysdeps/i386/fpu/math_private.h: Use it.
32846 (math_opt_barrier, math_force_eval): Remove.
32847 (libc_feholdexcept_setround_53bit): Remove.
32848 (libc_feupdateenv_53bit): Remove.
32849 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32850 (math_opt_barrier, math_force_eval): Remove.
32851 (libc_feholdexcept): Remove.
32852 (libc_feholdexcept_setround): Remove.
32853 (libc_fetestexcept, libc_fesetenv): Remove.
32854 (libc_feupdateenv_test): Remove.
32855 (libc_feupdateenv, libc_feholdsetround): Remove.
32856 (libc_feresetround): Remove.
32857
d0adc922
RH
32858 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32859 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32860
0fe0f1f8
RH
32861 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32862 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32863 (libc_feupdateenv_testl): New.
32864 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32865 (libc_feupdateenv_testf): New.
32866 (libc_feupdateenv): Use libc_feupdateenv_test.
32867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32868 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32869
eb92c487
RH
32870 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32871 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32872 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32873 (libc_feresetround_noex): New.
32874 (libc_feresetround_noexf): New.
32875 (libc_feresetround_noexl): New.
32876 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32877 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32878 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32879 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32880 SET_RESTORE_ROUND.
32881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32883 (__cos): Likewise.
32884 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32885 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32886 SET_RESTORE_ROUND_NOEX.
32887 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32888 SET_RESTORE_ROUND_NOEXF.
32889 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32890 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32891 (libc_feholdsetroundf): New.
32892 (libc_feresetround, libc_feresetroundf): New.
32893
7d2e8012
RH
32894 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32895 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32896 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32897
b4dabbb4
RH
32898 * sysdeps/generic/math_private.h: Include <fenv.h>.
32899 (default_libc_feholdexcept): New.
32900 (default_libc_feholdexcept_setround): New.
32901 (default_libc_fesetenv, default_libc_feupdateenv): New.
32902 (libc_feholdexcept): Only define if undefined.
32903 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32904 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32905 (libc_feholdexcept_setroundl): Likewise.
32906 (libc_feholdexcept_setround_53bit): Likewise.
32907 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32908 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32909 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32910 (libc_feupdateenv_53bit): Likewise.
32911 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32912 (libc_feholdexcept): Convert from macro to inline function.
32913 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32914 (libc_fesetenv, libc_feupdateenv): Likewise.
32915
4851a949
RH
32916 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32917 not previously defined.
32918 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32919 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32920 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32921 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32922 * sysdeps/ieee754/flt-32/math_private.h: New file.
32923 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32924 math_private.h below SET_FLOAT_WORD.
32925 (__isnan, __isinf_ns, __finite): Remove.
32926 (__isnanf, __isinf_nsf, __finitef): Remove.
32927
e79d442e
AS
329282012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32929
32930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32931
90b80344
DM
329322012-03-17 David S. Miller <davem@davemloft.net>
32933
32934 [BZ #6471]
32935 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32936 for 2.16.
32937
edc21804
DM
329382012-03-16 David S. Miller <davem@davemloft.net>
32939
77e927af
DM
32940 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32941 warnings.
32942
374976dd
DM
32943 [BZ #6471]
32944 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32945 properly.
32946 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32947 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32948 sysdep_routines when subdir is sysvipc.
32949 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32950 __getshmlba helper.
32951
edc21804
DM
32952 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32953
473c3ef3
L
329542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32955
32956 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32957 [__LP64__].
32958
eb0f39b6
L
329592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32960
32961 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32962 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32963 (__lround): Renamed to ...
32964 (__llround): This. Replace long int with long long int.
32965 Define lround functions as aliases of llround functions.
32966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32967
6b6cd74b
L
329682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32969
32970 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32971 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32972 adresses to uintptr_t. Replace "long int" and "unsigned long
32973 int" with "greg_t" on va_arg.
32974
f1a77b01
L
329752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32976
32977 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32978 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32979
32980 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32981 Move e_machine check before EI_CLASS check. Handle x32
32982 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32983 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32984 SKIP_EM_IA_64 and include
32985 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32986
32987 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32988 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32989 (add_system_dir): New macro.
32990
32991 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32992 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32993
11b90b9f
JM
329942012-03-16 Joseph Myers <joseph@codesourcery.com>
32995
c36e1d23
JM
32996 [BZ #2551]
32997 [BZ #2552]
32998 [BZ #2553]
32999 [BZ #2554]
33000 [BZ #2562]
33001 [BZ #2563]
33002 [BZ #2565]
33003 [BZ #2566]
33004 [BZ #2576]
33005 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33006 (y0): Likewise.
33007 * math/w_j0f.c (j0f): Likewise.
33008 (y0f): Likewise.
33009 * math/w_j0l.c (__j0l): Likewise.
33010 (__y0l): Likewise.
33011 * math/w_j1.c (j1): Likewise.
33012 (y1): Likewise.
33013 * math/w_j1f.c (j1f): Likewise.
33014 (y1f): Likewise.
33015 * math/w_j1l.c (__j1l): Likewise.
33016 (__y1l): Likewise.
33017 * math/w_jn.c (jn): Likewise.
33018 (yn): Likewise.
33019 * math/w_jnf.c (jnf): Likewise.
33020 (ynf): Likewise.
33021 * math/w_jnl.c (__jnl): Likewise.
33022 (__ynl): Likewise.
33023 * math/libm-test.inc (j0_test): Add more tests.
33024 (j1_test): Likewise.
33025 (jn_test): Likewise. Add trailing semicolon to existing test.
33026 (y0_test): Likewise.
33027 (y1_test): Likewise.
33028 * sysdeps/i386/fpu/libm-test-ulps: Update.
33029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33030
11b90b9f
JM
33031 [BZ #13851]
33032 [BZ #13854]
33033 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33034 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33035 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33036 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33037 (__tanl): Set errno for infinite argument.
33038 * sysdeps/i386/fpu/mptan.c: Remove.
33039 * sysdeps/i386/fpu/s_tan.S: Likewise.
33040 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33041 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33042 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33043 * math/libm-test.inc (tan_test): Add more tests and enable more
33044 tests for double and long double.
33045 * sysdeps/i386/fpu/libm-test-ulps: Update.
33046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33047
6a1bd2a1
JK
330482012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33049
33050 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33051 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33052
10a803e0
RM
330532012-03-16 Roland McGrath <roland@hack.frob.com>
33054
33055 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33056 * configure.in: Use it for both main tree and add-ons.
33057 * configure: Regenerated.
33058
f196c7f7
L
330592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33060
33061 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33062
8848d99d
JM
330632012-03-16 Joseph Myers <joseph@codesourcery.com>
33064
96cbe7f4
JM
33065 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33066 in comment.
33067
8848d99d
JM
33068 [BZ #13851]
33069 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33070 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33074 infinite argument.
33075 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33077 != 0 for prec == 2.
33078 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33079 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33080 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33081 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33082 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33083 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33084 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33085 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33086 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33087 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33088 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33089 * math/libm-test.inc (cos_test): Add more tests and enable more
33090 tests for long double.
33091 (sin_test): Likewise.
33092 (sincos_test): Likewise.
33093 * sysdeps/i386/fpu/libm-test-ulps: Update.
33094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33095
dd7f4703
DM
330962012-03-16 David S. Miller <davem@davemloft.net>
33097
33098 * sysdeps/sparc/fpu/math_private.h: New file.
33099
006f1daa
DM
331002012-03-15 David S. Miller <davem@davemloft.net>
33101
c0c83bc8
DM
33102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33103 file.
e6a62e18 33104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33106 file.
e6a62e18
DM
33107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33113 sysdep routines.
33114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33115
88cb87d9
DM
33116 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33117 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33118
006f1daa 33119 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33121 sparc-ifunc.h
006f1daa 33122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33124 Likewise.
33125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33126 Likewise.
006f1daa
DM
33127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33131 Likewise.
006f1daa
DM
33132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33137 Likewise.
33138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33139 Likewise.
006f1daa
DM
33140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33146 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33164
11e0098e
AS
331652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33166
33167 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33168 scaling.
33169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33170
e85b09d0
AJ
331712012-03-15 Andreas Jaeger <aj@suse.de>
33172
33173 [BZ #13852]
33174 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33175 ieee754/flt-32 implementation for sin, cos and sincos.
33176 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33177 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33178 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33179 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33180 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33181 ieee754/flt-32 implementation for tan.
33182
33183 * math/libm-test.inc (cos_test): Enable some large input tests for
33184 float as well
33185 (sin_test): Likewise.
33186 (sincos_test): Likewise.
33187 (tan_test): Add tests for large input.
33188
33189 * sysdeps/i386/fpu/libm-test-ulps: Update.
33190
81c64153
AJ
331912012-03-15 Andreas Jaeger <aj@suse.de>
33192
33193 [BZ #13658]
33194 * math/libm-test.inc (cos_test): Add more test cases.
33195 (sin_test): Likewise.
33196 (sincos_test): Likewise.
33197
7bbfa5c6
AJ
331982012-03-15 Andreas Jaeger <aj@suse.de>
33199
33200 [BZ #13837]
33201 * math/libm-test.inc (cos_test): Add a test case for large input
33202 value.
33203 (sin_test): Likewise.
33204 (sincos_test): Likewise.
33205
332062012-03-15 Andreas Jaeger <aj@suse.de>,
33207 Joseph Myers <joseph@codesourcery.com>
33208
33209 [BZ #13658]
0671f479 33210 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33211 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33212 * sysdeps/i386/fpu/branred.c: Likewise.
33213 * sysdeps/i386/fpu/dosincos.c: Likewise.
33214 * sysdeps/i386/fpu/mpa.c: Likewise.
33215 * sysdeps/i386/fpu/s_cos.S: Likewise.
33216 * sysdeps/i386/fpu/s_sin.S: Likewise.
33217 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33218 * sysdeps/i386/fpu/sincos32.c: Likewise.
33219
33220 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33221 Define.
33222 (libc_feupdateenv_53bit): Define.
33223 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33224 Define.
33225 (libc_feupdateenv_53bit): Define.
33226
33227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33228 53 bit (without extend i386 double precision).
33229
33230 * math/libm-test.inc (sincos_test): Add tests for large input.
33231 (sin): Likewise.
33232 (cos): Likewise.
33233
33234 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33235
9cad04ea
AS
332362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33237
33238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33239
f7062b9a
DM
332402012-03-15 David S. Miller <davem@davemloft.net>
33241
33242 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33243 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33244 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33258 file.
f7062b9a 33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33261 file.
f7062b9a 33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33264 file.
f7062b9a 33265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33267 file.
f7062b9a
DM
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33270 fmin/fmax sysdep routines.
33271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33272
7bd951ff
DM
332732012-03-14 David S. Miller <davem@davemloft.net>
33274
559398ab
DM
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33304 routines.
33305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33306 file.
559398ab 33307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33309 file.
559398ab 33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33312 file.
559398ab 33313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33315 file.
559398ab 33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33318 file.
559398ab 33319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33321 file.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33323 file.
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33325 file.
33326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33327 file.
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33329 New file.
33330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33331 file.
33332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33333 file.
559398ab 33334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33336 file.
559398ab 33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33339 file.
559398ab 33340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33342 file.
559398ab 33343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33345 VIS3 routines.
559398ab
DM
33346
33347 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33348 New file.
33349
5a1c1e32
DM
33350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33351
eae47a36
DM
33352 * sysdeps/sparc/configure.in: New file.
33353 * sysdeps/sparc/configure: Generate.
33354 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33355 * configure: Regenerate.
33356 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33357 * config.make.in (have-as-vis3): New.
33358 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33359 available use -Av9d instead of -Av9a.
33360 * sysdeps/sparc/sparc64/Makefile: Likewise.
33361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33363 New file.
33364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33365 file.
33366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33367 New file.
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33369 file.
eae47a36
DM
33370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33375
c0c83bc8
DM
33376 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33377 fzeros/fnegs to load 0x80000000 into a float register instead of
33378 using the stack.
7bd951ff
DM
33379 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33380
bd951ccb
JM
333812012-03-14 Joseph Myers <joseph@codesourcery.com>
33382
33383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33384 bits/syscall.h.
33385 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33386 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33387 ($(inst_includedir)/bits/syscall.h): Remove rule.
33388 ($(objpfx)bits/syscall.d): Include instead of
33389 $(objpfx)syscall-list.d.
33390 (generated): Change syscall-list.h and syscall-list.d to
33391 bits/syscall.h and bits/syscall.d.
33392
bb4e6db2
RM
333932012-03-14 Roland McGrath <roland@hack.frob.com>
33394
33395 [BZ #13846]
33396 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33397
aa4a2ae1
JM
333982012-03-14 Joseph Myers <joseph@codesourcery.com>
33399
e456826d
JM
33400 [BZ #13841]
33401 * math/s_csqrt.c: Include <float.h>.
33402 (__csqrt): Scale large or subnormal inputs.
33403 * math/s_csqrtf.c: Likewise.
33404 * math/s_csqrtl.c: Likewise.
33405 * math/libm-test.inc (csqrt_test): Add more tests.
33406 * sysdeps/i386/fpu/libm-test-ulps: Update.
33407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33408
aa4a2ae1
JM
33409 [BZ #13840]
33410 * math/libm-test.inc (hypot_test): Add more tests.
33411
7c10fd35
DM
334122012-03-13 David S. Miller <davem@davemloft.net>
33413
33414 [BZ #13840]
33415 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33416 double-precision for the calculation instead of scaling.
33417
f453b98b
JM
334182012-03-13 Joseph Myers <joseph@codesourcery.com>
33419
33420 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33421 manipulate bits before adding and subtracting TWO52[sx].
33422 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33423 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33424 Likewise.
33425 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33426
09a3453f
DM
334272012-03-13 David S. Miller <davem@davemloft.net>
33428
8e59da90
DM
33429 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33430 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33432 rtld-global-offsets.h
33433 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33434
2a8ab7f2
DM
33435 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33436 large parameters.
33437
10f62770
DM
33438 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33439
5f0bdb18
DM
33440 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33441 'err' in the ifdef scope in which it is actually used.
33442
09a3453f
DM
33443 * nss/nss_db/db-init.c: Include string.h
33444
b4b2eb5e
DM
334452012-03-12 David S. Miller <davem@davemloft.net>
33446
98bb2f1c
DM
33447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33448 masking out of the most significant byte of random value used.
33449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33450 Fix coding style in previous change.
33451
b4b2eb5e
DM
33452 * sysdeps/unix/sysv/linux/kernel-features.h
33453 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33454 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33455 expression.
33456 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33457 later.
33458
6e226b09
DM
334592012-03-11 David S. Miller <davem@davemloft.net>
33460
a1bcbd40
DM
33461 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33462 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33463 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33464 for 'resultvar' otherwise things get truncated on 64-bit.
33465
cb9d6174
DM
33466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33467 Fix masking out of the most significant byte of random value used.
33468
6e226b09
DM
33469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33470
058c132d
AS
334712012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33472
33473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33474
2d2cd515
DM
334752012-03-09 David S. Miller <davem@davemloft.net>
33476
33477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33478 variables with appropriate CPP guards.
33479 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33480 frame pointer, not the stack pointer. Correct layout comments. Fix test
33481 on resulting framesize and the management of the outregs buffer for pltexit.
33482 Preserve floating point return values across _dl_call_pltexit call.
33483 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33484 framesize and the management of the outregs buffer for pltexit.
33485 Preserve floating point return values across _dl_call_pltexit
33486 call.
33487 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33488 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33489 (print_exit): Fix format string for return register value.
33490
9a07f9d0
JM
334912012-03-10 Joseph Myers <joseph@codesourcery.com>
33492
33493 * sunrpc/Makefile (others): Add rpcgen.
33494 ($(objpfx)rpcgen): Remove special build rule and dependency on
33495 libc.
33496 * sunrpc/rpcgen.c: New file.
33497
547b5e30
PE
334982012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33499
c524201a
PE
33500 [BZ #13673]
33501 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33502 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33503 * sysdeps/i386/crti.S: Likewise.
33504 * sysdeps/i386/crtn.S: Likewise.
33505 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33506 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33507 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33508 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33509 * sysdeps/sh/crti.S: Likewise.
33510 * sysdeps/sh/crtn.S: Likewise.
33511 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33512
7b6235f2
PE
33513 [BZ #13673]
33514 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33515 with URL.
33516 * locale/programs/locfile-kw.gperf: Likewise.
33517 * locale/programs/charmap-kw.h: Regenerated.
33518 * locale/programs/locfile-kw.h: Likewise.
33519
547b5e30
PE
33520 [BZ #13673]
33521 * intl/plural.y: Replace FSF snail mail address with URL.
33522 * intl/plural.c: Regenerated.
33523
5f0a5dae
RH
335242012-03-09 Richard Henderson <rth@twiddle.net>
33525
33526 * include/math_private.h: Remove file.
33527 * math/math_private.h: Move file ...
33528 * sysdeps/generic/math_private.h: ... here.
33529
b8c03620
RH
33530 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33531 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33532 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33533
4e234f5d 33534 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33535 and <math_private.h>.
33536 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33537 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33538 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33539 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33540 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33595 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33596 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33608 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33624 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33625 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33628 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33630 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33632 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33633 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33634 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33636 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33637 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33638 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33639 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33640 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33641 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33642 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33643 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33644 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33645 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33646 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33647 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33648 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33649 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33650 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33651 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33652 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33653 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33654 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33655 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33656 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33657 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33658 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33659 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33660 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33661 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33662 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33663 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33664 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33665 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33666 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33667 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33668 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33669 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33670 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33671 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33672 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33673 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33674 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33675 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33676 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33677 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33678 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33679 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33680 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33681 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33682 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33683 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33684 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33685 * sysdeps/ieee754/k_standard.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33801 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33805 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33806 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33808 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33818 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33830 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33834 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33835 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33836 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33846 * sysdeps/ieee754/s_lib_version.c: Likewise.
33847 * sysdeps/ieee754/s_matherr.c: Likewise.
33848 * sysdeps/ieee754/s_signgam.c: Likewise.
33849 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33850 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33851 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33852 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33853 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33854 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33855 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33856 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33857 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33858 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33859 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33860 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33861 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33862 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33863 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33864 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33865 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33866 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33867 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33870
1991fa03
JM
338712012-03-09 Joseph Myers <joseph@codesourcery.com>
33872
33873 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33874 * sunrpc/rpc_main.c: Likewise.
33875 * sunrpc/rpc_svcout.c: Likewise.
33876
60d6f5a6
DM
338772012-03-09 David S. Miller <davem@davemloft.net>
33878
33879 * include/math_private.h: New file.
33880
4962050e
JM
338812012-03-09 Joseph Myers <joseph@codesourcery.com>
33882
02a6f887
JM
33883 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33884 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33885 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33886 from <bits/socket_type.h>.
33887 (enum __socket_type): Don't define here.
33888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33890 bits/socket_type.h.
33891
c6e013c1
JM
33892 [BZ #13566]
33893 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33894 checking __USE_GNU.
33895
4962050e
JM
33896 * Makerules ($(inst_includedir)/%.h): New rule.
33897 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33898 (install-others): Remove variable setting.
33899 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33900
38842f45
RH
339012012-03-08 Richard Henderson <rth@twiddle.net>
33902
67bb6da6
RH
33903 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33904 from macro to inline function; merge with the
33905 !__LIBC_INTERNAL_MATH_INLINES version.
33906 (__ieee754_sqrtf): Likewise.
33907
15194b4b
RH
33908 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33909 to inline function.
33910 (__rintf, __floor, __floorf): Likewise.
33911
64e21ede
RH
33912 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33913 macro to inline function.
33914 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33915
38842f45
RH
33916 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33917 not <math/math_private.h>.
33918
c64bf5fe
DM
339192012-03-08 David S. Miller <davem@davemloft.net>
33920
33921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33922 copyright year.
33923 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33924
82d86f28
TS
339252012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33926
33927 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33928 normalization.
33929 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33930 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33931
aea5d727
UD
339322012-03-08 Ulrich Drepper <drepper@gmail.com>
33933
33934 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33935 be defined individually, they must be defined as a block. Define
33936 S for printing a string instead of hidint the different by using a
33937 macro for adding the 'l'.
33938 * stdio-common/tst-fphex-wide.c: Adjust.
33939
70bca0a3
MP
339402012-03-07 Marek Polacek <polacek@redhat.com>
33941
33942 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33943
65b81130
MP
339442012-03-08 Marek Polacek <polacek@redhat.com>
33945
33946 [BZ #13806]
33947 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33948 * stdio-common/tst-fphex.c: Define a few macros to make the
33949 test reusable. Use them.
33950 * stdio-common/tst-fphex-wide.c: New file.
33951
07037eeb
JM
339522012-03-08 Joseph Myers <joseph@codesourcery.com>
33953
a7a93d50
JM
33954 [BZ #6911]
33955 * manual/macros.texi (gnusystems): New macro.
33956 (nongnusystems): Likewise.
33957 (gnulinuxhurdsystems): Likewise.
33958 (gnuhurdsystems): Likewise..
33959 (gnulinuxsystems): Likewise.
33960 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33961 variants of the GNU system, not "GNU system".
33962 * manual/conf.texi: Likewise.
33963 * manual/errno.texi: Likewise. Update example of errno macro
33964 expansion.
33965 * manual/filesys.texi: Likewise.
33966 (getumask): Document as specific to GNU/Hurd.
33967 * manual/install.texi: Likewise. Reword some references to
33968 GNU/Linux.
33969 * manual/intro.texi: Likewise.
33970 * manual/io.texi: Likewise.
33971 (File Name Portability): Detail which constraints are inapplicable
33972 to all GNU systems and which are only inapplicable to GNU/Hurd.
33973 * manual/job.texi: Likewise.
33974 * manual/llio.texi: Likewise.
33975 (O_NOCTTY): Document as present on GNU/Linux.
33976 * manual/maint.texi: Likewise.
33977 * manual/memory.texi: Likewise.
33978 * manual/pattern.texi: Likewise.
33979 * manual/pipe.texi: Likewise.
33980 * manual/process.texi: Likewise.
33981 * manual/resource.texi: Likewise.
33982 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33983 child on GNU/Hurd.
33984 * manual/setjmp.texi: Likewise.
33985 * manual/signal.texi: Likewise.
33986 * manual/startup.texi: Likewise.
33987 * manual/stdio.texi: Likewise.
33988 * manual/terminal.texi: Likewise.
33989 (ONLCR): Document as POSIX.
33990 (OXTABS): Document availability on GNU/Linux as XTABS.
33991 (ONOEOT): Document availability separately from other bits.
33992 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33993 * manual/time.texi: Likewise.
33994 * manual/users.texi: Likewise.
33995 * INSTALL: Regenerated.
33996 * sysdeps/gnu/errlist.c: Regenerated.
33997
07037eeb
JM
33998 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33999 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34000 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34001 puts.
34002 * configure: Regenerated.
34003
d1d3431a
JM
340042012-03-07 Joseph Myers <joseph@codesourcery.com>
34005
af6a1e37
JM
34006 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34007 default includes instead of AC_HEADER_CHECK.
34008 * sysdeps/i386/configure: Regenerated.
34009
d1d3431a
JM
34010 [BZ #10716]
34011 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34012 * math/s_cacoshf.c (__cacoshf): Likewise.
34013 * math/s_cacoshl.c (__cacoshl): Likewise.
34014 * math/s_casinh.c (__casinh): Set signs of result from argument.
34015 * math/s_casinhf.c (__casinhf): Likewise.
34016 * math/s_casinhl.c (__casinhl): Likewise.
34017 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34018 (casinh_test): Add more tests.
34019 * sysdeps/i386/fpu/libm-test-ulps: Update.
34020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34021
482ff4da
UD
340222012-03-07 Ulrich Drepper <drepper@gmail.com>
34023
872fda05
UD
34024 * po/zh_TW.po: Update from translation team.
34025
a4300c7a
UD
34026 * login/Makefile (distribute): Remove variable.
34027 * catgets/Makefile: Likewise.
34028 * mach/Makefile: Likewise.
34029 * malloc/Makefile: Likewise.
34030 * misc/Makefile: Likewise.
34031 * iconv/Makefile: Likewise.
34032 * nscd/Makefile: Likewise.
34033 * hurd/Makefile: Likewise.
34034 * manual/Makefile: Likewise.
34035 * locale/Makefile: Likewise.
34036 * intl/Makefile: Likewise.
34037 * conform/Makefile: Likewise.
34038 * nss/Makefile: Likewise.
34039 * time/Makefile: Likewise.
34040 * soft-fp/Makefile: Likewise.
34041 * dirent/Makefile: Likewise.
34042 * gmon/Makefile: Likewise.
34043 * po/Makefile: Likewise.
34044 * rt/Makefile: Likewise.
34045 * socket/Makefile: Likewise.
34046 * math/Makefile: Likewise.
34047 * signal/Makefile: Likewise.
34048 * debug/Makefile: Likewise.
34049 * elf/Makefile: Likewise.
34050 * timezone/Makefile: Likewise.
34051 * stdlib/Makefile: Likewise.
34052 * iconvdata/Makefile: Likewise.
34053 * sunrpc/Makefile: Likewise.
34054 * io/Makefile: Likewise.
34055 * argp/Makefile: Likewise.
34056 * inet/Makefile: Likewise.
34057 * hesiod/Makefile: Likewise.
34058 * grp/Makefile: Likewise.
34059 * csu/Makefile: Likewise.
34060 * wctype/Makefile: Likewise.
34061 * crypt/Makefile: Likewise.
34062 * libio/Makefile: Likewise.
34063 * string/Makefile: Likewise.
34064 * nis/Makefile: Likewise.
34065 * resolv/Makefile: Likewise.
34066 * stdio-common/Makefile: Likewise.
34067 * wcsmbs/Makefile: Likewise.
34068 * dlfcn/Makefile: Likewise.
34069 * posix/Makefile: Likewise.
34070
3b7c4e74 34071 [BZ #6959]
482ff4da
UD
34072 * timezone/Makefile: Don't install timezone files, just the programs
34073 and scripts.
34074
f72ed77d
UD
340752012-03-06 Ulrich Drepper <drepper@gmail.com>
34076
a000466f
UD
34077 * nss/databases.def: Add missing gshadow entry.
34078
f72ed77d
UD
34079 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34080
a53b7a4e
MP
340812012-03-06 Marek Polacek <polacek@redhat.com>
34082
34083 [BZ #13726]
34084 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34085 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34086 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34087 * stdio-common/tst-long-dbl-fphex.c: New file.
34088
e9258400
DM
340892012-03-06 David S. Miller <davem@davemloft.net>
34090
34091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34092 (set_obp_int): New function.
34093 (get_obp_int): New function.
34094 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34095 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34096 Avoid unused variable warnings on 'val' and use builtin_expect.
34097 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34098 __builtin_expect.
e9258400
DM
34099 (INLINE_CLONE_SYSCALL): Likewise.
34100
3bd2c723
DM
341012012-03-05 David S. Miller <davem@davemloft.net>
34102
34103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34104
bbb78d03
AS
341052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34106
884c5db4
AS
34107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34108
bbb78d03
AS
34109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34110 only for |x| >= 40.
34111 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34112
1c9f702a 341132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34114
34115 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34116 Replace gettimeofday with __vdso_gettimeofday.
34117
7be16f82
RM
34118 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34119 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34120 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34121
34122 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34123 time with __vdso_time.
34124
ed58a00f
JM
341252012-03-05 Joseph Myers <joseph@codesourcery.com>
34126
34127 * manual/lang.texi (size_t): Note types to which size_t may be
34128 equivalent with the GNU C Library, but do not describe when
34129 differences between them are significant.
34130
30ee4ced
AJ
341312012-03-05 Andreas Jaeger <aj@suse.de>
34132
34133 * sysdeps/i386/fpu/libm-test-ulps: Update.
34134
b7cd39e8
JM
341352012-03-05 Joseph Myers <joseph@codesourcery.com>
34136
34137 [BZ #3976]
34138 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34139 (__ieee754_pow): Save and restore rounding mode and use
34140 round-to-nearest for main computations.
34141 * math/libm-test.inc (pow_test_tonearest): New function.
34142 (pow_test_towardzero): Likewise.
34143 (pow_test_downward): Likewise.
34144 (pow_test_upward): Likewise.
34145 (main): Call the new functions.
34146 * sysdeps/i386/fpu/libm-test-ulps: Update.
34147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34148
34149 [BZ #3976]
34150 * math/libm-test.inc (cosh_test_tonearest): New function.
34151 (cosh_test_towardzero): Likewise.
34152 (cosh_test_downward): Likewise.
34153 (cosh_test_upward): Likewise.
34154 (sinh_test_tonearest): Likewise.
34155 (sinh_test_towardzero): Likewise.
34156 (sinh_test_downward): Likewise.
34157 (sinh_test_upward): Likewise.
34158 (main): Call the new functions.
34159 * sysdeps/i386/fpu/libm-test-ulps: Update.
34160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34161
6c6a98c9
TV
341622012-03-05 Tom de Vries <tom@codesourcery.com>
34163
34164 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34165 default stack guard is set in last bytes.
34166 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34167
21bb2d2e 341682012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34169
21bb2d2e 34170 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34171
21bb2d2e
AJ
34172 [BZ #13656]
34173 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34174 possibly allocate from heap instead of stack.
34175 * stdio-common/bug-vfprintf-nargs.c: New file.
34176 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34177
c6922934
AS
341782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34179
34180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34181
bc957d53
MP
341822012-03-03 Marek Polacek <polacek@redhat.com>
34183
34184 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34185 * math/math_private.h: Likewise.
34186 * stdlib/tst-strtod.c: Likewise.
34187 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34188 * sysdeps/x86_64/bits/atomic.h: Likewise.
34189
6358490d
DM
341902012-03-02 David S. Miller <davem@davemloft.net>
34191
34192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34196 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34197 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34198 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34199 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34200
01ae168d
RM
342012012-03-02 Roland McGrath <roland@hack.frob.com>
34202
d9a17c07
RM
34203 [BZ #13792]
34204 * manual/examples/README: New file, says the example source files
34205 can be used under GPL>=2.
34206 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34207 line containing just "*/".
34208 * manual/examples/add.c: Add copyright header (GPL>=2).
34209 * manual/examples/argp-ex1.c: Likewise.
34210 * manual/examples/argp-ex2.c: Likewise.
34211 * manual/examples/argp-ex3.c: Likewise.
34212 * manual/examples/argp-ex4.c: Likewise.
34213 * manual/examples/atexit.c: Likewise.
34214 * manual/examples/db.c: Likewise.
34215 * manual/examples/dir.c: Likewise.
34216 * manual/examples/dir2.c: Likewise.
34217 * manual/examples/execinfo.c: Likewise.
34218 * manual/examples/filecli.c: Likewise.
34219 * manual/examples/filesrv.c: Likewise.
34220 * manual/examples/fmtmsgexpl.c: Likewise.
34221 * manual/examples/genpass.c: Likewise.
34222 * manual/examples/inetcli.c: Likewise.
34223 * manual/examples/inetsrv.c: Likewise.
34224 * manual/examples/isockad.c: Likewise.
34225 * manual/examples/longopt.c: Likewise.
34226 * manual/examples/memopen.c: Likewise.
34227 * manual/examples/memstrm.c: Likewise.
34228 * manual/examples/mkfsock.c: Likewise.
34229 * manual/examples/mkisock.c: Likewise.
34230 * manual/examples/mygetpass.c: Likewise.
34231 * manual/examples/pipe.c: Likewise.
34232 * manual/examples/popen.c: Likewise.
34233 * manual/examples/rprintf.c: Likewise.
34234 * manual/examples/search.c: Likewise.
34235 * manual/examples/select.c: Likewise.
34236 * manual/examples/setjmp.c: Likewise.
34237 * manual/examples/sigh1.c: Likewise.
34238 * manual/examples/sigusr.c: Likewise.
34239 * manual/examples/stpcpy.c: Likewise.
34240 * manual/examples/strdupa.c: Likewise.
34241 * manual/examples/strftim.c: Likewise.
34242 * manual/examples/strncat.c: Likewise.
34243 * manual/examples/subopt.c: Likewise.
34244 * manual/examples/swapcontext.c: Likewise.
34245 * manual/examples/termios.c: Likewise.
34246 * manual/examples/testopt.c: Likewise.
34247 * manual/examples/testpass.c: Likewise.
34248 * manual/examples/timeval_subtract.c: Likewise.
34249
01ae168d
RM
34250 [BZ #13792]
34251 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34252 function to ...
34253 * manual/timeval_subtract.c.texi: ... here, new file.
34254
49efa33d
DM
342552012-03-02 David S. Miller <davem@davemloft.net>
34256
34257 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34258
28afd92d
JM
342592012-03-02 Joseph Myers <joseph@codesourcery.com>
34260
804360ed
JM
34261 [BZ #3976]
34262 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34263 (__sin): Save and restore rounding mode and use round-to-nearest
34264 for all computations.
34265 (__cos): Save and restore rounding mode and use round-to-nearest
34266 for all computations.
34267 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34268 <fenv.h>.
34269 (tan): Save and restore rounding mode and use round-to-nearest for
34270 all computations.
34271 * math/libm-test.inc (cos_test_tonearest): New function.
34272 (cos_test_towardzero): Likewise.
34273 (cos_test_downward): Likewise.
34274 (cos_test_upward): Likewise.
34275 (sin_test_tonearest): Likewise.
34276 (sin_test_towardzero): Likewise.
34277 (sin_test_downward): Likewise.
34278 (sin_test_upward): Likewise.
34279 (tan_test_tonearest): Likewise.
34280 (tan_test_towardzero): Likewise.
34281 (tan_test_downward): Likewise.
34282 (tan_test_upward): Likewise.
34283 (main): Call the new functions.
34284 * sysdeps/i386/fpu/libm-test-ulps: Update.
34285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34286
a6d06d7b
JM
34287 [BZ #10135]
34288 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34289 small n, then large n, before computing and testing k+n.
34290 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34292 Likewise.
34293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34294 Likewise.
34295 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34296 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34298 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34299 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34300 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34303 * math/libm-test.inc (scalbn_test): Add more tests.
34304 (scalbln_test): Likewise.
34305
07e12bb3
JM
34306 * manual/filesys.texi (mode_t): Describe constraints on size and
34307 signedness, not exact equivalence to a particular type.
34308 (ino_t): Likewise.
34309 (ino64_t): Likewise.
34310 (dev_t): Likewise.
34311 (nlink_t): Likewise.
34312 (blkcnt_t): Likewise.
34313 (blkcnt64_t): Likewise.
34314 * manual/llio.texi (off_t): Likewise.
34315
28afd92d
JM
34316 [BZ #3976]
34317 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34318 (__ieee754_exp): Save and restore rounding mode and use
34319 round-to-nearest for all computations.
34320 * math/libm-test.inc (exp_test_tonearest): New function.
34321 (exp_test_towardzero): Likewise.
34322 (exp_test_downward): Likewise.
34323 (exp_test_upward): Likewise.
34324 (main): Call the new functions.
34325 * sysdeps/i386/fpu/libm-test-ulps: Update.
34326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34327
b1eeb65d
CD
343282012-03-01 Chris Demetriou <cgd@google.com>
34329
34330 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34331 have predictable order.
34332
53362a4b
DM
343332012-03-01 David S. Miller <davem@davemloft.net>
34334
3c969083
DM
34335 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34336
759707de
DM
34337 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34338 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34339 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34340 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34341
dfdb8ff2
DM
34342 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34343 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34344 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34346 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34347 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34348 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34349 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34350 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34351
ead89f96
DM
34352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34353
7f66bd07
DM
34354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34355 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34356 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34357
53362a4b
DM
34358 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34359 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34360 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34361 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34362 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34363 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34365 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34366 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34367 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34368 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34369 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34371 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34372 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34374 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34375 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34376 * sysdeps/sparc/elf/configure: Regenerated.
34377
7b1902cb
JM
343782012-03-01 Joseph Myers <joseph@codesourcery.com>
34379
bec039bc
JM
34380 * configure.in (AS, LD): Require binutils 2.20 or later.
34381 * configure: Regenerated.
34382 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34383 as required minimum version.
34384 * INSTALL: Regenerated.
34385
7b1902cb
JM
34386 [BZ #2541]
34387 [BZ #4108]
34388 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34389 before squaring exponent.
34390 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34391 bottom long double and 27 bits of top long double before squaring
34392 exponent.
34393 * math/libm-test.inc (erfc_test): Add more tests.
34394 * sysdeps/i386/fpu/libm-test-ulps: Update.
34395 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34397
f775c276
KT
343982012-03-01 Kai Tietz <ktietz@redhat.com>
34399
34400 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34401 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34402 containing bit-fields.
34403 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34404 * soft-fp/single.h (_FP_UNION_S): Likewise.
34405 * soft-fp/double.h (_FP_UNION_D): Likewise.
34406
5b8a4d4a
JM
344072012-02-29 Joseph Myers <joseph@codesourcery.com>
34408
0bab47b6
JM
34409 [BZ #13786]
34410 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34411 not include ../strcmp.S.
34412 [USE_AS_STRNCASECMP_L]: Likewise.
34413 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34414 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34415 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34416 (__strncasecmp_l_ia32): Define as alias to
34417 __strncasecmp_l_nonascii.
34418
0fcad3e2
JM
34419 [BZ #5794]
34420 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34421 * sysdeps/i386/fpu/libm-test-ulps: Update.
34422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34423
5b8a4d4a
JM
34424 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34426
8fdceb2e
JL
344272012-02-29 Jeff Law <law@redhat.com>
34428
34429 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34430 out of bounds read.
34431
1f393a11
MP
344322012-02-29 Marek Polacek <polacek@redhat.com>
34433
34434 [BZ #13706]
34435 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34436 * elf/Makefile: Add rules to run tst-unused-dep.out.
34437
8847f037
DM
344382012-02-28 David S. Miller <davem@davemloft.net>
34439
34440 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34441 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34442 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34444 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34445 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34446
169d7f11
JM
344472012-02-29 Joseph Myers <joseph@codesourcery.com>
34448
34449 * math/libm-test.inc (llround_test): Move one test from
34450 lround_test. Use TEST_f_L in moved test.
34451 (lround_test): Move misplaced test to llround_test. Add testcase
34452 from bug 2561.
34453
39adf059
UD
344542012-02-28 Ulrich Drepper <drepper@gmail.com>
34455
34456 * sysdeps/x86_64/fpu/e_expf.S: New file.
34457 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34458
71b5d1c5
SB
344592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34460
34461 [BZ #13637]
34462 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34463 of remain_len that may cause incomplete multi-byte character and
34464 false match.
34465 * posix/bug-regex33.c: New file.
34466 * posix/Makefile (tests): Add bug-regex33.
34467
1f77f049
JM
344682012-02-28 Joseph Myers <joseph@codesourcery.com>
34469
34470 * manual/macros.texi: New file.
34471 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34472 * manual/libc.texinfo: Include macros.texi.
34473 * manual/creatute.texi: Likewise.
34474 * manual/install.texi: Likewise.
34475 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34476 @glibcadj{} in references to the GNU C Library.
34477 * manual/charset.texi: Likewise.
34478 * manual/conf.texi: Likewise.
34479 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34480 when not using those macros.
34481 * manual/creature.texi: Likewise.
34482 * manual/crypt.texi: Likewise.
34483 * manual/errno.texi: Likewise.
34484 * manual/filesys.texi: Likewise.
34485 * manual/header.texi: Likewise.
34486 * manual/install.texi: Likewise.
34487 * manual/intro.texi: Likewise.
34488 * manual/io.texi: Likewise.
34489 * manual/job.texi: Likewise.
34490 * manual/lang.texi: Likewise.
34491 * manual/libc.texiinfo: Likewise.
34492 * manual/llio.texi: Likewise.
34493 * manual/locale.texi: Likewise.
34494 * manual/maint.texi: Likewise.
34495 * manual/math.texi: Likewise.
34496 * manual/memory.texi: Likewise.
34497 * manual/message.texi: Likewise.
34498 * manual/nss.texi: Likewise.
34499 * manual/pattern.texi: Likewise.
34500 * manual/process.texi: Likewise.
34501 * manual/resource.texi: Likewise.
34502 * manual/search.texi: Likewise.
34503 * manual/setjmp.texi: Likewise.
34504 * manual/signal.texi: Likewise.
34505 * manual/socket.texi: Likewise.
34506 * manual/startup.texi: Likewise.
34507 * manual/stdio.texi: Likewise.
34508 * manual/string.texi: Likewise.
34509 * manual/sysinfo.texi: Likewise.
34510 * manual/syslog.texi: Likewise.
34511 * manual/terminal.texi: Likewise.
34512 * manual/time.texi: Likewise.
34513 * manual/users.texi: Likewise.
34514 * INSTALL: Regenerated.
34515 * NOTES: Regenerated.
d40c5d54 34516 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34517
450bf206
AS
345182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34519
34520 * include/dirent.h: Include <dirstream.h> before
34521 <dirent/dirent.h>.
34522
741a235b
DM
345232012-02-28 David S. Miller <davem@davemloft.net>
34524
34525 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34526 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34527 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34528 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34529
d6b5aa58
DM
345302012-02-27 David S. Miller <davem@davemloft.net>
34531
1aff59a3
DM
34532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34534 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34535 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34536
d6b5aa58
DM
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34538 frame pointer instead of stack pointer relative arg slot.
34539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34540 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34541 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34542
433f48bf
CD
345432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34544
34545 [BZ #3992]
34546 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34547
d674b76d
DM
345482012-02-27 David S. Miller <davem@davemloft.net>
34549
34550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34554 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34555 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34556 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34557 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34558
0e7727f7
JM
345592012-02-27 Joseph Myers <joseph@codesourcery.com>
34560
34561 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34562 later. Allow versions 5-9.
43be4ca2 34563 * configure: Regenerated.
0e7727f7
JM
34564 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34565 required minimum version and 4.6 as recommended version. Do not
34566 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34567 * INSTALL: Regenerated.
0e7727f7 34568
a78bc654
DM
345692012-02-27 David S. Miller <davem@davemloft.net>
34570
428d5830
DM
34571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34575 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34576 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34577 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34578 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34579
a78bc654
DM
34580 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34581 manipulate bits before adding and subtracting TWO112[sx].
34582 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34583
4579f81c
RM
345842012-02-27 Roland McGrath <roland@hack.frob.com>
34585
36c8acb4
RM
34586 [BZ #13775]
34587 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34588 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34589 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34590 being in POSIX, because they are in 1003.1-2008.
34591
84ad622b
RM
34592 * rt/tst-aio.c: Include <fcntl.h>.
34593 * rt/tst-aio7.c: Likewise.
34594 * rt/tst-aio64.c: Likewise.
34595
4579f81c
RM
34596 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34597
abd923db
JM
345982012-02-27 Joseph Myers <joseph@codesourcery.com>
34599
34600 * manual/install.texi (--with-headers): Describe headers as
34601 interface headers, not private headers.
34602 (Specific advice for GNU/Linux systems): Describe use of headers
34603 from "make headers_install", not private headers from older
34604 kernels.
43be4ca2 34605 * INSTALL: Regenerated.
abd923db
JM
34606 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34607 Change to 2.6.19.
34608 * sysdeps/unix/sysv/linux/configure: Regenerated.
34609
6664049b
JM
34610 * manual/llio.texi (fclean): Remove documentation.
34611
bb8b6697
JM
34612 * manual/Makefile (libc-texi-generated): New variable. Include
34613 version.texi.
34614 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34615 $(libc-texi-generated), not duplicated list of files.
34616 (version.texi, stamp-version): New rules.
34617 (realclean): Remove $(libc-texi-generated), not individual files
34618 from that list. Do not remove dir-add.texinfo.
34619 * manual/libc.texinfo: Comment out uses of edition numbers and
34620 references to printed manual. Remove last-updated dates.
34621 (EDITION): Comment out.
34622 (ISBN): Likewise.
34623 (VERSION, UPDATED): Remove.
34624 (version.texi): Include.
34625
12e5c3b9
AS
346262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34627
34628 * sysdeps/posix/spawni.c: Include <signal.h>.
34629 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34630 * sysdeps/pthread/aio_fsync.c: Likewise.
34631
4efeffc1 346322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34633
ba63ba08
UD
34634 * conform/Makefile (tests): Run only when not cross-compiling and
34635 when fast-check is not defined.
34636
d94a4670
UD
34637 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34638 * conform/data/limits.h-data: Fixes for POSIX2008.
34639 * conform/run-conformtest.sh: Run all tests.
34640 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34641 headers.
34642 * include/bits/dlfcn.h: Likewise.
34643 * include/langinfo.h: Likewise.
34644 * include/monetary.h: Likewise.
34645 * include/sys/poll.h: Likewise.
34646
34647 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34648 for __USE_GNU.
34649 * posix/spawn.h: Define __need_sigset_t.
34650 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34651 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34652 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34653 to get sigevent_t only.
34654 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34655 only for __USE_GNU.
34656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34657 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34658 process_vm_writev only for __USE_GNU.
34659 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34660
34661 * conform/Makefile: For now ignore errors from run-conformtest.
34662 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34663 POSIX to avoid namespace pollution. Don't prepend headers.
34664 * conform/data/aio.h-data: Fixes for POSIX testing.
34665 * conform/data/fcntl.h-data: Likewise.
34666 * conform/data/glob.h-data: Likewise.
34667 * conform/data/grp.h-data: Likewise.
34668 * conform/data/pthread.h-data: Likewise.
34669 * conform/data/pwd.h-data: Likewise.
34670 * conform/data/signal.h-data: Likewise.
34671 * conform/data/spawn.h-data: Likewise.
34672 * conform/data/stdio.h-data: Likewise.
34673 * conform/data/stdlib.h-data: Likewise.
34674 * conform/data/stropts.h-data: Likewise.
34675 * conform/data/sys/mman.h-data: Likewise.
34676 * conform/data/sys/stat.h-data: Likewise.
34677 * conform/data/sys/types.h-data: Likewise.
34678 * conform/data/sys/wait.h-data: Likewise.
34679 * conform/data/time.h-data: Likewise.
34680 * conform/data/unistd.h-data: Likewise.
34681 * conform/data/utime.h-data: Likewise.
34682
34683 * io/sys/stat.h: fchmod was always in POSIX.
34684 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34685 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34686 * rt/aio.h: Define __need_timespec before including <time.h>.
34687 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34688 struct. Add forward declaration of pthread_attr_t and use it in
34689 sigevent.
34690 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34692 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34693 always remove CLK_TCK definition.
34694
c20105c3
AS
346952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34696
34697 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34698
7a270350
UD
346992012-02-25 Ulrich Drepper <drepper@gmail.com>
34700
31341567
UD
34701 * conform/run-conformtest.sh: New file.
34702 * conform/Makefile: Run run-conformtest for tests.
34703 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34704 support.
34705
34706 * conform/data/uchar.h-data: New file.
34707 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34708 * conform/data/arpa/inet.h-data: Likewise.
34709 * conform/data/assert.h-data: Likewise.
34710 * conform/data/complex.h-data: Likewise.
34711 * conform/data/cpio.h-data: Likewise.
34712 * conform/data/ctype.h-data: Likewise.
34713 * conform/data/dirent.h-data: Likewise.
34714 * conform/data/dlfcn.h-data: Likewise.
34715 * conform/data/errno.h-data: Likewise.
34716 * conform/data/fcntl.h-data: Likewise.
34717 * conform/data/float.h-data: Likewise.
34718 * conform/data/fmtmsg.h-data: Likewise.
34719 * conform/data/fnmatch.h-data: Likewise.
34720 * conform/data/ftw.h-data: Likewise.
34721 * conform/data/glob.h-data: Likewise.
34722 * conform/data/grp.h-data: Likewise.
34723 * conform/data/iconv.h-data: Likewise.
34724 * conform/data/inttypes.h-data: Likewise.
34725 * conform/data/langinfo.h-data: Likewise.
34726 * conform/data/libgen.h-data: Likewise.
34727 * conform/data/limits.h-data: Likewise.
34728 * conform/data/locale.h-data: Likewise.
34729 * conform/data/math.h-data: Likewise.
34730 * conform/data/monetary.h-data: Likewise.
34731 * conform/data/mqueue.h-data: Likewise.
34732 * conform/data/ndbm.h-data: Likewise.
34733 * conform/data/net/if.h-data: Likewise.
34734 * conform/data/netdb.h-data: Likewise.
34735 * conform/data/netinet/in.h-data: Likewise.
34736 * conform/data/nl_types.h-data: Likewise.
34737 * conform/data/poll.h-data: Likewise.
34738 * conform/data/pthread.h-data: Likewise.
34739 * conform/data/pwd.h-data: Likewise.
34740 * conform/data/regex.h-data: Likewise.
34741 * conform/data/sched.h-data: Likewise.
34742 * conform/data/search.h-data: Likewise.
34743 * conform/data/semaphore.h-data: Likewise.
34744 * conform/data/setjmp.h-data: Likewise.
34745 * conform/data/signal.h-data: Likewise.
34746 * conform/data/spawn.h-data: Likewise.
34747 * conform/data/stdarg.h-data: Likewise.
34748 * conform/data/stdio.h-data: Likewise.
34749 * conform/data/stdlib.h-data: Likewise.
34750 * conform/data/string.h-data: Likewise.
34751 * conform/data/strings.h-data: Likewise.
34752 * conform/data/stropts.h-data: Likewise.
34753 * conform/data/sys/ipc.h-data: Likewise.
34754 * conform/data/sys/mman.h-data: Likewise.
34755 * conform/data/sys/msg.h-data: Likewise.
34756 * conform/data/sys/resource.h-data: Likewise.
34757 * conform/data/sys/select.h-data: Likewise.
34758 * conform/data/sys/sem.h-data: Likewise.
34759 * conform/data/sys/shm.h-data: Likewise.
34760 * conform/data/sys/socket.h-data: Likewise.
34761 * conform/data/sys/stat.h-data: Likewise.
34762 * conform/data/sys/statvfs.h-data: Likewise.
34763 * conform/data/sys/time.h-data: Likewise.
34764 * conform/data/sys/timeb.h-data: Likewise.
34765 * conform/data/sys/times.h-data: Likewise.
34766 * conform/data/sys/types.h-data: Likewise.
34767 * conform/data/sys/uio.h-data: Likewise.
34768 * conform/data/sys/un.h-data: Likewise.
34769 * conform/data/sys/utsname.h-data: Likewise.
34770 * conform/data/sys/wait.h-data: Likewise.
34771 * conform/data/syslog.h-data: Likewise.
34772 * conform/data/tar.h-data: Likewise.
34773 * conform/data/termios.h-data: Likewise.
34774 * conform/data/utime.h-data: Likewise.
34775 * conform/data/utmpx.h-data: Likewise.
34776 * conform/data/varargs.h-data: Likewise.
34777 * conform/data/wchar.h-data: Likewise.
34778 * conform/data/wctype.h-data: Likewise.
34779 * conform/data/wordexp.h-data: Likewise.
34780
34781 * include/stropts.h: New file.
34782 * include/uchar.h: New file.
34783 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34784 * include/assert.h: Likewise.
34785 * include/ctype.h: Likewise.
34786 * include/dirent.h: Likewise.
34787 * include/dlfcn.h: Likewise.
34788 * include/fcntl.h: Likewise.
34789 * include/fnmatch.h: Likewise.
34790 * include/glob.h: Likewise.
34791 * include/grp.h: Likewise.
34792 * include/libio.h: Likewise.
34793 * include/locale.h: Likewise.
34794 * include/math.h: Likewise.
34795 * include/net/if.h: Likewise.
34796 * include/netdb.h: Likewise.
34797 * include/netinet/in.h: Likewise.
34798 * include/pthread.h: Likewise.
34799 * include/pwd.h: Likewise.
34800 * include/regex.h: Likewise.
34801 * include/sched.h: Likewise.
34802 * include/search.h: Likewise.
34803 * include/setjmp.h: Likewise.
34804 * include/signal.h: Likewise.
34805 * include/stdio.h: Likewise.
34806 * include/stdlib.h: Likewise.
34807 * include/string.h: Likewise.
34808 * include/sys/cdefs.h: Likewise.
34809 * include/sys/mman.h: Likewise.
34810 * include/sys/msg.h: Likewise.
34811 * include/sys/resource.h: Likewise.
34812 * include/sys/select.h: Likewise.
34813 * include/sys/socket.h: Likewise.
34814 * include/sys/stat.h: Likewise.
34815 * include/sys/statvfs.h: Likewise.
34816 * include/sys/time.h: Likewise.
34817 * include/sys/times.h: Likewise.
34818 * include/sys/uio.h: Likewise.
34819 * include/sys/utsname.h: Likewise.
34820 * include/sys/wait.h: Likewise.
34821 * include/termios.h: Likewise.
34822 * include/time.h: Likewise.
34823 * include/ulimit.h: Likewise.
34824 * include/unistd.h: Likewise.
34825 * include/utime.h: Likewise.
34826 * include/wchar.h: Likewise.
34827 * include/wctype.h: Likewise.
34828 * include/wordexp.h: Likewise.
34829
34830 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34831
7a270350
UD
34832 * time/time.h: TIME_UTC must be a macro.
34833 Make timespec_get available for ISO C11 only as well.
34834
7724defc
UD
348352012-02-24 Ulrich Drepper <drepper@gmail.com>
34836
34837 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34838 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34839
6b1d1d46
JM
348402012-02-24 Joseph Myers <joseph@codesourcery.com>
34841
34842 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34843
0f8bbd69
JM
348442012-02-24 Joseph Myers <joseph@codesourcery.com>
34845
34846 * manual/texinfo.tex: Update to version 2012-01-19.16.
34847
66ab80bc
JM
348482012-02-24 Joseph Myers <joseph@codesourcery.com>
34849
34850 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34851
74981cc5
RM
348522012-02-24 Roland McGrath <roland@hack.frob.com>
34853
ee968201
RM
34854 [BZ #13738]
34855 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34856 * manual/fdl-1.3.texi: New file.
34857 * manual/fdl-1.1.texi: File removed.
34858
74981cc5
RM
34859 [BZ #13738]
34860 * manual/libc.texinfo (FDL_VERSION): New @set.
34861 Use it for mention of FDL in cover text.
34862 (Documentation License): Use it in @include file name.
34863
7bb764bc
JM
348642012-02-22 Joseph Myers <joseph@codesourcery.com>
34865 Roland McGrath <roland@hack.frob.com>
34866
34867 [BZ #5461]
34868 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34869 not LONG_LONG_MAX and LONG_LONG_MIN.
34870 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34871 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34872 name.
34873 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34874
6cbeae47
JM
348752012-02-22 Joseph Myers <joseph@codesourcery.com>
34876
34877 [BZ #2547]
34878 [BZ #11365]
34879 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34880 manipulate bits before adding and subtracting TWO23[sx].
34881 * math/libm-test.inc (nearbyint_test): Add more tests.
34882
fe45ce09
JM
348832012-02-22 Joseph Myers <joseph@codesourcery.com>
34884
34885 [BZ #2548]
34886 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34887 bits before adding and subtracting TWO23[sx].
34888 * math/libm-test.inc (rint_test): Add more tests.
34889 (rint_test_tonearest): Likewise.
34890 (rint_test_towardzero): Likewise.
34891 (rint_test_downward): Likewise.
34892 (rint_test_upward: Likewise.
34893
ff3b3d82
JM
348942012-02-22 Joseph Myers <joseph@codesourcery.com>
34895
34896 [BZ #10110]
34897 * include/stdc-predef.h: New file. Extracted from features.h.
34898 * include/features.h: Include stdc-predef.h.
34899 * Makefile (headers): Add stdc-predef.h.
34900 * CONFORMANCE (Compiler limitations): Update.
34901
ef0aab35
JM
349022012-02-22 Joseph Myers <joseph@codesourcery.com>
34903
34904 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34905
58639409
DM
349062012-02-21 David S. Miller <davem@davemloft.net>
34907
34908 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34909 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34910
c0e70b25
DM
349112012-02-20 David S. Miller <davem@davemloft.net>
34912
34913 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34914 using a normal save/restore sequence, rather than allocating a
34915 dummy stack frame just to store a frame pointer and restore.
34916 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34917
fb06851d
JM
349182012-02-21 Joseph Myers <joseph@codesourcery.com>
34919
34920 * manual/install.texi: Fix stray word in line-wrapped comment.
34921
7a8b71c3
DM
349222012-02-20 David S. Miller <davem@davemloft.net>
34923
d510c123
DM
34924 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34925 both binutils and gcc support GOTDATA.
34926
0722d7c2
DM
34927 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34928 "rd %pc" in the PIC register setup sequences.
34929
3d2b3019
DM
34930 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34931 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34932 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34933 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34934 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34936 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34939 (SYSCALL_ERROR_HANDLER): Likewise.
34940 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34941 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34943 (SYSCALL_ERROR_HANDLER): Likewise.
34944
c80098a9
DM
34945 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34946 (HAVE_GCC_GOTDATA): New.
34947 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34948 relocation support in both binutils and gcc.
34949 * sysdeps/sparc/elf/configure: Regenerate.
34950
3a2545a0
DM
34951 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34952 * sysdeps/sparc/sparc32/elf/configure: Delete.
34953 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34954 * sysdeps/sparc/sparc64/elf/configure: Delete.
34955 * sysdeps/sparc/elf/configure.in: New file.
34956 * sysdeps/sparc/elf/configure: Generate.
34957
7a8b71c3
DM
34958 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34959 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34960 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34961 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34962 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34963
f1e86fca
JM
349642012-02-21 Joseph Myers <joseph@codesourcery.com>
34965
34966 * manual/install.texi: Do not mention specific glibc version
34967 numbers.
34968 * manual/libc.texinfo (VERSION, UPDATED): Update.
34969 (@copying): Use @copyright{} and range of years.
34970
0e7dfaef
JM
349712012-02-21 Joseph Myers <joseph@codesourcery.com>
34972
34973 [BZ #13695]
34974 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34975 [crti.S not in sysdirs] (generated): Do not append.
34976 [crti.S not in sysdirs] (omit-deps): Likewise.
34977 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34978 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34979 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34980 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34981 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34982 Likewise.
34983 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34984 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34985 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34986 * csu/defs.awk: Remove file.
34987 * sysdeps/generic/initfini.c: Likewise.
34988 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34989 variable.
34990 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34991 Likewise.
34992
599af3ca
JM
349932012-02-20 Joseph Myers <joseph@codesourcery.com>
34994
34995 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34996 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34997 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34999 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35000 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35001 <bits/epoll.h>.
35002 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35003 (__EPOLL_PACKED): Define to empty if not defined by
35004 <bits/epoll.h>.
35005 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35007 bits/epoll.h.
35008
0e499750
JM
350092012-02-20 Joseph Myers <joseph@codesourcery.com>
35010
35011 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35012 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35013 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35014 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35015 <bits/timerfd.h>.
35016 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35018 bits/timerfd.h.
35019
5ad91f6e
JM
350202012-02-20 Joseph Myers <joseph@codesourcery.com>
35021
35022 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35023 in C locale.
35024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35025 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35026 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35028
06b99b02
AJ
350292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35030
35031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35032 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35033
7638c0fd
AS
350342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35035
35036 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35037 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35038 defined.
35039 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35040 Likewise.
35041 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35042 entry for 2.16.
35043
92221550
AJ
350442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35045
35046 * math/w_acos.c: Use non-signaling floating-point comparisons.
35047 * math/w_acosf.c: Likewise.
35048 * math/w_acosh.c: Likewise.
35049 * math/w_acoshf.c: Likewise.
35050 * math/w_acoshl.c: Likewise.
35051 * math/w_acosl.c: Likewise.
35052 * math/w_asin.c: Likewise.
35053 * math/w_asinf.c: Likewise.
35054 * math/w_asinl.c: Likewise.
35055 * math/w_atanh.c: Likewise.
35056 * math/w_atanhf.c: Likewise.
35057 * math/w_atanhl.c: Likewise.
35058 * math/w_exp2.c: Likewise.
35059 * math/w_exp2f.c: Likewise.
35060 * math/w_exp2l.c: Likewise.
35061 * math/w_j0.c: Likewise.
35062 * math/w_j0f.c: Likewise.
35063 * math/w_j0l.c: Likewise.
35064 * math/w_j1.c: Likewise.
35065 * math/w_j1f.c: Likewise.
35066 * math/w_j1l.c: Likewise.
35067 * math/w_jn.c: Likewise.
35068 * math/w_jnf.c: Likewise.
35069 * math/w_log.c: Likewise.
35070 * math/w_log10.c: Likewise.
35071 * math/w_log10f.c: Likewise.
35072 * math/w_log10l.c: Likewise.
35073 * math/w_log2.c: Likewise.
35074 * math/w_log2f.c: Likewise.
35075 * math/w_log2l.c: Likewise.
35076 * math/w_logf.c: Likewise.
35077 * math/w_logl.c: Likewise.
35078 * math/w_sqrt.c: Likewise.
35079 * math/w_sqrtf.c: Likewise.
35080 * math/w_sqrtl.c: Likewise.
35081 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35082 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35084 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35085 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35086
ebaf36eb
JM
350872012-02-19 Joseph Myers <joseph@codesourcery.com>
35088
35089 [BZ #9739]
35090 * manual/string.texi (strnlen): Use correct parameter name in
35091 equivalent expression.
35092
71c254a6
JM
350932012-02-19 Joseph Myers <joseph@codesourcery.com>
35094
35095 [BZ #11174]
35096 * manual/users.texi (seteuid): Consistently use neweuid for
35097 argument name.
35098
16d2c631
JM
350992012-02-19 Joseph Myers <joseph@codesourcery.com>
35100
35101 [BZ #13704]
35102 * manual/nss.texi (Services in the NSS configuration): Correct
35103 list of services in example configuration file.
35104
cd837b09
NB
351052012-02-19 Nick Bowler <nbowler@draconx.ca>
35106
35107 [BZ #11322]
35108 * manual/arith.texi: Remove statements about negative zero
35109 behaving identically to zero.
35110
02c4bbad
JM
351112012-02-18 Joseph Myers <joseph@codesourcery.com>
35112
35113 [BZ #5993]
35114 * manual/install.texi: Do not document upgrading from libc5.
35115
366842e7
JM
351162012-02-18 Joseph Myers <joseph@codesourcery.com>
35117
35118 [BZ #4596]
35119 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35120
dd54084d
DM
351212012-02-18 David S. Miller <davem@davemloft.net>
35122
35123 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35124 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35125 %o7 across the call.
35126 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35127 instead.
35128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35129 SETUP_PIC_REG_LEAF.
35130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35131 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35132 * sysdeps/sparc/crtn.S: Likewise.
35133
2bcc53a3
UD
351342012-02-17 Ulrich Drepper <drepper@gmail.com>
35135
35136 * aout/Makefile: Remove.
35137
09c093b5
RK
351382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35139
35140 [BZ #13058]
35141 * manual/examples/argp-ex1.c (main): Format definition in GNU
35142 style.
35143 * manual/examples/argp-ex2.c (main): Likewise.
35144 * manual/examples/argp-ex3.c (main): Likewise.
35145 * manual/examples/argp-ex4.c (main): Likewise.
35146 * manual/examples/longopt.c (main): Use new-style prototype
35147 definition.
35148 * manual/examples/strncat.c (main): Specify return type and use
35149 (void) for arguments.
35150 * manual/examples/subopt.c (main): Use char **argv argument.
35151
2ee633a2
JM
351522012-02-17 Joseph Myers <joseph@codesourcery.com>
35153
35154 [BZ #5077]
35155 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35156 rounding modes.
35157
0520adde
FB
351582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35159
35160 [BZ #6907]
35161 * manual/string.texi (strchr): Change when strchrnul is
35162 recommended.
35163
3f4081cd
DGM
351642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35165
35166 [BZ #174]
35167 * manual/locale.texi (setlocale): Document LOCPATH.
35168
d1b10e78
JM
351692012-02-17 Joseph Myers <joseph@codesourcery.com>
35170
35171 [BZ #10210]
35172 * manual/process.texi (execle): Move @dots{} before last argument.
35173
79c6869c
PB
351742012-02-17 Paul Bolle <pebolle@tiscali.nl>
35175
35176 [BZ #12047]
35177 * manual/charset.texi (Generic Charset Conversion): Fix typo
35178 (LC_TYPE -> LC_CTYPE).
35179
cc6e48bc
NB
351802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35181
35182 [BZ #5805]
35183 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35184 (scalbnf): Likewise.
35185 (scalbnl): Likewise.
35186 (scalbln): Likewise.
35187 (scalblnf): Likewise.
35188 (scalblnl): Likewise.
35189 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35190 (vwarnx): Likewise.
35191 (verr): Likewise.
35192 (verrx): Likewise.
35193 * manual/filesys.texi (telldir): Use braces around return type.
35194 * manual/llio.texi (mmap): Add space after comma.
35195 (mmap64): Likewise.
35196 * manual/math.texi (jn): Use @var{} on parameter names.
35197 (jnf): Likewise.
35198 (jnl): Likewise.
35199 (yn): Likewise.
35200 (ynf): Likewise.
35201 (ynl): Likewise.
35202 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35203 line.
35204 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35205 "...".
35206 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35207 (sched_get_priority_max): Likewise.
35208 * manual/signal.texi (sigvec): Add space after comma.
35209 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35210 names.
35211 (if_indextoname): Likewise.
35212 (if_freenameindex): Likewise.
35213 (sendto): Use ',' instead of '.' in prototype.
35214 * manual/startup.texi (syscall): Use @dots{} instead of literal
35215 "...".
35216 * manual/stdio.texi (__fpending): Separate initial words of
35217 paragraph from @deftypefun line.
35218 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35219 "...".
35220 (vsyslog): Use @var{} on parameter names.
35221 * manual/terminal.texi (stty): Use @var{} on parameter names.
35222 * manual/users.texi (getutmp): Use @var{} on parameter names.
35223 (getutmpx): Likewise.
35224
5b23062f
JM
352252012-02-17 Joseph Myers <joseph@codesourcery.com>
35226
35227 [BZ #6884]
35228 * manual/stdio.texi (fopen): Fix typos in description of
35229 ",ccs=STRING".
35230
8dee4833
AJ
352312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35232
35233 [BZ #4026]
35234 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35235 get clock_id definition.
35236
9078ce93
TS
352372012-02-17 Thomas Schwinge <thomas@schwinge.name>
35238
35239 [BZ #4822]
35240 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35241 (madvise): Cast every argument to void on its own.
35242
3835c55f
JM
352432012-02-17 Joseph Myers <joseph@codesourcery.com>
35244
35245 [BZ #9902]
35246 * manual/startup.texi (Exit Status): Fix typo.
35247
35c47e37
JM
352482012-02-17 Joseph Myers <joseph@codesourcery.com>
35249
35250 [BZ #10140]
35251 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35252 * manual/examples/argp-ex2.c: Likewise.
35253 * manual/examples/argp-ex3.c: Likewise.
35254
e3b69ca7
RH
352552012-02-16 Richard Henderson <rth@redhat.com>
35256
35257 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35258 * sysdeps/s390/s390-32/initfini.c: Remove.
35259 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35260 * sysdeps/s390/s390-64/initfini.c: Remove.
35261
df83af67
KK
352622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35263
35264 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35265 compiler output for sysdeps/generic/initfini.c.
35266 * sysdeps/sh/elf/initfini.c: Remove file.
35267
f63f3380
DM
352682012-02-16 David S. Miller <davem@davemloft.net>
35269
fb59b3a4
DM
35270 [BZ #11494]
35271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35272
f63f3380
DM
35273 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35274 * sysdeps/sparc/crti.S: New file.
35275 * sysdeps/sparc/crtn.S: New file.
35276 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35277 * sysdeps/sparc/sparc64/Makefile: Likewise.
35278
df6a4a4a
MF
352792012-02-15 Mike Frysinger <vapier@gentoo.org>
35280
6dd8f3dc 35281 [BZ #3335]
df6a4a4a
MF
35282 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35283
1cac7236
RM
352842012-02-15 Roland McGrath <roland@hack.frob.com>
35285
d2c736f8
RM
35286 [BZ #4822]
35287 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35288
1cac7236
RM
35289 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35290 (write, read, close): Likewise.
35291 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35292
8e475601
JM
352932012-02-15 Joseph Myers <joseph@codesourcery.com>
35294
35295 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35296 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35297 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35298 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35299 <bits/signalfd.h>.
35300 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35302 bits/signalfd.h.
35303
ed656b40
MP
353042012-02-14 Marek Polacek <polacek@redhat.com>
35305
35306 * sysdeps/x86_64/crti.S: New file.
35307 * sysdeps/x86_64/crtn.S: New file.
35308 * sysdeps/x86_64/elf/initfini.c: Remove file.
35309
2a979d3a
JM
353102012-02-13 Joseph Myers <joseph@codesourcery.com>
35311
35312 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35313 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35314 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35315 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35316 <bits/inotify.h>.
35317 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35319 bits/inotify.h.
35320
2a418ac3
JM
353212012-02-13 Joseph Myers <joseph@codesourcery.com>
35322
35323 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35324 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35325 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35326 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35327 <bits/eventfd.h>.
35328 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35330 bits/eventfd.h.
35331
fb779be7
TS
353322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35333
e19e83c5
RM
35334 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35335 __feraiseexcept instead of feraiseexcept.
7c35ffed 35336
fb779be7
TS
35337 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35338 nanosleep invocations.
35339 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35340 strings, and add error checking for a nanosleep invocations.
35341
59ba27a6
PE
353422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35343
35344 Replace FSF snail mail address with URLs, as per GNU coding standards.
35345 Most of the snail mail addresses were wrong anyway, and omitting
35346 them makes the source code easier to maintain. Almost all of the
35347 changes are to license notices and to locale LC_IDENTIFICATION
35348 addresses, except for this one:
35349 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35350 not its snail mail address.
35351
57b957eb
RH
353522012-02-09 Richard Henderson <rth@twiddle.net>
35353
af850b1c
RH
35354 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35355 of kernel-features.h.
35356
57b957eb
RH
35357 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35358
6b73181a
MP
353592012-02-08 Marek Polacek <polacek@redhat.com>
35360
35361 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35362 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35363 * sysdeps/gnu/_G_config.h: Likewise.
35364 * sysdeps/generic/_G_config.h: Likewise.
35365
26ecc33a
AS
353662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35367
6c6dbc63
AS
35368 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35369 tests.
35370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35371
e216c012
AS
35372 * sysdeps/powerpc/powerpc32/crti.S: New file.
35373 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35374 * sysdeps/powerpc/powerpc64/crti.S: New file.
35375 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35376
26ecc33a
AS
35377 * Makeconfig (have-initfini): Don't set.
35378 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35379 * configure.in (nopic_initfini): Don't substitute.
35380 * config.h.in (HAVE_INITFINI): Don't #undef.
35381 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35382 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35383
3add8e13
JM
353842012-02-08 Joseph Myers <joseph@codesourcery.com>
35385
35386 Support crti.S and crtn.S provided directly by architectures.
35387 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35388 [crti.S in sysdirs] (omit-deps): Likewise.
35389 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35390 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35391 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35392 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35393 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35394 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35395 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35396 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35397 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35398 compiler output for sysdeps/generic/initfini.c.
35399 * sysdeps/i386/elf/Makefile: Remove file.
35400 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35401
a22f12b4
MP
354022012-02-07 Marek Polacek <polacek@redhat.com>
35403
35404 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35405 * sysdeps/gnu/_G_config.h: Likewise.
35406 * sysdeps/mach/hurd/_G_config.h: Likewise.
35407
148cf100
MP
354082012-02-07 Marek Polacek <polacek@redhat.com>
35409
35410 * math/Makefile (tests): Add tst-CMPLX2.
35411 * math/tst-CMPLX2.c: New file.
35412
cfdc0dd7
AS
354132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35414
84ba42c4
AS
35415 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35416
cfdc0dd7
AS
35417 * math/libm-test.inc (jn_test): Add missing L suffix.
35418
622c86f4
MP
354192012-02-06 Marek Polacek <polacek@redhat.com>
35420
35421 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35422 * sysdeps/i386/fpu/e_powf.S: Likewise.
35423 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35424 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35425 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35426 * sysdeps/i386/fpu/e_pow.S: Likewise.
35427 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35428 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35429 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35430 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35431 * sysdeps/i386/fpu/e_log2.S: Likewise.
35432 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35433 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35434 * sysdeps/i386/fpu/e_powl.S: Likewise.
35435 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35436 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35437 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35438 * sysdeps/i386/fpu/e_logl.S: Likewise.
35439 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35440 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35441 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35442 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35443 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35444 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35445 * sysdeps/i386/fpu/e_log.S: Likewise.
35446 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35447 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35448 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35449 * sysdeps/i386/fpu/e_logf.S: Likewise.
35450 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35451 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35452 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35453 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35454 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35455 * sysdeps/i386/fpu/e_log10.S: Likewise.
35456 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35457 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35458 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35459 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35461 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35462 * sysdeps/i386/asm-syntax.h: Likewise.
35463 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35464 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35465 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35466 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35467 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35468 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35469 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35470 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35471 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35472 * sysdeps/powerpc/sysdep.h: Likewise.
35473 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35474 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35475
d4a54ac6
JM
354762012-02-06 Joseph Myers <joseph@codesourcery.com>
35477
35478 [BZ #411]
35479 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35480
314054ea
JM
354812012-02-06 Joseph Myers <joseph@codesourcery.com>
35482
35483 * sysdeps/i386/sysdep.h: Include <features.h>.
35484 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35485 version.
35486
d8e0ca50
JM
354872012-02-05 Joseph Myers <joseph@codesourcery.com>
35488
35489 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35490 Define.
35491 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35492 LOAD_PIC_REG_STR.
35493
b1da7dd9
JM
354942012-02-03 Joseph Myers <joseph@codesourcery.com>
35495
35496 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35497 (SETUP_PIC_REG): Use GET_PC_THUNK.
35498 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35499 macro.
35500
9a1d9254
JM
355012012-02-03 Joseph Myers <joseph@codesourcery.com>
35502
35503 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35504 for non-PIC compilation.
35505 (SETUP_PIC_REG): Add .p2align directive.
35506 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35507 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35508 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35509 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35510 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35511 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35512 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35513 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35514 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35515 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35516 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35517 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35518 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35519 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35520 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35521 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35522 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35523 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35524 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35525 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35526 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35527 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35528 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35529 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35531 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35532 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35533 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35534 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35535 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35536 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35537 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35538 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35539 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35540 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35541 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35542 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35543 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35544 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35545 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35546 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35547
65dc3b75
JM
355482012-02-03 Joseph Myers <joseph@codesourcery.com>
35549
35550 * math/tst-CMPLX.c: Include <stdio.h>.
35551
d55bf177
JM
355522012-01-31 Joseph Myers <joseph@codesourcery.com>
35553
35554 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35555 float.
35556 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35557 * sysdeps/sparc/bits/mathdef.h: Likewise.
35558
69db4f8f
MP
355592012-01-31 Marek Polacek <polacek@redhat.com>
35560
35561 * libio/libio.h: Don't define _PARAMS.
35562 * locale/programs/config.h: Don't define PARAMS.
35563 * stdlib/strtol_l.c: Likewise.
35564 (__strtol_l): Remove PARAMS from the prototype.
35565
41b81892
UD
355662012-01-31 Ulrich Drepper <drepper@gmail.com>
35567
3b49edc0
UD
35568 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35569 names. Just use the correct names. Remove unnecessary wrapper
35570 functions.
35571 * malloc/arena.c: Likewise.
35572 * malloc/hooks.c: Likewise.
35573
41b81892
UD
35574 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35575 ARENA_TEST says not to. Simplify test for creation of a new arena.
35576 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35577
27a25b6e
UD
355782012-01-30 Ulrich Drepper <drepper@gmail.com>
35579
35580 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35581 into tail calls.
35582 (update_get_addr): New function.
35583 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35584 GET_ADDR_MODULE parameter.
35585
c8a89e7d
JM
355862012-01-30 Joseph Myers <joseph@codesourcery.com>
35587
35588 * crypt/cert.c: Remove __STDC__ conditionals.
35589 * crypt/crypt-entry.c: Likewise.
35590 * crypt/crypt_util.c: Likewise.
35591 * libio/filedoalloc.c: Likewise.
35592 * libio/fileops.c: Likewise.
35593 * libio/genops.c: Likewise.
35594 * libio/iofclose.c: Likewise.
35595 * libio/iofdopen.c: Likewise.
35596 * libio/iofopen.c: Likewise.
35597 * libio/iofopen64.c: Likewise.
35598 * libio/iogetdelim.c: Likewise.
35599 * libio/iopopen.c: Likewise.
35600 * libio/obprintf.c: Likewise.
35601 * libio/oldfileops.c: Likewise.
35602 * libio/oldiofclose.c: Likewise.
35603 * libio/oldiofdopen.c: Likewise.
35604 * libio/oldiofopen.c: Likewise.
35605 * libio/oldiopopen.c: Likewise.
35606 * libio/wfiledoalloc.c: Likewise.
35607 * libio/wgenops.c: Likewise.
35608 * locale/programs/xmalloc.c: Likewise.
35609 * misc/syslog.c: Likewise.
35610 * stdio-common/xbug.c: Likewise.
35611 * string/memchr.c: Likewise.
35612 * string/memcmp.c: Likewise.
35613 * string/memrchr.c: Likewise.
35614 * string/rawmemchr.c: Likewise.
35615 * sysdeps/posix/getcwd.c: Likewise.
35616 * time/strftime_l.c: Likewise.
35617
3b100462
JM
356182012-01-30 Joseph Myers <joseph@codesourcery.com>
35619
35620 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35621 * config.make.in (config-cflags-sse2avx): Define.
35622 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35623 Fix typo.
35624
607998af
CM
356252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35626
35627 * scripts/config.guess: Update from upstream config git repository.
35628 * scripts/config.sub: Likewise.
35629
3601428f
CM
356302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35631
3ac8b282
CM
35632 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35633 (EM_NUM): Update.
35634 (R_TILEPRO_*, R_TILEGX_*): New macros.
35635
e034841e
CM
35636 * scripts/firstversions.awk: Fix bug in version range handling.
35637
540d7568
CM
35638 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35639
3601428f
CM
35640 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35641
463de862
CM
35642 * include/sys/epoll.h: New file.
35643 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35644 libc_hidden_def.
35645
73139a76
UD
356462012-01-28 Ulrich Drepper <drepper@gmail.com>
35647
96bc5b45
UD
35648 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35649 Avoid unnecessary __WORDSIZE == 64 test.
35650 (fmaxf): Use VEX format if possible.
35651 (fmax): Likewise.
35652 (fminf): Likewise.
35653 (fmin): Likewise.
35654
56f6f6a2
UD
35655 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35656 * math/math_private.h: Remove libc_fegetround* and
35657 libc_fesetround*.
35658 * sysdeps/i386/configure.in: Check for -msse2avx.
35659 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35660 also if SSE2AVX is defined.
35661 Remove libc_fegetround* and libc_fesetround*.
35662 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35663 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35664 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35665 of HAS_YMM_USABLE.
35666 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35667 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35668 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35669 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35670 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35671
73139a76
UD
35672 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35673
d73f93a4
AZ
356742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35675
35676 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35677 size is not set.
35678 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35679
6ee65ed6
UD
356802012-01-27 Ulrich Drepper <drepper@gmail.com>
35681
35682 [BZ #13618]
35683 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35684 relocation.
35685 * Makeconfig (libm): Define.
35686 * elf/Makefile: Add rules to build and run tst-relsort1.
35687 * elf/tst-relsort1.c: New file.
35688 * elf/tst-relsort1mod1.c: New file.
35689 * elf/tst-relsort1mod2.c: New file.
35690
8db21882
JM
356912012-01-27 Joseph Myers <joseph@codesourcery.com>
35692
35693 * math/s_ldexp.c: Remove __STDC__ conditionals.
35694 * math/s_ldexpf.c: Likewise.
35695 * math/s_ldexpl.c: Likewise.
35696 * math/s_nextafter.c: Likewise.
35697 * math/s_nexttowardf.c: Likewise.
35698 * math/s_significand.c: Likewise.
35699 * math/s_significandf.c: Likewise.
35700 * math/s_significandl.c: Likewise.
35701 * math/w_jnl.c: Likewise.
35702 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35703 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35704 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35705 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35706 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35707 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35708 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35709 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35710 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35711 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35712 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35713 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35714 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35715 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35716 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35717 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35718 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35719 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35721 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35722 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35723 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35724 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35725 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35726 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35727 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35728 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35729 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35730 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35732 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35733 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35734 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35735 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35736 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35737 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35738 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35739 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35740 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35741 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35742 * sysdeps/ieee754/k_standard.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35791 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35792 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35793 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35802 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35803 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35804 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35805 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35806 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35807 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35808 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35809 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35810 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35811 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35812 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35813 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35814 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35815 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35816 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35817 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35818 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35819 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35820 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35822 * sysdeps/ieee754/s_matherr.c: Likewise.
35823 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35824 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35825 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35827
965a54a4
JM
358282012-01-26 Joseph Myers <joseph@codesourcery.com>
35829
35830 * crypt/md5.h: Remove __STDC__ conditionals.
35831 * libio/libioP.h: Likewise.
35832 * locale/programs/config.h: Likewise.
35833 * sysdeps/generic/sysdep.h: Likewise.
35834 * sysdeps/i386/asm-syntax.h: Likewise.
35835 * sysdeps/s390/asm-syntax.h: Likewise.
35836 * sysdeps/unix/sysdep.h: Likewise.
35837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35839
7071ad79
JM
358402012-01-26 Joseph Myers <joseph@codesourcery.com>
35841
35842 * libio/libio.h: Remove __STDC__ conditionals.
35843 * malloc/obstack.h: Likewise.
35844 * math/complex.h: Likewise.
35845 * math/math.h: Likewise.
35846 * sysdeps/generic/_G_config.h: Likewise.
35847 * sysdeps/gnu/_G_config.h: Likewise.
35848 * sysdeps/mach/hurd/_G_config.h: Likewise.
35849 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35850 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35851 * sysdeps/sparc/bits/mathdef.h: Likewise.
35852
afc5ed09
UD
358532012-01-26 Ulrich Drepper <drepper@gmail.com>
35854
35855 [BZ #13583]
35856 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35857 Clean up HAS_* macros.
afc5ed09 35858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35859 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35860 possible.
35861 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35862 HAS_AVX.
35863 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35864 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35865 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35866 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35867 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35868
bdb6de1d
JM
358692012-01-25 Joseph Myers <joseph@codesourcery.com>
35870
35871 * elf/tst-unique3.cc (gets): Remove declaration.
35872 * elf/tst-unique3lib.cc (gets): Likewise.
35873 * elf/tst-unique3lib2.cc (gets): Likewise.
35874 * elf/tst-unique4.cc (gets): Likewise.
35875
b15549e6
UD
358762012-01-24 Ulrich Drepper <drepper@gmail.com>
35877
35878 * include/stdio.h: Add C++ protection. Add gets declarations and
35879 definitions.
35880 * debug/tst-chk1.c: Don't declare gets here.
35881 * stdio-common/tst-gets.c: Likewise.
35882
a037381f
JM
358832012-01-24 Joseph Myers <joseph@codesourcery.com>
35884
35885 * posix/glob: Remove directory.
35886
f1d4aa75
JM
358872012-01-24 Joseph Myers <joseph@codesourcery.com>
35888
35889 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35890
81c0c964
PT
358912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35892
35893 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35894 of the non-standard EPFNOSUPPORT.
35895
0ea698ae
ST
358962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35897
35898 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35899 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35900 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35901
d220b117
UD
359022012-01-21 Ulrich Drepper <drepper@gmail.com>
35903
35904 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35905
3e1aa84e
UD
359062012-01-20 Ulrich Drepper <drepper@gmail.com>
35907
35908 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35909 transient errors.
35910 * nscd/grpcache.c (cache_addgr): Likewise.
35911 * nscd/hstcache.c (cache_addhst): Likewise.
35912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35913 * nscd/pwdcache.c (cache_addpw): Likewise.
35914 * nscd/servicescache.c (cache_addserv): Likewise.
35915
400aa020
UD
359162012-01-16 Ulrich Drepper <drepper@gmail.com>
35917
d77e7869
UD
35918 * malloc/malloc.c: Various cleanups.
35919 * malloc/hooks.c: Likewise.
35920
400aa020
UD
35921 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35922 * stdlib/bug-fmtmsg1.c: New file.
35923
35924 * stdlib/fmtmsg.c (init): Add missing unlock.
35925 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35926
e0a309cf
MP
359272012-01-12 Marek Polacek <polacek@redhat.com>
35928
35929 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35930 and _GNU_SOURCE.
35931
929d11c7
WS
359322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35933
35934 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35935 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35936 macro to ensure uniqueness of label name.
35937 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35938 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35939
41d0e869
UD
359402012-01-11 Ulrich Drepper <drepper@gmail.com>
35941
0cc5ed3b
UD
35942 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35943
41d0e869
UD
35944 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35945 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35947 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35948
a47a831a
UD
359492012-01-10 Ulrich Drepper <drepper@gmail.com>
35950
daa891c0
UD
35951 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35952
35953 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35954 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35955 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35956
e58ef0f2
UD
35957 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35958
a47a831a 35959 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35960 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35961 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35963
35964 * math/bits/math-finite.h: Add ldexp support.
35965
a0bfc9c7
MP
359662012-01-10 Marek Polacek <polacek@redhat.com>
35967
35968 * locale/programs/localedef.h (show_archive_content): Add noreturn
35969 attribute.
35970
d6e97a1d
UD
359712012-01-09 Ulrich Drepper <drepper@gmail.com>
35972
35973 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35974
d5835c26
UD
359752012-01-08 Ulrich Drepper <drepper@gmail.com>
35976
e5f484c6
UD
35977 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35978
d5835c26
UD
35979 * io/Makefile (headers): Add bits/poll2.h.
35980
d1f741e9
WS
359812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35982
35983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35984 typo #include statement.
35985
ec09c1c4
UD
359862012-01-08 Ulrich Drepper <drepper@gmail.com>
35987
35988 * include/sys/cdefs.h: Define __attribute_alloc_size.
35989 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35990 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35991 * elf/pldd.c: Likewise.
35992 * iconv/iconv_charmap.c: Likewise.
35993 * iconv/iconvconfig.c: Likewise.
35994 * iconv/strtab.c: Likewise.
35995 * locale/programs/locale.c: Likewise.
35996 * locale/programs/localedef.h: Likewise.
35997 * locale/programs/simple-hash.c: Likewise.
35998 * nscd/nscd.h: Likewise.
35999 * nss/makedb.c: Likewise.
36000 * sysdeps/generic/ldconfig.h: Likewise.
36001 * locale/programs/localedef.c: Remove xmalloc prototype.
36002 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36003
20b38e03
PP
360042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36005
36006 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36007 appropriate.
36008
a0da5fe1
UD
360092012-01-08 Ulrich Drepper <drepper@gmail.com>
36010
1d5a644a 36011 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36012 * math/tst-CMPLX.c: New file.
1d5a644a 36013
8784a6db
UD
36014 * math/complex.h (CMPLXL): Fix typo.
36015
d9a216c0
UD
36016 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36017 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36018 GLIBC_2.16.
36019 * debug/tst-chk1.c: Add poll and ppoll tests.
36020 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36021 * include/sys/poll.h: Add hidden proto for ppoll.
36022 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36023 * sysdeps/mach/hurd/ppoll.c: Likewise.
36024 * io/ppoll.c: Likewise.
36025 * debug/poll_chk.c: New file.
36026 * debug/ppoll_chk.c: New file.
36027 * include/bits/poll2.h: New file.
36028 * io/bits/poll2.h: New file.
36029
ac097f5c
UD
36030 [BZ #1350]
36031 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36032
2119dcfa
UD
36033 * configure.in: static is always set to yes. Remove.
36034 * config.make.in: Don't set build-static.
36035 * Makeconfig: Remove use of build-static.
36036 * dlfcn/Makefile: Likewise.
36037 * elf/Makefile: Likewise.
36038 * math/Makefile: Likewise.
36039 * misc/Makefile: Likewise.
36040 * nptl/Makefile: Likewise.
36041 * sysdeps/mach/hurd/Makefile: Likewise.
36042
121766a9
UD
36043 * configure.in: PWD_P is not used anymore.
36044 * config.make.in: Remove PWD_P entry.
36045
51a1d39c 36046 * configure.in: Remove last remnants of RANLIB.
8720d066 36047 No need to check for signed size_t anymore.
215f4bdc
UD
36048 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36049 and IA-64.
3857022a 36050 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36051 * aclocal.m4: Likewise.
36052
d3ed7225
UD
36053 * wcsmbs/mbrtoc16.c: Implement using towc function.
36054 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36055 * wcsmbs/wcsmbsload.c: Likewise.
36056 * iconv/gconv_simple.c: Likewise.
36057 * iconv/gconv_int.h: Likewise.
36058 * iconv/gconv_builtin.h: Likewise.
36059 * iconv/iconv_prog.c: Remove CHAR16 handling.
36060
36061 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36062
36063 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36064
a0da5fe1
UD
36065 * configure.in: Remove --with-elf and --enable-bounded options.
36066 Dont set base_machine for ia64. More non-ELF conditions removed.
36067 Remove testing and setting of leading underscore information.
36068 * config.make.in (build-bounded): Set to no.
36069 * config.h.in: Remove NO_UNDERSCORES entry.
36070 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36071 them.
36072 * csu/start.c: Remove !NO_UNDERSCORE code.
36073 * locale/localeinfo.h: Likewise.
36074 * sysdeps/generic/machine-gmon.h: Likewise.
36075 * sysdeps/generic/sysdep.h: Likewise.
36076 * sysdeps/i386/sysdep.h: Likewise.
36077 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36078 * sysdeps/mach/sysdep.h: Likewise.
36079 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36080 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36081 * sysdeps/sh/sysdep.h: Likewise.
36082 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36083 * sysdeps/unix/i386/sysdep.S: Likewise.
36084 * sysdeps/unix/sparc/start.c: Likewise.
36085 * sysdeps/unix/sparc/sysdep.S: Likewise.
36086 * sysdeps/unix/sparc/sysdep.h: Likewise.
36087 * sysdeps/unix/start.c: Likewise.
36088 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36089 * sysdeps/x86_64/sysdep.h: Likewise.
36090
df78418a
UD
360912012-01-07 Ulrich Drepper <drepper@gmail.com>
36092
a784e502
UD
36093 [BZ #13553]
36094 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36095 for non-gcc.
36096 * argp/argp-fmtstream.h: Use const instead __const.
36097 * argp/argp.h: Likewise.
36098 * assert/assert.h: Likewise.
36099 * bits/fenv.h: Likewise.
36100 * bits/sched.h: Likewise.
36101 * bits/sigset.h: Likewise.
36102 * bits/sigthread.h: Likewise.
36103 * catgets/nl_types.h: Likewise.
36104 * conform/data/pthread.h-data: Likewise.
36105 * crypt/crypt-private.h: Likewise.
36106 * crypt/crypt.h: Likewise.
36107 * crypt/crypt_util.c: Likewise.
36108 * ctype/ctype.h: Likewise.
36109 * debug/execinfo.h: Likewise.
36110 * debug/mbsnrtowcs_chk.c: Likewise.
36111 * debug/mbsrtowcs_chk.c: Likewise.
36112 * debug/wcsnrtombs_chk.c: Likewise.
36113 * debug/wcsrtombs_chk.c: Likewise.
36114 * debug/wcstombs_chk.c: Likewise.
36115 * dirent/dirent.h: Likewise.
36116 * dlfcn/dlfcn.h: Likewise.
36117 * elf/neededtest4.c: Likewise.
36118 * grp/grp.h: Likewise.
36119 * gshadow/gshadow.h: Likewise.
36120 * iconv/gconv.h: Likewise.
36121 * iconv/gconv_int.h: Likewise.
36122 * iconv/gconv_simple.c: Likewise.
36123 * iconv/iconv.h: Likewise.
36124 * iconv/loop.c: Likewise.
36125 * iconv/skeleton.c: Likewise.
36126 * include/aio.h: Likewise.
36127 * include/aliases.h: Likewise.
36128 * include/argz.h: Likewise.
36129 * include/arpa/inet.h: Likewise.
36130 * include/assert.h: Likewise.
36131 * include/dirent.h: Likewise.
36132 * include/dlfcn.h: Likewise.
36133 * include/execinfo.h: Likewise.
36134 * include/fcntl.h: Likewise.
36135 * include/fenv.h: Likewise.
36136 * include/glob.h: Likewise.
36137 * include/grp.h: Likewise.
36138 * include/libintl.h: Likewise.
36139 * include/mntent.h: Likewise.
36140 * include/netdb.h: Likewise.
36141 * include/pwd.h: Likewise.
36142 * include/rpc/netdb.h: Likewise.
36143 * include/sched.h: Likewise.
36144 * include/search.h: Likewise.
36145 * include/shadow.h: Likewise.
36146 * include/signal.h: Likewise.
36147 * include/stdio.h: Likewise.
36148 * include/stdlib.h: Likewise.
36149 * include/string.h: Likewise.
36150 * include/sys/socket.h: Likewise.
36151 * include/sys/stat.h: Likewise.
36152 * include/sys/statfs.h: Likewise.
36153 * include/sys/statvfs.h: Likewise.
36154 * include/sys/syslog.h: Likewise.
36155 * include/sys/time.h: Likewise.
36156 * include/sys/uio.h: Likewise.
36157 * include/time.h: Likewise.
36158 * include/unistd.h: Likewise.
36159 * include/utmp.h: Likewise.
36160 * include/wchar.h: Likewise.
36161 * include/wctype.h: Likewise.
36162 * inet/aliases.h: Likewise.
36163 * inet/arpa/inet.h: Likewise.
36164 * inet/netinet/ether.h: Likewise.
36165 * inet/netinet/in.h: Likewise.
36166 * intl/libintl.h: Likewise.
36167 * io/bits/fcntl2.h: Likewise.
36168 * io/fcntl.h: Likewise.
36169 * io/ftw.h: Likewise.
36170 * io/sys/poll.h: Likewise.
36171 * io/sys/stat.h: Likewise.
36172 * io/sys/statfs.h: Likewise.
36173 * io/sys/statvfs.h: Likewise.
36174 * io/utime.h: Likewise.
36175 * libio/bits/stdio.h: Likewise.
36176 * libio/bits/stdio2.h: Likewise.
36177 * libio/libio.h: Likewise.
36178 * libio/libioP.h: Likewise.
36179 * libio/stdio.h: Likewise.
36180 * locale/lc-ctype.c: Likewise.
36181 * locale/locale.h: Likewise.
36182 * login/utmp.h: Likewise.
36183 * malloc/arena.c: Likewise.
36184 * malloc/malloc.c: Likewise.
36185 * malloc/malloc.h: Likewise.
36186 * malloc/mcheck.c: Likewise.
36187 * malloc/mtrace.c: Likewise.
36188 * math/bits/mathcalls.h: Likewise.
36189 * math/fenv.h: Likewise.
36190 * math/math_private.h: Likewise.
36191 * misc/bits/error.h: Likewise.
36192 * misc/bits/syslog.h: Likewise.
36193 * misc/err.h: Likewise.
36194 * misc/error.h: Likewise.
36195 * misc/fstab.h: Likewise.
36196 * misc/mntent.h: Likewise.
36197 * misc/regexp.h: Likewise.
36198 * misc/search.h: Likewise.
36199 * misc/sgtty.h: Likewise.
36200 * misc/sys/mman.h: Likewise.
36201 * misc/sys/syslog.h: Likewise.
36202 * misc/sys/uio.h: Likewise.
36203 * misc/sys/xattr.h: Likewise.
36204 * misc/ttyent.h: Likewise.
36205 * nis/rpcsvc/ypclnt.h: Likewise.
36206 * nss/nss.h: Likewise.
36207 * posix/bits/unistd.h: Likewise.
36208 * posix/fnmatch.h: Likewise.
36209 * posix/glob.h: Likewise.
36210 * posix/sched.h: Likewise.
36211 * posix/spawn.h: Likewise.
36212 * posix/sys/wait.h: Likewise.
36213 * posix/unistd.h: Likewise.
36214 * posix/wordexp.h: Likewise.
36215 * pwd/pwd.h: Likewise.
36216 * resolv/netdb.h: Likewise.
36217 * resource/sys/resource.h: Likewise.
36218 * rt/aio.h: Likewise.
36219 * rt/bits/mqueue2.h: Likewise.
36220 * rt/mqueue.h: Likewise.
36221 * shadow/shadow.h: Likewise.
36222 * signal/signal.h: Likewise.
36223 * socket/send.c: Likewise.
36224 * socket/sendto.c: Likewise.
36225 * socket/sys/socket.h: Likewise.
36226 * stdio-common/printf.h: Likewise.
36227 * stdlib/bits/stdlib.h: Likewise.
36228 * stdlib/fmtmsg.h: Likewise.
36229 * stdlib/monetary.h: Likewise.
36230 * stdlib/stdlib.h: Likewise.
36231 * stdlib/ucontext.h: Likewise.
36232 * streams/stropts.h: Likewise.
36233 * string/argz.h: Likewise.
36234 * string/bits/string2.h: Likewise.
36235 * string/string.h: Likewise.
36236 * string/strings.h: Likewise.
36237 * sunrpc/rpc/auth.h: Likewise.
36238 * sunrpc/rpc/auth_des.h: Likewise.
36239 * sunrpc/rpc/clnt.h: Likewise.
36240 * sunrpc/rpc/netdb.h: Likewise.
36241 * sunrpc/rpc/pmap_clnt.h: Likewise.
36242 * sunrpc/rpc/xdr.h: Likewise.
36243 * sysdeps/generic/inttypes.h: Likewise.
36244 * sysdeps/generic/net/if.h: Likewise.
36245 * sysdeps/generic/sys/swap.h: Likewise.
36246 * sysdeps/gnu/net/if.h: Likewise.
36247 * sysdeps/gnu/utmpx.h: Likewise.
36248 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36249 * sysdeps/i386/i486/bits/string.h: Likewise.
36250 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36251 * sysdeps/s390/bits/string.h: Likewise.
36252 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36253 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36254 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36255 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36256 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36257 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36258 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36259 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36260 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36261 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36262 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36263 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36264 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36265 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36266 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36267 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36268 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36271 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36272 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36273 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36274 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36275 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36276 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36277 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36278 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36279 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36280 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36281 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36282 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36283 * sysvipc/sys/ipc.h: Likewise.
36284 * sysvipc/sys/msg.h: Likewise.
36285 * sysvipc/sys/sem.h: Likewise.
36286 * sysvipc/sys/shm.h: Likewise.
36287 * termios/termios.h: Likewise.
36288 * time/sys/time.h: Likewise.
36289 * time/time.h: Likewise.
36290 * wcsmbs/bits/wchar2.h: Likewise.
36291 * wcsmbs/uchar.h: Likewise.
36292 * wcsmbs/wchar.h: Likewise.
36293 * wctype/wctype.h: Likewise.
36294
0269750c
UD
36295 [BZ #13551]
36296 * Makeconfig: Remove all but ELF support including AIX support.
36297 * Makerules: Likewise.
36298 * config.h.in: Likewise.
36299 * config.make.in: Likewise.
36300 * configure: Likewise.
36301 * configure.in: Likewise.
36302 * csu/Makefile: Likewise.
36303 * csu/version.c: Likewise.
36304 * debug/Makefile: Likewise.
36305 * dlfcn/Makefile: Likewise.
36306 * elf/Makefile: Likewise.
36307 * extra-lib.mk: Likewise.
36308 * iconv/Makefile: Likewise.
36309 * include/libc-symbols.h: Likewise.
36310 * include/shlib-compat.h: Likewise.
36311 * resolv/Makefile: Likewise.
36312 * resolv/res_libc.c: Likewise.
36313 * rt/Makefile: Likewise.
36314 * sysdeps/i386/asm-syntax.h: Likewise.
36315 * sysdeps/i386/sysdep.h: Likewise.
36316 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36317 * sysdeps/mach/sysdep.h: Likewise.
36318 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36319 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36320 * sysdeps/s390/asm-syntax.h: Likewise.
36321 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36323 * sysdeps/sh/sysdep.h: Likewise.
36324 * sysdeps/unix/sparc/sysdep.h: Likewise.
36325 * sysdeps/wordsize-32/divdi3.c: Likewise.
36326 * sysdeps/x86_64/sysdep.h: Likewise.
36327
00bbd29b
UD
36328 * argp/Versions: Remove _argp_unlock_xxx.
36329
36330 [BZ #13559]
36331 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36332 * abilist/libBrokenLocale.abilist: Likewise.
36333 * abilist/libanl.abilist: Likewise.
36334 * abilist/libc.abilist: Likewise.
36335 * abilist/libcrypt.abilist: Likewise.
36336 * abilist/libdl.abilist: Likewise.
36337 * abilist/libm.abilist: Likewise.
36338 * abilist/libnsl.abilist: Likewise.
36339 * abilist/libpthread.abilist: Likewise.
36340 * abilist/libresolv.abilist: Likewise.
36341 * abilist/librt.abilist: Likewise.
36342 * abilist/libthread_db.abilist: Likewise.
36343 * abilist/libutil.abilist: Likewise.
36344 * abilist/libnss_db.abilist: New file.
36345
36346 * scripts/abilist.awk: Add support for indirect functions.
36347
a2693a0e
UD
36348 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36349
3f05895f
UD
36350 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36351
ecb6fb48
UD
36352 * shlib-versions: Remove entries for ports architectures.
36353
664f8cb9
UD
36354 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36355 files in ports.
36356 * elf/stackguard-macros.h: Remove support for IA-64.
36357 * elf/tst-auditmod1.c: Likewise.
36358 * sysdeps/generic/ldsodefs.h: Likewise.
36359
7ae81d88
UD
36360 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36361 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36362 configure files.
36363
bdeba135
UD
36364 [BZ #13552]
36365 * configure.in: Remove --enable-omitfp support.
36366 * FAQ.in: Adjust.
36367 * config.make.in: Likewise.
36368 * Makeconfig: Likewise.
36369 * manual/install.texi: Likewise.
36370
d75a0a62
UD
36371 In case anyone cares, the IA-64 architecture could move to ports.
36372 * sysdeps/ia64/*: Removed.
36373 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36374 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36375
dcc9756b
UD
36376 [BZ #13555]
36377 * configure.in: Remove entries for unsupported architectures.
36378
d3761ebc 36379 [BZ #13533]
9954432e
UD
36380 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36381 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36382 routines.
36383 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36384 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36385 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36386 fall back to using wcrtomb.
36387 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36388 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36389 renaming.
36390 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36391 * wcsmbs/tst-c16c32-1.c: New file.
36392
36393 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36394 local variable.
36395
c3a87236
UD
36396 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36397
28926a1b
UD
36398 * elf/tst-unique3.cc: Add explicit declaration of gets.
36399 * elf/tst-unique3lib.cc: Likewise.
36400 * elf/tst-unique3lib2.cc: Likewise.
36401 * elf/tst-unique4.cc: Likewise.
36402
df78418a
UD
36403 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36404
8ecd6b2a
JM
364052012-01-06 Joseph Myers <joseph@codesourcery.com>
36406
36407 [BZ #13566]
36408 * assert/assert.h (static_assert): Don't define for C++.
36409 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36410 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36411
9f115170
UD
364122012-01-03 Ulrich Drepper <drepper@gmail.com>
36413
5e0d0300
UD
36414 * iconv/loop.c (single loop): Fix assertion in storing of
36415 remaining bytes.
36416
9f115170
UD
36417 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36418
81fb02b0
UD
364192012-01-01 Ulrich Drepper <drepper@gmail.com>
36420
36421 * posix/getconf.c: Update copyright year.
36422 * nss/getent.c: Likewise.
a316c1f6 36423 * nss/makedb.c: Likewise.
81fb02b0
UD
36424 * iconv/iconvconfig.c: Likewise.
36425 * iconv/iconv_prog.c: Likewise.
36426 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36427 * elf/pldd.c: Likewise.
36428 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36429 * catgets/gencat.c: Likewise.
36430 * csu/version.c: Likewise.
36431 * elf/ldd.bash.in: Likewise.
36432 * elf/sprof.c (print_version): Likewise.
36433 * locale/programs/locale.c: Likewise.
36434 * locale/programs/localedef.c: Likewise.
a316c1f6 36435 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36436 * nscd/nscd.c (print_version): Likewise.
36437 * debug/xtrace.sh: Likewise.
36438 * malloc/memusage.sh: Likewise.
36439 * malloc/mtrace.pl: Likewise.
36440 * debug/catchsegv.sh: Likewise.
36441
2ba92745
JJ
364422011-12-30 Jakub Jelinek <jakub@redhat.com>
36443
36444 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36445 pure attribute.
36446
dadebdae
UD
364472011-12-24 Ulrich Drepper <drepper@gmail.com>
36448
d3761ebc 36449 [BZ #13533]
db6af3eb
UD
36450 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36451 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36452 transformations.
36453 * iconv/gconv_int.h: Likewise.
36454 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36455 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36456 from libc for GLIBC_2.16.
36457 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36458 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36459 * wcsmbs/uchar.h: Really define mbstate_t.
36460 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36461 * wcsmbs/c16rtomb.c: New file.
36462 * wcsmbs/mbrtoc16.c: New file.
36463 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36464 for C/POSIX locale.
36465 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36466 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36467
dadebdae
UD
36468 * wcsmbs/wchar.h: Add missing __restrict.
36469
67371b56
UD
364702011-12-23 Ulrich Drepper <drepper@gmail.com>
36471
74033a25
UD
36472 [BZ #13532]
36473 * time/Makefile (routines): Add timespec_get.
36474 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36475 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36476 timespec for ISO C11.
36477 * time/timespec_get.c: New file.
36478 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36479 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36480
380d7e87
UD
36481 [BZ #13531]
36482 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36483 * stdlib/stdlib.h: Declare aligned_alloc.
36484 * Versions.def: Add GLIBC_2.16 for libc.
36485 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36486
4e9e7a35
UD
36487 [BZ 13527]
36488 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36489 ISO C11.
36490
380d7e87 36491 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36492 code.
36493
03a71829
UD
36494 [BZ #13528]
36495 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36496
839e283e
UD
36497 [BZ #13529]
36498 * assert/assert.h (static_assert): Define.
36499
ce5294e2 36500 * version.h: Update for 2.16 development version.
90fa7312 36501
8d44e150 36502 [BZ #13526]
d7809905
UD
36503 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36504 _ISOC11_SOURCE.
36505
c0da14cd
UD
36506 * version.h (RELEASE): Bump for 2.15 release.
36507 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36508
530a3249
MP
36509 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36510 Patch by Marek Polacek <mpolacek@redhat.com>.
36511
67371b56
UD
36512 * bits/byteswap.h: Protect long long constants with __extension__.
36513 * sysdeps/i386/bits/byteswap.h: Likewise.
36514 * sysdeps/ia64/bits/byteswap.h: Likewise.
36515 * sysdeps/s390/bits/byteswap.h: Likewise.
36516 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36517
15db4de1
LD
365182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36519
36520 [BZ #13540]
bbe315ea
LD
36521 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36522 destination buffer.
15db4de1
LD
36523 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36524
2b2596b1
MP
365252011-12-23 Marek Polacek <polacek@redhat.com>
36526
36527 * elf/dl-addr.c (determine_info): Add inline keyword.
36528 * elf/tst-auditmod4b.c (check_avx): Likewise.
36529 * elf/tst-auditmod6b.c (check_avx): Likewise.
36530 * elf/tst-auditmod6c.c (check_avx): Likewise.
36531 * elf/tst-auditmod7b.c (check_avx): Likewise.
36532
70c6c246
UD
365332011-12-23 Ulrich Drepper <drepper@gmail.com>
36534
36535 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36536 !__SSE_MATH__.
36537
c044cf14
LD
365382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36539
15db4de1 36540 [BZ #13540]
c044cf14
LD
36541 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36542 processing for last bytes.
36543
6b13d9d9
BH
365442011-08-06 Bruno Haible <bruno@clisp.org>
36545
d455f537
BH
36546 [BZ #13061]
36547 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36548 U+0385, not to U+1FEE.
36549
6b13d9d9
BH
36550 [BZ #13062]
36551 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36552 entry for U+00A5 U+0301.
36553
db910efd
UD
365542011-12-22 Ulrich Drepper <drepper@gmail.com>
36555
27deeafc
UD
36556 [BZ #13166]
36557 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36558 buffer for the output is too small.
36559
aed9d171
UD
36560 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36561 optimization.
36562
db910efd
UD
36563 [BZ #13185]
36564 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36565 SSE flags if possible.
36566
2bd779ae
LD
365672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36568
e7f9dac3 36569 [BZ #13540]
2bd779ae
LD
36570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36571 processing for last bytes.
36572
154bfc16
JM
365732011-12-22 Joseph Myers <joseph@codesourcery.com>
36574
36575 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36576 (syscall-list-default-options, syscall-list-default-condition)
36577 (syscall-list-includes): Define.
36578 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36579 list of ABIs and options and #if conditions for each ABI. Do not
36580 handle common syscalls between ABIs specially.
36581 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36582 Remove.
36583 (syscall-list-variants, syscall-list-32bit-options)
36584 (syscall-list-32bit-condition, syscall-list-64bit-options)
36585 (syscall-list-64bit-condition): Define.
36586 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36587 (syscall-list-variants, syscall-list-32bit-options)
36588 (syscall-list-32bit-condition, syscall-list-64bit-options)
36589 (syscall-list-64bit-condition): Define.
36590 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36591 Remove.
36592 (syscall-list-variants, syscall-list-32bit-options)
36593 (syscall-list-32bit-condition, syscall-list-64bit-options)
36594 (syscall-list-64bit-condition): Define.
36595 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36596 Remove.
36597 (syscall-list-variants, syscall-list-32bit-options)
36598 (syscall-list-32bit-condition, syscall-list-64bit-options)
36599 (syscall-list-64bit-condition): Define.
36600
21eaf3a5
UD
366012011-12-22 Ulrich Drepper <drepper@gmail.com>
36602
16c6f992
UD
36603 * locale/iso-639.def: Add brx entry.
36604
41043168
UD
36605 [BZ #13328]
36606 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36607 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36608
21eaf3a5
UD
36609 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36610 __feraiseexcept_renamed.
36611
e3a851a2
UD
366122011-12-21 Ulrich Drepper <drepper@gmail.com>
36613
4920765e
UD
36614 [BZ #13538]
36615 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36616 EPOLLET with unsigned values.
36617 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36618 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36619
e3a851a2
UD
36620 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36621 to large cancellation.
36622 * math/s_cacoshf.c: Likewise.
36623 * math/s_cacoshl.c: Likewise.
36624
b27e24b8
RK
366252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36626
36627 [BZ #13305]
aebefeee 36628 [BZ #12786]
b27e24b8
RK
36629 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36630 * math/s_cacoshf.c: Likewise.
36631 * math/s_cacoshl.c: Likewise.
36632
ee190f67
UD
366332011-12-21 Ulrich Drepper <drepper@gmail.com>
36634
36635 [BZ #13439]
36636 * iconv/gconv.h: Define __GCONV_SWAP.
36637 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36638 * iconvdata/utf-16.c: Likewise.
36639 * iconvdata/utf-32.c: Likewise.
36640
707f25df
AS
366412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36642
36643 [BZ #13524]
36644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36645 numerator after shifting it by one limb.
36646
d2daaa1e
RÁE
366472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36648
36649 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36650 under [__USE_EXTERN_INLINES].
36651
a4647e72
UD
366522011-12-17 Ulrich Drepper <drepper@gmail.com>
36653
36654 [BZ #13446]
36655 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36656
f0b264f1
AZ
366572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36658
36659 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36660 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36661 optimized code.
36662 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36663 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36664 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36665 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36666 for strncasecmp/strncasecmp_l compilation.
36667 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36668 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36669
8ef4f244
MP
366702011-12-08 Marek Polacek <mpolacek@redhat.com>
36671
36672 [BZ #13484]
36673 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36674 of __asm__.
36675
97ac2654
UD
366762011-12-17 Ulrich Drepper <drepper@gmail.com>
36677
36678 [BZ #13506]
36679 * time/tzfile.c (__tzfile_read): Check values from file header.
36680
91d2a845
WS
366812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36682
36683 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36684 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36685 * powerpc/powerpc32/dl-start.S: Likewise.
36686 * powerpc/powerpc32/elf/start.S: Likewise.
36687 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36688 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36689 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36690 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36691 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36692 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36693 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36694 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36695 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36696 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36697 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36698 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36699 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36700 * powerpc/powerpc32/memset.S: Likewise.
36701 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36702 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36703 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36704 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36705 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36706 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36707 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36708 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36709 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36710 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36711 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36712 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36713 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36714
a1267ba1
AZ
367152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36716
36717 * math/libm-test.inc: Added more nearbyint tests.
36718 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36722
ad8ac1bd
RL
367232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36724
36725 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36726 FD_CLOEXEC.
36727
1d3e4b61
UD
367282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36729
36730 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36731 Add wcscpy-ssse3 wcscpy-c.
36732 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36733 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36734 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36735 * sysdeps/x86_64/wcschr.S: New file.
36736 * sysdeps/x86_64/wcsrchr.S: New file.
36737 * string/test-strcmp.c: Remove checking of wcscmp function for
36738 wrong alignments.
36739 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36740 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36741 wcsrchr-sse2 wcsrchr-c.
36742 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36743 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36744 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36745 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36746 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36747 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36748 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36749 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36750 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36751 * wcsmbc/wcschr.c (WCSCHR): New macro.
36752
5b330a2d
UD
367532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36754
36755 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36756 * wcsmbs/test-wcsrchr.c: New file.
36757 * string/test-strrchr.c: Add wcsrchr support.
36758 (WIDE): New macro.
36759 * wcsmbs/test-wcscpy.c: New file.
36760 * string/test-strcpy.c: Add wcscpy support.
36761 (WIDE): New macro.
26428b7c 36762
f039c043
UD
367632011-12-10 Ulrich Drepper <drepper@gmail.com>
36764
36765 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36766 the inner loop.
36767
850fb039
AS
367682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36769
36770 [BZ #13472]
36771 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36772
4efbd5cb
UD
367732011-12-04 Ulrich Drepper <drepper@gmail.com>
36774
52ff5dd0 36775 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36776 Minor optimizations.
52ff5dd0 36777
4efbd5cb
UD
36778 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36779 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36780 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36781
8a426e12
UD
367822011-12-03 Ulrich Drepper <drepper@gmail.com>
36783
aff2453d
UD
36784 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36785 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36786 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36787 for gcc to avoid warnings.
36788 * inet/Makefile (tests): Add tst-checks.
36789 * inet/tst-checks.c: New file.
36790
36791 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36792 warning.
36793
36794 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36795 __wmemcmp_sse2.
36796
36797 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36798 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36799
8a426e12
UD
36800 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36801
9bea3473
UD
368022011-12-02 Ulrich Drepper <drepper@gmail.com>
36803
3a965496
UD
36804 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36805 problem.
36806
9bea3473
UD
36807 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36808
f101631b
UD
368092011-11-29 Joseph Myers <joseph@codesourcery.com>
36810
36811 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36812 conditional on GCC version.
36813 (__arch_compare_and_exchange_val_8_acq)
36814 (__arch_compare_and_exchange_val_16_acq)
36815 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36816 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36817 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36818
a98275aa
UD
368192011-12-02 Joseph Myers <joseph@codesourcery.com>
36820
36821 * sysdeps/sh/backtrace.c: New file.
36822
d4cc29a2
AS
368232011-12-02 Andreas Schwab <schwab@redhat.com>
36824
36825 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36826 parenthesis.
36827
6257af2d
AS
368282011-12-01 Andreas Schwab <schwab@redhat.com>
36829
36830 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36831 falling back to utime.
36832
b5f44c1a
AS
368332011-11-30 Andreas Schwab <schwab@redhat.com>
36834
36835 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36836 expectations for float.
36837
f3a6cc0a
AS
368382011-11-29 Andreas Schwab <schwab@redhat.com>
36839
36840 * locale/weight.h (findidx): Add parameter len.
36841 * locale/weightwc.h (findidx): Likewise.
36842 * posix/fnmatch_loop.c (FCT): Adjust caller.
36843 * posix/regcomp.c (build_equiv_class): Likewise.
36844 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36845 * posix/regexec.c (check_node_accept_bytes): Likewise.
36846 * string/strcoll_l.c (STRCOLL): Likewise.
36847 * string/strxfrm_l.c (STRXFRM): Likewise.
36848
9d65ea3a
UD
368492011-11-17 Ulrich Drepper <drepper@gmail.com>
36850
36851 * Makefile.in: Remove CVSOPT handling.
36852 * configure.in: Remove use of AC_REVISION.
36853 * iconvdata/Makefile (distribute): No need to filter out CVS.
36854 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36855 handling.
36856
5583a086
AS
368572011-11-16 Andreas Schwab <schwab@redhat.com>
36858
36859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36860 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36861 [USE_AS_STRNCASECMP_L]: Likewise.
36862 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36863 NO_TLS_DIRECT_SEG_REFS.
36864 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36865 Fix argument offsets for non-PIC.
36866 [USE_AS_STRNCASECMP_L]: Likewise.
36867 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36868 NO_TLS_DIRECT_SEG_REFS.
36869
d62a8200
UD
368702011-11-15 Ulrich Drepper <drepper@gmail.com>
36871
9d65ea3a 36872 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36873 O_CLOEXEC.
36874 * locale/loadlocale.c (_nl_load_locale): Likewise.
36875
09f93bd3
AS
368762011-11-15 Andreas Schwab <schwab@redhat.com>
36877
446514f9
AS
36878 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36879 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36880 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36881 (SYSCALL_GETTIME): Set errno on error.
36882
09f93bd3
AS
36883 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36884 count references to noai6ai_cached.
36885
312be3f9
UD
368862011-11-15 Ulrich Drepper <drepper@gmail.com>
36887
36888 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36889
36890 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36891 FD_CLOEXEC for /proc/self/maps.
36892
36893 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36894 FD_CLOEXEC for /proc/meminfo.
36895
36896 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36897 gai.conf.
36898
36899 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36900 FD_CLOEXEC for given file.
36901
36902 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36903
36904 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36905 FD_CLOEXEC for /etc/hosts.
36906 (_gethtent): Likewise.
36907
36908 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36909
36910 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36911 cancellation and set FD_CLOEXEC for /etc/netgroup.
36912
36913 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36914 reading /etc/publickey.
36915
36916 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36917 allow cancellation when reading /etc/group.
36918
36919 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36920 cancellation.
36921 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36922
36923 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36924 when using data file.
36925
36926 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36927
36928 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36929 (write_nis_obj): Use "c" and "e" in fopen.
36930
36931 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36932
36933 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36934
36935 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36936
36937 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36938
36939 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36940 locale.alias.
36941
36942 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36943
36944 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36945
36946 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36947
36948 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36949 file parsing and set FD_CLOEXEC.
36950
82af0fa8
UD
369512011-11-14 Ulrich Drepper <drepper@gmail.com>
36952
36953 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36954
a5fb313c
AS
369552011-11-14 Andreas Schwab <schwab@redhat.com>
36956
36957 * malloc/arena.c (arena_get2): Don't call reused_arena when
36958 _int_new_arena failed.
36959
6abf3465
UD
369602011-11-14 Ulrich Drepper <drepper@gmail.com>
36961
36962 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36963 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36964 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36965 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36966 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36967 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36968 to compile strcasecmp and strncasecmp.
36969 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36970 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36971
36972 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36973
76e3966e
UD
369742011-11-13 Ulrich Drepper <drepper@gmail.com>
36975
36976 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36977 locale-defines.sym to gen-as-const-headers.
36978 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36979 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36980 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36981 to compile strcasecmp and strncasecmp.
36982 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36983 strcasecmp_l and strncasecmp_l.
36984 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36985 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36986 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36987 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36988 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36989 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36990 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36991 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36992 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36993 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36994 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36995
ab26144e
UD
369962011-11-12 Ulrich Drepper <drepper@gmail.com>
36997
7edb22ef
UD
36998 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36999 result of SYSDEP_GETTIME_CPU to retval.
37000 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37001 parameter list to macro. Remove trailing semicolon. Adjust users.
37002
9694fc44
UD
37003 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37004 variable.
37005
8ad89ef8
UD
37006 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37007 mantissa words.
37008 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37009
0c822ef9
UD
37010 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37011 from unused variable.
37012
874e0564
UD
37013 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37014 DWARF definitions.
37015 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37016 for assembling.
37017
3a2edc79
UD
37018 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37019 over namespaces.
37020
f3c2577f
UD
37021 * sunrpc/rpc_prot.c (rejected): Fix case value.
37022
294ce126
UD
37023 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37024 unsigned long long int to avoid warnings in shift.
37025
5e2b63c6
UD
37026 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37027 of use of trans.
37028 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37029 variable tmp.
37030
e7f4b08e
UD
37031 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37032 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37033 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37034
ab26144e
UD
37035 * nis/nis_table.c (nis_list): Use variable of correct type for
37036 result of __follow_path call.
37037
8a6d5255
AZ
370382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37039
37040 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37041 of math functions ceil, trunc, floor, round, and sqrt, when
37042 avaliable on the platform.
37043 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37044 name clash.
37045 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37046 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37047 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37048
aaddc98c
MP
370492011-10-30 Marek Polacek <mpolacek@redhat.com>
37050
37051 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37052 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37053
95b7042b
RM
370542011-11-11 Roland McGrath <roland@hack.frob.com>
37055
37056 * include/unistd.h: Fix __readlink return type.
37057 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37058
57769839
UD
370592011-11-11 Ulrich Drepper <drepper@gmail.com>
37060
37061 * stdlib/ucontext.h: Undo last change for makecontext.
37062
edc5984d
AS
370632011-11-11 Andreas Schwab <schwab@redhat.com>
37064
98591e58
AS
37065 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37066
edc5984d
AS
37067 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37068 * setjmp/setjmp.h: Mark functions as non-leaf.
37069 * setjmp/bits/setjmp2.h: Likewise.
37070 * stdlib/ucontext.h: Likewise.
37071
77cdc054
AS
370722011-11-10 Andreas Schwab <schwab@redhat.com>
37073
37074 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37075 (reused_arena): Don't check arena limit.
37076 (arena_get2): Atomically check arena limit.
37077
fe72eebd
UD
370782011-11-08 Ulrich Drepper <drepper@gmail.com>
37079
5f078c32
UD
37080 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37081 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37082
fe72eebd
UD
37083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37084 instructions.
37085
ae1bc2fa
AS
370862011-11-07 Andreas Schwab <schwab@redhat.com>
37087
7583a88d
AS
37088 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37089 handler when locking.
37090
ae1bc2fa
AS
37091 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37092 Fix size of allocated buffer.
37093
10fb0bfa
AS
370942011-11-04 Andreas Schwab <schwab@redhat.com>
37095
998832a4
AS
37096 [BZ #10103]
37097 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37098 declarations for long double functions.
37099 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37100
10fb0bfa
AS
37101 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37102
3d7ba52b
AS
371032011-11-03 Andreas Schwab <schwab@redhat.com>
37104
a9ae54a1
AS
37105 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37106 installed.
37107
3d7ba52b
AS
37108 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37109 is disabled.
37110
bc8db248
ST
371112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37112
37113 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37114
45b96dd6
AS
371152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37116
647776f6
AS
37117 * include/alloca.h (stackinfo_alloca_round): Define.
37118 (extend_alloca): Use it.
37119 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37120 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37121 here.
37122
d91a8b93
AS
37123 * scripts/check-local-headers.sh: Ignore libaudit.h.
37124
45b96dd6
AS
37125 * nscd/Makefile (extra-objs): Make recursively expanded.
37126
432d41ce
UD
371272011-11-01 Ulrich Drepper <drepper@gmail.com>
37128
34372fc6
UD
37129 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37131
fadb59f8
UD
37132 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37133 * posix/tst-rfc3484-2.c: Likewise.
37134 * posix/tst-rfc3484-3.c: Likewise.
37135
78239589
UD
37136 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37137 process_vm_writev.
37138 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37139 process_vm_writev.
37140 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37141 process_vm_writev from libc using GLIBC_2.15 version.
37142
432d41ce
UD
37143 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37144
02f9c6cf
PP
371452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37146
37147 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37148 stack usage.
37149
3a2c0242
UD
371502011-10-31 Ulrich Drepper <drepper@gmail.com>
37151
f4ec4833
UD
37152 [BZ #13367]
37153 * nss/getent.c (initgroups_keys): Show error message in case no group
37154 names are given.
37155
3a2c0242
UD
37156 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37157 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37158 __bump_nl_timestamp.
37159 * nscd/connections (nscd_init): When host database is served open
37160 netlink socket and request notification about configuration changes.
37161 (main_loop_poll): Track netlink file descriptor and bump timestamp
37162 in case data becomes available.
37163 (main_loop_epoll): Likewise.
37164 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37165 (database_pers_head): Add extra_data fileds.
37166 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37167 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37168 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37169 Adjust caller.
37170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37171 in6ai data, call __free_in6ai.
37172 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37173 Add -DHAVE_NETLINK.
37174 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37175 interface information. Reuse previous data if netlink timestamp
37176 is not changed.
37177 (__bump_nl_timestamp): New function.
37178 (__free_in6ai): New function.
37179
636064eb
UD
371802011-10-30 Ulrich Drepper <drepper@gmail.com>
37181
37182 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37183 close_not_cancel_no_status here.
37184 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37185
9beb2334
UD
371862011-10-29 Ulrich Drepper <drepper@gmail.com>
37187
6ef76f3b
UD
37188 [BZ #13276]
37189 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37190 return value.
37191
0ffc4f3e 37192 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37193 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37194 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37195
cb95113e
UD
371962011-07-03 Andreas Jaeger <aj@suse.de>
37197
37198 [BZ #10709]
37199 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37200 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37201 * math/libm-test.inc (sin_test): Add test case.
37202
a1b560ff
UD
372032011-10-29 Ulrich Drepper <drepper@gmail.com>
37204
c9aaface
UD
37205 [BZ #13337]
37206 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37207 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37208
d272e7f1
UD
37209 * elf/chroot_canon.c (chroot_canon): Cleanups.
37210
1bc33071
UD
37211 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37212
1760874d
TJ
37213 [BZ #13335]
37214 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37215 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37216
51d91b18
UD
37217 * string/test-strchr.c: Make usable for strchrnul testing.
37218 * string/test-strchrnul.c: New file.
37219 * string/Makefile (strop-tests): Add strchrnul.
37220
a1b560ff 37221 * po/it.po: Update from translation team.
b611fb81 37222 * po/es.po: Likewise.
a1b560ff 37223
a5b81e1f
UD
372242011-10-28 Ulrich Drepper <drepper@gmail.com>
37225
fd52bc6d
UD
37226 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37227 the three constants needed as parameters. Drop the others.
37228 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37229 __m128i_strloadu_tolower.
52e4b9eb
UD
37230 Create and initialize variable zero and use it in all the places
37231 where _mm_setzero_si128 was used.
fd52bc6d 37232
a5b81e1f
UD
37233 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37234 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37235 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37236 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37237 anymore.
37238 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37239 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37240 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37241 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37242 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37243 __mpranred, __mptan.
37244 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37245 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37246 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37247 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37248 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37249 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37250 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37251 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37252 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37253
b4343346
AS
372542011-10-28 Andreas Schwab <schwab@redhat.com>
37255
0c92d8a8
AS
37256 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37257 redefine if SHARED.
37258 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37259
b4343346
AS
37260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37261 wide char related routines to wcsmbs subdir.
37262
3871f58f
AS
372632011-10-27 Andreas Schwab <schwab@redhat.com>
37264
37265 [BZ #13344]
37266 * misc/sys/cdefs.h (__THROWNL): Define.
37267 * posix/unistd.h: Use __THREADNL instead of __THREAD
37268 for memory synchronization functions.
37269
94d44d9f
RM
372702011-10-26 Roland McGrath <roland@hack.frob.com>
37271
21b64b15 37272 [BZ #13349]
94d44d9f
RM
37273 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37274 doesn't exist.
37275 * manual/stdio.texi (Obstack Streams): Node removed.
37276
f6ce9294
AS
372772011-10-26 Andreas Schwab <schwab@redhat.com>
37278
80479147
AS
37279 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37280 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37281 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37282
f6ce9294
AS
37283 * math/math_private.h (math_force_eval): Allow non-addressable
37284 arguments.
37285 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37286
618280a1
UD
372872011-10-25 Ulrich Drepper <drepper@gmail.com>
37288
e0016b11
UD
37289 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37290 file is not needed.
37291
37292 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37294 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37295 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37296 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37297 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37298 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37299 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37300 Add AVX variants.
37301 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37302 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37303 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37304 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37305 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37306 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37307 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37308 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37309 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37310 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37311 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37312 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37313 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37314 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37315 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37316 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37317 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37318 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37319 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37320
37321 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37322 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37323
618280a1
UD
37324 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37325 place. Use VEX encoding when compiling for AVX.
37326
37822576
AS
373272011-10-25 Andreas Schwab <schwab@redhat.com>
37328
1f1e1947
AS
37329 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37330 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37331
37822576
AS
37332 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37333
31ea014d
UD
373342011-10-25 Ulrich Drepper <drepper@gmail.com>
37335
d7826aa1 37336 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37337 useless if() expression.
d7826aa1
UD
37338 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37339 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37340 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37341 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37342 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37343 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37344 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37345 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37346 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37347 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37348 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37349 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37350 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37351 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37352 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37353 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37354 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37357
31ea014d
UD
37358 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37359
16437fec
AS
373602011-10-25 Andreas Schwab <schwab@redhat.com>
37361
37362 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37363 condition.
37364 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37365
31d3cc00
UD
373662011-10-25 Ulrich Drepper <drepper@gmail.com>
37367
37368 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37369 .text section. Avoid duplicate constants.
37370 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37372 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37378 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37379 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37380 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37381 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37382 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37383 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37384 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37385 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37386 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37387 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37388 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37389 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37390 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37391 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37392 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37393 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37394 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37395 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37396 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37397 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37398 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37399 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37400 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37401 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37403 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37404 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37405 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37406 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37408 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37409 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37410 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37411 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37412 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37413 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37414 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37415
58985aa9
UD
374162011-10-24 Ulrich Drepper <drepper@gmail.com>
37417
202c9deb
UD
37418 * sysdeps/x86_64/dla.h: Move to ...
37419 * sysdeps/x86_64/fpu/dla.h: ...here.
37420 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37421 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37422
af968f62
UD
37423 * config.make.in: Add have-mfma4 entry.
37424 * configure.in: Substitute libc_cv_cc_fma4.
37425 * math/Makefile (dbl-only-routines): Add sincostab.
37426 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37427 Use __sincostab not sincos.
37428 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37429 name is a macro.
37430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37434 using __copysign.
37435 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37436 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37437 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37438 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37439 and __inv.
37440 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37441 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37442 __copysign.
37443 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37444 define aliases when function name is a macro.
37445 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37446 sysdeps/ieee754/dbl-64/sincos.tbl.
37447 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37448 fma4-enabled routines.
37449 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37451 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37452 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37453 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37454 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37455 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37456 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37457 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37458 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37459 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37460 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37461 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37462 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37463 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37464 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37465 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37466 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37467 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37468 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37469 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37470 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37471 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37472 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37473 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37474 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37475 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37476 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37477 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37478 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37479
58985aa9
UD
37480 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37481 rename.
37482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37490
a201fbcf
AS
374912011-10-24 Andreas Schwab <schwab@redhat.com>
37492
37493 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37494
fc2ee42a
LD
374952011-10-23 Ulrich Drepper <drepper@gmail.com>
37496
bb3129bd
UD
37497 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37498
0275fff8
UD
37499 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37500 prediction.
37501 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37502
2fa2ae85
UD
37503 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37504 Remove unused variable magic_bits.
37505 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37506
fc2ee42a
LD
37507 * string/strnlen.c: Define and use STRNLEN macro.
37508 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37509 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37511 * wcsmbs/wcslen.c: Define and use WCSLEN.
37512 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37513 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37514 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37515 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37516 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37517 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37518 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37519
ce7dd29f
LD
375202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37521
37522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37523 strnlen-sse2-no-bsf.
37524 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37526 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37527 Add strnlen support.
37528 (USE_AS_STRNLEN): New macro.
37529 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37530 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37531 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37532 * sysdeps/x86_64/wcslen.S: New file.
37533
979c70a3
MZ
375342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37535
37536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37537 XMM-moves are used for copying on small sizes.
37538
2d09f82f
LD
375392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37540
37541 * wcsmbs/Makefile (strop-tests): Add wcschr.
37542 * wcsmbs/test-wcschr.c: New file.
37543 * string/test-strchr.c: Update.
37544 Add wcschr support.
37545 (WIDE): New macro.
37546
619fccca
LD
375472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37548
2d09f82f 37549 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37550 * wcsmbs/test-wcslen.c: New file.
37551 * string/test-strlen.c: Update.
37552 Add wcslen support.
37553 (WIDE): New macro.
37554
09f699ea
UD
375552011-10-23 Ulrich Drepper <drepper@gmail.com>
37556
37557 * po/it.po: Update from translation team.
37558
95584d3b
LD
375592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37560
37561 * sysdeps/x86_64/wcscmp.S: Update.
37562 Fix wrong comparison semantics.
37563 wcscmp shall use signed comparison not unsigned.
37564 Don't use substraction to avoid overflow bug.
37565 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37566 * wcsmbc/wcscmp.c: Likewise.
37567 * string/test-strcmp.c: Likewise.
37568 Add new tests to check cases with negative values.
37569
c8b3296b
UD
375702011-10-23 Ulrich Drepper <drepper@gmail.com>
37571
37572 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37573 * sysdeps/x86_64/dla.h: ...here. New file.
37574 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37583
246ad57a
AS
375842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37585
37586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37587 __ynl_finite aliases.
37588
a1a87169
UD
375892011-10-22 Ulrich Drepper <drepper@gmail.com>
37590
0d355eb7
UD
37591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37592
a1a87169
UD
37593 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37594 define DLA_FMA.
37595 [DLA_FMA] (EMULV): Use DLA_FMA.
37596 [DLA_FMA] (MUL12): Use EMULV.
37597 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37598 that are not needed.
37599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37606
ee2aafe0
AS
376072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37608
37609 * math/s_nan.c: Undef __nan.
37610 * math/s_nanf.c: Undef __nanf.
37611 * math/s_nanl.c: Undef __nanl.
37612 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37613 "math_private.h".
37614
bc62c2fb
UD
376152011-10-22 Ulrich Drepper <drepper@gmail.com>
37616
77425c63
UD
37617 * math/s_catan.c: Add branch predictions.
37618 * math/s_catanf.c: Likewise.
37619 * math/s_catanh.c: Likewise.
37620 * math/s_catanhf.c: Likewise.
37621 * math/s_catanhl.c: Likewise.
37622 * math/s_catanl.c: Likewise.
37623 * math/s_cexp.c: Likewise.
37624 * math/s_cexpf.c: Likewise.
37625 * math/s_cexpl.c: Likewise.
37626 * math/s_clog.c: Likewise.
37627 * math/s_clog10.c: Likewise.
37628 * math/s_clog10f.c: Likewise.
37629 * math/s_clog10l.c: Likewise.
37630 * math/s_clogf.c: Likewise.
37631 * math/s_clogl.c: Likewise.
37632 * math/s_csqrt.c: Likewise.
37633 * math/s_csqrtf.c: Likewise.
37634 * math/s_csqrtl.c: Likewise.
37635 * math/s_ctanf.c: Likewise.
37636 * math/s_ctanh.c: Likewise.
37637 * math/s_ctanhf.c: Likewise.
37638 * math/s_ctanhl.c: Likewise.
37639 * math/s_ctanl.c: Likewise.
37640
bc62c2fb
UD
37641 * math/math_private.h: Define __nan, __nanf, __nanl.
37642 * math/s_cacosh.c: Include <math_private.h>.
37643 * math/s_cacoshl.c: Likewise.
37644 * math/s_casinh.c: Likewise.
37645 * math/s_casinhf.c: Likewise.
37646 * math/s_casinhl.c: Likewise.
37647 * math/s_ccos.c: Rely entire on ccosh.
37648 * math/s_ccosf.c: Rely entire on ccoshf.
37649 * math/s_ccosl.c: Rely entirely on ccoshl.
37650 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37651 Remove tests for FE_INVALID.
37652 * math/s_ccoshf.c: Likewise.
37653 * math/s_ccoshl.c: Likewise.
37654 * math/s_csin.c: Likewise.
37655 * math/s_csinf.c: Likewise.
37656 * math/s_csinh.c Likewise.
37657 * math/s_csinhf.c: Likewise.
37658 * math/s_csinhl.c: Likewise.
37659 * math/s_csinl.c: Likewise.
37660 * math/s_ctan.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37662 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37663 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37664
8ec250a4
UD
376652011-10-21 Ulrich Drepper <drepper@gmail.com>
37666
c196fed8
UD
37667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37668 compilation problems.
37669
8ec250a4
UD
37670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37671 __builtin_expect.
37672
8d4f46c6
UD
376732011-10-20 Ulrich Drepper <drepper@gmail.com>
37674
ed72b654
UD
37675 * sysdeps/i386/configure.in: Test for -mfma4 option.
37676 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37677 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37678 COMMON_CPUID_INDEX_80000001.
37679 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37680 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37681 use it if FMA3 is not supported.
37682 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37683
8d4f46c6
UD
37684 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37685 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37686
d45c60c2
AS
376872011-10-20 Andreas Schwab <schwab@redhat.com>
37688
37689 [BZ #12892]
37690 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37691 it would create a cycle with a link time dependency.
37692
d9a4d2ab
UD
376932011-10-19 Ulrich Drepper <drepper@gmail.com>
37694
855d1560
UD
37695 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37696 instruction.
37697 * string/Makefile (strop-tests): Add rawmemchr.
37698 * string/test-rawmemchr.c: New file.
37699
d9a4d2ab
UD
37700 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37701 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37702 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37703 when compiling str{,n}casecmp and when AVX is available. Hook up
37704 new optimized code in initializers.
37705
8f3b1ffe
AS
377062011-10-19 Andreas Schwab <schwab@redhat.com>
37707
37708 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37709 __feraiseexcept instead of feraiseexcept.
37710
d38f1dba
UD
377112011-10-18 Ulrich Drepper <drepper@gmail.com>
37712
d9a8d0ab
UD
37713 * math/math_private.h: Define defaults for libc_fetestexcept and
37714 libc_feupdateenv.
37715 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37716 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37717 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37718 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37719 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37720 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37721 libc_fetestexcept and libc_feupdateenv.
37722
4855e3dd
UD
37723 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37724 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37725 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37726 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37727 libc_feholdexcept_setround.
37728
581d30e3
UD
37729 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37730 Add s_nearbyint-c and s_nearbyintf-c.
37731 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37732 nearbyintf inlines.
37733 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37734 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37735 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37736 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37737
d38f1dba
UD
37738 * math/math_private.h: Define defaults for libc_fegetround,
37739 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37740 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37741 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37742 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37743 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37744 standard functions.
37745 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37746 Remove comments and hacks for old compiler versions.
37747 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37748 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37749 libc_feholdexceptl.
37750
caa6c9d8
AS
377512011-10-18 Andreas Schwab <schwab@redhat.com>
37752
37753 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37754 (__feraiseexcept_renamed): Add __NTH.
37755 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37756 namespace violations.
37757
97c066e6
UD
377582011-10-17 Ulrich Drepper <drepper@gmail.com>
37759
99ce7b04
UD
37760 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37761
1004d182
UD
37762 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37763
228a984d
UD
37764 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37765 recently added interfaces.
37766 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37767
c8553a6a
UD
37768 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37769 about macro parameter expansion.
37770
ed22dcf6
UD
37771 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37772 __NO_MATH_INLINES is defined. Cleanups.
37773
37774 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37775 and __floorf is target has SSE4.1.
37776 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37777 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37778 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37779 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37780
b171c137
UD
37781 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37782 name.
37783 (floorf): Likewise.
37784
97c066e6
UD
37785 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37786
629f62ef
AS
377872011-10-17 Andreas Schwab <schwab@redhat.com>
37788
49a43d80
AS
37789 * misc/sys/cdefs.h: Fix last change.
37790
629f62ef
AS
37791 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37792 database lookup.
37793
e453f6cd
UD
377942011-10-16 Ulrich Drepper <drepper@gmail.com>
37795
aa78043a
UD
37796 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37797
ad0f5cad
UD
37798 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37799 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37800 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37801 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37803 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37804 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37805 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37806 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37807 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37808 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37809 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37810 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37811 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37812 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37813 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37814 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37815 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37816 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37817 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37818 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37819 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37820
37821 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37822 ceil, ceilf, floor, floorf.
37823
37824 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37825 Perform IRELATIVE relocations last.
37826
e453f6cd
UD
37827 * elf/do-rel.h: Add another parameter nrelative, replacing the
37828 local variable with the same name. Change name of the function
37829 to end in Rel or Rela (uppercase).
37830 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37831 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37832 elf_dynamic_do_##reloc function.
37833
fd5bdc09
UD
378342011-10-15 Ulrich Drepper <drepper@gmail.com>
37835
79b195b5
UD
37836 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37837 is sufficient, at least on modern CPUs.
37838
d4a28569
UD
37839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37840
b61099b5
UD
37841 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37842 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37843
bcf01e6d
UD
37844 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37845 __expl_finite.
37846 * math/bits/math-finite.h: Add entries for exp.
37847 * math/e_expl.c: Add __*_finite alias.
37848 * sysdeps/i386/fpu/e_exp.S: Likewise.
37849 * sysdeps/i386/fpu/e_expf.S: Likewise.
37850 * sysdeps/i386/fpu/e_expl.c: Likewise.
37851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37852 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37855 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37856 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37858
ba1a0d59
UD
37859 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37860 is sufficient, at least on modern CPUs.
37861
fd5bdc09
UD
37862 * ctype/ctype-info.c (__ctype_init): Define.
37863 * include/ctype.h (__ctype_init): Declare.
37864 (__ctype_b_loc): The variable is always initialized.
37865 (__ctype_toupper_loc): Likewise.
37866 (__ctype_tolower_loc): Likewise.
37867 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37868 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37869
7872cfb0
AS
378702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37871
b468825a
AS
37872 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37873
7872cfb0
AS
37874 * configure.in: Also look in $cxxmachine/include for C++ system
37875 headers.
37876
be13f7bf
LD
378772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37878
37879 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37880 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37881 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37882 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37883 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37884 (USE_AS_WMEMCMP): New macro.
37885 Fixing indents.
37886 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37887 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37888 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37889 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37891 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37892 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37893 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37894 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37895 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37897 (USE_AS_WMEMCMP): New macro.
37898 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37899 * sysdeps/string/test-memcmp.c: Update.
37900 Fix simple_wmemcmp.
37901 Add new tests.
37902 * wcsmbs/wmemcmp.c: Update.
37903 (WMEMCMP): New macro.
37904 Fix overflow bug.
37905
556a2007
AJ
379062011-10-12 Andreas Jaeger <aj@suse.de>
37907
37908 [BZ #13268]
37909 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37910
538faaa7
UD
379112011-10-15 Ulrich Drepper <drepper@gmail.com>
37912
ab6737ff
UD
37913 * libio/iofwide.c (do_length): Avoid warning.
37914
538faaa7
UD
37915 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37916
396a21b1
UD
379172011-10-14 Ulrich Drepper <drepper@gmail.com>
37918
cdf2901f
UD
37919 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37920
38ad40ce
UD
37921 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37922 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37923 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37924 * sysdeps/i386/i686/fpu/e_log.S: New file.
37925 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37926 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37927
396a21b1
UD
37928 * ctype/ctype.h: Add support for inlined isXXX functions when
37929 compiling C++ code.
37930
6b1f68c9
AS
379312011-10-14 Andreas Schwab <schwab@redhat.com>
37932
349290c0
AS
37933 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37934
6b1f68c9
AS
37935 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37936
f2282d42
RM
379372011-10-13 Roland McGrath <roland@hack.frob.com>
37938
37939 [BZ #13291]
37940 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37941
5298ffa8
AS
379422011-10-13 Andreas Schwab <schwab@redhat.com>
37943
714fad23
AS
37944 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37945 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37946 feraiseexcept.
37947
81dcc7fb
AS
37948 * sysdeps/x86_64/memrchr.S: Check for zero size.
37949
5298ffa8
AS
37950 * string/stratcliff.c: Add memrchr tests.
37951
951fbcec
LD
379522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37953
37954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37955 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37956 rawmemchr-sse2 rawmemchr-sse2-bsf.
37957 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37958 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37959 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37960 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37961 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37962 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37963 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37964 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37965 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37966 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37967 * string/memrchr.c (MEMRCHR): New macro.
37968
0ac5ae23
UD
379692011-10-12 Ulrich Drepper <drepper@gmail.com>
37970
37971 Add integration with gcc's -ffinite-math-only and optimize wrapper
37972 functions in libm.
37973 * Versions.def: Define GLIBC_2.15 version for libm.
37974 * math/Makefile (headers): Add bits/math-finite.h.
37975 * math/bits/math-finite.h: New file.
37976 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37977 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37978 * math/e_acoshl.c: Add __*_finite alias.
37979 * math/e_acosl.c: Likewise.
37980 * math/e_asinl.c: Likewise.
37981 * math/e_atan2l.c: Likewise.
37982 * math/e_atanhl.c: Likewise.
37983 * math/e_coshl.c: Likewise.
37984 * math/e_exp10.c: Likewise.
37985 * math/e_exp10f.c: Likewise.
37986 * math/e_exp10l.c: Likewise.
37987 * math/e_exp2l.c: Likewise.
37988 * math/e_fmodl.c: Likewise.
37989 * math/e_gammal_r.c: Likewise.
37990 * math/e_hypotl.c: Likewise.
37991 * math/e_j0l.c: Likewise.
37992 * math/e_j1l.c: Likewise.
37993 * math/e_jnl.c: Likewise.
37994 * math/e_lgammal_r.c: Likewise.
37995 * math/e_log10l.c: Likewise.
37996 * math/e_log2l.c: Likewise.
37997 * math/e_logl.c: Likewise.
37998 * math/e_powl.c: Likewise.
37999 * math/e_sinhl.c: Likewise.
38000 * math/e_sqrtl.c: Likewise.
38001 * math/e_scalb.c: Completely rewritten and optimized.
38002 * math/e_scalbf.c: Likewise.
38003 * math/e_scalbl.c: Likewise.
38004 * math/w_acos.c: Likewise.
38005 * math/w_acosf.c: Likewise.
38006 * math/w_acosl.c: Likewise.
38007 * math/w_acosh.c: Likewise.
38008 * math/w_acoshf.c: Likewise.
38009 * math/w_acoshl.c: Likewise.
38010 * math/w_asin.c: Likewise.
38011 * math/w_asinf.c: Likewise.
38012 * math/w_asinl.c: Likewise.
38013 * math/w_atan2.c: Likewise.
38014 * math/w_atan2f.c: Likewise.
38015 * math/w_atan2l.c: Likewise.
38016 * math/w_atanh.c: Likewise.
38017 * math/w_atanhf.c: Likewise.
38018 * math/w_atanhl.c: Likewise.
38019 * math/w_exp10.c: Likewise.
38020 * math/w_exp10f.c: Likewise.
38021 * math/w_exp10l.c: Likewise.
38022 * math/w_fmod.c: Likewise.
38023 * math/w_fmodf.c: Likewise.
38024 * math/w_fmodl.c: Likewise.
38025 * math/w_j0.c: Likewise.
38026 * math/w_j0f.c: Likewise.
38027 * math/w_j0l.c: Likewise.
38028 * math/w_j1.c: Likewise.
38029 * math/w_j1f.c: Likewise.
38030 * math/w_j1l.c: Likewise.
38031 * math/w_jn.c: Likewise.
38032 * math/w_jnf.c: Likewise.
38033 * math/w_log.c: Likewise.
38034 * math/w_logf.c: Likewise.
38035 * math/w_logl.c: Likewise.
38036 * math/w_log10.c: Likewise.
38037 * math/w_log10f.c: Likewise.
38038 * math/w_log10l.c: Likewise.
38039 * math/w_log2.c: Likewise.
38040 * math/w_log2f.c: Likewise.
38041 * math/w_log2l.c: Likewise.
38042 * math/w_pow.c: Likewise.
38043 * math/w_powf.c: Likewise.
38044 * math/w_powl.c: Likewise.
38045 * math/w_remainder.c: Likewise.
38046 * math/w_remainderf.c: Likewise.
38047 * math/w_remainderl.c: Likewise.
38048 * math/w_scalb.c: Likewise.
38049 * math/w_scalbf.c: Likewise.
38050 * math/w_scalbl.c: Likewise.
38051 * math/w_sqrt.c: Likewise.
38052 * math/w_sqrtf.c: Likewise.
38053 * math/w_sqrtl.c: Likewise.
38054 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38055 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38056 used.
38057 * math/math_private.h: Declare __kernel_standard_f.
38058 * math/w_cosh.c: Remove cruft and optimize a bit.
38059 * math/w_coshf.c: Likewise.
38060 * math/w_coshl.c: Likewise.
38061 * math/w_exp2.c: Likewise.
38062 * math/w_exp2f.c: Likewise.
38063 * math/w_exp2l.c: Likewise.
38064 * math/w_hypot.c: Likewise.
38065 * math/w_hypotf.c: Likewise.
38066 * math/w_hypotl.c: Likewise.
38067 * math/w_lgamma.c: Likewise.
38068 * math/w_lgamma_r.c: Likewise.
38069 * math/w_lgammaf.c: Likewise.
38070 * math/w_lgammaf_r.c: Likewise.
38071 * math/w_lgammal.c: Likewise.
38072 * math/w_lgammal_r.c: Likewise.
38073 * math/w_sinh.c: Likewise.
38074 * math/w_sinhf.c: Likewise.
38075 * math/w_sinhl.c: Likewise.
38076 * math/w_tgamma.c: Likewise.
38077 * math/w_tgammaf.c: Likewise.
38078 * math/w_tgammal.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38081 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38082 Minor optimizations. Pretty printing. Remove cruft.
38083 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38084 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38085 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38086 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38087 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38088 * sysdeps/i386/fpu/e_asin.S: Likewise.
38089 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38090 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38091 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38092 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38093 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38094 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38095 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38096 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38097 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38098 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38099 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38100 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38101 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38102 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38103 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38104 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38105 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38106 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38107 * sysdeps/i386/fpu/e_log.S: Likewise.
38108 * sysdeps/i386/fpu/e_log10.S: Likewise.
38109 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38110 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38111 * sysdeps/i386/fpu/e_log2.S: Likewise.
38112 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38113 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38114 * sysdeps/i386/fpu/e_logf.S: Likewise.
38115 * sysdeps/i386/fpu/e_logl.S: Likewise.
38116 * sysdeps/i386/fpu/e_pow.S: Likewise.
38117 * sysdeps/i386/fpu/e_powf.S: Likewise.
38118 * sysdeps/i386/fpu/e_powl.S: Likewise.
38119 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38120 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38121 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38122 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38123 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38124 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38125 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38126 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38127 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38129 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38131 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38132 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38133 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38135 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38136 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38137 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38138 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38139 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38141 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38142 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38144 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38145 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38148 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38149 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38150 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38151 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38152 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38153 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38154 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38155 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38156 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38157 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38158 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38159 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38160 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38161 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38162 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38163 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38164 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38165 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38166 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38167 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38168 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38169 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38173 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38174 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38177 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38178 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38180 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38183 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38184 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38185 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38186 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38187 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38188 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38192 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38195 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38196 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38198 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38199 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38200 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38201 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38204 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38205 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38206 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38207 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38208 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38209 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38210 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38211 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38213 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38214 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38217 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38219 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38220 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38221 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38222 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38223 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38224 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38225 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38226 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38227 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38228 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38229 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38230 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38231 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38232 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38233 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38234 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38235 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38236 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38237 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38238 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38239 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38240 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38241 (__isnanf): Likewise.
38242 (__isinf_ns): Likewise.
38243 (__isinf_nsf): Likewise.
38244 (__finite): Likewise.
38245 (__finitef): Likewise.
38246 (__ieee754_sqrt): Define as macro.
38247 (__ieee754_sqrtf): Define as macro.
38248 (__ieee754_sqrtl): Define as macro.
38249 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38250 inlined copy.
38251 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38252 __FINITE_MATH_ONLY__ consistent.
38253 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38254
12cc2fcd
AS
382552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38256
a843a204
AS
38257 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38258 of rawmemchr.
38259
12cc2fcd
AS
38260 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38261
c853acd5
UD
382622011-10-09 Ulrich Drepper <drepper@gmail.com>
38263
38264 * po/ja.po: Update from translation team.
38265
c658d255
RM
382662011-10-08 Roland McGrath <roland@hack.frob.com>
38267
110946e4
RM
38268 * locale/programs/locarchive.c (prepare_address_space): New function.
38269 (create_archive, enlarge_archive, open_archive): Use it.
38270
50604220
RM
38271 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38272 inside [SHARED], where it is used.
38273
c658d255
RM
38274 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38275
38276 * nss/getent.c (netgroup_keys): Remove unused variable.
38277 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38278
6a621eb7
UD
382792011-10-08 Ulrich Drepper <drepper@gmail.com>
38280
7edb55ce
UD
38281 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38282 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38284 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38285 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38286 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38287 * math/Makefile (libm-calls): Add s_isinf_ns.
38288 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38289 * math/multc3.c: Likewise.
38290 * math/s_casin.c: Likewise.
38291 * math/s_casinf.c: Likewise.
38292 * math/s_casinl.c: Likewise.
38293 * math/s_ccos.c: Likewise.
38294 * math/s_ccosf.c: Likewise.
38295 * math/s_ccosl.c: Likewise.
38296 * math/s_ctan.c: Likewise.
38297 * math/s_ctanf.c: Likewise.
38298 * math/s_ctanh.c: Likewise.
38299 * math/s_ctanhf.c: Likewise.
38300 * math/s_ctanhl.c: Likewise.
38301 * math/s_ctanl.c: Likewise.
38302 * math/w_fmod.c: Likewise.
38303 * math/w_fmodf.c: Likewise.
38304 * math/w_fmodl.c: Likewise.
38305 * math/w_remainder.c: Likewise.
38306 * math/w_remainderf.c: Likewise.
38307 * math/w_remainderl.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38309 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38310 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38312 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38313 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38314 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38315 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38316
187da0ae
UD
38317 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38318 of the number.
38319 * stdio-common/printf_fphex.c: Likewise.
38320 * stdio-common/printf_size.c: Likewise.
38321
9277c064
UD
38322 * math/e_exp10.c: Include math_private.h using <...> not "...".
38323 * math/e_exp10f.c: Likewise.
38324 * math/e_exp10l.c: Likewise.
38325 * math/e_exp2l.c: Likewise.
38326 * math/e_j0l.c: Likewise.
38327 * math/e_j1l.c: Likewise.
38328 * math/e_jnl.c: Likewise.
38329 * math/e_lgammal_r.c: Likewise.
38330 * math/e_rem_pio2l.c: Likewise.
38331 * math/e_scalb.c: Likewise.
38332 * math/e_scalbf.c: Likewise.
38333 * math/e_scalbl.c: Likewise.
38334 * math/k_cosl.c: Likewise.
38335 * math/k_sinl.c: Likewise.
38336 * math/k_tanl.c: Likewise.
38337 * math/s_cacoshf.c: Likewise.
38338 * math/s_catan.c: Likewise.
38339 * math/s_catanf.c: Likewise.
38340 * math/s_catanh.c: Likewise.
38341 * math/s_catanhf.c: Likewise.
38342 * math/s_catanhl.c: Likewise.
38343 * math/s_catanl.c: Likewise.
38344 * math/s_ccosh.c: Likewise.
38345 * math/s_ccoshf.c: Likewise.
38346 * math/s_ccoshl.c: Likewise.
38347 * math/s_cexp.c: Likewise.
38348 * math/s_cexpf.c: Likewise.
38349 * math/s_cexpl.c: Likewise.
38350 * math/s_clog.c: Likewise.
38351 * math/s_clog10.c: Likewise.
38352 * math/s_clog10f.c: Likewise.
38353 * math/s_clog10l.c: Likewise.
38354 * math/s_clogf.c: Likewise.
38355 * math/s_clogl.c: Likewise.
38356 * math/s_csin.c: Likewise.
38357 * math/s_csinf.c: Likewise.
38358 * math/s_csinh.c: Likewise.
38359 * math/s_csinhf.c: Likewise.
38360 * math/s_csinhl.c: Likewise.
38361 * math/s_csinl.c: Likewise.
38362 * math/s_csqrt.c: Likewise.
38363 * math/s_csqrtf.c: Likewise.
38364 * math/s_csqrtl.c: Likewise.
38365 * math/s_ctan.c: Likewise.
38366 * math/s_ctanf.c: Likewise.
38367 * math/s_ctanh.c: Likewise.
38368 * math/s_ctanhf.c: Likewise.
38369 * math/s_ctanhl.c: Likewise.
38370 * math/s_ctanl.c: Likewise.
38371 * math/s_ldexp.c: Likewise.
38372 * math/s_ldexpf.c: Likewise.
38373 * math/s_ldexpl.c: Likewise.
38374 * math/s_significand.c: Likewise.
38375 * math/s_significandf.c: Likewise.
38376 * math/s_significandl.c: Likewise.
38377 * math/w_acos.c: Likewise.
38378 * math/w_acosf.c: Likewise.
38379 * math/w_acosh.c: Likewise.
38380 * math/w_acoshf.c: Likewise.
38381 * math/w_acoshl.c: Likewise.
38382 * math/w_acosl.c: Likewise.
38383 * math/w_asin.c: Likewise.
38384 * math/w_asinf.c: Likewise.
38385 * math/w_asinl.c: Likewise.
38386 * math/w_atan2.c: Likewise.
38387 * math/w_atan2f.c: Likewise.
38388 * math/w_atan2l.c: Likewise.
38389 * math/w_atanh.c: Likewise.
38390 * math/w_atanhf.c: Likewise.
38391 * math/w_atanhl.c: Likewise.
38392 * math/w_cosh.c: Likewise.
38393 * math/w_coshf.c: Likewise.
38394 * math/w_coshl.c: Likewise.
38395 * math/w_dremf.c: Likewise.
38396 * math/w_exp10.c: Likewise.
38397 * math/w_exp10f.c: Likewise.
38398 * math/w_exp10l.c: Likewise.
38399 * math/w_exp2.c: Likewise.
38400 * math/w_exp2f.c: Likewise.
38401 * math/w_fmod.c: Likewise.
38402 * math/w_fmodf.c: Likewise.
38403 * math/w_fmodl.c: Likewise.
38404 * math/w_hypot.c: Likewise.
38405 * math/w_hypotf.c: Likewise.
38406 * math/w_hypotl.c: Likewise.
38407 * math/w_j0.c: Likewise.
38408 * math/w_j0f.c: Likewise.
38409 * math/w_j0l.c: Likewise.
38410 * math/w_j1.c: Likewise.
38411 * math/w_j1f.c: Likewise.
38412 * math/w_j1l.c: Likewise.
38413 * math/w_jn.c: Likewise.
38414 * math/w_jnf.c: Likewise.
38415 * math/w_jnl.c: Likewise.
38416 * math/w_lgamma.c: Likewise.
38417 * math/w_lgamma_r.c: Likewise.
38418 * math/w_lgammaf.c: Likewise.
38419 * math/w_lgammaf_r.c: Likewise.
38420 * math/w_lgammal.c: Likewise.
38421 * math/w_lgammal_r.c: Likewise.
38422 * math/w_log.c: Likewise.
38423 * math/w_log10.c: Likewise.
38424 * math/w_log10f.c: Likewise.
38425 * math/w_log10l.c: Likewise.
38426 * math/w_log2.c: Likewise.
38427 * math/w_log2f.c: Likewise.
38428 * math/w_log2l.c: Likewise.
38429 * math/w_logf.c: Likewise.
38430 * math/w_logl.c: Likewise.
38431 * math/w_pow.c: Likewise.
38432 * math/w_powf.c: Likewise.
38433 * math/w_powl.c: Likewise.
38434 * math/w_remainder.c: Likewise.
38435 * math/w_remainderf.c: Likewise.
38436 * math/w_remainderl.c: Likewise.
38437 * math/w_scalb.c: Likewise.
38438 * math/w_scalbf.c: Likewise.
38439 * math/w_scalbl.c: Likewise.
38440 * math/w_sinh.c: Likewise.
38441 * math/w_sinhf.c: Likewise.
38442 * math/w_sinhl.c: Likewise.
38443 * math/w_sqrt.c: Likewise.
38444 * math/w_sqrtf.c: Likewise.
38445 * math/w_sqrtl.c: Likewise.
38446 * math/w_tgamma.c: Likewise.
38447 * math/w_tgammaf.c: Likewise.
38448 * math/w_tgammal.c: Likewise.
38449
6a621eb7
UD
38450 * po/ja.po: Update from translation team.
38451
bf582445
AJ
384522011-09-29 Andreas Jaeger <aj@suse.de>
38453
f9efbf3a
AJ
38454 [BZ #13179]
38455 * sunrpc/netname.c (netname2host): Fix logic.
38456
bf582445
AJ
38457 [BZ #6779]
38458 [BZ #6783]
38459 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38460 correctly.
38461 * math/w_remainder.c (__remainder): Likewise.
38462 * math/w_remainderf.c (__remainderf): Likewise.
38463 * math/libm-test.inc (remainder_test): Add test cases.
38464
48693bea
AK
384652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38466
38467 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38468 sdiv_qrnnd.
38469
42622229
LD
384702011-10-07 Ulrich Drepper <drepper@gmail.com>
38471
38472 * string/test-memcmp.c: Avoid unncessary #defines.
38473 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38474
093ecf92
LD
384752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38476
38477 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38478 Use new sse2 version for core i3 - i7 as it's faster
38479 than sse42 version.
38480 (bit_Prefer_PMINUB_for_stringop): New.
38481 * sysdeps/x86_64/rawmemchr.S: Update.
38482 Replace with faster SSE2 version.
38483 * sysdeps/x86_64/memrchr.S: New file.
38484 * sysdeps/x86_64/memchr.S: Update.
38485 Replace with faster SSE2 version.
38486
fde56e5c
MP
384872011-09-12 Marek Polacek <mpolacek@redhat.com>
38488
38489 * elf/dl-load.c (lose): Add cast to avoid warning.
38490
21fd49a9
UD
384912011-10-07 Ulrich Drepper <drepper@gmail.com>
38492
5a06e643
UD
38493 * po/ca.po: Update from translation team.
38494
684ae515
UD
38495 * inet/getnetgrent_r.c: Hook up nscd.
38496 * nscd/Makefile (routines): Add nscd_netgroup.
38497 (nscd-modules): Add netgroupcache.
38498 (CFLAGS-netgroupcache.c): Define.
38499 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38500 (cache_search): Add const to second parameter.
38501 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38502 INNETGR.
38503 (dbs): Add netgrdb entry.
38504 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38505 (verify_persistent_db): Handle netgrdb.
38506 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38507 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38508 GETFDNETGR.
38509 (netgroup_response_header): Define.
38510 (innetgroup_response_header): Define.
38511 (datahead): Add netgroup_response_header and innetgroup_response_header
38512 elements.
38513 * nscd/nscd.conf: Add entries for netgroup cache.
38514 * nscd/nscd.h (dbtype): Add netgrdb.
38515 (_PATH_NSCD_NETGROUP_DB): Define.
38516 (netgroup_iov_disabled): Declare.
38517 (xmalloc, xcalloc, xrealloc): Move declarations here.
38518 (cache_search): Adjust prototype.
38519 Add netgroup-related prototypes.
38520 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38521 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38522 (__nscd_innetgr): Declare.
38523 * nscd/selinux.c (perms): Use access_vector_t as element type and
38524 add netgroup-related initializers.
38525 * nscd/netgroupcache.c: New file.
38526 * nscd/nscd_netgroup.c: New file.
38527 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38528 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38529 For four parameters use innetgr.
38530 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38531 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38532 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38533 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38534
21fd49a9
UD
38535 * nscd/connections.c (register_traced_file): Don't register file
38536 for disabled databases.
38537
054c0457
UD
385382011-10-06 Ulrich Drepper <drepper@gmail.com>
38539
32b63198
UD
38540 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38541
054c0457
UD
38542 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38543 from tree and freeing node.
38544
64031225
JO
385452011-09-25 Jiri Olsa <jolsa@redhat.com>
38546
38547 * nss/nsswitch.c (__nss_database_lookup): Handle
38548 nss_parse_service_list out of memory case.
38549
0490345c
JO
385502011-09-15 Jiri Olsa <jolsa@redhat.com>
38551
38552 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38553 out of memory case.
38554
3a62d00d
AS
385552011-10-04 Andreas Schwab <schwab@redhat.com>
38556
38557 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38558 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38559 pass it down.
38560 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38561 elf_machine_rela, elf_machine_lazy_rel.
38562 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38563 (ELF_DYNAMIC_DO_REL): Likewise.
38564 (ELF_DYNAMIC_DO_RELA): Likewise.
38565 (ELF_DYNAMIC_RELOCATE): Likewise.
38566 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38567 to ELF_DYNAMIC_DO_REL.
38568 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38569 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38570 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38571 elf_machine_rela.
38572 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38573 skip_ifunc, don't call ifunc function if non-zero.
38574 (elf_machine_rela): Likewise.
38575 (elf_machine_lazy_rel): Likewise.
38576 (elf_machine_lazy_rela): Likewise.
38577 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38578 (elf_machine_lazy_rel): Likewise.
38579 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38580 Likewise.
38581 (elf_machine_lazy_rel): Likewise.
38582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38583 Likewise.
38584 (elf_machine_lazy_rel): Likewise.
38585 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38586 (elf_machine_lazy_rel): Likewise.
38587 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38588 (elf_machine_lazy_rel): Likewise.
38589 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38590 (elf_machine_lazy_rel): Likewise.
38591 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38592 (elf_machine_lazy_rel): Likewise.
38593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38594 (elf_machine_lazy_rel): Likewise.
38595 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38596 (elf_machine_lazy_rel): Likewise.
38597
68577918
UD
385982011-09-28 Ulrich Drepper <drepper@gmail.com>
38599
38600 * nss/nss_files/files-init.c (_nss_files_init): Use static
38601 initialization for all the *_traced_file variables.
38602
68822d74
AS
386032011-09-28 Andreas Schwab <schwab@redhat.com>
38604
38605 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38606
2056100b
RM
386072011-09-27 Roland McGrath <roland@hack.frob.com>
38608
38609 [BZ #13226]
38610 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38611
32c76b63
AS
386122011-09-27 Andreas Schwab <schwab@redhat.com>
38613
38614 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38615 Reread the line before reparsing it.
38616
bf972c9d
AS
386172011-09-26 Andreas Schwab <schwab@redhat.com>
38618
38619 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38620
e057a1b5
JM
386212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38622 Maxim Kuvyrkov <maxim@codesourcery.com>
38623 Joseph Myers <joseph@codesourcery.com>
38624
38625 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38626 if needed for __stack_chk_guard.
38627
bc7e1c36
RM
386282011-09-19 Roland McGrath <roland@hack.frob.com>
38629
ecb1482f
RM
38630 * sysdeps/posix/spawni.c (script_execute): Always define it.
38631 It will be optimized away if unused.
38632 (maybe_script_execute): New function.
38633 (__spawni): Call it.
38634
bc7e1c36
RM
38635 * Makerules: Don't include tls.make.
38636 (config-tls): Always set to thread.
38637 * tls.make.c: File removed.
38638
1c3b002b
MF
386392011-09-19 Mike Frysinger <vapier@gentoo.org>
38640
38641 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38642 * config.make.in (CPPFLAGS-config): New substituted variable.
38643
2840865d
UD
386442011-09-15 Ulrich Drepper <drepper@gmail.com>
38645
88738eb6
UD
38646 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38647
cbf645a6 38648 [BZ #13192]
2840865d
UD
38649 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38650 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38651
b402e91a
RM
386522011-09-15 Roland McGrath <roland@hack.frob.com>
38653
38654 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38655 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38657 (CALL_FAIL): Likewise.
38658 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38659 (CALL_FAIL): Macro removed.
38660 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38661
4c1a1f71
UD
386622011-09-15 Ulrich Drepper <drepper@gmail.com>
38663
38664 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38665 for __FINITE_MATH_ONLY__ == 1.
38666
edc121be
AS
386672011-09-15 Andreas Schwab <schwab@redhat.com>
38668
38669 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38670 __ieee754_sqrt instead of sqrt.
38671 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38672 __ieee754_sqrtf instead of sqrtf.
38673 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38674 __floorf instead of floorf.
38675 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38676 __floorf, __truncf instead of floorf, truncf.
38677
cd205654
UD
386782011-09-14 Ulrich Drepper <drepper@gmail.com>
38679
ee4d0315
UD
38680 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38681
cd205654
UD
38682 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38683 __extern_always_inline.
38684 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38685 32-bit.
38686
48b67d71
AS
386872011-09-14 Andreas Schwab <schwab@redhat.com>
38688
38689 * elf/rtld.c (dl_main): Also relocate in dependency order when
38690 doing symbol dependency testing.
38691
1ae12c75
AS
386922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38693
38694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38695 Always define `refsym'.
38696
995a80df
AS
386972011-09-13 Andreas Schwab <schwab@redhat.com>
38698
e529793b
AS
38699 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38700 (__FD_ELT): Renamed from __FDELT.
38701 * misc/bits/select2.h (__FD_ELT): Likewise.
38702 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38703 __FD_MASK instead of __FDELT, __FDMASK.
38704 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38705 Likewise.
38706 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38707 Likewise.
38708
52d4fef8
AS
38709 * elf/Makefile (gen-ldd): Fix pattern.
38710
995a80df
AS
38711 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38712 (init_tls): Likewise.
38713
8682f8b0
UD
387142011-09-12 Ulrich Drepper <drepper@gmail.com>
38715
38716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38717
de82006d
AS
387182011-09-12 Andreas Schwab <schwab@redhat.com>
38719
a7c8e6a1
AS
38720 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38721 `struct cmsghdr *' instead of `void *'.
38722 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38723 Likewise.
38724
0f31fe77
AS
387252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38726
38727 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38728 if non-absolute.
38729 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38730 ldd_rewrite_script.
0f31fe77 38731
32b4c839
UD
387322011-09-11 Ulrich Drepper <drepper@gmail.com>
38733
83cd1420
UD
38734 * configure.in: Remove --with-tls option.
38735 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38736 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38737 out in case it is missing.
38738 * sysdeps/ia64/elf/configure.in: Likewise.
38739 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38740 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38741 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38742 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38743 * sysdeps/sh/elf/configure.in: Likewise.
38744 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38745 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38746 * sysdeps/x86_64/elf/configure.in: Likewise.
38747 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38748 * sysdeps/mach/hurd/tls.h: Likewise.
38749
633f745d
UD
38750 [BZ #13067]
38751 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38752
f318beb8
UD
38753 [BZ #13090]
38754 * configure.in: Fix use of AC_INIT.
38755
32b4c839
UD
38756 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38757
3ce1f295
UD
387582011-09-10 Ulrich Drepper <drepper@gmail.com>
38759
bb016596
UD
38760 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38761 __set_errno.
8e58439c
UD
38762 * malloc/hooks.c: Likewise.
38763
aebae053 38764 [BZ #11929]
02d46fc4
UD
38765 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38766 variables statically.
38767 (narenas): Initialize.
38768 (list_lock): Initialize.
bb016596
UD
38769 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38770 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38771 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38772 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38773 Add initializers to main_arena and mp_.
38774 (malloc_state): Remove pagesize member. Change all users to use
38775 GLRO(dl_pagesize).
38776
38777 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38778 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38779 is always initialized.
38780
22a89187
UD
38781 * malloc/malloc.c: Removed unused configurations and dead code.
38782 * malloc/arena.c: Likewise.
38783 * malloc/hooks.c: Likewise.
02d46fc4 38784 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38785
d063d164
UD
38786 * include/tls.h: Removed. USE___THREAD must always be defined.
38787 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38788 * elf/dl-libc.c: Likewise.
38789 * elf/dl-tsd.c: Likewise.
38790 * include/errno.h: Likewise.
38791 * include/netdb.h: Likewise.
38792 * include/resolv.h: Likewise.
38793 * inet/herrno-loc.c: Likewise.
38794 * inet/herrno.c: Likewise.
38795 * malloc/arena.c: Likewise.
38796 * malloc/hooks.c: Likewise.
38797 * malloc/malloc.c: Likewise.
38798 * resolv/res-state.c: Likewise.
38799 * resolv/res_libc.c: Likewise.
38800 * sysdeps/i386/dl-machine.h: Likewise.
38801 * sysdeps/ia64/dl-machine.h: Likewise.
38802 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38803 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38804 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38805 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38806 * sysdeps/sh/dl-machine.h: Likewise.
38807 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38808 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38809 * sysdeps/unix/i386/sysdep.S: Likewise.
38810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38811 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38812 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38816 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38820 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38821 * sysdeps/x86_64/dl-machine.h: Likewise.
38822 * tls.make.c: Likewise.
38823
3ce1f295
UD
38824 * configure.in: Remove --with-__thread option. Make tests for
38825 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38826 tls_model attribute fail if no support is available. Remove
38827 USE_IN_LIBIO.
38828 * Makeconfig: Adjust for dropped configure option. All features are
38829 now mandatory.
38830 * Makerules: Likewise.
38831 * Versions.def: Likewise.
38832 * argp/argp-fmtstream.c: Likewise.
38833 * argp/argp-fmtstream.h: Likewise.
38834 * argp/argp-help.c: Likewise.
38835 * assert/assert.c: Likewise.
38836 * config.h.in: Likewise.
38837 * config.make.in: Likewise.
38838 * configure: Likewise.
38839 * configure.in: Likewise.
38840 * csu/Versions: Likewise.
38841 * csu/init.c: Likewise.
38842 * elf/tst-audit2.c: Likewise.
38843 * elf/tst-tls10.c: Likewise.
38844 * elf/tst-tls10.h: Likewise.
38845 * elf/tst-tls11.c: Likewise.
38846 * elf/tst-tls12.c: Likewise.
38847 * elf/tst-tls14.c: Likewise.
38848 * elf/tst-tlsmod11.c: Likewise.
38849 * elf/tst-tlsmod12.c: Likewise.
38850 * elf/tst-tlsmod13.c: Likewise.
38851 * elf/tst-tlsmod13a.c: Likewise.
38852 * elf/tst-tlsmod14a.c: Likewise.
38853 * elf/tst-tlsmod15b.c: Likewise.
38854 * elf/tst-tlsmod16a.c: Likewise.
38855 * elf/tst-tlsmod16b.c: Likewise.
38856 * elf/tst-tlsmod7.c: Likewise.
38857 * elf/tst-tlsmod8.c: Likewise.
38858 * elf/tst-tlsmod9.c: Likewise.
38859 * gmon/gmon.c: Likewise.
38860 * grp/fgetgrent_r.c: Likewise.
38861 * grp/putgrent.c: Likewise.
38862 * hurd/fopenport.c: Likewise.
38863 * include/libc-symbols.h: Likewise.
38864 * include/tls.h: Likewise.
38865 * intl/gettextP.h: Likewise.
38866 * intl/loadinfo.h: Likewise.
38867 * locale/global-locale.c: Likewise.
38868 * locale/localeinfo.h: Likewise.
38869 * mach/devstream.c: Likewise.
38870 * malloc/arena.c: Likewise.
38871 * malloc/set-freeres.c: Likewise.
38872 * misc/err.c: Likewise.
38873 * misc/getttyent.c: Likewise.
38874 * misc/mntent_r.c: Likewise.
38875 * posix/getopt.c: Likewise.
38876 * posix/wordexp.c: Likewise.
38877 * pwd/fgetpwent_r.c: Likewise.
38878 * resolv/Versions: Likewise.
38879 * resolv/res_hconf.c: Likewise.
38880 * shadow/fgetspent_r.c: Likewise.
38881 * shadow/putspent.c: Likewise.
38882 * stdio-common/printf_fphex.c: Likewise.
38883 * stdio-common/tmpfile.c: Likewise.
38884 * stdlib/abort.c: Likewise.
38885 * stdlib/fmtmsg.c: Likewise.
38886 * sunrpc/auth_unix.c: Likewise.
38887 * sunrpc/clnt_perr.c: Likewise.
38888 * sunrpc/clnt_tcp.c: Likewise.
38889 * sunrpc/clnt_udp.c: Likewise.
38890 * sunrpc/clnt_unix.c: Likewise.
38891 * sunrpc/openchild.c: Likewise.
38892 * sunrpc/svc_simple.c: Likewise.
38893 * sunrpc/svc_tcp.c: Likewise.
38894 * sunrpc/svc_udp.c: Likewise.
38895 * sunrpc/svc_unix.c: Likewise.
38896 * sunrpc/xdr.c: Likewise.
38897 * sunrpc/xdr_array.c: Likewise.
38898 * sunrpc/xdr_rec.c: Likewise.
38899 * sunrpc/xdr_ref.c: Likewise.
38900 * sunrpc/xdr_stdio.c: Likewise.
38901
1248c1c4
PB
389022011-09-09 Ulrich Drepper <drepper@gmail.com>
38903
38904 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38905
389062011-07-03 Andreas Jaeger <aj@suse.de>
38907
38908 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38909 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38910 regenerate with gen-libm-tests.pl.
38911
389122010-05-12 Petr Baudis <pasky@suse.cz>
38913
38914 [BZ #11589]
38915 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38916 around j0() zero points by switching to j1().
38917 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38921
f22e1074
UD
389222011-09-09 Ulrich Drepper <drepper@gmail.com>
38923
f19009c1
UD
38924 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38925 instead of 0.
38926 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38927 instead of 0.
f19009c1
UD
38928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38929 Patch in part by Pavel Roskin <proski@gnu.org>.
38930
3f8cc204
UD
38931 [BZ #13138]
38932 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38933 realloc.
38934 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38935 Free memory block if necessary.
38936
f22e1074
UD
38937 [BZ #12847]
38938 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38939 be NULL. Don't lock in this case.
38940
0a2349f9
RM
389412011-09-09 Roland McGrath <roland@hack.frob.com>
38942
38943 * elf/elf.h (ELFOSABI_GNU): New macro.
38944 (ELFOSABI_LINUX): Define to that.
38945
f3cdd467
DZ
389462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38947
38948 * string/strncat.c (strncat): Undef the symbol in case it has been
38949 defined in bits/string.h.
38950
74718d13
UD
389512011-09-09 Ulrich Drepper <drepper@gmail.com>
38952
633e9e0f
UD
38953 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38954
0a2349f9 38955 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38956 link map.
38957
f9924780
AJ
389582011-08-17 Andreas Jaeger <aj@suse.de>
38959
38960 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38961
7f5517aa
PP
389622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38963 Ian Lance Taylor <iant@google.com>
38964
38965 * math/libm-test.inc (lround_test): New testcase.
38966 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38967
762011fe
UD
389682011-09-08 Ulrich Drepper <drepper@gmail.com>
38969
92963737
UD
38970 * Makefile: Remove support for automatic cvs check-ins.
38971 * Makerules: Likewise.
38972 * config.make.in: Likewise.
38973 * configure.in: Likewise.
38974 * intl/Makefile: Likewise.
38975 * locale/Makefile: Likewise.
38976 * po/Makefile: Likewise.
38977 * posix/Makefile: Likewise.
38978 * sysdeps/gnu/Makefile: Likewise.
38979 * sysdeps/mach/hurd/Makefile: Likewise.
38980 * sysdeps/sparc/sparc32/Makefile: Likewise.
38981
b0727fd8
JS
38982 [BZ #13118]
38983 * posix/Makefile (bug-regex32-ENV): Define.
38984 Patch by John Stanley <jpsinthemix@verizon.net>.
38985
a0f33f99
UD
38986 * misc/Makefile (headers): Add bits/select2.h.
38987 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38988 * misc/bits/select2.h: New file.
38989 * include/bits/select2.h: New file.
38990 * debug/Makefile (routines): Add fdelt_chk.
38991 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38992 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38993 FD_ISSET.
38994 * debug/fdelt_chk.c: New file.
38995
762011fe
UD
38996 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38997 * wcsmbs/test-wmemcmp.c: Likewise.
38998 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38999 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39000
390012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39002
39003 * string/Makefile (strop-tests): Add memcmp.
39004 * string/test-wmemcmp.c: New file.
39005 * string/test-memcmp.c: Add wmemcmp support.
39006
7f513ec8
RM
390072011-09-08 Roland McGrath <roland@hack.frob.com>
39008
0442afb4
RM
39009 [BZ #13153]
39010 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39011 2011-07-19 change.
39012
7f513ec8
RM
39013 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39014 garbage value in a __mach_port_mod_refs call in the cases of the
39015 task-self and thread-self ports.
39016
a12b2239
ST
390172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39018
39019 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39020
610f9ab4
AS
390212011-09-08 Andreas Schwab <schwab@redhat.com>
39022
7f513ec8 39023 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39024
48882a1a
LD
390252011-09-07 Ulrich Drepper <drepper@gmail.com>
39026
b49865be
UD
39027 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39028
fdc86bc9
UD
39029 * elf/dl-libc.c (dlerror_run): Pass back error code from
39030 dl_catch_error.
39031
c966526a
UD
39032 [BZ #13123]
39033 * elf/dl-load.c (lose): Free l_origin if it is valid.
39034
48882a1a
LD
39035 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39036 names.
39037 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39038 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39039 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39040 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39041 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39042 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39043
77a2a8b4
AZ
390442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39045
39046 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39047 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39048 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39049 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39050 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39051 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39052 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39053 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39054 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39055 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39056
24f579d8
AM
390572011-08-15 Alan Modra <amodra@gmail.com>
39058
39059 [BZ #13092]
39060 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39061 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39062 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39063 ppc_mcount to static-only-routines.
39064 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39065 __mcount_internal.
39066 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39067 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39068
3d4837df
UD
390692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39070
39071 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39072 for finite and infinity parameters.
39073
22700377
WS
390742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39075
39076 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39077 and add nop instructions for throughput optimization.
39078 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39079
5025581e
WS
390802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39081
39082 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39083 aligned copy for power7 with vector-scalar instructions.
39084 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39085
08a300c9
L
390862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39087
39088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39089 AVX check.
39090
59178ef9
AS
390912011-09-07 Andreas Schwab <schwab@redhat.com>
39092
39093 [BZ #13144]
39094 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39095 last change.
39096
e38ba7ab
UD
390972011-09-07 Ulrich Drepper <drepper@gmail.com>
39098
39099 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39100 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39101 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39102 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39103 clock_gettime.
39104
d53a73ac
UD
391052011-09-06 Ulrich Drepper <drepper@gmail.com>
39106
fc8bffcc
UD
39107 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39108 Forgot to demangle the pointer.
39109
ceaa0c5d
UD
39110 * sysdeps/i386/sysdep.h: Define atom_text_section.
39111 * sysdeps/x86_64/sysdep.h: Likewise.
39112 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39113 section with atom_text_section.
39114 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39115 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39116 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39117 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39118 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39119
a77d3c17
UD
39120 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39121 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39122 already be defined. Change to take two parameters and don't assign
39123 result to variable. Adjust all users.
39124 Define INTERNAL_GETTIME if not already defined.
39125 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39126 call.
39127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39128 HAVE_CLOCK_GETTIME_VSYSCALL.
39129 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39130
d53a73ac
UD
39131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39132 gettimeofday vsyscall, just use time.
39133
a8f84144
AS
391342011-09-06 Andreas Schwab <schwab@redhat.com>
39135
39136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39137 <errno.h>.
39138
ef606249
UD
391392011-09-06 Ulrich Drepper <drepper@gmail.com>
39140
39141 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39142 syscall on x86-64.
39143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39144 syscall.
39145 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39147 syscall if possible.
39148
6585cb60
UD
391492011-09-05 Ulrich Drepper <drepper@gmail.com>
39150
39151 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39152 e_ident. Don't pass to find_mapsXX.
39153 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39154
a5f524e4
LD
391552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39156
39157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39158 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39159 * sysdeps/x86_64/multiarch/strchr.S: Update.
39160 Check bit_slow_BSF bit.
39161 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39162 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39163 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39164
554881ef
UD
391652011-09-05 Ulrich Drepper <drepper@gmail.com>
39166
d96de963
UD
39167 [BZ #13134]
39168 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39169 before glibc 2.15.
39170 (tryshell): Define.
39171 (__spawni): Change last parameter to be flag. Test
39172 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39173 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39174 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39175 * posix/spawni.c: Likewise.
39176 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39177 * posix/spawnp.c: Likewise. Change normal version to use
39178 SPAWN_XFLAGS_USE_PATH.
39179 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39180 SPAWN_XFLAGS_TRY_SHELL.
39181
d48e5868
UD
39182 [BZ #13150]
39183 * posix/glob.h: Remove gcc 1.x support.
39184
554881ef
UD
39185 [BZ #13068]
39186 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39187
693fb948
LD
391882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39189
39190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39191 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39192 strrchr-sse2-bsf
39193 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39194 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39195 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39196 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39197 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39198 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39199
1b48c537
UD
392002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39201
49d42c37
UD
39202 * sysdeps/x86_64/wcscmp.S: New file.
39203
1b48c537
UD
39204 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39205 wcscmp-c wcscmp-sse2
39206 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39207 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39208 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39209 * wcsmbs/wcscmp.c: Allow renaming.
39210
15c95c5d
DM
392112011-09-05 David S. Miller <davem@davemloft.net>
39212
39213 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39214 stack slot, rather than the struct return pointer slot.
39215 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39216 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39218 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39219
2f0ad8f3
UD
392202011-09-05 Ulrich Drepper <drepper@gmail.com>
39221
d88ae418
UD
39222 * po/ja.po: Update from translation team.
39223
2f0ad8f3
UD
39224 [BZ #13144]
39225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39226 kernel in 64-bit binaries.
39227
5f4318d1
DM
392282011-09-01 David S. Miller <davem@davemloft.net>
39229
39230 * elf/elf.h (HWCAP_SPARC_*): Move to..
39231 * sysdeps/sparc/sysdep.h: this new file and add new values.
39232 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39233 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39234 _DL_HWCAP_COUNT to 24.
39235 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39236 entries.
39237 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39238 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39239 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39241 instead of magic constants.
39242 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39243
3ba57516
DM
392442011-08-31 David S. Miller <davem@davemloft.net>
39245
39246 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39248 Reimplement to do errno handling inline.
39249 (SYSCALL_ERROR_HANDLER): New macro.
39250 (__SYSCALL_STRING): Do not do errno handling in asm.
39251 (__CLONE_SYSCALL_STRING): Delete.
39252 (__INTERNAL_SYSCALL_STRING): Delete.
39253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39254 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39255 (PSEUDO): Reimplement to do errno handling inline.
39256 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39257 (SYSCALL_ERROR_HANDLER): New macro.
39258 (__SYSCALL_STRING): Do not do errno handling in asm.
39259 (__CLONE_SYSCALL_STRING): Delete.
39260 (__INTERNAL_SYSCALL_STRING): Delete.
39261 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39262 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39263 i386.
39264 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39265 (inline_syscall*): Add 'err' argument.
39266 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39267 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39268 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39269 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39270
39271 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39272 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39273
2bc17433
AS
392742011-08-30 Andreas Schwab <schwab@redhat.com>
39275
39276 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39277
fbeb5f4d
JO
392782011-08-29 Jiri Olsa <jolsa@redhat.com>
39279
39280 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39281 directive.
39282
ad69cc26
DM
392832011-08-24 David S. Miller <davem@davemloft.net>
39284
39285 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39286
39dd69df
AS
392872011-08-24 Andreas Schwab <schwab@redhat.com>
39288
39289 * elf/Makefile: Add rules to build and run unload8 test.
39290 * elf/unload8.c: New file.
39291 * elf/unload8mod1.c: New file.
39292 * elf/unload8mod1x.c: New file.
39293 * elf/unload8mod2.c: New file.
39294 * elf/unload8mod3.c: New file.
39295
39296 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39297 it wasn't used.
39298
2c0b250a
DM
392992011-08-23 David S. Miller <davem@davemloft.net>
39300
39301 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39302 subtract stack bias.
39303 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39304 %sp not %fp in calculations.
39305 (_JMPBUF_UNWINDS_ADJ): Likewise.
39306
22044b48
DM
39307 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39308 (aio_suspend): Call it to force an exception region around the
39309 AIO_MISC_WAIT() invocation.
39310
2cae4995
AS
393112011-08-23 Andreas Schwab <schwab@redhat.com>
39312
39313 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39314 backslash.
39315
873a772e
AJ
393162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39317
39318 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39319 protection macro.
39320 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39321 and <dl-machine.h>.
39322 (Elf64_FuncDesc): Remove.
39323
25ad0df1
DM
393242011-08-22 David S. Miller <davem@davemloft.net>
39325
39326 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39327 sigaltstack check, add missing cfi directives.
39328 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39329 missing cfi directives, and sigaltstack handling.
39330
e888bcbe
AS
393312011-08-16 Andreas Schwab <schwab@redhat.com>
39332
39333 [BZ #11724]
39334 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39335 object is seen twice.
39336 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39337
39338 * elf/Makefile (distribute): Add tst-initorder2.c.
39339 (tests): Add tst-initorder2.
39340 (modules-names): Add tst-initorder2a tst-initorder2b
39341 tst-initorder2c tst-initorder2d. Add rules to build them.
39342 ($(objpfx)tst-initorder2.out): New rule.
39343 * elf/tst-initorder2.c: New file.
39344 * elf/tst-initorder2.exp: New file.
39345
87162f46
AS
393462011-08-22 Andreas Schwab <schwab@redhat.com>
39347
70538b7f
AS
39348 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39349
f55ffe58
AS
39350 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39351 dependencies back to end of function.
39352
87162f46
AS
39353 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39354 $(elfobjdir)/ld.so.
39355
91b392a4
UD
393562011-08-21 Ulrich Drepper <drepper@gmail.com>
39357
39358 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39359 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39360 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39361 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39362 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39363 of __vdso_gettimeofday.
39364 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39365 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39366 attribute_hidden.
39367 (_libc_vdso_platform_setup): Remove initialization of
39368 __vdso_gettimeofday and __vdso_time.
39369
5c43483f
UD
393702011-08-20 Ulrich Drepper <drepper@gmail.com>
39371
775a77e7
UD
39372 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39373 and fgetc_unlocked.
39374 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39375 getc_unlocked.
89f447ed 39376
49c74ba9
UD
39377 * elf/dl-open.c (add_to_global): Report additions to the global scope
39378 for LD_DEBUG=scopes.
39379 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39380 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39381
5c43483f
UD
39382 [BZ #13114]
39383 * stdio-common/Makefile (tests): Add bug24.
39384 * stdio-common/bug24.c: New file.
39385
a101b025
AJ
393862011-08-19 Andreas Jaeger <aj@suse.de>
39387
39388 [BZ #13114]
39389 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39390 non-existant file when using close-on-exec mode.
39391
c88f1766
UD
393922011-08-20 Ulrich Drepper <drepper@gmail.com>
39393
0276a718
UD
39394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39395 the very first instruction.
39396
c88f1766
UD
39397 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39398 the CFI state in the end.
39399 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39400 inclusion of dl-trampoline.h.
39401 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39402
51ccffa0
AS
394032011-08-19 Andreas Schwab <schwab@redhat.com>
39404
94d7165f
AS
39405 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39406 expectations for long double.
39407
51ccffa0
AS
39408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39409 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39410
fd708658 394112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39412
39413 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39414 artificual limit depends upon the system page size.
39415
44f0a71e
UD
394162011-08-17 Ulrich Drepper <drepper@gmail.com>
39417
39418 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39419 * resolv/Makefile: Define CFLAGS-libresolv.
39420
8de79a24
AS
394212011-08-17 Andreas Schwab <schwab@redhat.com>
39422
39423 * nss/makedb.c (compute_tables): Make variables used in nested
39424 function static.
39425
27724598
UD
394262011-08-17 Ulrich Drepper <drepper@gmail.com>
39427
c5305d88
UD
39428 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39429 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39430 if buffer was too small.
39431
27724598
UD
39432 * elf/pldd.c (main): Attach to all threads in the process.
39433 Rewrite /proc handling to use *at functions.
39434
076fe015
UD
394352011-08-16 Ulrich Drepper <drepper@gmail.com>
39436
174baab3
UD
39437 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39438 specifies first scope to show.
39439 (dl_open_worker): Update callers. Move printing scope of new
39440 object to before the relocation.
44f0a71e 39441 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39442 * sysdeps/generic/ldsodefs.h: Update declaration.
39443
076fe015
UD
39444 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39445 string for the scope number.
39446
a60df2c3
UD
394472011-08-14 Ulrich Drepper <drepper@gmail.com>
39448
39449 * nscd/servicescache.c (cache_addserv): Make sure written is always
39450 initialized.
39451
5e4287d1
RM
394522011-08-14 Roland McGrath <roland@hack.frob.com>
39453
85ae0589
RM
39454 * sysdeps/i386/i486/bits/atomic.h
39455 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39456 statement expression, so as to suppress "set but not used" warning.
39457 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39458
69f63097
RM
39459 * string/strncat.c (STRNCAT): Use prototype definition.
39460
675456ef
RM
39461 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39462 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39463 -Iprograms here.
39464 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39465 (localedef-modules): Add localedef.
39466 (locale-modules): Add locale.
39467
5e4287d1
RM
39468 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39469 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39470 to avoid a warning.
39471
9c96ff23
DM
394722011-08-14 David S. Miller <davem@davemloft.net>
39473
39474 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39475 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39476
f9ddf089
UD
394772011-08-13 Ulrich Drepper <drepper@gmail.com>
39478
44f0a71e 39479 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39480 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39481 * elf/rtld.c (dl_main): Set l_name of vDSO.
39482 Call _dl_show_scope when DL_DEBUG_SCOPES.
39483 (process_dl_debug): Recognize scopes flag and also set it for all.
39484 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39485 Declare _dl_show_scope.
39486
1dc27704
UD
39487 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39488 (do_dlopen): Pass caller_dlopen to dl_open.
39489 (__libc_dlopen_mode): Initialize caller_dlopen.
39490
f9ddf089
UD
39491 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39492 of libc. Make tolower call locale-independent. Optimize a bit by
39493 using isdigit instead of isalnum.
39494 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39495
9ac533d3
UD
394962011-08-12 Ulrich Drepper <drepper@gmail.com>
39497
39498 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39499 was a dependency or dynamically loaded.
39500
89edf2e9
UD
395012011-08-11 Ulrich Drepper <drepper@gmail.com>
39502
8e999d29
UD
39503 * intl/l10nflist.c: Allow architecture-specific pop function.
39504 * sysdeps/x86_64/l10nflist.c: New file.
39505
89edf2e9
UD
39506 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39507 classification.
39508
14d96785
AS
395092011-08-10 Andreas Schwab <schwab@redhat.com>
39510
39511 * include/dirent.h: Add libc_hidden_proto for scandirat and
39512 scandirat64. Don't declare __scandirat64.
39513 * dirent/scandirat.c: Add libc_hidden_def.
39514 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39515 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39516
6761ac04
DM
395172011-08-10 David S. Miller <davem@davemloft.net>
39518
39519 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39520 enum.
39521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39524
c55fbd1e
UD
395252011-08-09 Ulrich Drepper <drepper@gmail.com>
39526
39527 * Versions.def [libc]: Add GLIBC_2.15.
39528 * dirent/Makefile (routines): Add scandirat and scandirat64.
39529 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39530 GLIBC_2.15.
39531 * dirent/dirent.h: Declare scandirat and scandirat64.
39532 * dirent/scandirat.c: New file.
39533 * dirent/scandirat64.c: New file.
39534 * sysdeps/wordsize-64/scandirat.c: New file.
39535 * sysdeps/wordsize-64/scandirat64.c: New file.
39536 * dirent/opendir.c: Define opendirat.
39537 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39538 using scandirat.
39539 * dirent/scandir64.c: Adjust for scandir.c change.
39540 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39541 __scandirat64, and __scandir_cancel_handler.
39542 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39543 additional parameter and use openat instead of open (outside of ld.so).
39544 Add new __opendir as wrapper around __opendirat.
39545 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39546 here without requiring old scandirat implementation.
39547
879165f2
UD
395482011-08-08 Ulrich Drepper <drepper@gmail.com>
39549
39550 * dirent/scandir.c (cancel_handler): Renamed to
39551 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39552 defined. Adjust users.
39553 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39554 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39555
cb7e923b
UD
395562011-08-04 Ulrich Drepper <drepper@gmail.com>
39557
16292edd
UD
39558 * string/test-string.h (IMPL): Use __STRING to expand name and then
39559 stringify it.
39560
cb7e923b
UD
39561 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39562 of cleanups.
39563
cff82933
LD
395642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39565
39566 * string/Makefile: Update.
39567 (strop-tests): Append strncat.
39568 * string/test-wcscmp.c: New file.
39569 New comprehensive test for wcscmp.
39570 * string/test-strcmp.c: Update.
39571 (WIDE): New define.
39572
9be9bfcc
AS
395732011-07-22 Andreas Schwab <schwab@redhat.com>
39574
39575 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39576 line.
39577
2e96f1c7
AS
395782011-07-26 Andreas Schwab <schwab@redhat.com>
39579
39580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39581 encoding to ACE if AI_IDN.
39582
85188888
JJ
395832011-08-01 Jakub Jelinek <jakub@redhat.com>
39584
39585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39586 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39587
5fa16e9b
LD
395882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39589
39590 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39591 Fix overflow bug in strncat.
39592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39593
39594 * string/test-strncat.c: Update.
39595 Add new tests for checking overflow bugs.
39596
395972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39598
39599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39600 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39601 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39602 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39603 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39604 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39605 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39606 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39607 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39608
39609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39610 (USE_AS_STRCAT): Define.
39611 Add strcat and strncat support.
39612 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39613
8c1a459f
AS
396142011-07-25 Andreas Schwab <schwab@redhat.com>
39615
39616 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39617 __n bigger than INT_MAX+1.
39618 (__strncmp_g): Likewise.
39619
bba33c28
UD
396202011-07-23 Ulrich Drepper <drepper@gmail.com>
39621
798be72d
UD
39622 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39623 * libio/stido.h: Likewise.
39624
8accd4dc
UD
39625 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39626 (AF_NFC): Define.
39627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39628 (AF_NFC): Define.
39629
cbff0d96
UD
39630 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39632 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39633 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39635
9191c04a
UD
39636 [BZ #13021]
39637 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39638 installed.
39639
bba33c28
UD
39640 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39641 typo.
39642 (_dl_x86_64_save_sse): Likewise.
39643
90f139dd
UD
396442011-07-22 Ulrich Drepper <drepper@gmail.com>
39645
1aae088a
UD
39646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39647 OSXSAVE.
39648 (_dl_x86_64_save_sse): Likewise.
39649
8e2045f5
UD
39650 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39651
90f139dd
UD
39652 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39653
1d002f25
AS
396542011-07-21 Andreas Schwab <schwab@redhat.com>
39655
39656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39657 change.
39658 (_dl_x86_64_save_sse): Use correct AVX check.
39659
21137f89
UD
396602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39661
39662 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39663 bug in strncpy/strncat.
39664 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39665
a65c0b7a
UD
396662011-07-21 Ulrich Drepper <drepper@gmail.com>
39667
39668 * string/tester.c (test_strcat): Add tests for different alignments
39669 of source and destination.
39670 (test_strncat): Likewise.
39671
6986b98a
UD
396722011-07-20 Ulrich Drepper <drepper@gmail.com>
39673
90bb2039
UD
39674 [BZ #12852]
39675 * posix/glob.c (glob): Check passed in values before using them in
39676 expressions to avoid some overflows.
39677 (glob_in_dir): Likewise.
39678
5644ef54
UD
39679 [BZ #13007]
39680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39681 check for AVX enablement so that we don't crash with old kernels and
39682 new hardware.
39683 * elf/tst-audit4.c: Add same checks here.
39684 * elf/tst-audit6.c: Likewise.
39685
39686 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39687
bfc9dc9b
AS
396882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39689
39690 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39691
702e64bb
UD
396922011-07-20 Ulrich Drepper <drepper@gmail.com>
39693
39694 * po/cs.po: Update from translation team.
39695 * po/bg.po: Likewise.
39696
295e904f
MP
396972011-07-12 Marek Polacek <mpolacek@redhat.com>
39698
39699 * misc/sys/cdefs.h: Add support for const attribute.
39700 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39701 to gnu_dev_{major,minor,makedev} functions.
39702
3ff94596
MP
397032011-07-20 Marek Polacek <mpolacek@redhat.com>
39704
39705 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39706
28b59fca
AS
397072011-07-20 Andreas Schwab <schwab@redhat.com>
39708
39709 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39710 strlen results.
39711
19df733e
AK
397122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39713
39714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39715 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39716 register in order to avoid conflicts with the soft frame pointer
39717 being held in r11 when necessary.
39718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39719 (INTERNAL_VSYSCALL_NCS): Likewise.
39720
c8835729
MP
397212011-07-14 Marek Polacek <mpolacek@redhat.com>
39722
39723 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39724 * elf/dl-fini.c (_dl_fini): Adjust caller.
39725 * elf/dl-close.c (_dl_close_worker): Likewise.
39726 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39727
b902330c
MP
397282011-07-15 Marek Polacek <mpolacek@redhat.com>
39729
8991e135
MP
39730 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39731 "aux_cache->nlibs < 0".
39732
b902330c
MP
39733 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39734 in the reload-count case.
39735
99710781
LD
397362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39737
39738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39739 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39740 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39741 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39742 * sysdeps/x86_64/multiarch/strcat.S: New file.
39743 * sysdeps/x86_64/multiarch/strncat.S: New file.
39744 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39745 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39746 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39747 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39748 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39749 (USE_AS_STRCAT): Define.
39750 Add strcat and strncat support.
39751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39752 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39753 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39754 * string/strncat.c: Update.
39755 (USE_AS_STRNCAT): Define.
39756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39757 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39758 and i7.
39759 * sysdeps/x86_64/multiarch/init-arch.h
39760 (bit_Prefer_PMINUB_for_stringop): New.
39761 (index_Prefer_PMINUB_for_stringop): Likewise.
39762 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39763 bit_Prefer_PMINUB_for_stringop.
39764
7dc6bd90
UD
397652011-07-19 Ulrich Drepper <drepper@gmail.com>
39766
39767 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39768 buffer64.
39769 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39770 of casting of buffer.
39771 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39772 buffer32 and buffer64.
39773 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39774 writes instead of casting of buffer.
39775 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39776 buffer32.
39777 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39778 casting of buffer.
39779
e0e72284
AS
397802011-07-19 Andreas Schwab <schwab@redhat.com>
39781
39782 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39783
feb1eb0b
UD
397842011-07-19 Ulrich Drepper <drepper@gmail.com>
39785
39786 * nscd/nscd.c (termination_handler): Don't do anything for a database
39787 if it has not yet been initialized.
39788
298711ff
UD
397892011-07-18 Ulrich Drepper <drepper@gmail.com>
39790
39791 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39792
397932011-07-15 Marek Polacek <mpolacek@redhat.com>
39794
39795 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39796
f9d68389
UD
397972011-07-18 Ulrich Drepper <drepper@gmail.com>
39798
39799 * po/nl.po: Update from translation team.
39800 * po/sv.po: Likewise.
39801
db290cf5
RM
398022011-07-16 Roland McGrath <roland@hack.frob.com>
39803
39804 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39805 now disallowed by GCC.
5c550700 39806
fd5e21c7
RM
39807 * configure.in (use-default-link): Default to yes if a test -shared
39808 link meets our qualifications.
39809 * configure: Regenerated.
39810
5c550700
RM
39811 * config.make.in (output-format): New variable.
39812 * configure.in: Check for ld --print-output-format support.
39813 * configure: Regenerated.
39814 * Makerules ($(common-objpfx)format.lds)
39815 [$(output-format) != unknown]: Just use $(output-format),
39816 instead of the linker-script munging.
39817
9fa2c032
RM
398182011-07-14 Roland McGrath <roland@hack.frob.com>
39819
a6928d51
RM
39820 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39821 of $(common-objpfx)shlib.lds.
39822 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39823
661607b3
RM
39824 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39825 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39826
9fa2c032
RM
39827 * configure.in (-z relro check): Adjust test code to add a large
39828 writable data section after it.
39829 * configure: Regenerated.
39830
defe9061
RM
398312011-07-11 Roland McGrath <roland@hack.frob.com>
39832
39833 * configure.in (-z relro check): Fix test code to make the variable
39834 truly const.
39835 * configure: Regenerated.
39836
319b9ad4
UD
398372011-07-11 Ulrich Drepper <drepper@gmail.com>
39838
39839 * nscd/nscd.h (struct traced_file): Define.
39840 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39841 elements. Add traced_files.
39842 (inotify_fd): Declare.
39843 (register_traced_file): Declare.
39844 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39845 (inotify_fd): Export.
39846 (resolv_conf_descr): Remove.
39847 (nscd_init): Move inotify descriptor creation to main.
39848 Don't register files for notification here.
39849 (register_traced_file): New function.
39850 (invalidate_cache): Don't use reset_res to determine whether to call
39851 res_init, go through the list of registered files.
39852 (main_loop_poll): The inotify descriptors are now stored in the
39853 structures for the traced files.
39854 (main_loop_epoll): Likewise
39855 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39856 to __nss_disable_nscd.
39857 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39858 for a database anymore. Check the records for all the registered
39859 files instead.
39860 * nss/Makefile (libnss_files-routines): Add files-init.
39861 (libnss_db-routines): Add db-init.
39862 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39863 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39864 * nss/nss_db/db-init.c: New file.
39865 * nss/nss_files/files-init.c: New file.
39866 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39867 __nss_lookup_function.
39868 (__nss_lookup_function): Call nss_load_library.
39869 (nss_load_all_libraries): New function.
39870 (__nss_disable_nscd): Take parameter with callback function for files
39871 to register. Set is_nscd. Load all the DSOs for the NSS modules
39872 used for the cached services.
39873 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39874 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39875 options for features to all the files in nscd.
39876
39877 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39878
23bee3e8
RM
398792011-07-10 Roland McGrath <roland@hack.frob.com>
39880
39881 * csu/elf-init.c (__libc_csu_init): Comment typo.
39882
46a5b7f0
UD
398832011-07-09 Ulrich Drepper <drepper@gmail.com>
39884
39885 * po/pl.po: Update from translation team.
39886 * po/ja.po: Likewise.
39887 * po/ru.po: Likewise.
39888 * po/ko.po: Likewise.
39889 * po/fr.po: Likewise.
39890
d30cf5bb
RM
398912011-07-09 Roland McGrath <roland@hack.frob.com>
39892
113ddea4
RM
39893 * configure.in (.ctors/.dtors header and trailer check):
39894 Use an empirical test on a built program.
39895 * configure: Regenerated.
39896
574920b4
RM
39897 * configure.in (-z relro check): Use an empirical test on a built DSO.
39898 Detect, but do not require, on ia64.
39899 * configure: Regenerated.
39900
d30cf5bb
RM
39901 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39902 Update tests that use readelf to use $READELF instead.
39903 * configure: Regenerated.
39904
8538fdb3
UD
399052011-07-08 Ulrich Drepper <drepper@gmail.com>
39906
39907 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39908 if the result is not used.
39909
04d08991
AJ
399102011-07-05 Andreas Jaeger <aj@suse.de>
39911
39912 [BZ#9696]
39913 * stdlib/tst-strtod.c: Add testcase.
39914
de283087
AD
399152011-07-07 Ulrich Drepper <drepper@gmail.com>
39916
4e5f31c8 39917 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39918 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39919 The latter has a higher limit. Take additional parameter to pass to
39920 the new function.
39921 (__pathconf): Pass file to __statfs_link_max.
39922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39923 __statfs_link_max.
39924 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39925 __statfs_link_max.
39926
de283087
AD
39927 [BZ #12868]
39928 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39929 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39930 Handle Lustre.
39931 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39932 (__statfs_filesize_max): Likewise.
39933 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39934
c75fa153
AJ
399352011-07-05 Andreas Jaeger <aj@suse.de>
39936
39937 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39938
1a544854
UD
399392011-07-06 Marek Polacek <mpolacek@redhat.com>
39940
39941 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39942 `status' variable.
39943 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39944 Likewise.
39945
6f0eec67
UD
399462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39947
39948 * Makefile (strop-tests): Add strncat.
39949 * string/test-strncat.c: New file.
39950
aae30307
UD
399512011-06-30 Marek Polacek <mpolacek@redhat.com>
39952
39953 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39954
c0cfb5eb
UD
399552011-06-21 Andreas Jaeger <aj@suse.de>
39956
39957 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39958 Copy rule from iconvdata/Makefile.
39959
01636b21
UD
399602011-07-06 Ulrich Drepper <drepper@gmail.com>
39961
39962 [BZ #12922]
39963 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39964 but no long options are defined, just return 'W'.
39965
9895c8bc
UD
399662011-06-22 Marek Polacek <mpolacek@redhat.com>
39967
39968 [BZ #9696]
39969 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39970
5d4cf042
UD
399712011-07-06 Ulrich Drepper <drepper@gmail.com>
39972
39973 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39974 netgroups to read.
960e5535 39975 (innetgr): Likewise.
5d4cf042 39976
751eb97e
RM
399772011-07-05 Roland McGrath <roland@hack.frob.com>
39978
39979 * config.make.in (install_root): Default to $(DESTDIR).
39980
f15f1e45
UD
399812011-07-05 Ulrich Drepper <drepper@gmail.com>
39982
39983 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39984
4e34ac6a
RM
399852011-07-02 Roland McGrath <roland@hack.frob.com>
39986
5e9b6af4
RM
39987 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39988
84f9ea0f
RM
39989 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39990 containing directory rather than embedding absolute directory names.
39991
ea5ee9f7
RM
39992 * scripts/check-local-headers.sh: Rewritten using awk.
39993 Match by word, not by line. Print error messages for matches.
39994 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39995
1b74661a
RM
39996 * Makerules [shlib-lds-flags empty]:
39997 ($(common-objpfx)libc_pic.opts): New target.
39998 ($(common-objpfx)libc_pic.os.clean): New target.
39999 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40000
40001 * config.make.in (OBJCOPY): New variable.
40002 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40003 * configure: Regenerated.
40004
f781ef40
RM
40005 * config.make.in (use-default-link): New variable.
40006 * configure.in (use_default_link): Grok --with-default-link to set it.
40007 * configure: Regenerated.
40008 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40009 (shlib-lds, shlib-lds-flags): Define to empty.
40010
2d4fa81e
RM
40011 * Makerules (shlib-lds): New variable.
40012 (shlib-lds-flags): New variable.
40013 (build-shlib, build-moduile, build-module-asneeded): Use it.
40014 ($(common-objpfx)libc.so): Use $(shlib-lds).
40015 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40016 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40017
31fffa6b
RM
40018 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40019 DT_FLAGS/DT_FLAGS_1 with zero flags.
40020
4e34ac6a
RM
40021 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40022 linker script munging.
40023
fcfc776b
UD
400242011-07-02 Ulrich Drepper <drepper@gmail.com>
40025
40026 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40027 as 128-bit value.
40028 * crypt/sha512.c (sha512_process_block): Perform total addition using
40029 128-bit if possible.
40030 (__sha512_finish_ctx): Likewise.
40031 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40032 as 64-bit value.
40033 * crypt/sha256.c (SWAP64): Define.
40034 (sha256_process_block): Perform total addition using 64-bit if
40035 possible.
40036 (__sha256_finish_ctx): Likewise.
40037
99231d9a
UD
400382011-07-01 Ulrich Drepper <drepper@gmail.com>
40039
40040 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40042 * nscd/hstcache.c (cache_addhst): Likewise.
40043 * nscd/grpcache.c (cache_addgr): Likewise.
40044 * nscd/aicache.c (addhstaiX): Likewise
40045 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40046
445b4a53
TK
400472011-07-01 Thorsten Kukuk <kukuk@suse.de>
40048
40049 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40050 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40051 * nscd/hstcache.c (cache_addhst): Likewise.
40052 * nscd/grpcache.c (cache_addgr): Likewise.
40053 * nscd/aicache.c (addhstaiX): Likewise
40054
6d4d8e8e
AS
400552011-07-01 Andreas Schwab <schwab@redhat.com>
40056
40057 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40058 domain only when needed.
40059
89f654c5
AS
400602011-06-30 Andreas Schwab <schwab@redhat.com>
40061
40062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40063 is always restored.
40064
cf3b23ff
UD
400652011-06-29 Ulrich Drepper <drepper@gmail.com>
40066
40067 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40068 are re-adding the entry.
40069 * nscd/servicescache.c (cache_addserv): Likewise.
40070
751626f9
AJ
400712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40072
40073 * sysdeps/generic/dl-irel.h: fix protection against multiple
40074 inclusions.
40075 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40076
9113ea1f
UD
400772011-06-28 Ulrich Drepper <drepper@gmail.com>
40078
5c0b8d90
UD
40079 [BZ #12935]
40080 * malloc/memusage.sh: Fix quoting in message.
40081 * debug/xtrace.sh: Likewise.
40082
9113ea1f
UD
40083 * configure.in: Remove support for --experimental-malloc option, make
40084 it the default.
40085 * config.make.in: Likewise.
40086 * malloc/Makefile: Likewise.
40087
a4172181
AS
400882011-06-27 Andreas Schwab <schwab@redhat.com>
40089
40090 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40091 two-byte characters.
40092
78a7eee7
RM
400932011-06-27 Roland McGrath <roland@hack.frob.com>
40094
62bede13
RM
40095 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40096 AC_CACHE_CHECK invocation.
40097 * configure: Regenerated.
40098
78a7eee7
RM
40099 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40100
5ce33a62
UD
401012011-06-27 Ulrich Drepper <drepper@gmail.com>
40102
034807a9
UD
40103 [BZ #12350]
40104 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40105 bit from old_res_options.
40106
4902da17
UD
40107 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40108
5ce33a62
UD
40109 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40110 value type for setfct.
40111
c2344f56
L
401122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40113
40114 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40115 __gettimeofday instead of gettimeofday.
40116
68468076
UD
401172011-06-26 Ulrich Drepper <drepper@gmail.com>
40118
40119 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40120
acb0d739
L
401212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40122
40123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40124
40125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40126 info.
40127
8912479f
L
401282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40129
40130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40131 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40132 strcpy-sse2-unaligned strncpy-sse2-unaligned
40133 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40134 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40135 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40136 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40137 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40140 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40141 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40142 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40143 (STRCPY): Support SSE2 and SSSE3 versions.
40144
d5495a11
UD
401452011-06-24 Ulrich Drepper <drepper@gmail.com>
40146
40147 [BZ #12874]
40148 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40149 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40150 kernels which artificially limit size of requests.
40151
0b1cbaae
L
401522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40153
40154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40155 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40156 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40157 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40158 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40159 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40160 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40161 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40163 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40164 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40165 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40166 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40167 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40168 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40170 Enable unaligned load optimization for Intel Core i3, i5 and i7
40171 processors.
40172 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40173 Define.
40174 (index_Fast_Unaligned_Load): Define.
40175 (HAS_FAST_UNALIGNED_LOAD): Define.
40176
07f494a0
MP
401772011-06-23 Marek Polacek <mpolacek@redhat.com>
40178
40179 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40180
fa3fc0fe
UD
401812011-06-22 Ulrich Drepper <drepper@gmail.com>
40182
40183 [BZ #12907]
40184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40185 until it is clear that the information is realy needed.
40186 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40187
e12df166
AS
401882011-06-22 Andreas Schwab <schwab@redhat.com>
40189
40190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40191
852eb34d
UD
401922011-06-22 Ulrich Drepper <drepper@gmail.com>
40193
84e2a551
UD
40194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40195 /sys/devices/system/cpu/online if it is usable.
40196
852eb34d
UD
40197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40198 reading the information from the /proc filesystem to once a second.
40199
6e502e19
UD
402002011-06-21 Andreas Jaeger <aj@suse.de>
40201
40202 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40203 NULL after inclusion of kernel headers.
40204
75d39ff2
UD
402052011-06-21 Ulrich Drepper <drepper@gmail.com>
40206
51f9aa6a
UD
40207 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40208 calls to internal_setent.
40209
c0244a9d
UD
40210 [BZ #12885]
40211 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40212 addresses using gethostbyname4_r ignore IPv4 addresses.
40213
c5e3c2ae
UD
40214 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40215 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40216
75d39ff2
UD
40217 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40218
42675c6f
DM
402192011-06-20 David S. Miller <davem@davemloft.net>
40220
40221 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40222 inclusions.
40223 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40224
40225 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40226 (elf_irel): Use it.
40227 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40228 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40229 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40230 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40231 * sysdeps/x86_64/dl-irel.h: Likewise.
40232
40233 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40234 * elf/dl-sym.c: Likewise.
40235
57912a71
UD
402362011-06-15 Ulrich Drepper <drepper@gmail.com>
40237
40238 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40239 need to dereference resplen2.
40240
ee22793d
AS
402412011-06-14 Andreas Schwab <schwab@redhat.com>
40242
40243 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40244
a9e836b0
UD
402452011-06-15 Ulrich Drepper <drepper@gmail.com>
40246
77fb9117
UD
40247 * Makeconfig: Define vardbdir and inst_vardbdir.
40248 * nss/Makefile: Add rules to install db-Makefile.
40249
40c1b22c
UD
40250 * nss/nss_db/db-XXX.c: Cleanup.
40251
9f2da732
UD
40252 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40253 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40254 GLIBC_PRIVATE.
40255 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40256 * nss/makedb.c: Implement -g option to specify that value strings
40257 are generated and should not be added to table iterated over for
40258 get*ent calls.
40259 * nss/nss_db/db-initgroups.c: New file.
40260
82e9a1f7
UD
40261 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40262 interface.
40263
c41af17e
UD
40264 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40265 (internal_getgrouplist): Adjust to name change.
40266 Update use_initgroups_entry if this is not the first call.
40267 * nss/databases.def: Add initgroups entry.
40268
a9e836b0
UD
40269 * nss/makedb.c (compute_tables): Check result of multiple hash table
40270 sizes to minimize maximum chain length.
40271
2666d441
UD
402722011-06-14 Ulrich Drepper <drepper@gmail.com>
40273
40274 * Versions.def: Add entry for libnss_db.
40275 * shlib-versions: Likewise.
40276 * nss/Makefile: Add rules to build libnss_db.
40277 * nss/Versions: Add libnss_db information. Organize libnss_files
40278 entries better.
40279 * nss/db-Makefile: Add gshadow support. Change rules for the new
40280 makedb progra. Some minor improvements to generate smaller files.
40281 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40282 here from...
40283 * nss/makedb.c: ...here.
40284 Improve database format to be smaller and require less memory at
40285 runtime.
40286 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40287 db anymore.
40288 * nss/nss_db/db-netgrp.c: Likewise.
40289 * nss/nss_db/db-open.c: Likewise.
40290 * nss/nss_files/flies-XXX.x: Adjust comments.
40291 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40292 * nss/nss_files/files-grp.c: Likewise.
40293 * nss/nss_files/files-hosts.c: Likewise.
40294 * nss/nss_files/files-network.c: Likewise.
40295 * nss/nss_files/files-proto.c: Likewise.
40296 * nss/nss_files/files-pwd.c: Likewise.
40297 * nss/nss_files/files-rpc.c: Likewise.
40298 * nss/nss_files/files-service.c: Likewise.
40299 * nss/nss_files/files-sgrp.c: Likewise.
40300 * nss/nss_files/files-spwd.c: Likewise.
40301 * nss/nss_db/db-alias.c: Removed.
40302 * nss/nss_db/dummy-db.h: Removed.
40303
9ee76b5a
UD
403042011-06-02 Ulrich Drepper <drepper@gmail.com>
40305
40306 * nss/makedb.c: Rewritten to not use database library.
40307 * nss/Makefile: Update to build new makedb program.
40308
c71ca1f8
AJ
403092011-06-14 Andreas Jaeger <aj@suse.de>
40310
40311 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40312 memset declaration.
40313
3154bfb8
UD
403142011-06-10 Andreas Schwab <schwab@redhat.com>
40315
40316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40317 tmpbuf.
40318
b350afab
RM
403192011-06-10 Roland McGrath <roland@hack.frob.com>
40320
decd4e50
RM
40321 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40322 * elf/Makefile ($(objpfx)ld.so): Likewise.
40323
5615eaf2
RM
40324 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40325 Don't list ld.so twice in dependencies.
40326
40327 * posix/bug-regex31.c: Include <stdlib.h>.
40328
40329 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40330
40331 * nis/nss_compat/compat-spwd.c
40332 (getspent_next_nss_netgr): Remove unused variable.
40333 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40334
40335 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40336 nonmembers" output to use the right array.
40337
40338 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40339
40340 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40341
40342 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40343 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40344 * catgets/gencat.c (read_input_file): Likewise.
40345 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40346
40347 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40348 variable definition inside #if's controlling its use.
40349
40350 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40351
40352 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40353
40354 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40355
40356 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40357 unreachable code.
40358
40359 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40360
b68e08db
RM
40361 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40362 * configure: Regenerated.
40363
b350afab
RM
40364 * Makerules: Revert last change.
40365 * elf/Makefile: Likewise.
40366
28368601
RM
403672011-06-09 Roland McGrath <roland@hack.frob.com>
40368
40369 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40370 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40371 (reloc-link): Likewise.
40372
11988f8f
UD
403732011-06-09 Ulrich Drepper <drepper@gmail.com>
40374
40375 * elf/Makefile: Add rules to build pldd.
40376 * elf/pldd.c: New file.
40377 * elf/pldd-xx.c: New file.
40378
e80fab37
UD
403792011-06-07 Ulrich Drepper <drepper@gmail.com>
40380
40381 * version.h: Update for 2.15 development version.
40382
9b849836
DM
403832011-06-07 David S. Miller <davem@davemloft.net>
40384
40385 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40386 ifuncs.
40387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40388 elf_machine_lazy_rel): Likewise.
40389 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40391 elf_machine_lazy_rel): Likewise.
40392 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40393 dl_hwcap via passed in argument.
40394 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40395 Likewise.
40396
5a31b283
AK
403972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40398
40399 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40400
069e52f8
RM
404012011-06-06 Roland McGrath <roland@hack.frob.com>
40402
40403 [BZ #12849]
40404 * manual/fdl-1.1.texi: New file, verbatim from:
40405 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40406 * manual/lgpl-2.1.texi: New file, verbatim from:
40407 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40408 * manual/Makefile (licenses): New variable, list those new file names.
40409 (texis): Use it.
40410 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40411
40412 * manual/fdl.texi: File removed.
40413 * manual/lesser.texi: File removed.
40414 * manual/libc.texinfo (Copying, Documentation License):
40415 Use new @include file names, put @appendix directive before @include.
40416
f16846a5
JJ
404172011-06-04 Jakub Jelinek <jakub@redhat.com>
40418
40419 [BZ #12841]
40420 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40421 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40422 (mq_open): Add __NTH.
40423
3d29045b
L
404242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40425
40426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40427 Assume Intel Core i3/i5/i7 processor if AVX is available.
40428
8c297311
UD
404292011-05-31 Ulrich Drepper <drepper@gmail.com>
40430
40431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40432 typo.
40433
c8fc0c91
UD
404342011-05-31 Andreas Schwab <schwab@redhat.com>
40435
40436 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40437 memory. Use alloca_account. Fix memory leak when retrying.
40438
5b27a807
UD
404392011-05-31 Ulrich Drepper <drepper@gmail.com>
40440
356f8bc6
UD
40441 * version.h (RELEASE): Bump for 2.14 release.
40442 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40443
5b27a807
UD
40444 * config.make.in (RANLIB): Remove entry.
40445
01f16ab0
UD
404462011-05-30 Ulrich Drepper <drepper@gmail.com>
40447
41fce8bd
UD
40448 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40449 (libc.pot): Work around missing support for .ksh extension in xgettext.
40450
4769ae77
UD
40451 [BZ #12684]
40452 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40453 if both request failed.
40454 (send_dg): In case of server errors clear resplen or *resplen2.
40455
6b1e7d19
UD
40456 [BZ #12454]
40457 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40458 when there are multiple maps.
40459 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40460 (_dl_fini): Remove test here.
40461
01f16ab0
UD
40462 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40463
b1ebd700
UD
404642011-05-29 Ulrich Drepper <drepper@gmail.com>
40465
7ae22829
UD
40466 [BZ #12350]
40467 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40468 bit from old_res_options.
40469 (gaih_inet): Likewise.
40470
553149f6 40471 [BZ #11099]
18a84741 40472 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40473 as signed.
40474
652ffab1
UD
40475 * resolv/res_init.c (res_setoptions): Make the code more compact.
40476
16985fd0
UD
40477 [BZ #11558]
40478 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40479 set RES_USEVC.
40480
0464f746
UD
40481 [BZ #11634]
40482 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40483
7d17596c
UD
40484 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40485
cf6bbbd7
UD
40486 [BZ #11781]
40487 * malloc/malloc.h: Declare malloc hook variables as volatile.
40488
13f1ab36
UD
40489 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40490 in last patch.
40491
b1ebd700
UD
40492 [BZ #11799]
40493 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40494 raise in the comment.
80e2212d
UD
40495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40497 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40498
ce67228d
UD
404992011-05-28 Ulrich Drepper <drepper@gmail.com>
40500
8887a920
UD
40501 [BZ #12811]
40502 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40503 grow the buffers more if it already has to be sufficient.
40504 (build_wcs_upper_buffer): Likewise.
40505 * posix/regexec.c (check_matching): Likewise.
40506 (clean_state_log_if_needed): Likewise.
40507 (extend_buffers): Don't enlarge buffers beyond size of the input
40508 buffer.
40509 Patches mostly by Emil Wojak <emil@wojak.eu>.
40510 * posix/bug-regex32.c: New file.
40511 * posix/Makefile (tests): Add bug-regex32.
40512
4f031072
UD
40513 * locale/findlocale.c (_nl_find_locale): Return right away if
40514 _nl_explode_name failed.
40515 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40516
d0478f0c
UD
40517 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40518
de81b246
UD
40519 * debug/xtrace.sh: Unify messages.
40520 * malloc/memusage.sh: Likewise.
40521
c738465a
UD
40522 [BZ #12813]
40523 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40524 time symbol from vDSO. Substitute with vsyscall if not available.
40525 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40526 __vdso_time.
40527
f1f929d7
UD
40528 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40529 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40530 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40531 Add sendmmsg and internal_sendmmsg.
40532 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40533 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40534 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40535
ce67228d
UD
40536 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40537 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40538 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40539
e57420c6
UD
405402011-05-27 Ulrich Drepper <drepper@gmail.com>
40541
a8509ca5
UD
40542 [BZ #12813]
40543 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40544 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40545 available.
40546 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40547 __vdso_getcpu.
40548
e57420c6
UD
40549 [BZ #12814]
40550 * iconvdata/Makefile (tests): Add bug-iconv9.
40551 * iconvdata/bug-iconv9.c: New file.
40552
4d07db15
AS
405532011-05-27 Andreas Schwab <schwab@redhat.com>
40554
40555 [BZ #12814]
40556 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40557
ea486f69
JJ
405582011-05-25 Jakub Jelinek <jakub@redhat.com>
40559
40560 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40561 (struct user_regs_struct): Change intcs field back to cs.
40562
6f038433
UD
405632011-05-25 Ulrich Drepper <drepper@gmail.com>
40564
40565 * po/ja.po: Update from translation team.
40566
67f86a25
UD
405672011-05-23 Ulrich Drepper <drepper@gmail.com>
40568
40569 [BZ #12795]
40570 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40571 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40572
def7fbd6
AS
405732011-05-20 Andreas Schwab <schwab@redhat.com>
40574
40575 * stdlib/longlong.h: Update from GCC.
40576
f50ef8f1
AS
405772011-05-23 Andreas Schwab <schwab@redhat.com>
40578
40579 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40580 parameter name.
40581 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40582 Add parameter name.
40583 (__sysconf): Pass it down.
40584
de7ce8f1
UD
405852011-05-22 Ulrich Drepper <drepper@gmail.com>
40586
f2962a71
UD
40587 [BZ #12671]
40588 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40589 some situations.
40590 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40591 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40592 add in in __libc_use_alloca calls. Adjust callers.
40593 (glob): Use malloc in some situations.
40594
de7ce8f1
UD
40595 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40596 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40597 pltexit.
40598
aec84f53
UD
405992011-05-21 Ulrich Drepper <drepper@gmail.com>
40600
05bb4a68
UD
40601 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40602 and CLOCK_BOOTTIME_ALARM.
40603
7ea72f99
UD
40604 [BZ #12782]
40605 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40606 is returned.
40607
7e4afad5
UD
40608 * string/_strerror.c (__strerror_r): Print negative errors as signed
40609 numbers.
40610
8e211fec
UD
40611 [BZ #12777]
40612 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40613 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40614 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40615
f7d82dc9
UD
40616 * configure.in: Fix typo in redirection and correct removal of test
40617 files in two cases.
40618
cc9e536d
UD
40619 [BZ #12788]
40620 * locale/setlocale.c (new_composite_name): Fix test to check for
40621 identical name of all categories.
40622
aec84f53
UD
40623 [BZ #12792]
40624 * libio/filedoalloc.c (local_isatty): New function.
40625 (_IO_file_doallocate): Use local_isatty.
40626 * stdio-common/perror.c (perror): In case a new stream is used
40627 forward the stream error.
40628 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40629 error flag.
40630
78e64fdc
RT
406312011-05-20 Ulrich Drepper <drepper@gmail.com>
40632
34a9094f
UD
40633 [BZ #11869]
40634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40635 alloca.
40636 * include/alloca.h (extend_alloca_account): Define.
40637
78e64fdc
RT
40638 [BZ #11857]
40639 * posix/regex.h: Fix comments with documentation of user-accessible
40640 fields after compilation and describe correct free'ing of pattern
40641 after re_compile_pattern.
40642 Patch by Reuben Thomas <rrt@sc3d.org>.
40643
457bddfc
RA
406442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40645
40646 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40647 and -mno-altivec to prevent the compiler from using Altivec and/or
40648 VSX instructions when the corresponding registers are not available.
40649
a4527b51
AS
406502011-05-19 Andreas Schwab <schwab@redhat.com>
40651
40652 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40653
ed690b2f
UD
406542011-05-19 Ulrich Drepper <drepper@gmail.com>
40655
40656 * libio/freopen.c (freopen): Use __dup2, not dup2.
40657 * libio/freopen64.c (freopen64): Likewise.
40658
8db73634
L
406592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40660
40661 [BZ #12775]
40662 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40663 * math/Makefile (tests): Add test-powl.
40664 (CFLAGS-test-powl.c): Define.
40665 * math/test-powl.c: New file.
40666
0a197a9d
L
406672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40668
40669 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40670
ee30c380
UD
406712011-05-17 Ulrich Drepper <drepper@gmail.com>
40672
40673 [BZ #11837]
40674 * iconvdata/gb18030.c: Update to GB18020-2005.
40675
6ce75379
UD
406762011-05-16 Ulrich Drepper <drepper@gmail.com>
40677
a4b89fd8
AR
40678 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40679 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40680 Patch by Aharon Robbins <arnold@skeeve.com>.
40681
ea389b12
UD
40682 [BZ #11892]
40683 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40684 on the stack.
40685
68a3f91f
UD
40686 [BZ #11895]
40687 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40688 through underflows.
40689
15cc7dd1
UD
40690 [BZ #12766]
40691 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40692 point to strings before performing equality test for error_one_per_line
40693 mode.
40694
f3799213
UD
40695 [BZ #11697]
40696 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40697
d79a9c94
UD
40698 [BZ #11820]
40699 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40700 (struct user_fpregs_struct): Avoid __uint*_t types.
40701
56e5eb46
UD
40702 [BZ #6420]
40703 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40704 symbol info. Use it instead of calling _dl_addr locally.
40705 (lock_and_info): New function.
40706 (tr_freehook): Call lock_and_info and pass symbol info as additional
40707 parameter to tr_where.
40708 (tr_mallochook): Likewise.
40709 (tr_reallochook): Likewise.
40710 (tr_memalignhook): Likewise.
40711
6ce75379
UD
40712 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40713 used and couldn't be at all thread-safe.
40714
f8a3b5bf
UD
407152011-05-15 Ulrich Drepper <drepper@gmail.com>
40716
94b7cc37
UD
40717 * libio/freopen.c (freopen): Don't close old file descriptor
40718 before the new one is opened. Instead dup the new file descriptor
40719 to the old one after the new stream is created.
40720 * libio/freopen64.c (freopen64): Likewise.
40721 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40722 * libio/fileops.c (_IO_new_file_close_it): Handle new
40723 _IO_FLAGS2_NOCLOSE flag.
40724 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40725 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40726 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40727 _IO_FLAGS2_NOCLOSE flag.
40728 * include/unistd.h: Add hidden_proto for dup3.
40729 Define __have_dup3.
40730 * io/dup3.c: Define hidden symbol.
40731 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40732
bd25564e
UD
40733 [BZ #7101]
40734 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40735 when an incomplete long option is used.
40736 * posix/tst-getopt_long1.c: New file.
40737 * posix/Makefile (tests): Add tst-getopt_long1.
40738
c84cfef4
UD
40739 [BZ #10138]
40740 * scripts/config.guess: Update from autoconf-2.68.
40741 * scripts/config.sub: Likewise.
40742
3b85df27
UD
40743 [BZ #10157]
40744 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40745 tests into ...
40746 (has_cpuclock): ...this. New function.
40747 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40748 macro here based on has_cpuclock code.
40749
15a856b1
UD
40750 [BZ #10149]
40751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40752 First byte (not low byte) is now always NUL.
40753 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40754
05f399e6
UD
40755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40756 Use non-cancelable interfaces.
40757
10a52685 40758 [BZ #9809]
94ecc67d
UD
40759 * locale/iso-639.def: Add entry for Sorani.
40760
f8a3b5bf
UD
40761 [BZ #11901]
40762 * include/stdlib.h: Move include protection to the right place.
40763 Define abort_msg_s. Declare __abort_msg with it.
40764 * stdlib/abort.c (__abort_msg): Adjust type.
40765 * assert/assert.c (__assert_fail_base): New function. Majority
40766 of code from __assert_fail. Allocate memory for __abort_msg with
40767 mmap.
40768 (__assert_fail): Now call __assert_fail_base.
40769 * assert/assert-perr.c: Remove bulk of implementation. Use
40770 __assert_fail_base.
40771 * include/assert.hL Declare __assert_fail_base.
40772 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40773 mmap.
40774 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40775
1af4e298
UD
407762011-05-14 Ulrich Drepper <drepper@gmail.com>
40777
f8a3b5bf 40778 [BZ #11952]
d26dfc60
MG
40779 [BZ #12453]
40780 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40781 until all modules are registered in the DTV.
40782 * elf/Makefile: Add rules to build and run tst-tls19.
40783 * elf/tst-tls19.c: New file.
40784 * elf/tst-tls19mod1.c: New file.
40785 * elf/tst-tls19mod2.c: New file.
40786 * elf/tst-tls19mod3.c: New file.
40787 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40788
2fc54d6f
UD
40789 [BZ #12083]
40790 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40791 correctly.
40792
98d76b46
UD
40793 [BZ #12601]
40794 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40795 two-byte sequence errors.
40796 * iconvdata/Makefile (tests): Add bug-iconv8.
40797 * iconvdata/bug-iconv8.c: New file.
40798
da3c19ef
UD
40799 [BZ #12626]
40800 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40801 buf2 definition.
40802
ca408c15
UD
40803 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40804
d6f67f7d
UD
40805 [BZ #12432]
40806 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40807 (dummy_getcfa): New function.
40808 (init): Get _Unwind_GetCFA address, use dummy if not found.
40809 (backtrace_helper): In recursion check, also check whether CFA changes.
40810 (__backtrace): Completely initialize arg.
40811
1af4e298 40812 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40813 storing incomplete byte sequence in state object. Avoid testing for
40814 guaranteed too small input if we know there is enough data available.
1af4e298 40815
da62f81b
AS
408162011-05-11 Andreas Schwab <schwab@redhat.com>
40817
40818 * Makeconfig (+link-pie): Indent.
40819 * Rules (binaries-pie): Define if $(have-fpie) and
40820 $(build-shared).
40821 (binaries-shared): Also filter out $(binaries-pie).
40822 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40823 * nscd/Makefile (others-pie): Add nscd.
40824 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40825 ($(objpfx)nscd): Remove command override.
40826 * login/Makefile (others-pie): Add pt_chown.
40827 ($(objpfx)pt_chown): Remove command override.
40828 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40829 remove command overrides.
40830
fcabc0f8
UD
408312011-05-13 Ulrich Drepper <drepper@gmail.com>
40832
20030ae6
UD
40833 * libio/tst_putwc.c: Fix error messages.
40834
fcabc0f8
UD
40835 [BZ #12724]
40836 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40837 currently writing and seek to current position when not.
40838 * libio/Makefile (tests): Add bug-fclose1.
40839 * libio/bug-fclose1.c: New file.
40840
320a5dc0
PB
408412011-05-12 Ulrich Drepper <drepper@gmail.com>
40842
40843 [BZ #12511]
40844 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40845 don't set DF_1_NODELETE here.
40846 (do_lookup_x): When entering new entry test for copy relocation
40847 and if necessary set DF_1_NODELETE flag.
40848 * elf/tst-unique4.cc: New file.
40849 * elf/tst-unique4.h: New file.
40850 * elf/tst-unique4lib.cc: New file.
40851 * elf/Makefile: Add rules to build and run tst-unique4.
40852 Patch by Piotr Bury <pbury@goahead.com>.
40853
22836f52
UD
408542011-05-11 Ulrich Drepper <drepper@gmail.com>
40855
f574184a
UD
40856 [BZ #12052]
40857 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40858
e1fb097f
UD
40859 [BZ #12625]
40860 * misc/mntent_r.c (addmntent): Flush the stream after the output
40861
22836f52
UD
40862 [BZ #12393]
40863 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40864 (is_trusted_path_normalize): Skip initial colon. Append slash
40865 to empty buffer. Duplicate is_trusted_path code but allow
40866 constructed patch to be prefix.
40867 (is_dst): Allow $ORIGIN followed by /.
40868 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40869 Correct testing of result of is_trusted_path_normalize
40870 (decompose_rpath): Fix warning.
40871
7b3b0b2a
UD
408722011-05-10 Ulrich Drepper <drepper@gmail.com>
40873
40874 [BZ #11257]
40875 * grp/initgroups.c (internal_getgrouplist): When we found the service
40876 list through the initgroups entry in nsswitch.conf do not always
40877 continue on a successful lookup. Don't always use the
eac80ce2 40878 __nss_group_database value if it is set.
7b3b0b2a
UD
40879 * nss/nsswitch.conf (initgroups): Change action for successful db
40880 lookup to continue for compatibility.
40881
2a81eaa5
UD
408822011-05-09 Ulrich Drepper <drepper@gmail.com>
40883
be97a69e
UD
40884 [BZ #11532]
40885 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40886 and CP774 modules.
40887 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40888 and CP774 modules.
40889 * iconvdata/tst-tables.sh: Likewise.
40890 * iconvdata/cp770.c: New file.
40891 * iconvdata/cp771.c: New file.
40892 * iconvdata/cp772.c: New file.
40893 * iconvdata/cp773.c: New file.
40894 * iconvdata/cp774.c: New file.
40895 * iconvdata/testdata/CP770: New file.
40896 * iconvdata/testdata/CP770..UTF8: New file.
40897 * iconvdata/testdata/CP771: New file.
40898 * iconvdata/testdata/CP771..UTF8: New file.
40899 * iconvdata/testdata/CP772: New file.
40900 * iconvdata/testdata/CP772..UTF8: New file.
40901 * iconvdata/testdata/CP773: New file.
40902 * iconvdata/testdata/CP773..UTF8: New file.
40903 * iconvdata/testdata/CP774: New file.
40904 * iconvdata/testdata/CP774..UTF8: New file.
40905
40906 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40907 END CHARMAP line.
40908 * iconvdata/gen-8bit-gap.sh: Likewise.
40909 * iconvdata/gen-8bit.sh: Likewise.
40910
c1e9e399
UD
40911 * locale/iso-639.def: Add ary entry.
40912
24c55fb3 40913 [BZ #11258]
96b4b1b0
UD
40914 * locale/C-translit.h.in: Add U20A1 transliteration.
40915
bdc2f971
KB
40916 [BZ #12178]
40917 * locale/iso-639.def: Add wae entry.
40918 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40919
2952b117
UD
40920 [BZ #12545]
40921 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40922 for n.
40923
2a81eaa5
UD
40924 [BZ #12711]
40925 * locale/C-translit.h.in: Add entry for U20B9.
40926 Patch by pravin.d.s@gmail.com.
40927
28377d1b
UD
409282011-05-08 Ulrich Drepper <drepper@gmail.com>
40929
7fb90fb8
UD
40930 [BZ #12713]
40931 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40932 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40933 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40934 in rtld. Use *stat64.
7fb90fb8 40935 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40936 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40937 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40938 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40939 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40940 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40941 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40942 __fstatat64 macros.
7fb90fb8
UD
40943 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40944 * dirent/rewinddir.c: Add libc_hidden_def.
40945 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40946 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40947
28377d1b
UD
40948 * include/dirent.h (__alloc_dir): Add flags parameter.
40949 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40950 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40951 __alloc_dir.
40952 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40953 from fdopendir if O_CLOEXEC is already set.
40954
66bdbaa4
AM
409552011-03-15 Alan Modra <amodra@gmail.com>
40956
40957 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40958 l_tls_firstbyte_offset non-zero. Save padding offset in
40959 l_tls_firstbyte_offset for later use.
40960 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40961 freeing static tls block.
40962
95721191
JN
409632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40964
40965 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40966 where #ifdef was intended. The intent is to prevent ARG_MAX from
40967 being defined by the kernel headers.
40968
f87dfb1f
UD
409692011-05-07 Ulrich Drepper <drepper@gmail.com>
40970
40971 [BZ #12734]
40972 * resolv/resolv.h: Define RES_NOTLDQUERY.
40973 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40974 no-tld-query and set RES_NOTLDQUERY.
40975 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40976 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40977 modern BIND to search name as TLD unless forbidden.
40978
47c3cd7a
UD
409792011-05-07 Petr Baudis <pasky@suse.cz>
40980 Ulrich Drepper <drepper@gmail.com>
40981
40982 [BZ #12393]
40983 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40984 (is_trusted_path): ...to here.
c1e9ea35 40985 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40986 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40987 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40988
8a35c912
PP
409892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40990
40991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40992 __BEGIN/__END_DECLS.
40993
acd41f47
UD
409942011-05-06 Ulrich Drepper <drepper@gmail.com>
40995
40996 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40997 NSS_STATUS_NOTFOUND if no record was found.
40998
597df647
AS
409992011-05-05 Andreas Schwab <schwab@redhat.com>
41000
41001 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41002 (headers-not-in-tirpc): Remove rpc/netdb.h
41003 * resolv/netdb.h: Revert last change.
41004
b9af1301
PP
410052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41006
41007 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41008 circular dependency between libgcc.a and libc.a.
41009
4e34d5f5
AS
410102011-05-05 Andreas Schwab <schwab@redhat.com>
41011
41012 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41013 * nis/Makefile: Don't install rpcsvc/*.
41014 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41015 instead of <rpc/types.h>.
41016 (MAXHOSTNAMELEN): Define.
41017
00ee369c
AS
410182011-05-03 Andreas Schwab <schwab@redhat.com>
41019
41020 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41021
0b592a30
MB
410222011-04-28 Maciej Babinski <mbabinski@google.com>
41023
41024 [BZ #12714]
41025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41026 gethostbyname4_r when IPv6 results are possible.
41027
6e04cbbe
UD
410282011-05-02 Ulrich Drepper <drepper@gmail.com>
41029
41030 [BZ #12723]
41031 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41032 _PC_PIPE_BUF handling.
41033
e4ecafe0
BH
410342011-04-30 Bruno Haible <bruno@clisp.org>
41035
41036 [BZ #12717]
41037 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41038 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41039 to 'int'.
41040 * inet/getnameinfo.c (getnameinfo): Likewise.
41041
125ee683
UD
410422011-04-29 Ulrich Drepper <drepper@gmail.com>
41043
41044 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41045 to groups setting in database lookup.
41046 * nss/nsswitch.conf: Add initgroups entry.
41047
b722481a
EB
410482011-04-22 Ulrich Drepper <drepper@gmail.com>
41049
41050 [BZ #12685]
41051 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41052 mode string.
41053 Patch by Eric Blake <eblake@redhat.com>.
41054
4df46dbd
L
410552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41056
41057 * sunrpc/Makefile (need-export-routines): Add svc_run.
41058 (routines): Remove svc_run.
41059 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41060 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41061 * sunrpc/svc_run.c (svc_run): Likewise.
41062 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41063
e84142d2
UD
410642011-04-21 Ulrich Drepper <drepper@gmail.com>
41065
41066 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41067 problem in reallocation in last patch.
41068
877175d8
UD
410692011-04-20 Ulrich Drepper <drepper@gmail.com>
41070
41071 * sunrpc/Makefile: Move inclusion of Rules.
41072
ab8eed78
UD
410732011-04-19 Ulrich Drepper <drepper@gmail.com>
41074
41075 * nss/nss_files/files-initgroups.c: New file.
41076 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41077 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41078 _nss_files_initgroups_dyn.
41079
e3d8f584
RS
410802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41081
41082 * elf/elf.h (R_ARM_IRELATIVE): Define.
41083
af190f45
UD
410842011-04-19 Ulrich Drepper <drepper@gmail.com>
41085
41086 * po/ru.po: Update from translation team.
41087
53cf59ef
UD
410882011-04-17 Ulrich Drepper <drepper@gmail.com>
41089
41090 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41091 dependencies.
41092
4c559bcd
MF
410932011-02-06 Mike Frysinger <vapier@gentoo.org>
41094
41095 [BZ #12653]
41096 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41097 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41098 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41099 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41100 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41101
4420675c
AS
411022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41103
41104 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41105 differing bytes.
41106 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41109
75ea32ab
UD
411102011-04-17 Ulrich Drepper <drepper@gmail.com>
41111
41112 [BZ #12420]
41113 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41114 storing it.
41115 * stdlib/bug-getcontext.c: New file.
41116 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41117
27390476
AK
411182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41119
41120 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41121 instructions into .machine "z9-109".
41122 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41123 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41124
10442705
AK
411252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41126
41127 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41128 between environment variables and auxiliary vector.
41129
7b57bfe5
UD
411302011-04-16 Ulrich Drepper <drepper@gmail.com>
41131
41132 * Makefile: Add rules to build linkobj/libc.so.
41133 * include/libc-symbols.h: Define libc_hidden_nolink.
41134 * include/rpc/auth.h: Mark functions which are to be hidden.
41135 * include/rpc/auth_des.h: Likewise.
41136 * include/rpc/auth_unix.h: Likewise.
41137 * include/rpc/clnt.h: Likewise.
41138 * include/rpc/des_crypt.h: Likewise.
41139 * include/rpc/key_prot.h: Likewise.
41140 * include/rpc/pmap_clnt.h: Likewise.
41141 * include/rpc/pmap_prot.h: Likewise.
41142 * include/rpc/pmap_rmt.h: Likewise.
41143 * include/rpc/rpc_msg.h: Likewise.
41144 * include/rpc/svc.h: Likewise.
41145 * include/rpc/svc_auth.h: Likewise.
41146 * include/rpc/xdr.h: Likewise.
41147 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41148 * nss/Makefile: Likewise.
41149 * sunrpc/Makefile: Don't install headers. Build library with normal
41150 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41151 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41152 for the compat linking library. Remove use of INTDEF/INTUSE.
41153 * sunrpc/auth_none.c: Likewise.
41154 * sunrpc/auth_unix.c: Likewise.
41155 * sunrpc/authdes_prot.c: Likewise.
41156 * sunrpc/authuxprot.c: Likewise.
41157 * sunrpc/clnt_gen.c: Likewise.
41158 * sunrpc/clnt_perr.c: Likewise.
41159 * sunrpc/clnt_raw.c: Likewise.
41160 * sunrpc/clnt_simp.c: Likewise.
41161 * sunrpc/clnt_tcp.c: Likewise.
41162 * sunrpc/clnt_udp.c: Likewise.
41163 * sunrpc/clnt_unix.c: Likewise.
41164 * sunrpc/des_crypt.c: Likewise.
41165 * sunrpc/des_soft.c: Likewise.
41166 * sunrpc/get_myaddr.c: Likewise.
41167 * sunrpc/key_call.c: Likewise.
41168 * sunrpc/key_prot.c: Likewise.
41169 * sunrpc/netname.c: Likewise.
41170 * sunrpc/pm_getmaps.c: Likewise.
41171 * sunrpc/pm_getport.c: Likewise.
41172 * sunrpc/pmap_clnt.c: Likewise.
41173 * sunrpc/pmap_prot.c: Likewise.
41174 * sunrpc/pmap_prot2.c: Likewise.
41175 * sunrpc/pmap_rmt.c: Likewise.
41176 * sunrpc/publickey.c: Likewise.
41177 * sunrpc/rpc_cmsg.c: Likewise.
41178 * sunrpc/rpc_common.c: Likewise.
41179 * sunrpc/rpc_dtable.c: Likewise.
41180 * sunrpc/rpc_prot.c: Likewise.
41181 * sunrpc/rpc_thread.c: Likewise.
41182 * sunrpc/rtime.c: Likewise.
41183 * sunrpc/svc.c: Likewise.
41184 * sunrpc/svc_auth.c: Likewise.
41185 * sunrpc/svc_authux.c: Likewise.
41186 * sunrpc/svc_raw.c: Likewise.
41187 * sunrpc/svc_run.c: Likewise.
41188 * sunrpc/svc_simple.c: Likewise.
41189 * sunrpc/svc_tcp.c: Likewise.
41190 * sunrpc/svc_udp.c: Likewise.
41191 * sunrpc/svc_unix.c: Likewise.
41192 * sunrpc/svcauth_des.c: Likewise.
41193 * sunrpc/xcrypt.c: Likewise.
41194 * sunrpc/xdr.c: Likewise.
41195 * sunrpc/xdr_array.c: Likewise.
41196 * sunrpc/xdr_float.c: Likewise.
41197 * sunrpc/xdr_intXX_t.c: Likewise.
41198 * sunrpc/xdr_mem.c: Likewise.
41199 * sunrpc/xdr_rec.c: Likewise.
41200 * sunrpc/xdr_ref.c: Likewise.
41201 * sunrpc/xdr_sizeof.c: Likewise.
41202 * sunrpc/xdr_stdio.c: Likewise.
41203
e6c61494
UD
412042011-04-10 Ulrich Drepper <drepper@gmail.com>
41205
41206 [BZ #12650]
41207 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41208 * sysdeps/ia64/dl-tls.h: Likewise.
41209 * sysdeps/powerpc/dl-tls.h: Likewise.
41210 * sysdeps/s390/dl-tls.h: Likewise.
41211 * sysdeps/sh/dl-tls.h: Likewise.
41212 * sysdeps/sparc/dl-tls.h: Likewise.
41213 * sysdeps/x86_64/dl-tls.h: Likewise.
41214 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41215
34fe483e
AS
412162011-03-14 Andreas Schwab <schwab@redhat.com>
41217
41218 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41219 rpath element also skip the following colon.
41220 (expand_dynamic_string_token): Add is_path parameter and pass
41221 down to DL_DST_REQUIRED and _dl_dst_substitute.
41222 (decompose_rpath): Call expand_dynamic_string_token with
41223 non-zero is_path. Ignore empty rpaths.
41224 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41225 with zero is_path.
41226
f12a32e6
AS
412272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41228
41229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41230 Make cancelable.
41231
38a7d692
UD
412322011-04-09 Ulrich Drepper <drepper@gmail.com>
41233
41234 [BZ #12655]
41235 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41236 Patch by Filipe David Manana <fdmanana@apache.org>.
41237
e451d22b
AS
412382011-04-07 Andreas Schwab <schwab@redhat.com>
41239
41240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41241 Maintain aligned stack.
41242 (CHECK_RSP): Remove unused macro.
41243
dedc7c7b
UD
412442011-04-03 Ulrich Drepper <drepper@gmail.com>
41245
41246 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41247 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41248
94521213
UD
412492011-04-02 Ulrich Drepper <drepper@gmail.com>
41250
41251 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41252
8cb700c0 41253 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41254
0354e355
L
412552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41256
41257 [BZ #12518]
41258 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41259 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41260 * sysdeps/x86_64/memmove.c: New file.
41261 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41262 (memcpy): Renamed to ...
41263 (__new_memcpy): This.
41264 (memcpy): Provide GLIBC_2_14 memcpy.
41265 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41266 (memcpy): Provide GLIBC_2_2_5 memcpy.
41267
8593482f
UD
412682011-04-01 Ulrich Drepper <drepper@gmail.com>
41269
41270 [BZ #12631]
41271 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41272
81a5726b
AS
412732011-03-30 Andreas Schwab <schwab@redhat.com>
41274
41275 * misc/syncfs.c: New file.
41276 * misc/Makefile (routines): Add syncfs.
41277 * posix/unistd.h: Declare syncfs.
41278 * sysdeps/unix/syscalls.list: Add syncfs.
41279
00e5419f
AS
412802011-04-01 Andreas Schwab <schwab@redhat.com>
41281
41282 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41283 open_by_handle_at.
41284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41285 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41287 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41289 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41291
748876bf
UD
412922011-04-01 Ulrich Drepper <drepper@gmail.com>
41293
658e451d
UD
41294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41296 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41298 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41300 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41301
748876bf
UD
41302 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41303 sync_file_range.c with -fexceptions.
41304 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41305 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41306 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41307 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41308 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41309 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41310 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41311 sync_file_range as cancellation point
41312 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41313 now a wrapper around __call_sync_file_range with cancellation handling.
41314 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41315 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41316 function name to __call_sync_file_range.
41317 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41318 Add call_sync_file_range.
748876bf 41319
6e63d5e1
AS
413202011-04-01 Andreas Schwab <schwab@redhat.com>
41321
41322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41323 bits/timex.h.
6e63d5e1 41324
46998f74
UD
413252011-04-01 Ulrich Drepper <drepper@gmail.com>
41326
4c1423ed
UD
41327 * iconv/iconv.h: Fix typo in comment.
41328 * io/fcntl.h: Likewise.
41329 * libio/stdio.h: Likewise.
41330 * posix/spawn.h: Likewise.
41331 * posix/unistd.h: Likewise.
41332 * stdlib/stdlib.h: Likewise.
41333 * time/time.h: Likewise.
41334 * wcsmbs/wchar.h: Likewise.
41335
158648c0
UD
41336 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41337 open_by_handle): Add.
41338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41339 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41340 Augment a few comments.
41341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41343 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41346 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41347 open_by_handle.
41348
46998f74
UD
41349 * io/fcntl.h (AT_EMPTY_PATH): Define.
41350
83fe108b
UD
413512011-03-30 Ulrich Drepper <drepper@gmail.com>
41352
41353 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41354 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41355 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41356 to...
41357 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41358 * Versions.def: Add GLIBC_2.14.
41359 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41360 Export.
83fe108b 41361
bb242059
UD
413622011-03-22 Ulrich Drepper <drepper@gmail.com>
41363
41364 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41365 round counter.
41366 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41367
c97a1282
L
413682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41369
41370 [BZ #12597]
41371 * string/test-strncmp.c (do_page_test): New function.
41372 (check2): Likewise.
41373 (test_main): Call check2.
41374 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41375
2a115601
UD
413762011-03-20 Ulrich Drepper <drepper@gmail.com>
41377
41378 [BZ #12587]
41379 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41380 Handle cache information in CPU leaf 4.
41381 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41382
8126d904
UD
413832011-03-18 Ulrich Drepper <drepper@gmail.com>
41384
042c49c6 41385 [BZ #12583]
8126d904
UD
41386 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41387 character representation.
41388 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41389
ccfe366e
RA
413902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41391
41392 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41393 END(__isnan) to END(__isnanf) to match function entry point/label
41394 EALIGN(__isnanf,...).
41395
c6e13027
JJ
413962011-03-10 Jakub Jelinek <jakub@redhat.com>
41397
41398 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41399
33f85a3f
UD
414002011-03-10 Ulrich Drepper <drepper@gmail.com>
41401
028478fa
UD
41402 [BZ #12510]
41403 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41404 copy from the symbol referenced in the relocation to initialize the
41405 used variable.
41406 Patch by Piotr Bury <pbury@goahead.com>.
41407 * elf/Makefile: Add rules to build and tst-unique3.
41408 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41409 * elf/tst-unique3.cc: New file.
41410 * elf/tst-unique3.h: New file.
41411 * elf/tst-unique3lib.cc: New file.
41412 * elf/tst-unique3lib2.cc: New file.
41413
33f85a3f
UD
41414 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41415
03592fc7
MF
414162011-03-10 Mike Frysinger <vapier@gentoo.org>
41417
41418 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41419 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41420 to _start.
03592fc7 41421
6a5ee102
UD
414222011-03-06 Ulrich Drepper <drepper@gmail.com>
41423
41424 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41425 to-be-loaded object along a path to loader is ld.so.
41426
7e4ba49c
HJ
414272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41428 Ulrich Drepper <drepper@gmail.com>
41429
41430 * sysdeps/x86_64/memset.S: After aligning destination, code
41431 branches to different locations depending on the value of
41432 misalignment, when multiarch is enabled. Fix this.
41433
414342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41435
41436 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41437 Set _x86_64_preferred_memory_instruction for AMD processsors.
41438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41439 Set bit_Prefer_SSE_for_memop for AMD processors.
41440
13a804de
UD
414412011-03-04 Ulrich Drepper <drepper@gmail.com>
41442
41443 * libio/fmemopen.c (fmemopen): Optimize a bit.
41444
9d25c392
AS
414452011-03-03 Andreas Schwab <schwab@redhat.com>
41446
41447 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41448
a5543c6a
RM
414492011-03-03 Roland McGrath <roland@redhat.com>
41450
41451 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41452
012d35f7
DM
414532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41454
7e4ba49c 41455 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41456 __bzero_ultra1 instead of __memset_ultra1.
41457
4bff6e01
AS
414582011-02-23 Andreas Schwab <schwab@redhat.com>
41459 Ulrich Drepper <drepper@gmail.com>
41460
41461 [BZ #12509]
41462 * include/link.h (struct link_map): Add l_orig_initfini.
41463 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41464 returning unsuccessfully.
41465 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41466 close of a file loaded at startup, restore the original l_initfini
41467 list.
41468 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41469 list, store the pointer.
41470 * elf/Makefile ($(objpfx)noload-mem): New rule.
41471 (noload-ENV): Define.
41472 (tests): Add $(objpfx)noload-mem.
41473 * elf/noload.c: Include <memcheck.h>.
41474 (main): Call mtrace. Close all opened handles.
41475
f2092faf
AS
414762011-02-17 Andreas Schwab <schwab@redhat.com>
41477
41478 [BZ #12454]
41479 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41480 dependencies are missing.
41481
6c8a2e88
ST
414822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41483
f2092faf 41484 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41485 Hurd needs munmap.
41486 * sysdeps/mach/hurd/ifreq.h: New file.
41487
84a42118
PB
414882011-01-27 Petr Baudis <pasky@suse.cz>
41489 Ulrich Drepper <drepper@gmail.com>
41490
071f805e 41491 [BZ 12445]#
84a42118
PB
41492 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41493 to extend_alloca().
41494 * stdio-common/bug23.c: New file.
41495 * stdio-common/Makefile (tests): Add bug23.
41496
e23fe25b
AS
414972010-09-28 Andreas Schwab <schwab@redhat.com>
41498 Ulrich Drepper <drepper@gmail.com>
41499
41500 [BZ #12489]
41501 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41502 before performing relro protection. At old place add assertion
41503 to make sure nothing changed.
41504
d3f02e10
NS
415052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41506 Glauber de Oliveira Costa <glommer@gmail.com>
41507
41508 * elf/elf.h: Add new ARM TLS relocs.
41509
d55fd7a5
RA
415102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41511
41512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41513 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41514 cast from r3.
41515 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41516 'tests' variable.
41517 * sysdeps/wordsize-64/tst-writev.c: New file.
41518
2206397e
RA
415192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41520
41521 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41522 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41523 insns in _dl_start to prevent a TOC reference before relocs are
41524 resolved.
41525
e9433893
UD
415262011-02-15 Ulrich Drepper <drepper@gmail.com>
41527
41528 [BZ #12469]
41529 * Makeconfig: Remove RANLIB definition.
41530 * Makerules: Don't use RANLIB.
41531 * aclocal.m4: Remove ranlib test.
41532 * configure.in: No need to check for ranlib.
41533 * elf/rtld-Rules: Don't use RANLIB.
41534
f75286c6
ST
415352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41536
8e31c82d
ST
41537 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41538 protection macro.
41539 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41540 inclusion protection macro.
41541
f75286c6
ST
41542 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41543 SIGRTMIN and SIGRTMAX and print information in that case only when
41544 SIGRTMIN is defined.
41545
c1d0e639
JJ
415462011-02-11 Jakub Jelinek <jakub@redhat.com>
41547
41548 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41549 arginfo fn returning -1.
41550
41551 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41552 and thousands string is zero terminated.
41553
edf9294e
AS
415542011-02-03 Andreas Schwab <schwab@redhat.com>
41555
41556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41557 sysdeps/unix/sysv/linux/bits/socket.h.
41558
2b7e92df
ST
415592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41560
edf9294e
AS
41561 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41562 (__CPU_COUNT): Remove old macros.
41563 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41564 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41565 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41566 (__sched_cpualloc, __sched_cpufree): Add declarations.
41567
a4c7ea7b
UD
415682011-02-05 Ulrich Drepper <drepper@gmail.com>
41569
41570 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41571 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41572 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41573 (readdhstai): Return value of addhstaiX call.
41574 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41575 (addgrbyX): Return value returned by cache_addgr.
41576 (readdgrbyname): Return value returned by addgrbyX.
41577 (readdgrbygid): Likewise.
41578 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41579 (addpwbyX): Return value returned by cache_addpw.
41580 (readdpwbyname): Return value returned by addhstbyX.
41581 (readdpwbyuid): Likewise.
41582 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41583 (addservbyX): Return value returned by cache_addserv.
41584 (readdservbyname): Return value returned by addservbyX:
41585 (readdservbyport): Likewise.
41586 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41587 (addhstbyX): Return value returned by cache_addhst.
41588 (readdhstbyname): Return value returned by addhstbyX.
41589 (readdhstbyaddr): Likewise.
41590 (readdhstbynamev6): Likewise.
41591 (readdhstbyaddrv6): Likewise.
41592 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41593 (readdinitgroups): Return value returned by addinitgroupsX.
41594 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41595 (prune_cache): Keep track of timeout value of re-added entries.
41596 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41597 * nscd/nscd.h: Adjust prototypes of readd* functions.
41598
a0bf67cc
RM
415992011-02-04 Roland McGrath <roland@redhat.com>
41600
41601 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41602 (nis_stats): Likewise.
41603 * nis/nis_modify.c (nis_modify): Likewise.
41604 * nis/nis_remove.c (nis_remove): Likewise.
41605 * nis/nis_add.c (nis_add): Likewise.
41606
41607 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41608
41609 * posix/fnmatch_loop.c: Add some consts.
41610
41611 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41612
435b95eb
L
416132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41614
41615 [BZ #12460]
41616 * config.make.in (config-cflags-novzeroupper): Define.
41617 * configure.in: Substitute libc_cv_cc_novzeroupper.
41618 * elf/Makefile (AVX-CFLAGS): Define.
41619 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41620 (CFLAGS-tst-auditmod4a.c): Likewise.
41621 (CFLAGS-tst-auditmod4b.c): Likewise.
41622 (CFLAGS-tst-auditmod6b.c): Likewise.
41623 (CFLAGS-tst-auditmod6c.c): Likewise.
41624 (CFLAGS-tst-auditmod7b.c): Likewise.
41625 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41626
8517b15e
UD
416272011-02-02 Ulrich Drepper <drepper@gmail.com>
41628
41629 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41630 function to the callback.
41631 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41632
10a656fe
AS
416332011-02-02 Andreas Schwab <schwab@redhat.com>
41634
41635 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41636 of errno.
41637
968dad0a
UD
416382011-01-19 Ulrich Drepper <drepper@gmail.com>
41639
9f94d2ea 41640 [BZ #11724]
968dad0a
UD
41641 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41642 of constructors.
41643 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41644 of destructors.
41645 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41646
41647 [BZ #11724]
41648 * elf/Makefile: Add rules to build and run new test.
41649 * elf/tst-initorder.c: New file.
41650 * elf/tst-initorder.exp: New file.
41651 * elf/tst-initordera1.c: New file.
41652 * elf/tst-initordera2.c: New file.
41653 * elf/tst-initordera3.c: New file.
41654 * elf/tst-initordera4.c: New file.
41655 * elf/tst-initorderb1.c: New file.
41656 * elf/tst-initorderb2.c: New file.
41657 * elf/tst-order-a1.c: New file.
41658 * elf/tst-order-a2.c: New file.
41659 * elf/tst-order-a3.c: New file.
41660 * elf/tst-order-a4.c: New file.
41661 * elf/tst-order-b1.c: New file.
41662 * elf/tst-order-b2.c: New file.
41663 * elf/tst-order-main.c: New file.
41664 New test case by George Gensure <werkt0@gmail.com>.
41665
86e92359
UD
416662010-10-01 Andreas Schwab <schwab@redhat.com>
41667
41668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41669 decoding ACE if AI_CANONIDN.
41670
5d5732b0
UD
416712011-01-18 Ulrich Drepper <drepper@gmail.com>
41672
41673 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41674
a77e8cbc
UD
416752011-01-17 Ulrich Drepper <drepper@gmail.com>
41676
6392473f
UD
41677 * version.h (RELEASE): Bump for 2.13 release.
41678 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41679
620a0529
UD
41680 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41681
18ba70a5
UD
41682 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41683 MADV_NOHUGEPAGE.
32465c3e
UD
41684 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41685 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41687 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41689 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41690
c0dafcf1
UD
41691 * posix/getconf.c: Update copyright year.
41692 * catgets/gencat.c: Likewise.
41693 * csu/version.c: Likewise.
41694 * debug/catchsegv.sh: Likewise.
41695 * debug/xtrace.sh: Likewise.
41696 * elf/ldconfig.c: Likewise.
41697 * elf/ldd.bash.in: Likewise.
41698 * elf/sprof.c (print_version): Likewise.
41699 * iconv/iconv_prog.c: Likewise.
41700 * iconv/iconvconfig.c: Likewise.
41701 * locale/programs/locale.c: Likewise.
41702 * locale/programs/localedef.c: Likewise.
41703 * malloc/memusage.sh: Likewise.
41704 * malloc/mtrace.pl: Likewise.
41705 * nscd/nscd.c (print_version): Likewise.
41706 * nss/getent.c: Likewise.
41707
a77e8cbc
UD
41708 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41709 PF_CAIF, and PF_ALG.
41710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41711
77e8bddf
AS
417122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41713
1f20b93a
AS
41714 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41715 (modules-names): Use them.
41716 (ifunc-test-modules, ifunc-pie-tests): Define.
41717 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41718 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41719 (test-extras): Likewise.
41720 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41721 $(compile-command.c).
41722 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41723 (all-built-dso): Define.
41724 (check-textrel.out, check-execstack.out): Depend on it.
41725
77e8bddf
AS
41726 * configure.in: Don't override --enable-multi-arch.
41727
bc425b33
UD
417282011-01-15 Ulrich Drepper <drepper@gmail.com>
41729
41730 [BZ #6812]
41731 * nscd/hstcache.c (tryagain): Define.
41732 (cache_addhst): Return tryagain not notfound for temporary errors.
41733 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41734 failed.
41735
794c3ad3
UD
417362011-01-14 Ulrich Drepper <drepper@gmail.com>
41737
70181fdd
UD
41738 [BZ #10563]
41739 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41740 to make the syscall.
41741 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41742
794c3ad3
UD
41743 [BZ #12378]
41744 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41745 and fall back to matching as normal character if the string ends before
41746 the matching ']' is found. This is what POSIX requires.
41747 * posix/testfnm.c: Adjust test result.
41748 * posix/globtest.sh: Adjust test result. Add new test.
41749 * posix/tst-fnmatch.input: Likewise.
41750 * posix/tst-fnmatch2.c: Add new test.
41751
68dc9497
AS
417522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41753
41754 * elf/Makefile (check-execstack): Revert last change. Depend on
41755 check-execstack.h.
41756 (check-execstack.h): New target.
41757 (generated): Add check-execstack.h.
41758 * elf/check-execstack.c: Include "check-execstack.h".
41759 (main): Revert last change.
41760 (handle_file): Return zero if GNU_STACK is absent and
41761 DEFAULT_STACK_PERMS doesn't include PF_X.
41762
451f001b
UD
417632011-01-13 Ulrich Drepper <drepper@gmail.com>
41764
cfa28e56
UD
41765 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41766 in child fails because the descriptor is already closed.
8cf8ce17
UD
41767 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41768 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41769 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41770
1086d70d
UD
41771 [BZ #12397]
41772 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41773 syscall.
41774
451f001b
UD
41775 [BZ #10484]
41776 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41777 temporary buffer used to handle multi lookups locally.
a85b5cb4 41778 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41779
08769175
UD
417802011-01-12 Ulrich Drepper <drepper@gmail.com>
41781
41782 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41783 loader is ld.so.
41784
5e49c52e
UD
417852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41786
41787 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41788 alignment for SSE2.
41789
60522a5f
UD
417902011-01-12 Ulrich Drepper <drepper@gmail.com>
41791
41792 [BZ #12394]
41793 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41794 characters. When rounding increased number of integer digits recompute
41795 number of groups.
41796 * stdio-common/tst-grouping.c: New file.
41797 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41798
f257bbd7
UD
417992011-01-09 Ulrich Drepper <drepper@gmail.com>
41800
41801 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41802 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41803
41804 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41805 void.
41806 * bits/select.h: Likewise.
41807
fa9c15cb
UD
418082011-01-08 Ulrich Drepper <drepper@gmail.com>
41809
41810 * po/ja.po: Update from translation team.
41811
16c2895f
DM
418122011-01-04 David S. Miller <davem@sunset.davemloft.net>
41813
41814 [BZ #11155]
41815 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41816 implementation just like for lxstat, fxstatat, et al.
41817
2543fef2
JM
418182010-12-27 Jim Meyering <meyering@redhat.com>
41819
41820 [BZ #12348]
41821 * posix/regexec.c (build_trtable): Return failure indication upon
41822 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41823
98727dbe
UD
418242010-12-25 Ulrich Drepper <drepper@gmail.com>
41825
5bd6dc5c
UD
41826 [BZ #12201]
41827 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41828 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41829 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41830 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41831
97983464
UD
41832 [BZ #12207]
41833 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41834
98727dbe
UD
41835 [BZ #12204]
41836 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41837 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41838
4a531bb0
L
418392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41840
41841 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41842 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41843 script has SORT_BY_INIT_PRIORITY.
41844 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41845 NO_CTORS_DTORS_SECTIONS is defined.
41846 * elf/soinit.c: Likewise.
41847 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41848 NO_CTORS_DTORS_SECTIONS is defined.
41849 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41850 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41851 * sysdeps/sh/init-first.c: Likewise.
41852 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41853
07eb4b71
UD
418542010-12-24 Ulrich Drepper <drepper@gmail.com>
41855
41856 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41857 always use the slow path.
41858
30950a5f
RA
418592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41860
41861 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41862 similar rule which adds the sysdep directories to the header search in
41863 order to pick up the correct platform stackinfo.h.
41864 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41865 perform test if it is, otherwise return successfully without testing.
41866 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41867 DEFAULT_STACK_PERMS define in stackinfo.h.
41868 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41869 defined in stackinfo.h.
41870 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41871 DEFAULT_STACK_PERMS defined in stackinfo.h.
41872 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41873 * sysdeps/ia64/stackinfo.h: Likewise.
41874 * sysdeps/s390/stackinfo.h: Likewise.
41875 * sysdeps/sh/stackinfo.h: Likewise.
41876 * sysdeps/sparc/stackinfo.h: Likewise.
41877 * sysdeps/x86_64/stackinfo.h: Likewise.
41878 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41879 PF_X for powerpc64. Retain PF_X for powerpc32.
41880
db753e2c
UD
418812010-12-19 Ulrich Drepper <drepper@gmail.com>
41882
14b697f7
UD
41883 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41884 accurately.
db753e2c
UD
41885 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41886 GETDENTS_64BIT_ALIGNED.
41887
28300719
UD
418882010-12-14 Ulrich Drepper <dreper@gmail.com>
41889
14b697f7 41890 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41891
4f197237
AS
418922010-12-10 Andreas Schwab <schwab@redhat.com>
41893
dbb0472f
AS
41894 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41895 _GNU_SOURCE.
41896
4f197237
AS
41897 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41898 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41899 Remove __restrict.
41900 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41901 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41902
fb88ac72
UD
419032010-12-09 Ulrich Drepper <drepper@gmail.com>
41904
41905 [BZ #11655]
41906 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41907 are initialized.
41908
42acbb92
JJ
419092010-12-09 Jakub Jelinek <jakub@redhat.com>
41910
41911 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41912
c038d98d
UD
419132010-12-03 Ulrich Drepper <drepper@gmail.com>
41914
41915 * po/it.po: Update from translation team.
41916
3a4a2499
L
419172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41918
41919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41920 unused codes.
41921
1e24cf6e
UD
419222010-11-30 Ulrich Drepper <drepper@gmail.com>
41923
41924 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41925
a7690819
AS
419262010-11-24 Andreas Schwab <schwab@redhat.com>
41927
41928 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41929 specially.
41930 (gaih_getanswer_slice): Likewise.
41931
3bf8d1b1
JJ
419322010-10-20 Jakub Jelinek <jakub@redhat.com>
41933
41934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41935
6db52fbb
PB
419362010-05-31 Petr Baudis <pasky@suse.cz>
41937
41938 [BZ #11149]
41939 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41940 silently even in the chroot mode.
41941
eaca7569
UD
419422010-11-22 Ulrich Drepper <drepper@gmail.com>
41943
41944 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41945 last patch a bit. Pretty printing
41946
3056dcdb
UD
419472010-05-31 Petr Baudis <pasky@suse.cz>
41948
41949 [BZ #10085]
41950 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41951 initialization of skip_initgroups_dyn.
41952
cf7c9078
UD
419532010-11-19 Ulrich Drepper <drepper@gmail.com>
41954
41955 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41956 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41957
a1fb5e3e
UD
419582010-11-16 Ulrich Drepper <drepper@gmail.com>
41959
41960 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41961
3540d66b
AS
419622010-11-11 Andreas Schwab <schwab@redhat.com>
41963
41964 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41965 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41966 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41967 ($(objpfx)tst-fnmatch-mem): New rule.
41968 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41969 * posix/tst-fnmatch.c (main): Call mtrace.
41970
13b69574
L
419712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41972
41973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41974 Support Intel processor model 6 and model 0x2c.
41975
da93d214
LM
419762010-11-10 Luis Machado <luisgpm@br.ibm.com>
41977
41978 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41979 signed comparison.
41980
8ca52c6e
L
419812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41982
41983 [BZ #12205]
41984 * string/test-strncasecmp.c (check_result): New function.
41985 (do_one_test): Use it.
41986 (check1): New function.
41987 (test_main): Use it.
41988 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41989 Support strcasecmp and strncasecmp.
41990
69da074d
UD
419912010-11-08 Ulrich Drepper <drepper@gmail.com>
41992
41993 [BZ #12194]
41994 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41995 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41996
ff02d528
L
419972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41998
41999 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42000 IFUNC support.
42001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42002 memset-x86-64.
42003 * sysdeps/x86_64/multiarch/bzero.S: New file.
42004 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42005 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42006 * sysdeps/x86_64/multiarch/memset.S: New file.
42007 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42009 Set bit_Prefer_SSE_for_memop for Intel processors.
42010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42011 Define.
42012 (index_Prefer_SSE_for_memop): Define.
42013 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42014
344d0b54
LM
420152010-11-04 Luis Machado <luisgpm@br.ibm.com>
42016
42017 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42018 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42019
c0dde15b
UD
420202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42021
42022 [BZ #12191]
42023 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42024 (__x86_64_raw_data_cache_size_half): Likewise.
42025 (__x86_64_raw_shared_cache_size): Likewise.
42026 (__x86_64_raw_shared_cache_size_half): Likewise.
42027
42028 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42029 (__x86_64_raw_data_cache_size_half): Likewise.
42030 (__x86_64_raw_shared_cache_size): Likewise.
42031 (__x86_64_raw_shared_cache_size_half): Likewise.
42032 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42033 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42034 and __x86_64_raw_shared_cache_size_half. Round
42035 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42036 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42037 to multiple of 256 bytes.
42038
0e516e0e
MS
420392010-11-03 Ulrich Drepper <drepper@gmail.com>
42040
42041 [BZ #12167]
42042 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42043 of inacessible symlinks. Verify result of symlink before returning it.
42044 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42045 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42046
0e012e87
ER
420472010-10-28 Erich Ritz <erichritz@gmail.com>
42048
42049 * math/math.h (isinf): Fix typo in comment.
42050
de0ff7bc
UD
420512010-11-01 Ulrich Drepper <drepper@gmail.com>
42052
42053 * po/da.po: Update from translation team.
42054
fa41c84d
UD
420552010-10-26 Ulrich Drepper <drepper@gmail.com>
42056
42057 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42058 is added to the list.
42059
f0967738
AK
420602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42061 Ulrich Drepper <drepper@gmail.com>
42062
42063 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42064 the global list here. Move code to...
42065 (_dl_add_to_namespace_list): ...here. New function.
42066 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42067 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42068 * elf/dl-load.c (lose): Don't remove the element from the list.
42069 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42070 (_dl_map_object): Likewise.
42071
420722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42073
42074 [BZ #12159]
42075 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42076 into all bytes of SSE register.
42077 Patch by Richard Li <richardpku@gmail.com>.
42078
f0967738 420792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42080
42081 [BZ #12140]
42082 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42083 perturbing.
42084
d0b9e94f
MB
420852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42086
42087 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42088 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42089 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42090 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42092 submachine.
42093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42094
8e9f92e9
AS
420952010-10-22 Andreas Schwab <schwab@redhat.com>
42096
42097 * include/dlfcn.h (__RTLD_SECURE): Define.
42098 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42099 mode & __RTLD_SECURE instead.
42100 (open_path): Rename preloaded parameter to secure.
42101 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42102 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42103 * elf/dl-deps.c (openaux): Likewise.
42104 * elf/rtld.c (struct map_args): Remove is_preloaded.
42105 (map_doit): Don't use it.
42106 (dl_main): Likewise.
42107 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42108 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42109
bc96fbda
AS
421102010-09-09 Andreas Schwab <schwab@redhat.com>
42111
42112 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42113 (sysd-rules-targets): Remove duplicates.
42114 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42115 rtld-%.$o dependency.
42116
22cd1c9b
AS
421172010-10-18 Andreas Schwab <schwab@redhat.com>
42118
42119 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42120 _dl_map_object do it.
42121
18edac48
UD
421222010-10-19 Ulrich Drepper <drepper@gmail.com>
42123
42124 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42125 fast fma builtins, define the macros in the C99 standard.
42126 (FP_FAST_FMAF): Likewise.
42127 (FP_FAST_FMAL): Likewise.
42128 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42129
42130 * bits/mathdef.h: Update copyright year.
42131 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42132
d2050124
MM
421332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42134
42135 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42136 builtins, define the macros in the C99 standard.
42137 (FP_FAST_FMAF): Likewise.
42138 (FP_FAST_FMAL): Likewise.
42139 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42140 multiply/add.
42141 (FP_FAST_FMAF): Likewise.
42142
475facd1
JJ
421432010-10-15 Jakub Jelinek <jakub@redhat.com>
42144
42145 [BZ #3268]
42146 * math/libm-test.inc (fma_test): Some new testcases.
42147 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42148 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42149 y and infinite z. Do multiplication by C already in long double.
42150 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42152 y and infinite z. Do bitwise or of inexact bit into u.d.
42153 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42154 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42155 * sysdeps/i386/fpu/s_fma.S: Removed.
42156 * sysdeps/i386/fpu/s_fmal.S: Removed.
42157
7c08a05c
JJ
421582010-10-16 Jakub Jelinek <jakub@redhat.com>
42159
42160 [BZ #3268]
42161 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42163 computation is not scheduled after fetestexcept. Fix value
42164 of minimum denormal long double.
42165
f3f7372d
JJ
421662010-10-14 Jakub Jelinek <jakub@redhat.com>
42167
42168 [BZ #3268]
42169 * math/libm-test.inc (fma_test): Add some more tests.
42170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42171 correctly.
42172
14d43591
AS
421732010-10-15 Andreas Schwab <schwab@redhat.com>
42174
42175 * scripts/data/localplt-s390-linux-gnu.data: New file.
42176 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42177
5e908464
JJ
421782010-10-13 Jakub Jelinek <jakub@redhat.com>
42179
42180 [BZ #3268]
42181 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42182 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42183 instead of dbl-64.
42184 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42185 inlines.
42186 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42188 if one of x and y is very large and the other is subnormal.
42189 * sysdeps/s390/fpu/s_fmaf.c: New file.
42190 * sysdeps/s390/fpu/s_fma.c: New file.
42191 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42192 * sysdeps/powerpc/fpu/s_fma.S: New file.
42193 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42194 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42195 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42196
421972010-10-12 Jakub Jelinek <jakub@redhat.com>
42198
42199 [BZ #3268]
42200 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42201 fma tests.
42202 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42203 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42204 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42205 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42206 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42207 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42208 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42209
b833d51f
UD
422102010-10-12 Ulrich Drepper <drepper@redhat.com>
42211
42212 [BZ #12078]
42213 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42214 * posix/bug-regex31.input: Add test case.
42215
1751705d
UD
422162010-10-11 Ulrich Drepper <drepper@gmail.com>
42217
e9b9cbf5
UD
42218 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42219 * posix/bug-regex31.input: New file.
42220
42221 [BZ #12078]
42222 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42223 (parse_sub_exp): Fix last change, use postorder.
42224
ef06edbe
UD
42225 * posix/bug-regex31.c: New file.
42226 * posix/Makefile: Add rules to build and run bug-regex31.
42227
a129c80d
UD
42228 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42229
42230 [BZ #12078]
42231 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42232
b76b818e
UD
42233 [BZ #12108]
42234 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42235 to have entries in sys_siglist.
42236
1751705d
UD
42237 [BZ #12093]
42238 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42239 be NULL.
42240
9ff8d36f
JJ
422412010-10-07 Jakub Jelinek <jakub@redhat.com>
42242
42243 [BZ #3268]
42244 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42245 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42246 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42247 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42248 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42249 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42250 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42251 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42252 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42253 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42254 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42255 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42256 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42257 * math/ftestexcept.c (fetestexcept): Likewise.
42258 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42259 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42260 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42261 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42262 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42263 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42264 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42265
af325969
UD
422662010-10-11 Ulrich Drepper <drepper@gmail.com>
42267
c579b202 42268 [BZ #12107]
af325969
UD
42269 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42270 newline.
42271
67a67b95
UD
422722010-10-06 Ulrich Drepper <drepper@gmail.com>
42273
42274 * string/bug-strstr1.c: New file.
42275 * string/Makefile: Add rules to build and run bug-strstr1.
42276
5fb308bc
EB
422772010-10-05 Eric Blake <eblake@redhat.com>
42278
42279 [BZ #12092]
42280 * string/str-two-way.h (two_way_long_needle): Always clear memory
42281 when skipping input due to the shift table.
42282
45db99c7
UD
422832010-10-03 Ulrich Drepper <drepper@gmail.com>
42284
3b111893
UD
42285 [BZ #12005]
42286 * malloc/mcheck.c: Handle large requests.
42287
45db99c7
UD
42288 [BZ #12077]
42289 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42290 for strncmp and strncasecmp.
42291 * string/stratcliff.c: Add tests for strcmp and strncmp.
42292 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42293
cf7a1eb8
NI
422942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42295
42296 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42297 __set_fpscr.
42298
6484ba5e
AJ
422992010-09-30 Andreas Jaeger <aj@suse.de>
42300
42301 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42302 (CGROUP_SUPER_MAGIC): Define.
42303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42304 Handle btrfs and cgroup file systems.
42305 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42306 Likewise.
42307
91c42559
LM
423082010-09-27 Luis Machado <luisgpm@br.ibm.com>
42309
42310 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42311 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42312
87a97932
AK
423132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42314
42315 [BZ #12067]
42316 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42317 trying to locate the ELF header.
42318
c21cc9bc
AS
423192010-09-27 Andreas Schwab <schwab@redhat.com>
42320
42321 [BZ #11611]
42322 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42323 Mask out sign-bit copies when constructing f_fsid.
42324
315970f6
PB
423252010-09-24 Petr Baudis <pasky@suse.cz>
42326
42327 * debug/stack_chk_fail_local.c: Add missing licence exception.
42328 * debug/warning-nop.c: Likewise.
42329
1ac7a2c7
JM
423302010-09-15 Joseph Myers <joseph@codesourcery.com>
42331
42332 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42333 implementing getdents64 using getdents syscall, set d_type if
42334 __ASSUME_GETDENTS32_D_TYPE.
42335
56801c50
AS
423362010-09-16 Andreas Schwab <schwab@redhat.com>
42337
42338 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42339 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42340
dda51327
UD
423412010-09-21 Ulrich Drepper <drepper@redhat.com>
42342
42343 [BZ #12037]
42344 * posix/unistd.h: Undo change of feature selection for ftruncate from
42345 2010-01-11.
42346
8ffcee4a
UD
423472010-09-20 Ulrich Drepper <drepper@redhat.com>
42348
a545ecd9 42349 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42350 detection.
42351
e24f0a8b
AS
423522010-09-20 Andreas Schwab <schwab@redhat.com>
42353
42354 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42355 fanotify_mark.
42356 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42357
7291c56f
AS
423582010-09-14 Andreas Schwab <schwab@redhat.com>
42359
42360 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42361 variables after CHECK_SP call.
42362 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42363
bc5fb037
AS
423642010-09-13 Andreas Schwab <schwab@redhat.com>
42365 Ulrich Drepper <drepper@redhat.com>
42366
42367 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42368 re-relocationg ld.so.
42369 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42370 _dl_init_paths call.
42371 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42372 here anymore.
42373
e66e7419
UD
423742010-09-14 Ulrich Drepper <drepper@redhat.com>
42375
42376 * resolv/res_init.c (__res_vinit): Count the default server we added.
42377
c044aa75
CLT
423782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42379 Ulrich Drepper <drepper@redhat.com>
42380
42381 [BZ #11968]
42382 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42383 (____longjmp_chk): Use %ebx for saving value across system call.
42384 Add unwind info.
42385
32cf4069
AS
423862010-09-06 Andreas Schwab <schwab@redhat.com>
42387
42388 * manual/Makefile: Don't mix pattern rules with normal rules.
42389
817328ee
AS
423902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42391
42392 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42393 operation.
42394 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42395 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42396 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42397 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42399 Likewise.
42400
29fddf61
UD
424012010-09-04 Ulrich Drepper <drepper@redhat.com>
42402
42403 [BZ #11979]
42404 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42405 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42406
0959ffc9
UD
424072010-09-02 Ulrich Drepper <drepper@redhat.com>
42408
42409 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42410 * sysdeps/x86_64/addmul_1.S: Likewise.
42411 * sysdeps/x86_64/lshift.S: Likewise.
42412 * sysdeps/x86_64/mul_1.S: Likewise.
42413 * sysdeps/x86_64/rshift.S: Likewise.
42414 * sysdeps/x86_64/sub_n.S: Likewise.
42415 * sysdeps/x86_64/submul_1.S: Likewise.
42416
ece29840
ST
424172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42418
0959ffc9
UD
42419 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42420 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42421 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42422 * bits/sched.h [__need_schedparam]
ece29840 42423 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42424 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42425 (__defined_schedparam): Define to 1.
ece29840
ST
42426 (__sched_param): New structure, identical to sched_param.
42427 (__need_schedparam): Undefine.
42428
e53a31fe
MF
424292010-08-31 Mike Frysinger <vapier@gentoo.org>
42430
fdc0c10d
MF
42431 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42432 (epoll_create1): Declare.
42433
e53a31fe
MF
42434 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42435
a726d796
AS
424362010-08-31 Andreas Schwab <schwab@redhat.com>
42437
42438 [BZ #7066]
42439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42440 shifting retval into place.
42441
2f3e3dc7
UD
424422010-09-01 Ulrich Drepper <drepper@redhat.com>
42443
f2933da9
UD
42444 * nis/rpcsvc/nis.h: Update copyright notice.
42445 * nis/rpcsvc/nis.x: Likewise.
42446 * nis/rpcsvc/nis_callback.h: Likewise.
42447 * nis/rpcsvc/nis_callback.x: Likewise.
42448 * nis/rpcsvc/nis_object.x: Likewise.
42449 * nis/rpcsvc/nis_tags.h: Likewise.
42450 * nis/rpcsvc/yp.h: Likewise.
42451 * nis/rpcsvc/yp.x: Likewise.
42452 * nis/rpcsvc/ypupd.h: Likewise.
42453 * nis/yp_xdr.c: Likewise.
42454 * nis/ypupdate_xdr.c: Likewise.
42455
2f3e3dc7
UD
42456 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42457 mainly the body of pmap_getport. Add parameters to specify timeouts.
42458 (pmap_getport): Use __libc_rpc_getport.
42459 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42460 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42461 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42462
f3dcc2f9
AS
424632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42464
42465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42466 fanotify_mark.
42467
6d34eb5b
RM
424682010-08-27 Roland McGrath <roland@redhat.com>
42469
42470 * sysdeps/i386/i686/multiarch/Makefile
42471 (CFLAGS-varshift.c): New variable.
42472
9ea3de11
UD
424732010-08-27 Ulrich Drepper <drepper@redhat.com>
42474
c96d23fc
UD
42475 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42476 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42477
9ea3de11
UD
42478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42479
42480 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42481
623aac7f
L
424822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42483
42484 * sysdeps/x86_64/strlen.S: Unroll the loop.
42485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42486 strlen-sse2 strlen-sse2-bsf.
42487 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42488 __strlen_no_bsf if bit_Slow_BSF is set.
42489 (__strlen_sse42): Removed.
42490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42491 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42492
8b2b7715
RM
424932010-08-25 Roland McGrath <roland@redhat.com>
42494
42495 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42496 * sysdeps/x86_64/multiarch/varshift.c: New file.
42497 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42498 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42499 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42500 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42501
e73015f2
L
425022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42503
42504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42505 strlen-sse2 strlen-sse2-bsf.
42506 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42507 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42508 (__strlen_sse2): Removed.
42509 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42512 bit_Slow_BSF for Atom.
42513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42514 (index_Slow_BSF): Define.
42515 (HAS_SLOW_BSF): Define.
42516
df24a73e
UD
425172010-08-25 Ulrich Drepper <drepper@redhat.com>
42518
42519 [BZ #10851]
42520 * resolv/res_init.c (__res_vinit): When no server address at all
42521 is given default to loopback.
42522
f2ac4868
RM
425232010-08-24 Roland McGrath <roland@redhat.com>
42524
09055553
RM
42525 * configure.in: Remove config-name.h generation.
42526 * configure: Regenerated.
42527 * config-name.in: File removed.
42528 * scripts/config-uname.sh: New file.
42529 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42530 ($(objdir)config-name.h): New target.
42531
f2ac4868
RM
42532 * sunrpc/rpc_parse.h: Avoid nested comment.
42533
73f27d5e
RH
425342010-08-24 Richard Henderson <rth@redhat.com>
42535 Ulrich Drepper <drepper@redhat.com>
42536 H.J. Lu <hongjiu.lu@intel.com>
42537
42538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42540 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42541 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42542 _mm_alignr_epi8 with _mm_loadu_si128.
42543 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42544 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42545 (__m128i_shift_right): Removed.
42546 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42547 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42548 * sysdeps/x86_64/multiarch/varshift.h: New file.
42549 * sysdeps/x86_64/multiarch/varshift.S: New file.
42550
84b9230c
MF
425512010-08-21 Mike Frysinger <vapier@gentoo.org>
42552
42553 * configure.in: Move assembler checks to before sysdep dir checking.
42554
9bbd0ddc
PB
425552010-08-20 Petr Baudis <pasky@suse.cz>
42556
42557 * LICENSES: Sync the sunrpc license.
42558
9da4bb31
UD
425592010-08-19 Ulrich Drepper <drepper@redhat.com>
42560
a7ab6ec8
UD
42561 * sunrpc/auth_des.c: Update copyright notice once again.
42562 * sunrpc/auth_none.c: Likewise.
42563 * sunrpc/auth_unix.c: Likewise.
42564 * sunrpc/authdes_prot.c: Likewise.
42565 * sunrpc/authuxprot.c: Likewise.
42566 * sunrpc/bindrsvprt.c: Likewise.
42567 * sunrpc/clnt_gen.c: Likewise.
42568 * sunrpc/clnt_perr.c: Likewise.
42569 * sunrpc/clnt_raw.c: Likewise.
42570 * sunrpc/clnt_simp.c: Likewise.
42571 * sunrpc/clnt_tcp.c: Likewise.
42572 * sunrpc/clnt_udp.c: Likewise.
42573 * sunrpc/clnt_unix.c: Likewise.
42574 * sunrpc/des_crypt.c: Likewise.
42575 * sunrpc/des_soft.c: Likewise.
42576 * sunrpc/get_myaddr.c: Likewise.
42577 * sunrpc/getrpcport.c: Likewise.
42578 * sunrpc/key_call.c: Likewise.
42579 * sunrpc/key_prot.c: Likewise.
42580 * sunrpc/openchild.c: Likewise.
42581 * sunrpc/pm_getmaps.c: Likewise.
42582 * sunrpc/pm_getport.c: Likewise.
42583 * sunrpc/pmap_clnt.c: Likewise.
42584 * sunrpc/pmap_prot.c: Likewise.
42585 * sunrpc/pmap_prot2.c: Likewise.
42586 * sunrpc/pmap_rmt.c: Likewise.
42587 * sunrpc/rpc/auth.h: Likewise.
42588 * sunrpc/rpc/auth_unix.h: Likewise.
42589 * sunrpc/rpc/clnt.h: Likewise.
42590 * sunrpc/rpc/des_crypt.h: Likewise.
42591 * sunrpc/rpc/key_prot.h: Likewise.
42592 * sunrpc/rpc/netdb.h: Likewise.
42593 * sunrpc/rpc/pmap_clnt.h: Likewise.
42594 * sunrpc/rpc/pmap_prot.h: Likewise.
42595 * sunrpc/rpc/pmap_rmt.h: Likewise.
42596 * sunrpc/rpc/rpc.h: Likewise.
42597 * sunrpc/rpc/rpc_des.h: Likewise.
42598 * sunrpc/rpc/rpc_msg.h: Likewise.
42599 * sunrpc/rpc/svc.h: Likewise.
42600 * sunrpc/rpc/svc_auth.h: Likewise.
42601 * sunrpc/rpc/types.h: Likewise.
42602 * sunrpc/rpc/xdr.h: Likewise.
42603 * sunrpc/rpc_clntout.c: Likewise.
42604 * sunrpc/rpc_cmsg.c: Likewise.
42605 * sunrpc/rpc_common.c: Likewise.
42606 * sunrpc/rpc_cout.c: Likewise.
42607 * sunrpc/rpc_dtable.c: Likewise.
42608 * sunrpc/rpc_hout.c: Likewise.
42609 * sunrpc/rpc_main.c: Likewise.
42610 * sunrpc/rpc_parse.c: Likewise.
42611 * sunrpc/rpc_parse.h: Likewise.
42612 * sunrpc/rpc_prot.c: Likewise.
42613 * sunrpc/rpc_sample.c: Likewise.
42614 * sunrpc/rpc_scan.c: Likewise.
42615 * sunrpc/rpc_scan.h: Likewise.
42616 * sunrpc/rpc_svcout.c: Likewise.
42617 * sunrpc/rpc_tblout.c: Likewise.
42618 * sunrpc/rpc_util.c: Likewise.
42619 * sunrpc/rpc_util.h: Likewise.
42620 * sunrpc/rpcinfo.c: Likewise.
42621 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42622 * sunrpc/rpcsvc/key_prot.x: Likewise.
42623 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42624 * sunrpc/rpcsvc/mount.x: Likewise.
42625 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42626 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42627 * sunrpc/rpcsvc/rex.x: Likewise.
42628 * sunrpc/rpcsvc/rstat.x: Likewise.
42629 * sunrpc/rpcsvc/rusers.x: Likewise.
42630 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42631 * sunrpc/rpcsvc/spray.x: Likewise.
42632 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42633 * sunrpc/rtime.c: Likewise.
42634 * sunrpc/svc.c: Likewise.
42635 * sunrpc/svc_auth.c: Likewise.
42636 * sunrpc/svc_authux.c: Likewise.
42637 * sunrpc/svc_raw.c: Likewise.
42638 * sunrpc/svc_run.c: Likewise.
42639 * sunrpc/svc_simple.c: Likewise.
42640 * sunrpc/svc_tcp.c: Likewise.
42641 * sunrpc/svc_udp.c: Likewise.
42642 * sunrpc/svc_unix.c: Likewise.
42643 * sunrpc/svcauth_des.c: Likewise.
42644 * sunrpc/xcrypt.c: Likewise.
42645 * sunrpc/xdr.c: Likewise.
42646 * sunrpc/xdr_array.c: Likewise.
42647 * sunrpc/xdr_float.c: Likewise.
42648 * sunrpc/xdr_mem.c: Likewise.
42649 * sunrpc/xdr_rec.c: Likewise.
42650 * sunrpc/xdr_ref.c: Likewise.
42651 * sunrpc/xdr_sizeof.c: Likewise.
42652 * sunrpc/xdr_stdio.c: Likewise.
42653
9da4bb31
UD
42654 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42655 handling.
42656
bdaa77bc
AS
426572010-08-19 Andreas Schwab <schwab@redhat.com>
42658
42659 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42660
fe2f79db
LM
426612010-08-19 Luis Machado <luisgpm@br.ibm.com>
42662
42663 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42664 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42665 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42666 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42667 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42668 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42669 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42670 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42671 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42672 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42673 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42674 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42675 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42676 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42677
b9b42ee0
AB
426782010-07-26 Anton Blanchard <anton@samba.org>
42679
42680 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42681 * malloc/arena.c (heap_trim): Likewise.
42682
1c06ba31
UD
426832010-08-16 Ulrich Drepper <drepper@redhat.com>
42684
42685 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42686 here. Not...
42687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42688 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42689
f8392f40
L
426902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42691
42692 * sysdeps/i386/elf/Makefile: New file.
42693
3162f12e
AS
426942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42695
42696 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42697 from fanotify_init.
42698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42700
28c90b2c
UD
427012010-08-15 Ulrich Drepper <drepper@redhat.com>
42702
42703 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42704 of strncasecmp_l.
1feccb6c 42705 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42706
ca6bb004
UD
427072010-08-14 Ulrich Drepper <drepper@redhat.com>
42708
e9f82e0d
UD
42709 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42710 strncase_l-nonascii.
42711 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42712 Add strncase_l-ssse3.
42713 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42714 * sysdeps/x86_64/strcmp.S: Likewise.
42715 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42716 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42717 * sysdeps/x86_64/strncase.S: New file.
42718 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42719 * sysdeps/x86_64/strncase_l.S: New file.
42720 * string/Makefile (strop-tests): Add strncasecmp.
42721 * string/test-strncasecmp.c: New file.
42722
42723 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42724 warning.
42725
ca6bb004
UD
42726 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42727 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42728
052fa7b3
AS
427292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42730
42731 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42732
962dba78
UD
427332010-08-12 Ulrich Drepper <drepper@redhat.com>
42734
42735 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42736 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42737 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42738
bebff237
AM
427392010-05-01 Alan Modra <amodra@gmail.com>
42740
42741 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42742 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42743 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42744 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42745 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42746 tidying. Don't tail-call __sigjmp_save for static lib.
42747 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42748 save location.
42749 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42750 (CALL_MCOUNT): Add eh info, and nop after bl.
42751 (TAIL_CALL_SYSCALL_ERROR): New macro.
42752 (PSEUDO_RET): Use it.
42753 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42754 Correct save location of integer regs and cr.
42755 (_dl_profile_resolve): Correct cr save location. Delete nops
42756 after bl when SHARED. Reduce cfi size a little by better
42757 placement of cfi directives.
42758 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42759 make a stack frame. Instead use parm save area as a temp.
42760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42761 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42763 Don't make a stack frame for parent, use parm save area.
42764 Increase child stack frame to 112 bytes. Don't save unused reg,
42765 and adjust reg usage. Set up cfi on error recovery and
42766 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42768 (__makecontext): Add dummy nop after jump to exit.
42769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42770 Use correct parm save area and cr save, reduce stack frame.
42771 Correct cfi for possible PSEUDO_RET frame setup.
42772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42773 Branch to local label emitted by PSEUDO_RET rather than
42774 __syscall_error.
42775
02637374
AS
427762010-08-12 Andreas Schwab <schwab@redhat.com>
42777
42778 [BZ #11904]
42779 * locale/programs/locale.c (print_assignment): New function.
42780 (show_locale_vars): Use it.
42781
c3e2f19b
UD
427822010-08-11 Ulrich Drepper <drepper@redhat.com>
42783
3cdaa6ad
UD
42784 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42785 field.
42786 (struct statfs64): Likewise.
42787 (_STATFS_F_FLAGS): Define.
42788 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42789 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42790 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42791 (ST_VALID): Define locally.
42792 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42793 __statvfs_getflags, use the provided value.
42794 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42795 __ASSUME_STATFS_F_FLAGS.
42796
754f7da3
UD
42797 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42798
10b3bedc
UD
42799 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42800 Add sys/fanotify.h.
42801 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42802 fanotify_mask for GLIBC_2.13.
42803 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42804 fanotify_init and fanotify_mark.
42805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42806 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42807
c08fb0d7
UD
42808 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42809 Add prlimit.
42810 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42811 prlimit64 for GLIBC_2.13.
42812 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42813 prlimit64.
42814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42815 syscall.
42816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42817 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42818 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42819 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42821 add prlimit alias.
42822 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42823
15bac72b
UD
42824 [BZ #11903]
42825 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42826 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42827
c3e2f19b
UD
42828 * nss/Makefile: Add rules to build and run tst-nss-test1.
42829 * shlib-versions: Add entry for libnss_test1.
42830 * nss/nss_test1.c: New file.
42831 * nss/tst-nss-test1.c: New file.
42832
42833 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42834 (__nss_configure_lookup): Set appropriate entry in
42835 __nss_configure_lookup to true.
42836 * nss/nsswitch.h: Define enum with indeces of databases in
42837 databases and __nss_database_custom arrays. Declare
42838 __nss_database_custom.
42839 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42840 to avoid using nscd when custom rules are installed.
42841 * nss/getXXbyYY_r.c: Likewise.
42842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42843
42844 * nss/nss_files/files-parse.c: Whitespace fixes.
42845
f15ce4d8
UD
428462010-08-09 Ulrich Drepper <drepper@redhat.com>
42847
42848 [BZ #11883]
42849 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42850 * posix/fnmatch_loop.c: Likewise.
42851
d22e4cc9
AK
428522010-07-17 Andi Kleen <ak@linux.intel.com>
42853
42854 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42855 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42856 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42857 * Versions.def [GLIBC_2.13]: Add.
42858
805bc17d
UD
428592010-08-06 Ulrich Drepper <drepper@redhat.com>
42860
42861 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42862 Also fail if tpwd after pwuid call is NULL.
42863
5a42321d
ST
428642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42865
42866 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42867 when converting to ms.
42868
fd3ebeda
ST
428692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42870
42871 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42872 EOPNOTSUPP errors with ENOTTY.
42873 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42874 EOPNOTSUPP errors with ENOTTY.
42875
73507d3a
UD
428762010-07-31 Ulrich Drepper <drepper@redhat.com>
42877
42878 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42879 Add strcasecmp_l-ssse3.
42880 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42881 strcasecmp.
42882 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42883 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42884 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42885
fe36dd02
UD
428862010-07-30 Ulrich Drepper <drepper@redhat.com>
42887
66f6765a
UD
42888 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42889
42e08a54
UD
42890 * string/Makefile (strop-tests): Add strcasecmp.
42891 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42892 strcasecmp_l-nonascii.
42893 (gen-as-const-headers): Add locale-defines.sym.
42894 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42895 * sysdeps/x86_64/strcasecmp.S: New file.
42896 * sysdeps/x86_64/strcasecmp_l.S: New file.
42897 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42898 * sysdeps/x86_64/locale-defines.sym: New file.
42899 * string/test-strcasecmp.c: New file.
42900
fe36dd02
UD
42901 * string/test-strcasestr.c: Test both ends of the range of characters.
42902 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42903
48cbc0d6
RM
429042010-07-29 Roland McGrath <roland@redhat.com>
42905
76e6d6bc 42906 [BZ #11856]
48cbc0d6
RM
42907 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42908
880113d9
UD
429092010-07-27 Ulrich Drepper <drepper@redhat.com>
42910
42911 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42912 for ld.so.
42913
deb9cabb
AS
429142010-07-27 Andreas Schwab <schwab@redhat.com>
42915
42916 * manual/memory.texi (Malloc Tunable Parameters): Document
42917 M_PERTURB.
42918
1c7570ff
RM
429192010-07-26 Roland McGrath <roland@redhat.com>
42920
42921 [BZ #11840]
42922 * configure.in (-fgnu89-inline check): Set and substitute
42923 gnu89_inline, not libc_cv_gnu89_inline.
42924 * configure: Regenerated.
42925 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42926
24fb0f88
UD
429272010-07-26 Ulrich Drepper <drepper@redhat.com>
42928
42929 * string/test-strnlen.c: New file.
42930 * string/Makefile (strop-tests): Add strnlen.
42931 * string/tester.c (test_strnlen): Add a few more test cases.
42932 * string/tst-strlen.c: Better error reporting.
42933
42934 * sysdeps/x86_64/strnlen.S: New file.
42935
8e96b93a
UD
429362010-07-24 Ulrich Drepper <drepper@redhat.com>
42937
42938 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42939 lower-latency instructions.
42940
dbc676d4
UD
429412010-07-23 Ulrich Drepper <drepper@redhat.com>
42942
42943 * string/test-strcasestr.c: New file.
42944 * string/test-strstr.c: New file.
42945 * string/Makefile (strop-tests): Add strstr and strcasestr.
42946 * string/str-two-way.h: Don't undefine MAX.
42947 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42948
f6a31e0e
AS
429492010-07-21 Andreas Schwab <schwab@redhat.com>
42950
42951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42952 strcasestr-nonascii.
42953 (CFLAGS-strcasestr-nonascii.c): Define.
42954 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42955 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42956 Remove unused attribute.
42957
5dbc3b6c
RM
429582010-07-20 Roland McGrath <roland@redhat.com>
42959
42960 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42961 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42962 ld.so.cache was broken. With it, there is no way to disable dsocaps
42963 like LD_HWCAP_MASK can disable hwcaps.
42964
23d101d8
EPM
429652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42966
42967 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42968
cc9f2e47
UD
429692010-07-16 Ulrich Drepper <drepper@redhat.com>
42970
42971 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42972 call in strcasestr.
42973 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42974 __strcasestr_sse42_nonascii.
42975 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42976 strcasestr-nonascii.c.
42977 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42978
77c1b069
LM
429792010-06-15 Luis Machado <luisgpm@br.ibm.com>
42980
42981 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42982 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42983 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42985
440566c3
UD
429862010-07-09 Ulrich Drepper <drepper@redhat.com>
42987
42988 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42989 fcntl.
42990
5be9d05d
AS
429912010-07-06 Andreas Schwab <schwab@redhat.com>
42992
c30b7ee2 42993 [BZ #11577]
5be9d05d
AS
42994 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42995 dl_signal_cerror.
42996
8a492a67
UD
429972010-07-06 Ulrich Drepper <drepper@redhat.com>
42998
42999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43000 _PC_PIPE_BUF using F_GETPIPE_SZ.
43001
713df3d5
RM
430022010-07-05 Roland McGrath <roland@redhat.com>
43003
43004 * manual/arith.texi (Rounding Functions): Fix rint description
43005 implicit in round description.
43006
702e8f14
UD
430072010-07-02 Ulrich Drepper <drepper@redhat.com>
43008
43009 * elf/Makefile: Fix linking for a few tests to make recent linker
43010 happy.
43011
52ed8be9
AS
430122010-06-30 Andreas Schwab <schwab@redhat.com>
43013
43014 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43015 $(common-objpfx)libc_nonshared.a.
43016
f47c9a11
LM
430172010-06-21 Luis Machado <luisgpm@br.ibm.com>
43018
43019 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43020 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43021 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43022 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43023 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43024 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43025 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43026 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43041 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43042 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43043 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43044 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43045 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43046 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43047 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43048 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43049 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43050 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43051 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43052 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43067
6fb8cbcb
L
430682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43069
43070 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43071 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43072 * string/memmove.c (memmove): Renamed to ...
43073 (MEMMOVE): ...this. Default to memmove.
43074 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43075 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43076 (END_CHK): Define.
43077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43078 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43079 mempcpy-ssse3-back memmove-ssse3-back.
43080 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43081 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43082 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43083 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43084 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43085 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43086 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43087 * sysdeps/x86_64/multiarch/memmove.c: New file.
43088 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43089 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43090 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43091 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43092 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43094 Define.
43095 (index_Fast_Copy_Backward): Define.
43096 (HAS_ARCH_FEATURE): Define.
43097 (HAS_FAST_REP_STRING): Define.
43098 (HAS_FAST_COPY_BACKWARD): Define.
43099
4e733bac 431002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43101
43102 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43103 Restore proper fallback handling.
43104
63c4ed22
UD
431052010-06-19 Ulrich Drepper <drepper@redhat.com>
43106
ac2b484c
UD
43107 [BZ #11701]
43108 * posix/group_member.c (__group_member): Correct checking loop.
43109
63c4ed22
UD
43110 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43111 OOM in getpwuid_r correctly. Return error number when the caller
43112 should return, otherwise -1.
43113 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43114 call returning > 0 value.
43115 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43116
765ade4b
AS
431172010-06-07 Andreas Schwab <schwab@redhat.com>
43118
43119 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43120 libc_nonshared.a from targets in modules-names.
43121
80da2e09
KS
431222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43123
43124 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43125 requires it.
43126
158db122
LM
431272010-06-10 Luis Machado <luisgpm@br.ibm.com>
43128
43129 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43130 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43131 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43132 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43133
caa78cf8
AS
431342010-06-02 Andreas Schwab <schwab@redhat.com>
43135
43136 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43137
b2ef2c01
UD
431382010-06-14 Ulrich Drepper <drepper@redhat.com>
43139
43140 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43141 and F_GETPIPE_SZ.
43142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43147 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43148
fbd643b6
RM
431492010-06-14 Roland McGrath <roland@redhat.com>
43150
43151 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43152
f32f2869
JJ
431532010-06-07 Jakub Jelinek <jakub@redhat.com>
43154
43155 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43156 __REDIRECT followed by __THROW.
43157 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43158 * posix/getopt.h (getopt): Likewise.
43159
2a50c078
EPM
431602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43161
43162 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43163 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43164 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43165 in AT_FLAGS.
43166 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43167 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43168
eb5ad2eb
LM
431692010-05-28 Luis Machado <luisgpm@br.ibm.com>
43170
43171 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43172
3c88fe1e
L
431732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43174
43175 [BZ #11640]
43176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43177 Properly check family and model.
43178
d2f73151
TY
431792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43180
43181 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43182
ebd2e13d
LM
431832010-05-24 Luis Machado <luisgpm@br.ibm.com>
43184
43185 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43186
b32b8b45
UD
431872010-05-21 Ulrich Drepper <drepper@redhat.com>
43188
43189 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43190 symbol reference.
43191
9acbe24d
AS
431922010-05-19 Andreas Schwab <schwab@redhat.com>
43193
43194 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43195 symbol reference.
43196
f0ccf6ea
AS
431972010-05-21 Andreas Schwab <schwab@redhat.com>
43198
3d04ff3a
AS
43199 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43200 and internal_recvmmsg.
43201 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43202 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43203 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43204 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43205
f0ccf6ea
AS
43206 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43207 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43208 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43209
5b08ac57
AS
432102010-05-20 Andreas Schwab <schwab@redhat.com>
43211
43212 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43213
4828935d
LM
432142010-05-17 Luis Machado <luisgpm@br.ibm.com>
43215
43216 POWER7 optimizations.
43217 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43218 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43219
373d545e
UD
432202010-05-19 Ulrich Drepper <drepper@redhat.com>
43221
43222 * version.h: Update for 2.13 development version.
43223
21a2b1ae
AS
432242010-05-12 Andrew Stubbs <ams@codesourcery.com>
43225
43226 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43227 exceptions. Return 0.
43228
3f7dcb2b
RM
432292010-05-07 Roland McGrath <roland@redhat.com>
43230
43231 * elf/ldconfig.c (main): Add a const.
43232
5f24d53a 432332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43234
a160f8d8
UD
43235 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43236 (args_options): Add no-idn option.
43237 (ahosts_keys_int): Add idn_flags to ai_flags.
43238 (parse_option): Handle 'i' option to clear idn_flags.
43239
5f24d53a
UD
43240 * malloc/malloc.c (_int_free): Possible race in the most recently
43241 added check. Only act on the data if no current modification
43242 happened.
265bb1ce
UD
43243
43244See ChangeLog.17 for earlier changes.
This page took 5.76939 seconds and 5 git commands to generate.