]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: Sync pthread_once with default implementation
[thirdparty/glibc.git] / ChangeLog
CommitLineData
75ffb047
AZ
12014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4
2cd925f7
AZ
52014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6
7 * sysdeps/powerpc/fpu/fenv_private.h
8 (libc_feholdexcept_setroundl_ctx): Define to
9 libc_feholdexcept_setround_ppc_ctx.
10 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14
39e6cd8d
IB
152014-04-17 Ian Bolton <ian.bolton@arm.com>
16
17 * sysdeps/aarch64/math-tests.h: New file.
18
f9281df9
SY
192014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
20
21 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22 New.
23 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24 Check and set bit_AVX2_Usable.
25 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26 macro.
27 (bit_AVX2): Likewise.
28 (index_AVX2_Usable): Likewise.
29 (CPUID_AVX2): Likewise.
30 (HAS_AVX2): Likewise.
31
37d35007
WN
322014-04-17 Will Newton <will.newton@linaro.org>
33
7c677662
WN
34 * manual/setjmp.texi (System V contexts): Add note that
35 calling setcontext on a context created by a call to a
36 signal handler is undefined. Update text to note that
37 setcontext from a signal handler is possible but not
38 recommended.
39
37d35007 40 [BZ #16629]
e04a4e9d
WN
41 * stdlib/tst-setcontext.c: Include signal.h.
42 (main): Check that the signal stack before and
43 after swapcontext is the same.
44
37d35007
WN
45 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46 Re-implement to restore registers in user code and avoid
47 rt_sigreturn system call.
48
423a7160
W
492014-04-17 Wilco <wdijkstr@arm.com>
50
51 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
52 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53 * math/test-fenv.c: Skip exception trap tests on targets which only
54 support non-stop mode.
55
bc93ab29
IB
562014-04-17 Ian Bolton <ian.bolton@arm.com>
57 Wilco Dijkstra <wilco.dijkstra@arm.com>
58
59 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
60 (libc_feholdsetround_aarch64_ctx)
61 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
62 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
63 (libc_feresetround_ctx, libc_feresetroundf_ctx)
64 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
65 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
66 (libc_feresetround_noexl_ctx): Define.
67
95fc5fa3
RH
682014-04-16 Richard Henderson <rth@redhat.com>
69
ddb04724
RH
70 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
71
d77c0899
RH
72 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
73 unwind tables.
74
a3df56fc
RH
75 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
76 const from the non-libc, non-ldso copy.
77
95fc5fa3
RH
78 * sysdeps/alpha/libm-test-ulps: Regenerate.
79
7e0b6763
IB
802014-04-16 Ian Bolton <ian.bolton@arm.com>
81 Wilco Dijkstra <wilco.dijkstra@arm.com>
82
83 * sysdeps/aarch64/fpu/math_private.h: New file.
84
a9ea2e0c
MS
852014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
86
87 * sysdeps/aarch64/libm-test-ulps: Regenerate.
88
ea8ba7cd
IZ
892014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
90
91 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
92 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
93 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
94 Intel MPX bound registers before _dl_profile_fixup.
95 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
96 registers after _dl_profile_fixup. Save and restore bound
97 registers bnd0/bnd1 when calling _dl_call_pltexit.
98 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
99 (LR_BND_OFFSET): Likewise.
100 (LRV_BND0_OFFSET): Likewise.
101 (LRV_BND1_OFFSET): Likewise.
102
9f2a4fbc
ST
1032014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
104
105 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
106 to...
107 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
108 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
109 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
110 fields.
9f2a4fbc 111
fd15a59b
ST
1122014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
113
114 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
115
f19dfa0a
SL
1162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
117
118 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
119
4fa8bc3b
SL
1202014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
121
122 [BZ #14770]
123 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
124 * sysdeps/s390/configure: Regenerate.
125
8ea587db
SL
1262014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
127
128 [BZ #16824]
129 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
130 Set round-to-nearest internally to reduce error accumulation.
131
aa5f0ff1
AM
1322014-04-16 Alan Modra <amodra@gmail.com>
133
134 [BZ #16740]
135 [BZ #16619]
136 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
137 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 138 * NEWS: Update fixed bug list.
aa5f0ff1 139
bb9c256f
SP
1402014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
141
142 * benchtests/Makefile: Depend on libraries in build directory.
143 (bench-math): Separate out math tests.
144 (bench-pthread): Separate out pthread tests.
145 (bench): Include math and pthread tests.
146
f737dfd0
CD
1472014-04-14 Carlos O'Donell <carlos@redhat.com>
148
149 [BZ #16831]
150 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
151 _dl_debug_initialize.
152
0699f766
CD
1532014-04-14 Carlos O'Donell <carlos@redhat.com>
154
155 * configure.ac: Remove SELinux header check.
156 * configure: Regenerate.
157 * nscd/selinux.c (perms): Array of const char* to permission names.
158 (nscd_request_avc_has_perm): Call security_deny_unknown to find
159 default policy. Call string_to_security_class and string_to_av_perm to
160 translate strings. Enforce default policy and call avs_has_perm with
161 results of translated strings.
162
809bd45f
DM
1632014-04-13 David S. Miller <davem@davemloft.net>
164
165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
166
89e691f2
AM
1672014-04-12 Allan McRae <allan@archlinux.org>
168
169 [BZ #16838]
170 * manual/string.texi (Collation Functions): Fix qsort argument
171 order in example.
172 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
173
9c9daaeb
CM
1742014-04-11 Chris Metcalf <cmetcalf@tilera.com>
175
176 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
177 Make the test a no-op if there are no exceptions defined.
178
95561fb9
PP
1792014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
180
fe8d072c 181 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
182 enable-hardcoded-path-in-tests
183
970c602a
WN
1842014-04-11 Will Newton <will.newton@linaro.org>
185
186 * benchtests/Makefile (extra-objs): Add json-lib.o.
187 (bench-func): Tidy up JSON output.
188 * benchtests/bench-skeleton.c: Include json-lib.h.
189 (main): Use JSON library functions to do output of
190 benchmark results.
191 * benchtests/bench-timing-type.c (main): Output the
192 timing type simply, leaving formatting to the user.
193 * benchtests/json-lib.c: New file.
194 * benchtests/json-lib.h: Likewise.
195
36875b06
TR
1962014-04-11 Torvald Riegel <triegel@redhat.com>
197
198 [BZ #15215]
199 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
200 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
201 memory barriers. Add comments.
202 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
203 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
204 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
205 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
206 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
207 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
208
579db35a
SL
2092014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
210
211 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
212 * sysdeps/s390/s390-64/configure.ac: ... this ...
213 * sysdeps/s390/configure.ac: ... to here.
214 * sysdeps/s390/s390-32/configure: Delete file.
215 * sysdeps/s390/s390-64/configure: Delete file.
216 * sysdeps/s390/configure: Regenerate.
217
c12e9f37
JAPH
2182014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
219
220 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
221
439bda32
WN
2222014-04-11 Will Newton <will.newton@linaro.org>
223
224 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
225 to zero if it is not defined elsewhere. (mtrim): Test
226 the value of MALLOC_DEBUG with #if rather than #ifdef.
227
6a5d6ea1
TR
2282014-04-10 Torvald Riegel <triegel@redhat.com>
229
230 * benchtests/pthread_once-inputs: New file.
231 * benchtests/pthread_once-source.c: New file.
232 * benchtests/README: Update documentation.
233
a4c75cfd
IZ
2342014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
235 H.J. Lu <hongjiu.lu@intel.com>
236
237 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
238 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
239 * sysdeps/x86_64/configure: Regenerated.
240 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
241 macro.
242 (REGISTER_SAVE_RAX): Likewise.
243 (REGISTER_SAVE_RCX): Likewise.
244 (REGISTER_SAVE_RDX): Likewise.
245 (REGISTER_SAVE_RSI): Likewise.
246 (REGISTER_SAVE_RDI): Likewise.
247 (REGISTER_SAVE_R8): Likewise.
248 (REGISTER_SAVE_R9): Likewise.
249 (REGISTER_SAVE_BND0): Likewise.
250 (REGISTER_SAVE_BND1): Likewise.
251 (REGISTER_SAVE_BND2): Likewise.
252 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
253 bound registers when calling _dl_fixup.
254
27822ce6
AZ
2552014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
256
257 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
258 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
259 definition.
260 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
261 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
262 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
263 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
264 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
265 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
266 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
267
a88ddc90
PTB
2682014-04-09 Peter Brett <peter@peter-b.co.uk>
269
270 [BZ #15514]
271 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
272 pathconf(_PC_NAME_MAX).
273
01f8eac2
AZ
2742014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
275
276 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
277 Remove macro usage.
278 (__PTHREAD_SPINS): Move definition to ...
279 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
280 (__PTHREAD_SPINS): ... here.
281 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
282 (__PTHREAD_SPIN): Likewise.
283 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
284 (__PTHREAD_SPIN): Likewise.
285 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
286 (__PTHREAD_SPIN): Likewise.
287 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
288 (__PTHREAD_SPIN): Likewise.
289 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
290 (__PTHREAD_SPIN): Likewise.
291 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
292 (__PTHREAD_SPIN): Likewise.
293 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
294 (__PTHREAD_SPIN): Likewise.
295 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
296 (__PTHREAD_SPIN): Likewise.
297 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
298 (__PTHREAD_SPIN): Likewise.
299 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
300 (__PTHREAD_SPIN): Likewise.
301 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
302 (__PTHREAD_SPIN): Likewise.
303 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
304 (__PTHREAD_SPIN): Likewise.
305
de21c33c
AZ
3062014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
307
308 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
309 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
310 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
311 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
312 imply folder.
313 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
314 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
315 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
316 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
317 correct imply path.
318 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
319 strlen symbol for non multi-arch builds.
320 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
321 missing hidden_def and weak_alias.
322
862c472e
CD
3232014-04-08 Carlos O'Donell <carlos@redhat.com>
324
325 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
326
8667f90e
WN
3272014-04-07 Will Newton <will.newton@linaro.org>
328
329 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
330 and contents. [!_LIBC] Remove #ifndef and contents.
331 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
332 * string/memccpy.c (__memccpy): Use ANSI prototype.
333 * string/memfrob.c (memfrob): Likewise.
334 * string/strcoll.c (STRCOLL): Likewise.
335 * string/strlen.c (strlen): Likewise.
336 * string/strtok.c (STRTOK): Likewise.
337 * string/strcat.c: Remove unused #include of memcopy.h.
338 (strcat): Use ANSI prototype.
339 * string/strchr.c: Remove unused #include of memcopy.h.
340 (strchr): Use ANSI prototype.
341 * string/strcmp.c: Remove unused #include of memcopy.h.
342 (strcmp): Use ANSI prototype.
343 * string/strcpy.c: Remove unused #include of memcopy.h.
344 (strcpy): Use ANSI prototype.
345
7ffa9423
AZ
3462014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
347
348 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
349 * config.make.in (config-extra-cppflags): Set it from
350 libc_extra_cppflags.
351 * configure.ac (libc_extra_cflags): Make it accumulate over
352 configure fragments.
353 (libc_extra_cppflags): New flag.
354 * configure. Regenerate.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
356 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
357 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
359
8bd70862
AZ
3602014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361
362 [BZ #16815]
363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
364 result for FE_DOWNWARD rounding mode.
365 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
366 Likewise.
367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
368
d42f3448
CM
3692014-04-04 Chris Metcalf <cmetcalf@tilera.com>
370
371 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
372 in function argument name.
373
1c21d115
DS
3742014-04-03 David Svoboda <svoboda@cert.org>
375
376 [BZ #5666]
377 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
378 explicitly.
379
fcccd512
RM
3802014-04-03 Roland McGrath <roland@hack.frob.com>
381
382 * elf/dl-unmap-segments.h: New file.
383 * sysdeps/generic/ldsodefs.h
384 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
385 * elf/dl-close.c: Include <dl-unmap-segments.h>.
386 * elf/dl-fptr.c: Likewise.
387 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
388 * sysdeps/aarch64/tlsdesc.c: Likewise.
389 * sysdeps/arm/tlsdesc.c: Likewise.
390 * sysdeps/i386/tlsdesc.c: Likewise.
391 * sysdeps/tile/dl-runtime.c: Likewise.
392 * sysdeps/x86_64/tlsdesc.c: Likewise.
393 * elf/dl-load.h: New file.
394 * elf/dl-load.c: Include it.
395 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
396 Macros moved to dl-load.h.
397 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
398 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
399 Use _dl_unmap_segments in place of __munmap.
400 Break out segment-mapping loop into ...
401 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
402
f6488e2b
WN
4032014-04-03 Will Newton <will.newton@linaro.org>
404
405 * elf/dl-lookup.c (do_lookup_x): Remove comment
406 referring to nested function and move variable
407 declarations down to before first use.
408
6f05bafe
JM
4092014-04-02 Joseph Myers <joseph@codesourcery.com>
410
a84e78c8
JM
411 [BZ #16799]
412 [BZ #16800]
413 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
414 with 0 numerator.
415 * math/s_catanf.c (__catanf): Likewise.
416 * math/s_catanh.c (__catanh): Likewise.
417 * math/s_catanhf.c (__catanhf): Likewise.
418 * math/s_catanhl.c (__catanhl): Likewise.
419 * math/s_catanl.c (__catanl): Likewise.
420 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
421 by positive zero when computing -Inf result.
422 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
423 (catanh_test): Likewise.
424 * sysdeps/i386/fpu/libm-test-ulps: Update.
425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
426
6f05bafe
JM
427 [BZ #16789]
428 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
429 instead of using underflowing value in computing result.
430 * math/s_clog10.c (__clog10): Likewise.
431 * math/s_clog10f.c (__clog10f): Likewise.
432 * math/s_clog10l.c (__clog10l): Likewise.
433 * math/s_clogf.c (__clogf): Likewise.
434 * math/s_clogl.c (__clogl): Likewise.
435 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
436 (clog10_test): Likewise.
437 * sysdeps/i386/fpu/libm-test-ulps: Update.
438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
439
b0abbc21
AM
4402014-04-02 Alan Modra <amodra@gmail.com>
441
442 [BZ #16739]
443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
444 output when value is near a power of two. Use int64_t for lx and
445 remove casts. Use decimal rather than hex exponent constants.
446 Don't use long double multiplication when double will suffice.
447 * math/libm-test.inc (nextafter_test_data): Add tests.
448 * NEWS: Add 16739 and 16786 to bug list.
449
af6b1797
AM
4502014-04-02 Alan Modra <amodra@gmail.com>
451
452 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
453
483818d7
AM
4542014-04-02 Alan Modra <amodra@gmail.com>
455
456 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
457
f6c55796
WN
4582014-04-01 Will Newton <will.newton@linaro.org>
459
460 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
461 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
462
13f7fe35
FW
4632014-04-01 Florian Weimer <fweimer@redhat.com>
464
465 [BZ #13347]
466 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
467 * nptl/tst-setuid2.c: New file.
468 * nptl/Makefile (xtests): Add tst-setuid2.
469
c859b32e
AM
4702014-04-01 Alan Modra <amodra@gmail.com>
471
472 [BZ #16786]
473 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
474
54fa2475
JM
4752014-03-31 Joseph Myers <joseph@codesourcery.com>
476
8795b4a4
JM
477 [BZ #6803]
478 [BZ #6804]
479 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
480 set errno as appropriate.
481 * math/w_scalbf.c (__scalbf): Likewise.
482 * math/w_scalbl.c (__scalbl): Likewise.
483 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
484 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
485 * math/libm-test.inc (scalb_test_data): Add errno expectations.
486 Add more NaN tests.
487
54fa2475
JM
488 [BZ #16349]
489 * math/w_atan2.c: Include <errno.h>.
490 (__atan2): Set errno for result underflowing to zero.
491 * math/w_atan2f.c: Include <errno.h>.
492 (__atan2f): Set errno for result underflowing to zero.
493 * math/w_atan2l.c: Include <errno.h>.
494 (__atan2l): Set errno for result underflowing to zero.
495 * math/auto-libm-test-in: Don't allow missing errno for some atan2
496 tests.
497 * math/auto-libm-test-out: Regenerated.
498
757d9dd5
AZ
4992014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
500
501 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
502 Encode instruction correctly in little endian.
503 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
504 Likewise.
505 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
506 Likewise.
507 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
508 Likewise.
509 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
510 Likewise.
511
d7a68734
JM
5122014-03-31 Joseph Myers <joseph@codesourcery.com>
513
47c5adeb
JM
514 [BZ #9894]
515 * sysdeps/unix/sysv/linux/kernel-features.h
516 [__sparc__ && !__arch64__ && !__sparc_v9__]
517 (__ASSUME_SET_ROBUST_LIST): Do not define.
518 [__sparc__ && !__arch64__ && !__sparc_v9__]
519 (__ASSUME_FUTEX_LOCK_PI): Likewise.
520 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
521 Likewise.
522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
523 (__ASSUME_FUTEX_LOCK_PI): Undefine.
524 (__ASSUME_REQUEUE_PI): Likewise.
525 (__ASSUME_SET_ROBUST_LIST): Likewise.
526 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
527 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
528 Undefine.
529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
531 Likewise.
532 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
533 Likewise.
534 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
535 Likewise.
536 * sysdeps/unix/sysv/linux/mips/kernel-features.h
537 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
538 Undefine.
539 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
540 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
541 Likewise.
542
d7a68734
JM
543 [BZ #16648]
544 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
545 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
546 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
547
c760f5c2
WN
5482014-03-31 Will Newton <will.newton@linaro.org>
549
550 * benchtests/Makefile (bench): Add ffs and ffsll to list
551 of tests.
552 * benchtests/ffs-inputs: New file.
553 * benchtests/ffsll-inputs: Likewise.
554
ea6029b1
JM
5552014-03-29 Joseph Myers <joseph@codesourcery.com>
556
557 [BZ #16770]
558 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
559 too large before casting to int.
560 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
561 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
562 * math/libm-test.inc (scalb_test_data): Add more tests.
563
cf806aff
SP
5642014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
565
56737508
SP
566 * benchtests/Makefile (DETAILED_OPT): New make option.
567 (bench-func): Run benchmark program with -d if DETAILED_OPT is
568 set.
569 * benchtests/bench-skeleton.c: Include stdbool.h.
570 (main): Store and print timings per input.
571 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
572 member to each argument value.
573 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
574 (_print_arg_data): Initialize per-input timing to 0.
575
cb5e4aad
SP
576 * benchtests/Makefile (timing-type): New binary.
577 (bench-clean): Also remove bench-timing-type.
578 (bench): New target for timing-type.
579 (bench-func): Print output in JSON format.
580 * benchtests/bench-skeleton.c (main): Print output in JSON
581 format.
582 * benchtests/bench-timing-type.c: New file.
583 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
584 (TIMING_PRINT_STATS): Remove.
585 * benchtests/scripts/bench.py (_print_arg_data): Store variant
586 name separately.
587
cf806aff
SP
588 * benchtests/bench-modf.c: Remove.
589 * benchtests/modf-inputs: New inputs file.
590
289e0779
JM
5912014-03-28 Joseph Myers <joseph@codesourcery.com>
592
593 [BZ #16362]
594 * math/s_clog10.c (M_PI_LOG10E): New macro.
595 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
596 imaginary parts are 0.
597 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
598 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
599 imaginary parts are 0.
600 * math/s_clog10l.c (M_PI_LOG10El): New macro.
601 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
602 imaginary parts are 0.
603 * math/libm-test.inc (clog10_test_data): Update expected results
604 for when real and imaginary parts are 0.
605
277ae3f1
PP
6062014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
607
608 * elf/dl-load.c: Finish conversion of __builtin_expect into
609 __glibc_{un}likely.
610
03a7091f
JM
6112014-03-27 Joseph Myers <joseph@codesourcery.com>
612
613 [BZ #16348]
614 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
615 1+x for argument with exponent below -67.
616 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
617 Likewise.
618 * math/auto-libm-test-in: Add more tests of exp.
619 * math/auto-libm-test-out: Regenerated.
620
ea7d8b95
SP
6212014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
622
dd3022d7
SP
623 [BZ #16759]
624 * inet/getnetgrent_r.c (get_nonempty_val): New function.
625 (nscd_getnetgrent): Use it.
626
ea7d8b95
SP
627 [BZ #16760]
628 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
629 of stpcpy.
630
df5b85da
AK
6312014-03-27 Andi Kleen <ak@linux.intel.com>
632
633 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
634 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
635 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
636 Remove out of line section. Use cfi intrinsics.
637 (LLL_STUB_UNWIND_INFO*): Remove.
638 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
639 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
640 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
641 Remove out of line section. Use cfi intrinsics.
642 (LLL_STUB_UNWIND_INFO*): Remove.
643
fbd6b5a4
SP
6442014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
645
646 [BZ #16758]
647 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
648 blank values.
649
1b26b855
PP
6502014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
651
652 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
653
9be36fb8
JM
6542014-03-26 Joseph Myers <joseph@codesourcery.com>
655
656 [BZ #16198]
657 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
658 fnstenv.
659 * math/test-fenv-preserve.c: New file.
660 * math/Makefile (tests): Add test-fenv-preserve.
661
60a2f3c1
WN
6622014-03-26 Will Newton <will.newton@linaro.org>
663
664 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
665
a5e5f1e2
RM
6662014-03-25 Roland McGrath <roland@hack.frob.com>
667
668 * scripts/versionlist.awk: Partition the version sets and emit all
669 GLIBC_* (sorted) before all others (sorted).
670
00f4012a
JM
6712014-03-25 Joseph Myers <joseph@codesourcery.com>
672
673 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
674 GLIBC_2.2.5 version.
675
7bc5a741
AZ
6762014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
677
678 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
679 calls.
680
7578473b
AZ
6812014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
682
683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
684 previous change.
685
f3f1dab3
AZ
6862014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
687
688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
689
6da36183
AS
6902014-03-25 Andreas Schwab <schwab@suse.de>
691
692 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
693 label to be used after in6ailist is initialized.
694
f3f1dab3 6952014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 696
7578473b 697 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
698 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
699
046651c1
JM
7002014-03-25 Joseph Myers <joseph@codesourcery.com>
701
702 [BZ #16357]
703 [BZ #16599]
704 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
705 min_plus_half.
706 (fp_formats): Update initializers.
707 (init_fp_formats): Initialize new field.
708 (output_for_one_input_case): Allow underflow for results up to
709 min_plus_half.
710 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
711 * math/auto-libm-test-in: Don't mark some underflows from asin and
712 atanh as spurious.
713 * math/auto-libm-test-out: Regenerated.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
716
003e49ed
AS
7172014-03-25 Andreas Schwab <schwab@suse.de>
718
719 * libio/Makefile (tst-ftell-partial-wide-ENV)
720 (tst-ftell-active-handler-ENV): Define.
721
de031874
SL
7222014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
723
724 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
725
55a81e3b
PP
7262014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
727
728 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
729
f3426898
JM
7302014-03-24 Joseph Myers <joseph@codesourcery.com>
731
732 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
733 * sysdeps/x86_64/fpu/multiarch/e_exp.c
734 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
735
a42faf59
PP
7362014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
737
738 [BZ #16634]
a42faf59 739 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
740 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
741 (open_path): Change from boolean 'secure' to complete flag 'mode'
742 (_dl_map_object): Adjust.
a42faf59
PP
743 * elf/Makefile (tests): Add tst-dlopen-aout.
744 * elf/tst-dlopen-aout.c: New test.
745
50936127
SL
7462014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
747
748 [BZ #16714]
749 * sysdeps/unix/sysv/linux/s390/bits/stat.h
750 (struct stat): Rename member pad0 to __glibc_reserved0.
751
26011b5c
SL
7522014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
753
754 [BZ #16712]
755 * sysdeps/s390/s390-32/bits/wordsize.h
756 (__WORDSIZE32_SIZE_ULONG): New define.
757 * sysdeps/s390/s390-64/bits/wordsize.h
758 (__WORDSIZE32_SIZE_ULONG): Likewise.
759 * sysdeps/generic/stdint.h (SIZE_MAX):
760 Define as UL if __WORDSIZE32_SIZE_ULONG.
761
a2d86bf1
SL
7622014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
763
764 [BZ #16713]
765 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
766 (__glibc_reserved0): New variable.
767 (sa_flags): Change type to int.
768
78b6eebc
SL
7692014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
770
771 * posix/Makefile (before-compile): Use += before-compile instead
772 of a :=.
773
f1399b5a
SL
7742014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
775
776 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
777 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
778
a071766e
AS
7792014-03-20 Andreas Schwab <schwab@suse.de>
780
781 [BZ #16743]
782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
783 non-matching result from nscd.
784
27c673b8
SP
7852014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
786
787 * scripts/bench.py: Moved to ...
788 * benchtests/scripts/bench.py: ... here.
789 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
790
44152e4b
AS
7912014-03-24 Andreas Schwab <schwab@suse.de>
792
793 [BZ #16002]
794 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
795 alloca_account and account alloca use for struct in6ailist.
796
b376a11a
JM
7972014-03-24 Joseph Myers <joseph@codesourcery.com>
798
799 [BZ #16284]
800 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
801 rounding mode to recompute results that overflow to infinity or
802 underflow to zero.
803 * math/auto-libm-test-in: Don't mark tests as expected to fail for
804 bug 16284.
805 * math/auto-libm-test-out: Regenerated.
806 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
807 (ccosh_test): Likewise.
808 (csin_test_data): Use plus_oflow.
809 (csin_test): Use ALL_RM_TEST.
810 (csinh_test_data): Use plus_oflow.
811 (csinh_test): Use ALL_RM_TEST.
812 * sysdeps/i386/fpu/libm-test-ulps: Update.
813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
814
f7be7376
JM
8152014-03-21 Joseph Myers <joseph@codesourcery.com>
816
1ca2d03e
JM
817 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
818 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
819 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
820
f7be7376
JM
821 [BZ #16731]
822 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
823 when x - 1 is zero.
824 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
825 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
826 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
827 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
828 argument is 1.
829 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
830 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
831 zero.
832 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
833 * sysdeps/i386/fpu/libm-test-ulps: Update.
834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
835
fdf4534d
SP
8362014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
837
df26ea53
SP
838 * scripts/bench.pl: Remove file.
839 * scripts/bench.py: New benchmark script.
840 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
841 * benchtests/README: Mention python dependency.
842 * scripts/pylintrc: New file.
843 * scripts/pylint: New file.
844
fdf4534d
SP
845 * bits/mathdef.h: Use #ifdef instead of #if.
846 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
847 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
848 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
849 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
850 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
851 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
852
6f23d093
AZ
8532014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
854 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
855
856 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
858 and strpbrk-ppc64 objects.
859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
860 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
861 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
862 multiarch strpbrk for POWER7.
863 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
864 multiarch strpbrk for PPC64.
865 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
866 ifunc selector.
867 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
868 strpbrk for POWER7.
869
8c92dfff
JM
8702014-03-20 Joseph Myers <joseph@codesourcery.com>
871
872 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
873 (atan_test): Likewise.
874 (atanh_test_data): Use NO_TEST_INLINE for two tests.
875 (atanh_test): Use ALL_RM_TEST.
876 (atan2_test_data): Likewise.
877 (cabs_test): Likewise.
878 (cacosh_test): Likewise.
879 (carg_test): Likewise.
880 (casin_test): Likewise.
881 (casinh_test): Likewise.
882 (cbrt_test): Likewise.
883 (csqrt_test): Likewise.
884 (erf_test): Likewise.
885 (erfc_test): Likewise.
886 (pow10_test): Likewise.
887 (exp2_test): Likewise.
888 (hypot_test): Likewise.
889 (j0_test): Likewise.
890 (j1_test): Likewise.
891 (lgamma_test): Likewise.
892 (gamma_test): Likewise.
893 (sincos_test): Likewise.
894 (tanh_test): Likewise.
895 (y0_test): Likewise.
896 (y1_test): Likewise.
897 * sysdeps/i386/fpu/libm-test-ulps: Update.
898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
899
6eaf95cb
AZ
9002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
901
a387428c
SP
902 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
904 and strcspn-ppc64 objects.
905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
906 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
907 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
908 multiarch strcspn for POWER7.
909 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
910 multiarch strcspn for PPC64.
911 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
912 ifunc selector.
913 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
914 strcspn for POWER7.
915
ae3a5dff
JM
9162014-03-20 Joseph Myers <joseph@codesourcery.com>
917
918 * math/gen-libm-test.pl (generate_testfile): Expect only function
919 name as argument to AUTO_TESTS_* and pass results for all rounding
920 modes to parse_args.
921 (parse_auto_input): Separate inputs of automatic tests from
922 outputs before storing in %auto_tests.
923 * math/libm-test.inc (acos_test_data): Update call to
924 AUTO_TESTS_f_f.
925 (acos_test): Use ALL_RM_TEST.
926 (acos_tonearest_test_data): Remove.
927 (acos_test_tonearest): Likewise.
928 (acos_towardzero_test_data): Likewise.
929 (acos_test_towardzero): Likewise.
930 (acos_downward_test_data): Likewise.
931 (acos_test_downward): Likewise.
932 (acos_upward_test_data): Likewise.
933 (acos_test_upward): Likewise.
934 (acosh_test_data): Update call to AUTO_TESTS_f_f.
935 (asin_test_data): Likewise.
936 (asin_test): Use ALL_RM_TEST.
937 (asin_tonearest_test_data): Remove.
938 (asin_test_tonearest): Likewise.
939 (asin_towardzero_test_data): Likewise.
940 (asin_test_towardzero): Likewise.
941 (asin_downward_test_data): Likewise.
942 (asin_test_downward): Likewise.
943 (asin_upward_test_data): Likewise.
944 (asin_test_upward): Likewise.
945 (asinh_test_data): Update call to AUTO_TESTS_f_f.
946 (atan_test_data): Likewise.
947 (atanh_test_data): Likewise.
948 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
949 (cabs_test_data): Update call to AUTO_TESTS_c_f.
950 (carg_test_data): Likewise.
951 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
952 (ccos_test_data): Update call to AUTO_TESTS_c_c.
953 (ccosh_test_data): Likewise.
954 (cexp_test_data): Likewise.
955 (clog_test_data): Likewise.
956 (clog10_test_data): Likewise.
957 (cos_test_data): Update call to AUTO_TESTS_f_f.
958 (cos_test): Use ALL_RM_TEST.
959 (cos_tonearest_test_data): Remove.
960 (cos_test_tonearest): Likewise.
961 (cos_towardzero_test_data): Likewise.
962 (cos_test_towardzero): Likewise.
963 (cos_downward_test_data): Likewise.
964 (cos_test_downward): Likewise.
965 (cos_upward_test_data): Likewise.
966 (cos_test_upward): Likewise.
967 (cosh_test_data): Update call to AUTO_TESTS_f_f.
968 (cosh_test): Use ALL_RM_TEST.
969 (cosh_tonearest_test_data): Remove.
970 (cosh_test_tonearest): Likewise.
971 (cosh_towardzero_test_data): Likewise.
972 (cosh_test_towardzero): Likewise.
973 (cosh_downward_test_data): Likewise.
974 (cosh_test_downward): Likewise.
975 (cosh_upward_test_data): Likewise.
976 (cosh_test_upward): Likewise.
977 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
978 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
979 (ctan_test_data): Likewise.
980 (ctan_test): Use ALL_RM_TEST.
981 (ctan_tonearest_test_data): Remove.
982 (ctan_test_tonearest): Likewise.
983 (ctan_towardzero_test_data): Likewise.
984 (ctan_test_towardzero): Likewise.
985 (ctan_downward_test_data): Likewise.
986 (ctan_test_downward): Likewise.
987 (ctan_upward_test_data): Likewise.
988 (ctan_test_upward): Likewise.
989 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
990 (ctanh_test): Use ALL_RM_TEST.
991 (ctanh_tonearest_test_data): Remove.
992 (ctanh_test_tonearest): Likewise.
993 (ctanh_towardzero_test_data): Likewise.
994 (ctanh_test_towardzero): Likewise.
995 (ctanh_downward_test_data): Likewise.
996 (ctanh_test_downward): Likewise.
997 (ctanh_upward_test_data): Likewise.
998 (ctanh_test_upward): Likewise.
999 (erf_test_data): Update call to AUTO_TESTS_f_f.
1000 (erfc_test_data): Likewise.
1001 (exp_test_data): Likewise.
1002 (exp_test): Use ALL_RM_TEST.
1003 (exp_tonearest_test_data): Remove.
1004 (exp_test_tonearest): Likewise.
1005 (exp_towardzero_test_data): Likewise.
1006 (exp_test_towardzero): Likewise.
1007 (exp_downward_test_data): Likewise.
1008 (exp_test_downward): Likewise.
1009 (exp_upward_test_data): Likewise.
1010 (exp_test_upward): Likewise.
1011 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1012 (exp10_test): Use ALL_RM_TEST.
1013 (exp10_tonearest_test_data): Remove.
1014 (exp10_test_tonearest): Likewise.
1015 (exp10_towardzero_test_data): Likewise.
1016 (exp10_test_towardzero): Likewise.
1017 (exp10_downward_test_data): Likewise.
1018 (exp10_test_downward): Likewise.
1019 (exp10_upward_test_data): Likewise.
1020 (exp10_test_upward): Likewise.
1021 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1022 (expm1_test_data): Likewise.
1023 (expm1_test): Use ALL_RM_TEST.
1024 (expm1_tonearest_test_data): Remove.
1025 (expm1_test_tonearest): Likewise.
1026 (expm1_towardzero_test_data): Likewise.
1027 (expm1_test_towardzero): Likewise.
1028 (expm1_downward_test_data): Likewise.
1029 (expm1_test_downward): Likewise.
1030 (expm1_upward_test_data): Likewise.
1031 (expm1_test_upward): Likewise.
1032 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1033 (fma_test): Use ALL_RM_TEST.
1034 (fma_towardzero_test_data): Remove.
1035 (fma_test_towardzero): Likewise.
1036 (fma_downward_test_data): Likewise.
1037 (fma_test_downward): Likewise.
1038 (fma_upward_test_data): Likewise.
1039 (fma_test_upward): Likewise.
1040 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1041 (j0_test_data): Update call to AUTO_TESTS_f_f.
1042 (j1_test_data): Likewise.
1043 (jn_test_data): Update call to AUTO_TESTS_if_f.
1044 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1045 (log_test_data): Update call to AUTO_TESTS_f_f.
1046 (log10_test_data): Likewise.
1047 (log1p_test_data): Likewise.
1048 (log2_test_data): Likewise.
1049 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1050 (pow_tonearest_test_data): Likewise.
1051 (sin_test_data): Update call to AUTO_TESTS_f_f.
1052 (sin_test): Use ALL_RM_TEST.
1053 (sin_tonearest_test_data): Remove.
1054 (sin_test_tonearest): Likewise.
1055 (sin_towardzero_test_data): Likewise.
1056 (sin_test_towardzero): Likewise.
1057 (sin_downward_test_data): Likewise.
1058 (sin_test_downward): Likewise.
1059 (sin_upward_test_data): Likewise.
1060 (sin_test_upward): Likewise.
1061 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1062 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1063 (sinh_test): Use ALL_RM_TEST.
1064 (sinh_tonearest_test_data): Remove.
1065 (sinh_test_tonearest): Likewise.
1066 (sinh_towardzero_test_data): Likewise.
1067 (sinh_test_towardzero): Likewise.
1068 (sinh_downward_test_data): Likewise.
1069 (sinh_test_downward): Likewise.
1070 (sinh_upward_test_data): Likewise.
1071 (sinh_test_upward): Likewise.
1072 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1073 (sqrt_test): Use ALL_RM_TEST.
1074 (sqrt_tonearest_test_data): Remove.
1075 (sqrt_test_tonearest): Likewise.
1076 (sqrt_towardzero_test_data): Likewise.
1077 (sqrt_test_towardzero): Likewise.
1078 (sqrt_downward_test_data): Likewise.
1079 (sqrt_test_downward): Likewise.
1080 (sqrt_upward_test_data): Likewise.
1081 (sqrt_test_upward): Likewise.
1082 (tan_test_data): Update call to AUTO_TESTS_f_f.
1083 (tan_test): Use ALL_RM_TEST.
1084 (tan_tonearest_test_data): Remove.
1085 (tan_test_tonearest): Likewise.
1086 (tan_towardzero_test_data): Likewise.
1087 (tan_test_towardzero): Likewise.
1088 (tan_downward_test_data): Likewise.
1089 (tan_test_downward): Likewise.
1090 (tan_upward_test_data): Likewise.
1091 (tan_test_upward): Likewise.
1092 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1093 (tgamma_test_data): Likewise.
1094 (y0_test_data): Likewise.
1095 (y1_test_data): Likewise.
1096 (yn_test_data): Update call to AUTO_TESTS_if_f.
1097 (main): Do not call removed functions.
1098
d71aeee8
JM
10992014-03-19 Joseph Myers <joseph@codesourcery.com>
1100
1101 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1102 (ldexp_test_data): Remove.
1103 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1104 scalbn_test_data.
1105 (scalb_test): Use ALL_RM_TEST.
1106
baaf1ded
AS
11072014-03-19 Andreas Schwab <schwab@suse.de>
1108
1109 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1110
b1115e91
JM
11112014-03-19 Joseph Myers <joseph@codesourcery.com>
1112
1113 [BZ #16649]
1114 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1115 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1116 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1117 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1118 (__ASSUME_PREADV): Undefine.
1119 (__ASSUME_PWRITEV): Likewise.
1120
0283ecca
RM
11212014-03-18 Roland McGrath <roland@hack.frob.com>
1122
7d375303
RM
1123 * bits/mman-linux.h: Add comment about non-Linux use.
1124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1125 bits/mman-linux.h resting place.
1126
0283ecca
RM
1127 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1128 * bits/mman-linux.h: ... here.
1129
aebe1003
AZ
11302014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1131
1132 * conform/conformtest.pl: Add standard definition when calling C
1133 preprocessor on data files.
1134 (checknamespace): Remove unused variable.
1135
b29b6bb8
JM
11362014-03-18 Joseph Myers <joseph@codesourcery.com>
1137
1138 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1139 minus_oflow, plus_uflow and minus_uflow in expected results.
1140 * math/libm-test.inc (scalbn_test_data): Add more tests of
1141 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1142 minus_uflow.
1143 (scalbn_test): Use ALL_RM_TEST.
1144 (scalbln_test_data): Add more tests of negative arguments. Use
1145 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1146 (scalbln_test): Use ALL_RM_TEST.
1147
c8f8fa15
RM
11482014-03-18 Roland McGrath <roland@hack.frob.com>
1149
1150 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1151
fede7a5f
WN
11522014-03-18 Will Newton <will.newton@linaro.org>
1153
1154 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1155 inaccurate comment.
1156
80cf0a58
JM
11572014-03-18 Joseph Myers <joseph@codesourcery.com>
1158
1159 * Makerules [!subdir] (check-abi): Exit with error status if a
1160 test failed.
1161
b3620862
JM
11622014-03-17 Joseph Myers <joseph@codesourcery.com>
1163
1164 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1165 for rint. Include results for all rounding modes.
1166 (nearbyint_test): Use ALL_RM_TEST.
1167 (rint_test_data): Include all tests used for nearbyint.
1168
788bba36
WN
11692014-03-17 Will Newton <will.newton@linaro.org>
1170
04ec140a
WN
1171 * nptl/sysdeps/pthread/pthread.h: Revert previous
1172 change.
1173
7579d8d5
WN
1174 * sysdeps/generic/ldsodefs.h: Revert previous
1175 change.
1176
c15cf13a
WN
1177 * libio/genops.c: Revert previous change.
1178 * libio/libioP.h: Likewise.
1179 * stdio-common/vfprintf.c: Likewise.
1180
d0ac1324
WN
1181 * sysdeps/generic/math_private.h: Revert previous
1182 change.
1183
9290130a
WN
1184 * sysdeps/generic/math_private.h: Check whether
1185 HAVE_RM_CTX is defined with #ifdef rather
1186 than #if.
1187
afb466fc
WN
1188 * argp/argp-fmtstream.h: Check whether
1189 __STRICT_ANSI__ is defined with #ifdef rather
1190 than #if.
1191 * argp/argp.h: Likewise.
1192
f7efd7c3
WN
1193 * libio/genops.c: Check whether
1194 _IO_JUMPS_OFFSET is defined with #ifdef rather
1195 than #if.
1196 * libio/libioP.h: Likewise.
1197 * stdio-common/vfprintf.c: Likewise.
1198
53f1bed3
WN
1199 * sysdeps/generic/ldsodefs.h: Check whether
1200 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1201 than #if.
1202
788bba36
WN
1203 * nptl/sysdeps/pthread/pthread.h: Check
1204 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1205 its value.
1206
fcd89ebe
SP
12072014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1208
ae42bbc5
SP
1209 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1210 setting O_APPEND.
1211 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1212 test case.
1213
ea33158c
SP
1214 [BZ #16680]
1215 * libio/fileops.c (_IO_file_open): Seek to end of file but
1216 don't cache the offset.
1217 (get_file_offset): Remove function.
1218 (do_ftell): Use cached offset when available.
1219 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1220 don't cache the offset.
1221 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1222 case.
1223 (do_one_test): Call it.
1224 (do_ftell_test): Fix up expected old offset for a+ mode.
1225 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1226 available.
1227
b1dbb426
SP
1228 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1229 up test status with function return status.
1230 (do_write_test): Likewise.
1231 (do_append_test): Likewise.
1232
fcd89ebe
SP
1233 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1234 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1235 Remove.
1236
9962a2d3
JM
12372014-03-17 Joseph Myers <joseph@codesourcery.com>
1238
1239 * math/gen-libm-test.pl (parse_args): Handle results specified for
1240 each rounding mode separately.
1241 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1242 tests and results from lrint_tonearest_test_data,
1243 lrint_towardzero_test_data, lrint_downward_test_data and
1244 lrint_upward_test_data.
1245 (lrint_test): Use ALL_RM_TEST.
1246 (lrint_tonearest_test_data): Remove.
1247 (lrint_test_tonearest): Likewise.
1248 (lrint_towardzero_test_data): Likewise.
1249 (lrint_test_towardzero): Likewise.
1250 (lrint_downward_test_data): Likewise.
1251 (lrint_test_downward): Likewise.
1252 (lrint_upward_test_data): Likewise.
1253 (lrint_test_upward): Likewise.
1254 (llrint_test_data): Merge in per-rounding-mode tests and results
1255 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1256 llrint_downward_test_data and llrint_upward_test_data.
1257 (llrint_test): Use ALL_RM_TEST.
1258 (llrint_tonearest_test_data): Remove.
1259 (llrint_test_tonearest): Likewise.
1260 (llrint_towardzero_test_data): Likewise.
1261 (llrint_test_towardzero): Likewise.
1262 (llrint_downward_test_data): Likewise.
1263 (llrint_test_downward): Likewise.
1264 (llrint_upward_test_data): Likewise.
1265 (llrint_test_upward): Likewise.
1266 (rint_test_data): Merge in per-rounding-mode tests and results
1267 from rint_tonearest_test_data, rint_towardzero_test_data,
1268 rint_downward_test_data and rint_upward_test_data. Add
1269 per-rounding-mode results for tests not in those arrays.
1270 (rint_test): Use ALL_RM_TEST.
1271 (rint_tonearest_test_data): Remove.
1272 (rint_test_tonearest): Likewise.
1273 (rint_towardzero_test_data): Likewise.
1274 (rint_test_towardzero): Likewise.
1275 (rint_downward_test_data): Likewise.
1276 (rint_test_downward): Likewise.
1277 (rint_upward_test_data): Likewise.
1278 (rint_test_upward): Likewise.
1279 (main): Don't call removed functions.
1280
5006148e
RM
12812014-03-14 Roland McGrath <roland@hack.frob.com>
1282
1283 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1284 "Compiled on ..." crapola. It is anti-useful.
1285
d6fe5e58
JM
12862014-03-14 Joseph Myers <joseph@codesourcery.com>
1287
1288 * scripts/evaluate-test.sh: Handle fourth argument to determine
1289 whether test run should stop on failure.
1290 * Makeconfig (stop-on-test-failure): New variable.
1291 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1292 $(stop-on-test-failure).
1293 * Makefile (tests): Give a summary of results from testing and
1294 exit with failure status if they include an ERROR or FAIL.
1295 (xtests): Likewise.
1296 * manual/install.texi (Configuring and compiling): Mention
1297 stop-on-test-failure=y.
1298 * INSTALL: Regenerated.
1299
498a2233
RM
13002014-03-14 Roland McGrath <roland@hack.frob.com>
1301
22dbc19d
RM
1302 * scripts/versionlist.awk: New file.
1303 * Makerules [$(build-shared) = yes]
1304 (postclean-generated): Add Versions.def, not Versions.def.v and
1305 Versions.def.v.i.
1306 ($(common-objpfx)Versions.def.v.i): Target removed.
1307 ($(common-objpfx)Versions.def): New target.
1308 ($(common-objpfx)Versions.all): Depend on that rather that
1309 $(common-objpfx)Versions.def.v.
1310 * Versions.def: File removed.
1311
498a2233
RM
1312 * Makeconfig (+gccwarn): Add -Wundef.
1313 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1314 a dl-sysdep.h breaking its contract.
1315 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1316 * include/stackinfo.h: New file.
1317 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1318 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1319 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1320 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1321 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1322 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1323 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1324 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1325 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1326 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1327 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1328 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1329 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1330 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1331 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1332
c7de5025
AZ
13332014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1334
1335 [BZ #16707]
1336 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1337 implementation.
1338 * math/libm-test.inc (round_test_data): Add more tests.
1339
98fb27a3
AZ
13402014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341
1342 [BZ #16706]
1343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1344 implementation.
1345 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1346
374f7f61
AZ
13472014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1348
1349 [BZ #16701]
1350 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1351 implementation.
1352 * math/libm-test.inc (ceil_test_data): Add more tests.
1353
4655c291
AZ
13542014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355
1356 * math/libm-test.inc (trunc_test_data): Add more tests related to
1357 BZ#16414.
1358
d7329d4b
RM
13592014-03-14 Roland McGrath <roland@hack.frob.com>
1360
1361 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1362 with #if rather than #ifdef.
1363 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1364
aa4de9ce
L
13652014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1366
1367 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1368 first. Disable AVX-512 GCC support if assembler doesn't support
1369 it.
1370 * sysdeps/x86_64/configure: Regenerated.
1371
2e03fae7
CD
13722014-03-13 Carlos O'Donell <carlos@redhat.com>
1373
1374 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1375 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1376 (__old_pthread_attr_setstack): Likewise.
1377 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1378 [!_STACK_GROWS_DOWN]: Likewise.
1379
43ca83ec
MF
13802014-03-13 Mike Frysinger <vapier@gentoo.org>
1381
1382 * config.make.in (have-bash2): Delete.
1383 * configure.ac (libc_cv_have_bash2): Delete.
1384 * configure: Regenerate.
1385 * elf/Makefile (common-ldd-rewrite): Rename to ...
1386 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1387 (sh-ldd-rewrite): Delete.
1388 (bash-ldd-rewrite): Delete.
1389 (have-bash2): Delete checks.
1390 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1391
c66e48b4
MF
13922014-03-13 Mike Frysinger <vapier@gentoo.org>
1393
1394 * config.make.in (have-ksh): Delete.
1395 (KSH): Delete.
1396 * configure.ac (libc_cv_have_ksh): Delete.
1397 * configure: Regenerate.
1398
b93834ef
MF
13992014-03-13 Mike Frysinger <vapier@gentoo.org>
1400
1401 * elf/Makefile: Delete $(have-ksh) check.
1402 ($(objpfx)sotruss): Change KSH to BASH.
1403 * elf/sotruss.ksh: Rename to ...
1404 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1405 function style to match POSIX. Drop ksh vim mode setting.
1406
f3a4632a
MF
14072014-03-13 Mike Frysinger <vapier@gentoo.org>
1408
1409 * manual/time.texi (Specifying the Time Zone with TZ): Change
1410 Tuesday to Thursday.
1411
5896c8bd
MF
14122014-03-13 Mike Frysinger <vapier@gentoo.org>
1413
1414 * debug/tst-longjmp_chk2.c: Update header comment.
1415 (stackoverflow_handler): Add comment. Call assert on pass value.
1416
2d63a517
IZ
14172014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1418
1419 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1420 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1421 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1422 (La_x86_64_vector): Add zmm.
1423 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1424 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1425 ($(objpfx)tst-audit10): New target.
1426 ($(objpfx)tst-audit10.out): Likewise.
1427 (tst-audit10-ENV): New.
1428 (AVX512-CFLAGS): Likewise.
1429 (CFLAGS-tst-audit10.c): Likewise.
1430 (CFLAGS-tst-auditmod10a.c): Likewise.
1431 (CFLAGS-tst-auditmod10b.c): Likewise.
1432 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1433 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1434 * sysdeps/x86_64/configure: Regenerated.
1435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1436 AVX-512 zmm register support.
1437 (_dl_x86_64_save_sse): Likewise.
1438 (_dl_x86_64_restore_sse): Likewise.
1439 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1440 size vector registers.
1441 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1442 (ZMM_SIZE): Likewise.
1443 * sysdeps/x86_64/tst-audit10.c: New file.
1444 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1445 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1446
44c4e5d5
RM
14472014-03-13 Roland McGrath <roland@hack.frob.com>
1448
1449 * configure.ac (HAVE_EHDR_START): New check.
1450 * configure: Regenerated.
1451 * config.h.in (HAVE_EHDR_START): New #undef.
1452 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1453 assuming the lowest-addressed segment maps the start of the file.
1454
acd6e389
JM
14552014-03-13 Joseph Myers <joseph@codesourcery.com>
1456
1457 * INSTALL: Regenerated.
1458
6f918f36
WN
14592014-03-13 Will Newton <will.newton@linaro.org>
1460
1461 * manual/setjmp.texi (System V contexts): Improve
1462 clarity and grammar of documentation.
1463
798212a0
PP
14642014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1465
1466 [BZ #16381]
798212a0 1467 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1468 (tests-pie): Add tst-pie2.
798212a0
PP
1469 * elf/tst-pie2.c: New file.
1470 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1471 for ET_EXEC.
1472 * elf/rtld.c (map_doit): Load executable as lt_executable.
1473 (dl_main): Likewise.
1474
abe6d90c
JM
14752014-03-12 Joseph Myers <joseph@codesourcery.com>
1476
1477 [BZ #16642]
1478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1479 (__ASSUME_PSELECT): Undefine.
1480
dd3946c6
AZ
14812014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482
1483 [BZ #16689]
1484 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1485 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1486 static build.
1487 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1488 selector for static builds.
1489
c44496df
SP
14902014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1491
1492 [BZ #16695]
1493 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1494 key in the buffer.
1495
27c7220a
AZ
14962014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497
1498 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1499 selector for static builds.
1500
600fa361
JM
15012014-03-11 Joseph Myers <joseph@codesourcery.com>
1502
76c96cf7
JM
1503 * sysdeps/mips/math_private.h [__mips_hard_float]
1504 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1505 libc_feresetround_mips_ctx.
1506 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1507 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1508 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1509
600fa361
JM
1510 [BZ #16677]
1511 * math/s_nextafter.c (__nextafter): Do not return value from
1512 overflowing computation.
1513 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1514 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1516 Likewise.
1517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1518 Likewise.
1519 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1520 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1521
d7706c32
RM
15222014-03-11 Roland McGrath <roland@hack.frob.com>
1523
1524 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1525 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1526 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1527 the new mov targetting sp.
1528
4facea47
AZ
15292014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
1531 [BZ #16683]
1532 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1533 Define it for static builds as well.
1534 (NO_BZERO_IMPL): Likewise.
1535
e65caf1f
VR
15362014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1537
1538 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1539 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1540 multiarch strspn for PPC64.
1541 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1542 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1544 (__libc_ifunc_impl_list): Likewise.
1545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1546 multiarch optimizations
1547 * string/strspn.c (strspn): Using macro to redefine symbol name.
1548
ba9cc071
AZ
15492014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1550 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551
1552 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1553 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1554 multiarch strncat for PPC64.
1555 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1556 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1558 (__libc_ifunc_impl_list): Likewise.
1559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1560 multiarch optimizations
1561
8b4ff974
SP
15622014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1563
1564 [BZ #16639]
1565 * nscd/nscd.service: Make service type forking.
1566
54b46a4b
AZ
15672014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1568
1569 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1570 sign in non default rounding modes.
1571 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1572
e9996ef7
JM
15732014-03-08 Joseph Myers <joseph@codesourcery.com>
1574
1575 * math/libm-test.inc (ALL_RM_TEST): New macro.
1576 (ceil_test): Use ALL_RM_TEST.
1577 (cimag_test): Likewise.
1578 (conj_test): Likewise.
1579 (copysign_test): Likewise.
1580 (cproj_test): Likewise.
1581 (creal_test): Likewise.
1582 (fabs_test): Likewise.
1583 (floor_test): Likewise.
1584 (fmax_test): Likewise.
1585 (fmin_test): Likewise.
1586 (fmod_test): Likewise.
1587 (fpclassify_test): Likewise.
1588 (frexp_test): Likewise.
1589 (ilogb_test): Likewise.
1590 (isfinite_test): Likewise.
1591 (finite_test): Likewise.
1592 (isgreater_test): Likewise.
1593 (isgreaterequal_test): Likewise.
1594 (isinf_test): Likewise.
1595 (isless_test): Likewise.
1596 (islessequal_test): Likewise.
1597 (islessgreater_test): Likewise.
1598 (isnan_test): Likewise.
1599 (isnormal_test): Likewise.
1600 (issignaling_test): Likewise.
1601 (isunordered_test): Likewise.
1602 (logb_test): Likewise.
1603 (logb_downward_test_data): Remove.
1604 (logb_test_downward): Likewise.
1605 (lround_test): Use ALL_RM_TEST.
1606 (llround_test): Likewise.
1607 (modf_test): Likewise.
1608 (nexttoward_test): Likewise.
1609 (remainder_test): Likewise.
1610 (drem_test): Likewise.
1611 (remainder_tonearest_test_data): Likewise.
1612 (remainder_test_tonearest): Likewise.
1613 (drem_test_tonearest): Likewise.
1614 (remainder_towardzero_test_data): Likewise.
1615 (remainder_test_towardzero): Likewise.
1616 (drem_test_towardzero): Likewise.
1617 (remainder_downward_test_data): Likewise.
1618 (remainder_test_downward): Likewise.
1619 (drem_test_downward): Likewise.
1620 (remainder_upward_test_data): Likewise.
1621 (remainder_test_upward): Likewise.
1622 (drem_test_upward): Likewise.
1623 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1624 (round_test): Use ALL_RM_TEST.
1625 (signbit_test): Likewise.
1626 (trunc_test): Likewise.
1627 (significand_test): Likewise.
1628 (main): Don't call removed functions.
1629
bc61d27c
JM
16302014-03-07 Joseph Myers <joseph@codesourcery.com>
1631
5c780849
JM
1632 [BZ #16674]
1633 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1634 || __USE_XOPEN2K8].
1635 (ILL_ILLOPN): Likewise.
1636 (ILL_ILLADR): Likewise.
1637 (ILL_ILLTRP): Likewise.
1638 (ILL_PRVOPC): Likewise.
1639 (ILL_PRVREG): Likewise.
1640 (ILL_COPROC): Likewise.
1641 (ILL_BADSTK): Likewise.
1642 (FPE_INTDIV): Likewise.
1643 (FPE_INTOVF): Likewise.
1644 (FPE_FLTDIV): Likewise.
1645 (FPE_FLTOVF): Likewise.
1646 (FPE_FLTUND): Likewise.
1647 (FPE_FLTRES): Likewise.
1648 (FPE_FLTINV): Likewise.
1649 (FPE_FLTSUB): Likewise.
1650 (SEGV_MAPERR): Likewise.
1651 (SEGV_ACCERR): Likewise.
1652 (BUS_ADRALN): Likewise.
1653 (BUS_ADRERR): Likewise.
1654 (BUS_OBJERR): Likewise.
1655 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1656 (TRAP_TRACE): Likewise.
1657 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1658 __USE_XOPEN2K8].
1659 (CLD_KILLED): Likewise.
1660 (CLD_DUMPED): Likewise.
1661 (CLD_TRAPPED): Likewise.
1662 (CLD_STOPPED): Likewise.
1663 (CLD_CONTINUED): Likewise.
1664 (POLL_IN): Likewise.
1665 (POLL_OUT): Likewise.
1666 (POLL_MSG): Likewise.
1667 (POLL_ERR): Likewise.
1668 (POLL_PRI): Likewise.
1669 (POLL_HUP): Likewise.
1670 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1671 Likewise.
1672 (ILL_ILLOPN): Likewise.
1673 (ILL_ILLADR): Likewise.
1674 (ILL_ILLTRP): Likewise.
1675 (ILL_PRVOPC): Likewise.
1676 (ILL_PRVREG): Likewise.
1677 (ILL_COPROC): Likewise.
1678 (ILL_BADSTK): Likewise.
1679 (FPE_INTDIV): Likewise.
1680 (FPE_INTOVF): Likewise.
1681 (FPE_FLTDIV): Likewise.
1682 (FPE_FLTOVF): Likewise.
1683 (FPE_FLTUND): Likewise.
1684 (FPE_FLTRES): Likewise.
1685 (FPE_FLTINV): Likewise.
1686 (FPE_FLTSUB): Likewise.
1687 (SEGV_MAPERR): Likewise.
1688 (SEGV_ACCERR): Likewise.
1689 (BUS_ADRALN): Likewise.
1690 (BUS_ADRERR): Likewise.
1691 (BUS_OBJERR): Likewise.
1692 (BUS_MCEERR_AR): Likewise.
1693 (BUS_MCEERR_AO): Likewise.
1694 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1695 (TRAP_TRACE): Likewise.
1696 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1697 __USE_XOPEN2K8].
1698 (CLD_KILLED): Likewise.
1699 (CLD_DUMPED): Likewise.
1700 (CLD_TRAPPED): Likewise.
1701 (CLD_STOPPED): Likewise.
1702 (CLD_CONTINUED): Likewise.
1703 (POLL_IN): Likewise.
1704 (POLL_OUT): Likewise.
1705 (POLL_MSG): Likewise.
1706 (POLL_ERR): Likewise.
1707 (POLL_PRI): Likewise.
1708 (POLL_HUP): Likewise.
1709 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1710 (ILL_ILLOPN): Likewise.
1711 (ILL_ILLADR): Likewise.
1712 (ILL_ILLTRP): Likewise.
1713 (ILL_PRVOPC): Likewise.
1714 (ILL_PRVREG): Likewise.
1715 (ILL_COPROC): Likewise.
1716 (ILL_BADSTK): Likewise.
1717 (FPE_INTDIV): Likewise.
1718 (FPE_INTOVF): Likewise.
1719 (FPE_FLTDIV): Likewise.
1720 (FPE_FLTOVF): Likewise.
1721 (FPE_FLTUND): Likewise.
1722 (FPE_FLTRES): Likewise.
1723 (FPE_FLTINV): Likewise.
1724 (FPE_FLTSUB): Likewise.
1725 (SEGV_MAPERR): Likewise.
1726 (SEGV_ACCERR): Likewise.
1727 (BUS_ADRALN): Likewise.
1728 (BUS_ADRERR): Likewise.
1729 (BUS_OBJERR): Likewise.
1730 (BUS_MCEERR_AR): Likewise.
1731 (BUS_MCEERR_AO): Likewise.
1732 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1733 (TRAP_TRACE): Likewise.
1734 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1735 __USE_XOPEN2K8].
1736 (CLD_KILLED): Likewise.
1737 (CLD_DUMPED): Likewise.
1738 (CLD_TRAPPED): Likewise.
1739 (CLD_STOPPED): Likewise.
1740 (CLD_CONTINUED): Likewise.
1741 (POLL_IN): Likewise.
1742 (POLL_OUT): Likewise.
1743 (POLL_MSG): Likewise.
1744 (POLL_ERR): Likewise.
1745 (POLL_PRI): Likewise.
1746 (POLL_HUP): Likewise.
1747 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1748 Likewise.
1749 (ILL_ILLOPN): Likewise.
1750 (ILL_ILLADR): Likewise.
1751 (ILL_ILLTRP): Likewise.
1752 (ILL_PRVOPC): Likewise.
1753 (ILL_PRVREG): Likewise.
1754 (ILL_COPROC): Likewise.
1755 (ILL_BADSTK): Likewise.
1756 (ILL_BADIADDR): Likewise.
1757 (ILL_BREAK): Likewise.
1758 (FPE_INTDIV): Likewise.
1759 (FPE_INTOVF): Likewise.
1760 (FPE_FLTDIV): Likewise.
1761 (FPE_FLTOVF): Likewise.
1762 (FPE_FLTUND): Likewise.
1763 (FPE_FLTRES): Likewise.
1764 (FPE_FLTINV): Likewise.
1765 (FPE_FLTSUB): Likewise.
1766 (FPE_DECOVF): Likewise.
1767 (FPE_DECDIV): Likewise.
1768 (FPE_DECERR): Likewise.
1769 (FPE_INVASC): Likewise.
1770 (FPE_INVDEC): Likewise.
1771 (SEGV_MAPERR): Likewise.
1772 (SEGV_ACCERR): Likewise.
1773 (SEGV_PSTKOVF): Likewise.
1774 (BUS_ADRALN): Likewise.
1775 (BUS_ADRERR): Likewise.
1776 (BUS_OBJERR): Likewise.
1777 (BUS_MCEERR_AR): Likewise.
1778 (BUS_MCEERR_AO): Likewise.
1779 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1780 (TRAP_TRACE): Likewise.
1781 (TRAP_BRANCH): Likewise.
1782 (TRAP_HWBKPT): Likewise.
1783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1784 __USE_XOPEN2K8].
1785 (CLD_KILLED): Likewise.
1786 (CLD_DUMPED): Likewise.
1787 (CLD_TRAPPED): Likewise.
1788 (CLD_STOPPED): Likewise.
1789 (CLD_CONTINUED): Likewise.
1790 (POLL_IN): Likewise.
1791 (POLL_OUT): Likewise.
1792 (POLL_MSG): Likewise.
1793 (POLL_ERR): Likewise.
1794 (POLL_PRI): Likewise.
1795 (POLL_HUP): Likewise.
1796 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1797 (ILL_ILLOPN): Likewise.
1798 (ILL_ILLADR): Likewise.
1799 (ILL_ILLTRP): Likewise.
1800 (ILL_PRVOPC): Likewise.
1801 (ILL_PRVREG): Likewise.
1802 (ILL_COPROC): Likewise.
1803 (ILL_BADSTK): Likewise.
1804 (FPE_INTDIV): Likewise.
1805 (FPE_INTOVF): Likewise.
1806 (FPE_FLTDIV): Likewise.
1807 (FPE_FLTOVF): Likewise.
1808 (FPE_FLTUND): Likewise.
1809 (FPE_FLTRES): Likewise.
1810 (FPE_FLTINV): Likewise.
1811 (FPE_FLTSUB): Likewise.
1812 (SEGV_MAPERR): Likewise.
1813 (SEGV_ACCERR): Likewise.
1814 (BUS_ADRALN): Likewise.
1815 (BUS_ADRERR): Likewise.
1816 (BUS_OBJERR): Likewise.
1817 (BUS_MCEERR_AR): Likewise.
1818 (BUS_MCEERR_AO): Likewise.
1819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1820 (TRAP_TRACE): Likewise.
1821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1822 __USE_XOPEN2K8].
1823 (CLD_KILLED): Likewise.
1824 (CLD_DUMPED): Likewise.
1825 (CLD_TRAPPED): Likewise.
1826 (CLD_STOPPED): Likewise.
1827 (CLD_CONTINUED): Likewise.
1828 (POLL_IN): Likewise.
1829 (POLL_OUT): Likewise.
1830 (POLL_MSG): Likewise.
1831 (POLL_ERR): Likewise.
1832 (POLL_PRI): Likewise.
1833 (POLL_HUP): Likewise.
1834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1835 (ILL_ILLOPN): Likewise.
1836 (ILL_ILLADR): Likewise.
1837 (ILL_ILLTRP): Likewise.
1838 (ILL_PRVOPC): Likewise.
1839 (ILL_PRVREG): Likewise.
1840 (ILL_COPROC): Likewise.
1841 (ILL_BADSTK): Likewise.
1842 (FPE_INTDIV): Likewise.
1843 (FPE_INTOVF): Likewise.
1844 (FPE_FLTDIV): Likewise.
1845 (FPE_FLTOVF): Likewise.
1846 (FPE_FLTUND): Likewise.
1847 (FPE_FLTRES): Likewise.
1848 (FPE_FLTINV): Likewise.
1849 (FPE_FLTSUB): Likewise.
1850 (SEGV_MAPERR): Likewise.
1851 (SEGV_ACCERR): Likewise.
1852 (BUS_ADRALN): Likewise.
1853 (BUS_ADRERR): Likewise.
1854 (BUS_OBJERR): Likewise.
1855 (BUS_MCEERR_AR): Likewise.
1856 (BUS_MCEERR_AO): Likewise.
1857 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1858 (TRAP_TRACE): Likewise.
1859 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1860 __USE_XOPEN2K8].
1861 (CLD_KILLED): Likewise.
1862 (CLD_DUMPED): Likewise.
1863 (CLD_TRAPPED): Likewise.
1864 (CLD_STOPPED): Likewise.
1865 (CLD_CONTINUED): Likewise.
1866 (POLL_IN): Likewise.
1867 (POLL_OUT): Likewise.
1868 (POLL_MSG): Likewise.
1869 (POLL_ERR): Likewise.
1870 (POLL_PRI): Likewise.
1871 (POLL_HUP): Likewise.
1872 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1873 (ILL_ILLOPN): Likewise.
1874 (ILL_ILLADR): Likewise.
1875 (ILL_ILLTRP): Likewise.
1876 (ILL_PRVOPC): Likewise.
1877 (ILL_PRVREG): Likewise.
1878 (ILL_COPROC): Likewise.
1879 (ILL_BADSTK): Likewise.
1880 (FPE_INTDIV): Likewise.
1881 (FPE_INTOVF): Likewise.
1882 (FPE_FLTDIV): Likewise.
1883 (FPE_FLTOVF): Likewise.
1884 (FPE_FLTUND): Likewise.
1885 (FPE_FLTRES): Likewise.
1886 (FPE_FLTINV): Likewise.
1887 (FPE_FLTSUB): Likewise.
1888 (SEGV_MAPERR): Likewise.
1889 (SEGV_ACCERR): Likewise.
1890 (BUS_ADRALN): Likewise.
1891 (BUS_ADRERR): Likewise.
1892 (BUS_OBJERR): Likewise.
1893 (BUS_MCEERR_AR): Likewise.
1894 (BUS_MCEERR_AO): Likewise.
1895 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1896 (TRAP_TRACE): Likewise.
1897 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1898 __USE_XOPEN2K8].
1899 (CLD_KILLED): Likewise.
1900 (CLD_DUMPED): Likewise.
1901 (CLD_TRAPPED): Likewise.
1902 (CLD_STOPPED): Likewise.
1903 (CLD_CONTINUED): Likewise.
1904 (POLL_IN): Likewise.
1905 (POLL_OUT): Likewise.
1906 (POLL_MSG): Likewise.
1907 (POLL_ERR): Likewise.
1908 (POLL_PRI): Likewise.
1909 (POLL_HUP): Likewise.
1910 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1911 (ILL_ILLOPN): Likewise.
1912 (ILL_ILLADR): Likewise.
1913 (ILL_ILLTRP): Likewise.
1914 (ILL_PRVOPC): Likewise.
1915 (ILL_PRVREG): Likewise.
1916 (ILL_COPROC): Likewise.
1917 (ILL_BADSTK): Likewise.
1918 (ILL_DBLFLT): Likewise.
1919 (ILL_HARDWALL): Likewise.
1920 (FPE_INTDIV): Likewise.
1921 (FPE_INTOVF): Likewise.
1922 (FPE_FLTDIV): Likewise.
1923 (FPE_FLTOVF): Likewise.
1924 (FPE_FLTUND): Likewise.
1925 (FPE_FLTRES): Likewise.
1926 (FPE_FLTINV): Likewise.
1927 (FPE_FLTSUB): Likewise.
1928 (SEGV_MAPERR): Likewise.
1929 (SEGV_ACCERR): Likewise.
1930 (BUS_ADRALN): Likewise.
1931 (BUS_ADRERR): Likewise.
1932 (BUS_OBJERR): Likewise.
1933 (BUS_MCEERR_AR): Likewise.
1934 (BUS_MCEERR_AO): Likewise.
1935 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1936 (TRAP_TRACE): Likewise.
1937 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1938 __USE_XOPEN2K8].
1939 (CLD_KILLED): Likewise.
1940 (CLD_DUMPED): Likewise.
1941 (CLD_TRAPPED): Likewise.
1942 (CLD_STOPPED): Likewise.
1943 (CLD_CONTINUED): Likewise.
1944 (POLL_IN): Likewise.
1945 (POLL_OUT): Likewise.
1946 (POLL_MSG): Likewise.
1947 (POLL_ERR): Likewise.
1948 (POLL_PRI): Likewise.
1949 (POLL_HUP): Likewise.
1950 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1951 (ILL_ILLOPN): Likewise.
1952 (ILL_ILLADR): Likewise.
1953 (ILL_ILLTRP): Likewise.
1954 (ILL_PRVOPC): Likewise.
1955 (ILL_PRVREG): Likewise.
1956 (ILL_COPROC): Likewise.
1957 (ILL_BADSTK): Likewise.
1958 (FPE_INTDIV): Likewise.
1959 (FPE_INTOVF): Likewise.
1960 (FPE_FLTDIV): Likewise.
1961 (FPE_FLTOVF): Likewise.
1962 (FPE_FLTUND): Likewise.
1963 (FPE_FLTRES): Likewise.
1964 (FPE_FLTINV): Likewise.
1965 (FPE_FLTSUB): Likewise.
1966 (SEGV_MAPERR): Likewise.
1967 (SEGV_ACCERR): Likewise.
1968 (BUS_ADRALN): Likewise.
1969 (BUS_ADRERR): Likewise.
1970 (BUS_OBJERR): Likewise.
1971 (BUS_MCEERR_AR): Likewise.
1972 (BUS_MCEERR_AO): Likewise.
1973 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1974 (TRAP_TRACE): Likewise.
1975 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1976 __USE_XOPEN2K8].
1977 (CLD_KILLED): Likewise.
1978 (CLD_DUMPED): Likewise.
1979 (CLD_TRAPPED): Likewise.
1980 (CLD_STOPPED): Likewise.
1981 (CLD_CONTINUED): Likewise.
1982 (POLL_IN): Likewise.
1983 (POLL_OUT): Likewise.
1984 (POLL_MSG): Likewise.
1985 (POLL_ERR): Likewise.
1986 (POLL_PRI): Likewise.
1987 (POLL_HUP): Likewise.
1988 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1989 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1990
bc61d27c
JM
1991 [BZ #16670]
1992 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1993 before #include of <time.h>.
1994 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1995 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1996 (test-xfail-UNIX98/sched.h/conform): Likewise.
1997
302949e2
MS
19982014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1999
2000 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2001 error absence of trapping exception support.
2002 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2003
a00f522a
JM
20042014-03-07 Joseph Myers <joseph@codesourcery.com>
2005
6f99f280
JM
2006 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2007 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2008 * timezone/Makefile (testdata): Move definition above include of
2009 Rules.
2010 (test-zones): New variable.
2011 (tests-special): Add zone files.
2012 (build-testdata): Use $(evaluate-test).
2013
0b20a9e8
JM
2014 * elf/Makefile (tests-special): Rename tests to end with .out.
2015 ($(objpfx)noload-mem): Likewise.
2016 ($(objpfx)tst-leaks1-mem): Likewise.
2017 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2018 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2019 $(objpfx)test-iconvconfig.out.
2020 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2021 set -e inside subshell and redirect output to file.
2022 * iconvdata/Makefile (generated): Rename tests to end with .out.
2023 Correct type.
2024 (tests-special): Rename tests to end with .out.
2025 ($(objpfx)mtrace-tst-loading): Likewise.
2026 * intl/Makefile (generated): Likewise.
2027 (tests-special): Likewise.
2028 ($(objpfx)mtrace-tst-gettext): Likewise.
2029 * misc/Makefile (generated): Likewise.
2030 (tests-special): Likewise.
2031 ($(objpfx)tst-error1-mem): Likewise.
2032 * nptl/Makefile (tests-special): Likewise.
2033 ($(objpfx)tst-stack3-mem): Likewise.
2034 (generated): Likewise.
2035 * posix/Makefile (generated): Likewise.
2036 (tests-special): Likewise.
2037 (xtests-special): Likewise.
2038 ($(objpfx)tst-fnmatch-mem): Likewise.
2039 ($(objpfx)bug-regex2-mem): Likewise.
2040 ($(objpfx)bug-regex14-mem): Likewise.
2041 ($(objpfx)bug-regex21-mem): Likewise.
2042 ($(objpfx)bug-regex31-mem): Likewise.
2043 ($(objpfx)tst-vfork3-mem): Likewise.
2044 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2045 ($(objpfx)tst-pcre-mem): Likewise.
2046 ($(objpfx)tst-boost-mem): Likewise.
2047 ($(objpfx)bug-ga2-mem): Likewise.
2048 ($(objpfx)bug-glob2-mem): Likewise.
2049 * resolv/Makefile (generate): Likewise.
2050 (tests-special): Likewise.
2051 (xtests-special): Likewise.
2052 (generated): Likewise.
2053 ($(objpfx)mtrace-tst-leaks): Likewise.
2054 ($(objpfx)mtrace-tst-leaks2): Likewise.
2055
265d52ab
JM
2056 * scripts/merge-test-results.sh: New file.
2057 * Makefile (tests-special-notdir): New variable.
2058 (tests): Run merge-test-results.sh.
2059 (xtests): Likewise.
2060 * Rules (tests-special-notdir): New variable.
2061 (xtests-special-notdir): Likewise.
2062 (tests): Run merge-test-results.sh
2063 (xtests): Likewise.
2064
54ee292d
JM
2065 * Makeconfig (test-xfail-name): New variable.
2066 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2067 compute variable name for expected failures.
2068 * conform/Makefile (conformtest-headers-data): New variable.
2069 (conformtest-standards): Likewise.
2070 (conformtest-headers-ISO): Likewise.
2071 (conformtest-headers-ISO99): Likewise.
2072 (conformtest-headers-ISO11): Likewise.
2073 (conformtest-headers-POSIX): Likewise.
2074 (conformtest-headers-XPG3): Likewise.
2075 (conformtest-headers-XPG4): Likewise.
2076 (conformtest-headers-UNIX98): Likewise.
2077 (conformtest-headers-XOPEN2K): Likewise.
2078 (conformtest-headers-POSIX2008): Likewise.
2079 (conformtest-headers-XOPEN2K8): Likewise.
2080 (conformtest-header-list-base): Likewise.
2081 (conformtest-header-list-tests): Likewise.
2082 (conformtest-header-base): Likewise.
2083 (conformtest-header-tests): Likewise.
2084 (tests-special): Add $(conformtest-header-list-tests). If
2085 [$(fast-check) && !$(cross-compiling)], add
2086 $(conformtest-header-tests) instead of
2087 $(objpfx)run-conformtest.out.
2088 (generated): Add $(conformtest-header-list-base). If
2089 [$(fast-check) && !$(cross-compiling)], add
2090 $(conformtest-header-base). Remove previous setting.
2091 ($(conformtest-header-list-tests)): New target.
2092 (test-xfail-run-conformtest): Remove variable.
2093 ($(objpfx)run-conformtest.out): Remove target.
2094 (test-xfail-ISO11/complex.h/conform): New variable.
2095 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2096 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2097 (test-xfail-XPG3/varargs.h/conform): Likewise.
2098 (test-xfail-XPG4/varargs.h/conform): Likewise.
2099 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2100 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2101 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2102 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2103 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2104 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2105 (test-xfail-XPG3/ftw.h/conform): Likewise.
2106 (test-xfail-XPG3/grp.h/conform): Likewise.
2107 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2108 (test-xfail-XPG3/limits.h/conform): Likewise.
2109 (test-xfail-XPG3/pwd.h/conform): Likewise.
2110 (test-xfail-XPG3/search.h/conform): Likewise.
2111 (test-xfail-XPG3/signal.h/conform): Likewise.
2112 (test-xfail-XPG3/stdio.h/conform): Likewise.
2113 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2114 (test-xfail-XPG3/string.h/conform): Likewise.
2115 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2116 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2117 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2118 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2119 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2120 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2121 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2122 (test-xfail-XPG3/termios.h/conform): Likewise.
2123 (test-xfail-XPG3/time.h/conform): Likewise.
2124 (test-xfail-XPG3/unistd.h/conform): Likewise.
2125 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2126 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2127 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2128 (test-xfail-XPG4/netdb.h/conform): Likewise.
2129 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2130 (test-xfail-XPG4/signal.h/conform): Likewise.
2131 (test-xfail-XPG4/stdio.h/conform): Likewise.
2132 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2133 (test-xfail-XPG4/stropts.h/conform): Likewise.
2134 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2135 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2136 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2137 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2138 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2139 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2140 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2141 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2142 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2143 (test-xfail-XPG4/termios.h/conform): Likewise.
2144 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2145 (test-xfail-XPG4/unistd.h/conform): Likewise.
2146 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2147 (test-xfail-POSIX/sched.h/conform): Likewise.
2148 (test-xfail-POSIX/signal.h/conform): Likewise.
2149 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2150 (test-xfail-POSIX/tar.h/conform): Likewise.
2151 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2152 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2153 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2154 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2155 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2156 (test-xfail-UNIX98/sched.h/conform): Likewise.
2157 (test-xfail-UNIX98/signal.h/conform): Likewise.
2158 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2159 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2160 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2161 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2162 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2163 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2164 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2165 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2166 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2167 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2168 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2169 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2170 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2171 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2172 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2173 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2174 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2175 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2176 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2177 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2178 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2179 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2180 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2181 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2182 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2183 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2184 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2185 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2186 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2187 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2188 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2189 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2190 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2191 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2192 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2193 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2194 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2195 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2196 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2197 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2198 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2199 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2200 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2201 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2202 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2203 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2204 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2205 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2206 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2207 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2208 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2209 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2210 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2211 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2212 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2213 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2214 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2215 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2216 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2217 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2218 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2219 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2220 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2221 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2222 (conformtest-cc-flags): Likewise.
2223 ($(conformtest-header-tests): New target.
2224 * conform/check-header-lists.sh: New file.
2225 * conform/run-conformtest.sh: Remove.
2226
a00f522a
JM
2227 * conform/conformtest.pl: Allow ' and \ in values given for
2228 constants.
2229 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2230 inclusion.
2231 [POSIX] (sys/types.h): Likewise.
2232 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2233 inclusion.
2234 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2235 inclusion.
2236 * conform/data/signal.h-data (SIGIO): Remove expectation.
2237 [XPG3] (SIGBUS): Do not expect.
2238 [POSIX || XPG3] (SIGPOLL): Likewise.
2239 [POSIX || XPG3] (SIGPROF): Likewise.
2240 [POSIX || XPG3] (SIGSYS): Likewise.
2241 [XPG3] (SIGTRAP): Likewise.
2242 [POSIX || XPG3] (SIGURG): Likewise.
2243 [POSIX || XPG3] (SIGVTALRM): Likewise.
2244 [POSIX || XPG3] (SIGXCPU): Likewise.
2245 [POSIX || XPG3] (SIGXFSZ): Likewise.
2246 [POSIX] (SA_SIGINFO): Expect.
2247 [XPG3] (siginfo_t): Do not expect type or contents.
2248 [POSIX] (si_pid): Do not expect element.
2249 [POSIX] (si_uid): Likewise.
2250 [POSIX] (si_addr): Likewise.
2251 [POSIX] (si_status): Likewise.
2252 [POSIX] (si_band): Likewise.
2253 [XPG4] (si_value): Likewise.
2254 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2255 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2256 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2257 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2258 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2259 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2260 [POSIX || XPG3] (ILL_COPROC): Likewise.
2261 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2262 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2263 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2264 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2265 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2266 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2267 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2268 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2269 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2270 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2271 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2272 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2273 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2274 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2275 [POSIX || XPG3] (CLD_EXITED): Likewise.
2276 [POSIX || XPG3] (CLD_KILLED): Likewise.
2277 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2278 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2279 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2280 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2281 [POSIX || XPG3] (POLL_IN): Likewise.
2282 [POSIX || XPG3] (POLL_OUT): Likewise.
2283 [POSIX || XPG3] (POLL_MSG): Likewise.
2284 [POSIX || XPG3] (POLL_ERR): Likewise.
2285 [POSIX || XPG3] (POLL_PRI): Likewise.
2286 [POSIX || XPG3] (POLL_HUP): Likewise.
2287 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2288 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2289 (SIG*): Do not allow.
2290 [XPG3] (si_*): Likewise.
2291 [XPG3] (SI_*): Likewise.
2292 [XPG3 || XPG4] (sigev_*): Likewise.
2293 [XPG3 || XPG4] (SIGEV_*): Likewise.
2294 [XPG3 || XPG4] (sival_*): Likewise.
2295 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2296 [POSIX || XPG3] (BUS_*): Likewise.
2297 [POSIX || XPG3] (CLD_*): Likewise.
2298 [POSIX || XPG3] (FPE_*): Likewise.
2299 [POSIX || XPG3] (ILL_*): Likewise.
2300 [POSIX || XPG3] (POLL_*): Likewise.
2301 [POSIX || XPG3] (SEGV_*): Likewise.
2302 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2303 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2304 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2305 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2306 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2307 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2308 Specify type and value.
2309 (TVERSLEN): Likewise.
2310 (REGTYPE): Likewise.
2311 (AREGTYPE): Likewise.
2312 (LNKTYPE): Likewise.
2313 (SYMTYPE): Likewise.
2314 (CHRTYPE): Likewise.
2315 (BLKTYPE): Likewise.
2316 (DIRTYPE): Likewise.
2317 (FIFOTYPE): Likewise.
2318 (CONTTYPE): Likewise.
2319 (TSUID): Likewise.
2320 (TSGID): Likewise.
2321 (TSVTX): Likewise.
2322 (TUREAD): Likewise.
2323 (TUWRITE): Likewise.
2324 (TUEXEC): Likewise.
2325 (TGREAD): Likewise.
2326 (TGWRITE): Likewise.
2327 (TGEXEC): Likewise.
2328 (TOREAD): Likewise.
2329 (TOWRITE): Likewise.
2330 (TOEXEC): Likewise.
2331 [POSIX] (TSVTX): Expect constant.
2332
aa97dee1
JM
23332014-03-06 Joseph Myers <joseph@codesourcery.com>
2334
f214606a
JM
2335 * Makefile (tests): Change dependencies to ....
2336 (tests-special): ... additions to this variable.
2337 (tests): Depend on $(tests-special).
2338 * Makerules (check-abi-list): New variable.
2339 (check-abi): Depend on $(check-abi-list).
2340 [$(subdir) = elf] (tests-special): Add
2341 $(objpfx)check-abi-libc.out.
2342 [$(build-shared) = yes && subdir] (tests-special): Add
2343 $(check-abi-list).
2344 [$(build-shared) = yes && subdir] (tests): Do not depend on
2345 check-abi.
2346 * Rules (tests): Depend on $(tests-special).
2347 (xtests): Depend on $(xtests-special).
2348 * catgets/Makefile (tests): Change dependencies to ....
2349 (tests-special): ... additions to this variable.
2350 * conform/Makefile (tests): Change dependencies to ....
2351 (tests-special): ... additions to this variable.
2352 * elf/Makefile (tests): Change dependencies to ....
2353 (tests-special): ... additions to this variable.
2354 * grp/Makefile (tests): Change dependencies to ....
2355 (tests-special): ... additions to this variable.
2356 * iconv/Makefile (xtests): Change dependencies to ....
2357 (xtests-special): ... additions to this variable.
2358 * iconvdata/Makefile (tests): Change dependencies to ....
2359 (tests-special): ... additions to this variable.
2360 * intl/Makefile (tests): Change dependencies to ....
2361 (tests-special): ... additions to this variable. Also add
2362 $(objpfx)tst-gettext.out.
2363 * io/Makefile (tests): Change dependencies to ....
2364 (tests-special): ... additions to this variable.
2365 * libio/Makefile (tests): Change dependencies to ....
2366 (tests-special): ... additions to this variable.
2367 * malloc/Makefile (tests): Change dependencies to ....
2368 (tests-special): ... additions to this variable.
2369 * misc/Makefile (tests): Change dependencies to ....
2370 (tests-special): ... additions to this variable.
2371 * nptl/Makefile (tests): Change dependencies to ....
2372 (tests-special): ... additions to this variable.
2373 * nptl_db/Makefile (tests): Change dependencies to ....
2374 (tests-special): ... additions to this variable.
2375 * posix/Makefile (tests): Change dependencies to ....
2376 (tests-special): ... additions to this variable.
2377 (xtests): Change dependencies to ....
2378 (xtests-special): ... additions to this variable.
2379 * resolv/Makefile (tests): Change dependencies to ....
2380 (tests-special): ... additions to this variable.
2381 (xtests): Change dependencies to ....
2382 (xtests-special): ... additions to this variable.
2383 * stdio-common/Makefile (tests): Change dependencies to ....
2384 (tests-special): ... additions to this variable.
2385 (do-tst-unbputc): Remove target.
2386 (do-tst-printf): Likewise.
2387 * stdlib/Makefile (tests): Change dependencies to ....
2388 (tests-special): ... additions to this variable.
2389 * string/Makefile (tests): Change dependencies to ....
2390 (tests-special): ... additions to this variable.
2391 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2392 (tests-special): ... additions to this variable.
2393
81700b53
JM
2394 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2395 whole file.
2396 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2397 whole file.
2398 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2399 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2400
2ea18461
JM
2401 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2402 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2403 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2404 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2405 * conform/data/libgen.h-data [XPG3]: Likewise.
2406 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2407 * conform/data/ndbm.h-data [XPG3]: Likewise.
2408 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2409 * conform/data/netdb.h-data [XPG3]: Likewise.
2410 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2411 * conform/data/poll.h-data [XPG3]: Likewise.
2412 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2413 * conform/data/strings.h-data [XPG3]: Likewise.
2414 * conform/data/stropts.h-data [XPG3]: Likewise.
2415 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2416 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2417 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2418 Likewise.
2419 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2420 * conform/data/sys/time.h-data [XPG3]: Likewise.
2421 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2422 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2423 * conform/data/sys/un.h-data [XPG3]: Likewise.
2424 * conform/data/syslog.h-data [XPG3]: Likewise.
2425 * conform/data/ucontext.h-data [XPG3]: Likewise.
2426 * conform/data/utmpx.h-data [XPG3]: Likewise.
2427 * conform/data/varargs.h-data [UNIX98]: Enable file.
2428
355bc986
JM
2429 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2430
215db402
JM
2431 * math/libm-test.inc (struct test_f_f_data): Move expected results
2432 into structure for each rounding mode.
2433 (struct test_ff_f_data): Likewise.
2434 (struct test_ff_f_data_nexttoward): Likewise.
2435 (struct test_fi_f_data): Likewise.
2436 (struct test_fl_f_data): Likewise.
2437 (struct test_if_f_data): Likewise.
2438 (struct test_fff_f_data): Likewise.
2439 (struct test_c_f_data): Likewise.
2440 (struct test_f_f1_data): Likewise.
2441 (struct test_fF_f1_data): Likewise.
2442 (struct test_ffI_f1_data): Likewise.
2443 (struct test_c_c_data): Likewise.
2444 (struct test_cc_c_data): Likewise.
2445 (struct test_f_i_data): Likewise.
2446 (struct test_ff_i_data): Likewise.
2447 (struct test_f_l_data): Likewise.
2448 (struct test_f_L_data): Likewise.
2449 (struct test_fFF_11_data): Likewise.
2450 (RM_): New macro.
2451 (RM_FE_DOWNWARD): Likewise.
2452 (RM_FE_TONEAREST): Likewise.
2453 (RM_FE_TOWARDZERO): Likewise.
2454 (RM_FE_UPWARD): Likewise.
2455 (RUN_TEST_LOOP_f_f): Update references to expected results.
2456 (RUN_TEST_LOOP_2_f): Likewise.
2457 (RUN_TEST_LOOP_fff_f): Likewise.
2458 (RUN_TEST_LOOP_c_f): Likewise.
2459 (RUN_TEST_LOOP_f_f1): Likewise.
2460 (RUN_TEST_LOOP_fF_f1): Likewise.
2461 (RUN_TEST_LOOP_fI_f1): Likewise.
2462 (RUN_TEST_LOOP_ffI_f1): Likewise.
2463 (RUN_TEST_LOOP_c_c): Likewise.
2464 (RUN_TEST_LOOP_cc_c): Likewise.
2465 (RUN_TEST_LOOP_f_i): Likewise.
2466 (RUN_TEST_LOOP_f_i_tg): Likewise.
2467 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2468 (RUN_TEST_LOOP_f_b): Likewise.
2469 (RUN_TEST_LOOP_f_b_tg): Likewise.
2470 (RUN_TEST_LOOP_f_l): Likewise.
2471 (RUN_TEST_LOOP_f_L): Likewise.
2472 (RUN_TEST_LOOP_fFF_11): Likewise.
2473 * math/gen-libm-test.pl (parse_args): Output four copies of
2474 expected results for each test.
2475
67737b8f
JM
2476 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2477 (__ASSUME_UTIMES): Remove.
2478 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2479 (__ASSUME_UTIMES): Likewise.
2480
aa97dee1
JM
2481 * math/gen-auto-libm-tests.c: Update comment on output format.
2482 (output_for_one_input_case): Generate before-rounding and
2483 after-rounding information as conditions on output flags not
2484 floating-point format.
2485 * math/auto-libm-test-out: Regenerated.
2486 * math/gen-libm-test.pl (cond_value): New function.
2487 (or_cond_value): Use cond_value.
2488 (generate_testfile): Handle conditional exceptions.
2489
e6b6a857
JM
24902014-03-05 Joseph Myers <joseph@codesourcery.com>
2491
2f0a0f44
JM
2492 * math/libm-test.inc (max_valid_error): New variable.
2493 (init_max_error): Take new argument specifying whether function
2494 results are exactly determined. Set max_valid_error and bound
2495 other variables for errors based on this argument.
2496 (set_max_error): Do not record results above max_valid_error.
2497 (check_float_internal): Only accept errors of up to 0.5ulps if
2498 also at most max_valid_error.
2499 (START): Take new argument EXACT and pass it to init_max_error.
2500 (acos_test): Update call to START.
2501 (acos_test_tonearest): Likewise.
2502 (acos_test_towardzero): Likewise.
2503 (acos_test_downward): Likewise.
2504 (acos_test_upward): Likewise.
2505 (acosh_test): Likewise.
2506 (asin_test): Likewise.
2507 (asin_test_tonearest): Likewise.
2508 (asin_test_towardzero): Likewise.
2509 (asin_test_downward): Likewise.
2510 (asin_test_upward): Likewise.
2511 (asinh_test): Likewise.
2512 (atan_test): Likewise.
2513 (atanh_test): Likewise.
2514 (atan2_test): Likewise.
2515 (cabs_test): Likewise.
2516 (cacos_test): Likewise.
2517 (cacosh_test): Likewise.
2518 (carg_test): Likewise.
2519 (casin_test): Likewise.
2520 (casinh_test): Likewise.
2521 (catan_test): Likewise.
2522 (catanh_test): Likewise.
2523 (cbrt_test): Likewise.
2524 (ccos_test): Likewise.
2525 (ccosh_test): Likewise.
2526 (ceil_test): Likewise.
2527 (cexp_test): Likewise.
2528 (cimag_test): Likewise.
2529 (clog_test): Likewise.
2530 (clog10_test): Likewise.
2531 (conj_test): Likewise.
2532 (copysign_test): Likewise.
2533 (cos_test): Likewise.
2534 (cos_test_tonearest): Likewise.
2535 (cos_test_towardzero): Likewise.
2536 (cos_test_downward): Likewise.
2537 (cos_test_upward): Likewise.
2538 (cosh_test): Likewise.
2539 (cosh_test_tonearest): Likewise.
2540 (cosh_test_towardzero): Likewise.
2541 (cosh_test_downward): Likewise.
2542 (cosh_test_upward): Likewise.
2543 (cpow_test): Likewise.
2544 (cproj_test): Likewise.
2545 (creal_test): Likewise.
2546 (csin_test): Likewise.
2547 (csinh_test): Likewise.
2548 (csqrt_test): Likewise.
2549 (ctan_test): Likewise.
2550 (ctan_test_tonearest): Likewise.
2551 (ctan_test_towardzero): Likewise.
2552 (ctan_test_downward): Likewise.
2553 (ctan_test_upward): Likewise.
2554 (ctanh_test): Likewise.
2555 (ctanh_test_tonearest): Likewise.
2556 (ctanh_test_towardzero): Likewise.
2557 (ctanh_test_downward): Likewise.
2558 (ctanh_test_upward): Likewise.
2559 (erf_test): Likewise.
2560 (erfc_test): Likewise.
2561 (exp_test): Likewise.
2562 (exp_test_tonearest): Likewise.
2563 (exp_test_towardzero): Likewise.
2564 (exp_test_downward): Likewise.
2565 (exp_test_upward): Likewise.
2566 (exp10_test): Likewise.
2567 (exp10_test_tonearest): Likewise.
2568 (exp10_test_towardzero): Likewise.
2569 (exp10_test_downward): Likewise.
2570 (exp10_test_upward): Likewise.
2571 (pow10_test): Likewise.
2572 (exp2_test): Likewise.
2573 (expm1_test): Likewise.
2574 (expm1_test_tonearest): Likewise.
2575 (expm1_test_towardzero): Likewise.
2576 (expm1_test_downward): Likewise.
2577 (expm1_test_upward): Likewise.
2578 (fabs_test): Likewise.
2579 (fdim_test): Likewise.
2580 (floor_test): Likewise.
2581 (fma_test): Likewise.
2582 (fma_test_towardzero): Likewise.
2583 (fma_test_downward): Likewise.
2584 (fma_test_upward): Likewise.
2585 (fmax_test): Likewise.
2586 (fmin_test): Likewise.
2587 (fmod_test): Likewise.
2588 (fpclassify_test): Likewise.
2589 (frexp_test): Likewise.
2590 (hypot_test): Likewise.
2591 (ilogb_test): Likewise.
2592 (isfinite_test): Likewise.
2593 (finite_test): Likewise.
2594 (isgreater_test): Likewise.
2595 (isgreaterequal_test): Likewise.
2596 (isinf_test): Likewise.
2597 (isless_test): Likewise.
2598 (islessequal_test): Likewise.
2599 (islessgreater_test): Likewise.
2600 (isnan_test): Likewise.
2601 (isnormal_test): Likewise.
2602 (issignaling_test): Likewise.
2603 (isunordered_test): Likewise.
2604 (j0_test): Likewise.
2605 (j1_test): Likewise.
2606 (jn_test): Likewise.
2607 (ldexp_test): Likewise.
2608 (lgamma_test): Likewise.
2609 (gamma_test): Likewise.
2610 (lrint_test): Likewise.
2611 (lrint_test_tonearest): Likewise.
2612 (lrint_test_towardzero): Likewise.
2613 (lrint_test_downward): Likewise.
2614 (lrint_test_upward): Likewise.
2615 (llrint_test): Likewise.
2616 (llrint_test_tonearest): Likewise.
2617 (llrint_test_towardzero): Likewise.
2618 (llrint_test_downward): Likewise.
2619 (llrint_test_upward): Likewise.
2620 (log_test): Likewise.
2621 (log10_test): Likewise.
2622 (log1p_test): Likewise.
2623 (log2_test): Likewise.
2624 (logb_test): Likewise.
2625 (logb_test_downward): Likewise.
2626 (lround_test): Likewise.
2627 (llround_test): Likewise.
2628 (modf_test): Likewise.
2629 (nearbyint_test): Likewise.
2630 (nextafter_test): Likewise.
2631 (nexttoward_test): Likewise.
2632 (pow_test): Likewise.
2633 (pow_test_tonearest): Likewise.
2634 (pow_test_towardzero): Likewise.
2635 (pow_test_downward): Likewise.
2636 (pow_test_upward): Likewise.
2637 (remainder_test): Likewise.
2638 (drem_test): Likewise.
2639 (remainder_test_tonearest): Likewise.
2640 (drem_test_tonearest): Likewise.
2641 (remainder_test_towardzero): Likewise.
2642 (drem_test_towardzero): Likewise.
2643 (remainder_test_downward): Likewise.
2644 (drem_test_downward): Likewise.
2645 (remainder_test_upward): Likewise.
2646 (drem_test_upward): Likewise.
2647 (remquo_test): Likewise.
2648 (rint_test): Likewise.
2649 (rint_test_tonearest): Likewise.
2650 (rint_test_towardzero): Likewise.
2651 (rint_test_downward): Likewise.
2652 (rint_test_upward): Likewise.
2653 (round_test): Likewise.
2654 (scalb_test): Likewise.
2655 (scalbn_test): Likewise.
2656 (scalbln_test): Likewise.
2657 (signbit_test): Likewise.
2658 (sin_test): Likewise.
2659 (sin_test_tonearest): Likewise.
2660 (sin_test_towardzero): Likewise.
2661 (sin_test_downward): Likewise.
2662 (sin_test_upward): Likewise.
2663 (sincos_test): Likewise.
2664 (sinh_test): Likewise.
2665 (sinh_test_tonearest): Likewise.
2666 (sinh_test_towardzero): Likewise.
2667 (sinh_test_downward): Likewise.
2668 (sinh_test_upward): Likewise.
2669 (sqrt_test): Likewise.
2670 (sqrt_test_tonearest): Likewise.
2671 (sqrt_test_towardzero): Likewise.
2672 (sqrt_test_downward): Likewise.
2673 (sqrt_test_upward): Likewise.
2674 (tan_test): Likewise.
2675 (tan_test_tonearest): Likewise.
2676 (tan_test_towardzero): Likewise.
2677 (tan_test_downward): Likewise.
2678 (tan_test_upward): Likewise.
2679 (tanh_test): Likewise.
2680 (tgamma_test): Likewise.
2681 (trunc_test): Likewise.
2682 (y0_test): Likewise.
2683 (y1_test): Likewise.
2684 (yn_test): Likewise.
2685 (significand_test): Likewise.
2686
e6b6a857
JM
2687 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2688 individual tests in comment.
2689 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2690 (prev_max_error): New variable.
2691 (prev_real_max_error): Likewise.
2692 (prev_imag_max_error): Likewise.
2693 (compare_ulp_data): Don't refer to test names in comment.
2694 (find_test_ulps): Remove function.
2695 (find_function_ulps): Likewise.
2696 (find_complex_function_ulps): Likewise.
2697 (init_max_error): Take function name as argument. Look up ulps
2698 for that function.
2699 (print_ulps): Remove function.
2700 (print_max_error): Use prev_max_error instead of calling
2701 find_function_ulps.
2702 (print_complex_max_error): Use prev_real_max_error and
2703 prev_imag_max_error instead of calling find_complex_function_ulps.
2704 (check_float_internal): Take max_ulp parameter instead of calling
2705 find_test_ulps. Don't call print_ulps.
2706 (check_float): Update call to check_float_internal.
2707 (check_complex): Update calls to check_float_internal.
2708 (START): Pass argument to init_max_error.
2709 * math/gen-libm-test.pl (%results): Don't include "kind"
2710 information.
2711 (parse_ulps): Don't handle ulps of individual tests.
2712 (print_ulps_file): Likewise.
2713 (output_ulps): Likewise.
2714 * math/README.libm-test: Update.
2715 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2716 individual tests.
2717 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2718 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2719 * sysdeps/arm/libm-test-ulps: Likewise.
2720 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2721 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2722 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2723 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2724 * sysdeps/microblaze/libm-test-ulps: Likewise.
2725 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2726 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2727 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2728 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2729 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2730 * sysdeps/sh/libm-test-ulps: Likewise.
2731 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2732 * sysdeps/tile/libm-test-ulps: Likewise.
2733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2734
45adef3c
JM
27352014-03-04 Joseph Myers <joseph@codesourcery.com>
2736
2737 * math/libm-test.inc (print_complex_max_error): Check separately
2738 whether real and imaginary errors are within allowed range and
2739 pass 0 to print_complex_function_ulps instead of value within
2740 allowed range.
2741
000232b9
SP
27422014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2743
d4b17258
SP
2744 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2745 formatting.
2746 (get_handles_fopen): Likewise.
2747 (do_write_test): Likewise.
2748
091eff71
SP
2749 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2750
fa3cd248
SP
2751 * libio/fileops.c (do_ftell): Use cached offset when
2752 available.
2753 * libio/iofwide.c (do_ftell_wide): Likewise.
2754 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2755 _IO_file_attach.
2756 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2757
000232b9
SP
2758 [BZ #16532]
2759 * libio/libioP.h (get_file_offset): New function.
2760 * libio/fileops.c (get_file_offset): Likewise.
2761 (do_ftell): Likewise.
2762 (_IO_new_file_seekoff): Split out ftell logic.
2763 * libio/wfileops.c (do_ftell_wide): Likewise.
2764 (_IO_wfile_seekoff): Split out ftell logic.
2765 * libio/tst-ftell-active-handler.c: New test case.
2766 * libio/Makefile (tests): Add it.
2767
116f4d1a
RM
27682014-03-03 Roland McGrath <roland@hack.frob.com>
2769
2770 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2771 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2772
532a6035
SP
27732014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2774
2775 [BZ #16639]
2776 * nscd/connections.c (nscd_init): Call do_exit.
2777 (start_threads): Call do_exit and notify_parent.
2778 (begin_drop_privileges): Call do_exit.
2779 (finish_drop_privileges): Likewise.
2780 * nscd/selinux.c (preserve_capabilities): Likewise.
2781 (install_real_capabilities): Likewise.
2782 (nscd_selinux_enabled): Likewise.
2783 (avc_create_thread): Likewise.
2784 (avc_alloc_lock): Likewise.
2785 (nscd_avc_init): Likewise.
2786 * nscd/nscd.c (parent_fd): New static variable.
2787 (main): Create a pipe between parent and child processes.
2788 Skip closing parent_fd.
2789 (monitor_child): New function.
2790 (do_exit): Likewise.
2791 (notify_parent): Likewise.
2792 * nscd/nscd.h (notify_parent): Likewise.
2793 (do_exit): Likewise.
2794
d6285c9f
CD
27952014-03-03 Carlos O'Donell <carlos@redhat.com>
2796
2797 * malloc/malloc.c (__libc_calloc): Revert last change.
2798
2b85d2a0
AZ
27992014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2800
2801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2802
c7debbdf
RS
28032014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2804
2805 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2807 implementation.
2808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2809 (__libc_ifunc_impl_list): Likewise.
2810 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2811 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2812 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2813 * string/strrchr.c: Define STRRCHR.
2814
235eed86
OB
28152014-02-28 Ondřej Bílka <neleai@seznam.cz>
2816
2817 * benchtest/bench-strtok.c (simple_strtok): Delete.
2818 (strtok_string): Use as benchmark.
2819 * string/strtok (STRTOK): New macro.
2820
8e25d1e7
CD
28212014-02-28 Carlos O'Donell <carlos@redhat.com>
2822
ef563f92
CD
2823 * manual/threads.texi: Add header and standard comments to all
2824 functions.
2825
8e25d1e7
CD
2826 * elf/dl-lookup.c (check_match): New function.
2827 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2828 (do_lookup_x): Remove nested function check_match. Use non-nested
2829 function check_match.
2830
ff71cc37
RM
28312014-02-28 Roland McGrath <roland@hack.frob.com>
2832
f08e9a26
RM
2833 * csu/Makefile (generated, before-compile): Use += rather than =.
2834 * catgets/Makefile (generated, generated-dirs): Likewise.
2835 * debug/Makefile (generated): Likewise.
2836 * dlfcn/Makefile (generated): Likewise.
2837 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2838 * iconvdata/Makefile (before-compile, generated): Likewise.
2839 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2840 * libio/Makefile (generated): Likewise.
2841 * malloc/Makefile (generated): Likewise.
2842 * manual/Makefile (generated, generated-dirs): Likewise.
2843 * misc/Makefile (generated): Likewise.
2844 * posix/Makefile (generated): Likewise.
2845 * resolv/Makefile (generated): Likewise.
2846 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2847 * timezone/Makefile (generated, generated-dirs): Likewise.
2848
ff71cc37
RM
2849 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2850
fe13a20c
AZ
28512014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852
2853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2854 implementation.
2855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2856 POWER8 llround ifunc implementation.
2857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2858 POWER8 implementation.
2859 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2860 POWER8 llround implementation.
2861
1ad8950a
AZ
28622014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2863
2864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2865 implementation.
2866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2867 POWER8 llrint ifunc implementation.
2868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2869 POWER8 implementation.
2870 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2871 POWER8 llrint implementation.
2872
cac626d6
AZ
28732014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2874
2875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2876 implementation.
2877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2878 POWER8 finite ifunc implementation.
2879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2880 POWER8 implementation.
2881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2882 Likewise.
2883 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2884 POWER8 finite implementation.
2885 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2886
4393fc11
AZ
28872014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2888
2889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2890 implementation.
2891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2892 POWER8 isinf ifunc implementation.
2893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2894 POWER8 implementation.
2895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2896 Likewise.
2897 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2898 POWER8 isinf implementation.
2899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2900
487972ae
AZ
29012014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902
2903 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2904 Add hwcap2 initialization.
2905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2906 implementation.
2907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2908 POWER8 isnan ifunc implementation.
2909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2910 POWER8 implementation.
2911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2912 Likewise.
2913 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2914 POWER8 isnan implementation.
2915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2916
7d92b787
JY
29172014-02-27 Joey Ye <joey.ye@arm.com>
2918
2919 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2920 (_FP_NANFRAC_Q): Set to zero.
2921
1cadc858
SP
29222014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2923
2924 [BZ #16623]
2925 * math/auto-libm-test-in: New test inputs.
2926 * math/auto-libm-test-out: Regenerate.
2927 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2928 and DA.
2929 (__cos): Likewise.
2930 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2931
f8c17e79
JM
29322014-02-27 Joseph Myers <joseph@codesourcery.com>
2933
2934 * scripts/evaluate-test.sh: Take new argument indicating whether
2935 failure is expected.
2936 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2937 indicating whether failure is expected.
2938 * conform/Makefile (test-xfail-run-conformtest): New variable.
2939 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2940 level.
2941 * posix/Makefile (test-xfail-annexc): New variable.
2942 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2943
a5f891ac
JM
29442014-02-26 Joseph Myers <joseph@codesourcery.com>
2945
2946 * argp/Makefile: Include Makeconfig immediately after defining
2947 subdir.
2948 * assert/Makefile: Likewise.
2949 * benchtests/Makefile: Likewise.
2950 * catgets/Makefile: Likewise.
2951 * conform/Makefile: Likewise.
2952 * crypt/Makefile: Likewise.
2953 * csu/Makefile: Likewise.
2954 (all): Remove target.
2955 * ctype/Makefile: Include Makeconfig immediately after defining
2956 subdir.
2957 * debug/Makefile: Likewise.
2958 * dirent/Makefile: Likewise.
2959 * dlfcn/Makefile: Likewise.
2960 * gmon/Makefile: Likewise.
2961 * gnulib/Makefile: Likewise.
2962 * grp/Makefile: Likewise.
2963 * gshadow/Makefile: Likewise.
2964 * hesiod/Makefile: Likewise.
2965 * hurd/Makefile: Likewise.
2966 (all): Remove target.
2967 * iconvdata/Makefile: Include Makeconfig immediately after
2968 defining subdir.
2969 * inet/Makefile: Likewise.
2970 * intl/Makefile: Likewise.
2971 * io/Makefile: Likewise.
2972 * libio/Makefile: Likewise.
2973 (all): Remove target.
2974 * locale/Makefile: Include Makeconfig immediately after defining
2975 subdir.
2976 * login/Makefile: Likewise.
2977 * mach/Makefile: Likewise.
2978 (all): Remove target.
2979 * malloc/Makefile: Include Makeconfig immediately after defining
2980 subdir.
2981 (all): Remove target.
2982 * manual/Makefile: Include Makeconfig immediately after defining
2983 subdir.
2984 * math/Makefile: Likewise.
2985 * misc/Makefile: Likewise.
2986 * nis/Makefile: Likewise.
2987 * nss/Makefile: Likewise.
2988 * po/Makefile: Likewise.
2989 (all): Remove target.
2990 * posix/Makefile: Include Makeconfig immediately after defining
2991 subdir.
2992 * pwd/Makefile: Likewise.
2993 * resolv/Makefile: Likewise.
2994 * resource/Makefile: Likewise.
2995 * rt/Makefile: Likewise.
2996 * setjmp/Makefile: Likewise.
2997 * shadow/Makefile: Likewise.
2998 * signal/Makefile: Likewise.
2999 * socket/Makefile: Likewise.
3000 * soft-fp/Makefile: Likewise.
3001 * stdio-common/Makefile: Likewise.
3002 * stdlib/Makefile: Likewise.
3003 * streams/Makefile: Likewise.
3004 * string/Makefile: Likewise.
3005 * sunrpc/Makefile: Likewise.
3006 (all): Remove target.
3007 * sysvipc/Makefile: Include Makeconfig immediately after defining
3008 subdir.
3009 * termios/Makefile: Likewise.
3010 * time/Makefile: Likewise.
3011 * timezone/Makefile: Likewise.
3012 (all): Remove target.
3013 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3014 subdir.
3015 * wctype/Makefile: Likewise.
3016
5b456e9d
SE
30172014-02-26 Steve Ellcey <sellcey@mips.com>
3018
3019 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3020 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3021 (libc_feholdexcept_setround_mips): Ditto.
3022 (libc_feholdsetround): New.
3023 (libc_feholdsetroundf): New.
3024 (libc_feholdsetroundl): New.
3025 (libc_feupdateenv_test_mips): New.
3026 (libc_feupdateenv_test): New.
3027 (libc_feupdateenv_testf): New.
3028 (libc_feupdateenv_testl): New.
3029 (libc_feresetround): New.
3030 (libc_feresetroundf): New.
3031 (libc_feresetroundl): New.
3032 (libc_fetestexcept_mips): New.
3033 (libc_fetestexcept): New.
3034 (libc_fetestexceptf): New.
3035 (libc_fetestexceptl): New.
3036 (HAVE_RM_CTX): New.
3037 (libc_feholdexcept_setround_mips_ctx): New.
3038 (libc_feholdexcept_setround_ctx): New.
3039 (libc_feholdexcept_setroundf_ctx): New.
3040 (libc_feholdexcept_setroundl_ctx): New.
3041 (libc_fesetenv_mips_ctx): New.
3042 (libc_fesetenv_ctx): New.
3043 (libc_fesetenv_ctxf): New.
3044 (libc_fesetenv_ctxl): New.
3045 (libc_feupdateenv_mips_ctx): New.
3046 (libc_feupdateenv_ctx): New.
3047 (libc_feupdateenvf_ctx): New.
3048 (libc_feupdateenvl_ctx): New.
3049 (libc_feholdsetround_mips_ctx): New.
3050 (libc_feholdsetround_ctx): New.
3051 (libc_feholdsetroundf_ctx): New.
3052 (libc_feholdsetroundl_ctx): New.
3053 (libc_feresetround_mips_ctx): New.
3054 (libc_feresetround_ctx): New.
3055 (libc_feresetroundf_ctx): New.
3056 (libc_feresetroundl_ctx): New.
3057
085d0e35
CD
30582014-02-26 Carlos O'Donell <carlos@redhat.com>
3059
f067bf1f
CD
3060 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3061
085d0e35
CD
3062 * manual/ipc.texi: New file.
3063 * manual/Makefile (chapters): Add ipc.
3064 * manual/job.texi: Add "Inter-Process Communication" to next.
3065 * manual/process.texi: Add "Inter-Process Communication" to prev.
3066
86e58c08
AZ
30672014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3068
3069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3070
4248f0da
OB
30712014-02-26 Ondřej Bílka <neleai@seznam.cz>
3072
3073 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3074
cf822e3c
OB
3075 * manual/arith.texi: Fix spaces after sentences.
3076 * manual/charset.texi: Likewise.
3077 * manual/errno.texi: Likewise.
3078 * manual/install.texi: Likewise.
3079 * manual/llio.texi: Likewise.
3080 * manual/locale.texi: Likewise.
3081 * manual/maint.texi: Likewise.
3082 * manual/math.texi: Likewise.
3083 * manual/memory.texi: Likewise.
3084 * manual/message.texi: Likewise.
3085 * manual/probes.texi: Likewise.
3086 * manual/resource.texi: Likewise.
3087 * manual/signal.texi: Likewise.
3088 * manual/socket.texi: Likewise.
3089 * manual/stdio.texi: Likewise.
3090 * manual/string.texi: Likewise.
3091 * manual/time.texi: Likewise.
3092 * manual/users.texi: Likewise.
3093
ade40b10
CD
30942014-02-25 Carlos O'Donell <carlos@redhat.com>
3095
3096 [BZ #16632]
3097 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3098 _DEFAULT_SOURCE is defined.
3099
d0503676
CD
31002014-02-25 Ulrich Drepper <drepper@gmail.com>
3101 Carlos O'Donell <carlos@redhat.com>
3102
3103 [BZ #16613]
3104 * elf/dl-tls.c (_dl_count_modids): New function.
3105 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3106 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3107 audit library and increment generation counter.
3108 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3109 * elf/tst-audit9.c: New file.
3110 * elf/tst-auditmod9a.c: New file.
3111 * elf/tst-auditmod9b.c: New file.
3112 * elf/Makefile: Add rules to build and run tst-audit9.
3113
4cbf380c
FW
31142014-02-25 Florian Weimer <fweimer@redhat.com>
3115
3116 [BZ #15347]
3117 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3118
80a56cc3
WN
31192014-02-25 Will Newton <will.newton@linaro.org>
3120
3121 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3122 (__longjmp): Restore sp and lr before restoring callee
3123 saved registers. Add longjmp and longjmp_target
3124 SystemTap probe point.
3125 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3126 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3127 Define to zero to match jmpbuf layout.
3128 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3129 (__sigsetjmp): Save sp and lr before saving callee
3130 saved registers. Add setjmp SystemTap probe point.
3131
3ea0f74e
SL
31322014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3133
3134 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3135
b04acb26
AS
31362014-02-24 Andreas Schwab <schwab@suse.de>
3137
3138 [BZ #15804]
3139 * elf/pldd.c (wait_for_ptrace_stop): New function.
3140 (main): Call it after attaching.
3141
098ad55c
RM
31422014-02-22 Roland McGrath <roland@hack.frob.com>
3143
d4ec6ae1
RM
3144 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3145 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3146 Versions files is now verboten.
3147 * hurd/Versions (libc: GLIBC_2.0):
3148 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3149 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3150 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3151 * mach/Versions: Likewise.
3152
098ad55c
RM
3153 * csu/Versions: Remove unused %include.
3154 * resolv/Versions: Likewise.
3155
acd7f096
JM
31562014-02-21 Joseph Myers <joseph@codesourcery.com>
3157
f0881698
JM
3158 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3159 ($(objpfx)check-local-headers.out): Likewise.
3160 ($(objpfx)begin-end-check.out): Likewise.
3161 * Makerules (check-abi-%.out): Likewise.
3162 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3163 ($(objpfx)test2.cat): Likewise.
3164 ($(objpfx)de/libc.cat): Likewise.
3165 ($(objpfx)test-gencat.out): Likewise.
3166 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3167 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3168 ($(objpfx)noload-mem): Likewise.
3169 ($(objpfx)tst-pathopt.out): Likewise.
3170 ($(objpfx)tst-rtld-load-self.out): Likewise.
3171 ($(objpfx)tst-array1-cmp.out): Likewise.
3172 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3173 ($(objpfx)tst-array2-cmp.out): Likewise.
3174 ($(objpfx)tst-array3-cmp.out): Likewise.
3175 ($(objpfx)tst-array4-cmp.out): Likewise.
3176 ($(objpfx)tst-array5-cmp.out): Likewise.
3177 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3178 ($(objpfx)check-textrel.out): Likewise.
3179 ($(objpfx)check-execstack.out): Likewise.
3180 ($(objpfx)check-localplt.out): Likewise.
3181 ($(objpfx)order2-cmp.out): Likewise.
3182 ($(objpfx)tst-leaks1-mem): Likewise.
3183 ($(objpfx)tst-leaks1-static-mem): Likewise.
3184 ($(objpfx)tst-initorder-cmp.out): Likewise.
3185 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3186 ($(objpfx)tst-unused-dep.out): Likewise.
3187 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3188 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3189 * iconv/Makefile (test-iconvconfig): Likewise.
3190 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3191 ($(objpfx)iconv-test.out): Likewise.
3192 ($(objpfx)tst-tables.out): Likewise.
3193 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3194 ($(objpfx)tst-gettext.out): Likewise.
3195 ($(objpfx)tst-translit.out): Likewise.
3196 ($(objpfx)tst-gettext2.out): Likewise.
3197 ($(objpfx)tst-gettext4.out): Likewise.
3198 ($(objpfx)tst-gettext6.out): Likewise.
3199 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3200 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3201 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3202 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3204 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3205 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3206 ($(objpfx)wordexp-tst.out): Likewise.
3207 ($(objpfx)annexc.out): Likewise.
3208 ($(objpfx)tst-fnmatch-mem): Likewise.
3209 ($(objpfx)bug-regex2-mem): Likewise.
3210 ($(objpfx)bug-regex14-mem): Likewise.
3211 ($(objpfx)bug-regex21-mem): Likewise.
3212 ($(objpfx)bug-regex31-mem): Likewise.
3213 ($(objpfx)tst-vfork3-mem): Likewise.
3214 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3215 ($(objpfx)tst-pcre-mem): Likewise.
3216 ($(objpfx)tst-boost-mem): Likewise.
3217 ($(objpfx)tst-getconf.out): Likewise.
3218 ($(objpfx)bug-ga2-mem): Likewise.
3219 ($(objpfx)bug-glob2-mem): Likewise.
3220 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3221 ($(objpfx)mtrace-tst-leaks2): Likewise.
3222 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3223 ($(objpfx)tst-printf.out): Likewise.
3224 ($(objpfx)tst-setvbuf1.out): Likewise.
3225 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3226 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3227 ($(objpfx)tst-fmtmsg.out): Likewise.
3228 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3229 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3230
acd7f096
JM
3231 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3232 * bits/sigaction.h [__USE_MISC]: Likewise.
3233 * bits/waitstatus.h: Update #endif comments.
3234 * ctype/ctype.h: Likewise.
3235 * dirent/dirent.h: Likewise.
3236 [__USE_MISC]: Remove redundant conditionals.
3237 * grp/grp.h: Update #endif comments.
3238 [__USE_GNU]: Remove redundant conditionals.
3239 [__USE_MISC]: Likewise.
3240 * inet/netinet/in.h [__USE_GNU]: Likewise.
3241 * io/sys/stat.h [__USE_MISC]: Likewise.
3242 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3243 * libio/bits/stdio.h: Update #endif comments.
3244 [__USE_MISC]: Remove redundant conditionals.
3245 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3246 * libio/stdio.h: Update #endif comments.
3247 [__USE_MISC]: Remove redundant conditionals.
3248 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3249 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3250 * math/math.h: Update #else and #endif comments.
3251 [__USE_MISC]: Remove redundant conditionals.
3252 * misc/sys/uio.h: Update #endif comments.
3253 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3254 * posix/glob.h [__USE_MISC]: Likewise.
3255 * posix/sys/types.h: Update #endif comments.
3256 [__USE_MISC]: Remove redundant conditionals.
3257 * posix/sys/wait.h: Update #endif comments.
3258 [__USE_MISC]: Remove redundant conditionals.
3259 * posix/unistd.h: Update #endif comments.
3260 [__USE_MISC]: Remove redundant conditionals.
3261 * pwd/pwd.h [__USE_GNU]: Likewise.
3262 [__USE_MISC]: Likewise.
3263 * resolv/netdb.h [__USE_GNU]: Likewise.
3264 * signal/signal.h: Update #endif comments.
3265 [__USE_MISC]: Remove redundant conditionals.
3266 * stdlib/stdlib.h: Update #else and #endif comments.
3267 [__USE_MISC]: Remove redundant conditionals.
3268 [__USE_GNU]: Likewise.
3269 * string/bits/string2.h [__USE_MISC]: Likewise.
3270 * string/string.h: Update #endif comments.
3271 [__USE_MISC]: Remove redundant conditionals.
3272 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3273 Likewise.
3274 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3275 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3276 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3277 Likewise.
3278 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3279 Likewise.
3280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3281 comments.
3282 [__USE_MISC]: Remove redundant conditionals.
3283 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3284 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3285 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3286 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3287 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3288 Likewise.
3289 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3290 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3291 Likewise.
3292 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3293 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3294 Likewise.
3295 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3298 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3299 Likewise.
3300 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3301 Likewise.
3302 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3303 * sysdeps/x86/bits/string.h: Update #endif comments.
3304 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3305 conditionals.
3306 * time/sys/time.h: Update #endif comments.
3307 * time/time.h: Likewise.
3308 [__USE_MISC]: Remove redundant conditionals.
3309
a5d82e4e
YG
33102014-02-21 Yury Gribov <y.gribov@samsung.com>
3311
3312 [BZ #16600]
3313 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3314
9a80491d
AS
33152014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3316
3317 * Versions.def (librt): Add GLIBC_2.17.
3318
105fa381
AC
33192014-02-21 Adam Conrad <adconrad@0c3.net>
3320
3321 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3322 synonym for _SYS_AUXV_H to allow direct inclusion.
3323 * sysdeps/sparc/bits/hwcap.h: Likewise.
3324 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3325 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3326 * sysdeps/sparc/sysdep.h: Likewise.
3327
b8cd1c4e
SP
33282014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3329
3330 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3331
bd939d23
RS
33322014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3333
3334 * benchtests/bench-strrchr.c: Print length instead of position.
3335
5d7b57ca
JM
33362014-02-20 Joseph Myers <joseph@codesourcery.com>
3337
bc688c10
JM
3338 [BZ #16611]
3339 * sysdeps/unix/sysv/linux/kernel-features.h
3340 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3341 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3342 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3343 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3344 Likewise.
3345 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3346 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3347 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3348 (__ASSUME_SENDMMSG): Define instead of using previous
3349 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3350 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3351 (__ASSUME_SENDMMSG_SYSCALL): Define.
3352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3353 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3354 Likewise.
3355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3356 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3357 Likewise.
3358 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3359 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3360 Likewise.
3361 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3362 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3363 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3364 [__ASSUME_SENDMMSG]: Change conditionals to
3365 [__ASSUME_SENDMMSG_SOCKETCALL].
3366 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3367 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3368 Define.
3369 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3370 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3371 Likewise.
3372 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3373 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3374 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3375 [!__ASSUME_SENDMMSG]: Change conditional to
3376 [!__ASSUME_SENDMMSG_SOCKETCALL].
3377 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3378 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3379 Define.
3380
0e31b18c
JM
3381 [BZ #16610]
3382 * sysdeps/unix/sysv/linux/kernel-features.h
3383 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3384 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3385 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3386 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3387 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3388 [__i386__ || __sparc__]
3389 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3390 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3391 (__ASSUME_RECVMMSG): Define instead of using previous
3392 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3393 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3394 (__ASSUME_RECVMMSG_SYSCALL): Define.
3395 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3397 Likewise.
3398 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3399 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3400 Likewise.
3401 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3402 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3403 Likewise.
3404 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3405 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3406 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3407 [__ASSUME_RECVMMSG]: Change condition to
3408 [__ASSUME_RECVMMSG_SOCKETCALL].
3409 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3410 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3411 Define.
3412 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3413 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3414 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3415 Likewise.
3416 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3417 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3418 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3419 [!__ASSUME_RECVMMSG]: Change condition to
3420 [!__ASSUME_RECVMMSG_SOCKETCALL].
3421 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3422 (__ASSUME_RECVMMSG_SYSCALL): Define.
3423
dd481ccf
JM
3424 [BZ #16609]
3425 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3426 __powerpc__ || __s390__ || __sh__ || __sparc__]
3427 (__ASSUME_SOCKETCALL): Define.
3428 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3429 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3430 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3431 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3432 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3433 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3434 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3435 (__ASSUME_ACCEPT4): Define instead of using previous
3436 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3437 __powerpc__ || __sparc__ || __s390__)] condition.
3438 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3439 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3440 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3441 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3442 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3443 [!__ASSUME_ACCEPT4]: Change condition to
3444 [!__ASSUME_ACCEPT4_SOCKETCALL].
3445 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3446 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3447 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3448 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3449 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3450 __ASSUME_ACCEPT4_SYSCALL.
3451 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3452 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3453 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3454 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3455 __ASSUME_ACCEPT4_SYSCALL.
3456 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3457 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3458 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3459 [__ASSUME_ACCEPT4]: Change condition to
3460 [__ASSUME_ACCEPT4_SOCKETCALL].
3461 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3462 (__ASSUME_SOCKETCALL): Define.
3463 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3464 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3465 (__ASSUME_SOCKETCALL): Define.
3466 (__ASSUME_ACCEPT4): Remove.
3467 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3468 Define.
3469 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3470 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3471 Likewise.
3472 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3473 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3474
5d7b57ca
JM
3475 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3476 macro.
3477 (HWCAP_ARM_LPAE): Likewise.
3478 (HWCAP_ARM_EVTSTRM): Likewise.
3479 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3480 Add vpfd32, lpae and evtstrm.
3481 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3482 Increase to 22.
3483
63689d61
JM
34842014-02-19 Joseph Myers <joseph@codesourcery.com>
3485
3486 * math/auto-libm-test-in: Add tests of clog10.
3487 * math/auto-libm-test-out: Regenerated.
3488 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3489 * sysdeps/i386/fpu/libm-test-ulps: Update.
3490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3491
ab09bf61
AS
34922014-02-18 Andreas Schwab <schwab@suse.de>
3493
3494 [BZ #16574]
3495 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3496 Store non-zero if the second buffer was newly allocated.
3497 (send_dg): Likewise.
3498 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3499 to send_vc and send_dg.
3500 (res_nsend): Pass NULL for ansp2_malloced.
3501 * resolv/res_query.c (__libc_res_nquery): Add parameter
3502 answerp2_malloced and pass it down to __libc_res_nsend.
3503 (res_nquery): Pass additional NULL to __libc_res_nquery.
3504 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3505 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3506 second answer buffer if answerp2_malloced was set.
3507 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3508 (__libc_res_nquerydomain): Add parameter
3509 answerp2_malloced and pass it down to __libc_res_nquery.
3510 (res_nquerydomain): Pass additional NULL to
3511 __libc_res_nquerydomain.
3512 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3513 additional NULL to __libc_res_nsend and __libc_res_nquery.
3514 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3515 additional NULL to __libc_res_nsearch.
3516 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3517 parameter of __libc_res_nsearch to check for separately allocated
3518 second buffer.
3519 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3520 __libc_res_nquery.
3521 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3522 additional NULL to __libc_res_nquery.
3523 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3524 __libc_res_nsearch.
3525 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3526 * include/resolv.h: Update prototypes of __libc_res_nquery,
3527 __libc_res_nsearch, __libc_res_nsend.
3528
a4fb7861
JM
35292014-02-18 Joseph Myers <joseph@codesourcery.com>
3530
c6af2d89
JM
3531 * math/auto-libm-test-in: Add tests of fma.
3532 * math/auto-libm-test-out: Regenerated.
3533 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3534 (fma_towardzero_test_data): Likewise.
3535 (fma_downward_test_data): Likewise.
3536 (fma_upward_test_data): Likewise.
3537 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3538 mpc_mode.
3539 (rounding_modes): Add values for new field.
3540 (func_calc_method): Add value mpfr_fff_f.
3541 (func_calc_desc): Add mpfr_fff_f union field.
3542 (test_function): Add field exact_args.
3543 (FUNC): Add macro argument EXACT_ARGS.
3544 (FUNC_mpfr_f_f): Update call to FUNC.
3545 (FUNC_mpfr_f_f): Likewise.
3546 (FUNC_mpfr_ff_f): Likewise.
3547 (FUNC_mpfr_if_f): Likewise.
3548 (FUNC_mpc_c_f): Likewise.
3549 (FUNC_mpc_c_c): Likewise.
3550 (test_functions): Add fma. Update calls to FUNC.
3551 (handle_input_arg): Add argument exact_args.
3552 (add_test): Update call to handle_input_arg.
3553 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3554 (output_for_one_input_case): Update call to calc_generic_results.
3555 Recalculate exact zero results in each rounding mode.
3556
a4fb7861
JM
3557 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3558 non-negative before setting low bit.
3559 * math/auto-libm-test-in: Mark one asin test possibly having
3560 spurious underflow.
3561 * math/auto-libm-test-out: Regenerated.
3562 * sysdeps/i386/fpu/libm-test-ulps: Update.
3563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3564
ef114eaf
DH
35652014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3566
2b7f4f2c
SP
3567 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3568 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3569 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3570 * README: Add missing listing for microblaze*-*-linux-gnu.
3571
c70a4b1d
MF
35722014-02-16 Mike Frysinger <vapier@gentoo.org>
3573
3574 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3575 * sysdeps/unix/sysv/linux/ia64: Move directory from
3576 ports/sysdeps/unix/sysv/linux/ia64.
3577 * README: Update listing for ia64-*-linux-gnu.
3578
591aeaf7
TD
35792014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3580 Joseph Myers <joseph@codesourcery.com>
3581
3582 * Makeconfig (test-name): New variable.
3583 (evaluate-test): Likewise.
3584 * Makerules (do-test-clean): Remove .test-result files.
3585 (common-mostlyclean): Likewise.
3586 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3587 * scripts/evaluate-test.sh: New file.
3588
6e89caf1
JM
35892014-02-14 Joseph Myers <joseph@codesourcery.com>
3590
7f98f180
JM
3591 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3592 separate $(objpfx)tst-fopenloc-cmp.out and
3593 $(objpfx)tst-fopenloc-mem.out targets.
3594 (tests): Update dependencies.
3595 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3596 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3597 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3598 (tst-rxspencer-no-utf8-ARGS): New variable.
3599 (tst-rxspencer-no-utf8-ENV): Likewise.
3600 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3601 instead of $(objpfx)tst-rxspencer-mem.
3602 ($(objpfx)tst-rxspencer-mem): Change target to
3603 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3604 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3605 * posix/tst-rxspencer-no-utf8.c: New file.
3606
6e89caf1
JM
3607 * elf/Makefile ($(objpfx)order.out): Remove rule.
3608 [$(run-built-tests) = yes] (tests): Depend on
3609 $(objpfx)order-cmp.out.
3610 ($(objpfx)order-cmp.out): New rule.
3611 [$(run-built-tests) = yes] (tests): Depend on
3612 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3613 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3614 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3615 $(objpfx)tst-array5-static-cmp.out.
3616 ($(objpfx)tst-array1.out): Remove rule.
3617 ($(objpfx)tst-array1-cmp.out): New rule.
3618 ($(objpfx)tst-array1-static.out): Remove rule.
3619 ($(objpfx)tst-array1-static-cmp.out): New rule.
3620 ($(objpfx)tst-array2.out): Remove rule.
3621 ($(objpfx)tst-array2-cmp.out): New rule.
3622 ($(objpfx)tst-array3.out): Remove rule.
3623 ($(objpfx)tst-array3-cmp.out): New rule.
3624 ($(objpfx)tst-array4.out): Remove rule.
3625 ($(objpfx)tst-array4-cmp.out): New rule.
3626 ($(objpfx)tst-array5.out): Remove rule.
3627 ($(objpfx)tst-array5-cmp.out): New rule.
3628 ($(objpfx)tst-array5-static.out): Remove rule.
3629 ($(objpfx)tst-array5-static-cmp.out): New rule.
3630 [$(run-built-tests) = yes] (tests): Depend on
3631 $(objpfx)order2-cmp.out.
3632 ($(objpfx)order2.out): Remove rule.
3633 ($(objpfx)order2-cmp.out): New rule.
3634 ($(objpfx)tst-initorder.out): Remove rule.
3635 [$(run-built-tests) = yes] (tests): Depend on
3636 $(objpfx)tst-initorder-cmp.out.
3637 ($(objpfx)tst-initorder-cmp.out): New rule.
3638 ($(objpfx)tst-initorder2.out): Remove rule.
3639 [$(run-built-tests) = yes] (tests): Depend on
3640 $(objpfx)tst-initorder2-cmp.out.
3641 ($(objpfx)tst-initorder2-cmp.out): New rule.
3642 [$(run-built-tests) = yes] (tests): Depend on
3643 $(objpfx)tst-unused-dep-cmp.out.
3644 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3645 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3646 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3647 on $(objpfx)tst-setvbuf1-cmp.out.
3648 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3649 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3650 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3651 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3652 ($(objpfx)tst-svc.out): Remove rule.
3653 ($(objpfx)tst-svc-cmp.out): New rule.
3654
ed9a38e2
JM
36552014-02-13 Joseph Myers <joseph@codesourcery.com>
3656
3657 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3658 * ctype/ctype.h [__USE_MISC]: Likewise.
3659 * dirent/dirent.h [__USE_MISC]: Likewise.
3660 * grp/grp.h [__USE_MISC]: Likewise.
3661 * io/fcntl.h [__USE_MISC]: Likewise.
3662 * io/sys/stat.h [__USE_MISC]: Likewise.
3663 * libio/stdio.h [__USE_MISC]: Likewise.
3664 * posix/unistd.h [__USE_MISC]: Likewise.
3665 * pwd/pwd.h [__USE_MISC]: Likewise.
3666 * stdlib.h [__USE_MISC]: Likewise.
3667 * string/bits/string2.h [__USE_MISC]: Likewise.
3668 * string/string.h [__USE_MISC]: Likewise.
3669 * time/time.h [__USE_MISC]: Likewise.
3670
d6680619
AS
36712014-02-13 Andreas Schwab <schwab@suse.de>
3672
3673 [BZ #16574]
3674 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3675 second answer buffer if it was separately allocated.
3676
ace614b8
JM
36772014-02-12 Joseph Myers <joseph@codesourcery.com>
3678
743151ae
JM
3679 * sysdeps/mips/math-tests.h: Include <features.h>.
3680 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3681 (ROUNDING_TESTS_long_double): Do not define.
3682 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3683 (EXCEPTION_TESTS_long_double): Likewise.
3684 * sysdeps/mips/mips64/libm-test-ulps: Update.
3685
498afc54
JM
3686 * include/features.h (__USE_BSD): Remove macro definitions.
3687 (__USE_SVID): Likewise.
3688 (_BSD_SOURCE): Likewise.
3689 (_SVID_SOURCE): Likewise.
3690 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3691 from definition of _DEFAULT_SOURCE.
3692 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3693 [_DEFAULT_SOURCE].
3694 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3695 * bits/mman.h [__USE_BSD]: Likewise.
3696 * bits/termios.h [__USE_BSD]: Likewise.
3697 * bits/waitstatus.h [__USE_BSD]: Likewise.
3698 * ctype/ctype.h [__USE_SVID]: Likewise.
3699 * dirent/dirent.h [__USE_BSD]: Likewise.
3700 * grp/grp.h [__USE_SVID]: Likewise.
3701 [__USE_BSD]: Likewise.
3702 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3703 * io/fcntl.h [__USE_BSD]: Likewise.
3704 * io/ftw.h [__USE_BSD]: Likewise.
3705 * io/sys/stat.h [__USE_BSD]: Likewise.
3706 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3707 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3708 * libio/stdio.h [__USE_SVID]: Likewise.
3709 [__USE_BSD]: Likewise.
3710 * math/math.h [__USE_SVID]: Likewise.
3711 [__USE_BSD]: Likewise.
3712 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3713 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3714 * misc/search.h [__USE_SVID]: Likewise.
3715 * misc/sys/mman.h [__USE_BSD]: Likewise.
3716 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3717 * misc/sys/uio.h [__USE_BSD]: Likewise.
3718 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3719 * posix/glob.h [__USE_BSD]: Likewise.
3720 * posix/regex.h [__USE_BSD]: Likewise.
3721 * posix/sys/types.h [__USE_BSD]: Likewise.
3722 [__USE_SVID]: Likewise.
3723 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3724 * posix/sys/wait.h [__USE_BSD]: Likewise.
3725 [__USE_SVID]: Likewise.
3726 * posix/unistd.h [__USE_BSD]: Likewise.
3727 [__USE_SVID]: Likewise.
3728 * pwd/pwd.h [__USE_SVID]: Likewise.
3729 * resolv/netdb.h [__USE_BSD]: Likewise.
3730 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3731 * signal/signal.h [__USE_BSD]: Likewise.
3732 [__USE_SVID]: Likewise.
3733 * socket/sys/socket.h [__USE_BSD]: Likewise.
3734 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3735 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3736 [__USE_SVID]: Likewise.
3737 * string/bits/string2.h [__USE_BSD]: Likewise.
3738 [__USE_SVID]: Likewise.
3739 * string/bits/string3.h [__USE_BSD]: Likewise.
3740 * string/endian.h [__USE_BSD]: Likewise.
3741 * string/string.h [__USE_SVID]: Likewise.
3742 [__USE_BSD]: Likewise.
3743 * string/strings.h [__USE_BSD]: Likewise.
3744 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3745 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3746 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3747 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3748 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3749 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3750 Likewise.
3751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3752 Likewise.
3753 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3754 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3755 Likewise.
3756 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3757 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3758 Likewise.
3759 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3760 Likewise.
3761 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3762 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3763 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3764 Likewise.
3765 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3766 Likewise.
3767 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3768 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3769 * termios/termios.h [__USE_BSD]: Likewise.
3770 * time/sys/time.h [__USE_BSD]: Likewise.
3771 * time/time.h [__USE_BSD]: Likewise.
3772 [__USE_SVID]: Likewise.
3773
dd7b064c
JM
3774 * Makefile (subdir_targets): Remove subdir_lint.out.
3775
a2c4c199
JM
3776 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3777 (do-tst-printf): Likewise.
3778 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3779 $(objpfx)tst-printf.out.
3780
8756f740
JM
3781 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3782
1b6dd3f1
JM
3783 * Makerules (check-abi-%): Change target to
3784 $(objpfx)check-abi-%.out.
3785 (check-abi target): Update dependencies.
3786 (check-abi-pattern variable): Redirect output of diff to $@.
3787 (check-abi variable): Likewise.
3788 * elf/Makefile (check-abi): Update dependencies.
3789
ace614b8
JM
3790 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3791 unused.
3792 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3793 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3794 subnormal range.
3795 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3796 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3797 value has largest subnormal exponent.
3798 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3799 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3800 * sysdeps/aarch64/soft-fp/sfp-machine.h
3801 (_FP_TININESS_AFTER_ROUNDING): New macro.
3802 * sysdeps/alpha/soft-fp/sfp-machine.h
3803 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3804 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3805 Likewise.
3806 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3807 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3808 * sysdeps/mips/soft-fp/sfp-machine.h
3809 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3810 * sysdeps/powerpc/soft-fp/sfp-machine.h
3811 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3812 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3813 Likewise.
3814 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3815 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3816 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3817 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3818 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3819 Likewise.
3820
fbfdf9cb
DAS
38212014-02-12 Dylan Alex Simon <dylan@dylex.net>
3822
3823 [BZ #16545]
3824 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3825 model 1.
3826
68b7efaa
RH
38272014-02-12 Richard Henderson <rth@redhat.com>
3828
c70a4b1d 3829 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3830 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3831 * sysdeps/unix/sysv/linux/alpha: Move directory from
3832 ports/sysdeps/unix/sysv/linux/alpha.
3833 * README: Update listing for alpha-*-linux-gnu.
3834
cb4a2928
JM
38352014-02-11 Joseph Myers <joseph@codesourcery.com>
3836
c941736c
JM
3837 * include/features.h: Update comment documenting feature test
3838 macros.
3839 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3840 _DEFAULT_SOURCE.
3841 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3842 (_SVID_SOURCE): Likewise.
3843 (_DEFAULT_SOURCE): Update description of default features.
3844 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3845 with _GNU_SOURCE.
3846 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3847 (S_ISVTX): Likewise.
3848 * manual/math.texi (Mathematical Constants): Likewise.
3849 * manual/signal.texi (Interrupted Primitives): Likewise.
3850 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3851 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3852 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3853 Don't refer to _SVID_SOURCE in warning text.
3854
e8d8d7ec
JM
3855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3856
cb4a2928
JM
3857 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3858 already defined.
3859 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3860 * sysdeps/mips/dl-lookup.c: Remove.
3861 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3862
7e6424e3
AK
38632014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3864
3865 [BZ #16447]
3866 * math/auto-libm-test-in: Add testcase for expl.
3867 * math/auto-libm-test-out: Regenerate.
3868 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3869 calculation of unsafe.
3870 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3871
75eff3fe
MS
38722014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3873
3874 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3875 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3876 ports/sysdeps/unix/sysv/linux/aarch64.
3877 * README: Update listing for aarch64*-*-linux-gnu.
3878
d35f1e80
WN
38792014-02-11 Will Newton <will.newton@linaro.org>
3880
3881 * manual/probes.texi (Mathematical Function Probes): Use
3882 "triggered" instead of "hit".
3883
7b3436d4
WN
38842014-02-11 Will Newton <will.newton@linaro.org>
3885
3886 * manual/probes.texi (Internal Probes): Add documentation
3887 of setjmp, longjmp and longjmp_target probes.
3888
b4f12ca3
WN
38892014-02-11 Will Newton <will.newton@linaro.org>
3890
3891 * include/stap-probe.h: Add comment about probe argument
3892 format.
3893
c13a72b7
WN
38942014-02-11 Will Newton <will.newton@linaro.org>
3895
3896 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3897 definition. (tr_where, tr_freehook, tr_mallochook,
3898 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3899
195b8165
DM
39002014-02-11 David S. Miller <davem@davemloft.net>
3901
3902 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3903 processing int_tests.
3904
2ad7600b
JM
39052014-02-10 Joseph Myers <joseph@codesourcery.com>
3906
3907 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3908 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3909 * sysdeps/unix/sysv/linux/mips: Move directory from
3910 ports/sysdeps/unix/sysv/linux/mips.
3911 * README: Update listing for mips-*-linux-gnu and
3912 mips64-*-linux-gnu.
3913
73588a72
AS
39142014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3915
3916 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3917 * sysdeps/unix/sysv/linux/m68k: Move directory from
3918 ports/sysdeps/unix/sysv/linux/m68k.
3919 * README: Update listing for m68k-*-linux-gnu.
3920
4372980f
CM
39212014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3922
3923 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3924 * sysdeps/unix/sysv/linux/generic: Move directory from
3925 ports/sysdeps/unix/sysv/linux/generic.
3926 * sysdeps/unix/sysv/linux/tile: Move directory from
3927 ports/sysdeps/unix/sysv/linux/tile.
3928 * README: Update listing for tile*-*-linux-gnu.
3929
a1ffb40e
OB
39302014-02-10 Ondřej Bílka <neleai@seznam.cz>
3931
3932 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3933 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3934 * catgets/open_catalog.c (__open_catalog): Likewise.
3935 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3936 * debug/confstr_chk.c: Likewise.
3937 * debug/fread_chk.c (__fread_chk): Likewise.
3938 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3939 * debug/getgroups_chk.c: Likewise.
3940 * debug/mbsnrtowcs_chk.c: Likewise.
3941 * debug/mbsrtowcs_chk.c: Likewise.
3942 * debug/mbstowcs_chk.c: Likewise.
3943 * debug/memcpy_chk.c: Likewise.
3944 * debug/memmove_chk.c: Likewise.
3945 * debug/mempcpy_chk.c: Likewise.
3946 * debug/memset_chk.c: Likewise.
3947 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3948 * debug/strcat_chk.c (__strcat_chk): Likewise.
3949 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3950 * debug/strncat_chk.c (__strncat_chk): Likewise.
3951 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3952 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3953 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3954 * debug/wcpncpy_chk.c: Likewise.
3955 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3956 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3957 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3958 * debug/wcsncpy_chk.c: Likewise.
3959 * debug/wcsnrtombs_chk.c: Likewise.
3960 * debug/wcsrtombs_chk.c: Likewise.
3961 * debug/wcstombs_chk.c: Likewise.
3962 * debug/wmemcpy_chk.c: Likewise.
3963 * debug/wmemmove_chk.c: Likewise.
3964 * debug/wmempcpy_chk.c: Likewise.
3965 * debug/wmemset_chk.c: Likewise.
3966 * dirent/scandirat.c (SCANDIRAT): Likewise.
3967 * dlfcn/dladdr1.c (dladdr1): Likewise.
3968 * dlfcn/dladdr.c (dladdr): Likewise.
3969 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3970 * dlfcn/dlerror.c (__dlerror): Likewise.
3971 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3972 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3973 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3974 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3975 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3976 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3977 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3978 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3979 Likewise.
3980 * elf/dl-conflict.c: Likewise.
3981 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3982 * elf/dl-dst.h: Likewise.
3983 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3984 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3985 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3986 * elf/dl-init.c (call_init, _dl_init): Likewise.
3987 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3988 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3989 _dl_map_object_from_fd, open_verify, open_path,
3990 _dl_map_object): Likewise.
3991 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3992 Likewise.
3993 * elf/dl-minimal.c (__libc_memalign): Likewise.
3994 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3995 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3996 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3997 * elf/dl-sym.c (do_sym): Likewise.
3998 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3999 _dl_tls_get_addr_soft): Likewise.
4000 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4001 * elf/dl-writev.h (_dl_writev): Likewise.
4002 * elf/ldconfig.c (search_dir): Likewise.
4003 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4004 dl_main): Likewise.
4005 * elf/setup-vdso.h (setup_vdso): Likewise.
4006 * grp/compat-initgroups.c (compat_call): Likewise.
4007 * grp/fgetgrent.c (fgetgrent): Likewise.
4008 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4009 * grp/putgrent.c (putgrent): Likewise.
4010 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4011 Likewise.
4012 * hurd/hurdinit.c: Likewise.
4013 * iconvdata/8bit-gap.c (struct): Likewise.
4014 * iconvdata/ansi_x3.110.c : Likewise.
4015 * iconvdata/big5.c : Likewise.
4016 * iconvdata/big5hkscs.c : Likewise.
4017 * iconvdata/cp1255.c: Likewise.
4018 * iconvdata/cp1258.c : Likewise.
4019 * iconvdata/cp932.c : Likewise.
4020 * iconvdata/euc-cn.c: Likewise.
4021 * iconvdata/euc-jisx0213.c : Likewise.
4022 * iconvdata/euc-jp.c: Likewise.
4023 * iconvdata/euc-jp-ms.c : Likewise.
4024 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4025 * iconvdata/gb18030.c : Likewise.
4026 * iconvdata/gbbig5.c (const): Likewise.
4027 * iconvdata/gbgbk.c: Likewise.
4028 * iconvdata/gbk.c : Likewise.
4029 * iconvdata/ibm1364.c : Likewise.
4030 * iconvdata/ibm930.c : Likewise.
4031 * iconvdata/ibm932.c: Likewise.
4032 * iconvdata/ibm933.c : Likewise.
4033 * iconvdata/ibm935.c : Likewise.
4034 * iconvdata/ibm937.c : Likewise.
4035 * iconvdata/ibm939.c : Likewise.
4036 * iconvdata/ibm943.c: Likewise.
4037 * iconvdata/iso_11548-1.c: Likewise.
4038 * iconvdata/iso-2022-cn.c : Likewise.
4039 * iconvdata/iso-2022-cn-ext.c : Likewise.
4040 * iconvdata/iso-2022-jp-3.c: Likewise.
4041 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4042 * iconvdata/iso-2022-kr.c : Likewise.
4043 * iconvdata/iso646.c (gconv_end): Likewise.
4044 * iconvdata/iso_6937-2.c : Likewise.
4045 * iconvdata/iso_6937.c : Likewise.
4046 * iconvdata/iso8859-1.c: Likewise.
4047 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4048 * iconvdata/shift_jisx0213.c : Likewise.
4049 * iconvdata/sjis.c : Likewise.
4050 * iconvdata/t.61.c : Likewise.
4051 * iconvdata/tcvn5712-1.c : Likewise.
4052 * iconvdata/tscii.c: Likewise.
4053 * iconvdata/uhc.c : Likewise.
4054 * iconvdata/unicode.c (gconv_end): Likewise.
4055 * iconvdata/utf-16.c (gconv_end): Likewise.
4056 * iconvdata/utf-32.c (gconv_end): Likewise.
4057 * iconvdata/utf-7.c (base64): Likewise.
4058 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4059 * iconv/gconv_close.c (__gconv_close): Likewise.
4060 * iconv/gconv_open.c (__gconv_open): Likewise.
4061 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4062 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4063 internal_ucs4le_loop_single, ucs4le_internal_loop,
4064 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4065 * iconv/iconv.c (iconv): Likewise.
4066 * iconv/iconv_close.c: Likewise.
4067 * iconv/loop.c (SINGLE): Likewise.
4068 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4069 * include/atomic.h: Likewise.
4070 * inet/inet6_option.c (option_alloc): Likewise.
4071 * intl/bindtextdom.c (set_binding_values): Likewise.
4072 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4073 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4074 * intl/localealias.c (read_alias_file): Likewise.
4075 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4076 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4077 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4078 * libio/fmemopen.c (fmemopen): Likewise.
4079 * libio/iofgets.c (_IO_fgets): Likewise.
4080 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4081 * libio/iofgetws.c (fgetws): Likewise.
4082 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4083 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4084 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4085 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4086 * locale/findlocale.c (_nl_find_locale): Likewise.
4087 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4088 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4089 Likewise.
4090 * locale/setlocale.c (setlocale): Likewise.
4091 * login/programs/pt_chown.c (main): Likewise.
4092 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4093 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4094 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4095 mmap, mmap64, mremap, munmap): Likewise.
4096 * math/e_exp2l.c: Likewise.
4097 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4098 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4099 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4100 * math/s_catan.c (__catan): Likewise.
4101 * math/s_catanf.c (__catanf): Likewise.
4102 * math/s_catanh.c (__catanh): Likewise.
4103 * math/s_catanhf.c (__catanhf): Likewise.
4104 * math/s_catanhl.c (__catanhl): Likewise.
4105 * math/s_catanl.c (__catanl): Likewise.
4106 * math/s_ccosh.c (__ccosh): Likewise.
4107 * math/s_ccoshf.c (__ccoshf): Likewise.
4108 * math/s_ccoshl.c (__ccoshl): Likewise.
4109 * math/s_cexp.c (__cexp): Likewise.
4110 * math/s_cexpf.c (__cexpf): Likewise.
4111 * math/s_cexpl.c (__cexpl): Likewise.
4112 * math/s_clog10.c (__clog10): Likewise.
4113 * math/s_clog10f.c (__clog10f): Likewise.
4114 * math/s_clog10l.c (__clog10l): Likewise.
4115 * math/s_clog.c (__clog): Likewise.
4116 * math/s_clogf.c (__clogf): Likewise.
4117 * math/s_clogl.c (__clogl): Likewise.
4118 * math/s_csin.c (__csin): Likewise.
4119 * math/s_csinf.c (__csinf): Likewise.
4120 * math/s_csinh.c (__csinh): Likewise.
4121 * math/s_csinhf.c (__csinhf): Likewise.
4122 * math/s_csinhl.c (__csinhl): Likewise.
4123 * math/s_csinl.c (__csinl): Likewise.
4124 * math/s_csqrt.c (__csqrt): Likewise.
4125 * math/s_csqrtf.c (__csqrtf): Likewise.
4126 * math/s_csqrtl.c (__csqrtl): Likewise.
4127 * math/s_ctan.c (__ctan): Likewise.
4128 * math/s_ctanf.c (__ctanf): Likewise.
4129 * math/s_ctanh.c (__ctanh): Likewise.
4130 * math/s_ctanhf.c (__ctanhf): Likewise.
4131 * math/s_ctanhl.c (__ctanhl): Likewise.
4132 * math/s_ctanl.c (__ctanl): Likewise.
4133 * math/w_pow.c: Likewise.
4134 * math/w_powf.c: Likewise.
4135 * math/w_powl.c: Likewise.
4136 * math/w_scalb.c (sysv_scalb): Likewise.
4137 * math/w_scalbf.c (sysv_scalbf): Likewise.
4138 * math/w_scalbl.c (sysv_scalbl): Likewise.
4139 * misc/error.c (error_tail): Likewise.
4140 * misc/pselect.c (__pselect): Likewise.
4141 * nis/nis_callback.c (__nis_create_callback): Likewise.
4142 * nis/nis_call.c (__nisfind_server): Likewise.
4143 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4144 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4145 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4146 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4147 * nis/nis_lookup.c (nis_lookup): Likewise.
4148 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4149 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4150 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4151 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4152 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4153 internal_getgrgid_r): Likewise.
4154 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4155 Likewise.
4156 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4157 internal_getpwuid_r): Likewise.
4158 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4159 internal_getspnam_r): Likewise.
4160 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4161 _nss_nis_getaliasbyname_r): Likewise.
4162 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4163 _nss_nis_getntohost_r): Likewise.
4164 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4165 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4166 Likewise.
4167 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4168 internal_nis_gethostent_r, internal_gethostbyname2_r,
4169 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4170 _nss_nis_gethostbyname4_r): Likewise.
4171 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4172 initgroups_netid): Likewise.
4173 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4174 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4175 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4176 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4177 _nss_nis_getprotobynumber_r): Likewise.
4178 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4179 _nss_nis_getsecretkey): Likewise.
4180 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4181 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4182 Likewise.
4183 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4184 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4185 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4186 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4187 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4188 _nss_nis_getspnam_r): Likewise.
4189 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4190 Likewise.
4191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4192 _nss_nisplus_getntohost_r): Likewise.
4193 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4194 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4195 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4196 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4197 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4198 Likewise.
4199 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4200 _nss_nisplus_getnetbyaddr_r): Likewise.
4201 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4202 _nss_nisplus_getprotobynumber_r): Likewise.
4203 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4204 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4205 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4206 Likewise.
4207 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4208 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4209 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4210 _nss_nisplus_getspnam_r): Likewise.
4211 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4212 * nscd/aicache.c (addhstaiX): Likewise.
4213 * nscd/cache.c (cache_search, prune_cache): Likewise.
4214 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4215 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4216 * nscd/grpcache.c (addgrbyX): Likewise.
4217 * nscd/hstcache.c (addhstbyX): Likewise.
4218 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4219 * nscd/mem.c (gc, mempool_alloc): Likewise.
4220 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4221 Likewise.
4222 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4223 Likewise.
4224 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4225 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4226 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4227 Likewise.
4228 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4229 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4230 * nscd/nscd_helper.c (__readvall, open_socket,
4231 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4232 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4233 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4234 * nscd/pwdcache.c (addpwbyX): Likewise.
4235 * nscd/selinux.c (preserve_capabilities): Likewise.
4236 * nscd/servicescache.c (addservbyX): Likewise.
4237 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4238 * posix/fnmatch.c (fnmatch): Likewise.
4239 * posix/getopt.c (_getopt_internal_r): Likewise.
4240 * posix/glob.c (glob, glob_in_dir): Likewise.
4241 * posix/wordexp.c (exec_comm_child): Likewise.
4242 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4243 gaih_getanswer_slice): Likewise.
4244 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4245 * resolv/res_init.c: Likewise.
4246 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4247 * resolv/res_query.c (__libc_res_nquery): Likewise.
4248 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4249 Likewise.
4250 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4251 * stdio-common/perror.c (perror): Likewise.
4252 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4253 * stdio-common/tmpnam.c (tmpnam): Likewise.
4254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4255 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4256 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4257 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4258 * stdlib/putenv.c (putenv): Likewise.
4259 * stdlib/setenv.c (__add_to_environ): Likewise.
4260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4261 * stdlib/strtol_l.c (INTERNAL): Likewise.
4262 * string/memmem.c (memmem): Likewise.
4263 * string/strerror.c (strerror): Likewise.
4264 * string/strnlen.c (__strnlen): Likewise.
4265 * string/test-memmem.c (simple_memmem): Likewise.
4266 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4267 * sunrpc/pm_getport.c (__get_socket): Likewise.
4268 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4269 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4270 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4271 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4272 Likewise.
4273 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4274 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4275 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4276 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4277 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4278 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4279 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4280 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4281 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4282 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4283 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4284 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4286 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4287 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4288 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4289 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4290 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4291 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4292 Likewise.
4293 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4294 Likewise.
4295 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4296 Likewise.
4297 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4299 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4301 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4302 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4303 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4307 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4312 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4313 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4314 Likewise.
4315 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4316 Likewise.
4317 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4318 Likewise.
4319 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4321 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4322 Likewise.
4323 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4324 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4325 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4326 * sysdeps/posix/sleep.c: Likewise.
4327 * sysdeps/posix/tempname.c: Likewise.
4328 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4329 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4330 Likewise.
4331 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4332 elf_machine_rela): Likewise.
4333 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4334 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4335 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4336 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4337 Likewise.
4338 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4339 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4340 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4342 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4343 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4344 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4345 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4346 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4347 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4349 elf_machine_lazy_rel): Likewise.
4350 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4352 elf_machine_lazy_rel): Likewise.
4353 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4354 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4355 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4356 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4357 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4358 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4359 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4361 Likewise.
4362 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4363 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4364 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4365 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4366 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4367 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4368 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4369 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4370 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4371 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4372 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4373 Likewise.
4374 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4375 (__posix_fallocate64_l64): Likewise.
4376 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4377 (posix_fallocate): Likewise.
4378 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4380 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4381 getifaddrs_internal): Likewise.
4382 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4383 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4384 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4385 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4386 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4387 (__posix_fallocate64_l64): Likewise.
4388 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4389 Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4391 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4392 Likewise.
4393 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4394 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4395 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4396 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4398 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4399 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4400 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4401 Likewise.
4402 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4403 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4404 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4405 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4406 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4407 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4408 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4409 Likewise.
4410 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4411 (posix_fallocate): Likewise.
4412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4413 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4414 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4415 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4416 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4417 Likewise.
4418 * time/asctime.c (asctime_internal): Likewise.
4419 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4420 * time/tzset.c (__tzset_parse_tz): Likewise.
4421 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4422 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4423 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4424 * wcsmbs/wcsmbsload.h: Likewise.
4425
f3d338c9
OB
44262014-02-10 Ondřej Bílka <neleai@seznam.cz>
4427
4428 [BZ #15894]
4429 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4430
bdfe308a
OB
44312014-02-10 Ondřej Bílka <neleai@seznam.cz>
4432
4433 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4434 arena_get2): Remove THREAD_STATS conditionals.
4435 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4436 __malloc_stats, int): Likewise.
4437
d674667c
MF
44382014-02-08 Mike Frysinger <vapier@gentoo.org>
4439
4440 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4441 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4442
6349768c
MF
44432014-02-08 Mike Frysinger <vapier@gentoo.org>
4444
4445 * manual/setjmp.texi: Fix typos/grammar errors.
4446
0b7c7473
MF
44472014-02-08 Mike Frysinger <vapier@gentoo.org>
4448
4449 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4450 Only return early when n is <= 0. Delete unused return statement.
4451
ac8cc9e3
MF
44522014-02-08 Mike Frysinger <vapier@gentoo.org>
4453
4454 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4455 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4456 * debug/tst-longjmp_chk3.c: New file.
4457
c5bb8e23
MF
44582014-02-08 Mike Frysinger <vapier@gentoo.org>
4459
4460 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4461 (test_main): Replace code with set_fortify_handler call.
4462 * debug/test-strcpy_chk.c: Likewise.
4463 * debug/tst-chk1.c: Likewise.
4464 * debug/tst-longjmp_chk.c: Likewise.
4465 * test-skeleton.c: Include fcntl.h & paths.h
4466 (set_fortify_handler): Define.
4467
10444e42
MF
44682014-02-08 Mike Frysinger <vapier@gentoo.org>
4469
4470 * debug/tst-longjmp_chk.c: Add header comment and include
4471 ../test-skeleton.c.
4472 (do_test): Mark static.
4473 (TEST_FUNCTION): Define.
4474
1e805e8d
MF
44752014-02-08 Mike Frysinger <vapier@gentoo.org>
4476
4477 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4478 (IP_PMTUDISC_INTERFACE): Likewise.
4479 (IP_MULTICAST_IF): Likewise.
4480 (IP_MULTICAST_TTL): Likewise.
4481 (IP_MULTICAST_LOOP): Likewise.
4482 (IP_ADD_MEMBERSHIP): Likewise.
4483 (IP_DROP_MEMBERSHIP): Likewise.
4484 (IP_UNBLOCK_SOURCE): Likewise.
4485 (IP_BLOCK_SOURCE): Likewise.
4486 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4487 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4488 (IP_MSFILTER): Likewise.
4489 (MCAST_JOIN_GROUP): Likewise.
4490 (MCAST_BLOCK_SOURCE): Likewise.
4491 (MCAST_UNBLOCK_SOURCE): Likewise.
4492 (MCAST_LEAVE_GROUP): Likewise.
4493 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4494 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4495 (MCAST_MSFILTER): Likewise.
4496 (IP_MULTICAST_ALL): Likewise.
4497 (IP_UNICAST_IF): Likewise.
4498
73f79bb7
MF
44992014-02-08 Mike Frysinger <vapier@gentoo.org>
4500
4501 * timezone/Makefile: Delete $(have-ksh) check.
4502 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4503 * timezone/tzselect.ksh: Add +x mode bits.
4504
8da79b60
MF
45052014-02-08 Mike Frysinger <vapier@gentoo.org>
4506
4507 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4508 (ANON_INODE_FS_MAGIC): Likewise.
4509 (BDEVFS_MAGIC): Likewise.
4510 (BINFMTFS_MAGIC): Likewise.
4511 (BTRFS_TEST_MAGIC): Likewise.
4512 (CRAMFS_MAGIC_WEND): Likewise.
4513 (DEBUGFS_MAGIC): Likewise.
4514 (ECRYPTFS_SUPER_MAGIC): Likewise.
4515 (EXT3_SUPER_MAGIC): Likewise.
4516 (EXT4_SUPER_MAGIC): Likewise.
4517 (FUTEXFS_SUPER_MAGIC): Likewise.
4518 (HOSTFS_SUPER_MAGIC): Likewise.
4519 (HUGETLBFS_MAGIC): Likewise.
4520 (MINIX3_SUPER_MAGIC): Likewise.
4521 (MTD_INODE_FS_MAGIC): Likewise.
4522 (NILFS_SUPER_MAGIC): Likewise.
4523 (OPENPROM_SUPER_MAGIC): Likewise.
4524 (PIPEFS_MAGIC): Likewise.
4525 (PSTOREFS_MAGIC): Likewise.
4526 (QNX6_SUPER_MAGIC): Likewise.
4527 (RAMFS_MAGIC): Likewise.
4528 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4529 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4530 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4531 (SECURITYFS_MAGIC): Likewise.
4532 (SELINUX_MAGIC): Likewise.
4533 (SMACK_MAGIC): Likewise.
4534 (SOCKFS_MAGIC): Likewise.
4535 (SQUASHFS_MAGIC): Likewise.
4536 (STACK_END_MAGIC): Likewise.
4537 (TMPFS_MAGIC): Likewise.
4538 (USBDEVICE_SUPER_MAGIC): Likewise.
4539 (V9FS_MAGIC): Likewise.
4540 (XENFS_SUPER_MAGIC): Likewise.
4541 (CRAMFS_MAGIC): Fix typo in comment.
4542 (EXT2_SUPER_MAGIC): Update comment.
4543 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4544
464263cc
JM
45452014-02-08 Joseph Myers <joseph@codesourcery.com>
4546
c6bfe5c4
JM
4547 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4548 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4549 * sysdeps/unix/sysv/linux/arm: Move directory from
4550 ports/sysdeps/unix/sysv/linux/arm.
4551 * README: Update listing for arm-*-linux-gnueabi.
4552
464263cc
JM
4553 * README: Remove mention of am33.
4554
32749f6c
RM
45552014-02-07 Roland McGrath <roland@hack.frob.com>
4556
4557 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4558 than the comma operator, to avoid "rhs of comma has no effect"
4559 compiler warnings.
4560 (__sigfillset, __sigandset, __sigorset): Likewise.
4561 * include/signal.h (__sigemptyset): Likewise.
4562 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4563
d5b396c1
AM
45642014-02-07 Allan McRae <allan@archlinux.org>
4565
4566 * version.h (RELEASE): Set to "development".
4567 (VERSION): Set to "2.19.90"
4568 * NEWS: Add 2.20 section.
4569
3bfff2ed
CD
45702014-02-06 Carlos O'Donell <carlos@redhat.com>
4571
4572 [BZ #16529]
4573 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4574
ee7cc385
SP
45752014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4576
4577 * manual/contrib.texi: Update entry for Carlos O'Donell,
4578 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4579
f877c4f2
CD
45802014-02-05 Carlos O'Donell <carlos@rehdat.com>
4581
27e839f6
CD
4582 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4583
f877c4f2
CD
4584 * sysdeps/unix/sysv/linux/kernel-features.h
4585 [__LINUX_KERNEL_VERSION >= 0x020621]
4586 (__ASSUME_PROC_PID_TASK_COMM): Define.
4587
68159946
SP
45882014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4589
ba17cdbd
SP
4590 [BZ #16398]
4591 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4592 conversion when destination buffer does not have enough space.
4593 * libio/tst-ftell-partial-wide.c: New test case.
4594 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4595
68159946
SP
4596 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4597 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4598 Leonard and Allan McRae.
4599
2b528732
DM
46002014-02-04 David S. Miller <davem@davemloft.net>
4601
4602 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4603 32-bit.
4604
0ff82463
AZ
46052014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4606
c01603f7
AZ
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4608 file
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4610 New file
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4612 file.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4614 file.
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4616 New file.
4617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4618 file.
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4620 file.
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4622 New file.
4623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4624 New file.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4626 New file.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4628 New file.
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4630 New file.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4632 New file.
4633
46342014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4635
0ff82463
AZ
4636 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4637 * shlib-versions: Likewise.
4638
1695c773
AZ
46392014-02-04 Roland McGrath <roland@hack.frob.com>
4640 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4641
4642 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4643 (abilist-pattern): New variable, set to %-le.abilist.
4644
4645 * Makerules (abilist-pattern): New variable.
4646 (vpath): Use $(abilist-pattern) in place of %.abilist.
4647 (check-abi-% pattern rule): Likewise.
4648 (check-abi, update-abi): Likewise.
4649
6c0ce4b4
EW
46502014-02-04 Eric Wong <normalperson@yhbt.net>
4651
4652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4653
dc98b8f5
EW
46542014-02-04 Eric Wong <normalperson@yhbt.net>
4655
4656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4657
481e3524
CD
46582014-02-03 Carlos O'Donell <carlos@redhat.com>
4659
4660 * manual/startup.texi: Add next, previous, and top entries for
4661 the `Program Arguments' and `Environment Variables' nodes.
4662
375592d3
AO
46632014-02-03 Alexandre Oliva <aoliva@redhat.com>
4664
4665 * manual/macros.texi: Add comments before MTASC-safety macros.
4666
f54838ba
AO
4667 * manual/users.texi: Document MTASC-safety properties.
4668
909e12ad
AO
4669 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4670 pthread_getspecific, pthread_setspecific): Format with
4671 @deftypefun, and add @safety note.
4672 * manual/signal.texi: Move comments that analyze the above
4673 functions to their home place.
4674
fd3daba4
AM
46752014-02-03 Allan McRae <allan@archlinux.org>
4676
4677 * po/sl.po: Update Slovenian translation from translation project.
4678
597636d7
AO
46792014-02-02 Alexandre Oliva <aoliva@redhat.com>
4680
4681 * manual/time.texi (timegm): Add missing blank after @c.
4682 Reported by Joseph Myers <joseph@codesourcery.com>.
4683
ee196e3c
AO
46842014-02-01 Alexandre Oliva <aoliva@redhat.com>
4685
4686 * manual/check-safety.sh: New.
4687 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4688
f8d529d5
AO
4689 * manual/terminal.texi: Document MTASC-safety properties.
4690
de55fdf4
AO
4691 * manual/filesys.texi: Document MTASC-safety properties.
4692
c3299c08
AO
4693 * manual/errno.texi: Document MTASC-safety properties.
4694
06e90b14
AO
4695 * manual/intro.texi: Document safety identifiers and
4696 conditionals.
4697
1acd4371
AO
4698 * manual/string.texi (wcstok): Fix prototype.
4699 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4700
23e5b8cb
AO
4701 * manual/time.texi: Document MTASC-safety properties.
4702
11087373
AO
4703 * manual/string.texi: Document MTASC-safety properties.
4704
5da2c93d
AO
4705 * manual/threads.texi: Document MTASC-safety properties.
4706
171e9210
AO
4707 * manual/stdio.texi: Document MTASC-safety properties.
4708
d9e02532
AO
4709 * manual/syslog.texi: Document MTASC-safety properties.
4710
6af8bab7
AO
4711 * manual/sysinfo.texi: Document MTASC-safety properties.
4712
663b02d7
AO
4713 * manual/startup.texi: Document MTASC-safety properties.
4714
973f180b
AO
4715 * manual/socket.texi: Document MTASC-safety properties.
4716
8f3c25c8
AO
4717 * manual/signal.texi: Document MTASC-safety properties.
4718
542210fb
AO
47192014-01-31 Alexandre Oliva <aoliva@redhat.com>
4720
4721 * manual/setjmp.texi: Document MTASC-safety properties.
4722
433c45a2
AO
4723 * manual/search.texi: Document MTASC-safety properties.
4724
c8ce789c
AO
4725 * manual/resource.texi: Document MTASC-safety properties.
4726
19f5d29c
AO
4727 * manual/process.texi: Document MTASC-safety properties.
4728
e2dfb7f4
AO
4729 * manual/platform.texi: Document MTASC-safety properties.
4730
8c1413f5
AO
4731 * manual/pipe.texi: Document MTASC-safety properties.
4732
03483ada
AO
4733 * manual/pattern.texi: Document MTASC-safety properties.
4734
29e7e2df
AO
4735 * manual/message.texi: Document MTASC-safety properties.
4736
9f529d7c
AO
4737 [BZ #12751]
4738 * manual/memory.texi: Document MTASC-safety properties.
4739
27aaa791
AO
4740 * manual/math.texi: Document MTASC-safety properties.
4741
f2d58726
AO
4742 * manual/locale.texi: Document MTASC-safety properties.
4743
2cc3615c
AO
4744 * manual/llio.texi: Document MTASC-safety properties.
4745
d9f0ec97
AO
4746 * manual/libdl.texi: New.
4747
e7c4409a
AO
4748 * manual/lang.texi: Document MTASC-safety properties.
4749
27bdc63c
AO
4750 * manual/job.texi: Document MTASC-safety properties.
4751
a7b90ea9
AO
4752 * manual/getopt.texi: Document MTASC-safety properties.
4753
c49130e3
AO
4754 * manual/ctype.texi: Document MTASC-safety properties.
4755
0d23a5c1
MR
47562014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4757
4758 [BZ #16046]
4759 * csu/libc-tls.c (static_map): Remove variable.
4760 (__libc_setup_tls): Use main executable's link map for TLS data.
4761 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4762 casing for LM_ID_BASE and GL(dl_nns).
4763 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4764 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4765 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4766 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4767 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4768 member.
4769 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4770 l_phnum members.
4771
0037bb60
AO
47722014-01-30 Alexandre Oliva <aoliva@redhat.com>
4773
4774 * manual/debug.texi: Document MTASC-safety properties.
4775
409e00bd
L
47762014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4777
4778 [BZ #16510]
4779 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4780 of __x86_64__ when disabling x87 inline functions.
4781
86e60666
AO
47822014-01-29 Alexandre Oliva <aoliva@redhat.com>
4783
4784 * manual/charset.texi: Document MTASC-safety properties.
4785
76167637
AO
4786 * manual/crypt.texi: Document MTASC-safety properties.
4787
e567f2a0
AO
4788 * manual/conf.texi: Document MTASC-safety properties.
4789
b719dafd
AO
4790 * manual/arith.texi: Document MTASC-safety properties.
4791
4a16c662
AO
4792 * manual/argp.texi: Document MTASC-safety properties.
4793
0a57b83e
AO
4794 * manual/macros.texi: Introduce macros to document multi
4795 thread, asynchronous signal and asynchronous cancellation
4796 safety properties.
4797 * manual/intro.texi: Introduce the properties themselves.
4798
feab2397
KK
47992014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4800
4801 * sysdeps/sh/sh4/Makefile: New file.
4802
1c0d11bc
AS
48032014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4804
4805 * math/gen-libm-test.pl ($srcdir): New variable.
4806 ($auto_input): Use it.
4807
af37a8a3
SP
48082014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4809
d7b00f98
SP
4810 [BZ #16506]
4811 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4812 access beyond array bounds when parsing netgroups file.
4813
af37a8a3
SP
4814 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4815 the old buffer before realloc.
4816
0c00f062
AM
48172014-01-27 Allan McRae <allan@archlinux.org>
4818
4819 * po/fr.po: Update French translation from translation project.
4820
7d69a1b0
KK
48212014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4822
4823 * sysdeps/sh/libm-test-ulps: Regenerate.
4824
6e697ff7
DM
48252014-01-24 David S. Miller <davem@davemloft.net>
4826
4827 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4828
9cadb35c
KK
48292014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4830
4831 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4832 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4833
5d41dadf
SP
48342013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4835
4836 [BZ #16474]
4837 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4838 string pointers after reallocation.
4839
0bad441c
KK
48402014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4841
4842 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4843 __SH4A__ instead of __SH_FPU_ANY__.
4844
7007c661
KK
48452014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4846
4847 * sysdeps/sh/fpu_control.h: New file.
4848 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4849 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4850 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4851 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4852 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4853 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4854 * sysdeps/sh/sys/ucontext.h: Remove.
4855 * sysdeps/sh/sys: Remove directory.
4856
0f0c35e4
AK
48572014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4858
4859 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4860 s390/sys/ucontext.h.
4861 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4863
4959e284
L
48642014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4865
4866 [BZ #15605]
4867 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4868
d98720e0
AZ
48692014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870
4871 [BZ#16431]
4872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4873 Adjust the vDSO correctly for internal calls.
4874 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4875
91cbd0bc
AM
48762014-01-20 Allan McRae <allan@archlinux.org>
4877
4878 * po/ca.po: Update Catalan translation from translation project.
4879
7a02cfad
MF
48802014-01-16 Mike Frysinger <vapier@gentoo.org>
4881
4882 * sysdeps/s390/sotruss-lib.c: New file.
4883
736c304a
AZ
48842014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4885
4886 [BZ#16430]
6e077ee5 4887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4888 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4889 local calls issues by not having a PLT stub required for IFUNC calls.
4890 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4891
94d0cea0
JM
48922014-01-16 Joseph Myers <joseph@codesourcery.com>
4893
4894 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4895 * math/test-fpucw-static.c: Likewise.
4896
980cb518
SP
48972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4898
4899 [BZ #16453]
4900 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4901
2393fc01
AZ
49022014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4903
4904 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4905 implementation for powerpc.
4906
d359bcc2
OB
49072014-01-15 Ondřej Bílka <neleai@seznam.cz>
4908
4909 [BZ #14782]
4910 * sysdeps/posix/system.c (__libc_system): Do not enable
4911 asynchronous cancellation.
4912
7beb48cb
AK
49132014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4914
4915 [BZ #16427]
4916 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4917 handling only for numbers special also in the IEEE case.
4918
c20d5bf5
AK
49192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4920
4921 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4922
e83bd4ee
AM
49232014-01-11 Allan McRae <allan@archlinux.org>
4924
76d0ea69
AM
4925 * po/bg.po: Update Bulgarian translation from translation project.
4926
e83bd4ee
AM
4927 * po/de.po: Update German translation from translation project.
4928
bc2ba20a
RM
49292014-01-10 Roland McGrath <roland@hack.frob.com>
4930
4931 * sysdeps/generic/gcc-compat.h: New file.
4932
649ecea2
SP
49332014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4934
4935 * benchtests/asin-inputs: Correct slow inputs.
4936 * benchtests/acos-inputs: Likewise.
4937
1b19c006
AM
49382014-01-10 Allan McRae <allan@archlinux.org>
4939
a46dab08
AM
4940 * po:sv.po: Update Swedish translation from translation project.
4941
421df74a
AM
4942 * po/vi.po: Update Vietnamese translation from translation project.
4943
d61c51a7
AM
4944 * po/eo.po: Update Esperanto translation from translation project.
4945
0339a319
AM
4946 * po/cs.po: Update Czech translation from translation project.
4947
94ad3e99
AM
4948 * po/nl.po: Update Dutch translation from translation project.
4949
e349ca71
AM
4950 * po/pl.po: Update Polish translation from translation project.
4951
ddf930c1
AM
4952 * po/ru.po: Update Russian translation from translation project.
4953
1b19c006
AM
4954 * po/uk.po: Update Ukrainian translation from translation project.
4955
9f236c49
BM
49562014-01-08 Brooks Moses <bmoses@google.com>
4957
4958 * elf/dl-load.c: Fix comment typo.
4959
cd6701cf
CD
49602014-01-08 Carlos O'Donell <carlos@redhat.com>
4961
4962 * po/header.pot: Rename to...
4963 * po/pot.header: ... this.
4964 * po/Makefile: Use pot.header.
4965
66671c84
YK
49662014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4967 Maxim Kuvyrkov <maxim@kugelworks.com>
4968
4969 [BZ #16394]
cd6701cf
CD
4970 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4971 SRC and DEST against LEN.
66671c84 4972
38f34581
AZ
49732014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4974
4975 [BZ #16414]
4976 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4977 implementation.
4978 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4979
49802014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4981
4982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4983
4c327f2a
JM
49842014-01-08 Joseph Myers <joseph@codesourcery.com>
4985
4986 [BZ #16408]
4987 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4988 for large positive arguments.
4989
b821f414
JM
49902014-01-07 Joseph Myers <joseph@codesourcery.com>
4991
1f0f2067
JM
4992 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4993
a5a326f6
JM
4994 * math/auto-libm-test-in: Mark various tests with
4995 xfail-rounding:ldbl-128ibm.
4996 * math/auto-libm-test-out: Regenerated.
4997
b821f414
JM
4998 [BZ #16407]
4999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5000 Increase overflow threshold.
5001
94c8a4bc
OB
50022014-01-07 Ondřej Bílka <neleai@seznam.cz>
5003
5004 [BZ #14286]
5005 * stdio-common/vfprintf.c: Check for integer overflow.
5006
87ded0c3
AK
50072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5008
5009 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5010 the first argument and return value of __tls_get_addr_internal.
5011
c5eebdd0
AK
50122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5013
5014 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5015 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5016
05d138ef
AK
50172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5018
5019 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5020 * sysdeps/s390/rtld-global-offsets.sym: New file.
5021 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5022 GLIBC_2.19 symbol.
5023 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5024 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5025 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5026 ... this.
5027 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5028 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5029 ... this.
5030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5031 Regenerate.
5032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5033 Regenerate.
5034 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5035 halfs of GPRs for high_gprs contexts.
5036 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5037 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5038 field.
5039 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5040 uc_flags field.
5041 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5042 64 bit versions:
5043 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5044 for high GPRs (uc_high_gprs) and for future extensions
5045 (__reserved).
5046 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5047 for future extensions (__reserved).
5048 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5049 64 bit versions:
5050 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5051 SC_HIGHGPRS offset definition.
5052 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5053 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5054
93a45ff1
AK
50552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5056
5057 * Versions.def: Add GLIBC_2.19 for libpthread.
5058 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5059 siglongjmp for libpthread with GLIBC_2.19 symver.
5060 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5061 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5062 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5063 * sysdeps/s390/__longjmp.c: New file.
5064 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5065 * sysdeps/s390/longjmp.c: New file.
5066 * sysdeps/s390/setjmp.S: New file.
5067 * sysdeps/s390/sigjmp.S: New file.
5068 * sysdeps/s390/v1-longjmp.c: New file.
5069 * sysdeps/s390/v1-setjmp.h: New file.
5070 * sysdeps/s390/v1-sigjmp.c: New file.
5071 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5072 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5073 GLIBC_2.19 version.
5074 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5075 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5076 versioned symbols for ____longjmp_chk.
5077 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5078 Likewise.
5079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5080 Regenerate.
5081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5082 Regenerate.
5083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5084 Regenerate.
5085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5086 Regenerate.
5087 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5088 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5089 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5090 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5091 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5092 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5093 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5094 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5095 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5096 * sysdeps/s390/rtld-__longjmp.c: New file.
5097 * sysdeps/s390/rtld-setjmp.S: New file.
5098
eb3fc44b
JM
50992014-01-06 Joseph Myers <joseph@codesourcery.com>
5100
5101 [BZ #16400]
5102 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5103 Return -__logl (x) for small positive arguments without evaluating
5104 a polynomial.
5105
9341dde4
MF
51062014-01-06 Mike Frysinger <vapier@gentoo.org>
5107
5108 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5109 Rename to ...
5110 (__ptrace_peeksiginfo_args): ... this.
5111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5112 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5113 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5114
4cff0293
AM
51152014-01-06 Allan McRae <allan@archlinux.org>
5116
5117 * inet/netinet/in.h: Fix typo in comment.
5118
75595dcf
AJ
51192014-01-05 Andreas Jaeger <aj@suse.de>
5120
5121 * sysdeps/i386/fpu/libm-test-ulps: Update.
5122
79c1e109
AM
51232014-01-05 Allan McRae <allan@archlinux.org>
5124
dd804818
AM
5125 * po/libc.pot: Regenerated.
5126
79c1e109
AM
5127 * malloc/memusagestat.c: Fix gettext call formatting.
5128
0c813d1f
SK
51292014-01-04 Sami Kerola <kerolasa@iki.fi>
5130
5131 * nscd/nscd.c: Improve usage() output.
5132
20f4a8d9
MF
51332014-01-04 Mike Frysinger <vapier@gentoo.org>
5134
5135 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5136 * sysdeps/unix/sysv/linux/configure: Regenerated.
5137 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5138 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5139
22562bb2
JM
51402014-01-03 Joseph Myers <joseph@codesourcery.com>
5141
5142 [BZ #16390]
5143 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5144 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5145
d7ad2d9b
AZ
51462014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147
5148 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5149 extra tokens at end of #undef directive.
5150 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5151 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5152 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5153
7dd009d8
JM
51542014-01-03 Joseph Myers <joseph@codesourcery.com>
5155
24db925a
JM
5156 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5157
7dd009d8
JM
5158 * math/auto-libm-test-in: Mark various tests with
5159 xfail-rounding:ldbl-128ibm.
5160 * math/auto-libm-test-out: Regenerated.
5161
396e3ecf
JM
51622014-01-02 Joseph Myers <joseph@codesourcery.com>
5163
819e5d50
JM
5164 [BZ #16386]
5165 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5166 numbers with subnormal high part when calculating exponent.
5167
90b6a1e5
JM
5168 [BZ #16385]
5169 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5170 fabs.
5171
396e3ecf
JM
5172 [BZ #16384]
5173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5174 M_LN2l.
5175 (__ieee754_acoshl): Use __log1pl not __log1p.
5176
6c8dbf00
OB
51772013-01-02 Ondřej Bílka <neleai@seznam.cz>
5178
5179 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5180 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5181 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5182 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5183 Convert to GNU style.
5184 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5185 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5186 memalign_check, __malloc_set_state): Likewise.
5187 * malloc/mallocbug.c (main): Likewise.
5188 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5189 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5190 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5191 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5192 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5193 * malloc/malloc.h: Likewise.
5194 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5195 memalignhook, reallochook, mabort): Likewise.
5196 * malloc/mcheck.h: Likewise.
5197 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5198 mmap64, mremap, munmap, dest): Likewise.
5199 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5200 * malloc/morecore.c (__default_morecore): Likewise.
5201 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5202 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5203 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5204 print_and_abort): Likewise.
5205 * malloc/obstack.h: Likewise.
5206 * malloc/set-freeres.c (__libc_freeres): Likewise.
5207 * malloc/tst-mallocstate.c (main): Likewise.
5208 * malloc/tst-mtrace.c (main): Likewise.
5209 * malloc/tst-realloc.c (do_test): Likewise.
5210
d4124212
SP
52112013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5212
9a3c6a6f
SP
5213 [BZ #16366]
5214 * nscd/netgroupcache.c (do_notfound): New function.
5215 (addgetnetgrentX): Use it.
5216
d4124212
SP
5217 [BZ # 16365]
5218 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5219 NSS_STATUS_NOTFOUND.
5220
97b9a009
JM
52212014-01-01 Joseph Myers <joseph@codesourcery.com>
5222
5223 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5225
d4697bc9
AM
52262014-01-01 Allan McRae <allan@archlinux.org>
5227
ddb3687f
AM
5228 * scripts/update-copyrights: Update configure input file suffix.
5229
88726d48
AM
5230 * NEWS: Update copyright year.
5231 * catgets/gencat.c: Likewise.
5232 * csu/version.c: Likewise.
5233 * debug/catchsegv.sh: Likewise.
5234 * debug/pcprofiledump.c: Likewise.
5235 * debug/xtrace.sh: Likewise.
5236 * elf/ldconfig.c: Likewise.
5237 * elf/ldd.bash.in: Likewise.
5238 * elf/pldd.c: Likewise.
5239 * elf/sotruss.ksh: Likewise.
5240 * elf/sprof.c: Likewise.
5241 * iconv/iconv_prog.c: Likewise.
5242 * iconv/iconvconfig.c: Likewise.
5243 * locale/programs/locale.c: Likewise.
5244 * locale/programs/localedef.c: Likewise.
5245 * login/programs/pt_chown.c: Likewise.
5246 * malloc/memusage.sh: Likewise.
5247 * malloc/memusagestat.c: Likewise.
5248 * malloc/mtrace.pl: Likewise.
5249 * manual/libc.texinfo: Likewise.
5250 * nscd/nscd.c: Likewise.
5251 * nss/getent.c: Likewise.
5252 * nss/makedb.c: Likewise.
5253 * posix/getconf.c: Likewise.
5254 * scripts/test-installation.pl: Likewise.
5255
d4697bc9
AM
5256 * All files with FSF copyright notices: Update copyright dates
5257 using scripts/update-copyrights.
5258 * intl/plural.c: Regenerated.
5259 * locale/programs/charmap-kw.h: Likewise.
5260 * locale/programs/locfile-kw.h: Likewise.
5261
c8590f9d
MF
52622013-12-31 Mike Frysinger <vapier@gentoo.org>
5263
5264 * sysdeps/unix/sysv/linux/configure: Regenerated.
5265 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5266 the linux/fanotify.h header.
5267 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5268 HAVE_LINUX_FANOTIFY_H is defined.
5269
b19221b9
SP
52702013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5271
dd1d85e5
SP
5272 * benchtests/cos-inputs: New inputs.
5273 * benchtests/sin-inputs: Likewise.
5274
1acbb90f
SP
5275 * benchtests/atan-inputs: New inputs. Fix name of multiple
5276 precision fallback inputs.
5277
4c012ed3
SP
5278 * benchtests/atanh-inputs: New inputs.
5279 * benchtests/tanh-inputs: Likewise.
5280
eff98324
SP
5281 * benchtests/acosh-inputs: New inputs.
5282 * benchtests/asinh-inputs: Likewise.
5283
ce641152
SP
5284 * benchtests/cosh-inputs: New inputs.
5285 * benchtests/sinh-inputs: Likewise.
5286
b19221b9
SP
5287 * benchtests/acos-inputs: Add more inputs.
5288 * benchtests/asin-inputs: Likewise.
5289
030a4976 52902013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5291
030a4976 5292 [BZ #16375]
9dcc8f11
VS
5293 * manual/arith.texi: Fix spelling.
5294 * manual/charset.texi: Likewise.
5295 * manual/errno.texi: Likewise.
5296 * manual/filesys.texi: Likewise.
5297 * manual/lang.texi: Likewise.
5298 * manual/llio.texi: Likewise.
5299 * manual/locale.texi: Likewise.
5300 * manual/message.texi: Likewise.
5301 * manual/resource.texi: Likewise.
5302 * manual/search.texi: Likewise.
5303 * manual/setjmp.texi: Likewise.
5304 * manual/stdio.texi: Likewise.
5305 * manual/string.texi: Likewise.
5306 * manual/sysinfo.texi: Likewise.
5307 * manual/time.texi: Likewise.
5308
11520a57
CD
53092013-12-27 Carlos O'Donell <carlos@redhat.com>
5310
5311 * po/sl.po: New file.
5312
471103ae
MF
53132013-12-27 Mike Frysinger <vapier@gentoo.org>
5314
5315 * .gitignore: Add core/.gdbinit/.gdb_history.
5316
6c9642ed
AM
53172013-12-27 Allan McRae <allan@archlinux.org>
5318
5319 [BZ #16369]
5320 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5321 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5322
3f637079
BM
53232013-12-24 Brooks Moses <bmoses@google.com>
5324
5325 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5326 all compilers that claim C++98 compliance, not just GCC.
5327 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5328 Likewise.
5329
abc26e99
MK
53302013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5331
5332 * NEWS: Restore accidentally deleted bug-fix entries.
5333
362b47fe
MK
53342013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5335 Ondřej Bílka <neleai@seznam.cz>
5336
5337 [BZ #15073]
5338 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5339 have_lock.
362b47fe 5340
b9bcbbcb
OB
53412013-12-23 Ondřej Bílka <neleai@seznam.cz>
5342
5343 [BZ #12986]
5344 * manual/stdio.texi (String Input Conversions): Clarify that character
5345 classes are not supported.
5346
fb55fcd2
AZ
53472013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5348
5349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5350
ef7344f0
JM
53512013-12-22 Joseph Myers <joseph@codesourcery.com>
5352
4f40e4b3
JM
5353 [BZ #16337]
5354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5355 Calculate results for small negative arguments directly rather
5356 than using reflection formula with special underflow handling.
5357
ef7344f0
JM
5358 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5359 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5360 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5361 (fchflags): Likewise.
5362 (revoke): Likewise.
5363 (setlogin): Likewise.
5364 (sigaltstack): Likewise.
5365 (wait4): Likewise.
5366 (sigblock): Remove.
5367 (sigsetmask): Likewise.
5368 (wait3): Likewise.
5369 (waitpid): Likewise.
5370 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5371 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5372 file.
5373 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5374 * sysdeps/unix/bsd/Makefile: ... here.
5375 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5376 * sysdeps/unix/bsd/Versions: ... here.
5377 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5378 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5379 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5380 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5381 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5382 * sysdeps/unix/bsd/sigblock.c: ... here.
5383 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5384 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5385 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5386 * sysdeps/unix/bsd/sigvec.c: ... here.
5387 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5388 * sysdeps/unix/bsd/tcdrain.c: ... here.
5389 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5390 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5391 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5392 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5393 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5394 * sysdeps/unix/bsd/wait.c: ... here.
5395 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5396 * sysdeps/unix/bsd/wait3.c: ... here.
5397 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5398 * sysdeps/unix/bsd/waitpid.c: ... here.
5399
5b0626b9
JM
54002013-12-21 Joseph Myers <joseph@codesourcery.com>
5401
5402 [BZ #16356]
5403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5404 round-to-nearest for [!USE_AS_EXPM1L].
5405 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5406 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5407 more tests of exp and exp10. Expect some exp10 tests to miss
5408 exceptions or fail in directed rounding modes.
5409 * math/auto-libm-test-out: Regenerated.
5410 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5411 (exp10_test_tonearest): New function.
5412 (exp10_towardzero_test_data): New array.
5413 (exp10_test_towardzero): New function.
5414 (exp10_downward_test_data): New array.
5415 (exp10_test_downward): New function.
5416 (exp10_upward_test_data): New array.
5417 (exp10_test_upward): New function.
5418 (main): Call the new functions.
5419 * sysdeps/i386/fpu/libm-test-ulps: Update.
5420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5421
7fda5682
JM
54222013-12-20 Joseph Myers <joseph@codesourcery.com>
5423
31e3a405
JM
5424 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5425 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5426 * math/auto-libm-test-out: Regenerated.
5427 * math/libm-test.inc (acosh_test_data): Add more tests.
5428 (atanh_test_data): Likewise.
5429 (ceil_test_data): Likewise.
5430 (copysign_test_data): Likewise.
5431 * sysdeps/i386/fpu/libm-test-ulps: Update.
5432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5433
85bff96a
JM
5434 * timezone/checktab.awk: Update from tzcode 2013i.
5435 * timezone/private.h: Likewise.
5436 * timezone/scheck.c: Likewise.
5437 * timezone/tzfile.h: Likewise.
5438 * timezone/tzselect.ksh: Likewise.
5439 * timezone/zdump.c: Likewise.
5440 * timezone/zic.c: Likewise.
5441
b7867a3b
JM
5442 * math/auto-libm-test-in: Add tests of cpow.
5443 * math/auto-libm-test-out: Regenerated.
5444 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5445 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5446 mpc_cc_c.
5447 (func_calc_desc): Add mpc_cc_c union field.
5448 (test_functions): Add cpow.
5449 (special_fill_2pi): New function.
5450 (special_real_inputs): Add 2pi.
5451 (calc_generic_results): Handle mpc_cc_c.
5452 * sysdeps/i386/fpu/libm-test-ulps: Update.
5453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5454
7fda5682
JM
5455 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5456 csqrt, ctan and ctanh.
5457 * math/auto-libm-test-out: Regenerated.
5458 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5459 (TEST_COND_x86): Likewise.
5460 (ccos_test_data): Use AUTO_TESTS_c_c.
5461 (ccosh_test_data): Likewise.
5462 (cexp_test_data): Likewise.
5463 (clog_test_data): Likewise.
5464 (csqrt_test_data): Likewise.
5465 (ctan_test_data): Likewise.
5466 (ctan_tonearest_test_data): Likewise.
5467 (ctan_towardzero_test_data): Likewise.
5468 (ctan_downward_test_data): Likewise.
5469 (ctan_upward_test_data): Likewise.
5470 (ctanh_test_data): Likewise.
5471 (ctanh_tonearest_test_data): Likewise.
5472 (ctanh_towardzero_test_data): Likewise.
5473 (ctanh_downward_test_data): Likewise.
5474 (ctanh_upward_test_data): Likewise.
5475 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5476 mpc_c_c.
5477 (func_calc_desc): Add mpc_c_c union field.
5478 (FUNC_mpc_c_c): New macro.
5479 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5480 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5481 ctanh.
5482 (special_fill_min_subnorm_p120): New function.
5483 (special_real_inputs): Add min_subnorm_p120.
5484 (calc_generic_results): Handle mpc_c_c.
5485 * sysdeps/i386/fpu/libm-test-ulps: Update.
5486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5487
5ff8d60e
SP
54882013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5489
392dd2de
SP
5490 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5491 do_sin_slow): New functions.
5492 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5493 cslow2, csloww1, csloww2): Use the new functions.
5494
84ba214c
SP
5495 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5496 Use M to change sign of result instead of X. Assume X is
5497 positive.
5498 (csloww1): Likewise.
5499 (__sin): Adjust.
5500 (__cos): Adjust.
5501
975195e4
SP
5502 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5503 arguments A and DA.
5504 (__sin): Adjust.
5505 (__cos): Likewise.
5506
5ff8d60e
SP
5507 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5508 (__cos): Likewise.
5509 (sloww1): Don't adjust sign of DX.
5510 (csloww1): Likewise.
5511 (sloww2): Use X directly and don't adjust sign of DX.
5512 (csloww2): Likewise.
5513
eb983568
JM
55142013-12-19 Joseph Myers <joseph@codesourcery.com>
5515
64a17f1a
JM
5516 * math/auto-libm-test-in: Add tests of cabs and carg.
5517 * math/auto-libm-test-out: Regenerated.
5518 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5519 (carg_test_data): Likewise.
5520 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5521 mpc_c_f.
5522 (func_calc_desc): Add mpc_c_f union field.
5523 (test_functions): Add cabs and carg.
5524 (calc_generic_results): Handle mpc_c_f.
5525
eb983568
JM
5526 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5527 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5528 as a macro and a compat symbol.
5529 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5530 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5531 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5532 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5533 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5534 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5535 not use .hidden.
5536 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5537 Likewise.
5538 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5539 Likewise.
5540 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5541 Likewise.
5542 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5543 Likewise.
5544 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5545 Likewise.
5546 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5547 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5548 from GLIBC_2.3.2.
5549
6eeb678a
AZ
55502013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551
5552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5553
6f6fc482
JM
55542013-12-19 Joseph Myers <joseph@codesourcery.com>
5555
21fea2e2
JM
5556 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5557 trailing whitespace removed.
5558 * scripts/config.guess: Update to version 2013-11-29.
5559 * scripts/config.sub: Update to version 2013-10-01.
5560
6f6fc482
JM
5561 * math/auto-libm-test-in: Add tests of sincos.
5562 * math/auto-libm-test-out: Regenerated.
5563 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5565 mpfr_f_11.
5566 (func_calc_desc): Add mpfr_f_11 union field.
5567 (test_functions): Add sincos.
5568 (calc_generic_results): Handle mpfr_f_11.
5569 * sysdeps/i386/fpu/libm-test-ulps: Update.
5570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5571
83f5c32d
AS
55722013-12-19 Andreas Schwab <schwab@suse.de>
5573
5574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5575 CALL_MCOUNT.
5576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5577 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5578 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5579
c688b419
JM
55802013-12-19 Joseph Myers <joseph@codesourcery.com>
5581
335ee092
JM
5582 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5583 * sysdeps/i386/fpu/libm-test-ulps: Update.
5584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5585
f88acd39
JM
5586 [BZ #16293]
5587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5588 round-to-nearest mode when using frndint.
5589 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5590 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5591 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5592 Likewise.
5593 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5594 sinh test to fail.
5595 * math/auto-libm-test-out: Regenerated.
5596 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5597 (TEST_COND_x86): Likewise.
5598 (expm1_tonearest_test_data): New array.
5599 (expm1_test_tonearest): New function.
5600 (expm1_towardzero_test_data): New array.
5601 (expm1_test_towardzero): New function.
5602 (expm1_downward_test_data): New array.
5603 (expm1_test_downward): New function.
5604 (expm1_upward_test_data): New array.
5605 (expm1_test_upward): New function.
5606 (main): Run the new test functions.
5607 * sysdeps/i386/fpu/libm-test-ulps: Update.
5608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5609
c688b419
JM
5610 * include/features.h: Update comment documenting feature test
5611 macros. Mention _DEFAULT_SOURCE in comment.
5612 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5613 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5614 _BSD_SOURCE and _SVID_SOURCE.
5615 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5616 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5617 !_SVID_SOURCE]: Likewise.
5618 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5619 (__USE_POSIX_IMPLICITLY): Define.
5620 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5621 (_POSIX_SOURCE): Undefine and redefine.
5622 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5623 (_POSIX_C_SOURCE): Likewise.
5624 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5625 (Feature Test Macros): Update documentation of default features.
5626
9f6e964c
RS
56272013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5628
5629 * benchtests/Makefile: Add bench-strtok.
5630 * benchtests/bench-strtok.c: New file: strtok benchtest.
5631
ee0a148a
AM
56322013-12-19 Allan McRae <allan@archlinux.org>
5633
5634 * manual/install.texi: Suppress menu for plain text output.
5635 * INSTALL: Regenerated.
5636
b9ab448f
BM
56372013-12-18 Brooks Moses <bmoses@google.com>
5638
5639 [BZ #15846]
5640 * misc/getauxval.c: Include errno.h.
5641 (__getauxval): Set errno to ENOENT if the requested type is not
5642 found.
5643 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5644 don't declare with __attribute_const__.
5645 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5646 * manual/startup.texi: Document that getauxval sets errno.
5647
23776487
JM
56482013-12-18 Joseph Myers <joseph@codesourcery.com>
5649
f889953b
JM
5650 * math/auto-libm-test-in: Add tests of jn and yn.
5651 * math/auto-libm-test-out: Regenerated.
5652 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5653 (yn_test_data): Likewise.
5654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5655 mpfr_if_f.
5656 (func_calc_desc): Add mpfr_if_f union field.
5657 (FUNC_mpfr_if_f): New macro.
5658 (test_functions): Add jn and yn.
5659 (calc_generic_results): Assert type of second input for
5660 mpfr_ff_f. Handle mpfr_if_f.
5661 (output_for_one_input_case): Disable all checking for arguments
5662 fitting floating-point types in case of an integer argument.
5663 * sysdeps/i386/fpu/libm-test-ulps: Update.
5664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5665
23776487
JM
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5667 Don't expect fegetround reference in libm.so.
5668
cb756c6d
MS
56692013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5670
5671 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5672 $(config-cflags-nofma).
5673
2dec468f
JM
56742013-12-18 Joseph Myers <joseph@codesourcery.com>
5675
5953eb3a
JM
5676 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5677 * math/auto-libm-test-out: Regenerated.
5678
2dec468f
JM
5679 [BZ #16338]
5680 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5681 to determine exponent and adjust argument to have exponent of -1.
5682 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5683 log2.
5684 * math/auto-libm-test-out: Regenerated.
5685 * sysdeps/i386/fpu/libm-test-ulps: Update.
5686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5687
4d84e6ad
OB
56882013-12-18 Ondřej Bílka <neleai@seznam.cz>
5689
5690 * manual/probes.texi: Remove cases when per-thread arenas are
5691 disabled.
5692
1818483b
AS
56932013-12-18 Andreas Schwab <schwab@suse.de>
5694
5695 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5696 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5697 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5698 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5699 * sysdeps/i386/i686/multiarch/Makefile: Update.
5700 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5701
25de95bf
JM
57022013-12-17 Joseph Myers <joseph@codesourcery.com>
5703
5704 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5705 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5706
674762d9
PE
57072013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5708
ed27ed83 5709 [BZ #15968]
0748546f
PE
5710 Support TZ transition times < 00:00:00.
5711 This is needed for version-3 tz-format files; it supports time
5712 stamps past 2037 for America/Godthab (the only entry in the tz
5713 database for which this change is relevant).
5714 * manual/time.texi (TZ Variable): Document transition times
5715 from -167:59:59 through -00:00:01.
5716 * time/tzset.c (tz_rule): Time of day is now signed.
5717 (__tzset_parse_tz): Parse negative time of day.
5718
4480e934
PE
5719 Document TZ transition times >= 25:00:00.
5720 * manual/time.texi (TZ Variable): Document transition times from
5721 25:00:00 through 167:59:59. These are already supported, and this
5722 support will help with version-3 tz-format files.
5723
69947401
PE
5724 * manual/time.texi (TZ Variable): Modernize North America example
5725 to reflect current (i.e., 2007-and-later) daylight saving rules.
5726
674762d9
PE
5727 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5728
7011c262
JM
57292013-12-17 Joseph Myers <joseph@codesourcery.com>
5730
2fc6557e
JM
5731 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5732 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5735 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5736 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5737 * sysdeps/unix/bsd/clock.c: Likewise.
5738 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5739 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5740 * sysdeps/unix/bsd/init-posix.c: Likewise.
5741 * sysdeps/unix/bsd/poll.c: Likewise.
5742 * sysdeps/unix/bsd/ptsname.c: Likewise.
5743 * sysdeps/unix/bsd/seekdir.c: Likewise.
5744 * sysdeps/unix/bsd/setegid.c: Likewise.
5745 * sysdeps/unix/bsd/seteuid.c: Likewise.
5746 * sysdeps/unix/bsd/setgid.c: Likewise.
5747 * sysdeps/unix/bsd/setrgid.c: Likewise.
5748 * sysdeps/unix/bsd/setruid.c: Likewise.
5749 * sysdeps/unix/bsd/setsid.c: Likewise.
5750 * sysdeps/unix/bsd/setuid.c: Likewise.
5751 * sysdeps/unix/bsd/sigaction.c: Likewise.
5752 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5753 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5754 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5755 * sysdeps/unix/bsd/telldir.c: Likewise.
5756 * sysdeps/unix/bsd/times.c: Likewise.
5757 * sysdeps/unix/bsd/usleep.c: Likewise.
5758
029c7b25
JM
5759 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5760 ($(objpfx)libbsd-compat.a): Remove rule.
5761
7011c262
JM
5762 * include/features.h (__FAVOR_BSD): Do not define.
5763 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5764 features conflicting with POSIX.
5765 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5766 (_BSD_SOURCE): Remove description of not being a subset of other
5767 feature test macros.
5768 * manual/job.texi (getpgrp): Do not document BSD version.
5769 (getpgid): Do not document by reference to BSD getpgrp.
5770 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5771 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5772 * signal/signal.h [__FAVOR_BSD]: Likewise.
5773 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5774 instead of making contents conditional on [__FAVOR_BSD].
5775 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5776
affb6f78
AZ
57772013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5778
5779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5780
c88769dd
JM
57812013-12-17 Joseph Myers <joseph@codesourcery.com>
5782
6432a540
JM
5783 [BZ #16314]
5784 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5785 values below 2**-450, not 2**-500.
5786 * math/auto-libm-test-in: Don't allow spurious underflow from
5787 hypot.
5788 * math/auto-libm-test-out: Regenerated.
5789
c88769dd
JM
5790 [BZ #16316]
5791 [BZ #16330]
5792 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5793 values of ha and hb and sort them after adjusting subnormal
5794 arguments.
5795 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5796 Likewise.
5797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5798 values of ea and eb and sort them after adjusting subnormal
5799 arguments.
5800 * math/auto-libm-test-in: Do not expect some hypot tests of
5801 subnormals to fail. Add more hypot tests.
5802 * math/auto-libm-test-out: Regenerated.
5803
29618f6b
KK
58042013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5805
5806 [BZ #13304]
5807 * sysdeps/sh/s_fma.c: New file.
5808 * sysdeps/sh/s_fmaf.c: New file.
5809 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5810 version.
5811 * sysdeps/sh/Implies: Add sh/soft-fp.
5812
eacfdfbf
RM
58132013-12-16 Roland McGrath <roland@hack.frob.com>
5814
5815 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5816 level of indirection to members `objname', `errstring', `malloced'.
5817 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5818 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5819 it as the __longjmp argument (just pass 1 instead).
5820 (_dl_catch_error): Initialize C with argument pointers and address of
5821 volatile local ERRCODE rather than copying values out of C at return.
5822
ff362e5b
JM
58232013-12-16 Joseph Myers <joseph@codesourcery.com>
5824
5825 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5826 * math/auto-libm-test-out: Regenerated.
5827 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5828 (hypot_test_data): Likewise.
5829 (pow_test_data): Likewise.
5830 (pow_tonearest_test_data): Likewise.
5831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5832 mpfr_ff_f.
5833 (func_calc_desc): Add mpfr_ff_f union field.
5834 (FUNC_mpfr_ff_f): New macro.
5835 (test_functions): Add atan2, hypot and pow.
5836 (special_fill_min): New function.
5837 (special_fill_minus_min): Likewise.
5838 (special_fill_min_subnorm): Likewise.
5839 (special_fill_minus_min_subnorm): Likewise.
5840 (special_real_inputs): Add min, -min, min_subnorm and
5841 -min_subnorm.
5842 (calc_generic_results): Handle mpfr_ff_f.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5845
5764c27f
WN
58462013-12-16 Will Newton <will.newton@linaro.org>
5847
5848 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5849 (Aligned Memory Blocks): Add documentation for aligned_alloc
5850 and suggest it as an alternative to posix_memalign.
5851 (Hooks for Malloc): Document __memalign_hook is also called
5852 for aligned_alloc. (Summary of Malloc): Add summary for
5853 aligned alloc. Document __memalign_hook is also called
5854 for aligned_alloc.
5855
0a096e44
WN
58562013-12-16 Will Newton <will.newton@linaro.org>
5857
5858 * manual/memory.texi (Malloc Examples): Clarify default
5859 alignment documentation. Suggest posix_memalign rather
5860 than memalign or valloc.
5861 (Aligned Memory Blocks): Remove suggestion to use memalign
5862 or valloc. Remove obsolete comment about BSD.
5863 Document memalign errno values and mark the function obsolete.
5864 Document posix_memalign returned error codes. Mark valloc
5865 as obsolete. (Hooks for Malloc): __memalign_hook is also
5866 called for posix_memalign and valloc.
5867 (Summary of Malloc): Add posix_memalign to function summary.
5868 __memalign_hook is also called for posix_memalign and valloc.
5869
8d561986
SP
58702013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5873 TAYLOR_SIN.
5874 (__sin): Adjust.
5875 (__cos): Likewise.
5876 (sloww): Use mynumber union. Expand ternary operator into
5877 if-else statements.
5878 (cslow): use mynumber union.
5879
73616a74
AM
58802013-12-16 Allan McRae <allan@archlinux.org>
5881
9e8ac24b
AM
5882 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5883 * configure: Regenerated.
5884
6f8e37eb
AM
5885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5886
8894bad3
AM
5887 [BZ #14120]
5888 * configure.ac: Added --enable-maintainer-mode. Check for
5889 autoconf when enabled.
5890 * configure: Regenerated.
5891
73616a74
AM
5892 * nscd/nscd.service: New file.
5893 * nscd/nscd.tmpfiles: New file.
5894
584b18eb
OB
58952013-12-14 Ondřej Bílka <neleai@seznam.cz>
5896
5897 [BZ #12100]
5898 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5899 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5900 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5901 (strstr): Add __strstr_sse2_unaligned ifunc.
5902 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5903 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5904 (strcasestr): Remove __strcasestr_sse42 ifunc.
5905 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5908
8a5c7897
KK
59092013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5910
5911 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5912 * sysdeps/sh/bits/fenv.h: ... here.
5913 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5914
fd712ef3
AZ
59152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5916
5917 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5918
42fcb46c
AZ
59192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5920
5921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5922 hypotf multiarch implementations.
5923 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5925 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5926 multiarch hypot for PPC64.
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5930 multiarch hypotf for PPC64.
5931
83efded4
AZ
59322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5933
5934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5935 modff multiarch implementations.
5936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5939 multiarch modf for PPC64.
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5943 multiarch modff for PPC64.
5944
43e246d2
AZ
59452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946
5947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5948 and logl multiarch implementations.
5949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5952 multiarch logb for PPC64.
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5956 multiarch logb for PPC64.
5957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5960 multiarch logb for PPC64.
5961
8fdad123
AZ
59622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5963
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5965 isinff multiarch implementation.
5966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5967 file.
5968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5970 multiarch isinf for PPC64.
5971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5972 file.
5973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5974 multiarch isinff for PPC64.
5975
1481d706
AZ
59762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5977
5978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5979 finitef multiarch implementation.
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5981 file.
5982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5984 multiarch finite for PPC64.
5985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5986 file.
5987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5988 multiarch finitef for PPC64.
5989
5ccd5fc8
AZ
59902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5991
5992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5993 lrint multiarch implementation.
5994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5995 file.
5996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5998 multiarch llrint for PPC64.
5999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6000 multiarch lrint for PPC64.
6001
2568f3fa
AZ
60022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6003
6004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6005 copysignf multiarch implementation.
6006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6007 file.
6008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6009 file.
6010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6011 multiarch copysign for PPC64.
6012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6013 multiarch copysignf for PPC64.
6014
1cb341fd
AZ
60152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6016
6017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6018 multiarch implementation.
6019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6020 file.
6021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6022 file.
6023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6024 file.
6025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6026 file.
6027 multiarch llround for PPC64.
6028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6029 multiarch trunc for PPC64.
6030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6031 multiarch truncf for PPC64.
6032
59a3e194
AZ
60332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6034
6035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6036 multiarch implementation.
6037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6038 file.
6039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6040 file.
6041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6042 file.
6043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6044 file.
6045 multiarch llround for PPC64.
6046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6047 multiarch round for PPC64.
6048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6049 multiarch roundf for PPC64.
6050
357fd3b4
AZ
60512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6052
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6054 multiarch implementation.
6055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6056 file.
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6058 file.
6059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6060 file.
6061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6062 file.
6063 multiarch llround for PPC64.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6065 multiarch floor for PPC64.
6066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6067 multiarch floorf for PPC64.
6068
96770f12
AZ
60692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6070
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6072 multiarch implementation.
6073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6074 file.
6075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6076 file.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6078 file.
6079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6080 file.
6081 multiarch llround for PPC64.
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6083 multiarch ceil for PPC64.
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6085 multiarch ceilf for PPC64.
6086
c3627f6e
AZ
60872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6088
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6090 multiarch implementation.
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6092 file.
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6094 file.
6095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6096 file.
6097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6098 multiarch llround for PPC64.
6099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6100 multiarch lround for PPC64.
6101
b2284ad7
AZ
61022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6103
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6105 multiarch implementation.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6109 file.
6110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6113 multiarch isnan for PPC64.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6115 multiarch isnanf for PPC64.
6116
69bbc63d
AZ
61172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6118
6119 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6120 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6121 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6122 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6123 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6125
c24517c9
AZ
61262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6127
6128 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6129 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6132
a52374e8
AZ
61332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6134
6135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6136 multiarch implementations.
6137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6138 (__libc_ifunc_impl_list): Likewise.
6139 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6140 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6141 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6142 multiarch stpcpy for PPC64.
6143
7f5ec113
AZ
61442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6145
6146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6147 multiarch implementations.
6148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6149 (__libc_ifunc_impl_list): Likewise.
6150 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6151 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6152 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6153 multiarch strcpy for PPC64.
6154
e28bcd42
AZ
61552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6156
6157 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6158 redefine function name.
6159 (_wordcopy_fwd_dest_aligned): Likewise.
6160 (_wordcopy_bwd_aligned): Likewise.
6161 (_wordcopy_bwd_dest_aligned): Likewise.
6162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6163 multiarch implementations.
6164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6165 (__libc_ifunc_impl_list): Likewise.
6166 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6167 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6168 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6169 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6170 multiarch wcscpy for PPC64.
6171
92cacfce
AZ
61722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6173
6174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6175 multiarch implementations.
6176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6177 (__libc_ifunc_impl_list): Likewise.
6178 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6179 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6181 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6182 multiarch wcscpy for PPC64.
6183
7b714620
AZ
61842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185
6186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6187 multiarch implementations.
6188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6189 (__libc_ifunc_impl_list): Likewise.
6190 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6191 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6192 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6193 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6194 multiarch wcsrchr for PPC64.
6195
16fd2ae3
AZ
61962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6197
6198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6199 multiarch implementations.
6200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6201 (__libc_ifunc_impl_list): Likewise.
6202 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6203 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6204 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6205 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6206 multiarch wcschr for PPC64.
6207
9ee2969b
AZ
62082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6209
6210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6211 multiarch implementations.
6212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6213 (__libc_ifunc_impl_list): Likewise.
6214 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6215 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6216 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6217 multiarch strchrnul for PPC64.
6218
372dc060
AZ
62192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220
6221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6222 implementations.
6223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6224 (__libc_ifunc_impl_list): Likewise.
6225 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6226 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6227 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6228 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6229 strchr for PPC64.
6230
24c2c3b9
AZ
62312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6232
6233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6234 implementations.
6235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6236 (__libc_ifunc_impl_list): Likewise.
6237 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6238 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6239 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6240 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6241 strncmp for PPC64.
6242
1c92d9a0
AZ
62432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244
6245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6246 multiarch implementations.
6247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6248 (__libc_ifunc_impl_list): Likewise.
6249 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6250 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6251 strncasecmp for PPC64.
6252 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6253 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6254 multiarch strncasecmp_l for PPC64.
6255
17de3ee3
AZ
62562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6257
6258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6259 multiarch implementations.
6260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6261 (__libc_ifunc_impl_list): Likewise.
6262 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6264 multiarch strcasecmp for PPC64.
6265 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6266 file.
6267 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6268 multiarch strcasecmp_l for PPC64.
6269
62982bf9
AZ
62702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6271
6272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6273 implementations.
6274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6275 (__libc_ifunc_impl_list): Likewise.
6276 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6277 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6278 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6279 strnlen for PPC64.
6280
a65f4904
AZ
62812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282
6283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6284 implementations.
6285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6286 (__libc_ifunc_impl_list): Likewise.
6287 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6288 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6289 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6290 strlen for PPC64.
6291
1fd005ad
AZ
62922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6293
6294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6295 implementations.
6296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6297 (__libc_ifunc_impl_list): Likewise.
6298 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6299 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6300 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6301 rawmemrchr for PPC64.
6302
cd05ba91
AZ
63032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6304
6305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6306 implementation.
6307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6308 (__libc_ifunc_impl_list): Likewise.
6309 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6310 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6311 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6312 memrchr for PPC64.
6313
870f8676
AZ
63142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6315
6316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6317 implementation.
6318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6319 (__libc_ifunc_impl_list): Likewise.
6320 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6321 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6322 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6323 memchr for PPC64.
6324
f00be62b
AZ
63252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6326
6327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6328 implementation.
6329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6330 (__libc_ifunc_impl_list): Likewise.
6331 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6332 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6333 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6334 mempcpy for PPC64.
6335
8a29a3d0
AZ
63362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6337
6338 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6339 avoid cretion of __bzero symbol.
6340 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6341 Likewise.
6342 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6343 Likewise.
6344 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6345 Likewise.
6346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6347 multiarch implementations.
6348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6349 (__libc_ifunc_impl_list): Likewise.
6350 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6351 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6352 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6353 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6354 bzero for PPC32.
6355 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6356 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6357 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6358 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6359 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6360 memset for PPC64.
6361 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6362
07253fcf
AZ
63632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6364
6365 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6367 implementations.
6368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6369 (__libc_ifunc_impl_list): Likewise.
6370 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6371 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6372 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6373 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6374 memcmp for PPC64.
6375
b5beafbc
AZ
63762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6377
6378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6379 multiarch for POWER/PPC64.
6380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6381 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6382 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6383 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6384 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6385 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6386 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6388 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6389 memcpy for PPC64.
6390
5e6a4d4b
AZ
63912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6392
6393 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6394 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6395 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6396 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6397 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6398 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6399 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6400 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6401 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6402 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6403 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6404 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6405 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6406 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6407 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6415
ddfab6dc
KK
64162013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6417
6418 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6419
19b5525e
SP
64202013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6421
6422 * benchtests/Makefile (bench): Add exp2 and log2.
6423 (LDLIBS-bench-exp2): Add -lm.
6424 (LDLIBS-bench-log2): Likewise.
6425 * benchtests/exp2-inputs: New inputs file.
6426 * benchtests/log2-inputs: New inputs file.
6427 * benchtests/log-inputs: Add new inputs.
6428 * benchtests/tan-inputs: Likewise.
6429
196f7f5d
SP
64302013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6431
7a74607f
SP
6432 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6433 definition...
6434 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6435 csloww1, csloww2): ... from here.
6436
196f7f5d
SP
6437 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6438 instead of structures.
6439 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6440 (POLYNOMIAL): Likewise.
6441 (TAYLOR_SLOW): Likewise.
6442 (__sin): Likewise.
6443 (__cos): Likewise.
6444 (slow1): Likewise.
6445 (slow2): Likewise.
6446 (sloww): Likewise.
6447 (sloww1); Likewise.
6448 (sloww2): Likewise.
6449 (bsloww1): Likewise.
6450 (bsloww2): Likewise.
6451 (cslow2): Likewise.
6452 (csloww): Likewise.
6453 (csloww1): Likewise.
6454 (csloww2): Likewise.
6455
0dfa665c
OB
64562013-12-10 Ondřej Bílka <neleai@seznam.cz>
6457
6458 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6459 (__malloc_assert, __libc_realloc, __libc_calloc,
6460 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6461 memcpy and memset.
6462 * malloc/hooks.c (realloc_check): Likewise.
6463
5782a80f
OB
64642013-12-10 Ondřej Bílka <neleai@seznam.cz>
6465
6466 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6467 * malloc/arena.c: Remove PER_THREAD conditional.
6468 [!PER_THREAD]: Remove code.
6469 (ptmalloc_unlock_all2): Likewise.
6470 (ptmalloc_init): Likewise.
6471 (_int_new_arena): Likewise.
6472 (arena_get2): Likewise.
6473 * malloc/hooks.c (__malloc_get_state): Likewise.
6474 (__malloc_set_state): Likewise.
6475 * malloc/malloc.c: Likewise.
6476 (struct malloc_state): Likewise.
6477 (struct malloc_par): Likewise.
6478 (__libc_realloc): Likewise.
6479 (__libc_mallopt): Likewise.
6480
aeb95445
AZ
64812013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6482
6483 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6484
e8349efd
OB
64852013-12-09 Ondřej Bílka <neleai@seznam.cz>
6486
6487 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6488 macro to a function. Check for zero perturb_byte.
6489 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6490
f3eeb3fc
OB
64912013-12-09 Ondřej Bílka <neleai@seznam.cz>
6492
6493 * malloc/malloc.c: (force_reg): Remove.
6494 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6495 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6496 force_reg by atomic_forced_read.
6497 * malloc/arena.c (ptmalloc_init): Likewise.
6498 * malloc/hooks.c (top_check): Likewise.
6499
be2f9009
AZ
65002013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6501
6502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6503
e7b914bd
MT
65042013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6505
6506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6507
9f0be4f8
JM
65082013-12-08 Joseph Myers <joseph@codesourcery.com>
6509
6510 * math/auto-libm-test-in: Add tests of lgamma.
6511 * math/auto-libm-test-out: Regenerated.
6512 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6513 (M_LOG_2_SQRT_PIl): Likewise.
6514 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6515 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6516 mpfr_f_f1.
6517 (func_calc_desc): Add mpfr_f_f1 union field.
6518 (ARGS1): New macro.
6519 (ARGS2): Likewise.
6520 (ARGS3): Likewise.
6521 (ARGS4): Likewise.
6522 (RET1): Likewise.
6523 (RET2): Likewise.
6524 (CALC): Likewise.
6525 (FUNC): Likewise.
6526 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6527 (test_functions): Add lgamma.
6528 (calc_generic_results): Handle mpfr_f_f1.
6529 * sysdeps/i386/fpu/libm-test-ulps: Update.
6530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6531
24eeafdb
AZ
65322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6533
6534 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6535 __mpn_add_n for PowerPC64/POWER7.
6536 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6537 __mpn_sub_n for PowerPC64/POWER7.
6538
4a2c0fd4
AZ
65392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6540
6541 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6542 __mpn_addmul_1 for PowerPC64.
6543 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6544 __mpn_submul_1 for PowerPC64.
6545 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6546 for PowerPC64.
6547 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6548 for PowerPC64.
6549
4b5b548c
FS
65502013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6551
6552 [BZ #15089]
6553 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6554
0a3ac0aa
AZ
65552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6556
6557 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6558
ccdc8438
AZ
65592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560
6561 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6562 add multiarch folders.
6563 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6564 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6565 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6566 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6567 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6568 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6569 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6570 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6571 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6572 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6573 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6580
2e973d99
AZ
65812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6584 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6586 New file.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6588 New file.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6590 multiarch __ieee754_hypot for PowerPC32.
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6592 New file.
6593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6594 New file.
6595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6596 multiarch __ieee754_hypotf for PowerPC32.
6597
2d9470b2
AZ
65982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6599
6600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6601 long_double_symbol only if __logbl is defined.
6602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6603 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6605 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6607 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6608 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6609 path for implementation.
6610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6611 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6613 logb, and logbl multiarch implementations for PowerPC32.
6614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6615 file.
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6617 file.
6618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6619 multiarch logb for PowerPC32.
6620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6621 file.
6622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6623 file.
6624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6625 multiarch logbf for PowerPC32.
6626 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6628 file.
6629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6630 multiarch logbl implementation for PowerPC32.
6631
5212ffce
AZ
66322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6635 and modff multiarch implementations.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6637 New file.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6639 New file.
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6641 multiarch modf for PowerPC32.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6643 New file.
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6645 New file.
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6647 multiarch modff for PowerPC32.
6648
79dccf31
AZ
66492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6650
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6652 and lrintf multiarch implementations.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6654 New file.
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6656 New file.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6658 multiarch lrint for PowerPC32.
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6660 file: multiarch lrintf for PowerPC32.
6661
deb66480
AZ
66622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6663
6664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6665 and lroundf multiarch implementations.
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6667 New file.
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6669 New file.
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6671 New file.
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6673 multiarch lround for PowerPC32.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6675 file: multiarch lroundf for PowerPC32.
6676
264b036b
AZ
66772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6678
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6680 copysign and copysignf multiarch implementations.
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6682 New file.
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6684 New file.
6685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6686 file: multiarch copysign for PowerPC32.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6688 file: multiarch copysignf for PowerPC32.
6689
d47db6c9
AZ
66902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6693 and truncf multiarch implementations.
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6695 New file.
6696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6697 file.
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6699 multiarch trunc for PowerPC32.
6700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6701 New file.
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6703 New file.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6705 multiarch truncf for PowerPC32.
6706
ddb60b5a
AZ
67072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6708
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6710 and roundf multiarch implementations.
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6712 New file.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6714 file.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6716 multiarch round for PowerPC32.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6718 New file.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6720 New file.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6722 multiarch roundf for PowerPC32.
6723
bedcf49b
AZ
67242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6725
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6727 and floorf multiarch implementations.
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6729 New file.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6731 file.
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6733 multiarch floor for PowerPC32.
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6735 New file.
6736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6737 New file.
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6739 multiarch floorf for PowerPC32.
6740
35ae5b40
AZ
67412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6742
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6744 and ceilf multiarch implementations.
6745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6746 New file.
6747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6748 file.
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6750 multiarch ceil for PowerPC32.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6752 New file.
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6754 file.
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6756 multiarch ceilf for PowerPC32.
6757
ae1a4cd9
AZ
67582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6759
6760 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6761 is defined.
6762 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6763 FINITEF is defined.
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6765 and finitef multiarch implementations.
6766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6767 New file.
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6769 file.
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6771 multiarch finite for PowerPC32.
6772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6773 New file.
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6775 file: multiarch finitef for PowerPC32.
6776
64fffd65
AZ
67772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6780 and isinff multiarch implementations.
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6782 file.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6784 file.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6786 multiarch isinf for PowerPC32.
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6788 New file.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6790 multiarch isinff for PowerPC32.
6791
8e4e7ba2
AZ
67922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793
6794 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6795 alias when __isnan is defined.
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6797 and isnanf multiarch implementations.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6799 file.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6801 file.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6803 file.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6805 file.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6807 multiarch isnan for PowerPC32.
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6809 New file.
6810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6811 New file.
6812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6813 multiarch isnanf for PowerPC32.
6814
ddba588e
AZ
68152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6816
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6818 and sqrtf multiarch implementations.
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6820 file.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6822 file.
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6824 multiarch sqrt for PowerPC32.
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6826 file.
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6828 file.
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6830 multiarch sqrtf for PowerPC32.
6831
0f96a2f0
AZ
68322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6835 and llroundf multiarch implementations.
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6837 New file.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6839 New file.
6840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6841 New file.
6842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6843 file: multiarch llround for PowerPC32.
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6845 file: multiarch llroundf for PowerPC32.
6846
c9b5d79e
AZ
68472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6848
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6850 multiarch PowerPC32 fpu implementations.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6852 New file.
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6854 New file.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6856 multiarch llrint for PowerPC32.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6858 New file.
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6860 New file.
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6862 file.
6863
9cbb3aab
AZ
68642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6867
ea5a72f8
AZ
68682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6869
6870 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6871 file.
6872 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6873 file.
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6875 file.
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6877 multiarch wordcopy for PPC32.
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6879 wordcopy objects.
6880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6881 (__libc_ifunc_impl_list): Likewise.
6882 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6883 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6884 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6885 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6886 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6887 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6888
93be09e7
AZ
68892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6890
6891 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6893 file.
6894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6895 file.
6896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6897 file.
6898 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6899 multiarch wcscpy for PPC32.
6900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6901 multiarch objects.
6902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6903 (__libc_ifunc_impl_list): Likewise.
6904 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6905 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6906 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6907 sysdeps/powerpc/power6/wcscpy.c.
6908
bb04e529
AZ
69092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6910
6911 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6913 file.
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6915 file.
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6917 file.
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6919 multiarch wcsrchr for PPC32.
6920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6921 multiarch objects.
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6923 (__libc_ifunc_impl_list): Likewise.
6924 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6925 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6926 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6927 sysdeps/powerpc/power6/wcsrchr.c.
6928
05b5cd1c
AZ
69292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6930
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6932 file.
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6934 file.
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6937 multiarch wcschr for PPc32.
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6939 multiarch objects.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6941 (__libc_ifunc_impl_list): Likewise.
6942 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6943 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6944 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6945 sysdeps/powerpc/power6/wcschr.c.
6946
ba964147
AZ
69472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6951 file.
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6953 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6954 file: multiarch strchr for PPC32.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6956 multiarch objects.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6958 (__libc_ifunc_impl_list): Likewise.
6959
31c81aaa
AZ
69602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6961
6962 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6963 name.
6964 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6965 file.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6967 file.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6969 multiarch strchrnul for PPC32.
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6971 multiarch objects.
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6973 (__libc_ifunc_impl_list): Likewise.
6974
0d0607d9
AZ
69752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6976
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6978 file.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6980 multiarch strncasecmp for PPC32.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6982 file.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6984 multiarch strncasecmp_l for PPC32.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6986 strncasecmp multiarch objects.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6988 (__libc_ifunc_impl_list): Likewise.
6989
4dfd5c86
AZ
69902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6991
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6993 file.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6995 multiarch strncasecmp for PPC32.
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6997 New file.
6998 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6999 multiarch strcasecmp_l for PPC32.
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7001 multiarch objects.
7002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7003 (__libc_ifunc_impl_list): Likewise.
7004
a19e01a3
AZ
70052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7006
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7008 file.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7010 file.
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7012 multiarch strncmp for PPC32.
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7014 multiarch objects.
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7016 (__libc_ifunc_impl_list): Likewise.
7017
ae9cf7a2
AZ
70182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7019
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7021 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7022 file.
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7024 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7026 multiarch objects.
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7028 (__libc_ifunc_impl_list): Likewise.
7029
3148bb7d
AZ
70302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7031
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7033 file.
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7035 file.
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7038 multiarch objects.
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7040 (__libc_ifunc_impl_list): Likewise.
7041
7af8b946
AZ
70422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7043
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7045 file.
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7047 file.
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7049 multiarch rawmemchr for PPC32.
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7051 multiarch objects.
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7053 (__libc_ifunc_impl_list): Likewise.
7054
03a6aa6a
AZ
70552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7056
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7058 file.
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7060 file.
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7062 file: memrchr multiarch for PPC32.
7063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7064 multiarch objects.
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7066 (__libc_ifunc_impl_list): Likewise.
7067
1c62e6d9
AZ
70682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7069
7070 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7072 file.
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7075 multiarch memchr for PPC32.
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7077 multiarch objects.
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7079 (__libc_ifunc_impl_list): Likewise.
7080
87da8bdb
AZ
70812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082
7083 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7085 file.
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7087 file.
7088 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7089 file: multiarch mempcpy for PPC32.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7091 multiarch objects.
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7093 (__libc_ifunc_impl_list): Likewise.
7094
20ed4714
AZ
70952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7096
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7099 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7101 multiarch bzero for PPC32.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7103 file.
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7105 file.
7106 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7107 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7108 file: multiarch memset for PPC32.
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7111 memset multiarch objects.
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7113 (__libc_ifunc_impl_list): Likewise.
7114
ab3e3a46
AZ
71152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7116
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7118 file.
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7120 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7121 memcmp for PPC32.
7122 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7124 multiarch objects.
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7126 (__libc_ifunc_impl_list): Likewise.
7127
930de6f0
AZ
71282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7129
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7131 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7133 file.
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7135 file.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7137 file.
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7139 multiarch memcpy for PPC32.
7140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7141 multiarch objects.
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7143 (__libc_ifunc_impl_list): Likewise.
7144
4c628e00
AZ
71452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7146
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7148 support multiarch for POWER/PPC32.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7150 Likewise.
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7153 Implies file to make multiarch folder appers before the fpu and
7154 default folder for power4 configuration.
7155
f4479220
SP
71562013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7157
7158 * scripts/bench.pl: Append volatile keyword to type.
7159
8517800f
KK
71602013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7161
7162 * sysdeps/sh/sotruss-lib.c: New file.
7163 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7164
180138f1
AZ
71652013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7166
7167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7168
bbf37bdc
JM
71692013-12-05 Joseph Myers <joseph@codesourcery.com>
7170
e47cc4e0
JM
7171 [BZ #6810]
7172 * math/w_tgamma.c: Include <errno.h>.
7173 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7174 * math/w_tgammaf.c: Include <errno.h>.
7175 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7176 * math/w_tgammal.c: Include <errno.h>.
7177 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7178 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7179 underflow. Add more tgamma tests.
7180 * math/auto-libm-test-out: Regenerated.
7181 * sysdeps/i386/fpu/libm-test-ulps: Update.
7182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7183
bbf37bdc
JM
7184 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7185 sin, sinh, tan, tanh, tgamma, y0 and y1.
7186 * math/auto-libm-test-out: Regenerated.
7187 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7188 (TEST_COND_x86): Likewise.
7189 (M_E2l): Remove macro.
7190 (M_E3l): Likewise.
7191 (M_2_SQRT_PIl): Likewise.
7192 (M_SQRT_PIl): Likewise.
7193 (M_1_DIV_El): Likewise.
7194 (log_test_data): Use AUTO_TESTS_f_f.
7195 (log10_test_data): Likewise.
7196 (log1p_test_data): Likewise.
7197 (log2_test_data): Likewise.
7198 (sin_test_data): Likewise.
7199 (sin_tonearest_test_data): Likewise.
7200 (sin_towardzero_test_data): Likewise.
7201 (sin_downward_test_data): Likewise.
7202 (sin_upward_test_data): Likewise.
7203 (sinh_test_data): Likewise.
7204 (sinh_tonearest_test_data): Likewise.
7205 (sinh_towardzero_test_data): Likewise.
7206 (sinh_downward_test_data): Likewise.
7207 (sinh_upward_test_data): Likewise.
7208 (tan_test_data): Likewise.
7209 (tan_tonearest_test_data): Likewise.
7210 (tan_towardzero_test_data): Likewise.
7211 (tan_downward_test_data): Likewise.
7212 (tan_upward_test_data): Likewise.
7213 (tanh_test_data): Likewise.
7214 (tgamma_test_data): Likewise.
7215 (y0_test_data): Likewise.
7216 (y1_test_data): Likewise.
7217 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7218 (special_real_inputs): Add pi/4.
7219 * sysdeps/i386/fpu/libm-test-ulps: Update.
7220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221
eb5ad6b9
AZ
72222013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7223
7224 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7225 "longjmp_target" static probes.
7226 (__longjmp): Rename to __longjmp_symbol.
7227 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7228 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7229 on which longjmp to generate.
7230 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7231 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7232 probe.
7233 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7234 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7235 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7236 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7237 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7238 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7240 __longjmp_symbol based on which __longjmp to generate.
7241 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7242 probe.
7243 (setjmp): Rename to setjmp_symbol.
7244 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7245 (_setjmp): Rename to _setjmp_symbol.
7246 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7247 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7248 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7249 which setjmp to generate.
7250 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7251 "longjmp_target" static probes.
7252
d136c6dc
SP
72532013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7254
9298ecba
SP
7255 * benchtests/README: Add note about output arguments.
7256 * benchtests/bench-sincos.c: Remove file.
7257 * benchtests/sincos-inputs: New file.
7258 * scripts/bench.pl: Identify output arguments and define
7259 static variables for them.
7260
232983e9
SP
7261 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7262
d136c6dc
SP
7263 [BZ #15941]
7264 * Makefile (INSTALL): Add install-plain.texi as the primary
7265 dependency.
7266 * manual/install-plain.texi: New file.
7267 * manual/install.texi: Include node directive only for
7268 non-plaintext output.
7269
699ff837
JM
72702013-12-04 Joseph Myers <joseph@codesourcery.com>
7271
ab07cea8
JM
7272 * stdlib/longlong.h: Update from GCC.
7273
699ff837
JM
7274 [BZ #6807]
7275 [BZ #15901]
7276 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7277 * math/w_j0f.c (y0f): Likewise.
7278 * math/w_j0l.c (__y0l): Likewise.
7279 * math/w_j1.c (y1): Likewise.
7280 * math/w_j1f.c (y1f): Likewise.
7281 * math/w_j1l.c (__y1l): Likewise
7282 * math/w_jn.c (yn): Likewise.
7283 * math/w_jnf.c (ynf): Likewise.
7284 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7285 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7286 value for Bessel function domain errors outside _SVID_ mode.
7287 Adjust sign of return value for yn (negative integer, 0).
7288 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7289 by zero in return for negative x and set sign appropriately for
7290 negative n.
7291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7292 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7293 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7294 expectations in error cases.
7295 (y1_test_data): Likewise.
7296 (yn_test_data): Likewise.
7297 * sysdeps/i386/fpu/libm-test-ulps: Update.
7298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7299
5b118558
UW
73002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7301
7302 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7303 "64" to "64-v1". Add "64-v2".
7304 (abi-64-options): Rename to ...
7305 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7306 (abi-64-condition): Rename to ...
7307 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7308 (abi-64-ld-soname): Rename to ...
7309 (abi-64-v1-ld-soname): ... this.
7310 (abi-64-v2-options): Define.
7311 (abi-64-v2-condition): Likewise.
7312 (abi-64-v2-ld-soname): Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7314 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7318
61cd8fe4
UW
73192013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7320 Alan Modra <amodra@gmail.com>
7321
7322 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7323 New versions for use with the ELFv2 ABI.
7324 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7325 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7326 declaration.
7327 (struct La_ppc64v2_retval): Likewise.
7328 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7329 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7330 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7331 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7332 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7333 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7334 Do not save or restore CR.
7335 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7336 (_dl_profile_resolve): Do no save or restore CR. Support extended
7337 return values for ELFv2 ABI. Fix location of FPR return registers.
7338 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7339 updated values for _CALL_ELF == 2.
7340 (La_regs, La_retval, int_retval): Likewise.
7341
8b8a692c
UW
73422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7343
7344 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7345 (FRAME_MIN_SIZE_PARM): Likewise.
7346 (FRAME_BACKCHAIN): Likewise.
7347 (FRAME_CR_SAVE): Likewise.
7348 (FRAME_LR_SAVE): Likewise.
7349 (FRAME_TOC_SAVE): Likewise.
7350 (FRAME_PARM_SAVE): Likewise.
7351 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7352 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7353 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7354 (call_mcount_parm_offset): New macro.
7355 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7356 (PROF): Use symbolic stack frame offsets.
7357 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7358 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7359 Redefine in terms of FRAME_MIN_SIZE.
7360 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7361 (_dl_profile_resolve): Likewise. Update comment.
7362 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7363 symbols stack frame offsets.
7364 (__sigsetjmp): Likewise.
7365 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7366 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7367 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7368 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7369
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7371 (FRAME_BACKCHAIN): Remove.
7372 (FRAME_CR_SAVE): Likewise.
7373 (FRAME_LR_SAVE): Likewise.
7374 (FRAME_COMPILER_DW): Likewise.
7375 (FRAME_LINKER_DW): Likewise.
7376 (FRAME_TOC_SAVE): Likewise.
7377 (FRAME_PARM_SAVE): Likewise.
7378 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7379 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7380 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7382 (CHECK_SP): Use symbolic stack frame offsets.
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7384 zone" instead of caller's parameter save area for temp storage.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7386 Likewise. Also, use symbolic stack frame offsets.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7388 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7389 our own stack frame instead of the caller's.
7390 (__socket): Use symbolic stack frame offsets.
7391
122b66de
UW
73922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7393 Alan Modra <amodra@gmail.com>
7394
7395 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7396 Define.
7397 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7398 PPC64_LOCAL_ENTRY_OFFSET): Define.
7399 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7400 New function.
7401 (elf_machine_fixup_plt): Call it.
7402 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7403 reloc arguments.
7404 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7405 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7406 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7407 r2 before calling target.
7408
696caf1d
UW
74092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7410 Alan Modra <amodra@gmail.com>
7411
7412 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7413 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7414 versions of macros to support ELFv2 ABI.
7415 (LOCALENTRY): New macro.
7416 (ENTRY, EALIGN): Use it.
7417 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7418 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7419 fall through into ENTRY entry point.
7420 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7421 Only define if _CALL_ELF != 2.
7422
7423 (elf_machine_matches_host): Verify ABI version matches.
7424 (RTLD_START): Use LOCALENTRY.
7425 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7426 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7427 (PLT_ENTRY_WORDS): New macro.
7428 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7429 (elf_machine_runtime_setup): Support ELFv2 ABI.
7430 (elf_machine_fixup_plt): Likewise.
7431 (elf_machine_plt_conflict): Likewise.
7432 (resolve_ifunc): Likewise.
7433 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7434 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7435 Likewise.
7436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7437 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7439 (makecontext): Support ELFv2 ABI.
7440 * elf/elf.h (EF_PPC64_ABI): Define.
7441
d31beafa
UW
74422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7443
7444 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7445 New assembler macro.
7446 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7447 [ASSEMBLER] (ENTRY): ... but instead here ...
7448 [ASSEMBLER] (EALIGN): ... and here.
7449 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7450 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7451 [!ASSEMBLER] (ENTRY_2): Use it.
7452 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7453 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7454 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7455 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7456 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7458 Use PPC64_LOAD_FUNCPTR.
7459
b525166b
UW
74602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7461
7462 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7463
7ec07d9a
AM
74642013-12-04 Alan Modra <amodra@gmail.com>
7465
7466 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7467 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7468 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7469 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7470
7471 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7472 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7473 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7474 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7475 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7476 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7477
5162e7dd
UW
74782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7479
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7481 (__makecontext): Fix incorrect CFI when backtracing out of
7482 context created via makecontext.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7484 (__setcontext): Fix incorrect CFI during switch to new context.
7485 (__novec_setcontext): Likewise.
7486
19e3372b
OB
74872013-12-04 Ondřej Bílka <neleai@seznam.cz>
7488
7489 [BZ #4772]
7490 * time/strptime_l.c (__strptime_internal): Allow modifiers
7491 in strptime.
7492 * time/tst-strptime.c (day_tests): Add testcase.
7493
7494
ecaf142d
SP
74952013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7496
7497 * scripts/bench.pl: Skip over blank lines.
7498
fbf964ae
PE
74992013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7500
7501 [BZ #926]
7502 * manual/time.texi (Calendar Time): Clarify what timezone functions
7503 use.
7504
fa60a674
AZ
75052013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7506
7507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7508
d674f0ef
OB
75092013-12-04 Ondřej Bílka <neleai@seznam.cz>
7510
7511 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7512 implementation.
7513 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7514 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7515 * debug/memset_chk.c (__memset_chk): Likewise.
7516 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7517 * debug/strncpy_chk.c: Likewise.
7518
17dea188
JM
75192013-12-03 Joseph Myers <joseph@codesourcery.com>
7520
749008ff
JM
7521 [BZ #15268]
7522 [BZ #15425]
7523 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7524 (__ieee754_exp): For possibly underflowing results, check size of
7525 result and force underflow exception if required.
7526 * math/auto-libm-test-in: Add more tests of exp.
7527 * math/auto-libm-test-out: Regenerated.
7528 * sysdeps/i386/fpu/libm-test-ulps: Update.
7529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7530
17dea188
JM
7531 [BZ #16283]
7532 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7533 * math/w_exp2f.c (__exp2f): Likewise.
7534 * math/w_exp2l.c (__exp2l): Likewise.
7535 * math/auto-libm-test-in: Do not allow missing errno on exp2
7536 underflow.
7537 * math/auto-libm-test-out: Regenerated.
7538
b20de2c3
OB
75392013-12-03 Ondřej Bílka <neleai@seznam.cz>
7540
7541 [BZ #16274]
7542 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7543 handle filename validation.
7544 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7545 (do_open): Delete.
7546
d8e2dbe3
JM
75472013-12-03 Joseph Myers <joseph@codesourcery.com>
7548
34e16df5
JM
7549 [BZ #6786]
7550 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7551 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7552 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7553 <float.h>.
7554 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7555 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7556 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7558 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7559 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7560 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7561 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7562 Add more erfc tests.
7563 * math/auto-libm-test-out: Regenerated.
7564 * sysdeps/i386/fpu/libm-test-ulps: Update.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7566
d8e2dbe3
JM
7567 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7568 exp2, expm1, j0 and j1.
7569 * math/auto-libm-test-out: Regenerated.
7570 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7571 (erfc_test_data): Likewise.
7572 (exp_test_data): Likewise.
7573 (exp_tonearest_test_data): Likewise.
7574 (exp_towardzero_test_data): Likewise.
7575 (exp_downward_test_data): Likewise.
7576 (exp_upward_test_data): Likewise.
7577 (exp10_test_data): Likewise.
7578 (exp2_test_data): Likewise.
7579 (expm1_test_data): Likewise.
7580 (j0_test_data): Likewise.
7581 (j1_test_data): Likewise.
7582 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7583 (input_flag_type): Add flag_xfail_rounding.
7584 (input_flags): Add xfail-rounding.
7585 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7586 (output_for_one_input_case): Handle flag_xfail_rounding.
7587 * sysdeps/i386/fpu/libm-test-ulps: Update.
7588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7589
18d14251
AJ
75902013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7591
3d2e6075 7592 [BZ #16289]
18d14251
AJ
7593 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7594 division by 0.
7595
520d437b
SP
75962013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7597
7598 [BZ #16195]
7599 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7600 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7601 (STAP_PROBE0): New macro.
7602 (STAP_PROBE1): Likewise.
7603 (STAP_PROBE2): Likewise.
7604 (STAP_PROBE3): Likewise.
7605 (STAP_PROBE4): Likewise.
7606
416e0145
OB
76072013-12-02 Ondřej Bílka <neleai@seznam.cz>
7608
7609 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7610
9d17796a
SE
76112013-12-02 Steve Ellcey <sellcey@mips.com>
7612
7613 * benchtests/Makefile (bench): Add sqrt.
7614 (LDLIBS-bench-sqrt): New.
7615 * benchtests/sqrt-input: New.
7616
f524d6a8
PS
76172013-12-02 Pavel Simerda <psimerda@redhat.com>
7618
639a0ef8
PS
7619 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7620 (GAIH_EAI): Likewise.
7621 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7622 (gaih_inet): Likewise.
7623 (getaddrinfo): Don't use GAIH_EAI.
7624
f524d6a8
PS
7625 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7626 (struct gaih): Remove definition.
7627
df3aedaf
SP
76282013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7629
7630 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7631 Use HERRNOP directly.
7632
1ab19dec
AZ
76332013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7634
b42ad38d 7635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7636
176b0c79
JM
76372013-11-30 Joseph Myers <joseph@codesourcery.com>
7638
7639 * math/gen-auto-libm-tests.c (test_functions): Add more
7640 single-argument functions.
7641 (special_fill_pi_2): New function.
7642 (special_fill_minus_pi_2): Likewise.
7643 (special_fill_pi_6): Likewise.
7644 (special_fill_minus_pi_6): Likewise.
7645 (special_fill_pi_3): Likewise.
7646 (special_fill_2pi_3): Likewise.
7647 (special_fill_e): Likewise.
7648 (special_fill_1_e): Likewise.
7649 (special_fill_e_minus_1): Likewise.
7650 (special_real_inputs): Add more special inputs.
7651 (output_for_one_input_case): Do not require ERANGE on underflow to
7652 zero if round-to-nearest result does not underflow to zero, unless
7653 exact results required.
7654 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7655 atan, atanh, cbrt, cos and cosh.
7656 * math/auto-libm-test-out: Regenerated.
7657 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7658 (acos_tonearest_test_data): Likewise.
7659 (acos_towardzero_test_data): Likewise.
7660 (acos_downward_test_data): Likewise.
7661 (acos_upward_test_data): Likewise.
7662 (acosh_test_data): Likewise.
7663 (asin_test_data): Likewise.
7664 (asin_tonearest_test_data): Likewise.
7665 (asin_towardzero_test_data): Likewise.
7666 (asin_upward_test_data): Likewise.
7667 (asinh_test_data): Likewise.
7668 (atan_test_data): Likewise.
7669 (atanh_test_data): Likewise.
7670 (cbrt_test_data): Likewise.
7671 (cos_test_data): Likewise.
7672 (cos_tonearest_test_data): Likewise.
7673 (cos_towardzero_test_data): Likewise.
7674 (cos_downward_test_data): Likewise.
7675 (cos_upward_test_data): Likewise.
7676 (cosh_test_data): Likewise.
7677 (cosh_tonearest_test_data): Likewise.
7678 (cosh_towardzero_test_data): Likewise.
7679 (cosh_downward_test_data): Likewise.
7680 (cosh_upward_test_data): Likewise.
7681 * sysdeps/i386/fpu/libm-test-ulps: Update.
7682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7683
ffb536d0
JM
76842013-11-29 Joseph Myers <joseph@codesourcery.com>
7685
2a77a467
JM
7686 [BZ #6787]
7687 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7688 * math/w_exp10f.c (__exp10f): Likewise.
7689 * math/w_exp10l.c (__exp10l): Likewise.
7690 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7691 errno settings in existing tests.
7692
ea3bc4e8
JM
7693 [BZ #14032]
7694 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7695 precision control set to double precision.
7696 * sysdeps/i386/fpu/w_sqrt.c: New file.
7697 * math/auto-libm-test-in: Add more tests.
7698 * math/auto-libm-test-out: Update.
7699
0712c9d8
JM
7700 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7701 (sqrt_test_tonearest): New function.
7702 (sqrt_towardzero_test_data): New variable.
7703 (sqrt_test_towardzero): New function.
7704 (sqrt_downward_test_data): New variable.
7705 (sqrt_test_downward): New function.
7706 (sqrt_upward_test_data): New variable.
7707 (sqrt_test_upward): New function.
7708 (main): Call the new functions.
7709
ffb536d0
JM
7710 * math/gen-auto-libm-tests.c: New file.
7711 * math/auto-libm-test-in: Likewise.
7712 * math/auto-libm-test-out: New generated file.
7713 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7714 variables.
7715 (%beautify): Add generated representations of zero.
7716 (top level): Set $auto_input and call parse_auto_input.
7717 (beautify): Remove trailing "f" from hex float constants.
7718 (parse_args): Handle XFAIL_TEST.
7719 (convert_condition): New function.
7720 (or_value): Likewise.
7721 (or_cond_value): Likewise.
7722 (generate_testfile): Handle AUTO_TESTS_* lines.
7723 (parse_auto_input): New function.
7724 * math/libm-test.inc (XFAIL_TEST): New macro.
7725 (ERRNO_UNCHANGED): Update value.
7726 (ERRNO_EDOM): Likewise.
7727 (ERRNO_ERANGE): Likewise.
7728 (IGNORE_RESULT): Likewise.
7729 (TEST_COND_flt_32): New macro.
7730 (TEST_COND_dbl_64): Likewise.
7731 (TEST_COND_ldbl_96_intel): Likewise.
7732 (TEST_COND_ldbl_96_m68k): Likewise.
7733 (TEST_COND_ldbl_128): Likewise.
7734 (TEST_COND_ldbl_128ibm): Likewise.
7735 (TEST_COND_long32): Likewise.
7736 (TEST_COND_long64): Likewise.
7737 (TEST_COND_before_rounding): Likewise.
7738 (TEST_COND_after_rounding): Likewise.
7739 (enable_test): Handle XFAIL_TEST flag.
7740 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7741 with finite results.
7742 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7743 auto-libm-test-out.
7744
acd98a8e
AK
77452013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7746 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7747
7748 [BZ #16214]
7749 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7750 __tls_get_addr_internal instead of __tls_get_offset in order to
7751 avoid GOT pointer dependency. Make rtld export
7752 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7753 __tls_get_addr since we are a __tls_get_offset platform.
7754 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7755 GOT pointer being set up before.
7756 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7757
3c1c46a6
JM
77582013-11-28 Joseph Myers <joseph@codesourcery.com>
7759
7475aef5
JM
7760 * manual/math.texi (Errors in Math Functions): Document accuracy
7761 goals.
7762
8bca7cd8
JM
7763 [BZ #15004]
7764 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7765 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7780
91a1f3fe
JM
7781 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7782 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7783 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7784 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7785 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7786 Likewise.
7787 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7788 Likewise.
7789 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7790 Likewise.
7791 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7792 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7793 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7794 atomic-feupdateenv and flt-rounds.
7795 * sysdeps/powerpc/nofpu/Versions (libc): Add
7796 __atomic_feholdexcept, __atomic_feclearexcept,
7797 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7798 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7799 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7800 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7801 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7802 here.
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7804 Update.
7805
c5df7609
JM
7806 * manual/arith.texi (FP Exceptions): Document that exceptions may
7807 not be raised when matherr is used.
7808 (Math Error Reporting): Document overflow in directed rounding
7809 modes. Document that errno may not be set when finite values are
7810 returned on overflow. Document intent to set errno on underflow
7811 only for underflow to zero.
7812
3c1c46a6
JM
7813 [BZ #16271]
7814 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7815 round-to-nearest then adjust result for other rounding modes.
7816 * include/fenv.h (fegetround): Use libm_hidden_proto.
7817 * math/fegetround.c (fegetround): Use libm_hidden_def.
7818 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7819 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7820 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7821 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7822 Likewise.
7823 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7824 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7825 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7826 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7827
5a4c6d53
SP
78282013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7829
7830 [BZ #16077]
7831 * nss/Versions (libnss_files): Add
7832 _nss_files_gethostbyname3_r.
7833 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7834 New function.
7835 (HOST_DB_LOOKUP): Remove macro.
7836 (_nss_files_gethostbyname_r): Implement function without the
7837 HOST_DB_LOOKUP macro.
7838 (_nss_files_gethostbyname2_r): Likewise.
7839
897b98ba
OB
78402013-11-28 Ondřej Bílka <neleai@seznam.cz>
7841
7842 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7843
6f476861
UB
78442013-11-26 Uros Bizjak <ubizjak@gmail.com>
7845
7846 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7847 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7848 warning.
7849
bd12ab55
AZ
78502013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7851
7852 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7853 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7854 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7855 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7856 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7857 __fe_nomask_env_priv and attribute_hidden.
7858 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7859 (libc_feupdateenv_test_ppc): Likewise.
7860 (libc_feresetround_ppc): Likewise.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7862 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7863 compat_symbol macro.
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7865 (__fe_nomask_env): Likewise.
7866 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7867
52bb6543
OB
78682013-11-26 Ondřej Bílka <neleai@seznam.cz>
7869
7870 * string/Makefile: Remove ifunc tests.
7871 * string/test-string.h: Define TEST_IFUNC.
7872 * string/test-bcopy-ifunc.c: Remove.
7873 * string/test-bzero-ifunc.c: Likewise.
7874 * string/test-memccpy-ifunc.c: Likewise.
7875 * string/test-memchr-ifunc.c: Likewise.
7876 * string/test-memcmp-ifunc.c: Likewise.
7877 * string/test-memcpy-ifunc.c: Likewise.
7878 * string/test-memmem-ifunc.c: Likewise.
7879 * string/test-memmove-ifunc.c: Likewise.
7880 * string/test-mempcpy-ifunc.c: Likewise.
7881 * string/test-memrchr-ifunc.c: Likewise.
7882 * string/test-memset-ifunc.c: Likewise.
7883 * string/test-rawmemchr-ifunc.c: Likewise.
7884 * string/test-stpcpy-ifunc.c: Likewise.
7885 * string/test-stpncpy-ifunc.c: Likewise.
7886 * string/test-strcasecmp-ifunc.c: Likewise.
7887 * string/test-strcasestr-ifunc.c: Likewise.
7888 * string/test-strcat-ifunc.c: Likewise.
7889 * string/test-strchr-ifunc.c: Likewise.
7890 * string/test-strchrnul-ifunc.c: Likewise.
7891 * string/test-strcmp-ifunc.c: Likewise.
7892 * string/test-strcpy-ifunc.c: Likewise.
7893 * string/test-strcspn-ifunc.c: Likewise.
7894 * string/test-strlen-ifunc.c: Likewise.
7895 * string/test-strncasecmp-ifunc.c: Likewise.
7896 * string/test-strncat-ifunc.c: Likewise.
7897 * string/test-strncmp-ifunc.c: Likewise.
7898 * string/test-strncpy-ifunc.c: Likewise.
7899 * string/test-strnlen-ifunc.c: Likewise.
7900 * string/test-strpbrk-ifunc.c: Likewise.
7901 * string/test-strrchr-ifunc.c: Likewise.
7902 * string/test-strspn-ifunc.c: Likewise.
7903 * string/test-strstr-ifunc.c: Likewise.
7904
ab260039 79052013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7906
7907 * benchtests/Makefile: Remove ifunc tests.
7908 * benchtests/bench-string.h: Define TEST_IFUNC.
7909 * benchtests/bench-bcopy-ifunc.c: Remove.
7910 * benchtests/bench-bzero-ifunc.c: Likewise.
7911 * benchtests/bench-memccpy-ifunc.c: Likewise.
7912 * benchtests/bench-memchr-ifunc.c: Likewise.
7913 * benchtests/bench-memcmp-ifunc.c: Likewise.
7914 * benchtests/bench-memcpy-ifunc.c: Likewise.
7915 * benchtests/bench-memmem-ifunc.c: Likewise.
7916 * benchtests/bench-memmove-ifunc.c: Likewise.
7917 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7918 * benchtests/bench-memrchr-ifunc.c: Likewise.
7919 * benchtests/bench-memset-ifunc.c: Likewise.
7920 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7921 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7922 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7923 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7924 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7925 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7926 * benchtests/bench-strcat-ifunc.c: Likewise.
7927 * benchtests/bench-strchr-ifunc.c: Likewise.
7928 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7929 * benchtests/bench-strcmp-ifunc.c: Likewise.
7930 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7931 * benchtests/bench-strcpy-ifunc.c: Likewise.
7932 * benchtests/bench-strcspn-ifunc.c: Likewise.
7933 * benchtests/bench-strlen-ifunc.c: Likewise.
7934 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7935 * benchtests/bench-strncat-ifunc.c: Likewise.
7936 * benchtests/bench-strncmp-ifunc.c: Likewise.
7937 * benchtests/bench-strncpy-ifunc.c: Likewise.
7938 * benchtests/bench-strnlen-ifunc.c: Likewise.
7939 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7940 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7941 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7942 * benchtests/bench-strspn-ifunc.c: Likewise.
7943 * benchtests/bench-strstr-ifunc.c: Likewise.
7944
79452013-11-26 Ondřej Bílka <neleai@seznam.cz>
7946
ab260039
OB
7947 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7948
d1d9eaf4 79492013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7950
d1d9eaf4
OB
7951 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7952 * rt/aio.h: Likewise.
7953 * sysdeps/gnu/bits/utmp.h: Likewise.
7954 * sysdeps/gnu/bits/utmpx.h: Likewise.
7955 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7956 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7957 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7958 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7959 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7960 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7961 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7962 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7963 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7964 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7965 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7966 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7967 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7969 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7970 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7971 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7972 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7973 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7974 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7975 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7976 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7977 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7978 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7979 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7981 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7982 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7983 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7984 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7985 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7986 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7990 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7991 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7992 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7993 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7994 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7995 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7996 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7997
a7624ed9
CD
79982013-11-25 Carlos O'Donell <carlos@redhat.com>
7999
8000 [BZ #16245]
8001 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8002 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8003
63cfe52b
JM
80042013-11-25 Joseph Myers <joseph@codesourcery.com>
8005
8006 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8007 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8008 Likewise.
8009
41e8926a
AZ
80102013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8011
8012 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8013 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8014 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8015 (__fesetround): Remove define.
8016 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8017 rounding and exceptions handling.
8018 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8019 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8020 (__fe_nomask_env): Likewise.
8021 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8022 __fegetround instead of fegetround.
8023 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8024 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8025
6851bd4d
RM
80262013-11-21 Roland McGrath <roland@hack.frob.com>
8027
070906ff
RM
8028 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8029 it's there.
8030
6851bd4d
RM
8031 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8032
84ae135d
MI
80332013-11-21 Meador Inge <meadori@codesourcery.com>
8034
8035 [BZ #11157]
8036 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8037 (encrypt_r): Likewise.
8038 * malloc/obstack.h (obstack_free): Likewise.
8039 * posix/unistd.h (encrypt): Likewise.
8040
daf75146
GM
80412013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8042
8043 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8044 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8045 DL_CALL_DT_FINI() that call the functions directly.
8046 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8047 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8048 * elf/dl-fini.c: Likewise.
8049
10ad46bc
OB
80502013-11-20 Ondřej Bílka <neleai@seznam.cz>
8051
8052 * malloc/hooks.c (memalign_check): Add alignment rounding.
8053 * malloc/malloc.c (_mid_memalign): New function.
8054 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8055 Implement by calling _mid_memalign.
8056 * manual/probes.texi (Memory Allocation Probes): Remove
8057 memory_valloc_retry and memory_pvalloc_retry.
8058
f3fd2628
SP
80592013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8060
4712799f
SP
8061 * locale/programs/locarchive.c (open_archive): Add const
8062 qualifier to ARCHIVEFNAME and copy default fname to
8063 DEFAULT_FNAME.
8064
0417b20f
SP
8065 [BZ #15601]
8066 * libio/tst-widetext.input: Rename Oriya to Odia.
8067 * locale/iso-639.def: Likewise.
8068
f3fd2628
SP
8069 * manual/probes.texi (Mathematical Function Probes): Add
8070 documentation for sin, cos, asin and acos probes.
8071 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8072 (__sin32): Add slowasin probe.
8073 (__cos32): Add slowacos probe.
8074 (__mpsin): Add slowsin probe.
8075 (__mpcos): Add slowcos probe.
8076
73c1ce4f
JM
80772013-11-19 Joseph Myers <joseph@codesourcery.com>
8078
8079 [BZ #15483]
8080 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8081 thread-local __sim_exceptions_thread and global
8082 __sim_exceptions_global.
8083 (__sim_disabled_exceptions): Change to thread-local
8084 __sim_disabled_exceptions_thread and global
8085 __sim_disabled_exceptions_global.
8086 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8087 and global __sim_round_mode_global.
8088 (__simulate_exceptions): Use thread-local floating-point state and
8089 set global state from it as needed.
8090 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8091 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8092 __sim_round_mode_thread.
8093 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8094 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8095 and global __sim_exceptions_global.
8096 (__sim_disabled_exceptions): Change to thread-local
8097 __sim_disabled_exceptions_thread and global
8098 __sim_disabled_exceptions_global.
8099 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8100 and global __sim_round_mode_global.
8101 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8102 (SIM_SET_GLOBAL): Likewise.
8103 * sysdeps/powerpc/soft-fp/sfp-machine.h
8104 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8105 __sim_round_mode_thread.
8106 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8107 __sim_disabled_exceptions_thread.
8108 (__sim_exceptions): Change to __sim_exceptions_thread.
8109 (__sim_disabled_exceptions): Change to
8110 __sim_disabled_exceptions_thread.
8111 (__sim_round_mode): Change to __sim_round_mode_thread.
8112 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8113 thread-local floating-point state and set global state from it as
8114 needed.
8115 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8116 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8117 (__sim_disabled_exceptions): Remove extern declaration.
8118 (feenableexcept): Use thread-local floating-point state and set
8119 global state from it as needed.
8120 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8121 extern declaration.
8122 (__sim_disabled_exceptions): Likewise.
8123 (__sim_round_mode): Likewise.
8124 (__fegetenv): Use thread-local floating-point state.
8125 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8126 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8127 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8128 floating-point state and set global state from it as needed.
8129 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8130 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8131 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8132 Likewise.
8133 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8134 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8135 Likewise.
8136 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8137 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8138 Use __sim_round_mode_thread.
8139 * math/test-fenv-tls.c: New file.
8140 * math/Makefile (tests): Add test-fenv-tls.
8141 ($(objpfx)test-fenv-tls): Depend on
8142 $(common-objpfx)nptl/libpthread.so.
8143
b5449b12
AS
81442013-11-19 Andreas Schwab <schwab@suse.de>
8145
8146 * locale/programs/locale.c (show_info): Decode wordarray elements.
8147 * locale/categories.def (LC_MONETARY): Add element for
8148 _NL_MONETARY_CRNCYSTR.
8149 * locale/C-monetary.c (conversion_rate): New variable.
8150 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8151 element.
8152
e186536b
CM
81532013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8154
8155 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8156 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8157
5c349950
PP
81582013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8159
8160 * elf/Makefile (tst-auxv): New test.
8161 * elf/tst-auxv.c: New
8162 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8163
699df45b
JM
81642013-11-18 Joseph Myers <joseph@codesourcery.com>
8165
8166 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8167 (hidden_proto): Caller changed.
8168 (hidden_tls_proto): New macro.
8169 (libc_hidden_tls_proto): Likewise.
8170 (rtld_hidden_tls_proto): Likewise.
8171 (libm_hidden_tls_proto): Likewise.
8172 (libresolv_hidden_tls_proto): Likewise.
8173 (librt_hidden_tls_proto): Likewise.
8174 (libdl_hidden_tls_proto): Likewise.
8175 (libnss_files_hidden_tls_proto): Likewise.
8176 (libnsl_hidden_tls_proto): Likewise.
8177 (libnss_nisplus_hidden_tls_proto): Likewise.
8178 (libutil_hidden_tls_proto): Likewise.
8179
b7589107
OB
81802013-11-18 Ondřej Bílka <neleai@seznam.cz>
8181
8182 [BZ #10253]
8183 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8184 (decompose_rpath): Defer expansion to fillin_rpath.
8185 (_dl_init_paths): Pass linkmap to fillin_rpath.
8186
250c23bd
RS
81872013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8188
8189 * benchtests/Makefile: Add strsep.
8190 * benchtests/bench-strsep.c: New file: strsep benchtest.
8191 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8192
a7931fcf
AS
81932013-11-18 Andreas Schwab <schwab@suse.de>
8194
8195 * locale/programs/locale.c (show_info) [case byte]: Check for
8196 '\377' instead of '\177'.
8197 * locale/C-monetary.c (not_available): Always use "\377".
8198 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8199 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8200 detect unavailable sign_posn locale elements.
8201 * locale/localeconv.c (__localeconv): For grouping and
8202 mon_grouping handle "\177" and "\377" like no grouping.
8203 (INT_ELEM): New macro. Use it to set all numeric members.
8204 * locale/programs/ld-monetary.c (monetary_read)
8205 <tok_mon_grouping>: Normalize single -1 to the empty string.
8206 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8207 Likewise.
8208
728dab0e
OB
82092013-11-07 Ondřej Bílka <neleai@seznam.cz>
8210
8211 [BZ #16055]
8212 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8213 when we match (nil).
8214 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8215
66294491
JM
82162013-11-16 Joseph Myers <joseph@codesourcery.com>
8217
ce665817
JM
8218 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8219 (NO_TEST_INLINE): Update value.
8220 (ERRNO_UNCHANGED): Likewise.
8221 (ERRNO_EDOM): Likewise.
8222 (ERRNO_ERANGE): Likewise.
8223 (IGNORE_RESULT): Likewise.
8224 (check_float_internal): Check signs of NaN results if
8225 TEST_NAN_SIGN used.
8226 (check_complex): Pass TEST_NAN_SIGN flag through to second
8227 check_float_internal call.
8228 (copysign_test_data): Add tests with quiet NaNs as second
8229 argument. Use TEST_NAN_SIGN.
8230 (fabs_test_data): Add test of negative quiet NaN argument. Use
8231 TEST_NAN_SIGN.
8232 (signbit_test_data): Add tests of quiet NaN argument.
8233 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8234
ee1466a9
JM
8235 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8236 $ignore_result.
8237 (parse_args): Handle function results specified as IGNORE.
8238 * math/libm-test.inc (IGNORE_RESULT): New macro.
8239 (check_float_internal): Do not check numerical result if flag
8240 IGNORE_RESULT set.
8241 (check_complex): Pass through IGNORE_RESULT to second
8242 check_float_internal call.
8243 (check_int): Do not check numerical result if flag IGNORE_RESULT
8244 set.
8245 (check_long): Likewise.
8246 (check_bool): Likewise.
8247 (check_longlong): Likewise.
8248 (lrint_test_data): Add tests of infinite and NaN arguments.
8249 (lrint_tonearest_test_data): Likewise.
8250 (lrint_towardzero_test_data): Likewise.
8251 (lrint_downward_test_data): Likewise.
8252 (lrint_upward_test_data): Likewise.
8253 (llrint_test_data): Likewise.
8254 (llrint_tonearest_test_data): Likewise.
8255 (llrint_towardzero_test_data): Likewise.
8256 (llrint_downward_test_data): Likewise.
8257 (llrint_upward_test_data): Likewise.
8258 (lround_test_data): Likewise.
8259 (llround_test_data): Likewise.
8260
14407b7e
JM
8261 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8262 (ERRNO_UNCHANGED): Update value.
8263 (ERRNO_EDOM): Likewise.
8264 (ERRNO_ERANGE): Likewise.
8265 (NO_TEST_INLINE_FLOAT): New macro.
8266 (NO_TEST_INLINE_DOUBLE): Likewise.
8267 (enable_test): New function.
8268 (RUN_TEST_f_f): Check enable_test before running test.
8269 (RUN_TEST_2_f): Likewise.
8270 (RUN_TEST_fff_f): Likewise.
8271 (RUN_TEST_c_f): Likewise.
8272 (RUN_TEST_f_f1): Likewise.
8273 (RUN_TEST_fF_f1): Likewise.
8274 (RUN_TEST_fI_f1): Likewise.
8275 (RUN_TEST_ffI_f1): Likewise.
8276 (RUN_TEST_c_c): Likewise.
8277 (RUN_TEST_cc_c): Likewise.
8278 (RUN_TEST_f_i): Likewise.
8279 (RUN_TEST_f_i_tg): Likewise.
8280 (RUN_TEST_ff_i_tg): Likewise.
8281 (RUN_TEST_f_b): Likewise.
8282 (RUN_TEST_f_b_tg): Likewise.
8283 (RUN_TEST_f_l): Likewise.
8284 (RUN_TEST_f_L): Likewise.
8285 (RUN_TEST_fFF_11): Likewise.
8286 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8287 conditionals.
8288 (cosh_test_data): Likewise.
8289 (exp_test_data): Likewise.
8290 (expm1_test_data): Likewise.
8291 (hypot_test_data): Likewise.
8292 (pow_test_data): Likewise.
8293 (sinh_test_data): Likewise.
8294 (tanh_test_data): Likewise.
8295 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8296 flags argument.
8297
ca07f197
JM
8298 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8299 tests with quiet NaN input and output.
8300 (acosh_test_data): Likewise.
8301 (asin_test_data): Likewise.
8302 (asinh_test_data): Likewise.
8303 (atan_test_data): Likewise.
8304 (atanh_test_data): Likewise.
8305 (atan2_test_data): Likewise.
8306 (cbrt_test_data): Likewise.
8307 (cos_test_data): Likewise.
8308 (cosh_test_data): Likewise.
8309 (erf_test_data): Likewise.
8310 (erfc_test_data): Likewise.
8311 (exp_test_data): Likewise.
8312 (exp10_test_data): Likewise.
8313 (exp2_test_data): Likewise.
8314 (expm1_test_data): Likewise.
8315 (hypot_test_data): Likewise.
8316 (j0_test_data): Likewise.
8317 (j1_test_data): Likewise.
8318 (jn_test_data): Likewise.
8319 (lgamma_test_data): Likewise.
8320 (log_test_data): Likewise.
8321 (log10_test_data): Likewise.
8322 (log1p_test_data): Likewise.
8323 (log2_test_data): Likewise.
8324 (pow_test_data): Likewise.
8325 (scalb_test_data): Likewise.
8326 (sin_test_data): Likewise.
8327 (sincos_test_data): Likewise.
8328 (sinh_test_data): Likewise.
8329 (tan_test_data): Likewise.
8330 (tanh_test_data): Likewise.
8331 (tgamma_test_data): Likewise.
8332 (y0_test_data): Likewise.
8333 (y1_test_data): Likewise.
8334 (yn_test_data): Likewise.
8335
66294491
JM
8336 [BZ #16167]
8337 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8338 argument being NaN and avoid computations with second argument in
8339 that case.
8340 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8341 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8342 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8343
1820b143
CL
83442013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8345
8346 * locale/iso-639.def: Add Chitwani Tharu (the).
8347
714bd261
AS
83482013-11-14 Andreas Schwab <schwab@suse.de>
8349
8350 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8351 word instead of empty string.
8352
7ab44563
AZ
83532013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8354
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8356 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8358 (__fe_nomask_env): Likewise.
8359
e8470ea2
SE
83602013-11-13 Steve Ellcey <sellcey@mips.com>
8361
8362 * benchtests/bench-timing.h: Include time.h.
8363
17c1d9f0
L
83642013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8365
8366 [BZ #15997]
8367 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8368 to 3.4.0 for x32.
8369 * sysdeps/unix/sysv/linux/configure: Regenerated.
8370
9310c284
JM
83712013-11-13 Joseph Myers <joseph@codesourcery.com>
8372
8373 [BZ #16151]
8374 * stdlib/strtod_l.c (round_and_return): Do not consider
8375 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8376 exponent one less than half the least subnormal exponent.
8377 * stdlib/test-strtod-round-data: Add more tests.
8378 * stdlib/tst-strtod-round.c (tests): Regenerated.
8379
7a2ad8cf
AZ
83802013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8381
8382 [BZ #14143]
8383 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8384 (__fe_mask_env): Likewise.
8385 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8386 libm_hidden_proto and add function prototype.
8387 (__fe_mask_env): Add function prototype.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8389 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8391 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8393 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8394
50727aa7
MS
83952013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8396
b2f386c1 8397 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8398 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8399
a615be46
MS
84002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8401
8402 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8403 of htab_find_slot().
8404
7ddace62
DM
84052013-11-11 David S. Miller <davem@davemloft.net>
8406
8407 [BZ #16150]
8408 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8409 symbol in the non-vis3 case in static builds.
8410 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8411 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8412 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8413 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8414
9182aa67
JK
84152013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8416
8417 [BZ #387]
8418 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8419 it is empty.
8420
450a2e2d
AZ
84212013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8422
b2f386c1
SP
8423 * benchtests/Makefile: Add bench-strtod.
8424 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8425
8ec3f656
AS
84262013-11-11 Andreas Schwab <schwab@suse.de>
8427
8428 [BZ #16153]
8429 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8430 terminating NUL in key length.
8431
76a9b998
AZ
84322013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8433
8434 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8435 Add artificial ODP entry for vDSO symbol for PPC64.
8436 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8437 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8438
e4368156
OB
84392013-11-07 Ondřej Bílka <neleai@seznam.cz>
8440
8441 [BZ #15374]
8442 * nss/getent.c (services_keys): Recognize services starting with digit.
8443
8d6bb57c
DM
84442013-11-06 David S. Miller <davem@davemloft.net>
8445
8446 [BZ #15985]
8447 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8448 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8449
e256c421
WN
84502013-11-06 Will Newton <will.newton@linaro.org>
8451
8452 * manual/memory.texi (Malloc Examples): Remove register
8453 keyword from examples.
8454
f6e12daa 84552013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8456
f6e12daa 8457 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8458
9d880655
AS
84592013-11-04 Joseph Myers <joseph@codesourcery.com>
8460
fd2f9486 8461 [BZ #6981]
9d880655
AS
8462 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8463 depending on [__GCC_IEC_559 > 0].
8464 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8465 depending on [__GCC_IEC_559_COMPLEX > 0].
8466
ae129d3c
CL
84672013-11-03 Chris Leonard <cjl@sugarlabs.org>
8468
8469 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8470 to iso-639.def.
8471
4a15c2a4 84722013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8473
8474 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8475
8b35e35d
OB
84762013-11-01 Ondřej Bílka <neleai@seznam.cz>
8477
8478 [BZ #16112]
8479 * malloc/malloc (malloc_info): Do not handle first bin as
8480 special case.
8481
1d70fd6c
CL
84822013-11-01 Chris Leonard <cjl@sugarlabs.org>
8483
8484 * locale/iso-639.def: Add Central Nahuatl (nhn).
8485
8c5c2600
BH
84862013-11-01 Bruno Haible <bruno@clisp.org>
8487
8488 [BZ #7003]
8489 * manual/math.texi (BSD Random): Specify range upper bound as
8490 in POSIX.
8491
da5579c2
CL
84922013-10-31 Chris Leonard <cjl@sugarlabs.org>
8493
8494 * locale/iso-639.def: Add Meadow Mari (mhr).
8495
5d30d853
OB
84962013-10-31 Ondřej Bílka <neleai@seznam.cz>
8497
8498 [BZ #14752], [BZ #15763]
8499 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8500 Validate name.
8501 * rt/tst_shm.c: Add test for escaping directory.
8502
a4966c61
AS
85032013-10-31 Andreas Schwab <schwab@suse.de>
8504
8a43e768 8505 [BZ #15917]
a4966c61
AS
8506 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8507 followed by 'x' as part of digit sequence.
8508 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8509
28d708c4
MAP
85102013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8511
8512 [BZ #16037]
8513 * configure.ac: allow GNU Make 4.0 and greater.
8514 * configure: Regenerated.
8515
a56ee40b
WN
85162013-10-30 Will Newton <will.newton@linaro.org>
8517
8518 [BZ #16038]
8519 * malloc/hooks.c (memalign_check): Limit alignment to the
8520 maximum representable power of two.
8521 * malloc/malloc.c (__libc_memalign): Likewise.
8522 * malloc/tst-memalign.c (do_test): Add test for very
8523 large alignment values.
8524 * malloc/tst-posix_memalign.c (do_test): Likewise.
8525
c6e4925d
OB
85262013-10-30 Ondřej Bílka <neleai@seznam.cz>
8527
8528 [BZ #11087]
8529 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8530 (munmap_chunk): Likewise.
8531 (mremap_chunk): Likewise.
8532
85332013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8534
8a43e768 8535 [BZ #15799]
bbea82f7
OB
8536 * stdlib/div.c (div): Remove obsolete code.
8537 * stdlib/ldiv.c (ldiv): Likewise.
8538 * stdlib/lldiv.c (lldiv): Likewise.
8539
977f4b31
SP
85402013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8541
8542 [BZ #16071]
8543 * nss/nss_files/files-XXX.c (get_contents_ret): New
8544 enumerator.
8545 (get_contents): New function.
8546 (internal_getent): Use it. Expand size of LINEBUFLEN.
8547
cb8a6dbd
MF
85482013-10-30 Mike Frysinger <vapier@gentoo.org>
8549
8550 * configure.in: Moved to ...
8551 * configure.ac: ... here. Change reference to configure.in
8552 to configure.ac.
8553 * sysdeps/arm/preconfigure.ac: ... here.
8554 configure.in to configure.ac.
8555 * sysdeps/gnu/configure.in: Moved to ...
8556 * sysdeps/gnu/configure.ac: ... here.
8557 * sysdeps/i386/configure.in: Moved to ...
8558 * sysdeps/i386/configure.ac: ... here.
8559 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8560 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8561 * sysdeps/mach/configure.in: Moved to ...
8562 * sysdeps/mach/configure.ac: ... here.
8563 * sysdeps/mach/hurd/configure.in: Moved to ...
8564 * sysdeps/mach/hurd/configure.ac: ... here.
8565 * sysdeps/powerpc/configure.in: Moved to ...
8566 * sysdeps/powerpc/configure.ac: ... here.
8567 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8568 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8569 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8570 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8571 * sysdeps/s390/s390-32/configure.in: Moved to ...
8572 * sysdeps/s390/s390-32/configure.ac: ... here.
8573 * sysdeps/s390/s390-64/configure.in: Moved to ...
8574 * sysdeps/s390/s390-64/configure.ac: ... here.
8575 * sysdeps/sh/configure.in: Moved to ...
8576 * sysdeps/sh/configure.ac: ... here.
8577 * sysdeps/sparc/configure.in: Moved to ...
8578 * sysdeps/sparc/configure.ac: ... here.
8579 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8580 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8581 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8582 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8583 * sysdeps/x86_64/configure.in: Moved to ...
8584 * sysdeps/x86_64/configure.ac: ... here.
8585 * sysdeps/x86_64/preconfigure.in: Moved to ...
8586 * sysdeps/x86_64/preconfigure.ac: ... here.
8587 * aclocal.m4: Change reference to configure.in to configure.ac.
8588 * config.h.in: Likewise.
8589 * manual/install.texi: Likewise.
8590 * manual/maint.texi: Likewise.
8591 * Makefile: Likewise.
8592 * malloc/Makefile: Likewise.
8593 * nscd/Makefile: Likewise.
8594 * Makeconfig: Change reference to configure.in and
8595 preconfigure.in to configure.ac and preconfigure.ac
8596 respectively.
8597 * INSTALL: Regenerated.
8598 * configure: Likewise.
8599 * sysdeps/gnu/configure: Likewise.
8600 * sysdeps/i386/configure: Likewise.
8601 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8602 * sysdeps/mach/configure: Likewise.
8603 * sysdeps/mach/hurd/configure: Likewise.
8604 * sysdeps/powerpc/configure: Likewise.
8605 * sysdeps/powerpc/powerpc32/configure: Likewise.
8606 * sysdeps/powerpc/powerpc64/configure: Likewise.
8607 * sysdeps/s390/s390-32/configure: Likewise.
8608 * sysdeps/s390/s390-64/configure: Likewise.
8609 * sysdeps/sh/configure: Likewise.
8610 * sysdeps/sparc/configure: Likewise.
8611 * sysdeps/unix/sysv/linux/configure: Likewise.
8612 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8613 * sysdeps/x86_64/configure: Likewise.
8614 * sysdeps/x86_64/preconfigure: Likewise.
8615
36a4953a
AS
86162013-10-29 Andreas Schwab <schwab@suse.de>
8617
8618 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8619
c79a1204
SP
86202013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8621
dfa1b402
SP
8622 * benchtests/pow-inputs: Add new inputs.
8623
54f73d9c
SP
8624 * benchtests/exp-inputs: Add new inputs.
8625
c79a1204
SP
8626 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8627 conditional check for return value.
8628 (__cos32): Likewise.
8629
67beb545 86302013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8631
8632 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8633 to provide a boost for large inputs with word alignment.
8634 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8635 implementation based on optimized PPC64 strcpy.
8636 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8637 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8638 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8639 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8640
151659f6
OB
86412013-10-25 Ondřej Bílka <neleai@seznam.cz>
8642
482a077e 8643 [BZ #2801]
151659f6
OB
8644 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8645
10b0f26b
OB
86462013-10-25 Ondřej Bílka <neleai@seznam.cz>
8647
8648 [BZ #14876]
8649 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8650 * time/tst-strptime.c (day_tests): Add testcase.
8651
ca42d35e
OB
86522013-10-25 Ondřej Bílka <neleai@seznam.cz>
8653
482a077e 8654 [BZ #14029]
ca42d35e
OB
8655 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8656
52e6d801
FB
86572013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8658
8659 [BZ #16074]
8660 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8661 MAP_FAILED on error.
8662
7cbcdb36
SP
86632013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8664
8665 [BZ #16072]
8666 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8667 heap for large requests.
8668
894f3f10
AM
86692013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8670
8671 [BZ #9954]
8672 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8673 result if the result has no associated interface.
8674 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8675 interface for all 127.X.Y.Z addresses.
8676
b85545a6
CL
86772013-10-24 Chris Leonard <cjl@sugarlabs.org>
8678
8679 * locale/iso-639.def: Add Ligurian (lij)
8680
d1f23d46
OB
86812013-10-21 Ondřej Bílka <neleai@seznam.cz>
8682
8683 [BZ #15825]
8684 * sunrpc/rpc_main.c: Document rpcgen -5.
8685
4db5b08f
MS
86862013-10-19 Michael Stahl <mstahl@redhat.com>
8687
8688 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8689
a471e96a
OB
86902013-10-19 Ondřej Bílka <neleai@seznam.cz>
8691
d1f23d46 8692 [BZ #10278]
a471e96a
OB
8693 * posix/glob.c: Match only directories when trailing slash is present.
8694 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8695 (main): Add testcase.
8696
45c30c61
OB
86972013-10-19 Ondřej Bílka <neleai@seznam.cz>
8698
8699 [BZ #15670]
8700 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8701
484c12fb
CD
87022013-10-18 Carlos O'Donell <carlos@redhat.com>
8703
3d7dc513
CD
8704 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8705 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8706 AUTH_DES and cindex for FIPS 140-2.
8707 (DES Encryption): Add cindex FIPS 46-3.
8708
484c12fb
CD
8709 * locale/locarchive.h (struct locarhandle): Add fname.
8710 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8711 if an optional argument was specified to --list-archive,
8712 otherwise NULL.
8713 * locale/programs/locarchive.c (show_archive_content): Take new
8714 argument fname and pass it via ah.fname to open_archive.
8715 * locale/programs/localedef.h: Update decl.
8716 (open_archive): If AH->fname is non-null, open that file
8717 rather than the default file name, and don't ignore ENOENT.
8718 (create_archive): Set AH.fname to NULL.
8719 (delete_locales_from_archive): Likewise.
8720 (add_locales_to_archive): Likewise.
8721 * locale/programs/locfile.c (write_all_categories): Likewise.
8722
3c8325fb
JM
87232013-10-18 Joseph Myers <joseph@codesourcery.com>
8724 Aldy Hernandez <aldyh@redhat.com>
8725
8726 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8727 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8728 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8729 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8730 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8731 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8732 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8733 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8734 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8735 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8736 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8737 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8738 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8739 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8740 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8741 Likewise.
8742 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8743 Likewise.
8744 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8745 Likewise.
8746 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8747 Likewise.
8748 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8749 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8750 Likewise.
8751 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8752 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8753 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8754 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8755 Likewise.
8756 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8757 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8758 * sysdeps/powerpc/preconfigure: Likewise.
8759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8760 Likewise.
8761 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8762 Replace contents of file by #include of <fenv_libc.h>.
8763 * sysdeps/powerpc/soft-fp/sfp-machine.h
8764 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8765 and <sys/prctl.h>.
8766 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8767 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8768 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8770 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8774 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8775 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8776 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8777 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8779 Allow copysignl PLT reference to be missing.
8780
5abe0682
RS
87812013-10-18 Richard Sandiford <richard@codesourcery.com>
8782 Joseph Myers <joseph@codesourcery.com
8783
8784 [BZ #15948]
8785 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8786 single character.
8787 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8788
c7738d08
SP
87892013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8790
8791 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8792 * elf/tst-tls1.c: Likewise.
8793 * elf/tst-tls10.h: Likewise.
8794 * elf/tst-tls14.c: Likewise.
8795 * elf/tst-tls2.c: Likewise.
8796 * elf/tst-tls3.c: Likewise.
8797 * elf/tst-tls4.c: Likewise.
8798 * elf/tst-tls5.c: Likewise.
8799 * elf/tst-tls6.c: Likewise.
8800 * elf/tst-tls7.c: Likewise.
8801 * elf/tst-tls8.c: Likewise.
8802 * elf/tst-tls9.c: Likewise.
8803 * elf/tst-tlsmod1.c: Likewise.
8804 * elf/tst-tlsmod13.c: Likewise.
8805 * elf/tst-tlsmod13a.c: Likewise.
8806 * elf/tst-tlsmod14a.c: Likewise.
8807 * elf/tst-tlsmod16a.c: Likewise.
8808 * elf/tst-tlsmod16b.c: Likewise.
8809 * elf/tst-tlsmod2.c: Likewise.
8810 * elf/tst-tlsmod3.c: Likewise.
8811 * elf/tst-tlsmod4.c: Likewise.
8812 * elf/tst-tlsmod5.c: Likewise.
8813 * elf/tst-tlsmod6.c: Likewise.
8814
0bfcf2c7
OB
88152013-10-18 Ondřej Bílka <neleai@seznam.cz>
8816
8817 [BZ #12486]
8818 * malloc/malloc.c: remove checks for statistics.
8819
264aad1e
OB
88202013-10-17 Ondřej Bílka <neleai@seznam.cz>
8821
8822 [BZ #15277]
8823 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8824 * inet/tst-network.c: Add testcase.
8825
b957ced8
AS
88262013-10-17 Andreas Schwab <schwab@suse.de>
8827
8828 [BZ #15218]
8829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8830 to determine canonical name.
8831
c5d5d574
OB
88322013-10-17 Ondřej Bílka <neleai@seznam.cz>
8833
8834 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8835 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8836 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8858 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8859 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8864 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8892
e5c2c2d0
JM
88932013-10-17 Joseph Myers <joseph@codesourcery.com>
8894
8895 [BZ #16041]
8896 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8897 make result into a quiet NaN.
8898
51ca9e29
JM
88992013-10-16 Joseph Myers <joseph@codesourcery.com>
8900
8901 * soft-fp/adddf3.c: Fix horizontal whitespace.
8902 * soft-fp/addsf3.c: Likewise.
8903 * soft-fp/addtf3.c: Likewise.
8904 * soft-fp/divdf3.c: Likewise.
8905 * soft-fp/divsf3.c: Likewise.
8906 * soft-fp/divtf3.c: Likewise.
8907 * soft-fp/double.h: Likewise.
8908 * soft-fp/eqdf2.c: Likewise.
8909 * soft-fp/eqsf2.c: Likewise.
8910 * soft-fp/eqtf2.c: Likewise.
8911 * soft-fp/extenddftf2.c: Likewise.
8912 * soft-fp/extended.h: Likewise.
8913 * soft-fp/extendsfdf2.c: Likewise.
8914 * soft-fp/extendsftf2.c: Likewise.
8915 * soft-fp/extendxftf2.c: Likewise.
8916 * soft-fp/fixdfdi.c: Likewise.
8917 * soft-fp/fixdfsi.c: Likewise.
8918 * soft-fp/fixdfti.c: Likewise.
8919 * soft-fp/fixsfdi.c: Likewise.
8920 * soft-fp/fixsfsi.c: Likewise.
8921 * soft-fp/fixsfti.c: Likewise.
8922 * soft-fp/fixtfdi.c: Likewise.
8923 * soft-fp/fixtfsi.c: Likewise.
8924 * soft-fp/fixtfti.c: Likewise.
8925 * soft-fp/fixunsdfdi.c: Likewise.
8926 * soft-fp/fixunsdfsi.c: Likewise.
8927 * soft-fp/fixunsdfti.c: Likewise.
8928 * soft-fp/fixunssfdi.c: Likewise.
8929 * soft-fp/fixunssfsi.c: Likewise.
8930 * soft-fp/fixunssfti.c: Likewise.
8931 * soft-fp/fixunstfdi.c: Likewise.
8932 * soft-fp/fixunstfsi.c: Likewise.
8933 * soft-fp/fixunstfti.c: Likewise.
8934 * soft-fp/floatdidf.c: Likewise.
8935 * soft-fp/floatdisf.c: Likewise.
8936 * soft-fp/floatditf.c: Likewise.
8937 * soft-fp/floatsidf.c: Likewise.
8938 * soft-fp/floatsisf.c: Likewise.
8939 * soft-fp/floatsitf.c: Likewise.
8940 * soft-fp/floattidf.c: Likewise.
8941 * soft-fp/floattisf.c: Likewise.
8942 * soft-fp/floattitf.c: Likewise.
8943 * soft-fp/floatundidf.c: Likewise.
8944 * soft-fp/floatundisf.c: Likewise.
8945 * soft-fp/floatunditf.c: Likewise.
8946 * soft-fp/floatunsidf.c: Likewise.
8947 * soft-fp/floatunsisf.c: Likewise.
8948 * soft-fp/floatunsitf.c: Likewise.
8949 * soft-fp/floatuntidf.c: Likewise.
8950 * soft-fp/floatuntisf.c: Likewise.
8951 * soft-fp/floatuntitf.c: Likewise.
8952 * soft-fp/fmadf4.c: Likewise.
8953 * soft-fp/fmasf4.c: Likewise.
8954 * soft-fp/fmatf4.c: Likewise.
8955 * soft-fp/gedf2.c: Likewise.
8956 * soft-fp/gesf2.c: Likewise.
8957 * soft-fp/getf2.c: Likewise.
8958 * soft-fp/ledf2.c: Likewise.
8959 * soft-fp/lesf2.c: Likewise.
8960 * soft-fp/letf2.c: Likewise.
8961 * soft-fp/muldf3.c: Likewise.
8962 * soft-fp/mulsf3.c: Likewise.
8963 * soft-fp/multf3.c: Likewise.
8964 * soft-fp/negdf2.c: Likewise.
8965 * soft-fp/negsf2.c: Likewise.
8966 * soft-fp/negtf2.c: Likewise.
8967 * soft-fp/op-1.h: Likewise.
8968 * soft-fp/op-2.h: Likewise.
8969 * soft-fp/op-4.h: Likewise.
8970 * soft-fp/op-8.h: Likewise.
8971 * soft-fp/op-common.h: Likewise.
8972 * soft-fp/quad.h: Likewise.
8973 * soft-fp/single.h: Likewise.
8974 * soft-fp/soft-fp.h: Likewise.
8975 * soft-fp/sqrtdf2.c: Likewise.
8976 * soft-fp/sqrtsf2.c: Likewise.
8977 * soft-fp/sqrttf2.c: Likewise.
8978 * soft-fp/subdf3.c: Likewise.
8979 * soft-fp/subsf3.c: Likewise.
8980 * soft-fp/subtf3.c: Likewise.
8981 * soft-fp/truncdfsf2.c: Likewise.
8982 * soft-fp/trunctfdf2.c: Likewise.
8983 * soft-fp/trunctfsf2.c: Likewise.
8984 * soft-fp/trunctfxf2.c: Likewise.
8985 * soft-fp/unorddf2.c: Likewise.
8986 * soft-fp/unordsf2.c: Likewise.
8987 * soft-fp/unordtf2.c: Likewise.
8988
9ebb0332
JM
89892013-10-15 Joseph Myers <joseph@codesourcery.com>
8990
8991 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8992 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8993
4b1a6d8b
OB
89942013-10-15 Ondřej Bílka <neleai@seznam.cz>
8995
8996 * elf/dl-libc.c: Clear initfini list after freeing.
8997
1e145589
JM
89982013-10-14 Joseph Myers <joseph@codesourcery.com>
8999
9000 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9001 * soft-fp/addsf3.c: Likewise.
9002 * soft-fp/addtf3.c: Likewise.
9003 * soft-fp/divdf3.c: Likewise.
9004 * soft-fp/divsf3.c: Likewise.
9005 * soft-fp/divtf3.c: Likewise.
9006 * soft-fp/double.h: Likewise.
9007 * soft-fp/eqdf2.c: Likewise.
9008 * soft-fp/eqsf2.c: Likewise.
9009 * soft-fp/eqtf2.c: Likewise.
9010 * soft-fp/extenddftf2.c: Likewise.
9011 * soft-fp/extended.h: Likewise.
9012 * soft-fp/extendsfdf2.c: Likewise.
9013 * soft-fp/extendsftf2.c: Likewise.
9014 * soft-fp/extendxftf2.c: Likewise.
9015 * soft-fp/fixdfdi.c: Likewise.
9016 * soft-fp/fixdfsi.c: Likewise.
9017 * soft-fp/fixdfti.c: Likewise.
9018 * soft-fp/fixsfdi.c: Likewise.
9019 * soft-fp/fixsfsi.c: Likewise.
9020 * soft-fp/fixsfti.c: Likewise.
9021 * soft-fp/fixtfdi.c: Likewise.
9022 * soft-fp/fixtfsi.c: Likewise.
9023 * soft-fp/fixtfti.c: Likewise.
9024 * soft-fp/fixunsdfdi.c: Likewise.
9025 * soft-fp/fixunsdfsi.c: Likewise.
9026 * soft-fp/fixunsdfti.c: Likewise.
9027 * soft-fp/fixunssfdi.c: Likewise.
9028 * soft-fp/fixunssfsi.c: Likewise.
9029 * soft-fp/fixunssfti.c: Likewise.
9030 * soft-fp/fixunstfdi.c: Likewise.
9031 * soft-fp/fixunstfsi.c: Likewise.
9032 * soft-fp/fixunstfti.c: Likewise.
9033 * soft-fp/floatdidf.c: Likewise.
9034 * soft-fp/floatdisf.c: Likewise.
9035 * soft-fp/floatditf.c: Likewise.
9036 * soft-fp/floatsidf.c: Likewise.
9037 * soft-fp/floatsisf.c: Likewise.
9038 * soft-fp/floatsitf.c: Likewise.
9039 * soft-fp/floattidf.c: Likewise.
9040 * soft-fp/floattisf.c: Likewise.
9041 * soft-fp/floattitf.c: Likewise.
9042 * soft-fp/floatundidf.c: Likewise.
9043 * soft-fp/floatundisf.c: Likewise.
9044 * soft-fp/floatunsidf.c: Likewise.
9045 * soft-fp/floatunsisf.c: Likewise.
9046 * soft-fp/floatuntidf.c: Likewise.
9047 * soft-fp/floatuntisf.c: Likewise.
9048 * soft-fp/floatuntitf.c: Likewise.
9049 * soft-fp/fmadf4.c: Likewise.
9050 * soft-fp/fmasf4.c: Likewise.
9051 * soft-fp/fmatf4.c: Likewise.
9052 * soft-fp/gedf2.c: Likewise.
9053 * soft-fp/gesf2.c: Likewise.
9054 * soft-fp/getf2.c: Likewise.
9055 * soft-fp/ledf2.c: Likewise.
9056 * soft-fp/lesf2.c: Likewise.
9057 * soft-fp/letf2.c: Likewise.
9058 * soft-fp/muldf3.c: Likewise.
9059 * soft-fp/mulsf3.c: Likewise.
9060 * soft-fp/multf3.c: Likewise.
9061 * soft-fp/negdf2.c: Likewise.
9062 * soft-fp/negsf2.c: Likewise.
9063 * soft-fp/negtf2.c: Likewise.
9064 * soft-fp/op-1.h: Likewise.
9065 * soft-fp/op-2.h: Likewise.
9066 * soft-fp/op-4.h: Likewise.
9067 * soft-fp/op-8.h: Likewise.
9068 * soft-fp/op-common.h: Likewise.
9069 * soft-fp/quad.h: Likewise.
9070 * soft-fp/single.h: Likewise.
9071 * soft-fp/soft-fp.h: Likewise.
9072 * soft-fp/sqrtdf2.c: Likewise.
9073 * soft-fp/sqrtsf2.c: Likewise.
9074 * soft-fp/sqrttf2.c: Likewise.
9075 * soft-fp/subdf3.c: Likewise.
9076 * soft-fp/subsf3.c: Likewise.
9077 * soft-fp/subtf3.c: Likewise.
9078 * soft-fp/truncdfsf2.c: Likewise.
9079 * soft-fp/trunctfdf2.c: Likewise.
9080 * soft-fp/trunctfsf2.c: Likewise.
9081 * soft-fp/trunctfxf2.c: Likewise.
9082 * soft-fp/unorddf2.c: Likewise.
9083 * soft-fp/unordsf2.c: Likewise.
9084 * soft-fp/unordtf2.c: Likewise.
9085
17c48a60
OB
90862013-10-14 Ondřej Bílka <neleai@seznam.cz>
9087
9088 [BZ #15672]
9089 * misc/error.c (error_tail): Fix possible buffer overflow.
9090
cabba934
OB
90912013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9092
9093 [BZ #13028]
9094 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9095 address.
9096
94bf958a
PM
90972013-10-14 P. J. McDermott <pj@pehjota.net>
9098
9099 [BZ #832]
9100 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9101 testing pipefail option.
9102
71b4dea7
JM
91032013-10-12 Joseph Myers <joseph@codesourcery.com>
9104
9105 * soft-fp/double.h: Indent preprocessor directives inside #if.
9106 * soft-fp/extended.h: Likewise.
9107 * soft-fp/op-2.h: Likewise.
9108 * soft-fp/op-4.h: Likewise.
9109 * soft-fp/op-common.h: Likewise.
9110 * soft-fp/quad.h: Likewise.
9111 * soft-fp/single.h: Likewise.
9112 * soft-fp/soft-fp.h: Likewise.
9113
55602758
YC
91142013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9115
9116 * iconv/iconv_prog.c: Fix typos.
9117 * stdio-common/psiginfo-data.h: Likewise.
9118
9cd83302
RT
91192013-10-12 Reuben Thomas <rrt@sc3d.org>
9120
9121 [BZ #15764]
9122 * locale/setlocale.c: Fix typo.
9123
99fd9f47
JM
91242013-10-12 Joseph Myers <joseph@codesourcery.com>
9125
b7ea74f0
JM
9126 [BZ #16036]
9127 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9128 signaling NaN arguments.
9129 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9130 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9131
8a509447
JM
9132 [BZ #14910]
9133 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9134 unordered operands.
9135 * soft-fp/gesf2.c (__gesf2): Likewise.
9136 * soft-fp/getf2.c (__getf2): Likewise.
9137 * soft-fp/ledf2.c (__ledf2): Likewise.
9138 * soft-fp/lesf2.c (__lesf2): Likewise.
9139 * soft-fp/letf2.c (__letf2): Likewise.
9140
98998e9f
JM
9141 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9142 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9143 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9144 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9145 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9146 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9147 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9148 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9149 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9150 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9151 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9152 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9153 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9154 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9155 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9156 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9157 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9158 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9159 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9160 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9161 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9162 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9163 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9164 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9165 * soft-fp/floattidf.c (__floattidf): Likewise.
9166 * soft-fp/floattisf.c (__floattisf): Likewise.
9167 * soft-fp/floattitf.c (__floattitf): Likewise.
9168 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9169 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9170 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9171 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9172 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9173 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9174 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9175 * soft-fp/gesf2.c (__gesf2): Likewise.
9176 * soft-fp/getf2.c (__getf2): Likewise.
9177 * soft-fp/ledf2.c (__ledf2): Likewise.
9178 * soft-fp/lesf2.c (__lesf2): Likewise.
9179 * soft-fp/letf2.c (__letf2): Likewise.
9180
8edc4a11
JM
9181 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9182 Undefine and redefine.
9183 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9184 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9185 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9186 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9187 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9188 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9189 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9190 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9191 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9192 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9193 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9194 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9195 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9196 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9197 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9198
8399acaf
JM
9199 [BZ #16032]
9200 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9201 without decrementing exponent if mantissa >= that for the
9202 denominator, not >.
9203 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9204 denominator, not >. Decrement exponent in < case instead of
9205 incrementing in >= case.
9206 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9207 without decrementing exponent if mantissa >= that for the
9208 denominator, not >.
9209
99fd9f47
JM
9210 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9211 computing saturated result for unsigned overflow.
9212
10e1cf6b
SP
92132013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9214 Jeff Law <law@redhat.com>
9215
9216 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9217 (atan2Mp): Add systemtap probe marker.
9218 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9219 (__ieee754_log): Add systemtap probe marker.
9220 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9221 (atanMp): Add systemtap probe marker.
9222 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9223 (tanMp): Add systemtap probe marker.
9224 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9225 (__slowexp): Add systemtap probe marker.
9226 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9227 (__slowpow): Add systemtap probe marker.
9228 * manual/probes.texi: Document probes.
9229
3d110c7c
EB
92302013-10-11 Eric Biggers <ebiggers3@gmail.com>
9231
9232 [BZ #15362]
9233 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9234 written.
9235 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9236 written.
9237 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9238 written to buffer but not flushed.
9239 * libio/iofwrite_u.c: Likewise.
9240 * libio/iopadn.c: Return bytes returned even if EOF was
9241 encountered.
9242 * libio/iowpadn.c: Likewise.
9243 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9244 if _IO_padn does not write the whole buffer.
9245 [!COMPILE_WPRINTF] (PAD): Likewise.
9246
75b4202a
DM
92472013-10-10 David S. Miller <davem@davemloft.net>
9248
9249 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9250 directory block.
9251
6c6352e6
JM
92522013-10-10 Joseph Myers <joseph@codesourcery.com>
9253
33b853c3
JM
9254 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9255 instead of FSF address.
9256 * soft-fp/fixdfti.c: Likewise.
9257 * soft-fp/fixsfti.c: Likewise.
9258 * soft-fp/fixtfti.c: Likewise.
9259 * soft-fp/fixunsdfti.c: Likewise.
9260 * soft-fp/fixunssfti.c: Likewise.
9261 * soft-fp/fixunstfti.c: Likewise.
9262 * soft-fp/floattidf.c: Likewise.
9263 * soft-fp/floattisf.c: Likewise.
9264 * soft-fp/floattitf.c: Likewise.
9265 * soft-fp/floatuntidf.c: Likewise.
9266 * soft-fp/floatuntisf.c: Likewise.
9267 * soft-fp/floatuntitf.c: Likewise.
9268 * soft-fp/trunctfxf2.c: Likewise.
9269
6c6352e6
JM
9270 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9271 * soft-fp/fixdfti.c: Likewise.
9272 * soft-fp/fixsfti.c: Likewise.
9273 * soft-fp/fixtfti.c: Likewise.
9274 * soft-fp/fixunsdfti.c: Likewise.
9275 * soft-fp/fixunssfti.c: Likewise.
9276 * soft-fp/fixunstfti.c: Likewise.
9277 * soft-fp/floattidf.c: Likewise.
9278 * soft-fp/floattisf.c: Likewise.
9279 * soft-fp/floattitf.c: Likewise.
9280 * soft-fp/floatuntidf.c: Likewise.
9281 * soft-fp/floatuntisf.c: Likewise.
9282 * soft-fp/floatuntitf.c: Likewise.
9283 * soft-fp/trunctfxf2.c: Likewise.
9284
3bf78b71
DM
92852013-10-10 David S. Miller <davem@davemloft.net>
9286
9287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9288
6f10289e
JM
92892013-10-10 Joseph Myers <joseph@codsourcery.com>
9290
bd878fc0
JM
9291 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9292 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9293 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9294 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9295 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9296 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9297 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9298
6f10289e
JM
9299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9300 for NaNs before doing comparisons on argument.
9301 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9302 Likewise.
9303
321e2684
WN
93042013-10-10 Will Newton <will.newton@linaro.org>
9305
9306 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9307 passed to _int_memalign does not overflow.
9308
40fefba1
TR
93092013-10-10 Torvald Riegel <triegel@redhat.com>
9310
9311 * scripts/bench.pl: Add include-sources directive.
9312 * benchtests/README: Update documentation.
9313
2ae21ed2
JM
93142013-10-10 Joseph Myers <joseph@codesourcery.com>
9315
dcc2dd3f
JM
9316 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9317 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9318 instead of FP_INIT_ROUNDMODE.
9319 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9320 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9321
2ae21ed2
JM
9322 [BZ #16034]
9323 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9324 copy class of input value.
9325 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9326 not handle exceptions.
9327 * soft-fp/negsf2.c (__negsf2): Likewise.
9328 * soft-fp/negtf2.c (__negtf2): Likewise.
9329 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9330
cb8f9562
JM
93312013-10-09 Joseph Myers <joseph@codesourcery.com>
9332
9333 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9334 semicolon. From Linux kernel.
9335
5b60c59d
AB
93362013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9337
9338 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9339
b86835ca
YC
93402013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9341
9342 [BZ #156]
9343 * manual/socket.texi: Added statement about buffer
9344 for gethostbyname2_r.
9345
e7044ea7
OB
93462013-10-08 Ondřej Bílka <neleai@seznam.cz>
9347
9348 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9349 Use .p2align directive instead, throughout.
9350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9351 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9352 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9353 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9354 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9355 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9356 * sysdeps/x86_64/strchr.S: Likewise.
9357 * sysdeps/x86_64/strrchr.S: Likewise.
9358
09544cbc
SP
93592013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9360
88576635
SP
9361 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9362
e7b2d1dd
SP
9363 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9364
09544cbc
SP
9365 * sysdeps/generic/math_private.h (__mpsin1): Remove
9366 declaration.
9367 (__mpcos1): Likewise.
9368 (__mpsin): New argument __range_reduce.
9369 (__mpcos): Likewise.
9370 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9371 (slow): Use __mpsin and __mpcos.
9372 (slow1): Likewise.
9373 (slow2): Likewise.
9374 (sloww): Likewise.
9375 (sloww1): Likewise.
9376 (sloww2): Likewise.
9377 (bsloww): Likewise.
9378 (bsloww1): Likewise.
9379 (bsloww2): Likewise.
9380 (cslow2): Likewise.
9381 (csloww): Likewise.
9382 (csloww1): Likewise.
9383 (csloww2): Likewise.
9384 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9385 range_reduce. Merge in __mpsin1.
9386 (__mpcos): Likewise.
9387 (__mpsin1): Remove.
9388 (__mpcos1): Likewise.
9389
7602d070
JM
93902013-10-07 Joseph Myers <joseph@codesourcery.com>
9391
9392 * locale/loadlocale.c (_nl_intern_locale_data): Use
9393 LOCFILE_ALIGNED_P.
9394 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9395 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9396 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9397 obstack data is appropriately aligned.
9398 (obstack_int32_grow_fast): Likewise.
9399 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9400 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9401 (add_locale_uint32_array): Likewise.
9402
a357259b
SP
94032013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9404
9405 * benchtests/Makefile: Remove ARGLIST and RET variables.
9406 ($(objpfx)bench-%.c): Pass only function name to the script.
9407 * benchtests/README: Update documentation.
9408 * benchtests/acos-inputs: Add new directives.
9409 * benchtests/acosh-inputs: Likewise.
9410 * benchtests/asin-inputs: Likewise.
9411 * benchtests/asinh-inputs: Likewise.
9412 * benchtests/atan-inputs: Likewise.
9413 * benchtests/atanh-inputs: Likewise.
9414 * benchtests/cos-inputs: Likewise.
9415 * benchtests/cosh-inputs: Likewise.
9416 * benchtests/exp-inputs: Likewise.
9417 * benchtests/log-inputs: Likewise.
9418 * benchtests/pow-inputs: Likewise.
9419 * benchtests/rint-inputs: Likewise.
9420 * benchtests/sin-inputs: Likewise.
9421 * benchtests/sinh-inputs: Likewise.
9422 * benchtests/tan-inputs: Likewise.
9423 * benchtests/tanh-inputs: Likewise.
9424 * scripts/bench.pl: Add support for new directives.
9425
9ec1b13d
AM
94262013-10-07 Alan Modra <amodra@gmail.com>
9427
9428 * README: Fix careless merge.
9429
8b7d57cd
AM
94302013-10-05 Alan Modra <amodra@gmail.com>
9431
9432 * NEWS: Mention powerpc64le support and bugs fixed.
9433 * README: Both big-endian and little-endian powerpc64 supported.
9434
7b7bab13
ST
94352013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9436
9437 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9438 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9439 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9440 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9441
d39baad1
RA
94422013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9443
9444 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9445 match prototype.
9446
cd78f7e7
JM
94472013-10-04 Joseph Myers <joseph@codesourcery.com>
9448
29d73d86
JM
9449 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9450 Move -mhard-float appending from
9451 ports/sysdeps/powerpc/powerpc32/Makefile.
9452 [$(with-fp) = yes] (ASFLAGS): Likewise.
9453 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9454 * sysdeps/powerpc/nofpu: Move directory from
9455 ports/sysdeps/powerpc/nofpu.
9456 * sysdeps/powerpc/soft-fp: Move directory from
9457 ports/sysdeps/powerpc/soft-fp.
9458 * sysdeps/powerpc/powerpc32/405: Move directory from
9459 ports/sysdeps/powerpc/powerpc32/405.
9460 * sysdeps/powerpc/powerpc32/440: Move directory from
9461 ports/sysdeps/powerpc/powerpc32/440.
9462 * sysdeps/powerpc/powerpc32/464: Move directory from
9463 ports/sysdeps/powerpc/powerpc32/464.
9464 * sysdeps/powerpc/powerpc32/476: Move directory from
9465 ports/sysdeps/powerpc/powerpc32/476.
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9467 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9469 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9471 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9473 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9475 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9476 * README: Update for powerpc-*-linux-gnu software floating point
9477 support in libc.
9478
e246b347
JM
9479 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9480 case to powerpc/powerpc32*.
9481 * sysdeps/unix/sysv/linux/configure: Regenerated.
9482
89c2003e
JM
9483 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9484 (_FPU_MASK_OM): Define as 0x04.
9485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9487 0x00c10080.
9488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9489 0x0000003c.
9490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9491
cd78f7e7
JM
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9493 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9494 getcontext_e500.
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9496 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9497 setcontext_e500.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9499 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9500 and setcontext_e500.
9501
c755294d
CL
95022013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9503
9504 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9505
e16d221c
SP
95062013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9507
9508 * manual/threads.texi (Default Thread Attributes): Fix typo.
9509
215c7d43
WN
95102013-10-04 Will Newton <will.newton@linaro.org>
9511
9512 * malloc/Makefile: Add tst-memalign.
9513 * malloc/tst-memalign.c: New file.
9514
27d0461b
WN
9515 * malloc/tst-posix_memalign.c: Add comments.
9516 (do_test): Add comments and call free on all potentially
9517 allocated pointers. Add space after cast.
9518
1bc92709
WN
9519 * malloc/tst-pvalloc.c: Add comments.
9520 (do_test): Add comments and call free on all potentially
9521 allocated pointers. Remove duplicate check for NULL pointer.
9522 Add space after cast.
9523
66a9be9d
WN
9524 * malloc/tst-valloc.c: Add comments.
9525 (do_test): Add comments and call free on all potentially
9526 allocated pointers. Remove duplicate check for NULL pointer.
9527 Add space after cast.
9528
4cb81307
AM
95292013-10-04 Alan Modra <amodra@gmail.com>
9530
9531 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9532 Use stdint types in rather than __attribute__((mode())).
9533 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9534
f8e3e9f3
AM
95352013-10-04 Alan Modra <amodra@gmail.com>
9536
9537 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9538 Correct handling of unaligned relocs for little-endian.
9539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9540
8f9ebb08
AM
95412013-10-04 Alan Modra <amodra@gmail.com>
9542
9543 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9544 * configure: Regenerate.
9545 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9546 * shlib-versions: Likewise.
9547
0edf96c2
AM
95482013-10-04 Alan Modra <amodra@gmail.com>
9549
9550 * string/tester.c (test_memrchr): Increment reported test cycle.
9551
e0f7a380
AM
95522013-10-04 Alan Modra <amodra@gmail.com>
9553
9554 * string/test-memcpy.c (do_one_test): When reporting errors, print
9555 string address and don't overrun end of string.
9556
466b0393
AM
95572013-10-04 Alan Modra <amodra@gmail.com>
9558
9559 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9560 insrdi. Make better use of reg selection to speed exit slightly.
9561 Schedule entry path a little better. Remove useless "are we done"
9562 checks on entry to main loop. Handle wrapping around zero address.
9563 Correct main loop count. Handle single left-over word from main
9564 loop inline rather than by using loop_small. Remove extra word
9565 case in loop_small caused by wrong loop count. Add little-endian
9566 support.
9567 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9568 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9569 cache hint.
9570 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9571 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9572 support. Avoid rlwimi.
9573 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9574
3be87c77
AM
95752013-10-04 Alan Modra <amodra@gmail.com>
9576
9577 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9578 insrdi. Formatting.
3be87c77
AM
9579 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9580 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9581 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9582 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9584 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9585
759cfef3
AM
95862013-10-04 Alan Modra <amodra@gmail.com>
9587
9588 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9589 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9590 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9591 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9593 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9594 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9595 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9596 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9597 use of regs. Use power7 mtocrf. Tidy function tails.
9598
fe6e95d7
AM
95992013-10-04 Alan Modra <amodra@gmail.com>
9600
9601 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9602 Formatting. Consistently use rXXX register defines or rN defines.
9603 Use early exit labels that avoid restoring unused non-volatile regs.
9604 Make cr field use more consistent with rWORDn compares. Rename
9605 regs used as shift registers for unaligned loop, using rN defines
9606 for short lifetime/multiple use regs.
9607 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9609 addi 1,1,64 to pop stack frame. Simplify return value code.
9610 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9611
664318c3
AM
96122013-10-04 Alan Modra <amodra@gmail.com>
9613
9614 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9615 support. Correct typos, formatting. Optimize tail. Use insrdi
9616 rather than rlwimi.
9617 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9618 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9619 little-endian support. Correct typos.
9620 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9621 rather than rlwimi.
9622 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9623 in loop and entry code to keep "and." results.
9624 (strchr): Add little-endian support. Comment. Move cntlzd
9625 earlier in tail.
9626 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9627
43b84013
AM
96282013-10-04 Alan Modra <amodra@gmail.com>
9629
9630 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9631 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9632 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9633 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9634
8a7413f9
AM
96352013-10-04 Alan Modra <amodra@gmail.com>
9636
9637 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9638 (rTMP): Define as r11.
9639 (strcmp): Add little-endian support. Optimise tail.
9640 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9641 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9642 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9643 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9644 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9647
33ee81de
AM
96482013-10-04 Alan Modra <amodra@gmail.com>
9649
9650 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9651 little-endian support. Remove unnecessary "are we done" tests.
9652 Handle "s" wrapping around zero and extremely large "size".
9653 Correct main loop count. Handle single left-over word from main
9654 loop inline rather than by using small_loop. Correct comments.
9655 Delete "zero" tail, use "end_max" instead.
9656 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9657
db9b4570
AM
96582013-10-04 Alan Modra <amodra@gmail.com>
9659
9660 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9661 support. Don't branch over align.
9662 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9663 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9664 support. Rearrange tmp reg use to suit. Comment.
9665 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9666
f7c399cf
AM
96672013-10-04 Alan Modra <amodra@gmail.com>
9668
9669 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9670
0b2c2ace
AM
96712013-10-04 Alan Modra <amodra@gmail.com>
9672
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9674 conditional form of branch and link when obtaining pc.
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9676
02f04a6c
AM
96772013-10-04 Alan Modra <amodra@gmail.com>
9678
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9680 HIWORD/LOWORD.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9683
9b874b2f
AM
96842013-10-04 Alan Modra <amodra@gmail.com>
9685
9686 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9687 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9688 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9689 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9690 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9691 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9692 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9693 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9694 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9695 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9696
be1e5d31
AB
96972013-10-04 Anton Blanchard <anton@au1.ibm.com>
9698 Alistair Popple <alistair@ozlabs.au.ibm.com>
9699 Alan Modra <amodra@gmail.com>
9700
9701 [BZ #15723]
9702 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9703 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9704 _dl_hwcap access for little-endian.
9705 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9706 destroy vmx regs when saving unaligned.
9707 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9708 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9709 destroy vmx regs when saving unaligned.
9710
fef13a78
AM
97112013-10-04 Alan Modra <amodra@gmail.com>
9712
9713 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9714 Don't use a union to pack hi/low value.
9715
76a66d51
AB
97162013-10-04 Anton Blanchard <anton@au1.ibm.com>
9717
9718 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9719 for little-endian.
9720 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9722 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9723 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9724 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9725
6a31fe7f
AM
97262013-10-04 Alan Modra <amodra@gmail.com>
9727
9728 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9729 constants to usual value for .cst8 section, and remove redundant
9730 high address load.
9731 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9732 constant for 0x1p52. Load little-endian words of double from
9733 correct stack offsets.
9734
7b88401f
AM
97352013-10-04 Alan Modra <amodra@gmail.com>
9736
9737 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9738 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9739 words of double from correct stack offsets.
9740 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9741 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9742 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9743 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9744 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9745 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9746 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9747 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9749 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9750 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9751 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9752 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9753 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9754 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9755 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9756 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9757
9c008155
AM
97582013-10-04 Alan Modra <amodra@gmail.com>
9759
9760 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9761 64-bit int/double union.
9762 (_FPU_SETCW): Likewise.
9763 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9764 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9765
da13146d
AM
97662013-10-04 Alan Modra <amodra@gmail.com>
9767
9768 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9769 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9770
603e8410
AM
97712013-10-04 Alan Modra <amodra@gmail.com>
9772
9773 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9774 use vector int constants.
9775 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9776
4a28b3ca
AB
97772013-10-04 Anton Blanchard <anton@au1.ibm.com>
9778
9779 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9780 array with long long.
9781 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9782 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9783 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9784 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9785 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9786 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9787 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9788 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9789 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9790 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9791 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9792 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9793 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9794
2ca85d2b
AB
97952013-10-04 Anton Blanchard <anton@au1.ibm.com>
9796
9797 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9798 (__signbit): Likewise. Correct for little-endian.
9799 (__signbitl): Call __signbit.
9800 (lrint): Correct for little-endian.
9801 (lrintf): Call lrint.
9802
62a728ae
AM
98032013-10-04 Alan Modra <amodra@gmail.com>
9804
9805 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9806 union 32-bit int array member with 64-bit int array.
9807 (t515, tm256): Double rather than long double.
9808 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9809
32c301df
AM
98102013-10-04 Alan Modra <amodra@gmail.com>
9811
9812 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9813 Delete.
9814 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9815 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9816 version of math_ldbl.h.
9817
650ef4bd
AM
98182013-10-04 Alan Modra <amodra@gmail.com>
9819
9820 [BZ #15734], [BZ #15735]
9821 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9822 all uses of ieee875 long double macros and unions. Simplify test
9823 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9824 ldbl_extract_mantissa value for ix,iy exponents. Properly
9825 normalize after ldbl_extract_mantissa, and don't add hidden bit
9826 already handled. Don't treat low word of ieee854 mantissa like
9827 low word of IBM long double and mask off bit when testing for
9828 zero.
9829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9830 all uses of ieee875 long double macros and unions. Simplify tests
9831 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9832 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9833 two1022, instead use their values. Recognise that tests for large
9834 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9835 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9836 Rewrite all uses of ieee875 long double macros and unions. Simplify
9837 test for 0.0L and nan. Correct negation.
9838 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9839 ieee875 long double macros and unions. Correct output for large
9840 magnitude x. Correct absolute value calculation.
9841 (__erfcl): Likewise.
9842 * math/libm-test.inc: Add tests for errors discovered in IBM long
9843 double versions of fmodl, remainderl, erfl and erfcl.
9844
765714ca
AM
98452013-10-04 Alan Modra <amodra@gmail.com>
9846
9847 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9848 all uses of ieee854 long double macros and unions. Simplify tests
9849 for long doubles that are fully specified by the high double.
9850 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9851 Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9853 Remove dead code too.
9854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9855 (__ieee754_ynl): Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9859 Remove dead code too.
9860 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9864 Simplify.
9865 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9866 Simplify.
9867 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9870 Comment on variable precision.
9871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9873 Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9879
4ebd120c
AM
98802013-10-04 Alan Modra <amodra@gmail.com>
9881
9882 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9883 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9884 all uses of ieee854 long double macros and unions.
9885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9891 Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9898 Simplify sign and nan test too.
9899 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9903 Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9906 Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9913
1b6adf88
AM
99142013-10-04 Alan Modra <amodra@gmail.com>
9915
9916 * stdio-common/printf_size.c (__printf_size): Don't use
9917 union ieee854_long_double in fpnum union.
9918 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9919 signbit macro to retrieve sign from long double.
9920 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9921 retrieve sign from long double.
9922 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9923 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9924 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9925 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9926 * math/test-misc.c (main): Don't use union ieee854_long_double.
9927
4cf69995
AM
99282013-10-04 Alan Modra <amodra@gmail.com>
9929
9930 [BZ #15680]
9931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9932 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9933 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9934 calculation. Remove unnecessary test for denormal exponent.
9935 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9936 Correct handling of denormals. Avoid undefined shift behaviour.
9937 Correct normalisation of low mantissa when low double is denormal.
9938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9939 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9940 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9941 Correct normalisation of low mantissa. Test for overflow of high
9942 mantissa and normalise.
9943 (ldbl_nearbyint): Use more readable constant for two52.
9944 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9945 (__mpn_construct_long_double): Fix test for overflow of high
9946 mantissa and correct normalisation. Avoid undefined shift.
9947
9605ca6c
AM
99482013-10-04 Alan Modra <amodra@gmail.com>
9949
9950 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9951 (union ibm_extended_long_double): Define as an array of ieee754_double.
9952 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9953 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9954 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9955 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9959 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9963
975569d0
JM
99642013-10-03 Joseph Myers <joseph@codesourcery.com>
9965
d3d23756
JM
9966 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9967 page size instead of calling getpagesize.
9968
975569d0
JM
9969 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9970 (LOCFILE_ALIGN_MASK): Likewise.
9971 (LOCFILE_ALIGN_UP): Likewise.
9972 (LOCFILE_ALIGNED_P): Likewise.
9973 * locale/programs/ld-collate.c (collate_output): Use the new
9974 macros instead of __alignof__ (int32_t).
9975 * locale/weight.h (findidx): Likewise.
9976
b1fe1f2b
OB
99772013-10-03 Ondřej Bílka <neleai@seznam.cz>
9978
9979 [BZ #431]
9980 * manual/string.texi: Fix strncat and wcsncat.
9981
5f855e35
BM
99822013-10-03 Brooks Moses <bmoses@google.com>
9983
9984 [BZ #15915]
9985 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9986 * Makerules: ...here, and adjust associated comments.
9987
3cef6009
WN
99882013-10-02 Will Newton <will.newton@linaro.org>
9989
9990 * malloc/Makefile: Add tst-pvalloc.
9991 * malloc/tst-pvalloc.c: New file.
9992
7815420b
WN
99932013-10-02 Will Newton <will.newton@linaro.org>
9994
9995 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9996 improve test coverage.
9997
4868b204
WN
99982013-10-02 Will Newton <will.newton@linaro.org>
9999
10000 * malloc/Makefile: Add tst-posix_memalign.
10001 * malloc/tst-posix_memalign.c: New file.
10002
29c793b3
EB
100032013-10-01 Eric Blake <eblake@redhat.com>
10004
10005 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10006 Use __THROWNL rather than __THROW on static functions.
10007
fd967522
PM
100082013-09-30 Petr Machata <pmachata@redhat.com>
10009
10010 * elf/elf.h (R_AARCH64_ABS16): New macro.
10011 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10012 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10013 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10014 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10015 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10016 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10017 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10018 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10019 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10020 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10021 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10022 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10023 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10024 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10025 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10026 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10027 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10028 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10029 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10030 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10031 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10032 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10033 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10034 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10035 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10036 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10037 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10038 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10039 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10040 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10041 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10042 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10043 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10044 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10045 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10046 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10047 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10048 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10049 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10050 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10051 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10052 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10053 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10054 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10055 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10056 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10057 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10058 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10059 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10060 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10061 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10062 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10063 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10064 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10065 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10066 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10067 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10068 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10069 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10070 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10071 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10072 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10073 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10074 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10075 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10076 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10077 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10078 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10079 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10080 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10081 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10082 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10083 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10084 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10085 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10086 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10087 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10088 (R_AARCH64_TLSDESC_LDR): Likewise.
10089 (R_AARCH64_TLSDESC_ADD): Likewise.
10090 (R_AARCH64_TLSDESC_CALL): Likewise.
10091
b2179107
AS
100922013-09-30 Andreas Schwab <schwab@suse.de>
10093
10094 [BZ #15048]
10095 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10096 the nss database lookup.
10097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10099
47f28d0a
MF
101002013-09-28 Mike Frysinger <vapier@gentoo.org>
10101
10102 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10103
101042013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10105
10106 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10107 ${Bash-specific parameter/pattern/string} parameter expansion.
10108 * sysdeps/unix/make-syscalls.sh: Likewise.
10109
f4518a17
KK
101102013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10111
10112 * sysdeps/sh/stackguard-macros.h: New file.
10113
dc1a95c7
OB
101142013-09-26 Ondřej Bílka <neleai@seznam.cz>
10115
10116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10117 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10118 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10119 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10120 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10121 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10122
5ebbff8f
AZ
101232013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10124
10125 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10126 Fix thread ID register.
10127
4fd2cf9f
JM
101282013-09-25 Joseph Myers <joseph@codesourcery.com>
10129
10130 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10131 [POSIX || UNIX98]: Require rather than permitting all symbols from
10132 <time.h>.
10133 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10134 element of struct sched_param.
10135 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10136 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10137 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10138 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10139 constant.
10140
12c22bc4
OL
101412013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10142
10143 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10144 argument calculation.
10145
a03d8ea7
JM
101462013-09-24 Joseph Myers <joseph@codesourcery.com>
10147
10148 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10149 Expect macro.
10150 [POSIX] (pthread_attr_t): Do not require type.
10151 [POSIX] (pthread_cond_t): Likewise.
10152 [POSIX] (pthread_condattr_t): Likewise.
10153 [POSIX] (pthread_key_t): Likewise.
10154 [POSIX] (pthread_mutex_t): Likewise.
10155 [POSIX] (pthread_mutexattr_t): Likewise.
10156 [POSIX] (pthread_once_t): Likewise.
10157 [POSIX] (pthread_t): Likewise.
10158 [POSIX-based standards] (pthread_atfork): Expect function.
10159
6055173a
JM
101602013-09-24 Joseph Myers <joseph@codesourcery.com>
10161 Richard Sandiford <richard@codesourcery.com>
10162
10163 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10164 (swap_endianness_p): New extern variable.
10165 (set_big_endian): New inline function.
10166 (maybe_swap_uint32): Likewise.
10167 (maybe_swap_uint32_array): Likewise.
10168 (maybe_swap_uint32_obstack): Likewise.
10169 * locale/programs/locfile.c: Include <stdbool.h>.
10170 (swap_endianness_p): New variable.
10171 (add_locale_uint32): Call maybe_swap_uint32.
10172 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10173 (write_locale_data): Call maybe_swap_uint32_array.
10174 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10175 maybe_swap_uint32.
10176 (obstack_int32_grow_fast): Likewise.
10177 (output_weightwc): Call maybe_swap_uint32_obstack.
10178 (collate_output): Likewise.
10179 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10180 (OPT_LITTLE_ENDIAN): Likewise.
10181 (options): Add --little-endian and --big-endian options.
10182 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10183 * locale/programs/locarchive.c: Include "locfile.h".
10184 (GET): New macro.
10185 (SET): Likewise.
10186 (INC): Likewise.
10187 (create_archive): Use the new macros to access fields of
10188 structures directly mapped from or written to locale archives.
10189 (oldlocrecentcmp): Likewise.
10190 (enlarge_archive): Likewise.
10191 (insert_name): Likewise.
10192 (add_alias): Likewise.
10193 (add_locale): Likewise.
10194 (delete_locales_from_archive): Likewise.
10195 (show_archive_content): Likewise.
10196 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10197 locale data.
10198
39bf0bb4
RM
101992013-09-24 Roland McGrath <roland@hack.frob.com>
10200
10201 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10202 http://www.gnu.org/doc/freemanuals.texi.
10203 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10204
f02eed10
WN
102052013-09-24 Will Newton <will.newton@linaro.org>
10206
10207 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10208 macro.
10209
a3a6c312
JM
102102013-09-23 Joseph Myers <joseph@codesourcery.com>
10211
10212 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10213 unsigned char.
10214
107375ac
MR
102152013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10216
10217 * manual/threads.texi (POSIX Threads): Fix a typo.
10218
141f3a77
SP
102192013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10220
303e567a
SP
10221 [BZ #14547]
10222 * string/tst-strcoll-overflow.c: New test case.
10223 * string/Makefile (xtests): Add tst-strcoll-overflow.
10224 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10225 cache if string sizes may cause integer overflow.
10226
141f3a77
SP
10227 [BZ #14547]
10228 * string/strcoll_l.c (coll_seq): New members rule, idx,
10229 save_idx and back_us.
10230 (get_next_seq_nocache): New function.
10231 (do_compare_nocache): New function.
10232 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10233 when malloc fails.
10234
c61b4d41
CD
102352013-09-23 Carlos O'Donell <carlos@redhat.com>
10236
0b1f8e35
CD
10237 [BZ #15754]
10238 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10239 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10240 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10241
c61b4d41
CD
10242 [BZ #15754]
10243 * elf/Makefile (tests): Add tst-ptrguard1.
10244 (tests-static): Add tst-ptrguard1-static.
10245 (tst-ptrguard1-ARGS): Define.
10246 (tst-ptrguard1-static-ARGS): Define.
10247 * elf/tst-ptrguard1.c: New file.
10248 * elf/tst-ptrguard1-static.c: New file.
10249 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10250 * sysdeps/i386/stackguard-macros.h: Likewise.
10251 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10252 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10253 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10254 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10255 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10256 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10257
102582013-09-23 Hector Marco <hecmargi@upv.es>
10259 Ismael Ripoll <iripoll@disca.upv.es>
10260 Carlos O'Donell <carlos@redhat.com>
10261
10262 [BZ #15754]
10263 * sysdeps/generic/stackguard-macros.h: Define
10264 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10265 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10266 Define __pointer_chk_guard_local.
10267 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10268 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10269
f5f4e7b4
VV
102702013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10271
10272 [BZ #15859]
10273 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10274
5bb43a43
AS
102752013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10276
10277 * include/string.h (__ffs): Declare as hidden.
10278 * string/ffs.c (__ffs): Define as hidden.
10279 * sysdeps/i386/ffs.c (__ffs): Likewise.
10280 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10281 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10282 * sysdeps/s390/ffs.c (__ffs): Likewise.
10283 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10284
3ea5be54
AO
102852013-09-20 Alexandre Oliva <aoliva@redhat.com>
10286
ffb89e53
AO
10287 * NEWS: Mention malloc probes.
10288
322dea08
AO
10289 * malloc/arena.c (new_heap): New memory_heap_new probe.
10290 (grow_heap): New memory_heap_more probe.
10291 (shrink_heap): New memory_heap_less probe.
10292 (heap_trim): New memory_heap_free probe.
10293 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10294 (systrim): New memory_sbrk_less probe.
10295 * manual/probes.texi: Document them.
10296
655673f3
AO
10297 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10298 * manual/probes.texi: Document it.
10299
35fed6f1
AO
10300 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10301 (__libc_realloc): Add memory_realloc_retry probe.
10302 (__libc_memalign): Add memory_memalign_retry probe.
10303 (__libc_valloc): Add memory_valloc_retry probe.
10304 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10305 (__libc_calloc): Add memory_calloc_retry probe.
10306 * manual/probes.texi: Document them.
10307
6999d38c
AO
10308 * malloc/arena.c (get_free_list): Add probe
10309 memory_arena_reuse_free_list.
10310 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10311 and memory_arena_reuse.
10312 (arena_get2) [!PER_THREAD]: Likewise.
10313 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10314 memory_arena_reuse_realloc.
10315 * manual/probes.texi: Document them.
10316
0653427f
AO
10317 * malloc/malloc.c (__libc_free): Add
10318 memory_mallopt_free_dyn_thresholds probe.
10319 (__libc_mallopt): Add multiple memory_mallopt probes.
10320 * manual/probes.texi: Document them.
10321
3ea5be54
AO
10322 * malloc/malloc.c: Include stap-probe.h.
10323 (__libc_mallopt): Add memory_mallopt probe.
10324 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10325 * manual/probes.texi: New.
10326 * manual/Makefile (chapters): Add probes.
10327 * manual/threads.texi: Set next node.
10328
e35696c3 103292013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10330
e35696c3
CL
10331 [BZ #15963, #13985]
10332 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10333 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10334 Add `Chinese' to `nan' entry name.
10335
4aafb73c
SP
103362013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10337
10338 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10339 (POLYNOMIAL): Likewise.
10340 (TAYLOR_SINCOS): Likewise.
10341 (TAYLOR_SLOW): Likewise.
10342 (__sin): Use TAYLOR_SINCOS.
10343 (__cos): Likewise.
10344 (slow): Use TAYLOR_SLOW.
10345 (sloww): Likewise.
10346 (bsloww): Likewise.
10347 (csloww): Likewise.
10348
d84f25c7
LD
103492013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10350
10351 * stdlib/strtod_l.c: Fix buffer overrun.
10352
5eea0404
SP
103532013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10354
7849ff93
SP
10355 * benchtests/Makefile (bench): Add sincos.
10356 * benchtests/bench-sincos.c: New file.
10357
cfa3c886
SP
10358 * math/libm-test.inc (cos_test_data): New test inputs.
10359 (sin_test_data): Likewise.
10360
b348e1e3
SP
10361 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10362 macro.
10363 (__sin): Use it.
10364 (__cos): Likewise.
10365 (slow1): Likewise.
10366 (slow2): Likewise.
10367 (sloww1): Likewise.
10368 (sloww2): Likewise.
10369 (bsloww1): Likewise.
10370 (bsloww2): Likewise.
10371 (cslow2): Likewise.
10372 (csloww1): Likewise.
10373 (csloww2): Likewise.
10374
6cce25f8
SP
10375 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10376 function.
10377 (__sin): Use it.
10378 (__cos): Likewise.
10379
5eea0404
SP
10380 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10381 gotos.
10382 (__cos): Likewise.
10383
9c21573c
MR
103842013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10385
10386 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10387 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10388 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10389 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10390 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10391 * elf/cache.c (print_entry): Handle the new cache flags.
10392
24d22e65
JM
103932013-09-18 Joseph Myers <joseph@codesourcery.com>
10394 Aldy Hernandez <aldyh@redhat.com>
10395
10396 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10397 Change condition to [_SOFT_FLOAT].
10398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10410 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10413 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10414 declaration.
10415
d13ef066
JM
104162013-09-18 Joseph Myers <joseph@codesourcery.com>
10417
2e071de0
JM
10418 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10419 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10420 (__longjmp): Use LOAD_GP to load saved GPRs.
10421 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10422 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10423 (__sigsetjmp): Use SAVE_GP to save GPRs.
10424
d13ef066
JM
10425 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10426 Do not append -msoft-float.
10427 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10428
97a0650b
SP
104292013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10430
10431 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10432
11ca09e9
JM
104332013-09-17 Joseph Myers <joseph@codesourcery.com>
10434
10435 [BZ #15966]
10436 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10437 (_FPU_GETCW): Use initial "__" on variable and field names but not
10438 on macro parameter name.
10439 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10440 parentheses around reference to macro parameter.
10441
08ffcf34
RS
104422013-09-13 Richard Sandiford <richard@codesourcery.com>
10443
10444 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10445 prototype.
10446 (ctype_startup): Use uint32_t in cast and sizeof for
10447 ctype->charnames.
10448
ae7080d3
JL
104492013-09-11 Jia Liu <proljc@gmail.com>
10450
10451 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10452 __daddr_t_defined.
10453 [__FreeBSD__]: Likewise.
10454
5905e7b3
OB
104552013-09-11 Ondřej Bílka <neleai@seznam.cz>
10456
10457 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10458 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10459 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10460 (strchr): Remove __strchr_sse42 ifunc selection.
10461 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10462 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10463
b987c776
WN
104642013-09-11 Will Newton <will.newton@linaro.org>
10465
10466 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10467 parameter to RES. Remove hardcoded 1000 value.
10468 * benchtests/bench-skeleton.c (main): Pass RES parameter
10469 to TIMING_INIT and multiply result by 1000.
10470
ddf985af
AZ
104712013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10472
10473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10474
ffdd3181
AS
104752013-09-11 Andreas Schwab <schwab@suse.de>
10476
10477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10478 if not defined.
10479 (O_TMPFILE) [__USE_GNU]: Define.
10480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10481 Define.
10482
b73ed247
WN
104832013-09-11 Will Newton <will.newton@linaro.org>
10484
10485 [BZ #15857]
10486 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10487 does not overflow.
10488
55e17aad
WN
104892013-09-11 Will Newton <will.newton@linaro.org>
10490
10491 [BZ #15856]
10492 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10493 does not overflow.
10494
1159a193
WN
104952013-09-11 Will Newton <will.newton@linaro.org>
10496
10497 [BZ #15855]
10498 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10499 does not overflow.
10500
5905e7b3 105012013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10502
10503 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10504 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10508
cdfc721b
AM
105092013-09-10 Allan McRae <allan@archlinux.org>
10510
aa04af00
AM
10511 [BZ #15748]
10512 * manual/arith.texi (Parsing of Floats): Clarify
10513 cross-reference.
10514
cdfc721b
AM
10515 [BZ #15849]
10516 * manual/install.texi (Running make install): Mention
10517 --enable-pt-chown.
10518 * INSTALL: Regenerated.
10519
95e7cf29
MR
105202013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10521
10522 * csu/init-first.c (_init): Remove the !SHARED condition around
10523 FPU control word initialization.
10524 * elf/dl-support.c (_dl_fpu_control): New variable.
10525 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10526 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10527 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10528 * math/test-fpucw-static.c: New file.
10529 * math/test-fpucw-ieee.c: New file.
10530 * math/test-fpucw-ieee-static.c: New file.
10531 * math/Makefile (tests): Add `test-fpucw-ieee' and
10532 `$(tests-static)'.
10533 (tests-static): New variable.
10534 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10535 dependency to...
10536 [($(build-shared),yes)]
10537 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10538 ... this.
10539 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10540 New dependency.
10541
83e43bf0
AM
105422013-09-09 Allan McRae <allan@archlinux.org>
10543
a9f5ce09
AM
10544 [BZ #15939]
10545 * manual/string.texi (Collation Functions): Fix typo in
10546 strcoll example.
10547 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10548
34829bc2
AM
10549 [BZ #15893]
10550 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10551
3932737d
AM
10552 [BZ #15892]
10553 * libio/memstream.c (open_memstream): Fix memory leak.
10554 * libio/wmemstream.c (open_wmemstream): Likewise.
10555
83e43bf0
AM
10556 [BZ #15895]
10557 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10558
0c66b8e9
WN
105592013-09-09 Will Newton <will.newton@linaro.org>
10560
10561 * malloc/Makefile: Add tst-realloc to tests.
10562 * malloc/tst-realloc.c: New file.
10563
f6b00fd1
AM
105642013-09-09 Allan McRae <allan@archlinux.org>
10565
10566 [BZ #15844]
10567 * COPYING: Update from GNU website to fix FSF address.
10568 * COPYING.LIB: Likewise.
10569
eec55e16
DM
105702013-09-06 David S. Miller <davem@davemloft.net>
10571
10572 * po/zh_TW.po: Update Chinese (traditional) translation from
10573 translation project.
10574
1ecbb381
RS
105752013-09-06 Richard Sandiford <richard@codesourcery.com>
10576 Joseph Myers <joseph@codesourcery.com>
10577
10578 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10579 "localeinfo.h".
10580 (obstack_chunk_alloc): New macro.
10581 (obstack_chunk_free): Likewise.
10582 (record_offset): New function.
10583 (init_locale_data): Likewise.
10584 (align_locale_data): Likewise.
10585 (add_locale_empty): Likewise.
10586 (add_locale_raw_data): Likewise.
10587 (add_locale_raw_obstack): Likewise.
10588 (add_locale_string): Likewise.
10589 (add_locale_wstring): Likewise.
10590 (add_locale_uint32): Likewise.
10591 (add_locale_uint32_array): Likewise.
10592 (add_locale_char): Likewise.
10593 (start_locale_structure): Likewise.
10594 (end_locale_structure): Likewise.
10595 (start_locale_prelude): Likewise.
10596 (end_locale_prelude): Likewise.
10597 (write_locale_data): Take locale_file structure rather than an
10598 iovec.
10599 * locale/programs/locfile.h: Include "obstack.h".
10600 (struct locale_file): Change to store locale file contents instead
10601 of header.
10602 (init_locale_data): New prototype.
10603 (align_locale_data): Likewise.
10604 (add_locale_empty): Likewise.
10605 (add_locale_raw_data): Likewise.
10606 (add_locale_raw_obstack): Likewise.
10607 (add_locale_string): Likewise.
10608 (add_locale_wstring): Likewise.
10609 (add_locale_uint32): Likewise.
10610 (add_locale_uint32_array): Likewise.
10611 (add_locale_char): Likewise.
10612 (start_locale_structure): Likewise.
10613 (end_locale_structure): Likewise.
10614 (start_locale_prelude): Likewise.
10615 (end_locale_prelude): Likewise.
10616 (write_locale_data): Update prototype.
10617 * locale/programs/3level.h (struct TABLE): Remove result field.
10618 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10619 Use new locale_file interface.
10620 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10621 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10622 * locale/programs/ld-address.c (address_output): Use new
10623 locale_file interface.
10624 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10625 NO_ADD_LOCALE.
10626 (collate_finish): Don't call collseq_table_finalize.
10627 (collate_output): Use new locale_file interface.
10628 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10629 in file.
10630 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10631 (TABLE): Move defines earlier in file.
10632 (ELEMENT): Likewise.
10633 (DEFAULT): Likewise.
10634 (wctrans_table_add): Move macro and inline function earlier in
10635 file.
10636 (struct wctype_table): Move type earlier in file.
10637 (add_locale_wctype_table): New static prototype.
10638 (struct locale_ctype_t): Use logical types instead of struct iovec
10639 pointers for members.
10640 (ctype_output): Use new locale_file interface.
10641 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10642 new locale_file interface.
10643 (allocate_arrays): Update for use of new locale_file interface.
10644 * locale/programs/ld-identification.c (identification_output): Use
10645 new locale_file interface.
10646 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10647 * locale/programs/ld-messages.c (messages_output): Likewise.
10648 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10649 * locale/programs/ld-name.c (name_output): Likewise.
10650 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10651 * locale/programs/ld-paper.c (paper_output): Likewise.
10652 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10653 * locale/programs/ld-time.c (time_output): Likewise.
10654
e029e2e5
AZ
106552013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10656
10657 * benchtests/Makefile: Add memrchr benchmark.
10658 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10659 benchmark as memrchr.
10660 * benchtests/bench-memrchr-ifunc.c: New file.
10661 * benchtests/bench-memrchr.c: New file.
10662
bbf6e8e4
WN
106632013-09-06 Will Newton <will.newton@linaro.org>
10664
10665 * benchtests/Makefile (string-bench): Add memcpy.
10666
6c82a2f8
CD
106672013-09-05 Carlos O'Donell <carlos@redhat.com>
10668 Cong Wang <amwang@redhat.com>
10669
e732c5f0 10670 [BZ #15850]
6c82a2f8
CD
10671 * sysdeps/unix/sysv/linux/bits/in.h
10672 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10673 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10674 before __USE_KERNEL_IPV6_DEFS uses.
10675 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10676 IPPROTO_BEETPH.
10677 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10678 sockaddr_in6, or ipv6_mreq.
10679
5430fc65
AZ
106802013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10681
10682 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10683 memory access for final bytes in some large inputs.
10684 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10685
4660856c
AZ
106862013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10687
10688 * string/test-memrchr.c: New file.
10689 * string/test-memrchr-ifunc.c: New file.
10690 * string/Makefile: Add new memrchr testcase.
10691
bb8ea713
MF
106922013-09-05 Mike Frysinger <vapier@gentoo.org>
10693
10694 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10695 fanotify_init returns EPERM.
10696
b92a20b5
JM
106972013-09-04 Joseph Myers <joseph@codesourcery.com>
10698
10699 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10700 errors.
10701 (top level): Treat second token from macro or constant entries for
10702 allowed headers as allowed.
10703 * include/complex.h: Condition internal declarations on
10704 [!_ISOMAC].
10705 * include/fenv.h: Condition include of <stdbool.h> and internal
10706 declarations on [!_ISOMAC].
7447ccd9
CL
10707
107082013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10709
3e181dda 10710 [BZ #15923]
7447ccd9
CL
10711 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10712
3f2e46a4
JM
107132013-09-04 Joseph Myers <joseph@codesourcery.com>
10714
10715 * configure.in (--enable-versioning): Remove configure option.
10716 (libc_cv_asm_symver_directive): Remove configure test.
10717 (libc_cv_ld_version_script_option): Likewise.
10718 (VERSIONING): Remove variable and AC_SUBST.
10719 (DO_VERSIONING): Remove AC_DEFINE.
10720 * configure: Regenerated.
10721 * config.h.in (DO_VERSIONING): Remove macro.
10722 * Makerules [$(versioning) = yes]: Change conditionals to
10723 [$(build-shared) = yes].
10724 * config.make.in (versioning): Remove variable.
10725 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10726 [$(build-shared) = yes].
10727 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10728 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10729 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10730 [$(build-shared) = yes].
10731 * extra-lib.mk [$(versioning) = yes]: Likewise.
10732 * hurd/Makefile [$(versioning) = yes]: Likewise.
10733 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10734 [SHARED].
10735 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10736 [SHARED].
10737 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10738 [SHARED && !NO_HIDDEN].
10739 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10740 [SHARED].
10741 [SHARED && DO_VERSIONING]: Likewise..
10742 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10743 [$(build-shared) = yes].
10744 * manual/install.texi (--disable-versioning): Remove
10745 documentation.
10746 * INSTALL: Regenerated.
10747 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10748 to [SHARED].
10749 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10750 [$(build-shared) = yes].
10751 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10752 * sysdeps/i386/i686/multiarch/strstr-c.c
10753 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10754 [SHARED && !NO_HIDDEN].
10755 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10756 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10757 * sysdeps/powerpc/powerpc32/dl-machine.c
10758 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10759 * sysdeps/powerpc/powerpc32/sysdep.h
10760 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10761 to [SHARED && PIC && !NO_HIDDEN].
10762 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10763 conditional to [SHARED].
10764
44558701
WN
107652013-09-04 Will Newton <will.newton@linaro.org>
10766
10767 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10768 * benchtests/bench-string.h: Include bench-timing.h instead
10769 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10770 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10771 call to HP_TIMING_DIFF_INIT.
10772 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10773 instead of hp-timing.h macros.
10774 * benchtests/bench-memchr.c: Likewise.
10775 * benchtests/bench-memcmp.c: Likewise.
10776 * benchtests/bench-memcpy.c: Likewise.
10777 * benchtests/bench-memmem.c: Likewise.
10778 * benchtests/bench-memmove.c: Likewise.
10779 * benchtests/bench-memset.c: Likewise.
10780 * benchtests/bench-rawmemchr.c: Likewise.
10781 * benchtests/bench-strcasecmp.c: Likewise.
10782 * benchtests/bench-strcasestr.c: Likewise.
10783 * benchtests/bench-strcat.c: Likewise.
10784 * benchtests/bench-strchr.c: Likewise.
10785 * benchtests/bench-strcmp.c: Likewise.
10786 * benchtests/bench-strcpy.c: Likewise.
10787 * benchtests/bench-strcpy_chk.c: Likewise.
10788 * benchtests/bench-strlen.c: Likewise.
10789 * benchtests/bench-strncasecmp.c: Likewise.
10790 * benchtests/bench-strncat.c: Likewise.
10791 * benchtests/bench-strncmp.c: Likewise.
10792 * benchtests/bench-strncpy.c: Likewise.
10793 * benchtests/bench-strnlen.c: Likewise.
10794 * benchtests/bench-strpbrk.c: Likewise.
10795 * benchtests/bench-strrchr.c: Likewise.
10796 * benchtests/bench-strspn.c: Likewise.
10797 * benchtests/bench-strstr.c: Likewise.
10798
cae16d66
WN
107992013-09-04 Will Newton <will.newton@linaro.org>
10800
10801 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10802
ffa3cd7f
JM
108032013-09-03 Joseph Myers <joseph@codesourcery.com>
10804
10805 [BZ #15427]
10806 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10807 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10808 * math/libm-test.inc (lgamma_test_data): Add more tests.
10809 * sysdeps/i386/fpu/libm-test-ulps: Update.
10810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10811
8f02859f
OB
108122013-09-03 Ondřej Bílka <neleai@seznam.cz>
10813
10814 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10816 Add ifunc.
10817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10818 Add strcmp-sse2-unaligned
10819 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10820
18d43716
MF
108212013-09-02 Mike Frysinger <vapier@gentoo.org>
10822
10823 * Versions.def (libc): Add GLIBC_2.19.
10824
ac444012
MF
108252013-09-02 Mike Frysinger <vapier@gentoo.org>
10826
10827 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10828 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10829
b7835e32
JM
108302013-09-02 Joseph Myers <joseph@codesourcery.com>
10831
10832 [BZ #14155]
10833 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10834 intermediate calculations in recurrence.
10835 (__ieee754_ynf): Likewise.
10836 * math/libm-test.inc (jn_test_data): Do not allow spurious
10837 underflow exception. Add more tests.
10838 (yn_test_data): Add more tests.
10839 * sysdeps/i386/fpu/libm-test-ulps: Update.
10840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10841
8220f4f0
OB
108422013-09-02 Ondřej Bílka <neleai@seznam.cz>
10843
10844 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10845
f24a6d08
OB
108462013-08-30 Ondřej Bílka <neleai@seznam.cz>
10847
10848 * csu/init-first.c: Fix then/than typos.
10849 * locale/programs/ld-collate.c: Likewise.
10850 * locale/programs/linereader.h: Likewise.
10851 * manual/charset.texi: Likewise.
10852 * manual/filesys.texi: Likewise.
10853 * manual/stdio.texi: Likewise.
10854 * manual/string.texi: Likewise.
10855 * stdlib/fmtmsg.c: Likewise.
10856 * sysdeps/i386/stpncpy.S: Likewise.
10857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10858 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10859 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10860 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10861
382466e0
OB
108622013-08-30 Ondřej Bílka <neleai@seznam.cz>
10863
10864 * elf/dl-open.c: Fix typos.
10865 * iconvdata/gbbig5.c: Likewise.
10866 * iconvdata/iso-2022-jp.c: Likewise.
10867 * iconv/gconv_int.h: Likewise.
10868 * iconv/loop.c: Likewise.
10869 * nis/rpcsvc/nis.h: Likewise.
10870 * resolv/ns_name.c: Likewise.
10871 * stdio-common/vfscanf.c: Likewise.
10872 * streams/stropts.h: Likewise.
10873 * sunrpc/rpc_thread.c: Likewise.
10874 * sysdeps/i386/strpbrk.S: Likewise.
10875 * sysdeps/ieee754/k_standard.c: Likewise.
10876 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10877 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10878 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10879 * sysdeps/mach/hurd/profil.c: Likewise.
10880 * sysdeps/s390/dl-procinfo.h: Likewise.
10881 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10882 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10883 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10884 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10885 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10886
0186c6e9
OB
108872013-08-30 Ondřej Bílka <neleai@seznam.cz>
10888
10889 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10891
d4e16af1
OB
108922013-08-29 Ondřej Bílka <neleai@seznam.cz>
10893
10894 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10895 aix specific files.
10896 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10898 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10899 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10900 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10901 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10902 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10904
88335980
TS
109052013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10906 Roland McGrath <roland@hack.frob.com>
10907
10908 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10909 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10910
ed479b02
ST
109112013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10912
10913 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10914 __executable_start symbol instead of _start.
10915
f1cc4c86
TS
109162013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10917
d821f07c
TS
10918 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10919 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10920 Move macros to...
10921 * sysdeps/gnu/ldsodefs.h: ... this new file.
10922
c54290cf
TS
10923 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10924 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10925 instead of ELFOSABI_LINUX.
10926
0007fc9b 10927 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10928 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10929 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10930 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10931 Likewise.
10932 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10933 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10935 Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10937 (ibm_extended_long_double): Add ieee_nan member.
10938 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10939 (do_test): New function.
10940
f1cc4c86
TS
10941 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10942 TEST_TRUNC.
10943 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10944 functions, renamed from truncdfsf_test, trunctfsf_test,
10945 trunctfdf_test.
10946 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10947 functions.
10948 (do_test): Run all these.
10949
6f65e668
OB
109502013-08-29 Ondřej Bílka <neleai@seznam.cz>
10951
10952 * argp/argp-help.c: Fix typos.
10953 * argp/argp-parse.c: Likewise.
10954 * debug/backtracesyms.c: Likewise.
10955 * elf/elf.h: Likewise.
10956 * malloc/malloc.c: Likewise.
10957 * nis/nis_print.c: Likewise.
10958 * resolv/res_comp.c: Likewise.
10959 * stdlib/stdlib.h: Likewise.
10960 * sunrpc/clnt_tcp.c: Likewise.
10961 * sunrpc/clnt_udp.c: Likewise.
10962 * sunrpc/clnt_unix.c: Likewise.
10963 * sysdeps/unix/bsd/ptsname.c: Likewise.
10964 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10965 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10967 Likewise.
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10969 Likewise.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10971 Likewise.
6f65e668
OB
10972 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10973
3a309239
SP
109742013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10975
10976 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10978
3b813b29
MF
109792013-08-27 Mike Frysinger <vapier@gentoo.org>
10980
10981 [BZ #15897]
10982 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10983 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10984 ($(objpfx)bug-dl-leaf): New rule.
10985 ($(objpfx)bug-dl-leaf.so): Likewise.
10986 ($(objpfx)bug-dl-leaf.out): Likewise.
10987 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10988 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10989 * dlfcn/bug-dl-leaf.c: New test.
10990 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10991 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10992 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10993 (dlclose): Likewise.
10994 (dlmopen): Likewise.
10995
8cc3269f
RM
109962013-08-27 Roland McGrath <roland@hack.frob.com>
10997
7f9d0034
RM
10998 * include/netdb.h [!_ISOMAC]:
10999 Don't include <tls.h>.
11000 (h_errno, __libc_h_errno): Move declaration and macros out of
11001 [_LIBC_REENTRANT].
11002
fb431262
RM
11003 * include/resolv.h [_RESOLV_H_]:
11004 Don't include <tls.h>.
11005 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11006 * resolv/res_libc.c: Don't include <tls.h>.
11007 (_res): Use __attribute__ ((nocommon)) in place of
11008 __attribute__ ((section (".bss"))).
11009
bd81123a
RM
11010 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11011 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11012
c4e42566
RM
11013 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11014
f890a59b
RM
11015 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11016 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11017
11018 * resolv/res_mkquery.c: Include <sys/time.h>.
11019
5d1f0a09
RM
11020 * inet/ifreq.c: Moved to ...
11021 * sysdeps/unix/ifreq.c: ... here.
11022 * inet/ifreq.c: New file, true stub version.
11023
6fcf28b3
RM
11024 * socket/sa_len.c: New file.
11025 * socket/Makefile (aux): Add it.
11026 * sysdeps/unix/sysv/linux/Makefile
11027 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11028 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11029 and #include <socket/sa_len.c>.
11030 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11031 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11032
e041fb8b
RM
11033 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11034 * bits/socket.h: ... here.
11035
8cc3269f
RM
11036 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11037 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11038 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11039
5d228a43
AS
110402013-08-27 Andreas Schwab <schwab@suse.de>
11041
45b8accc
AS
11042 [BZ #15736]
11043 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11044 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11045 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11046 * string/test-strcasecmp.c (test_main): Run tests in several
11047 locales.
11048 * string/test-strncasecmp.c (test_main): Likewise.
11049
5d228a43
AS
11050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11051 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11052 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11054 (__strncasecmp_ssse3) [PIC]: Likewise.
11055
59d112a4
RM
110562013-08-26 Roland McGrath <roland@hack.frob.com>
11057
53234cc3
RM
11058 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11059
59d112a4
RM
11060 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11061 instead of explicitly declaring xdecrypt.
11062 * nis/nss_nis/nis-publickey.c: Likewise.
11063
595aba70
SP
110642013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11065
11066 [BZ #15890]
11067 * nscd/aicache.c: Include res_hconf.h.
11068 (addhstaiX): Initialize res_hconf.
11069
ffabd393
AS
110702013-08-26 Andreas Schwab <schwab@suse.de>
11071
11072 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11073 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11074
e0a69f5c
SP
110752013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11076
11077 * nscd/aicache.c (addhstaiX): Fix indentation.
11078
8c12f01d
MF
110792013-08-25 Mike Frysinger <vapier@gentoo.org>
11080
11081 * configure.ac: Quote $build_pt_chown test.
11082 * configure: Regenerated.
11083
8fe89494
JM
110842013-08-23 Joseph Myers <joseph@codesourcery.com>
11085
11086 [BZ #15532]
11087 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11088 * math/s_cexpf.c (__cexpf): Likewise.
11089 * math/s_cexpl.c (__cexpl): Likewise.
11090 * math/libm-test.inc (cexp_test_data): Correct expected return
11091 value for NaN + i0. Add another test.
11092
75b181d6
DM
110932013-08-22 David S. Miller <davem@davemloft.net>
11094
11095 * po/ca.po: Update Catalan translation from translation project.
936241e4 11096 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11097
acd06bb1
JM
110982013-08-21 Joseph Myers <joseph@codesourcery.com>
11099
11100 [BZ #15797]
11101 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11102 is infinite, not alongside NaN test.
11103 * math/s_fdimf.c (__fdimf): Likewise.
11104 * math/s_fdiml.c (__fdiml): Likewise.
11105 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11106 errno is unchanged.
11107
c0c3f78a
OB
111082013-08-21 Ondřej Bílka <neleai@seznam.cz>
11109
11110 * argp/argp-help.c: Fix typos.
11111 * crypt/speeds.c: Likewise.
11112 * csu/check_fds.c: Likewise.
11113 * elf/dl-load.c: Likewise.
11114 * elf/dl-open.c: Likewise.
11115 * elf/reldep3.c: Likewise.
11116 * elf/reldep.c: Likewise.
11117 * elf/sprof.c: Likewise.
11118 * iconv/iconv_charmap.c: Likewise.
11119 * iconv/skeleton.c: Likewise.
11120 * iconv/strtab.c: Likewise.
11121 * io/lockf64.c: Likewise.
11122 * libio/libioP.h: Likewise.
11123 * resolv/gai_notify.c: Likewise.
11124 * resolv/ns_name.c: Likewise.
11125 * resolv/ns_samedomain.c: Likewise.
11126 * resolv/res_send.c: Likewise.
11127 * stdlib/random.c: Likewise.
11128 * sunrpc/rpc/xdr.h: Likewise.
11129 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11131 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11132 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11133 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11136 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11137 * sysdeps/mach/hurd/check_fds.c: Likewise.
11138 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11139 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11140 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11141 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11142 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11143 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11144 * sysdeps/pthread/aio_notify.c: Likewise.
11145 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11146 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11147 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11148 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11149 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11150
46ed1038
LD
111512013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11152
11153 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11154 version if bit_Slow_SSE4_2 is set.
11155 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11156 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11157
d400dcac
AZ
111582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11159
11160 [BZ #15867]
11161 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11162 trampoline stack frame information.
11163 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11165 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11166 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11167 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11168 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11169 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11170 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11171 sa_flags value.
11172 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11173 interrupting a syscall and set with option SA_SIGINFO.
11174
42c8fdd8
JM
111752013-08-20 Joseph Myers <joseph@codesourcery.com>
11176
c980f2f4
JM
11177 [BZ #15531]
11178 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11179 argument is infinite.
11180 * math/s_cprojf.c (__cprojf): Likewise.
11181 * math/s_cprojl.c (__cprojl): Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11183 * math/libm-test.inc (cproj_test_data): Add more tests.
11184
0716c4fc
JM
11185 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11186
42c8fdd8
JM
11187 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11188 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11189 size. Use __ffs to determine corresponding shift.
11190
b31469d0
JM
111912013-08-20 Joseph Myers <joseph@codesourcery.com>
11192 Roland McGrath <roland@hack.frob.com>
11193
11194 * Makefile (INSTALL): Remove trailing blank lines from output of
11195 makeinfo.
11196
4e39af6e
AK
111972013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11198
11199 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11200 Align 32 bit compat elf_greg to 8 bytes.
11201
f315524e
AA
112022013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11203
11204 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11205
1326ba1a
SP
112062013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11207
11208 * string/strcoll_l.c (coll_seq): New structure.
11209 (get_next_seq_cached): New function.
11210 (get_next_seq): New function.
11211 (do_compare): New function.
11212 (STRCOLL): Use GNU style definition. Simplify implementation
11213 by using get_next_seq, get_next_seq_cached and do_compare.
11214
91ce4085
FW
112152013-08-16 Florian Weimer <fweimer@redhat.com>
11216
11217 [BZ #14699]
11218 CVE-2013-4237
11219 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11220 member.
11221 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11222 member.
11223 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11224 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11225 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11226 conditional.
11227 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11228 GETDENTS_64BIT_ALIGNED.
11229 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11230 * manual/filesys.texi (Reading/Closing Directory): Document
11231 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11232 strongly.
11233 * manual/conf.texi (Limits for Files): Add portability note to
11234 NAME_MAX, PATH_MAX.
11235 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11236
ca0a6bc4
AS
112372013-08-13 Andreas Schwab <schwab@suse.de>
11238
11239 [BZ #15749]
11240 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11241 of fabs.
11242 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11243 LDBL_MAX_EXP >= 16384]: Add tests for it.
11244
6c1fd795
DM
112452013-08-12 David S. Miller <davem@davemloft.net>
11246
11247 * version.h (RELEASE): Set to "development".
11248 (VERSION): Set to "2.18.90".
11249 * NEWS: Add 2.19 section.
11250
31ad488d
DM
112512013-08-03 David S. Miller <davem@davemloft.net>
11252
11253 * po/ko.po: Update Korean translation from translation project.
11254
db24e684
DM
112552013-08-01 David S. Miller <davem@davemloft.net>
11256
11257 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11258 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11259 Bilka.
11260
f723285b
DM
112612013-07-30 David S. Miller <davem@davemloft.net>
11262
11263 * po/fr.po: Update French translation from translation project.
11264
3cbc52db
DM
112652013-07-28 David S. Miller <davem@davemloft.net>
11266
30bbc0cc
DM
11267 * po/cs.po: Update Czech translation from translation project.
11268
3cbc52db
DM
11269 * po/sv.po: Update Swedish translation from translation project.
11270
d492e6d0
DM
112712013-07-27 David S. Miller <davem@davemloft.net>
11272
f1a7f492
DM
11273 * po/eo.po: Update Esperanto translation from translation project.
11274
90e62a4a
DM
11275 * po/vi.po: Update Vietnamese translation from translation project.
11276
d492e6d0
DM
11277 * po/de.po: Update German translation from translation project.
11278
d4baa62d
DM
112792013-07-26 David S. Miller <davem@davemloft.net>
11280
641aa7b4
DM
11281 * po/bg.po: Update Bulgarian translation from translation project.
11282
d4baa62d
DM
11283 * po/nl.po: Update Dutch translation from translation project.
11284 * po/pl.po: Update Polish translation from translation project.
11285 * po/ru.po: Update Russian translation from translation project.
11286
61a9dcb9
DM
112872013-07-24 David S. Miller <davem@davemloft.net>
11288
11289 * po/libc.pot: Update.
11290
7b1f8b58
AZ
112912013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11292
11293 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11294 variable page size.
11295 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11296 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11297 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11298
a8fc7a03
AK
112992013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11300
11301 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11302
e4608715
CD
113032013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11304 Andreas Schwab <schwab@suse.de>
11305 Roland McGrath <roland@hack.frob.com>
11306 Joseph Myers <joseph@codesourcery.com>
11307 Carlos O'Donell <carlos@redhat.com>
11308
11309 [BZ #15755]
11310 * config.h.in: Define HAVE_PT_CHOWN.
11311 * config.make.in (build-pt-chown): New variable.
11312 * configure.in (--enable-pt_chown): New configure option.
11313 * configure: Regenerate.
11314 * login/Makefile: Include Makeconfig. Build pt_chown only if
11315 build-pt-chown is enabled.
11316 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11317 pt_chown to fix pty ownership.
11318 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11319 CLOSE_ALL_FDS.
11320 * manual/install.texi (Configuring and compiling): Mention
11321 --enable-pt_chown. Add @findex for grantpt.
11322 * INSTALL: Regenerate.
11323
da2d62df
DM
113242013-07-20 David S. Miller <davem@davemloft.net>
11325
11326 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11327 difference between 32-bit and 64-bit.
11328
d7e06450
CD
113292013-07-15 Carlos O'Donell <carlos@redhat.com>
11330
11331 [BZ #15711]
11332 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11333 Avoid system header dependency with -ffreestanding.
11334 ($(objpfx)bits/syscall%d): Likewise.
11335
f959cfd7
DM
113362013-07-13 David S. Miller <davem@davemloft.net>
11337
11338 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11339 underflows from atanl/atan2l due to bug 15319.
11340 (casinh_test_data): Likewise.
11341
c61f8513
DM
113422013-07-07 David S. Miller <davem@davemloft.net>
11343
11344 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11345
72c90ed0
JA
113462013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11347
11348 * sysdeps/i386/fpu/libm-test-ulps: Update.
11349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11350
52dfbe13
SP
113512013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11352
11353 * configure.in (--enable-lock-elision): Fix message text.
11354 * INSTALL: Regenerate.
11355 * configure: Regenerate.
11356
3f169543
AZ
113572013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11358
11359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11360
521c6785
AJ
113612013-07-03 Andreas Jaeger <aj@suse.de>
11362
11363 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11364 define.
11365 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11366 (ptrace_peeksiginfo_args): Add.
11367 (__ptrace_peeksiginfo_flags): Add.
11368 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11369 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11371
d2cc15cb
AM
113722013-07-03 Allan McRae <allan@archlinux.org>
11373
11374 * sysdeps/i386/fpu/libm-test-ulps: Update.
11375
3aaeeca7
DM
113762013-07-02 David S. Miller <davem@davemloft.net>
11377
11378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11379
5314ed1a
MT
113802013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11381
11382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11383
67338156
JM
113842013-07-02 Joseph Myers <joseph@codesourcery.com>
11385
11386 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11388
1717da59
AK
113892013-07-02 Andi Kleen <ak@linux.intel.com>
11390
11391 * config.h.in (ENABLE_LOCK_ELISION): Add.
11392 * configure.in (--enable-lock-elision): Add option.
11393 * manual/install.texi: Document --enable lock elision.
11394 * configure: Regenerate
11395 * INSTALL: Regenerate.
11396
1c81621c
L
113972013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11398
11399 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11400 SSE4.2 strcasecmp for libc.a.
11401 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11402
77f01ab5
JM
114032013-07-02 Joseph Myers <joseph@codesourcery.com>
11404
11405 [BZ #13304]
11406 * soft-fp/op-common.h (_FP_FMA): New macro.
11407 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11408 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11409 (_FP_MUL_MEAT_1_imm): ... here.
11410 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11411 (_FP_MUL_MEAT_1_wide): ... here.
11412 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11413 (_FP_MUL_MEAT_1_hard): ... here.
11414 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11415 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11416 (_FP_MUL_MEAT_2_wide): ... here.
11417 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11418 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11419 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11420 (_FP_MUL_MEAT_2_gmp): ... here.
11421 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11422 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11423 (_FP_MUL_MEAT_4_wide): ... here.
11424 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11425 (_FP_MUL_MEAT_4_gmp): ... here.
11426 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11427 (_FP_WFRACBITS_DW_S): Likewise.
11428 (_FP_WFRACXBITS_DW_S): Likewise.
11429 (_FP_HIGHBIT_DW_S): Likewise.
11430 (FP_FMA_S): Likewise.
11431 (_FP_FRAC_HIGH_DW_S): Likewise.
11432 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11433 (_FP_WFRACBITS_DW_D): Likewise.
11434 (_FP_WFRACXBITS_DW_D): Likewise.
11435 (_FP_HIGHBIT_DW_D): Likewise.
11436 (FP_FMA_D): Likewise.
11437 (_FP_FRAC_HIGH_DW_D): Likewise.
11438 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11439 (_FP_WFRACBITS_DW_E): Likewise.
11440 (_FP_WFRACXBITS_DW_E): Likewise.
11441 (_FP_HIGHBIT_DW_E): Likewise.
11442 (FP_FMA_E): Likewise.
11443 (_FP_FRAC_HIGH_DW_E): Likewise.
11444 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11445 (_FP_WFRACBITS_DW_Q): Likewise.
11446 (_FP_WFRACXBITS_DW_Q): Likewise.
11447 (_FP_HIGHBIT_DW_Q): Likewise.
11448 (FP_FMA_Q): Likewise.
11449 (_FP_FRAC_HIGH_DW_Q): Likewise.
11450 * soft-fp/fmasf4.c: New file.
11451 * soft-fp/fmadf4.c: Likewise.
11452 * soft-fp/fmatf4.c: Likewise.
11453
6308fd9a
LD
114542013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11455
11456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11457 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11458 Silvermont.
11459 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11460 macro.
11461 (index_Slow_SSE4_2): Likewise.
11462 (index_Prefer_PMINUB_for_stringop): Likewise.
11463 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11464 bit_Slow_SSE4_2 is set.
11465 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11467
89cd9569
RA
114682013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11469
11470 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11471 rtld_global._dl_hwcap2.
11472 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11473 POWER8.
11474 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11475 POWER8 feature descriptions defined in _dl_hwcap2.
11476 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11477 string handling for POWER8 feature bits.
11478 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11479 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11480 _dl_powerpc_cap_flags.
11481 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11482 * sysdeps/powerpc/rtld-global-offsets.sym
11483 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11484 _dl_hwcap2 in the rtld_global_ro structure.
11485
1ae8bfe0
RA
114862013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11487
11488 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11489 hardware capabilities in support of AT_HWCAP2.
11490 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11491 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11492 GLRO(dl_hwcap2).
11493 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11494 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11495 explicitly the unknown a_type display mechanism is used.
11496 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11497 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11498 struct member.
11499 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11500 to macro prototype for AT_HWCAP2 support.
11501 * sysdeps/i386/dl-procinfo.h: Likewise.
11502 * sysdeps/s390/dl-procinfo.h: Likewise.
11503 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11504 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11505 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11506 return -1 for unknown a_type display fallback.
11507 * sysdeps/sparc/dl-procinfo.h: Likewise.
11508 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11509 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11510
8fbec010
JM
115112013-06-28 Joseph Myers <joseph@codesourcery.com>
11512
11513 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11514 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11515
0432680e
PY
115162013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11517
11518 [BZ #12492]
11519 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11520 mprotect making __stack_prot writable.
11521
ce61a2ad
NF
115222013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11523 Joseph Myers <joseph@codesourcery.com>
11524
11525 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11526 as being properly aligned.
11527
f91f1c0f
MR
115282013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11529
3d0f5d0c
MR
11530 * dlfcn/modstatic5.c: New file.
11531 * dlfcn/tststatic5.c: New file.
11532 * dlfcn/Makefile (tests): Add tststatic5.
11533 (tests-static): Likewise.
11534 (modules-names): Add modstatic5.
11535 (tststatic5-ENV): New variable.
11536 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11537
f91f1c0f
MR
11538 [BZ #15022]
11539 * elf/dl-support.c (_dl_main_map): New variable.
11540 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11541 (_dl_nns, _dl_load_adds): Set to 1.
11542 (_dl_initial_searchlist): Refer to _dl_main_map.
11543 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11544 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11545 call to _dl_get_origin.
11546 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11547 around call_map.
11548 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11549 * dlfcn/modstatic3.c: New file.
11550 * dlfcn/tststatic3.c: New file.
11551 * dlfcn/tststatic4.c: New file.
11552 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11553 (tests-static): Likewise.
11554 (modules-names): Add modstatic3.
11555 (tststatic3-ENV, tststatic4-ENV): New variables.
11556 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11557 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11558
cbe7d24b
JM
115592013-06-26 Joseph Myers <joseph@codesourcery.com>
11560
11561 * configure.in (CC): Require GCC version 4.4 or later.
11562 * configure: Regenerated.
11563 * manual/install.texi (Tools for Compilation): Update GCC version
11564 requirement.
11565 * INSTALL: Regenerated.
11566
11b8a0e1
LD
115672013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11568
11569 [BZ #15674]
bb5bb87c
L
11570 * string/test-memcmp.c (check2): New.
11571 (main): Call check2.
11572
11b8a0e1
LD
11573 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11574
b0037103
MR
115752013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11576
11577 [BZ #15022]
11578 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11579 over to...
11580 (dl_open_worker) [!SHARED]: ... here.
11581
c18c701d
RA
115822013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11583
11584 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11585
1d17fa5f
RH
115862013-06-25 Richard Henderson <rth@redhat.com>
11587
11588 * locale/programs/locarchive.c: Include <libc-internal.h>
11589
8fcb833a
JM
115902013-06-25 Joseph Myers <joseph@codesourcery.com>
11591
11592 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11593 trailing whitespace removed.
11594
17db6e8d
MF
115952013-06-24 Mike Frysinger <vapier@gentoo.org>
11596
11597 [BZ #10283]
17db6e8d
MF
11598 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11599 * locale/programs/locarchive.c: Include libc-mmap.h.
11600 (prepare_address_space): Take two new outputs (the mmap base and len).
11601 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11602 values.
11603 (create_archive): Declare new mmap base and len values for
11604 prepare_address_space, and store the result in ah.
11605 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11606 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11607 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11608 Declare new mmap base and len values for
11609 prepare_address_space, and store the result in new_ah.
11610 (open_archive): Declare new mmap base and len values for
11611 prepare_address_space, and store the result in ah.
11612 (close_archive): If ah->mmap_base is not NULL, use that and
11613 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11614 * sysdeps/generic/libc-mmap.h: New file.
11615
d605071e
MF
116162013-06-24 Mike Frysinger <vapier@gentoo.org>
11617
11618 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11619 (ALIGN_UP): Likewise.
11620 (PTR_ALIGN_DOWN): Likewise.
11621 (PTR_ALIGN_UP): Likewise.
11622
2f063a6e
RA
116232013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11624
11625 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11626 entry mapped to PPC_PLATFORM_POWER8.
11627 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11628 POWER8.
11629 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11630 (_dl_string_platform): Add case for exporting platform position for
11631 POWER8.
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11633 search path to sysdeps/powerpc/powerpc32/power8 directory.
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11635 search path to sysdeps/powerpc/powerpc64/power8 directory.
11636 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11637 power7 directories.
11638 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11639 power7 directories.
11640
a31ee4b3
SP
116412013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11642
a74ca98f
SP
11643 * INSTALL: Regenerate.
11644
a31ee4b3
SP
11645 * nscd/connections.c (nscd_init): Fix comment.
11646
695c378f
JM
116472013-06-22 Joseph Myers <joseph@codesourcery.com>
11648
d8412221
JM
11649 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11650
695c378f
JM
11651 [BZ #15667]
11652 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11653 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11654
d1d54715
MR
116552013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11656
11657 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11658 DL_DST_REQ_STATIC.
11659 (DL_DST_REQ_STATIC): Remove macro.
11660
8fdda7af
JM
116612013-06-21 Joseph Myers <joseph@codesourcery.com>
11662
11663 [BZ #7006]
11664 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11665 with a shift of 0 bits.
11666
f3bc5e5a
MR
116672013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11668
11669 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11670 $(tststatic-ENV).
11671
be09e8c9
KK
116722013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11673
11674 [BZ #15655]
11675 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11676
85c2e611
AZ
116772013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11678
11679 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11680 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11681 accepts -fno-tree-loop-distribute-patterns.
11682 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11683 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11684 recursive call.
11685 * string/memset.c (memset): Likewise.
11686 * string/test-memmove.c (simple_memmove): Disable loop transformation
11687 to library calls.
11688 * string/test-memset.c (simple_memset): Likewise.
11689 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11690 * benchtests/bench-memset.c (simple_memset): Likewise.
11691 * configure: Regenerated.
11692
c91e0825
JM
116932013-06-20 Joseph Myers <joseph@codesourcery.com>
11694
b8c792af
JM
11695 * math/test-misc.c (main): Ignore fesetround failure when failures
11696 of subsequent rounding tests would be ignored.
11697
c91e0825
JM
11698 [BZ #15654]
11699 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11700 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11701 * math/fegetenv.c (__fegetenv): Return 0.
11702 * math/fegetexcept.c (fegetexcept): Return 0.
11703 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11704 FE_TONEAREST.
11705 * math/feholdexcpt.c (feholdexcept): Return 0.
11706 * math/fesetenv.c (__fesetenv): Return 0.
11707 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11708 argument FE_TONEAREST.
11709 * math/feupdateenv.c (__feupdateenv): Return 0.
11710 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11711
bfcacbde
RM
117122013-06-18 Roland McGrath <roland@hack.frob.com>
11713
11714 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11715 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11716 ($(objpfx)rtld-%.os rules): Use them.
11717
e55a9b25
AZ
117182013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11719
11720 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11721 fields.
11722
346d65b3
RM
117232013-06-17 Roland McGrath <roland@hack.frob.com>
11724
12086fb4
RM
11725 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11726 length of target pattern, then descending length of dependency pattern.
11727 * configure.in (AWK): Require gawk 3.1.2 or newer.
11728 * manual/install.texi (Tools for Compilation): Say that we do.
11729 * configure: Regenerated.
11730
346d65b3
RM
11731 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11732 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11733 * scripts/sysd-rules.awk: ... this new script.
11734 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11735 than a glob-style pattern.
11736
1a846317
JM
117372013-06-17 Joseph Myers <joseph@codesourcery.com>
11738
11739 * math/test-misc.c (main): Do not treat incorrectly rounded
11740 conversions as failure unless ROUNDING_TESTS passes.
11741
8fc75e6f
JM
117422013-06-15 Joseph Myers <joseph@codesourcery.com>
11743
3711a167
JM
11744 [BZ #15631]
11745 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11746 restore exception state around main square root computation, then
11747 check for inexactness explicitly.
11748
8fc75e6f
JM
11749 * math/libm-test.inc (fma_test_data): Add another test.
11750
61dd6208
SP
117512013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11752
adf23d2c
SP
11753 * manual/threads.texi (Non-POSIX Extensions): New document
11754 node. Document pthread_getattr_default_np and
11755 pthread_setattr_default_np.
11756
61dd6208
SP
11757 * Versions.def (libpthread): Add GLIBC_2.18.
11758 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11760 Likewise.
11761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11762 Likewise.
11763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11764 Likewise.
11765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11766 Likewise.
11767 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11768 Likewise.
11769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11770 Likewise.
11771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11772 Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11774 Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11776 Likewise.
11777
d086fc7b
LD
117782013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11779
11780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11781 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11782
747ef469
SP
117832013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11784 H.J. Lu <hjl.tools@gmail.com>
11785
11786 [BZ #15627]
11787 * sysdeps/x86_64/rtld-memset.c: Remove file.
11788 * sysdeps/x86_64/rtld-memset.S: New file.
11789
1b2feed2
JM
117902013-06-14 Joseph Myers <joseph@codesourcery.com>
11791
11792 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11793 (test_in_one_mode): Take arguments for whether the rounding mode
11794 is supported for each floating-point type.
11795 (do_test): Pass new arguments to test_in_one_mode using
11796 ROUNDING_TESTS.
11797
a58ad3f8
RM
117982013-06-13 Roland McGrath <roland@hack.frob.com>
11799
11800 * posix/tst-waitid.c (do_test): Distinguish different instances of
11801 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11802 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11803 before entering the kernel for waitpid.
11804
c204ab28
SP
118052013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11806
11807 * NEWS: Fix note on clock function precision. Text by Roland
11808 McGrath.
11809
f4a29fba
RM
118102013-06-13 Roland McGrath <roland@hack.frob.com>
11811
11812 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11813 it into place only when and if the sanity check passes.
11814
1f24b9ad
JM
118152013-06-13 Joseph Myers <joseph@codesourcery.com>
11816
11817 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11818 output for whether conversion result is exact. Take argument
11819 indicating whether type is IBM long double.
11820 (round_for_all): Change need_exact field to ibm_ld.
11821 * stdlib/tst-strtod-round.c (struct exactness): New type.
11822 (struct test): Change bool ld_ok field to struct exactness exact.
11823 (TEST): Update all definitions for change to field.
11824 (tests): Regenerate array contents.
11825 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11826 field value. Check for IBM long double here.
11827 (do_test): Update calls to test_in_one_mode.
11828
58206c68
SP
118292013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11830
11831 [BZ #12515]
11832 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11833 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11834
2d6f4c5b 118352013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11836
11837 [BZ #15605]
11838 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11839 generated by the compiler on loop optimizations.
11840 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11841 general definitions.
11842
94f2c076
JM
118432013-06-12 Joseph Myers <joseph@codesourcery.com>
11844
11845 * math/bug-nextafter.c: Include <math-tests.h>.
11846 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11847 the relevant type.
11848 * math/bug-nexttoward.c: Include <math-tests.h>.
11849 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11850 the relevant type.
11851 * math/test-misc.c: Include <math-tests.h>.
11852 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11853 the relevant type.
11854
e0e50a0a
AJ
118552013-06-12 Andreas Jaeger <aj@suse.de>
11856
11857 * po/ia.po: Update Interlingua translation from translation
11858 project.
11859
25061094
SP
118602013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11861
11862 * include/fenv.h: Include stdbool.h.
11863 (struct rm_ctx): New structure.
11864 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11865 Define macro.
11866 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11867 (SET_RESTORE_ROUNDF): Likewise.
11868 (SET_RESTORE_ROUNDL): Likewise.
11869 (SET_RESTORE_ROUND_NOEX): Likewise.
11870 (SET_RESTORE_ROUND_NOEXF): Likewise.
11871 (SET_RESTORE_ROUND_NOEXL): Likewise.
11872 (SET_RESTORE_ROUND_53BIT): Likewise.
11873 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11874 (libc_feresetround_noexf_ctx): Likewise.
11875 (libc_feresetround_noexl_ctx): Likewise.
11876 (libc_feholdsetround_53bit_ctx): Likewise.
11877 (libc_feresetround_53bit_ctx): Likewise.
11878 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11879 (libc_feholdexcept_setround_sse_ctx): New function.
11880 (libc_fesetenv_sse_ctx): Likewise.
11881 (libc_feupdateenv_sse_ctx): Likewise.
11882 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11883 (libc_feholdexcept_setround_387_ctx): Likewise.
11884 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11885 (libc_feholdsetround_387_prec_ctx): Likewise.
11886 (libc_feholdsetround_387_ctx): Likewise.
11887 (libc_feholdsetround_387_53bit_ctx): Likewise.
11888 (libc_feholdsetround_sse_ctx): Likewise.
11889 (libc_feresetround_sse_ctx): Likewise.
11890 (libc_feresetround_387_ctx): Likewise.
11891 (libc_feupdateenv_387_ctx): Likewise.
11892 (libc_feholdexcept_setroundf_ctx): Define macro.
11893 (libc_fesetenvf_ctx): Likewise.
11894 (libc_feupdateenvf_ctx): Likewise.
11895 (libc_feholdsetroundf_ctx): Likewise.
11896 (libc_feresetroundf_ctx): Likewise.
11897 (libc_feholdexcept_setround_ctx): Likewise.
11898 (libc_fesetenv_ctx): Likewise.
11899 (libc_feupdateenv_ctx): Likewise.
11900 (libc_feholdsetround_ctx): Likewise.
11901 (libc_feresetround_ctx): Likewise.
11902 (libc_feholdexcept_setroundl_ctx): Likewise.
11903 (libc_feupdateenvl_ctx): Likewise.
11904 (libc_feholdsetroundl_ctx): Likewise.
11905 (libc_feresetroundl_ctx): Likewise.
11906 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11907 (libc_feresetround_53bit_ctx): Likewise.
11908
59b30555
SP
119092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11910
11911 * locale/iso-639.def: Convert to UTF-8.
11912
f1d73d30
JM
119132013-06-11 Joseph Myers <joseph@codesourcery.com>
11914
11915 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11916 (EXCEPTION_TESTS_double): Likewise.
11917 (EXCEPTION_TESTS_long_double): Likewise.
11918 (EXCEPTION_TESTS): Likewise.
11919 * math/libm-test.inc (test_exceptions): Only test exceptions if
11920 EXCEPTION_TESTS (FLOAT).
11921
94aca5e7
SP
119222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11923
11924 * benchtests/Makefile (string-bench): Add strcpy_chk and
11925 stpcpy_chk.
11926 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11927 * benchtests/bench-stpcpy_chk.c: New file.
11928 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11929 * benchtests/bench-strcpy_chk.c: New file.
11930 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11931 code.
11932 (do_test): Likewise.
11933
fac0c5f2
RA
119342013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11935
11936 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11937 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11938 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11939 with tabs where appropriate.
11940 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11941 dl-procinfo.h.
11942 [PPC_PLATFORM_PPC440]: Likewise.
11943 [PPC_PLATFORM_PPC464]: Likewise.
11944 [PPC_PLATFORM_PPC476]: Likewise.
11945 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11946 ppc464, and ppc476 platform strings merging from ports/
11947 dl-procinfo.h.
11948
f22bc486
AS
119492013-06-11 Andreas Schwab <schwab@suse.de>
11950
11951 [BZ #14991]
11952 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11953 (from_ucs4_idx): Regenerate.
11954 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11955 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11956 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11957 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11958 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11959 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11960 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11961 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11962 from FROM_LOOP and TO_LOOP specific macros.
11963 (BODY): Handle combining characters.
11964 * iconvdata/BIG5HKSCS.irreversible: Update.
11965 * iconvdata/BIG5HKSCS.precomposed: New file.
11966 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11967 characters.
11968 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11969
c1f75dc3
SP
119702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11971
4eacded2
SP
11972 * include/sys/time.h: Fix indentation and add copyright header.
11973
fec799f8
SP
11974 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11975 (do_test): Likewise.
11976 * string/test-memchr.c (do_one_test): Likewise.
11977 (do_test): Likewise.
11978 * string/test-memcmp.c (do_one_test): Likewise.
11979 (do_test): Likewise.
11980 * string/test-memcpy.c (do_one_test): Likewise.
11981 (do_test): Likewise.
11982 * string/test-memmem.c (do_one_test): Likewise.
11983 (do_test): Likewise.
11984 (do_random_tests): Likewise.
11985 * string/test-memmove.c (do_one_test): Likewise.
11986 (do_test): Likewise.
11987 * string/test-memset.c (do_one_test): Likewise.
11988 (do_test): Likewise.
11989 * string/test-rawmemchr.c (do_one_test): Likewise.
11990 (do_test): Likewise.
11991 * string/test-strcasecmp.c (do_one_test): Likewise.
11992 (do_test): Likewise.
11993 * string/test-strcasestr.c (do_one_test): Likewise.
11994 (do_test): Likewise.
11995 * string/test-strcat.c (do_one_test): Likewise.
11996 (do_test): Likewise.
11997 * string/test-strchr.c (do_one_test): Likewise.
11998 (do_test): Likewise.
11999 * string/test-strcmp.c (do_one_test): Likewise.
12000 (do_test): Likewise.
12001 * string/test-strcpy.c (do_one_test): Likewise.
12002 (do_test): Likewise.
12003 * string/test-string.h: Likewise.
12004 (test_init): Likewise.
12005 * string/test-strlen.c (do_one_test): Likewise.
12006 (do_test): Likewise.
12007 * string/test-strncasecmp.c (do_one_test): Likewise.
12008 (do_test): Likewise.
12009 * string/test-strncat.c (do_one_test): Likewise.
12010 (do_test): Likewise.
12011 * string/test-strncmp.c (do_one_test): Likewise.
12012 (do_test_limit): Likewise.
12013 (do_test): Likewise.
12014 * string/test-strncpy.c (do_one_test): Likewise.
12015 (do_test): Likewise.
12016 * string/test-strnlen.c (do_one_test): Likewise.
12017 (do_test): Likewise.
12018 * string/test-strpbrk.c (do_one_test): Likewise.
12019 (do_test): Likewise.
12020 * string/test-strrchr.c (do_one_test): Likewise.
12021 (do_test): Likewise.
12022 * string/test-strspn.c (do_one_test): Likewise.
12023 (do_test): Likewise.
12024 * string/test-strstr.c (do_one_test): Likewise.
12025 (do_test): Likewise.
12026
97020474
SP
12027 * benchtests/Makefile (string-bench): Add string benchmarks.
12028 * benchtests/bench-bcopy-ifunc.c: New file.
12029 * benchtests/bench-bcopy.c: New file.
12030 * benchtests/bench-bzero-ifunc.c: New file.
12031 * benchtests/bench-bzero.c: New file.
12032 * benchtests/bench-memccpy-ifunc.c: New file.
12033 * benchtests/bench-memccpy.c: New file.
12034 * benchtests/bench-memchr-ifunc.c: New file.
12035 * benchtests/bench-memchr.c: New file.
12036 * benchtests/bench-memcmp-ifunc.c: New file.
12037 * benchtests/bench-memcmp.c: New file.
12038 * benchtests/bench-memmem-ifunc.c: New file.
12039 * benchtests/bench-memmem.c: New file.
12040 * benchtests/bench-memmove-ifunc.c: New file.
12041 * benchtests/bench-memmove.c: New file.
12042 * benchtests/bench-mempcpy-ifunc.c: New file.
12043 * benchtests/bench-mempcpy.c: New file.
12044 * benchtests/bench-memset-ifunc.c: New file.
12045 * benchtests/bench-memset.c: New file.
12046 * benchtests/bench-rawmemchr-ifunc.c: New file.
12047 * benchtests/bench-rawmemchr.c: New file.
12048 * benchtests/bench-stpcpy-ifunc.c: New file.
12049 * benchtests/bench-stpcpy.c: New file.
12050 * benchtests/bench-stpncpy-ifunc.c: New file.
12051 * benchtests/bench-stpncpy.c: New file.
12052 * benchtests/bench-strcasecmp-ifunc.c: New file.
12053 * benchtests/bench-strcasecmp.c: New file.
12054 * benchtests/bench-strcasestr-ifunc.c: New file.
12055 * benchtests/bench-strcasestr.c: New file.
12056 * benchtests/bench-strcat-ifunc.c: New file.
12057 * benchtests/bench-strcat.c: New file.
12058 * benchtests/bench-strchr-ifunc.c: New file.
12059 * benchtests/bench-strchr.c: New file.
12060 * benchtests/bench-strchrnul-ifunc.c: New file.
12061 * benchtests/bench-strchrnul.c: New file.
12062 * benchtests/bench-strcmp-ifunc.c: New file.
12063 * benchtests/bench-strcmp.c: New file.
12064 * benchtests/bench-strcpy-ifunc.c: New file.
12065 * benchtests/bench-strcpy.c: New file.
12066 * benchtests/bench-strcspn-ifunc.c: New file.
12067 * benchtests/bench-strcspn.c: New file.
12068 * benchtests/bench-strlen-ifunc.c: New file.
12069 * benchtests/bench-strlen.c: New file.
12070 * benchtests/bench-strncasecmp-ifunc.c: New file.
12071 * benchtests/bench-strncasecmp.c: New file.
12072 * benchtests/bench-strncat-ifunc.c: New file.
12073 * benchtests/bench-strncat.c: New file.
12074 * benchtests/bench-strncmp-ifunc.c: New file.
12075 * benchtests/bench-strncmp.c: New file.
12076 * benchtests/bench-strncpy-ifunc.c: New file.
12077 * benchtests/bench-strncpy.c: New file.
12078 * benchtests/bench-strnlen-ifunc.c: New file.
12079 * benchtests/bench-strnlen.c: New file.
12080 * benchtests/bench-strpbrk-ifunc.c: New file.
12081 * benchtests/bench-strpbrk.c: New file.
12082 * benchtests/bench-strrchr-ifunc.c: New file.
12083 * benchtests/bench-strrchr.c: New file.
12084 * benchtests/bench-strspn-ifunc.c: New file.
12085 * benchtests/bench-strspn.c: New file.
12086 * benchtests/bench-strstr-ifunc.c: New file.
12087 * benchtests/bench-strstr.c: New file.
12088
c1f75dc3
SP
12089 * benchtests/Makefile: Disable parallel execution of targets.
12090 (string-bench): Add memcpy.
12091 (benchset): New variable to store a list of benchmark sets.
12092 (bench-func): Renamed from bench.
12093 (bench-set): New target.
12094 (bench): Depend on bench-func and bench-set.
12095 * benchtests/README: Add section on benchmark sets.
12096 * benchtests/bench-memcpy-ifunc.c: New file.
12097 * benchtests/bench-memcpy.c: New file.
12098 * benchtests/bench-string.h: New file.
12099
50fd745b
AS
121002013-06-11 Andreas Schwab <schwab@suse.de>
12101
12102 [BZ #15577]
12103 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12104 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12105 values in the triple.
12106 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12107 terminator in the group key.
12108
3ee7e9fe
AJ
121092013-06-11 Andreas Jaeger <aj@suse.de>
12110
12111 * po/zh_TW.po: Update Chinese (traditional) translation from
12112 translation project.
12113
89fb6835
SP
121142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12115
12116 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12117 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12118 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12119 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12120 (clock_getcpuclockid): Likewise.
12121 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12122 Add weak_alias and libc_hidden_def.
12123 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12124 * rt/clock_gettime.c (clock_gettime): Rename to
12125 __clock_gettime. Add weak_alias and libc_hidden_def.
12126 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12127 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12128 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12129 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12130 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12131 Likewise.
12132 * rt/clock_settime.c (clock_settime): Rename to
12133 __clock_settime. Add weak_alias and libc_hidden_def.
12134 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12135
0efa6f8b
JM
121362013-06-10 Joseph Myers <joseph@codesourcery.com>
12137
b8c61b4b
JM
12138 * mach/err_boot.sub: Remove trailing whitespace.
12139 * mach/err_ipc.sub: Likewise.
12140 * mach/err_mach.sub: Likewise.
12141
0efa6f8b
JM
12142 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12143 (ROUNDING_TESTS_double): Likewise.
12144 (ROUNDING_TESTS_long_double): Likewise.
12145 (ROUNDING_TESTS): Likewise.
12146 * math/libm-test.inc: Include <math-tests.h>.
12147 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12148 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12149 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12150 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12151
50b818bf
SP
121522013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12153
12154 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12155 of assigning.
12156
60d2f8f3
JM
121572013-06-08 Joseph Myers <joseph@codesourcery.com>
12158
4902d2c3
JM
12159 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12160 otherwise empty TRANS lines.
12161 * sysdeps/gnu/errlist.c: Regenerated.
12162
60d2f8f3
JM
12163 * catgets/gencat.c (error_print): Use (void) in function
12164 definition.
12165 * crypt/crypt_util.c (__init_des): Likewise.
12166 * crypt/speeds.c (Stop): Likewise.
12167 (main): Likewise.
12168 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12169 * inet/ruserpass.c (token): Likewise.
12170 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12171 * intl/localealias.c (extend_alias_table): Likewise.
12172 * intl/plural-exp.c (init_germanic_plural): Likewise.
12173 * libio/fcloseall.c (__fcloseall): Likewise.
12174 * libio/genops.c (_IO_flush_all): Likewise.
12175 (_IO_flush_all_linebuffered): Likewise.
12176 (_IO_cleanup): Likewise.
12177 (_IO_iter_begin): Likewise.
12178 (_IO_iter_end): Likewise.
12179 (_IO_list_lock): Likewise.
12180 (_IO_list_unlock): Likewise.
12181 (_IO_list_resetlock): Likewise.
12182 * libio/getchar.c (getchar): Likewise.
12183 * libio/getchar_u.c (getchar_unlocked): Likewise.
12184 * libio/getwchar.c (getwchar): Likewise.
12185 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12186 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12187 * login/getpt.c (__getpt): Likewise.
12188 * login/tst-utmp.c (main): Likewise.
12189 * malloc/hooks.c (__malloc_check_init): Likewise.
12190 * malloc/malloc.c (__malloc_stats): Likewise.
12191 * malloc/mtrace.c (tr_break): Likewise.
12192 (mtrace): Likewise.
12193 (muntrace): Likewise.
12194 * misc/fstab.c (endfsent): Likewise.
12195 * misc/getclktck.c (__getclktck): Likewise.
12196 * misc/getdtsz.c (__getdtablesize): Likewise.
12197 * misc/gethostid.c (gethostid): Likewise.
12198 * misc/getpagesize.c (__getpagesize): Likewise.
12199 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12200 (__get_nprocs): Likewise.
12201 (__get_phys_pages): Likewise.
12202 (__get_avphys_pages): Likewise.
12203 * misc/getttyent.c (getttyent): Likewise.
12204 (setttyent): Likewise.
12205 (endttyent): Likewise.
12206 * misc/getusershell.c (getusershell): Likewise.
12207 (endusershell): Likewise.
12208 (setusershell): Likewise.
12209 (initshells): Likewise.
12210 * misc/hsearch.c (__hdestroy): Likewise.
12211 * misc/sync.c (sync): Likewise.
12212 * misc/syslog.c (closelog_internal): Likewise.
12213 (closelog): Likewise.
12214 * misc/ttyslot.c (ttyslot): Likewise.
12215 * misc/vhangup.c (vhangup): Likewise.
12216 * posix/fork.c (__fork): Likewise.
12217 * posix/getegid.c (__getegid): Likewise.
12218 * posix/geteuid.c (__geteuid): Likewise.
12219 * posix/getgid.c (__getgid): Likewise.
12220 * posix/getpid.c (__getpid): Likewise.
12221 * posix/getppid.c (__getppid): Likewise.
12222 * posix/getuid.c (__getuid): Likewise.
12223 * posix/pause.c (pause): Likewise.
12224 * posix/setpgrp.c (setpgrp): Likewise.
12225 * posix/setsid.c (__setsid): Likewise.
12226 * posix/test-vfork.c (noop): Likewise.
12227 * resolv/gethnamaddr.c (_endhtent): Likewise.
12228 (_gethtent): Likewise.
12229 (ht_endhostent): Likewise.
12230 (gethostent): Likewise.
12231 (dns_service): Likewise.
12232 * stdlib/drand48.c (drand48): Likewise.
12233 * stdlib/lrand48.c (lrand48): Likewise.
12234 * stdlib/mrand48.c (mrand48): Likewise.
12235 * stdlib/rand.c (rand): Likewise.
12236 * stdlib/random.c (__random): Likewise.
12237 * stdlib/setenv.c (clearenv): Likewise.
12238 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12239 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12240 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12241 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12242 (__get_nprocs): Likewise.
12243 (__get_phys_pages): Likewise.
12244 (__get_avphys_pages): Likewise.
12245 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12246 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12247 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12248 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12249 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12250 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12251 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12252 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12253 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12254 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12255 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12256 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12257 * sysdeps/posix/clock.c (clock): Likewise.
12258 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12259 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12260 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12261 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12262 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12264 (__get_nprocs_conf): Likewise.
12265 (__get_phys_pages): Likewise.
12266 (__get_avphys_pages): Likewise.
12267 * time/clock.c (clock): Likewise.
12268 * time/tzset.c (__tzname_max): Likewise.
12269
2e09a79a
JM
122702013-06-07 Joseph Myers <joseph@codesourcery.com>
12271
12272 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12273 (__bswap_32): Do not use "register".
12274 * crypt/crypt.c (_ufc_doit_r): Likewise.
12275 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12276 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12277 * gmon/gmon.c (__monstartup): Likewise.
12278 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12279 * hurd/hurdmalloc.c (more_memory): Likewise.
12280 (malloc): Likewise.
12281 (free): Likewise.
12282 (realloc): Likewise.
12283 (malloc_fork_prepare): Likewise.
12284 (malloc_fork_parent): Likewise.
12285 (malloc_fork_child): Likewise.
12286 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12287 (_svcauth_des): Likewise.
12288 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12289 * inet/inet_net.c (inet_network): Likewise.
12290 * inet/inet_netof.c (inet_netof): Likewise.
12291 * inet/rcmd.c (__validuser2_sa): Likewise.
12292 * io/fts.c (fts_open): Likewise.
12293 (fts_load): Likewise.
12294 (fts_close): Likewise.
12295 (fts_read): Likewise.
12296 (fts_children): Likewise.
12297 (fts_build): Likewise.
12298 (fts_stat): Likewise.
12299 (fts_sort): Likewise.
12300 (fts_alloc): Likewise.
12301 (fts_lfree): Likewise.
12302 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12303 (_IO_file_xsgetn): Likewise.
12304 (_IO_file_xsgetn_mmap): Likewise.
12305 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12306 (_IO_cookie_write): Likewise.
12307 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12308 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12309 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12310 * malloc/obstack.c (_obstack_begin): Likewise.
12311 (_obstack_begin_1): Likewise.
12312 (_obstack_newchunk): Likewise.
12313 (_obstack_allocated_p): Likewise.
12314 (obstack_free): Likewise.
12315 (_obstack_memory_used): Likewise.
12316 * misc/getttyent.c (getttynam): Likewise.
12317 (getttyent): Likewise.
12318 (skip): Likewise.
12319 (value): Likewise.
12320 * misc/getusershell.c (initshells): Likewise.
12321 * misc/syslog.c (__vsyslog_chk): Likewise.
12322 * misc/ttyslot.c (ttyslot): Likewise.
12323 * nis/nis_hash.c (__nis_hash): Likewise.
12324 * posix/fnmatch_loop.c (FCT): Likewise.
12325 * posix/getconf.c (print_all): Likewise.
12326 (main): Likewise.
12327 * posix/getopt.c (exchange): Likewise.
12328 * posix/glob.c (globfree): Likewise.
12329 (prefix_array): Likewise.
12330 (__glob_pattern_type): Likewise.
12331 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12332 (NS_GET32): Likewise.
12333 (NS_PUT16): Likewise.
12334 (NS_PUT32): Likewise.
12335 * resolv/gethnamaddr.c (getanswer): Likewise.
12336 (gethostbyname2): Likewise.
12337 (gethostbyaddr): Likewise.
12338 (_gethtent): Likewise.
12339 (_gethtbyname2): Likewise.
12340 (_gethtbyaddr): Likewise.
12341 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12342 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12343 * resolv/res_init.c (__res_vinit): Likewise.
12344 (net_mask): Likewise.
12345 * resolv/res_mkquery.c (outchar): Likewise.
12346 (PRINT): Likewise.
12347 * stdio-common/printf_fp.c (outchar): Likewise.
12348 (PRINT): Likewise.
12349 * stdio-common/printf_fphex.c (outchar): Likewise.
12350 (PRINT): Likewise.
12351 * stdio-common/printf_size.c (outchar): Likewise.
12352 (PRINT): Likewise.
12353 * stdio-common/test_rdwr.c (main): Likewise.
12354 * stdio-common/tfformat.c (matches): Likewise.
12355 * stdio-common/vfprintf.c (outchar): Likewise.
12356 (printf_unknown): Likewise.
12357 (buffered_vfprintf): Likewise.
12358 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12359 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12360 (ReadFile): Likewise.
12361 * stdlib/qsort.c (SWAP): Likewise.
12362 (_quicksort): Likewise.
12363 * stdlib/setenv.c (__add_to_environ): Likewise.
12364 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12365 * stdlib/strtol_l.c (__strtol_l): Likewise.
12366 * stdlib/tst-strtod.c (main): Likewise.
12367 * stdlib/tst-strtol.c (main): Likewise.
12368 * stdlib/tst-strtoll.c (main): Likewise.
12369 * string/bits/string2.h (__strcmp_cc): Likewise.
12370 (__strcmp_cg): Likewise.
12371 (__strcspn_c1): Likewise.
12372 (__strcspn_c2): Likewise.
12373 (__strcspn_c3): Likewise.
12374 (__strspn_c1): Likewise.
12375 (__strspn_c2): Likewise.
12376 (__strspn_c3): Likewise.
12377 (__strsep_1c): Likewise.
12378 (__strsep_2c): Likewise.
12379 (__strsep_3c): Likewise.
12380 * string/memccpy.c (__memccpy): Likewise.
12381 * string/stpcpy.c (__stpcpy): Likewise.
12382 * string/strcmp.c (strcmp): Likewise.
12383 * string/strrchr.c (strrchr): Likewise.
12384 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12385 Likewise.
12386 * sysdeps/mach/hurd/getcwd.c
12387 (_hurd_canonicalize_directory_name_internal): Likewise.
12388 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12389 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12390 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12391 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12392 Likewise, in both definitions.
12393 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12394 definitions.
12395 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12396 64] (__bswap_64): Likewise.
12397 * time/test_time.c (main): Likewise.
12398 * time/tzfile.c (__tzfile_read): Likewise.
12399 (__tzfile_compute): Likewise.
12400 * time/tzset.c (__tzset_parse_tz): Likewise.
12401 (tzset_internal): Likewise.
12402 (compute_change): Likewise.
12403 * wcsmbs/wcscat.c (__wcscat): Likewise.
12404 * wcsmbs/wcschr.c (wcschr): Likewise.
12405 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12406 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12407 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12408 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12409 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12410 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12411 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12412 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12413 * wcsmbs/wmemset.c (wmemset): Likewise.
12414
9e54314b
JM
124152013-06-06 Joseph Myers <joseph@codesourcery.com>
12416
12417 * scripts/config.guess: Update to version 2013-05-16.
12418 * scripts/config.sub: Update to version 2013-04-24.
12419 * scripts/install-sh: Update to version 2011-11-20.07.
12420 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12421 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12422
350635a5
OB
124232013-06-06 Ondřej Bílka <neleai@seznam.cz>
12424
12425 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12426 * elf/sln.c: Likewise.
12427 * hurd/hurd/ioctl.h: Likewise.
12428 * hurd/hurdmalloc.c: Likewise.
12429 * hurd/xattr.c: Likewise.
12430 * include/shlib-compat.h: Likewise.
12431 * inet/ruserpass.c: Likewise.
12432 * libio/iofgets_u.c: Likewise.
12433 * libio/iofgetws_u.c: Likewise.
12434 * locale/programs/ld-identification.c: Likewise.
12435 * locale/programs/ld-time.c: Likewise.
12436 * mach/msg-destroy.c: Likewise.
12437 * nss/nss_files/files-netgrp.c: Likewise.
12438 * resolv/res_data.c: Likewise.
12439 * soft-fp/op-1.h: Likewise.
12440 * soft-fp/op-2.h: Likewise.
12441 * soft-fp/op-4.h: Likewise.
12442 * soft-fp/op-common.h: Likewise.
12443 * stdio-common/printf_fphex.c: Likewise.
12444 * stdlib/strtod_l.c: Likewise.
12445 * sunrpc/rpc/clnt.h: Likewise.
12446 * sysdeps/generic/framestate.c: Likewise.
12447 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12448 * sysdeps/i386/bsd-setjmp.S: Likewise.
12449 * sysdeps/i386/__longjmp.S: Likewise.
12450 * sysdeps/i386/setjmp.S: Likewise.
12451 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12452 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12453 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12469 * sysdeps/ieee754/support.c: Likewise.
12470 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12471 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12472 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12473 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12474 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12475 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12476 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12477 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12478 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12479 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12480 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12481 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12482 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12483 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12484 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12485 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12486 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12488
44a988af
OB
124892013-06-05 Ondřej Bílka <neleai@seznam.cz>
12490
25506f09 12491 * posix/transbug.c: Remove executable mode.
44a988af 12492
9c84384c
JM
124932013-06-05 Joseph Myers <joseph@codesourcery.com>
12494
12495 * crypt/speeds.c: Remove trailing whitespace.
12496 * dlfcn/default.c: Likewise.
12497 * elf/ifuncdep2.c: Likewise.
12498 * elf/ifuncmain1.c: Likewise.
12499 * elf/ifuncmain1vis.c: Likewise.
12500 * elf/testobj.h: Likewise.
12501 * elf/tst-stackguard1.c: Likewise.
12502 * gmon/sys/gmon.h: Likewise.
12503 * hurd/hurdmsg.c: Likewise.
12504 * hurd/new-fd.c: Likewise.
12505 * hurd/ports-get.c: Likewise.
12506 * iconvdata/ibm1008_420.c: Likewise.
12507 * inet/tst-getni1.c: Likewise.
12508 * inet/tst-getni2.c: Likewise.
12509 * libio/ioungetc.c: Likewise.
12510 * libio/wfiledoalloc.c: Likewise.
12511 * manual/libm-err-tab.pl: Likewise.
12512 * math/w_dremf.c: Likewise.
12513 * misc/ftruncate.c: Likewise.
12514 * posix/bug-glob2.c: Likewise.
12515 * posix/tst-pcre.c: Likewise.
12516 * posix/wait4.c: Likewise.
12517 * resolv/README: Likewise.
12518 * resolv/res_debug.h: Likewise.
12519 * resolv/tst-inet_ntop.c: Likewise.
12520 * setjmp/bug269-setjmp.c: Likewise.
12521 * soft-fp/extended.h: Likewise.
12522 * soft-fp/op-1.h: Likewise.
12523 * soft-fp/op-2.h: Likewise.
12524 * soft-fp/op-4.h: Likewise.
12525 * soft-fp/op-8.h: Likewise.
12526 * soft-fp/testit.c: Likewise.
12527 * stdio-common/bug16.c: Likewise.
12528 * stdlib/random.c: Likewise.
12529 * sunrpc/rpcsvc/rquota.x: Likewise.
12530 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12531 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12532 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12533 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12534 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12535 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12536 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12537 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12538 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12539 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12540 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12557 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12559 * sysdeps/ieee754/s_lib_version.c: Likewise.
12560 * sysdeps/mach/hurd/check_fds.c: Likewise.
12561 * sysdeps/mach/hurd/getsockname.c: Likewise.
12562 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12563 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12564 * sysdeps/powerpc/bits/link.h: Likewise.
12565 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12566 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12567 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12568 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12569 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12570 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12571 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12572 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12573 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12574 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12576 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12577 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12578 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12579 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12580 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12581 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12583 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12584 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12585 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12586 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12587 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12588 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12589 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12591 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12592 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12593 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12596 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12597 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12599 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12600 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12601 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12602 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12603 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12604 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12606 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12607 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12608 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12609 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12610 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12611 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12612 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12613 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12614 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12615 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12616 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12617 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12618 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12619 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12620 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12621 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12622 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12623 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12624 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12625 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12626 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12628 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12629 * sysdeps/powerpc/sysdep.h: Likewise.
12630 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12631 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12632 * sysdeps/sh/dl-trampoline.S: Likewise.
12633 * sysdeps/sh/memset.S: Likewise.
12634 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12635 * sysdeps/sh/strlen.S: Likewise.
12636 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12637 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12638 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12639 * sysdeps/sparc/sparc32/rem.S: Likewise.
12640 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12641 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12642 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12643 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12644 * sysdeps/sparc/sparc32/urem.S: Likewise.
12645 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12646 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12647 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12648 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12649 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12650 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12651 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12652 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12653 * sysdeps/unix/bsd/times.c: Likewise.
12654 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12655 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12659 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12660 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12661 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12662 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12663 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12664 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12665 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12666 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12668 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12669 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12670 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12671 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12672 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12673 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12674 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12675 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12676 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12677 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12678 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12679 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12680 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12681 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12682 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12683 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12684 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12685 * sysdeps/x86_64/strcspn.S: Likewise.
12686
869378a5
RA
126872013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12688
12689 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12690 generated file. Regenerate properly from gen-translit.pl.
12691 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12692 locale/C-translit.h.
12693
840e2943
AS
126942013-06-05 Andreas Schwab <schwab@suse.de>
12695
12696 [BZ #15100]
12697 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12698 week as 6 instead of -1.
12699 * time/tst-strptime.c (day_tests): Add test case.
12700
4c60cb0c
SP
127012013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12702
12703 * sysdeps/generic/math_private.h
12704 (libc_feholdexcept_setround_53bit): Replace with
12705 libc_feholdsetround_53bit.
12706 (libc_feupdateenv_53bit): Replace with
12707 libc_feresetround_53bit.
12708 (SET_RESTORE_ROUND_53BIT): Adjust.
12709
d180203e
SP
127102013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12711
96df079a
SP
12712 * string/test-strchrnul.c: Add copyright header.
12713
d180203e
SP
12714 * posix/tst-getaddrinfo4.c: Increase test timeout.
12715
8b0ccb2d
CD
127162013-06-03 Carlos O'Donell <carlos@redhat.com>
12717
12718 [BZ #15536]
12719 * math/libm-test.inc (MAX_EXP): Remove
12720 (MIN_EXP): Define.
12721 (ulp): Use MIN_EXP - MANT_DIG.
12722 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12723
3b3c4d40
CD
127242013-05-31 Carlos O'Donell <carlos@redhat.com>
12725
12726 * po/be.po: Revert last change.
12727 * po/zh_CN.po: Likewise.
12728 * po/header.pot: Likewise.
12729
fab7ce3f
JM
127302013-05-31 Joseph Myers <joseph@codesourcery.com>
12731
12732 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12733 link-libc-deps to empty as target-specific variable.
12734 * Makerules (link-libc-args): New variable.
12735 (libc-for-link): Likewise.
12736 (link-libc-deps): Likewise.
12737 (lib%.so): Depend on $(link-libc-deps). Link with
12738 $(link-libc-args).
12739 (build-module): Link with $(link-libc-args).
12740 (build-module-asneeded): Likewise.
12741 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12742 list of objects.
12743 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12744 target-specific variable.
12745 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12746 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12747 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12748 libc.
12749 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12750 libc and ld.so.
12751 ($(objpfx)libpcprofile.so): Likewise.
12752 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12753 libc_nonshared.a.
12754 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12755 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12756 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12757 $(link-libc-deps).
12758 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12759 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12760 * login/Makefile ($(objpfx)libutil.so): Likewise.
12761 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12762 * math/Makefile ($(objpfx)libm.so): Likewise.
12763 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12764 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12765 variable instead of depending directly on libc.
12766 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12767 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12768 $(link-libc-deps).
12769 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12770 libc.
12771 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12772 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12773 ($(objpfx)libanl.so): Likewise.
12774 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12775 ld.so.
12776 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12777 $(link-libc-deps).
12778 * sysdeps/i386/fpu/Makefile: Remove file.
12779 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12780 ($(objpfx)libm.so): Remove dependency on ld.so.
12781
eca5920c
PF
127822013-05-30 Patsy Franklin <pfrankli@redhat.com>
12783
12784 [BZ # 15553]
12785 * nis/yp_xdr.c (XDRMAXNAME): Define.
12786 (XDRMAXRECORD): Define.
12787 (xdr_domainname): Use XDRMAXNAME.
12788 (xdr_mapname): Likewise.
12789 (xdr_peername): Likewise.
12790 (xdr_keydat): Use XDRMAXRECORD.
12791 (xdr_valdat): Likewise.
12792
127932013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12794
12795 [BZ #14256]
12796 * manual/errno.texi (ESTALE): Update to account for more than
12797 just NFS file systems.
12798 * sysdeps/gnu/errlist.c: Regenerated.
12799
b9375348
SP
128002013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12801
12802 [BZ #15465]
12803 * elf/Makefile (tests): Add tst-null-argv.
12804 (modules-names): Add tst-null-argv-lib.
12805 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12806 (tst-null-argv-ENV): Set environment for tst-null-argv.
12807 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12808 (RTLD_PROGNAME): New macro.
12809 * elf/tst-null-argv.c: New test case.
12810 * elf/tst-null-argv-lib.c: Library for test case.
12811 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12812 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12813 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12814 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12815 * elf/dl-init.c (call_init): Likewise.
12816 (_dl_init): Likewise.
12817 * elf/dl-load.c (print_search_path): Likewise.
12818 (_dl_map_object): Likewise.
12819 * elf/dl-lookup.c (do_lookup_x): Likewise.
12820 (add_dependency): Likewise.
12821 (_dl_lookup_symbol_x): Likewise.
12822 (_dl_debug_bindings): Likewise.
12823 * elf/dl-open.c (_dl_show_scope): Likewise.
12824 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12825 * elf/dl-version.c (match_symbol): Likewise.
12826 (_dl_check_map_versions): Likewise.
12827 * elf/rtld.c (dl_main): Likewise.
12828 (print_unresolved): Use RTLD_PROGNAME.
12829 (print_missing_version): Likewise.
12830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12831 (elf_machine_rela): Likewise.
12832 * sysdeps/powerpc/powerpc32/dl-machine.c
12833 (__process_machine_rela): Likewise.
12834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12835 Likewise.
12836 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12837 Likewise.
12838 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12839 Likewise.
12840 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12842 Likewise.
12843 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12844 Likewise.
12845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12846
8a9f20c8
CD
128472013-05-28 Carlos O'Donell <carlos@redhat.com>
12848
12849 * po/be.po: Add descriptive title.
12850 * po/zh_CN.po: Likewise.
12851 * po/header.pot: Likewise.
12852
0e60d68e
MF
128532013-05-28 Mike Frysinger <vapier@gentoo.org>
12854
12855 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12856 error message.
12857 (enlarge_archive): Likewise.
12858
56b672e9
BN
128592013-05-28 Ben North <ben@redfrontdoor.org>
12860
12861 * manual/arith.texi (frexp): It is the magnitude of the return
12862 value which lies in [0.5, 1), not the return value itself.
12863
5e056687
AZ
128642013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12865
12866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12867
2b66ef5d
TS
128682013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12869
528c2405
TS
12870 * stdio-common/bug26.c (main): Correct fscanf template.
12871
07b4c13d
TS
12872 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12873 declare _dl_skip_args.
12874
ec9dd97c
TS
12875 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12876 Don't declare.
12877
2b66ef5d
TS
12878 * manual/platform.texi: Add missing @end deftypefun.
12879
4f8dfe27
JM
128802013-05-24 Joseph Myers <joseph@codesourcery.com>
12881
0323d086
JM
12882 [BZ #15529]
12883 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12884 bit of mantissa of 2^16382.
12885 * math/libm-test.inc (hypot_test_data): Add more tests.
12886
dd4259b9
JM
12887 * math/libm-test.inc: Add drem and pow10 to list of tested
12888 functions.
12889 (pow10_test): New function.
12890 (drem_test): Likewise.
12891 (drem_test_tonearest): Likewise.
12892 (drem_test_towardzero): Likewise.
12893 (drem_test_downward): Likewise.
12894 (drem_test_upward): Likewise.
12895 (main): Call the new functions.
12896
4f8dfe27
JM
12897 * math/libm-test.inc (finite_test_data): Remove.
12898 (finite_test): Run tests from isfinite_test_data.
12899 (gamma_test_data): Remove.
12900 (gamma_test): Run tests from lgamma_test_data.
12901 * sysdeps/i386/fpu/libm-test-ulps: Update.
12902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12903
d116b7c4
AZ
129042013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12905
12906 * manual/platform.texi: Add PowerPC PPR function set documentation.
12907 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12908 implementation.
12909
e96e3767
CD
129102013-05-24 Carlos O'Donell <carlos@redhat.com>
12911
12912 * math/libm-test.inc (MAX_EXP): Define.
12913 (ULPDIFF): Define.
12914 (ulp): New function.
12915 (check_float_internal): Use ULPDIFF.
12916 (cpow_test): Disable failing test.
12917 (check_ulp): Test ulp() implemetnation.
12918 (main): Call check_ulp before starting tests.
12919
b679a606
JM
129202013-05-24 Joseph Myers <joseph@codesourcery.com>
12921
e8bdba36
JM
12922 * math/gen-libm-test.pl (generate_testfile): Do not handle
12923 START_DATA and END_DATA.
12924 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12925 END_DATA.
12926 (acos_tonearest_test_data): Likewise.
12927 (acos_towardzero_test_data): Likewise.
12928 (acos_downward_test_data): Likewise.
12929 (acos_upward_test_data): Likewise.
12930 (acosh_test_data): Likewise.
12931 (asin_test_data): Likewise.
12932 (asin_tonearest_test_data): Likewise.
12933 (asin_towardzero_test_data): Likewise.
12934 (asin_downward_test_data): Likewise.
12935 (asin_upward_test_data): Likewise.
12936 (asinh_test_data): Likewise.
12937 (atan_test_data): Likewise.
12938 (atanh_test_data): Likewise.
12939 (atan2_test_data): Likewise.
12940 (cabs_test_data): Likewise.
12941 (cacos_test_data): Likewise.
12942 (cacosh_test_data): Likewise.
12943 (carg_test_data): Likewise.
12944 (casin_test_data): Likewise.
12945 (casinh_test_data): Likewise.
12946 (catan_test_data): Likewise.
12947 (catanh_test_data): Likewise.
12948 (cbrt_test_data): Likewise.
12949 (ccos_test_data): Likewise.
12950 (ccosh_test_data): Likewise.
12951 (ceil_test_data): Likewise.
12952 (cexp_test_data): Likewise.
12953 (cimag_test_data): Likewise.
12954 (clog_test_data): Likewise.
12955 (clog10_test_data): Likewise.
12956 (conj_test_data): Likewise.
12957 (copysign_test_data): Likewise.
12958 (cos_test_data): Likewise.
12959 (cos_tonearest_test_data): Likewise.
12960 (cos_towardzero_test_data): Likewise.
12961 (cos_downward_test_data): Likewise.
12962 (cos_upward_test_data): Likewise.
12963 (cosh_test_data): Likewise.
12964 (cosh_tonearest_test_data): Likewise.
12965 (cosh_towardzero_test_data): Likewise.
12966 (cosh_downward_test_data): Likewise.
12967 (cosh_upward_test_data): Likewise.
12968 (cpow_test_data): Likewise.
12969 (cproj_test_data): Likewise.
12970 (creal_test_data): Likewise.
12971 (csin_test_data): Likewise.
12972 (csinh_test_data): Likewise.
12973 (csqrt_test_data): Likewise.
12974 (ctan_test_data): Likewise.
12975 (ctan_tonearest_test_data): Likewise.
12976 (ctan_towardzero_test_data): Likewise.
12977 (ctan_downward_test_data): Likewise.
12978 (ctan_upward_test_data): Likewise.
12979 (ctanh_test_data): Likewise.
12980 (ctanh_tonearest_test_data): Likewise.
12981 (ctanh_towardzero_test_data): Likewise.
12982 (ctanh_downward_test_data): Likewise.
12983 (ctanh_upward_test_data): Likewise.
12984 (erf_test_data): Likewise.
12985 (erfc_test_data): Likewise.
12986 (exp_test_data): Likewise.
12987 (exp_tonearest_test_data): Likewise.
12988 (exp_towardzero_test_data): Likewise.
12989 (exp_downward_test_data): Likewise.
12990 (exp_upward_test_data): Likewise.
12991 (exp10_test_data): Likewise.
12992 (exp2_test_data): Likewise.
12993 (expm1_test_data): Likewise.
12994 (fabs_test_data): Likewise.
12995 (fdim_test_data): Likewise.
12996 (finite_test_data): Likewise.
12997 (floor_test_data): Likewise.
12998 (fma_test_data): Likewise.
12999 (fma_towardzero_test_data): Likewise.
13000 (fma_downward_test_data): Likewise.
13001 (fma_upward_test_data): Likewise.
13002 (fmax_test_data): Likewise.
13003 (fmin_test_data): Likewise.
13004 (fmod_test_data): Likewise.
13005 (fpclassify_test_data): Likewise.
13006 (frexp_test_data): Likewise.
13007 (gamma_test_data): Likewise.
13008 (hypot_test_data): Likewise.
13009 (ilogb_test_data): Likewise.
13010 (isfinite_test_data): Likewise.
13011 (isgreater_test_data): Likewise.
13012 (isgreaterequal_test_data): Likewise.
13013 (isinf_test_data): Likewise.
13014 (isless_test_data): Likewise.
13015 (islessequal_test_data): Likewise.
13016 (islessgreater_test_data): Likewise.
13017 (isnan_test_data): Likewise.
13018 (isnormal_test_data): Likewise.
13019 (issignaling_test_data): Likewise.
13020 (isunordered_test_data): Likewise.
13021 (j0_test_data): Likewise.
13022 (j1_test_data): Likewise.
13023 (jn_test_data): Likewise.
13024 (ldexp_test_data): Likewise.
13025 (lgamma_test_data): Likewise.
13026 (lrint_test_data): Likewise.
13027 (lrint_tonearest_test_data): Likewise.
13028 (lrint_towardzero_test_data): Likewise.
13029 (lrint_downward_test_data): Likewise.
13030 (lrint_upward_test_data): Likewise.
13031 (llrint_test_data): Likewise.
13032 (llrint_tonearest_test_data): Likewise.
13033 (llrint_towardzero_test_data): Likewise.
13034 (llrint_downward_test_data): Likewise.
13035 (llrint_upward_test_data): Likewise.
13036 (log_test_data): Likewise.
13037 (log10_test_data): Likewise.
13038 (log1p_test_data): Likewise.
13039 (log2_test_data): Likewise.
13040 (logb_test_data): Likewise.
13041 (logb_downward_test_data): Likewise.
13042 (lround_test_data): Likewise.
13043 (llround_test_data): Likewise.
13044 (modf_test_data): Likewise.
13045 (nearbyint_test_data): Likewise.
13046 (nextafter_test_data): Likewise.
13047 (nexttoward_test_data): Likewise.
13048 (pow_test_data): Likewise.
13049 (pow_tonearest_test_data): Likewise.
13050 (pow_towardzero_test_data): Likewise.
13051 (pow_downward_test_data): Likewise.
13052 (pow_upward_test_data): Likewise.
13053 (remainder_test_data): Likewise.
13054 (remainder_tonearest_test_data): Likewise.
13055 (remainder_towardzero_test_data): Likewise.
13056 (remainder_downward_test_data): Likewise.
13057 (remainder_upward_test_data): Likewise.
13058 (remquo_test_data): Likewise.
13059 (rint_test_data): Likewise.
13060 (rint_tonearest_test_data): Likewise.
13061 (rint_towardzero_test_data): Likewise.
13062 (rint_downward_test_data): Likewise.
13063 (rint_upward_test_data): Likewise.
13064 (round_test_data): Likewise.
13065 (scalb_test_data): Likewise.
13066 (scalbn_test_data): Likewise.
13067 (scalbln_test_data): Likewise.
13068 (signbit_test_data): Likewise.
13069 (sin_test_data): Likewise.
13070 (sin_tonearest_test_data): Likewise.
13071 (sin_towardzero_test_data): Likewise.
13072 (sin_downward_test_data): Likewise.
13073 (sin_upward_test_data): Likewise.
13074 (sincos_test_data): Likewise.
13075 (sinh_test_data): Likewise.
13076 (sinh_tonearest_test_data): Likewise.
13077 (sinh_towardzero_test_data): Likewise.
13078 (sinh_downward_test_data): Likewise.
13079 (sinh_upward_test_data): Likewise.
13080 (sqrt_test_data): Likewise.
13081 (tan_test_data): Likewise.
13082 (tan_tonearest_test_data): Likewise.
13083 (tan_towardzero_test_data): Likewise.
13084 (tan_downward_test_data): Likewise.
13085 (tan_upward_test_data): Likewise.
13086 (tanh_test_data): Likewise.
13087 (tgamma_test_data): Likewise.
13088 (trunc_test_data): Likewise.
13089 (y0_test_data): Likewise.
13090 (y1_test_data): Likewise.
13091 (yn_test_data): Likewise.
13092 (significand_test_data): Likewise.
13093
b679a606
JM
13094 * math/gen-libm-test.pl (@functions): Remove variable.
13095 (generate_testfile): Don't handle START and END lines.
13096 * math/libm-test.inc (START): New macro.
13097 (END): Likewise.
13098 (END_COMPLEX): Likewise.
13099 (acos_test): Use END macro without arguments.
13100 (acos_test_tonearest): Likewise.
13101 (acos_test_towardzero): Likewise.
13102 (acos_test_downward): Likewise.
13103 (acos_test_upward): Likewise.
13104 (acosh_test): Likewise.
13105 (asin_test): Likewise.
13106 (asin_test_tonearest): Likewise.
13107 (asin_test_towardzero): Likewise.
13108 (asin_test_downward): Likewise.
13109 (asin_test_upward): Likewise.
13110 (asinh_test): Likewise.
13111 (atan_test): Likewise.
13112 (atanh_test): Likewise.
13113 (atan2_test): Likewise.
13114 (cabs_test): Likewise.
13115 (cacos_test): Use END_COMPLEX macro without arguments.
13116 (cacosh_test): Likewise.
13117 (carg_test): Use END macro without arguments.
13118 (casin_test): Use END_COMPLEX macro without arguments.
13119 (casinh_test): Likewise.
13120 (catan_test): Likewise.
13121 (catanh_test): Likewise.
13122 (cbrt_test): Use END macro without arguments.
13123 (ccos_test): Use END_COMPLEX macro without arguments.
13124 (ccosh_test): Likewise.
13125 (ceil_test): Use END macro without arguments.
13126 (cexp_test): Use END_COMPLEX macro without arguments.
13127 (cimag_test): Use END macro without arguments.
13128 (clog_test): Use END_COMPLEX macro without arguments.
13129 (clog10_test): Likewise.
13130 (conj_test): Likewise.
13131 (copysign_test): Use END macro without arguments.
13132 (cos_test): Likewise.
13133 (cos_test_tonearest): Likewise.
13134 (cos_test_towardzero): Likewise.
13135 (cos_test_downward): Likewise.
13136 (cos_test_upward): Likewise.
13137 (cosh_test): Likewise.
13138 (cosh_test_tonearest): Likewise.
13139 (cosh_test_towardzero): Likewise.
13140 (cosh_test_downward): Likewise.
13141 (cosh_test_upward): Likewise.
13142 (cpow_test): Use END_COMPLEX macro without arguments.
13143 (cproj_test): Likewise.
13144 (creal_test): Use END macro without arguments.
13145 (csin_test): Use END_COMPLEX macro without arguments.
13146 (csinh_test): Likewise.
13147 (csqrt_test): Likewise.
13148 (ctan_test): Likewise.
13149 (ctan_test_tonearest): Likewise.
13150 (ctan_test_towardzero): Likewise.
13151 (ctan_test_downward): Likewise.
13152 (ctan_test_upward): Likewise.
13153 (ctanh_test): Likewise.
13154 (ctanh_test_tonearest): Likewise.
13155 (ctanh_test_towardzero): Likewise.
13156 (ctanh_test_downward): Likewise.
13157 (ctanh_test_upward): Likewise.
13158 (erf_test): Use END macro without arguments.
13159 (erfc_test): Likewise.
13160 (exp_test): Likewise.
13161 (exp_test_tonearest): Likewise.
13162 (exp_test_towardzero): Likewise.
13163 (exp_test_downward): Likewise.
13164 (exp_test_upward): Likewise.
13165 (exp10_test): Likewise.
13166 (exp2_test): Likewise.
13167 (expm1_test): Likewise.
13168 (fabs_test): Likewise.
13169 (fdim_test): Likewise.
13170 (finite_test): Likewise.
13171 (floor_test): Likewise.
13172 (fma_test): Likewise.
13173 (fma_test_towardzero): Likewise.
13174 (fma_test_downward): Likewise.
13175 (fma_test_upward): Likewise.
13176 (fmax_test): Likewise.
13177 (fmin_test): Likewise.
13178 (fmod_test): Likewise.
13179 (fpclassify_test): Likewise.
13180 (frexp_test): Likewise.
13181 (gamma_test): Likewise.
13182 (hypot_test): Likewise.
13183 (ilogb_test): Likewise.
13184 (isfinite_test): Likewise.
13185 (isgreater_test): Likewise.
13186 (isgreaterequal_test): Likewise.
13187 (isinf_test): Likewise.
13188 (isless_test): Likewise.
13189 (islessequal_test): Likewise.
13190 (islessgreater_test): Likewise.
13191 (isnan_test): Likewise.
13192 (isnormal_test): Likewise.
13193 (issignaling_test): Likewise.
13194 (isunordered_test): Likewise.
13195 (j0_test): Likewise.
13196 (j1_test): Likewise.
13197 (jn_test): Likewise.
13198 (ldexp_test): Likewise.
13199 (lgamma_test): Likewise.
13200 (lrint_test): Likewise.
13201 (lrint_test_tonearest): Likewise.
13202 (lrint_test_towardzero): Likewise.
13203 (lrint_test_downward): Likewise.
13204 (lrint_test_upward): Likewise.
13205 (llrint_test): Likewise.
13206 (llrint_test_tonearest): Likewise.
13207 (llrint_test_towardzero): Likewise.
13208 (llrint_test_downward): Likewise.
13209 (llrint_test_upward): Likewise.
13210 (log_test): Likewise.
13211 (log10_test): Likewise.
13212 (log1p_test): Likewise.
13213 (log2_test): Likewise.
13214 (logb_test): Likewise.
13215 (logb_test_downward): Likewise.
13216 (lround_test): Likewise.
13217 (llround_test): Likewise.
13218 (modf_test): Likewise.
13219 (nearbyint_test): Likewise.
13220 (nextafter_test): Likewise.
13221 (nexttoward_test): Likewise.
13222 (pow_test): Likewise.
13223 (pow_test_tonearest): Likewise.
13224 (pow_test_towardzero): Likewise.
13225 (pow_test_downward): Likewise.
13226 (pow_test_upward): Likewise.
13227 (remainder_test): Likewise.
13228 (remainder_test_tonearest): Likewise.
13229 (remainder_test_towardzero): Likewise.
13230 (remainder_test_downward): Likewise.
13231 (remainder_test_upward): Likewise.
13232 (remquo_test): Likewise.
13233 (rint_test): Likewise.
13234 (rint_test_tonearest): Likewise.
13235 (rint_test_towardzero): Likewise.
13236 (rint_test_downward): Likewise.
13237 (rint_test_upward): Likewise.
13238 (round_test): Likewise.
13239 (scalb_test): Likewise.
13240 (scalbn_test): Likewise.
13241 (scalbln_test): Likewise.
13242 (signbit_test): Likewise.
13243 (sin_test): Likewise.
13244 (sin_test_tonearest): Likewise.
13245 (sin_test_towardzero): Likewise.
13246 (sin_test_downward): Likewise.
13247 (sin_test_upward): Likewise.
13248 (sincos_test): Likewise.
13249 (sinh_test): Likewise.
13250 (sinh_test_tonearest): Likewise.
13251 (sinh_test_towardzero): Likewise.
13252 (sinh_test_downward): Likewise.
13253 (sinh_test_upward): Likewise.
13254 (sqrt_test): Likewise.
13255 (tan_test): Likewise.
13256 (tan_test_tonearest): Likewise.
13257 (tan_test_towardzero): Likewise.
13258 (tan_test_downward): Likewise.
13259 (tan_test_upward): Likewise.
13260 (tanh_test): Likewise.
13261 (tgamma_test): Likewise.
13262 (trunc_test): Likewise.
13263 (y0_test): Likewise.
13264 (y1_test): Likewise.
13265 (yn_test): Likewise.
13266 (significand_test): Likewise.
13267
bae143d2
OB
132682013-05-24 Ondřej Bílka <neleai@seznam.cz>
13269
13270 [BZ #15381]
13271 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13272
9323d39b
EM
132732013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13274
d4ea44a0 13275 [BZ #14894]
9323d39b
EM
13276 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13277 __ppc_mdoio and __ppc_mdoom.
13278 * manual/platform.texi: Document new functions __ppc_yield,
13279 __ppc_mdoio and __ppc_mdoom.
13280
13e23af7
CD
132812013-05-22 Carlos O'Donell <carlos@redhat.com>
13282
13283 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13284 (main): Mention "tls" pseudo-hwcap is legacy.
13285 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13286
351fe550
JM
132872013-05-22 Joseph Myers <joseph@codesourcery.com>
13288
13289 * math/gen-libm-test.pl (parse_args): Output only string of
13290 arguments as text for test name, not full call or descriptions of
13291 tests for extra outputs.
13292 (generate_testfile): Do not pass function name to parse_args.
13293 Generate this_func variable from START.
13294 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13295 field to arg_str.
13296 (struct test_ff_f_data): Likewise.
13297 (test_ff_f_data_nexttoward): Likewise.
13298 (struct test_fi_f_data): Likewise.
13299 (struct test_fl_f_data): Likewise.
13300 (struct test_if_f_data): Likewise.
13301 (struct test_fff_f_data): Likewise.
13302 (struct test_c_f_data): Likewise.
13303 (struct test_f_f1_data): Likewise. Remove field extra_name.
13304 (struct test_fF_f1_data): Likewise.
13305 (struct test_ffI_f1_data): Likewise.
13306 (struct test_c_c_data): Rename test_name field to arg_str.
13307 (struct test_cc_c_data): Likewise.
13308 (struct test_f_i_data): Likewise.
13309 (struct test_ff_i_data): Likewise.
13310 (struct test_f_l_data): Likewise.
13311 (struct test_f_L_data): Likewise.
13312 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13313 and extra2_name.
13314 (COMMON_TEST_SETUP): New macro.
13315 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13316 (COMMON_TEST_CLEANUP): Likewise.
13317 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13318 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13319 macros.
13320 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13321 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13322 macros.
13323 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13324 (RUN_TEST_fff_f): Take argument string. Call new setup and
13325 cleanup macros.
13326 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13327 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13328 macros.
13329 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13330 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13331 macros.
13332 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13333 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13334 cleanup macros.
13335 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13336 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13337 cleanup macros.
13338 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13339 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13340 cleanup macros.
13341 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13342 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13343 macros.
13344 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13345 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13346 macros.
13347 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13348 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13349 macros.
13350 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13351 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13352 cleanup macros.
13353 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13354 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13355 cleanup macros.
13356 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13357 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13358 macros.
13359 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13360 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13361 cleanup macros.
13362 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13363 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13364 macros.
13365 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13366 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13367 macros.
13368 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13369 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13370 cleanup macros.
13371 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13372
85118d4d
EBM
133732013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13374
13375 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13376 to _sifields.sigfault.
13377 (si_addr_lsb): Define new macro.
13378 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13379 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13380 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13381
7a44c18f
CD
133822013-05-03 Carlos O'Donell <carlos at redhat.com>
13383
13384 [BZ #15441]
13385 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13386 returns -1.
13387 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13388 null return -1.
13389 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13390 loading the domain.
13391
b50a7181
JM
133922013-05-22 Joseph Myers <joseph@codesourcery.com>
13393
13394 * math/gen-libm-test.pl (parse_args): Do not include expected
13395 result in test name.
13396 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13397 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13398 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13399 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13400 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13402
051063c8
SP
134032013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13404
3ce9e010
SP
13405 * benchtests/Makefile: Sort function entries.
13406
051063c8
SP
13407 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13408 tanh, asinh, acosh, atanh.
13409 * benchtests/acos-inputs: New file.
13410 * benchtests/acosh-inputs: New file.
13411 * benchtests/asin-inputs: New file.
13412 * benchtests/asinh-inputs: New file.
13413 * benchtests/atanh-inputs: New file.
13414 * benchtests/cosh-inputs: New file.
13415 * benchtests/log-inputs: New file.
13416 * benchtests/sinh-inputs: New file.
13417 * benchtests/tanh-inputs: New file.
13418
47c22455
DL
134192013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13420
13421 [BZ #15339]
13422 * posix/tst-getaddrinfo4.c: New test.
13423 * posix/Makefile (tests): Add it.
13424
3d04f5db
SP
134252013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13426
13427 [BZ #15339]
13428 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13429 when no services were used.
13430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13431 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13432
d5dd6189
AS
134332013-05-21 Andreas Schwab <schwab@suse.de>
13434
13435 [BZ #15014]
13436 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13437 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13438 successful.
13439 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13440 redundant variable declarations and reallocation of buffer when
13441 parsing as IPv6 address. Always set NSS status when called from
13442 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13443 buffer too small. Correct computation of needed size.
13444 * nss/Makefile (tests): Add test-digits-dots.
13445 * nss/test-digits-dots.c: New test.
13446
fef94eab
SP
134472013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13448
13449 * benchtests/Makefile: Remove instructions for adding
13450 benchmark tests.
13451 * benchtests/README: New file to explain how to execute and
13452 enhance the benchmark tests.
13453
e39adf43
AS
134542013-05-21 Andreas Schwab <schwab@suse.de>
13455
13456 [BZ #15493]
13457 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13458 * setjmp/tst-sigsetjmp.c: New test.
13459
b2b671b6
OB
134602013-05-20 Ondřej Bílka <neleai@seznam.cz>
13461
13462 * sysdeps/x86_64/memset.S (memset): New implementation.
13463 (__bzero): Likewise.
13464 (__memset_tail): New function.
13465
2d48b41c
OB
134662013-05-20 Ondřej Bílka <neleai@seznam.cz>
13467
13468 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13469 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13470 __memcpy_sse2_unaligned ifunc selection.
13471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13472 Add memcpy-sse2-unaligned.S.
13473 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13474 Add: __memcpy_sse2_unaligned.
13475
f16cc3eb
JM
134762013-05-19 Joseph Myers <joseph@codesourcery.com>
13477
3e694268
JM
13478 [BZ #15490]
13479 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13480 math_force_eval before restoring floating-point envrionment.
13481 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13482 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13483 Likewise.
13484 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13485 <math_private.h>.
13486 (__nearbyintl): Use math_force_eval before restoring
13487 floating-point environment.
13488 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13489
db62a907
JM
13490 * math/gen-libm-test.pl (special_functions): Remove.
13491 (parse_args): Don't handle TEST_extra. Handle functions with no
13492 return value.
13493 * math/libm-test.inc (struct test_sincos_data): Replace with
13494 struct test_fFF_11_data.
13495 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13496 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13497 (sincos_test_data): Change element type to struct
13498 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13499 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13500 RUN_TEST_LOOP_sincos.
13501 * math/README.libm-test: Don't mention special handling of
13502 individual functions.
13503 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13504 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13505 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13506 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13507 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13509
f16cc3eb
JM
13510 * math/gen-libm-test.pl (get_variable): Remove function.
13511 (parse_args): Don't show pointer parameters to call in test
13512 names. Use "extra output N" in test names for extra outputs
13513 rather than naming variables.
13514
3779b5b6
JM
135152013-05-18 Joseph Myers <joseph@codesourcery.com>
13516
2ee094ff
JM
13517 [BZ #15488]
13518 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13519 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13520 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13521 double tests.
13522 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13523 disable.
13524 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13525 check_long_double.
13526
3779b5b6
JM
13527 * math/gen-libm-test.pl (@tests): Remove variable.
13528 ($count): Likewise.
13529 (new_test): Remove function.
13530 (show_exceptions): New function.
13531 (special_functions): Use show_exceptions instead of new_test.
13532 (parse_args): Likewise.
13533 (generate_testfile): Pass only function name in generated call to
13534 print_max_error or print_complex_max_error.
13535 (get_ulps): Do not handle complex tests specially.
13536 (output_test): Rename to ...
13537 (get_all_ulps_for_test): ... this. Return a string rather than
13538 printing to a file. Require ulps to be present.
13539 (output_ulps): Generate arrays rather than #defines.
13540 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13541 (struct ulp_data): New type.
13542 (BUILD_COMPLEX_ULP): Remove macro.
13543 (compare_ulp_data): New function.
13544 (find_ulps): Likewise.
13545 (find_test_ulps): Likewise.
13546 (find_function_ulps): Likewise.
13547 (find_complex_function_ulps): Likewise.
13548 (print_max_error): Determine allowed ulps using
13549 find_function_ulps.
13550 (print_complex_max_error): Determine allowed ulps using
13551 find_complex_function_ulps.
13552 (check_float_internal): Determine max ulps using find_test_ulps.
13553 (check_float): Do not take max_ulp parameter. Update call to
13554 check_float_internal.
13555 (check_complex): Likewise.
13556 (check_int): Do not take max_ulp parameter.
13557 (check_long): Likewise.
13558 (check_bool): Likewise.
13559 (check_longlong): Likewise.
13560 (struct test_f_f_data): Remove max_ulp field.
13561 (struct test_ff_f_data): Likewise.
13562 (struct test_ff_f_data_nexttoward): Likewise.
13563 (struct test_fi_f_data): Likewise.
13564 (struct test_fl_f_data): Likewise.
13565 (struct test_if_f_data): Likewise.
13566 (struct test_fff_f_data): Likewise.
13567 (struct test_c_f_data): Likewise.
13568 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13569 (struct test_fF_f1_data): Likewise.
13570 (struct test_ffI_f1_data): Likewise.
13571 (struct test_c_c_data): Remove max_ulp field.
13572 (struct test_cc_c_data): Likewise.
13573 (struct test_f_i_data): Likewise.
13574 (struct test_ff_i_data): Likewise.
13575 (struct test_f_l_data): Likewise.
13576 (struct test_f_L_data): Likewise.
13577 (struct test_sincos_data): Likewise.
13578 (RUN_TEST_f_f): Do not handle ulps.
13579 (RUN_TEST_LOOP_f_f): Likewise.
13580 (RUN_TEST_2_f): Likewise.
13581 (RUN_TEST_LOOP_2_f): Likewise.
13582 (RUN_TEST_fff_f): Likewise.
13583 (RUN_TEST_LOOP_fff_f): Likewise.
13584 (RUN_TEST_c_f): Likewise.
13585 (RUN_TEST_LOOP_c_f): Likewise.
13586 (RUN_TEST_f_f1): Likewise.
13587 (RUN_TEST_LOOP_f_f1): Likewise.
13588 (RUN_TEST_fF_f1): Likewise.
13589 (RUN_TEST_LOOP_fF_f1): Likewise.
13590 (RUN_TEST_fI_f1): Likewise.
13591 (RUN_TEST_LOOP_fI_f1): Likewise.
13592 (RUN_TEST_ffI_f1): Likewise.
13593 (RUN_TEST_LOOP_ffI_f1): Likewise.
13594 (RUN_TEST_c_c): Likewise.
13595 (RUN_TEST_LOOP_c_c): Likewise.
13596 (RUN_TEST_cc_c): Likewise.
13597 (RUN_TEST_LOOP_cc_c): Likewise.
13598 (RUN_TEST_f_i): Likewise.
13599 (RUN_TEST_LOOP_f_i): Likewise.
13600 (RUN_TEST_f_i_tg): Likewise.
13601 (RUN_TEST_LOOP_f_i_tg): Likewise.
13602 (RUN_TEST_ff_i_tg): Likewise.
13603 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13604 (RUN_TEST_f_b): Likewise.
13605 (RUN_TEST_LOOP_f_b): Likewise.
13606 (RUN_TEST_f_b_tg): Likewise.
13607 (RUN_TEST_LOOP_f_b_tg): Likewise.
13608 (RUN_TEST_f_l): Likewise.
13609 (RUN_TEST_LOOP_f_l): Likewise.
13610 (RUN_TEST_f_L): Likewise.
13611 (RUN_TEST_LOOP_f_L): Likewise.
13612 (RUN_TEST_sincos): Likewise.
13613 (RUN_TEST_LOOP_sincos): Likewise.
13614
8269107f
JM
136152013-05-17 Joseph Myers <joseph@codesourcery.com>
13616
bb38759d
JM
13617 [BZ #15480]
13618 [BZ #15485]
13619 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13620 main case of finite arguments, set rounding mode to FE_TONEAREST
13621 and discard exceptions.
13622 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13623 exceptions.
13624 (remainder_tonearest_test_data): New variable.
13625 (remainder_test_tonearest): New function.
13626 (remainder_towardzero_test_data): New variable.
13627 (remainder_test_towardzero): New function.
13628 (remainder_downward_test_data): New variable.
13629 (remainder_test_downward): New function.
13630 (remainder_upward_test_data): New variable.
13631 (remainder_test_upward): New function.
13632 (main): Call the new test functions.
13633
a00bdcf0
JM
13634 * math/libm-test.inc (struct test_f_f1_data): Remove field
13635 extra_init.
13636 (struct test_fF_f1_data): Likewise.
13637 (struct test_ffI_f1_data): Likewise.
13638 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13639 based on value of EXTRA_EXPECTED.
13640 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13641 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13642 EXTRA_VAR based on value of EXTRA_EXPECTED.
13643 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13644 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13645 EXTRA_VAR based on value of EXTRA_EXPECTED.
13646 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13647 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13648 EXTRA_VAR based on value of EXTRA_EXPECTED.
13649 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13650 * math/gen-libm-test.pl (parse_args): Don't output initializers
13651 for extra output values.
13652
de407f79
JM
13653 * math/libm-test.inc (check_int): Expect result to be exactly
13654 equal to expected value and do not handle ulps.
13655 (check_long): Likewise.
13656 (check_longlong): Likewise.
13657
8269107f
JM
13658 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13659 exceptions.
13660 (cimag_test_data): Likewise.
13661 (conj_test_data): Likewise.
13662 (copysign_test_data): Likewise.
13663 (cproj_test_data): Likewise.
13664 (creal_test_data): Likewise.
13665 (fabs_test_data): Likewise.
13666 (fdim_test_data): Likewise.
13667 (finite_test_data): Likewise.
13668 (floor_test_data): Likewise.
13669 (fmax_test_data): Likewise.
13670 (fmin_test_data): Likewise.
13671 (fmod_test_data): Likewise.
13672 (fpclassify_test_data): Likewise.
13673 (frexp_test_data): Likewise.
13674 (ilogb_test_data): Likewise.
13675 (isfinite_test_data): Likewise.
13676 (isgreater_test_data): Likewise.
13677 (isgreaterequal_test_data): Likewise.
13678 (isinf_test_data): Likewise.
13679 (isless_test_data): Likewise.
13680 (islessequal_test_data): Likewise.
13681 (islessgreater_test_data): Likewise.
13682 (isnan_test_data): Likewise.
13683 (isnormal_test_data): Likewise.
13684 (issignaling_test_data): Likewise.
13685 (isunordered_test_data): Likewise.
13686 (ldexp_test_data): Likewise.
13687 (lrint_test_data): Likewise.
13688 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13689 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13690 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13691 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13692 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13693 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13694 test input.
13695 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13696 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13697 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13698 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13699 that test input.
13700 (lrint_downward_test_data): Test for "inexact" exceptions.
13701 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13702 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13703 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13704 test input.
13705 (lrint_upward_test_data): Test for "inexact" exceptions.
13706 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13707 test input.
13708 (llrint_test_data): Test for "inexact" exceptions.
13709 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13710 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13711 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13712 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13713 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13714 (llrint_downward_test_data): Test for "inexact" exceptions.
13715 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13716 (llrint_upward_test_data): Test for "inexact" exceptions.
13717 (logb_test_data): Likewise.
13718 (logb_downward_test_data): Likewise.
13719 (nextafter_test_data): Likewise.
13720 (nexttoward_test_data): Likewise.
13721 (remainder_test_data): Likewise.
13722 (remquo_test_data): Likewise.
13723 (scalbn_test_data): Likewise.
13724 (scalbln_test_data): Likewise.
13725 (signbit_test_data): Likewise.
13726 (sqrt_test_data): Likewise.
13727 (significand_test_data): Likewise.
13728
48a18de1
SP
137292013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13730
13731 [BZ #15424]
13732 * benchtests/bench-modf.c (struct args): Mark arg0 as
13733 volatile.
13734 * scripts/bench.pl: Mark members of struct args as volatile.
13735
13d3b41a
AZ
137362013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13737
68191c1d 13738 [BZ # 15497]
13d3b41a
AZ
13739 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13740 negative infinity on POWER6 or lower.
13741 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13742
2848b105
MR
137432013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13744
13745 [BZ #15442]
13746 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13747 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13748 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13749 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13750 (_FP_SETQNAN): New macro.
13751 (_FP_SETQNAN_SEMIRAW): Likewise.
13752 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13753 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13754 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13755 (FP_EXTEND): Use _FP_FRAC_SNANP.
13756 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13757 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13758 into account.
13759 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13760 New macro.
13761 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13762 Likewise.
13763
323e5cb7
JM
137642013-05-16 Joseph Myers <joseph@codesourcery.com>
13765
c58b274f
JM
13766 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13767 with DIVIDE_BY_ZERO_EXCEPTION.
13768 (gamma_test_data): Likewise.
13769 (lgamma_test_data): Likewise.
13770 (log_test_data): Likewise.
13771 (log10_test_data): Likewise.
13772 (log2_test_data): Likewise.
13773 (tgamma_test_data): Likewise.
13774
0ab34904
JM
13775 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13776 (acos_test_tonearest): Likewise.
13777 (acos_test_towardzero): Likewise.
13778 (acos_test_downward): Likewise.
13779 (acos_test_upward): Likewise.
13780 (acosh_test): Likewise.
13781 (asin_test): Likewise.
13782 (asin_test_tonearest): Likewise.
13783 (asin_test_towardzero): Likewise.
13784 (asin_test_downward): Likewise.
13785 (asin_test_upward): Likewise.
13786 (asinh_test): Likewise.
13787 (atan_test): Likewise.
13788 (atanh_test): Likewise.
13789 (atan2_test): Likewise.
13790 (cabs_test): Likewise.
13791 (cacos_test): Likewise.
13792 (cacosh_test): Likewise.
13793 (casin_test): Likewise.
13794 (casinh_test): Likewise.
13795 (catan_test): Likewise.
13796 (catanh_test): Likewise.
13797 (cbrt_test): Likewise.
13798 (ccos_test): Likewise.
13799 (ccosh_test): Likewise.
13800 (cexp_test): Likewise.
13801 (clog_test): Likewise.
13802 (clog10_test): Likewise.
13803 (cos_test): Likewise.
13804 (cos_test_tonearest): Likewise.
13805 (cos_test_towardzero): Likewise.
13806 (cos_test_downward): Likewise.
13807 (cos_test_upward): Likewise.
13808 (cosh_test): Likewise.
13809 (cosh_test_tonearest): Likewise.
13810 (cosh_test_towardzero): Likewise.
13811 (cosh_test_downward): Likewise.
13812 (cosh_test_upward): Likewise.
13813 (cpow_test): Likewise.
13814 (csin_test): Likewise.
13815 (csinh_test): Likewise.
13816 (csqrt_test): Likewise.
13817 (ctan_test): Likewise.
13818 (ctan_test_tonearest): Likewise.
13819 (ctan_test_towardzero): Likewise.
13820 (ctan_test_downward): Likewise.
13821 (ctan_test_upward): Likewise.
13822 (ctanh_test): Likewise.
13823 (ctanh_test_tonearest): Likewise.
13824 (ctanh_test_towardzero): Likewise.
13825 (ctanh_test_downward): Likewise.
13826 (ctanh_test_upward): Likewise.
13827 (erf_test): Likewise.
13828 (erfc_test): Likewise.
13829 (exp_test): Likewise.
13830 (exp_test_tonearest): Likewise.
13831 (exp_test_towardzero): Likewise.
13832 (exp_test_downward): Likewise.
13833 (exp_test_upward): Likewise.
13834 (exp10_test): Likewise.
13835 (exp2_test): Likewise.
13836 (expm1_test): Likewise.
13837 (fmod_test): Likewise.
13838 (gamma_test): Likewise.
13839 (hypot_test): Likewise.
13840 (j0_test): Likewise.
13841 (j1_test): Likewise.
13842 (jn_test): Likewise.
13843 (lgamma_test): Likewise.
13844 (log_test): Likewise.
13845 (log10_test): Likewise.
13846 (log1p_test): Likewise.
13847 (log2_test): Likewise.
13848 (logb_test_downward): Likewise.
13849 (pow_test): Likewise.
13850 (pow_test_tonearest): Likewise.
13851 (pow_test_towardzero): Likewise.
13852 (pow_test_downward): Likewise.
13853 (pow_test_upward): Likewise.
13854 (remainder_test): Likewise.
13855 (remquo_test): Likewise.
13856 (sin_test): Likewise.
13857 (sin_test_tonearest): Likewise.
13858 (sin_test_towardzero): Likewise.
13859 (sin_test_downward): Likewise.
13860 (sin_test_upward): Likewise.
13861 (sincos_test): Likewise.
13862 (sinh_test): Likewise.
13863 (sinh_test_tonearest): Likewise.
13864 (sinh_test_towardzero): Likewise.
13865 (sinh_test_downward): Likewise.
13866 (sinh_test_upward): Likewise.
13867 (sqrt_test): Likewise.
13868 (tan_test): Likewise.
13869 (tan_test_tonearest): Likewise.
13870 (tan_test_towardzero): Likewise.
13871 (tan_test_downward): Likewise.
13872 (tan_test_upward): Likewise.
13873 (tanh_test): Likewise.
13874 (tgamma_test): Likewise.
13875 (y0_test): Likewise.
13876 (y1_test): Likewise.
13877 (yn_test): Likewise.
13878
323e5cb7
JM
13879 * math/gen-libm-test.pl (adjust_arg): Remove function.
13880 (special_function): Remove argument $in_func. Only handle
13881 generating output for tables of tests, not inside functions.
13882 (parse_args): Likewise.
13883 (generate_testfile): Remove variable $in_func. Update call to
13884 parse_args.
13885 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13886 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13887 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13888 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13889 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13890 (MAX_VALUE_INIT): Rename macro to max_value.
13891 (MIN_VALUE_INIT): Rename macro to min_value.
13892 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13893 (plus_zero): Remove variable.
13894 (minus_zero): Likewise.
13895 (plus_infty): Likewise.
13896 (minus_infty): Likewise.
13897 (qnan_value): Likewise.
13898 (max_value): Likewise.
13899 (min_value): Likewise.
13900 (min_subnorm_value): Likewise.
13901
e054f494
RA
139022013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13903
13904 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13905 uint64_t or uint32_t usage.
13906 * crypt/sha256-block.c: Likewise.
13907 * crypt/sha256-crypt.c: Likewise.
13908 * crypt/sha256.c: Likewise.
13909 * crypt/sha512-block.c: Likewise.
13910 * crypt/sha512-crypt.c: Likewise.
13911 * crypt/sha512.c: Likewise.
13912 * debug/backtrace-tst.c: Likewise.
13913 * debug/pcprofiledump.c: Likewise.
13914 * elf/cache.c: Likewise.
13915 * elf/dl-cache.c: Likewise.
13916 * elf/dl-misc.c: Likewise.
13917 * elf/dl-profile.c: Likewise.
13918 * elf/dl-support.c: Likewise.
13919 * elf/ldconfig.c: Likewise.
13920 * elf/sprof.c: Likewise.
13921 * iconv/dummy-repertoire.c: Likewise.
13922 * iconv/iconv_charmap.c: Likewise.
13923 * iconv/skeleton.c: Likewise.
13924 * iconvdata/8bit-generic.c: Likewise.
13925 * iconvdata/cp737.h: Likewise.
13926 * iconvdata/cp775.h: Likewise.
13927 * iconvdata/ibm1008.h: Likewise.
13928 * iconvdata/ibm1025.h: Likewise.
13929 * iconvdata/ibm1046.h: Likewise.
13930 * iconvdata/ibm1097.h: Likewise.
13931 * iconvdata/ibm1112.h: Likewise.
13932 * iconvdata/ibm1122.h: Likewise.
13933 * iconvdata/ibm1123.h: Likewise.
13934 * iconvdata/ibm1124.h: Likewise.
13935 * iconvdata/ibm1129.h: Likewise.
13936 * iconvdata/ibm1130.h: Likewise.
13937 * iconvdata/ibm1132.h: Likewise.
13938 * iconvdata/ibm1133.h: Likewise.
13939 * iconvdata/ibm1137.h: Likewise.
13940 * iconvdata/ibm1140.h: Likewise.
13941 * iconvdata/ibm1141.h: Likewise.
13942 * iconvdata/ibm1142.h: Likewise.
13943 * iconvdata/ibm1143.h: Likewise.
13944 * iconvdata/ibm1144.h: Likewise.
13945 * iconvdata/ibm1145.h: Likewise.
13946 * iconvdata/ibm1146.h: Likewise.
13947 * iconvdata/ibm1147.h: Likewise.
13948 * iconvdata/ibm1148.h: Likewise.
13949 * iconvdata/ibm1149.h: Likewise.
13950 * iconvdata/ibm1153.h: Likewise.
13951 * iconvdata/ibm1154.h: Likewise.
13952 * iconvdata/ibm1155.h: Likewise.
13953 * iconvdata/ibm1156.h: Likewise.
13954 * iconvdata/ibm1157.h: Likewise.
13955 * iconvdata/ibm1158.h: Likewise.
13956 * iconvdata/ibm1160.h: Likewise.
13957 * iconvdata/ibm1161.h: Likewise.
13958 * iconvdata/ibm1162.h: Likewise.
13959 * iconvdata/ibm1163.h: Likewise.
13960 * iconvdata/ibm1164.h: Likewise.
13961 * iconvdata/ibm1166.h: Likewise.
13962 * iconvdata/ibm1167.h: Likewise.
13963 * iconvdata/ibm12712.h: Likewise.
13964 * iconvdata/ibm1390.h: Likewise.
13965 * iconvdata/ibm1399.h: Likewise.
13966 * iconvdata/ibm16804.h: Likewise.
13967 * iconvdata/ibm4517.h: Likewise.
13968 * iconvdata/ibm4899.h: Likewise.
13969 * iconvdata/ibm4909.h: Likewise.
13970 * iconvdata/ibm4971.h: Likewise.
13971 * iconvdata/ibm5347.h: Likewise.
13972 * iconvdata/ibm803.h: Likewise.
13973 * iconvdata/ibm856.h: Likewise.
13974 * iconvdata/ibm901.h: Likewise.
13975 * iconvdata/ibm902.h: Likewise.
13976 * iconvdata/ibm9030.h: Likewise.
13977 * iconvdata/ibm9066.h: Likewise.
13978 * iconvdata/ibm921.h: Likewise.
13979 * iconvdata/ibm922.h: Likewise.
13980 * iconvdata/ibm9448.h: Likewise.
13981 * iconvdata/isiri-3342.h: Likewise.
13982 * iconvdata/jis0201.h: Likewise.
13983 * include/link.h: Likewise.
13984 * include/netdb.h: Likewise.
13985 * inet/check_native.c: Likewise.
13986 * inet/check_pf.c: Likewise.
13987 * inet/getipv4sourcefilter.c: Likewise.
13988 * inet/getnameinfo.c: Likewise.
13989 * inet/getsourcefilter.c: Likewise.
13990 * inet/htonl.c: Likewise.
13991 * inet/setipv4sourcefilter.c: Likewise.
13992 * inet/setsourcefilter.c: Likewise.
13993 * inet/test-inet6_opt.c: Likewise.
13994 * inet/tst-network.c: Likewise.
13995 * locale/C-collate.c: Likewise.
13996 * locale/C-ctype.c: Likewise.
13997 * locale/C-time.c: Likewise.
13998 * locale/C-translit.h: Likewise.
13999 * locale/loadarchive.c: Likewise.
14000 * locale/programs/3level.h: Likewise.
14001 * locale/programs/charmap.c: Likewise.
14002 * locale/programs/charmap.h: Likewise.
14003 * locale/programs/ld-address.c: Likewise.
14004 * locale/programs/ld-collate.c: Likewise.
14005 * locale/programs/ld-ctype.c: Likewise.
14006 * locale/programs/ld-identification.c: Likewise.
14007 * locale/programs/ld-measurement.c: Likewise.
14008 * locale/programs/ld-messages.c: Likewise.
14009 * locale/programs/ld-monetary.c: Likewise.
14010 * locale/programs/ld-name.c: Likewise.
14011 * locale/programs/ld-numeric.c: Likewise.
14012 * locale/programs/ld-paper.c: Likewise.
14013 * locale/programs/ld-telephone.c: Likewise.
14014 * locale/programs/ld-time.c: Likewise.
14015 * locale/programs/linereader.c: Likewise.
14016 * locale/programs/locale.c: Likewise.
14017 * locale/programs/locarchive.c: Likewise.
14018 * locale/programs/locfile.h: Likewise.
14019 * locale/programs/repertoire.c: Likewise.
14020 * locale/programs/simple-hash.c: Likewise.
14021 * locale/programs/simple-hash.h: Likewise.
14022 * malloc/memusage.c: Likewise.
14023 * malloc/memusagestat.c: Likewise.
14024 * nis/nis_defaults.c: Likewise.
14025 * nis/nis_hash.c: Likewise.
14026 * nis/nis_print.c: Likewise.
14027 * nis/nis_xdr.c: Likewise.
14028 * nscd/connections.c: Likewise.
14029 * nscd/hstcache.c: Likewise.
14030 * nscd/nscd_gethst_r.c: Likewise.
14031 * nscd/nscd_getserv_r.c: Likewise.
14032 * nscd/nscd_helper.c: Likewise.
14033 * nscd/servicescache.c: Likewise.
14034 * nss/makedb.c: Likewise.
14035 * nss/nss_db/db-XXX.c: Likewise.
14036 * nss/nss_db/db-initgroups.c: Likewise.
14037 * nss/nss_db/db-netgrp.c: Likewise.
14038 * nss/nss_files/files-network.c: Likewise.
14039 * nss/nss_files/files-parse.c: Likewise.
14040 * posix/bug-regex5.c: Likewise.
14041 * posix/fnmatch_loop.c: Likewise.
14042 * posix/regcomp.c: Likewise.
14043 * posix/regexec.c: Likewise.
14044 * posix/tst-rfc3484-2.c: Likewise.
14045 * posix/tst-rfc3484-3.c: Likewise.
14046 * posix/tst-rfc3484.c: Likewise.
14047 * resolv/nss_dns/dns-canon.c: Likewise.
14048 * resolv/nss_dns/dns-network.c: Likewise.
14049 * resolv/res_init.c: Likewise.
14050 * resolv/res_mkquery.c: Likewise.
14051 * resolv/tst-aton.c: Likewise.
14052 * stdlib/cxa_atexit.c: Likewise.
14053 * stdlib/cxa_finalize.c: Likewise.
14054 * stdlib/gen-fpioconst.c: Likewise.
14055 * stdlib/strtol_l.c: Likewise.
14056 * string/tst-endian.c: Likewise.
14057 * sunrpc/auth_des.c: Likewise.
14058 * sunrpc/clnt_udp.c: Likewise.
14059 * sunrpc/rtime.c: Likewise.
14060 * sunrpc/svcauth_des.c: Likewise.
14061 * sunrpc/xdr.c: Likewise.
14062 * sunrpc/xdr_intXX_t.c: Likewise.
14063 * sunrpc/xdr_rec.c: Likewise.
14064 * sysdeps/generic/ldconfig.h: Likewise.
14065 * sysdeps/generic/ldsodefs.h: Likewise.
14066 * sysdeps/generic/memusage.h: Likewise.
14067 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14070 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14076 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14077 * sysdeps/posix/getaddrinfo.c: Likewise.
14078 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14079 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14080 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14081 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14082 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14083 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14084 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14085 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14086 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14087 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14088 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14089 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14090 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14091 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14092 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14093 * sysdeps/x86_64/dl-tls.h: Likewise.
14094 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14095 * time/alt_digit.c: Likewise.
14096 * time/era.c: Likewise.
14097 * wcsmbs/tst-c16c32-1.c: Likewise.
14098
8c75f674
JM
140992013-05-16 Joseph Myers <joseph@codesourcery.com>
14100
14101 * math/libm-test.inc (struct test_sincos_data): New type.
14102 (RUN_TEST_LOOP_sincos): New macro.
14103 (sincos_test_data): New variable.
14104 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14105
e6e49e59
RH
141062013-05-16 Richard Henderson <rth@redhat.com>
14107
14108 * math/atest-exp2.c (LIMB64): New macro.
14109 (CONSTSZ): New macro.
14110 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14111 (hexdig): Move ...
14112 (print_mpn_fp): ... to function scope.
14113 (read_mpn_hex): Remove.
14114 (get_log2): Remove.
14115 (exp2_mpn): Use mp_log2.
14116 (main): Use mp_exp1.
14117
15c7c18d
JM
141182013-05-16 Joseph Myers <joseph@codesourcery.com>
14119
105a07df
JM
14120 * math/libm-test.inc: Remove comment about not testing "inexact"
14121 exceptions.
14122 (INEXACT_EXCEPTION): New macro.
14123 (NO_INEXACT_EXCEPTION): Likewise.
14124 (INVALID_EXCEPTION_OK): Update value.
14125 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14126 (OVERFLOW_EXCEPTION_OK): Likewise.
14127 (UNDERFLOW_EXCEPTION_OK): Likewise.
14128 (IGNORE_ZERO_INF_SIGN): Likewise.
14129 (ERRNO_UNCHANGED): Likewise.
14130 (ERRNO_EDOM): Likewise.
14131 (ERRNO_ERANGE): Likewise.
14132 (test_exceptions): Handle testing "inexact" exceptions.
14133 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14134 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14135 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14136 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14137 INEXACT_EXCEPTION.
14138 (rint_towardzero_test_data): Likewise.
14139 (rint_downward_test_data): Likewise.
14140 (rint_upward_test_data): Likewise.
14141
e9eee333
JM
14142 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14143 with OVERFLOW_EXCEPTION.
14144 (exp10_test_data): Likewise.
14145 (exp2_test_data): Likewise.
14146 (expm1_test_data): Likewise.
14147 (lgamma_test_data): Likewise.
14148 (pow_test_data): Likewise.
14149 (tgamma_test_data): Likewise.
14150 (yn_test_data): Remove duplicate test of overflow.
14151
1c38ff73
JM
14152 * math/libm-test.inc (struct test_cc_c_data): New type.
14153 (RUN_TEST_LOOP_cc_c): New macro.
14154 (cpow_test_data): New variable.
14155 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14156
15c7c18d
JM
14157 * math/libm-test.inc (struct test_f_L_data): New type.
14158 (RUN_TEST_LOOP_f_L): New macro.
14159 (llrint_test_data): New variable.
14160 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14161 (llrint_tonearest_test_data): New variable.
14162 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14163 (llrint_towardzero_test_data): New variable.
14164 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14165 (llrint_downward_test_data): New variable.
14166 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14167 (llrint_upward_test_data): New variable.
14168 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14169 (llround_test_data): New variable.
14170 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14171
f137ff13
PC
141722013-05-13 Peter Collingbourne <pcc@google.com>
14173
14174 * math/atest-exp2.c (get_log2): Remove const attribute.
14175
3608cb24
JM
141762013-05-15 Joseph Myers <joseph@codesourcery.com>
14177
14178 * math/libm-test.inc (struct test_f_l_data): New type.
14179 (RUN_TEST_LOOP_f_l): New macro.
14180 (lrint_test_data): New variable.
14181 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14182 (lrint_tonearest_test_data): New variable.
14183 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14184 (lrint_towardzero_test_data): New variable.
14185 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14186 (lrint_downward_test_data): New variable.
14187 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14188 (lrint_upward_test_data): New variable.
14189 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14190 (lround_test_data): New variable.
14191 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14192
39b1f617
PC
141932013-05-15 Peter Collingbourne <pcc@google.com>
14194
1deff3dc
PC
14195 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14196 (EXTRACT_WORDS64) Use where appropriate.
14197 (INSERT_WORDS64) Likewise.
14198
791f3ba0
PC
14199 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14200 constraints with x constraints.
14201 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14202
39b1f617
PC
14203 * malloc/obstack.c (_obstack_compat): Add initializer.
14204
12fba011
EM
142052013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14206
14207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14208 si_trapno and add si_addr_lsb to _sifields.sigfault.
14209 (si_trapno): Remove macro.
14210 (si_addr_lsb): Define new macro.
14211 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14212
d369f531
JM
142132013-05-15 Joseph Myers <joseph@codesourcery.com>
14214
b861c6c4
JM
14215 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14216 instead of TEST_f_l.
14217 (llrint_test_tonearest): Likewise.
14218 (llrint_test_towardzero): Likewise.
14219 (llrint_test_downward): Likewise.
14220 (llrint_test_upward): Likewise.
14221 (llround_test): Likewise.
14222
7abeee12
JM
14223 * math/libm-test.inc (struct test_f_i_data): Add comment.
14224 (RUN_TEST_LOOP_f_b): New macro.
14225 (RUN_TEST_LOOP_f_b_tg): Likewise.
14226 (finite_test_data): New variable.
14227 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14228 (isfinite_test_data): New variable.
14229 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14230 (isinf_test_data): New variable.
14231 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14232 (isnan_test_data): New variable.
14233 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14234 (isnormal_test_data): New variable.
14235 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14236 (issignaling_test_data): New variable.
14237 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14238 (signbit_test_data): New variable.
14239 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14240
cbe8c4d3
JM
14241 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14242 with INVALID_EXCEPTION.
14243 (acosh_test_data): Likewise.
14244 (asin_test_data): Likewise.
14245 (atanh_test_data): Likewise.
14246 (fmod_test_data): Likewise.
14247 (log_test_data): Likewise.
14248 (log10_test_data): Likewise.
14249 (log2_test_data): Likewise.
14250 (pow_test_data): Likewise.
14251 (sqrt_test_data): Likewise.
14252 (y0_test_data): Likewise.
14253 (y1_test_data): Likewise.
14254 (yn_test_data): Likewise.
14255
5575c0e5
JM
14256 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14257 function contents.
14258
d369f531
JM
14259 * math/libm-test.inc (struct test_ff_i_data): New type.
14260 (RUN_TEST_LOOP_ff_i_tg): New macro.
14261 (isgreater_test_data): New variable.
14262 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14263 (isgreaterequal_test_data): New variable.
14264 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14265 (isless_test_data): New variable.
14266 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14267 (islessequal_test_data): New variable.
14268 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14269 (islessgreater_test_data): New variable.
14270 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14271 (isunordered_test_data): New variable.
14272 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14273
781fd748
DM
142742013-05-14 David S. Miller <davem@davemloft.net>
14275
14276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14277
87aa21df
JM
142782013-05-14 Joseph Myers <joseph@codesourcery.com>
14279
5e908270
JM
14280 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14281
f71172e5
JM
14282 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14283 extra_test to int.
14284 (struct test_f_i_data): Change type of max_ulp to int.
14285
8cfa635a
JM
14286 * math/libm-test.inc (test_ffI_f1_data): New type.
14287 (RUN_TEST_LOOP_ffI_f1): New macro.
14288 (remquo_test_data): New variable.
14289 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14290
2bcb36b2
JM
14291 * setjmp/tst-setjmp-fp.c: New file.
14292 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14293 (link-libm): New variable.
14294 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14295
acbd839a
JM
14296 * math/libm-test.inc (struct test_f_i_data): New type.
14297 (RUN_TEST_LOOP_f_i): New macro.
14298 (RUN_TEST_LOOP_f_i_tg): Likewise.
14299 (fpclassify_test_data): New variable.
14300 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14301 (ilogb_test_data): New variable.
14302 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14303
e414d745
JM
14304 * math/libm-test.inc (scalbln_test): Correct function name in END
14305 call.
14306
d9c2a0fd
JM
14307 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14308 (RUN_TEST_LOOP_fI_f1): New macro.
14309 (frexp_test_data): New variable.
14310 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14311
9dc9095d
JM
14312 * math/libm-test.inc (struct test_fF_f1_data): New type.
14313 (RUN_TEST_LOOP_fF_f1): New macro.
14314 (modf_test_data): New variable.
14315 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14316
87aa21df
JM
14317 * math/libm-test.inc (struct test_f_f1_data): New type.
14318 (RUN_TEST_LOOP_f_f1): New macro.
14319 (gamma_test_data): New variable.
14320 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14321 (lgamma_test_data): New variable.
14322 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14323
141af660
CD
143242013-05-13 Carlos O'Donell <carlos@redhat.com>
14325
14326 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14327 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14328 (main): Comment "tls" pseudo-hwcap.
14329
6d33265c
JM
143302013-05-13 Joseph Myers <joseph@codesourcery.com>
14331
68fc074c
JM
14332 * math/libm-test.inc (struct test_fl_f_data): New type.
14333 (RUN_TEST_LOOP_fl_f): New variable.
14334 (scalbln_test_data): New variable.
14335 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14336
243216e1
JM
14337 * math/libm-test.inc (struct test_fi_f_data): New type.
14338 (RUN_TEST_LOOP_fi_f): New macro.
14339 (ldexp_test_data): New variable.
14340 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14341 (scalbn_test_data): New variable.
14342 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14343
6a1992e2
JM
14344 * math/libm-test.inc (struct test_c_f_data): New type.
14345 (RUN_TEST_LOOP_c_f): New macro.
14346 (cabs_test_data): New variable.
14347 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14348 (carg_test_data): New variable.
14349 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14350 (cimag_test_data): New variable.
14351 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14352 (creal_test_data): New variable.
14353 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14354
0e400df5
JM
14355 * math/libm-test.inc (struct test_if_f_data): New type.
14356 (RUN_TEST_LOOP_if_f): New macro.
14357 (jn_test_data): New variable.
14358 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14359 (yn_test_data): New variable.
14360 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14361
6d33265c
JM
14362 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14363
f98ece5f
AZ
143642013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14365
14366 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14367 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14368
0f7d347b
SP
143692013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14370
43fe811b
SP
14371 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14372 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14373 (bench-deps): Add bench-timing.h.
14374 * benchtests-bench-skeleton.c: Include bench-timing.h.
14375 (main): Use TIMING_* macros instead of clock_gettime.
14376 * benchtests/bench-timing.h: New file.
14377
0f7d347b
SP
14378 [BZ #14582]
14379 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14380 Renamed from _LIB_VERSION.
14381 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14382
601a3a5f
JM
143832013-05-12 Joseph Myers <joseph@codesourcery.com>
14384
4f184d30
JM
14385 * math/libm-test.inc (struct test_fff_f_data): New type.
14386 (RUN_TEST_LOOP_fff_f): New macro.
14387 (fma_test_data): New variable.
14388 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14389 (fma_towardzero_test_data): New variable.
14390 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14391 (fma_downward_test_data): New variable.
14392 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14393 (fma_upward_test_data): New variable.
14394 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14395
08198877
JM
14396 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14397 (struct test_c_c_data): New type.
14398 (RUN_TEST_LOOP_c_c): New macro.
14399 (cacos_test_data): New variable.
14400 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14401 (cacosh_test_data): New variable.
14402 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14403 (casin_test_data): New variable.
14404 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14405 (casinh_test_data): New variable.
14406 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14407 (catan_test_data): New variable.
14408 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14409 (catanh_test_data): New variable.
14410 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14411 (ccos_test_data): New variable.
14412 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14413 (ccosh_test_data): New variable.
14414 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14415 (cexp_test_data): New variable.
14416 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14417 (clog_test_data): New variable.
14418 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14419 (clog10_test_data): New variable.
14420 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14421 (conj_test_data): New variable.
14422 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14423 (cproj_test_data): New variable.
14424 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14425 (csin_test_data): New variable.
14426 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14427 (csinh_test_data): New variable.
14428 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14429 (csqrt_test_data): New variable.
14430 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14431 (ctan_test_data): New variable.
14432 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14433 (ctan_tonearest_test_data): New variable.
14434 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14435 (ctan_towardzero_test_data): New variable.
14436 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14437 (ctan_downward_test_data): New variable.
14438 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14439 (ctan_upward_test_data): New variable.
14440 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14441 (ctanh_test_data): New variable.
14442 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14443 (ctanh_tonearest_test_data): New variable.
14444 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14445 (ctanh_towardzero_test_data): New variable.
14446 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14447 (ctanh_downward_test_data): New variable.
14448 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14449 (ctanh_upward_test_data): New variable.
14450 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14451 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14452 of BUILD_COMPLEX.
14453
601a3a5f
JM
14454 * math/libm-test.inc (struct test_ff_f_data): New type.
14455 (struct test_ff_f_data_nexttoward): Likewise.
14456 (RUN_TEST_LOOP_2_f): New macro.
14457 (RUN_TEST_LOOP_ff_f): Likewise.
14458 (atan2_test_data): New variable.
14459 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14460 (copysign_test_data): New variable.
14461 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14462 (fdim_test_data): New variable.
14463 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14464 (fmax_test_data): New variable.
14465 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14466 (fmin_test_data): New variable.
14467 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14468 (fmod_test_data): New variable.
14469 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14470 (hypot_test_data): New variable.
14471 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14472 (nextafter_test_data): New variable.
14473 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14474 (nexttoward_test_data): New variable.
14475 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14476 (pow_test_data): New variable.
14477 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14478 (pow_tonearest_test_data): New variable.
14479 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14480 (pow_towardzero_test_data): New variable.
14481 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14482 (pow_downward_test_data): New variable.
14483 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14484 (pow_upward_test_data): New variable.
14485 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14486 (remainder_test_data): New variable.
14487 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14488 (scalb_test_data): New variable.
14489 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14490 * sysdeps/i386/fpu/libm-test-ulps: Update.
14491
74c57478
JM
144922013-05-11 Joseph Myers <joseph@codesourcery.com>
14493
8329e4da
JM
14494 * math/libm-test.inc (fma_test): Use max_value instead of local
14495 variable fltmax.
14496 (nextafter_test): Likewise.
14497
74c57478
JM
14498 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14499 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14500 (acos_downward_test_data): New variable.
14501 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14502 (acos_upward_test_data): New variable.
14503 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14504 (acosh_test_data): New variable.
14505 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14506 (asin_test_data): New variable.
14507 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14508 (asin_tonearest_test_data): New variable.
14509 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14510 (asin_towardzero_test_data): New variable.
14511 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14512 (asin_downward_test_data): New variable.
14513 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14514 (asin_upward_test_data): New variable.
14515 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14516 (asinh_test_data): New variable.
14517 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14518 (atan_test_data): New variable.
14519 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14520 (atanh_test_data): New variable.
14521 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14522 (cbrt_test_data): New variable.
14523 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14524 (ceil_test_data): New variable.
14525 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14526 (cos_test_data): New variable.
14527 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14528 (cos_tonearest_test_data): New variable.
14529 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14530 (cos_towardzero_test_data): New variable.
14531 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14532 (cos_downward_test_data): New variable.
14533 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14534 (cos_upward_test_data): New variable.
14535 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14536 (cosh_test_data): New variable.
14537 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14538 (cosh_tonearest_test_data): New variable.
14539 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14540 (cosh_towardzero_test_data): New variable.
14541 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14542 (cosh_downward_test_data): New variable.
14543 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14544 (cosh_upward_test_data): New variable.
14545 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14546 (erf_test_data): New variable.
14547 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14548 (erfc_test_data): New variable.
14549 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14550 (exp_test_data): New variable.
14551 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14552 (exp_tonearest_test_data): New variable.
14553 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14554 (exp_towardzero_test_data): New variable.
14555 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14556 (exp_downward_test_data): New variable.
14557 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14558 (exp_upward_test_data): New variable.
14559 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14560 (exp10_test_data): New variable.
14561 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14562 (exp2_test_data): New variable.
14563 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14564 (expm1_test_data): New variable.
14565 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14566 (fabs_test_data): New variable.
14567 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14568 (floor_test_data): New variable.
14569 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14570 (j0_test_data): New variable.
14571 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14572 (j1_test_data): New variable.
14573 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14574 (log_test_data): New variable.
14575 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14576 (log10_test_data): New variable.
14577 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14578 (log1p_test_data): New variable.
14579 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14580 (log2_test_data): New variable.
14581 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14582 (logb_test_data): New variable.
14583 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14584 (logb_downward_test_data): New variable.
14585 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14586 (nearbyint_test_data): New variable.
14587 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14588 (rint_test_data): New variable.
14589 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14590 (rint_tonearest_test_data): New variable.
14591 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14592 (rint_towardzero_test_data): New variable.
14593 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14594 (rint_downward_test_data): New variable.
14595 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14596 (rint_upward_test_data): New variable.
14597 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14598 (round_test_data): New variable.
14599 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14600 (sin_test_data): New variable.
14601 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14602 (sin_tonearest_test_data): New variable.
14603 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14604 (sin_towardzero_test_data): New variable.
14605 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14606 (sin_downward_test_data): New variable.
14607 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14608 (sin_upward_test_data): New variable.
14609 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14610 (sinh_test_data): New variable.
14611 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14612 (sinh_tonearest_test_data): New variable.
14613 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14614 (sinh_towardzero_test_data): New variable.
14615 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14616 (sinh_downward_test_data): New variable.
14617 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14618 (sinh_upward_test_data): New variable.
14619 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14620 (sqrt_test_data): New variable.
14621 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14622 (tan_test_data): New variable.
14623 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14624 (tan_tonearest_test_data): New variable.
14625 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14626 (tan_towardzero_test_data): New variable.
14627 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14628 (tan_downward_test_data): New variable.
14629 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14630 (tan_upward_test_data): New variable.
14631 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14632 (tanh_test_data): New variable.
14633 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14634 (tgamma_test_data): New variable.
14635 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14636 (trunc_test_data): New variable.
14637 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14638 (y0_test_data): New variable.
14639 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14640 (y1_test_data): New variable.
14641 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14642 (significand_test_data): New variable.
14643 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14644
7187d844
CG
146452013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14646
14647 [BZ #12387]
14648 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14649
f63fae73
PT
146502013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14651
14652 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14653
8a67a4b3
AJ
146542013-05-10 Andreas Jaeger <aj@suse.de>
14655
14656 [BZ #15448]
14657 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14658 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14659
51df539d
JM
146602013-05-10 Joseph Myers <joseph@codesourcery.com>
14661
14662 * math/gen-libm-test.pl (adjust_arg): New function.
14663 (special_functions): Handle generating output in both functions
14664 and arrays.
14665 (parse_args): Likewise.
14666 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14667 $in_func argument to parse_args.
14668 * math/libm-test.inc (struct test_f_f_data): New type.
14669 (IF_ROUND_INIT_): New macro.
14670 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14671 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14672 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14673 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14674 (ROUND_RESTORE_): Likewise.
14675 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14676 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14677 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14678 (ROUND_RESTORE_FE_UPWARD): Likewise.
14679 (RUN_TEST_LOOP_f_f): New macro.
14680 (acos_test_data): New variable.
14681 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14682 (acos_tonearest_test_data): New variable.
14683 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14684
5c637fe5
SP
146852013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14686
14687 * benchtests/bench-skeleton.c (startup): Fix coding style.
14688
ab2b9461
JM
146892013-05-10 Joseph Myers <joseph@codesourcery.com>
14690
14691 [BZ #6809]
14692 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14693 negative infinity argument.
14694 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14695 negative infinity argument.
14696 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14697 negative infinity argument.
14698 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14699 domain errors.
14700
4c0fe6fe
FW
147012013-05-10 Florian Weimer <fweimer@redhat.com>
14702
14703 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14704 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14705 * iconv/iconv_prog.c (main): Likewise.
14706 * locale/programs/charmap-dir.c (charmap_readdir)
14707 (fopen_uncompressed): Likewise.
14708 * locale/programs/locfile.c (siblings_uncached)
14709 (write_locale_data): Use lstat64 instead of lstat.
14710 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14711 stat.
14712
a3375d29
AJ
147132013-05-10 Andreas Jaeger <aj@suse.de>
14714
14715 [BZ #15395]
14716 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14717 localization.
14718 Include <locale.h>.
14719
36129722
CD
147202013-05-09 Carlos O'Donell <carlos@redhat.com>
14721
14722 * elf/dl-close.c (_dl_close_worker): Add comments.
14723
faa7f811
JM
147242013-05-09 Joseph Myers <joseph@codesourcery.com>
14725
ed41ffef
JM
14726 [BZ #15359]
14727 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14728 high part of pi/2.
14729 (__ieee754_rem_pio2l): Update comments.
14730
d0213cd0
JM
14731 [BZ #15429]
14732 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14733 high part of pi/2.
14734 (__ieee754_rem_pio2l): Update comments.
14735
0d3e777a
JM
14736 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14737 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14738
24f56066
JM
14739 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14740 M_PI_4l.
14741
faa7f811
JM
14742 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14743 (M_PI_34_LOG10El): Likewise.
14744 (M_PI2_LOG10El): Likewise.
14745 (M_PI4_LOG10El): Likewise.
14746 (M_PI_LOG10El): Likewise.
14747
e9a5e0fd
AZ
147482013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14749
14750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14751
d8cd06db
JM
147522013-05-08 Joseph Myers <joseph@codesourcery.com>
14753
a0d9f9d7
JM
14754 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14755 (MINUS_ZERO_INIT): Likewise.
14756 (PLUS_INFTY_INIT): Likewise.
14757 (MINUS_INFTY_INIT): Likewise.
14758 (QNAN_VALUE_INIT): Likewise.
14759 (MAX_VALUE_INIT): Likewise.
14760 (MIN_VALUE_INIT): Likewise.
14761 (MIN_SUBNORM_VALUE_INIT): Likewise.
14762 (plus_zero): Initialize with PLUS_ZERO_INIT.
14763 (minus_zero): Initialize with MINUS_ZERO_INIT.
14764 (plus_infty): Initialize with PLUS_INFTY_INIT.
14765 (minus_infty): Initialize with MINUS_INFTY_INIT.
14766 (qnan_value): Initialize with QNAN_VALUE_INIT.
14767 (max_value): Initialize with MAX_VALUE_INIT.
14768 (min_value): Initialize with MIN_VALUE_INIT.
14769 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14770
ae08db3b
JM
14771 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14772 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14773 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14774 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14775
f44bf14a
JM
14776 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14777 (RUN_TEST_2_f): Likewise.
14778 (RUN_TEST_ff_f): Likewise.
14779 (RUN_TEST_fi_f): Likewise.
14780 (RUN_TEST_fl_f): Likewise.
14781 (RUN_TEST_fff_f): Likewise.
14782 (RUN_TEST_c_f): Likewise.
14783 (RUN_TEST_f_f1): Likewise.
14784 (RUN_TEST_fF_f1): Likewise.
14785 (RUN_TEST_fI_f1): Likewise.
14786 (RUN_TEST_ffI_f1): Likewise.
14787 (RUN_TEST_c_c): Likewise.
14788 (RUN_TEST_cc_c): Likewise.
14789 (RUN_TEST_f_i): Likewise.
14790 (RUN_TEST_f_i_tg): Likewise.
14791 (RUN_TEST_ff_i_tg): Likewise.
14792 (RUN_TEST_f_b): Likewise.
14793 (RUN_TEST_f_b_tg): Likewise.
14794 (RUN_TEST_f_l): Likewise.
14795 (RUN_TEST_f_L): Likewise.
14796 (RUN_TEST_sincos): Likewise.
14797 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14798 whether to show exceptions. Do not include ");\n" in return
14799 value.
14800 (special_functions): Output call to RUN_TEST_sincos instead of
14801 check_float calls. Update calls to new_test.
14802 (parse_args): Output call to single RUN_TEST_* macro instead of
14803 check_* calls and other assignments. Update calls to new_test.
14804
d8cd06db
JM
14805 [BZ #2546]
14806 [BZ #2560]
14807 [BZ #5159]
14808 [BZ #15426]
14809 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14810 input to result for tgamma overflow.
14811 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14812 (gamma_coeff): New variable.
14813 (NCOEFF): New macro.
14814 (gamma_positive): New function.
14815 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14816 underflow here. Use gamma_positive instead of exp (lgamma) for
14817 other arguments.
14818 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14819 (gamma_coeff): New variable.
14820 (NCOEFF): New macro.
14821 (gammaf_positive): New function.
14822 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14823 underflow here. Use gamma_positive instead of exp (lgamma) for
14824 other arguments.
14825 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14826 (gamma_coeff): New variable.
14827 (NCOEFF): New macro.
14828 (gammal_positive): New function.
14829 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14830 underflow here. Use gamma_positive instead of exp (lgamma) for
14831 other arguments.
14832 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14833 (gamma_coeff): New variable.
14834 (NCOEFF): New macro.
14835 (gammal_positive): New function.
14836 (__ieee754_gammal_r): Handle positive infinity, overflow and
14837 underflow here. Handle NaN the same as positive infinity. Remove
14838 check x < 0xffffffff for negative integers. Use gamma_positive
14839 instead of exp (lgamma) for other arguments.
14840 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14841 (gamma_coeff): New variable.
14842 (NCOEFF): New macro.
14843 (gammal_positive): New function.
14844 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14845 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14846 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14848 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14849 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14850 * sysdeps/generic/math_private.h (__gamma_productf): New
14851 prototype.
14852 (__gamma_product): Likewise.
14853 (__gamma_productl): Likewise.
14854 * math/Makefile (libm-calls): Add gamma_product.
14855 * math/libm-test.inc (tgamma_test): Add more tests.
14856 * sysdeps/i386/fpu/libm-test-ulps: Update.
14857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14858
bb7cf681
OB
148592013-05-08 Ondřej Bílka <neleai@seznam.cz>
14860
14861 * benchtests/bench-skeleton.c (main): Preheat CPU.
14862
ba853947
AJ
148632013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14864
14865 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14866
8347c74c
RM
148672013-05-07 Roland McGrath <roland@hack.frob.com>
14868
14869 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14870 and _dl_skip_args_internal.
14871
e8dd4791
CD
148722013-05-07 Carlos O'Donell <carlos@redhat.com>
14873
14874 * manual/message.texi (Message Translation): Talk about users.
14875 Message to key mapping impacts design.
14876
c7405830
RM
148772013-05-06 Roland McGrath <roland@hack.frob.com>
14878
a9173057
RM
14879 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14880
976e2f03
RM
14881 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14882
9723ffc5
RM
14883 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14884 * sysdeps/wordsize-64/glob64.c: ... here.
14885
962e6658
RM
14886 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14887 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14888 New macros.
14889
ee586a6d
RM
14890 * debug/getlogin_r_chk.c: Moved to ...
14891 * login/getlogin_r_chk.c: ... here.
14892 * debug/Makefile (routines): Move getlogin_r_chk to ...
14893 * login/Makefile (routines): ... here.
14894 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14895 * login/Versions (libc: GLIBC_2.4): ... here.
14896
355f9165
RM
14897 * io/poll.c (__poll): Renamed from poll.
14898 Add libc_hidden_def.
14899 (poll): Define as weak alias.
14900
bd9ffde6
RM
14901 * debug/ptsname_r_chk.c: Moved to ...
14902 * login/ptsname_r_chk.c: ... here.
14903 * debug/Makefile (routines): Move ptsname_r_chk to ...
14904 * login/Makefile (routines): ... here.
14905 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14906 * login/Versions (libc: GLIBC_2.4): ... here.
14907
8fb16a04
RM
14908 * posix/getlogin.c: Moved to ...
14909 * login/getlogin.c: ... here.
14910 * posix/getlogin_r.c: Moved to ...
14911 * login/getlogin_r.c: ... here.
14912 * posix/getlogin_r.c: Moved to ...
14913 * login/getlogin_r.c: ... here.
14914 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14915 * login/Makefile (routines): ... here.
14916 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14917 * login/Versions (libc: GLIBC_2.0): ... here.
14918
b99b892f
RM
14919 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14920 (setrlimit): Define as weak alias.
14921
c7405830
RM
14922 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14923 Call __ names for open, ftruncate, and close.
14924 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14925 (truncate): Define as weak alias.
14926
5bf96de5
JM
149272013-05-06 Joseph Myers <joseph@codesourcery.com>
14928
9ea3513c
JM
14929 * math/gen-libm-test.pl (parse_args): Initialize x before each
14930 test of frexp, modf and remquo.
14931
5bf96de5
JM
14932 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14933 test signgam value.
14934
16e616a7
AZ
149352013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14936
14937 [BZ #15418]
14938 [BZ #15419]
14939 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14940 internal tests.
14941 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14942
d5e82754
RM
149432013-05-06 Roland McGrath <roland@hack.frob.com>
14944
14945 * elf/dl-writev.h: New file.
14946 * elf/dl-misc.c: Include it.
14947 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14948 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14949
a7548d41
JM
149502013-05-04 Joseph Myers <joseph@codesourcery.com>
14951
b7dab1e4
JM
14952 * math/libm-test.inc (noXFails): Remove variable.
14953 (noXPasses): Likewise.
14954 (BUILD_COMPLEX_INT): Remove macro.
14955 (print_screen): Remove xfail argument.
14956 (print_screen_max_error): Likewise.
14957 (update_stats): Likewise.
14958 (print_max_error): Likewise. Update calls to other affected
14959 functions.
14960 (print_complex_max_error): Likewise.
14961 (test_single_exception): Update calls to print_screen.
14962 (test_single_errno): Likewise.
14963 (check_float_internal): Remove xfail argument. Update calls to
14964 other affected functions.
14965 (check_float): Likewise.
14966 (check_complex): Likewise.
14967 (check_int): Likewise.
14968 (check_long): Likewise.
14969 (check_bool): Likewise.
14970 (check_longlong): Likewise.
14971 (main): Don't print noXFails and noXPasses.
14972 * math/gen-libm-test.pl (top level): Don't mention expected
14973 failure handling in comment.
14974 (new_test): Don't handle expected failures.
14975 (parse_args): Don't mention expected failure handling in comment.
14976 (generate_testfile): Don't handle expected failures.
14977 (parse_ulps): Likewise.
14978 (print_ulps_file): Likewise.
14979 (get_failure): Remove function.
14980 (output_test): Don't handle expected failures.
14981 * make/README.libm-test: Don't mention expected failure handling.
14982
a7548d41
JM
14983 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14984 (minus_zero): Likewise.
14985 (plus_infty): Likewise.
14986 (minus_infty): Likewise.
14987 (qnan_value): Likewise.
14988 (max_value): Likewise.
14989 (min_value): Likewise.
14990 (min_subnorm_value): Likewise.
14991 (initialize): Do not initialize those variables dynamically.
14992
60bfd54c
RM
149932013-05-03 Roland McGrath <roland@hack.frob.com>
14994
cc0e6ed8
RM
14995 * io/open.c (__open_2): Moved to ...
14996 * io/open_2.c: ... this new file.
14997 * io/open64.c (__open64_2): Moved to ...
14998 * io/open64_2.c: ... this new file.
14999 * io/openat.c (__openat_2): Moved to ...
15000 * io/openat_2.c: ... this new file.
15001 * io/openat64.c (__openat64_2): Moved to ...
15002 * io/openat64_2.c: ... this new file.
15003 * io/Makefile (routines): Add them.
15004 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15005 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15006 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15007 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15008 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15009 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15010 (__openat64): Add hidden_ver.
15011 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15012 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15013
60bfd54c
RM
15014 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15015 Separately conditionalize setting of GLRO(dl_sysinfo) so
15016 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15017 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15018
83e7640f
AZ
150192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15020
15021 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15022 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15023 definition.
15024 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15025 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15026 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15027 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15028 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15029
d5dc2af3
JM
150302013-05-03 Joseph Myers <joseph@codesourcery.com>
15031
c31a5b1e
JM
15032 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15033 test signgam value.
15034
d5dc2af3
JM
15035 * math/libm-test.inc (hypot_test): Do not use
15036 IGNORE_ZERO_INF_SIGN.
15037
164fd39d
AJ
150382013-05-03 Andreas Jaeger <aj@suse.de>
15039
15040 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15041 Linux 3.9.
15042 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15043 (PF_MAX): Adjust for VSOCK change.
15044
8237f48c
AZ
150452013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15046
15047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15048
9df02941
CD
150492013-05-02 Carlos O'Donell <carlos@redhat.com>
15050
15051 [BZ #15264]
15052 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15053 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15054 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15055
d422395e
DM
150562013-05-02 David S. Miller <davem@davemloft.net>
15057
15058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15059
a07c5731
OB
150602013-05-01 Ondřej Bílka <neleai@seznam.cz>
15061
15062 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15063
1324e37f
RM
150642013-05-01 Roland McGrath <roland@hack.frob.com>
15065
15066 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15067
0695940b
RS
150682013-05-01 Richard Smith <richard@metafoo.co.uk>
15069
bb5f27ad 15070 [BZ #14952]
0695940b
RS
15071 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15072 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15073 Use __attribute__ ((__gnu_inline__)).
15074 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15075 Don't use __attribute__ ((__gnu_inline__)).
15076
10de07f5
JM
150772013-05-01 Joseph Myers <joseph@codesourcery.com>
15078
15079 [BZ #15423]
15080 * math/s_catan.c (__catan): Handle small real or imaginary part of
15081 input specially to avoid spurious underflow.
15082 * math/s_catanf.c (__catanf): Likewise.
15083 * math/s_catanh.c (__catanh): Likewise.
15084 * math/s_catanhf.c (__catanhf): Likewise.
15085 * math/s_catanhl.c (__catanhl): Likewise.
15086 * math/s_catanl.c (__catanl): Likewise.
15087 * math/libm-test.inc (catan_test): Add more tests.
15088 (catanh_test): Likewise.
15089 * sysdeps/i386/fpu/libm-test-ulps: Update.
15090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15091
cb4d5414
AZ
150922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15093
15094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15095
caf84319
JM
150962013-04-30 Joseph Myers <joseph@codesourcery.com>
15097
15098 [BZ #15416]
15099 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15100 accurately for denominator in atan2.
15101 * math/s_catanf.c (__catanf): Likewise.
15102 * math/s_catanh.c (__catanh): Likewise.
15103 * math/s_catanhf.c (__catanhf): Likewise.
15104 * math/s_catanhl.c (__catanhl): Likewise.
15105 * math/s_catanl.c (__catanl): Likewise.
15106 * math/libm-test.inc (catan_test): Add more tests.
15107 (catanh_test): Likewise.
15108 * sysdeps/i386/fpu/libm-test-ulps: Update.
15109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15110
d569c6ee
SP
151112013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15112
6dbe713d
SP
15113 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15114
f0ee064b
SP
15115 * benchtests/Makefile (bench): Remove slow benchmarks.
15116 * benchtests/atan-inputs: Add slow benchmark inputs.
15117 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15118 (BENCH_FUNC): Accept variant offset.
15119 (VARIANT): Define.
15120 * benchtests/bench-skeleton.c (main): Run benchmark for each
15121 variant.
15122 * benchtests/cos-inputs: Add slow benchmark inputs.
15123 * benchtests/exp-inputs: Likewise.
15124 * benchtests/pow-inputs: Likewise.
15125 * benchtests/sin-inputs: Likewise.
15126 * benchtests/slowatan-inputs: Remove.
15127 * benchtests/slowatan.c: Remove.
15128 * benchtests/slowcos-inputs: Remove.
15129 * benchtests/slowcos.c: Remove.
15130 * benchtests/slowexp-inputs: Remove.
15131 * benchtests/slowexp.c: Remove.
15132 * benchtests/slowpow-inputs: Remove.
15133 * benchtests/slowpow.c: Remove.
15134 * benchtests/slowsin-inputs: Remove.
15135 * benchtests/slowsin.c: Remove.
15136 * benchtests/slowtan-inputs: Remove.
15137 * benchtests/slowtan.c: Remove.
15138 * benchtests/tan-inputs: Add slow benchmark inputs.
15139 * scripts/bench.pl: Parse comments and directives.
15140
d569c6ee
SP
15141 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15142 in CPPFLAGS.
15143 ($(objpfx)bench-%.c): Remove *-ITER.
15144 * benchtests/bench-modf.c: Remove definition of ITER.
15145 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15146 (main): Loop for DURATION seconds instead of fixed number of
15147 iterations.
15148 * scripts/bench.pl: Don't expect iterations in parameters.
15149
a6a242fe
RM
151502013-04-29 Roland McGrath <roland@hack.frob.com>
15151
15152 * io/fchdir.c (__fchdir): Renamed from fchdir.
15153 (fchdir): Define as weak alias.
15154
f2da7793
JM
151552013-04-29 Joseph Myers <joseph@codesourcery.com>
15156
15157 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15158 (ERRNO_EDOM): Likewise.
15159 (ERRNO_ERANGE): Likewise.
15160 (noErrnoTests): New variable.
15161 (init_max_error): Set errno to 0.
15162 (test_single_errno): New function.
15163 (test_errno): Likewise.
15164 (check_float_internal): Call test_errno. Set errno to 0.
15165 (check_complex): Refer to errno tests in comment.
15166 (check_int): Call test_errno. Set errno to 0.
15167 (check_long): Likewise.
15168 (check_bool): Likewise.
15169 (check_longlong): Likewise.
15170 (cos_test): Use ERRNO_* flags for errno tests instead of
15171 check_int.
15172 (expm1_test): Likewise.
15173 (fmod_test): Likewise.
15174 (ilogb_test): Likewise.
15175 (lgamma_test): Likewise.
15176 (pow_test): Likewise.
15177 (remainder_test): Likewise.
15178 (sin_test): Likewise.
15179 (tan_test): Likewise.
15180 (yn_test): Likewise.
15181 (initialize): Set errno to 0.
15182 (main): Print number of errno tests.
15183 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15184
b1a36ceb
AJ
151852013-04-29 Andreas Jaeger <aj@suse.de>
15186
c3ed8088
AJ
15187 [BZ #15084]
15188 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15189 and RES_USEVC.
15190
f1a24198
AJ
15191 [BZ #15085]
15192 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15193 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15194 unimplemented.
15195
9ce3b2cb
AJ
15196 [BZ #15380]
15197 * stdlib/random.c (__initstate): Return NULL if
15198 __initstate fails.
15199
f1a24198 15200 [BZ #15086]
b1a36ceb
AJ
15201 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15202 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15203 RES_SNGLKUPREOP.
15204
7e7b6f36
AZ
152052013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15206
15207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15208
4d14f449
JM
152092013-04-29 Joseph Myers <joseph@codesourcery.com>
15210
15211 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15212 of individual tests.
15213 (casin_test): Likewise.
15214 (casinh_test): Likewise.
15215
5b4217d7
JM
152162013-04-27 Joseph Myers <joseph@codesourcery.com>
15217
15218 [BZ #15409]
15219 * math/s_catan.c (__catan): Handle arguments with large real or
15220 imaginary part separately without squaring.
15221 * math/s_catanf.c (__catanf): Likewise.
15222 * math/s_catanh.c (__catanh): Likewise.
15223 * math/s_catanhf.c (__catanhf): Likewise.
15224 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15225 and redefine.
15226 (__catanhl): Handle arguments with large real or imaginary part
15227 separately without squaring.
15228 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15229 and redefine.
15230 (__catanl): Handle arguments with large real or imaginary part
15231 separately without squaring.
15232 * math/libm-test.inc (catan_test): Add more tests.
15233 (catanh_test): Likewise.
15234 * sysdeps/i386/fpu/libm-test-ulps: Update.
15235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15236
4220c3ef
AJ
152372013-04-27 Andreas Jaeger <aj@suse.de>
15238
15239 [BZ #15007]
15240 * stdlib/stdlib.h: Update guards for qecvt.
15241 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15242 <stdlib.h>.
15243
4721b2d1
AM
152442013-04-27 Allan McRae <allan@archlinux.org>
15245
15246 * sysdeps/i386/fpu/libm-test-ulps: Update.
15247
f0302940
JM
152482013-04-26 Joseph Myers <joseph@codesourcery.com>
15249
9457fd95
JM
15250 [BZ #15406]
15251 * math/s_catan.c: Include <float.h>.
15252 (__catan): Ensure underflow exception occurs for underflowed
15253 result.
15254 * math/s_catanf.c: Include <float.h>.
15255 (__catanf): Ensure underflow exception occurs for underflowed
15256 result.
15257 * math/s_catanh.c: Include <float.h>.
15258 (__catanh): Ensure underflow exception occurs for underflowed
15259 result.
15260 * math/s_catanhf.c: Include <float.h>.
15261 (__catanhf): Ensure underflow exception occurs for underflowed
15262 result.
15263 * math/s_catanhl.c: Include <float.h>.
15264 (__catanhl): Ensure underflow exception occurs for underflowed
15265 result.
15266 * math/s_catanl.c: Include <float.h>.
15267 (__catanl): Ensure underflow exception occurs for underflowed
15268 result.
15269 * math/libm-test.inc (catan_test): Add more tests.
15270 (catanh_test): Likewise.
15271
f0302940
JM
15272 [BZ #15405]
15273 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15274 underflowed result.
15275 * math/s_ccoshf.c (__ccoshf): Likewise.
15276 * math/s_ccoshl.c (__ccoshl): Likewise.
15277 * math/s_csin.c (__csin): Likewise.
15278 * math/s_csinf.c (__csinf): Likewise.
15279 * math/s_csinh.c (__csinh): Likewise.
15280 * math/s_csinhf.c (__csinhf): Likewise.
15281 * math/s_csinhl.c (__csinhl): Likewise.
15282 * math/s_csinl.c (__csinl): Likewise.
15283 * math/libm-test.inc (ccos_test): Add more tests.
15284 (ccosh_test): Likewise.
15285 (csin_test): Likewise.
15286 (csinh_test): Likewise.
15287
aa630f59
AZ
152882013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15289
15290 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15291 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15292 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15293 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15294 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15295 powerpc/power5+/fpu folders.
15296 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15297
15298
1b835983
MT
152992013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15300
15301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15302
73709b26
JM
153032013-04-25 Joseph Myers <joseph@codesourcery.com>
15304
15305 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15306 additions to variable.
15307 [$(config-machine) = x86_64] (modules-names): Likewise.
15308 ($(objpfx)tst-audit3): Remove dependency.
15309 ($(objpfx)tst-audit3.out): Likewise.
15310 ($(objpfx)tst-audit4): Likewise.
15311 ($(objpfx)tst-audit4.out): Likewise.
15312 ($(objpfx)tst-audit5): Likewise.
15313 ($(objpfx)tst-audit5.out): Likewise.
15314 ($(objpfx)tst-audit6): Likewise.
15315 ($(objpfx)tst-audit6.out): Likewise.
15316 ($(objpfx)tst-audit7): Likewise.
15317 ($(objpfx)tst-audit7.out): Likewise.
15318 (tst-audit3-ENV): Remove variable.
15319 (tst-audit4-ENV): Likewise.
15320 (tst-audit5-ENV): Likewise.
15321 (tst-audit6-ENV): Likewise.
15322 (tst-audit7-ENV): Likewise.
15323 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15324 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15325 addition to variable.
15326 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15327 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15328 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15329 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15330 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15331 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15332 tst-audit3, tst-audit4 and tst-audit5.
15333 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15334 tst-audit6 and tst-audit7.
15335 [$(subdir) = elf] (modules-names): Add audit modules for those
15336 tests.
15337 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15338 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15339 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15340 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15341 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15342 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15343 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15344 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15345 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15346 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15347 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15348 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15349 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15350 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15351 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15352 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15353 Likewise.
15354 [$(subdir) = elf && $(config-cflags-avx) = yes]
15355 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15356 [$(subdir) = elf && $(config-cflags-avx) = yes]
15357 (CFLAGS-tst-auditmod4a.c): Likewise.
15358 [$(subdir) = elf && $(config-cflags-avx) = yes]
15359 (CFLAGS-tst-auditmod4b.c): Likewise.
15360 [$(subdir) = elf && $(config-cflags-avx) = yes]
15361 (CFLAGS-tst-auditmod6b.c): Likewise.
15362 [$(subdir) = elf && $(config-cflags-avx) = yes]
15363 (CFLAGS-tst-auditmod6c.c): Likewise.
15364 [$(subdir) = elf && $(config-cflags-avx) = yes]
15365 (CFLAGS-tst-auditmod7b.c): Likewise.
15366 * elf/tst-audit3.c: Move to ...
15367 * sysdeps/x86_64/tst-audit3.c: ... here.
15368 * elf/tst-audit4.c: Move to ...
15369 * sysdeps/x86_64/tst-audit4.c: ... here.
15370 * elf/tst-audit5.c: Move to ...
15371 * sysdeps/x86_64/tst-audit5.c: ... here.
15372 * elf/tst-audit6.c: Move to ...
15373 * sysdeps/x86_64/tst-audit6.c: ... here.
15374 * elf/tst-audit7.c: Move to ...
15375 * sysdeps/x86_64/tst-audit7.c: ... here.
15376 * elf/tst-auditmod3a.c: Move to ...
15377 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15378 * elf/tst-auditmod3b.c: Move to ...
15379 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15380 * elf/tst-auditmod4a.c: Move to ...
15381 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15382 * elf/tst-auditmod4b.c: Move to ...
15383 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15384 * elf/tst-auditmod5a.c: Move to ...
15385 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15386 * elf/tst-auditmod5b.c: Move to ...
15387 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15388 * elf/tst-auditmod6a.c: Move to ...
15389 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15390 * elf/tst-auditmod6b.c: Move to ...
15391 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15392 * elf/tst-auditmod6c.c: Move to ...
15393 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15394 * elf/tst-auditmod7a.c: Move to ...
15395 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15396 * elf/tst-auditmod7b.c: Move to ...
15397 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15398
1ef74943
PP
153992013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15400
15401 [BZ #15366]
15402 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15403 define unconditionally.
15404 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15405 define unconditionally.
15406 (INT8_C, INT16_C, etc.): Likewise.
15407
93fd48c5
MR
154082013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15409
ae9552cf
MR
15410 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15411 __ehdr_start with hidden visibility.
15412
93fd48c5
MR
15413 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15414
418601aa
CD
154152013-04-24 Carlos O'Donell <carlos@redhat.com>
15416
15417 * math/libm-test.inc (cos_test): Use accurate hex constants.
15418 (sincost_test): Likewise.
15419
2f38fbfe
JM
154202013-04-24 Joseph Myers <joseph@codesourcery.com>
15421
5e221800
JM
15422 * math/libm-test.inc (catan_test): Add more tests.
15423 (catanh_test): Likewise.
15424
77f143fd
JM
15425 * math/s_catanf.c (__catanf): Use suffixed floating-point
15426 constants.
15427 * math/s_catanhf.c (__catanhf): Likewise.
15428 * math/s_catanhl.c (__catanhl): Likewise.
15429 * math/s_catanl.c (__catanl): Likewise.
15430
2f38fbfe
JM
15431 [BZ #15394]
15432 * math/s_catan.c (__catan): Calculate imaginary part of result
15433 with log1p not log unless computing log of number close to 0.
15434 * math/s_catanf.c (__catanf): Likewise.
15435 * math/s_catanl.c (__catanl): Likewise.
15436 * math/s_catanh.c (__catanh): Calculate real part of result with
15437 log1p not log unless computing log of number close to 0.
15438 * math/s_catanhf.c (__catanhf): Likewise.
15439 * math/s_catanhl.c (__catanhl): Likewise.
15440 * math/libm-test.inc (catan_test): Add more tests.
15441 (catanh_test): Likewise.
15442 * sysdeps/i386/fpu/libm-test-ulps: Update.
15443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15444
45d69176
SP
154452013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15446
15447 * benchtests/Makefile: Mention files in which fast and slow
15448 paths of math functions are implemented.
15449
87f51853
RM
154502013-04-23 Roland McGrath <roland@hack.frob.com>
15451
15452 * sysdeps/posix/timespec_get.c: New file.
15453
3c026539
AZ
154542013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15455
15456 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15457 POWER.
15458 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15459 for POWER.
15460 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15461 powerpc/power5/fpu folders.
15462 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15463 * benchtests/Makefile: Add modf testcase.
15464 * benchtests/bench-modf.c: New file: Benchmark test for mo
15465
ff491d14
SP
154662013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15467
15468 [BZ #14888]
15469 * time/Makefile (tests): Add tst-strptime-whitespace.
15470 * time/strptime_l.c (get_number): Use ISSPACE.
15471 (__strptime_internal): Likewise.
15472 * time/tst-strptime-whitespace.c: New test case.
15473
7ed3f4e8
AS
154742013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15475
15476 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15477 member.
15478 (_nss_files_init): Set it here.
15479
5c95f7b6
HC
154802013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15481
15482 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15483 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15484 unsigned.
15485
d34c9158
JBG
154862013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15487
15488 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15489
2169712d
SP
154902013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15491
15492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15493 size just once.
15494
29c5de99
DM
154952013-04-21 David S. Miller <davem@davemloft.net>
15496
15497 * po/ru.po: Update Russion translation from translation project.
15498
ccdad15d
AC
154992013-04-17 Adam Conrad <adconrad@0c3.net>
15500
15501 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15502 and setfsgid.
15503
0f122b8d
CD
155042013-04-17 Carlos O'Donell <carlos@redhat.com>
15505
5c5b07da 15506 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15507 * configure: Regenerate.
5c5b07da 15508 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15509 Add example to error message.
15510 * sysdeps/i386/configure: Regenerate.
15511
037714dd
SP
155122013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15513
15514 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15515 slowtan.
15516 * benchtests/cos-inputs: New file.
15517 * benchtests/slowcos-inputs: New file.
15518 * benchtests/slowcos.c: New file.
15519 * benchtests/slowtan-inputs: New file.
15520 * benchtests/slowtan.c: New file.
15521 * benchtests/tan-inputs: New file.
15522
e913141d
RM
155232013-04-16 Roland McGrath <roland@hack.frob.com>
15524
15525 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15526 considered kosher.
15527
a2964074
SP
155282013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15529
4856bcd2
SP
15530 * benchtests/Makefile: Include cppflags-iterator.mk to add
15531 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15532
a2964074
SP
15533 * Makefile.in (bench-clean): New target.
15534 * benchtests/Makefile (bench-clean): Likewise.
15535
9fbf9aca
DH
155362013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15537
15538 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15539
207d1e2a
TS
155402013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15541
15542 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15543
306dfba9
AS
155442013-04-15 Andreas Schwab <schwab@suse.de>
15545
15546 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15547 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15548 * nscd/pwdcache.c (cache_addpw): Likewise.
15549 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15550 more than recsize.
15551
206a6699
SP
155522013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15553
15554 * benchtests/Makefile (bench): Write all output to
15555 bench-out.tmp together.
15556
0582f6b3
AS
155572013-04-15 Andreas Schwab <schwab@suse.de>
15558
15559 * nscd/nscd.c (main): Don't fork again after closing files.
15560
acb4325f
SP
155612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15562
5cb26d0a
SP
15563 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15564
acb4325f
SP
15565 * benchtests/Rules (bench-deps): Collect dependencies into a
15566 single variable. Add Makefile to dependencies.
15567 ($(objpfx)bench-%.c): Depend on bench-deps.
15568
47792506
RM
155692013-04-12 Roland McGrath <roland@hack.frob.com>
15570 Xavier Roche <roche+kml2@exalead.com>
15571
15572 [BZ #15361]
15573 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15574 just that it's a file descriptor.
15575 * manual/llio.texi (Synchronizing AIO Operations): Update description
15576 for EBADF error from aio_fsync.
15577
8fc1bee5
SP
155782013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15579
15580 * Rules (bench): Move target definition...
15581 * benchtests/Makefile: ... here.
15582
aba5e333
CD
155832013-04-11 Carlos O'Donell <carlos@redhat.com>
15584
15585 * math/libm-test.inc (cos_test): Fix PI/2 test.
15586 (sincos_test): Likewise.
15587 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15588 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15589
273cdee8
AS
155902013-04-11 Andreas Schwab <schwab@suse.de>
15591
6ecec3b6
AS
15592 [BZ #13988]
15593 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15594 accept exponent character only when digits were seen.
15595 * stdio-common/Makefile (tests): Add bug26.
15596 * stdio-common/bug26.c: New file.
15597
273cdee8
AS
15598 [BZ #14293]
15599 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15600 non-freeable.
15601
8da491f5
SP
156022013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15603
01dc6df9
SP
15604 * Makeconfig (rtld-prefix): Define built linker prefix.
15605 * Rules (run-bench): Use it.
15606 * math/Makefile (run-regen-ulps): Likewise.
15607
8da491f5
SP
15608 * Rules (bench): Remove eval.
15609
abe7f530
SP
156102013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15611 Roland McGrath <roland@hack.frob.com>
15612 Ondrej Bilka <neleai@seznam.cz>
15613
15614 [BZ #15346]
15615 * time/getdate.c: Include ctype.h and alloca.h.
15616 (__getdate_r): Trim leading and trailing spaces of input.
15617 * time/tst-getdate.c (tests): Add tests with leading and
15618 trailing spaces.
15619
61c23e62
RM
156202013-04-08 Roland McGrath <roland@hack.frob.com>
15621
15622 [BZ #14280]
15623 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15624 when computing value.
15625
7208a313
CD
156262013-04-06 Carlos O'Donell <carlos@redhat.com>
15627
085b2d41
CD
15628 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15629 Use testrun.sh to run libm tests.
15630
7208a313
CD
15631 [BZ #15309]
15632 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15633
872c0acd
MM
156342013-04-06 Marko Myllynen <myllynen@redhat.com>
15635
15636 [BZ #15264]
15637 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15638
26510bdd
CD
156392013-04-06 Carlos O'Donell <carlos@redhat.com>
15640
15641 * Makefile.in (regen-ulps): New target.
15642 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15643 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15644 [ifneq (no,$(PERL)] (regen-ulps): New target.
15645 [ifeq (no,$(PERL)] (regen-ulps): New target.
15646 * math/libm-test.inc (ulps_file_name): Define.
15647 (output_dir): New variable.
15648 (options): Add "output-dir" option.
15649 (parse_opt): Handle 'o' case.
15650 (main): If output_dir is non-NULL use it as a prefix
15651 otherwise use "".
15652 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15653
a01f19c8
CD
156542013-04-06 Carlos O'Donell <carlos@redhat.com>
15655
15656 [BZ #10060, #10062]
15657 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15658 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15659 fail configure if __sync_val_compare_and_swap is not inlined.
15660 * sysdeps/i386/configure: Regenerate.
15661 * configure.in: Build for i686 when configured for i386.
15662 * configure: Regenerate.
15663 * README: Remove i386 reference.
15664
b7a329a5
CD
156652013-04-06 Carlos O'Donell <carlos@redhat.com>
15666
15667 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15668 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15669
bf0f50df
TS
156702013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15671
ee091edf
TS
15672 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15673 (lmsnanval): New variables.
15674 (F): Add conversion tests.
15675 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15676 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15677
a8b792d6
TS
15678 * stdio-common/tstdiomisc.c (F): Properly collect individual
15679 tests' results.
15680
a1cbf437
TS
15681 [BZ #14686, #15336]
15682 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15683 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15684 Instead, use input NaN values or generate a qNaN by arithmetic
15685 operation. Also fix bugs to comply with the standard.
15686 * math/libm-test.inc (remainder_test): Add more tests.
15687
8b43a0c9
TS
15688 [BZ #15335, #15342]
15689 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15691 input NaN values or generate a qNaN by arithmetic operation.
15692
d91da4ce
TS
15693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15694 unreachable code.
15695
bf0f50df
TS
15696 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15697 definitions.
15698
05e166c8
JM
156992013-04-03 Joseph Myers <joseph@codesourcery.com>
15700
15701 [BZ #14478]
15702 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15703 underflowed result.
15704 * math/s_cexpf.c (__cexpf): Likewise.
15705 * math/s_cexpl.c (__cexpl): Likewise.
15706 * math/libm-test.inc (cexp_test): Add more tests.
15707
1cef1b19
AS
157082013-04-03 Andreas Schwab <schwab@suse.de>
15709
15710 [BZ #15330]
15711 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15712 order arrays from heap if bigger than alloca cutoff.
15713
74d87055
TS
157142013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15715
15716 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15717 (SNAN_TESTS_double): Refer to GCC PR56831.
15718 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15719 GCC PR56828.
15720
d755bba4
SP
157212013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15722
90d5d5bb
SP
15723 * Rules (bench): Move bench.out after the run is complete.
15724
73e0cd5d
SP
15725 * Rules (bench): Echo currently running benchmark.
15726
64aabd4b
SP
15727 * benchtests/Makefile (bench): Add atan and slowatan.
15728 * benchtests/atan-inputs: New file.
15729 * benchtests/slowatan-inputs: New file.
15730 * benchtests/slowatan.c: New file.
15731
c871eccd
SP
15732 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15734 its value.
15735
d755bba4
SP
15736 [BZ #15305]
15737 * sysdeps/unix/sysv/linux/kernel-features.h
15738 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15739 __ASSUME_XFS_RESTRICTED_CHOWN.
15740 * sysdeps/unix/sysv/linux/pathconf.c
15741 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15742 Save and restore errno.
15743
52ce4860
JM
157442013-04-02 Joseph Myers <joseph@codesourcery.com>
15745
15746 [BZ #15327]
15747 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15748 arguments using __kernel_casinh.
15749 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15750 arguments using __kernel_casinhf.
15751 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15752 arguments using __kernel_casinhl.
15753 * math/libm-test.inc (cacosh_test): Add more tests.
15754 * sysdeps/i386/fpu/libm-test-ulps: Update.
15755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15756
81f311c2
SP
157572013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15758
e7906a47
SP
15759 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15761
92e3664b
SP
15762 * bench/Makefile (bench): Add sin and slowsin.
15763 * benchtests/sin-inputs: New file.
15764 * benchtests/slowsin-inputs: New file.
15765 * benchtests/slowsin.c: New file.
15766
81f311c2
SP
15767 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15768 (bench): Add slowexp and slowpow.
15769 (exp-ITER): Increase iterations.
15770 (pow-ITER): Likewise.
15771 * benchtests/exp-inputs: Change input.
15772 * benchtests/pow-inputs: Likewise.
15773 * benchtests/slowexp-inputs: New file.
15774 * benchtests/slowexp.c: New file.
15775 * benchtests/slowpow-inputs: New file.
15776 * benchtests/slowpow.c: New file.
15777
ab0f1aa9
AZ
157782013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15779
15780 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15781 instructions.
15782 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15783 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15784 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15785 * benchtests/Makefile: Add rint benchtest.
15786 * benchtests/rint-inputs: Input for rint benchtest.
15787
57267616
TS
157882013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15789
15790 * Versions.def (libm): Add GLIBC_2.18.
15791 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15792 hidden libm prototypes.
15793 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15794 * math/Makefile (libm-calls): Add s_issignaling.
15795 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15796 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15797 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15798 declaration.
15799 * math/math.h [__USE_GNU] (issignaling): New macro.
15800 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15801 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15803 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15806 * manual/arith.texi (issignaling): New section.
15807 * manual/libm-err-tab.pl (@all_functions): Update comment.
15808 * math/gen-libm-test.pl (parse_args): Apply special handling for
15809 issignaling.
15810 * math/libm-test.inc (print_float, issignaling_test): New
15811 functions.
15812 (check_float_internal): Add issignaling checks.
15813 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15814 default definition.
15815 * sysdeps/powerpc/math-tests.h: New file.
15816 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15817 tests.
15818 * math/test-snan.c (TEST_FUNC): Likewise.
15819
6142896d
DM
158202013-03-30 David S. Miller <davem@davemloft.net>
15821
15822 * po/de.po: Update from translation team.
15823
ccc8cadf
JM
158242013-03-30 Joseph Myers <joseph@codesourcery.com>
15825
15826 [BZ #10357]
15827 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15828 imaginary part less than 1.0 and real part less than 0.5
15829 specially.
15830 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15831 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15832 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15833 (cacos_test): Add more tests.
15834 (casin_test): Likewise.
15835 (casinh_test): Likewise.
15836 * sysdeps/i386/fpu/libm-test-ulps: Update.
15837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15838
0f6a8d4b
SP
158392013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15840
0d1029de
SP
15841 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15842 ONE with its value.
15843
c2d94018
SP
15844 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15845 (__pow_mp): Replace ONE and MONE with their values.
15846 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15847 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15848 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15849 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15850 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15851 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15852
27ec37f1
SP
15853 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15854
a64d7e0e
SP
15855 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15856 (__pow_mp): Replace ZERO and MZERO with their values.
15857 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15859 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15861 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15862 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15863 (__sqr): Likewise.
15864
d26dd3eb
SP
15865 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15866
0f6a8d4b
SP
15867 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15868
e57b0c61
RM
158692013-03-28 Roland McGrath <roland@hack.frob.com>
15870
15871 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15872 Declare with __attribute__ ((weak)).
15873 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15874 Call __call_tls_dtors only if it's not NULL.
15875
356b3480
RM
158762013-03-28 Roland McGrath <roland@hack.frob.com>
15877
288f7d79
RM
15878 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15879 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15880 magic __ehdr_start linker symbol if it's defined.
15881 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15882 them up here if it was already done.
15883
dc0a0263
RM
15884 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15885 (_dl_aux_init): Use const in cast when setting it.
15886 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15887 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15888 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15889
3d3436ae
RM
15890 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15891 Declare them here.
15892 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15893 * csu/libc-tls.c: Nor here.
15894 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15895
356b3480
RM
15896 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15897 (__libc_message): Never call vsyslog.
15898
b0f1246a
AM
158992013-03-28 Alan Modra <amodra@gmail.com>
15900
15901 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15902 Define as empty.
15903 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15904 Likewise.
15905
fbbe2b9a
AZ
159062013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15907
15908 [BZ #15214]
15909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15910 underflow.
15911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15912
1728ab37
SP
159132013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15914
7a86be6e
SP
15915 [BZ #15304]
15916 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15917 Don't add gid passed as argument.
15918
1728ab37
SP
15919 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15920
3a7182a1
JM
159212013-03-27 Joseph Myers <joseph@codesourcery.com>
15922
15923 [BZ #15307]
15924 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15925 imaginary part between 1.0 and 1.5 and real part less than 0.5
15926 specially.
15927 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15928 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15929 * math/libm-test.inc (cacos_test): Add more tests.
15930 (casin_test): Likewise.
15931 (casinh_test): Likewise.
15932 * sysdeps/i386/fpu/libm-test-ulps: Update.
15933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15934
6f2e90e7
SP
159352013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15936
5739f705
SP
15937 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15938 constants.
15939 (norm): Likewise.
15940 (denorm): Likewise.
15941 (__dbl_mp): Likewise.
15942 (add_magnitudes): Likewise.
15943 (sub_magnitudes): Likewise.
15944 (__add): Likewise.
15945 (__sub): Likewise.
15946 (__mul): Likewise.
15947 (__sqr): Likewise.
15948 (__inv): Likewise.
15949 (__dvd): Likewise.
15950
e375e83d
SP
15951 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15952 commented code.
15953 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15954 (__dubcos): Likewise.
15955 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15956 (__ieee754_acos): Likewise.
15957 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15958 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15959 (__exp1): Likewise.
15960 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15962 (log1): Likewise.
15963 (my_log2): Likewise.
15964 (checkint): Likewise.
15965 * sysdeps/ieee754/dbl-64/e_remainder.c
15966 (__ieee754_remainder): Likewise.
15967 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15969 (bsloww): Likewise.
15970 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15971
6f2e90e7
SP
15972 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15973 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15974 MANTISSA_STORE_T to store computations on mantissa. Use
15975 macros for rounding and division.
15976 (denorm): Likewise.
15977 (__dbl_mp): Likewise.
15978 (add_magnitudes): Likewise.
15979 (sub_magnitudes): Likewise.
15980 (__mul): Likewise.
15981 (__sqr): Likewise.
15982 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15983 powers of two in terms of TWOPOW macro.
15984 (mp_no): Make type of mantissa as MANTISSA_T.
15985 [!RADIXI]: Define RADIXI.
15986 [!TWO52]: Define TWO52.
15987 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15988
fce14d4e
AZ
159892013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15990
15991 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15992 llroundl symbol when building for PPC32.
15993
9ad027fb
MW
159942013-03-24 Mark H Weaver <mhw@netris.org>
15995
15996 * manual/arith.texi (Normalization Functions): Fix prototypes for
15997 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15998
e42a38dd
AZ
159992013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16000
16001 [BZ #13889]
16002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16003 high value to check if expl overflow.
16004 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16005 to check for underflow and overflow.
16006 * math/libm-test.inc: Add exp test.
16007
2e0fb521
DL
160082013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16009
16010 [BZ #11120]
16011 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16012 with NOT_IN_libc.
16013
b5784d95
AZ
160142013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16015
16016 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16017 symbol.
16018
5aa4a1a1
TS
160192013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16020
bdef0be7
TS
16021 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16022 wrap blocks consisting of several statements.
16023
5aa4a1a1
TS
16024 * sysdeps/generic/math-tests.h: New file.
16025 * sysdeps/i386/fpu/math-tests.h: Likewise.
16026 * math/test-snan.c: Include it.
16027 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16028
98c48fe5
JM
160292013-03-21 Joseph Myers <joseph@codesourcery.com>
16030
16031 [BZ #15285]
16032 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16033 (__ieee754_j0l): Do not improve calculations using cos of twice
16034 input for inputs above LDBL_MAX / 2.0L.
16035 (__ieee754_y0l): Likewise.
16036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16037 (__ieee754_j1l): Do not improve calculations using cos of twice
16038 input for inputs above LDBL_MAX / 2.0L.
16039 (__ieee754_y1l): Likewise.
16040 * math/libm-test.inc (j0_test): Add another test.
16041 (j1_test): Likewise.
16042 (y0_test): Likewise.
16043 (y1_test): Likewise.
16044 * sysdeps/i386/fpu/libm-test-ulps: Update.
16045
3775a8bc
SP
160462013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16047
16048 * Rules ($(objpfx)bench-%.c): Include code from a C source
16049 file.
16050
0a1b2ae6
JM
160512013-03-21 Joseph Myers <joseph@codesourcery.com>
16052
16053 [BZ #15287]
16054 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16055 imaginary part 1.0 and real part less than 0.5 specially.
16056 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16057 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16058 * math/libm-test.inc (cacos_test): Add more tests.
16059 (casin_test): Likewise.
16060 (casinh_test): Likewise.
16061 * sysdeps/i386/fpu/libm-test-ulps: Update.
16062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16063
b33d4ce4
SP
160642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16065
16066 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16067 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16068
bef0b507
JM
160692013-03-20 Joseph Myers <joseph@codesourcery.com>
16070
16071 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16072 * config.make.in (config-cflags-sse4): Remove variable.
16073 (config-cflags-avx): Likewise.
16074 (config-cflags-sse2avx): Likewise.
16075 (config-cflags-novzeroupper): Likewise.
16076 (config-asflags-i686): Likewise.
16077 (have-mfma4): Likewise.
16078 (have-as-vis3): Likewise.
16079 (MIG): Likewise.
16080 * configure.in (MIG): Do not AC_SUBST.
16081 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16082 (libc_cv_cc_sse4): Do not AC_SUBST.
16083 (libc_cv_cc_avx): Likewise.
16084 (libc_cv_cc_sse2avx): Likewise.
16085 (libc_cv_cc_novzeroupper): Likewise.
16086 (libc_cv_cc_fma4): Likewise.
16087 (libc_cv_as_i686): Likewise.
16088 (libc_cv_sparc_as_vis3): Likewise.
16089 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16090 LIBC_CONFIG_VAR.
16091 (config-asflags-i686): Likewise.
16092 (config-cflags-avx): Likewise.
16093 (config-cflags-sse2avx): Likewise.
16094 (have-mfma4): Likewise.
16095 (config-cflags-novzeroupper): Likewise.
16096 * sysdeps/mach/configure.in (MIG): Likewise.
16097 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16098 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16099 LIBC_CONFIG_VAR.
16100 (config-cflags-avx): Likewise.
16101 (config-cflags-sse2avx): Likewise.
16102 (have-mfma4): Likewise.
16103 (config-cflags-novzeroupper): Likewise.
16104 * configure: Regenerated.
16105 * sysdeps/i386/configure: Likewise.
16106 * sysdeps/mach/configure: Likewise.
16107 * sysdeps/sparc/configure: Likewise.
16108 * sysdeps/x86_64/configure: Likewise.
16109
912cc4b3
RM
161102013-03-20 Roland McGrath <roland@hack.frob.com>
16111
16112 [BZ #14812]
16113 * locale/programs/localedef.c (options): Put N_ translation marker
16114 on argument names, not just descriptions.
16115
04eed2b0
MS
161162013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16117
16118 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16119
a065ceff
OB
161202013-03-20 Ondřej Bílka <neleai@seznam.cz>
16121
9bb2a810 16122 [BZ #14176]
a065ceff
OB
16123 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16124
a600e5ce
RM
161252013-03-19 Roland McGrath <roland@hack.frob.com>
16126
16127 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16128 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16129 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16130 [!BEFORE_ABORT] (before_abort): New function.
16131 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16132 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16133 (writev_for_fatal): New function.
16134 (WRITEV_FOR_FATAL): New macro; call that.
16135 (backtrace_and_maps): New function.
16136 (BEFORE_ABORT): New macro; call that.
16137 (struct str_list): Type removed.
16138 (__libc_message, __libc_fatal): Functions removed.
16139 Include <sysdeps/posix/libc_fatal.c> instead.
16140
6b18bea6
JM
161412013-03-19 Joseph Myers <joseph@codesourcery.com>
16142
16143 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16144 constants.
16145 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16146 double constants.
16147
aaa8cb4b
AS
161482013-03-19 Andreas Schwab <schwab@suse.de>
16149
44673770
AS
16150 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16151 * sysdeps/gnu/configure: Regenerate.
16152
aaa8cb4b
AS
16153 * configure.in: Substitute libc_cv_rtlddir.
16154 * configure: Regenerate.
16155 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16156 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16157 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16158 * elf/Makefile (install-others, CFLAGS-interp.c)
16159 (ldso_install, common-ldd-rewrite): Likewise.
16160 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16161 $(inst_slibdir)/$(rtld-installed-name).
16162 * scripts/rellns-sh: Add -p option.
16163 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16164 for source.
16165
d3cfc668
SP
161662013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16167
16168 * manual/nptl.texi: Renamed to ...
16169 * manual/threads.texi: ... this.
16170 * manual/Makefile (chapters): Update.
16171
0e2b9cdd
RM
161722013-03-18 Roland McGrath <roland@hack.frob.com>
16173
16174 [BZ #14812]
16175 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16176 on argument names, not just descriptions.
0e2b9cdd
RM
16177 * malloc/memusagestat.c (options): Likewise.
16178 * nss/getent.c (options): Likewise.
63270c24
RM
16179
161802013-03-18 Benno Schulenberg <bensberg@justemail.net>
16181
16182 [BZ #14812]
16183 * iconv/iconv_prog.c (options): Put N_ translation marker
16184 on argument names, not just descriptions.
16185 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16186
b2e1393c
OB
161872013-03-18 Ondrej Bilka <neleai@seznam.cz>
16188
16189 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16190 implementation which is faster on all x86_64 architectures.
16191 Tested on AMD, Intel Nehalem, SNB, IVB.
16192 * sysdeps/x86_64/strnlen.S: Likewise.
16193
16194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16195 Remove all multiarch strlen and strnlen versions.
16196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16197 Remove strlen and strnlen related parts.
16198
16199 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16200 Inline strlen part.
16201 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16202
16203 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16204 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16205 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16206 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16207 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16208 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16209
ec4ff04d
CD
162102013-03-17 Carlos O'Donell <carlos@redhat.com>
16211
16212 * manual/memory.texi (Malloc Tunable Parameters):
16213 Sort parameters alphabetically. Add comments for missing entries.
16214
cd18e90a
DM
162152013-03-17 David S. Miller <davem@davemloft.net>
16216
16217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16218
2a185d32
JM
162192013-03-16 Joseph Myers <joseph@codesourcery.com>
16220
d2f9799e
JM
16221 [BZ #15283]
16222 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16223 for arguments at most half maximum finite value.
16224 * math/libm-test.inc (j0_test): Add more tests.
16225 (j1_test): Likewise.
16226 (y0_test): Likewise.
16227 (y1_test): Likewise.
16228 * sysdeps/i386/fpu/libm-test-ulps: Update.
16229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16230
2a185d32
JM
16231 [BZ #14155]
16232 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16233 1 / x and functions P and Q for arguments above 0x1p256L.
16234 (__ieee754_y0l): Likewise.
16235 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16236 (__ieee754_y1l): Likewise.
16237 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16238 (j1_test): Likewise.
16239 (y0_test): Likewise.
16240 (y1_test): Likewise.
16241
6cbec759
TS
162422013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16243
16244 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16245 variable.
16246
bc16e260
RM
162472013-03-15 Roland McGrath <roland@hack.frob.com>
16248
aefc9b8c
RM
16249 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16250 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16251 zero since it's initialized to EXEC_PAGESIZE.
16252
bc16e260
RM
16253 * sysdeps/unix/sysv/linux/ldsodefs.h
16254 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16255 * sysdeps/generic/ldsodefs.h: ... here.
16256
a57da955
TS
162572013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16258
af00a34d
TS
16259 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16260
495ded2c
TS
16261 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16262 math/test-snan.c.
16263 * math/test-snan.c: Renamed from
16264 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16265 * math/Makefile (tests): Add test-snan.
16266 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16267 test-powerpc-snan.
16268
777b0332
TS
16269 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16270 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16271 functions.
16272 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16273 __builtin_nan family of functions.
16274 * math/libm-test.inc (initialize): Initialize qnan_value with
16275 __builtin_nan family of functions.
16276 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16277 Remove variables.
16278 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16279 Remove functions.
16280 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16281 storage class. Initialize qNaN_var and sNaN_var with
16282 __builtin_nan and __builtin_nans families of functions,
16283 respectively.
16284
64d063b8
TS
16285 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16286 (sqrt_test): Remove duplicate test with qNaN input.
16287 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16288 (round_test, signbit_test, significand_test): Note missing +/-Inf
16289 as well as qNaN tests.
16290
67e971f1
TS
16291 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16292 qNaN_var. Fix a few strings, too.
16293 * math/libm-test.inc (nan_value): Rename to qnan_value.
16294 * math/gen-libm-test.pl (%beautify): Adjust to that.
16295 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16296 * math/test-misc.c (main): Likewise.
16297 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16298 to __qnan_bytes, and __qnan_union, respectively.
16299 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16300 Likewise.
16301 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16302 and lqnanval, respectively.
16303 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16304 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16305 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16306 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16307
64487e12
TS
16308 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16309 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16310 doubles.
16311
e015e27b
TS
16312 * math/test-misc.c (main): Fix copy'n'pastos.
16313 * misc/tst-efgcvt.c (special): Likewise.
16314
a57da955
TS
16315 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16316 Remove declarations.
16317
1e380345
SP
163182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16319
16320 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16321 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16322 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16323 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16324
ef26eece
AZ
163252013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16326
16327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16328 macro to return vdso values correctly in IFUNC implementations.
16329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16330 Optimization by using IFUNC.
16331
8cfdb7e0
SP
163322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16333 Richard Henderson <rth@redhat.com>
16334 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16335
16336 * Makefile.in (bench): New target.
16337 * NEWS: Mention the benchmark framework.
16338 * Rules (bench): Likewise.
16339 (binaries-bench): Generate binaries for functions to
16340 benchmark.
16341 * benchtests/Makefile: New makefile for benchmark tests.
16342 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16343 programs.
16344 * benchtests/exp-inputs: New input file for EXP function.
16345 * benchtests/pow-inputs: New input file for POW function.
16346 * scripts/bench.pl: New script to generate source files for
16347 benchmark programs.
16348
bcda9880
SP
163492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16350
d22ca8cd
SP
16351 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16352 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16353 computations on mantissa. Use macros for rounding and
16354 division.
16355 (denorm): Likewise.
16356 (__dbl_mp): Likewise.
16357 (add_magnitudes): Likewise.
16358 (sub_magnitudes): Likewise.
16359 (__mul): Likewise.
16360 (__sqr): Likewise.
16361 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16362 powers of two in terms of TWOPOW macro.
16363 (mp_no): Make type of mantissa as MANTISSA_T.
16364 [!RADIXI]: Define RADIXI.
16365 [!TWO52]: Define TWO52.
16366 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16367
bcda9880
SP
16368 * manual/nptl.texi (cindex): Modify threads to pthreads.
16369
06d5adfb
JM
163702013-03-15 Joseph Myers <joseph@codesourcery.com>
16371
16372 * sysdeps/x86_64/preconfigure: Regenerated.
16373
41c7328e
JM
163742013-03-14 Joseph Myers <joseph@codesourcery.com>
16375
16376 [BZ #14155]
16377 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16378 0x1p28 and above.
16379 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16380 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16381 0x1p28 and above.
16382 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16383 * math/libm-test.inc (j0_test): Do not allow one spurious
16384 underflow exception.
16385 (y1_test): Likewise.
16386
e25cfa60
SP
163872013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16388
0409959c
SP
16389 * manual/Makefile (chapters): Add nptl.
16390 * manual/debug.texi (Debugging Support): Add link to Threads
16391 chapter.
16392 * manual/nptl.texi: New file.
16393
e25cfa60
SP
16394 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16395
58a1335e
PB
163962013-03-14 Petr Baudis <pasky@ucw.cz>
16397
16398 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16399 for non-NULL pointer before the memory validity test. Pointed
16400 out by Holger Brunck <holger.brunck@keymile.com>.
16401
9dc7c64f
AS
164022013-03-13 Andreas Schwab <schwab@suse.de>
16403
16404 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16405 instead of .os.
16406
54206aa6
JM
164072013-03-13 Joseph Myers <joseph@codesourcery.com>
16408
16409 * timezone/zic.c: Update from tzcode 2013b.
16410
e98cdb38
CD
164112013-03-12 Carlos O'Donell <carlos@redhat.com>
16412
16413 * manual/install.texi (Configuring and compiling):
16414 Mention i686 and i586.
16415 * INSTALL: Regenerate.
16416
9967e003
RM
164172013-03-12 Roland McGrath <roland@hack.frob.com>
16418
16419 * sysdeps/init_array/elf-init.c: New file.
16420 * csu/elf-init.c
16421 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16422 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16423
16424 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16425 __gmon_start__ as global, but as static with a .preinit_array pointer.
16426 * sysdeps/init_array/gmon-start.c: New file. Use that.
16427 * sysdeps/init_array/crti.S: New file, empty except for comments.
16428 * sysdeps/init_array/crtn.S: Likewise.
16429
e6b5a293 164302013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16431
16432 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16433 definining bcopy.
80f844c9
OB
16434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16435 Remove Prefer_SSE_for_memop.
16436 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16437 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16438 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16440 memset-x86-64.
80f844c9 16441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16442 Remove bzero, memset ifunc support.
80f844c9
OB
16443 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16444 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16445 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16446 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16447
fb6b0fcb
AS
164482013-03-11 Andreas Schwab <schwab@suse.de>
16449
16450 [BZ #15234]
16451 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16452 by SHLIB_COMPAT.
16453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16454 (GLIBC_2.16): Remove pthread_atfork.
16455
3e6bd4b1
PP
164562013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16457
16458 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16459 (ptestcases.h): Likewise.
16460
222d7f00
RM
164612013-03-08 Roland McGrath <roland@hack.frob.com>
16462
16463 * Makeconfig ($(common-objpfx)config.status): Depend on
16464 sysdeps/*/preconfigure{,.in} too.
16465
1ba4f030
JM
164662013-03-08 Joseph Myers <joseph@codesourcery.com>
16467
a222d91a
JM
16468 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16469 (__free_hook): Use void * instead of __malloc_ptr_t.
16470 (__malloc_hook): Likewise.
16471 (__realloc_hook): Likewise.
16472 (__memalign_hook): Likewise.
16473 (__after_morecore_hook): Likewise.
16474 * malloc/arena.c (save_malloc_hook): Likewise.
16475 (save_free_hook): Likewise.
16476 * malloc/hooks.c (malloc_hook_ini): Likewise.
16477 (realloc_hook_ini): Likewise.
16478 (memalign_hook_ini): Likewise.
16479 * malloc/malloc.c (malloc_hook_ini): Likewise.
16480 (realloc_hook_ini): Likewise.
16481 (memalign_hook_ini): Likewise.
16482 (__free_hook): Likewise.
16483 (__malloc_hook): Likewise.
16484 (__realloc_hook): Likewise.
16485 (__memalign_hook): Likewise.
16486 (__libc_malloc): Likewise.
16487 (__libc_free): Likewise.
16488 (__libc_realloc): Likewise.
16489 (__libc_memalign): Likewise.
16490 (__libc_valloc): Likewise.
16491 (__libc_pvalloc): Likewise.
16492 (__libc_calloc): Likewise.
16493 (__posix_memalign): Likewise.
16494 * malloc/morecore.c (__sbrk): Likewise.
16495 (__default_morecore): Likewise.
16496
5cc45e10
JM
16497 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16498
dd54b864
JM
16499 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16500 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16501 __malloc_ptrdiff_t.
16502
1ba4f030
JM
16503 * malloc/malloc.h (__malloc_size_t): Remove macro.
16504 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16505 __malloc_size_t.
16506 (old_memalign_hook): Likewise.
16507 (old_realloc_hook): Likewise.
16508 (struct hdr): Likewise.
16509 (flood): Likewise.
16510 (mallochook): Likewise.
16511 (memalignhook): Likewise.
16512 (reallochook): Likewise.
16513 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16514 (tr_old_realloc_hook): Likewise.
16515 (tr_old_memalign_hook): Likewise.
16516 (tr_mallochook): Likewise.
16517 (tr_reallochook): Likewise.
16518 (tr_memalignhook): Likewise.
16519
edf66e57
AZ
165202013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16521
16522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16523 default_ldbl_pack and using as default implementation.
16524 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16525 implementation.
16526 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16527 redundant definition.
16528 (ldbl_insert_mantissa): Likewise.
16529 (ldbl_canonicalize): Likewise.
16530 (ldbl_nearbyint): Likewise.
16531 (ldbl_pack): Rename to ldbl_pack_ppc.
16532 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16533 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16534 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16535
6d9145d8
SP
165362013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16537
16538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16539 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16540 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16541 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16543 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16544 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16545 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16546
4dd4e157
AJ
165472013-03-07 Andreas Jaeger <aj@suse.de>
16548
16549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16550 bits/mman-linux.h.
16551
adbb8027
SP
165522013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16553
ce544b5b
SP
16554 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16555 Include mpa.h and declare __MPEXP.
16556 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16557 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16558 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16559 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16560 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16561 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16562 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16563
4cc149fd
SP
16564 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16565 (__slowpow): Use long double EXPL and LOGL functions to
16566 compute POW.
16567 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16568 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16569 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16570 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16571 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16572 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16573
e6ebd4a7
SP
16574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16575 intermediate variable to calculate exponent.
16576 (__sqr): Likewise.
16577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16578 Likewise.
16579 (__sqr): Likewise.
16580
82a9811d
SP
16581 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16582 [!NO__SQR]: Define __sqr.
16583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16584 and NO__SQR. Remove all code except __mul and __sqr. Include
16585 sysdeps/ieee754/dbl-64/mpa.c.
16586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16587
adbb8027
SP
16588 [BZ #12723]
16589 * posix/Makefile (tests): Add tst-pathconf.
16590 * posix/tst-pathconf.c: New test case.
16591 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16592 _PC_PIPE_BUF.
16593 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16594
39120df9
PF
165952013-03-06 Patsy Franklin <pfrankli@redhat.com>
16596
16597 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16598
67525cb8
AJ
165992013-03-06 Andreas Jaeger <aj@suse.de>
16600
664a9ce4
AJ
16601 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16602 definition via __MAP_ANONYMOUS.
16603
8e39047d
AJ
16604 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16605 it's not part of Linux headers.
16606
67525cb8
AJ
16607 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16608 (MAP_HUGE_MASK): Define.
16609
16610 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16611 Define.
16612 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16613 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16614 Define.
16615 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16616 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16617 Define.
16618 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16619 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16620 Define.
16621 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16622
16623 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16624 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16625 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16626 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16627 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16628 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16629
16630 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16631 Handle f2fs.
16632
16633 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16634 Handle f2fs and efivarfs.
16635
16636 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16637 f2fs.
16638
16639 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16640 (EFIVARFS_MAGIC): Add.
16641 (F2FS_LINK_MAX): Add.
16642
e1b42695
PP
166432013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16644
16645 * stdio-common/vfprintf.c: Replace __builtin_expect with
16646 __glibc_unlikely.
16647
2d67d91a
JM
166482013-03-06 Joseph Myers <joseph@codesourcery.com>
16649
16650 [BZ #13550]
16651 * sysdeps/generic/bp-sym.h: Remove file.
16652 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16653 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16654 <bp-sym.h> and <bp-asm.h>.
16655 (__longjmp): Don't use BP_SYM.
16656 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16657 and <bp-asm.h>.
16658 (memcpy): Don't use BP_SYM.
16659 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16660 <bp-sym.h> and <bp-asm.h>.
16661 (memcpy): Don't use BP_SYM.
16662 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16663 <bp-asm.h>.
16664 (memcpy): Don't use BP_SYM.
16665 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16666 <bp-asm.h>.
16667 (memset): Don't use BP_SYM.
16668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16670 (__bzero): Don't use BP_SYM.
16671 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16672 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16673 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16674 <bp-sym.h> and <bp-asm.h>.
16675 (memcmp): Don't use BP_SYM. Remove comment about bounded
16676 pointers.
16677 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16678 <bp-sym.h> and <bp-asm.h>.
16679 (memcpy): Don't use BP_SYM.
16680 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16681 <bp-sym.h> and <bp-asm.h>.
16682 (memset): Don't use BP_SYM.
16683 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16684 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16685 (__bzero): Don't use BP_SYM.
16686 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16687 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16688 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16689 <bp-sym.h> and <bp-asm.h>.
16690 (strncmp): Don't use BP_SYM. Remove comment about bounded
16691 pointers.
16692 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16693 <bp-sym.h> and <bp-asm.h>.
16694 (memcpy): Don't use BP_SYM.
16695 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16696 <bp-sym.h> and <bp-asm.h>.
16697 (memset): Don't use BP_SYM.
16698 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16699 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16700 (__bzero): Don't use BP_SYM.
16701 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16702 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16703 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16704 <bp-sym.h> and <bp-asm.h>.
16705 (__memchr): Don't use BP_SYM.
16706 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16707 <bp-sym.h> and <bp-asm.h>.
16708 (memcmp): Don't use BP_SYM. Remove comment about bounded
16709 pointers.
16710 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16711 <bp-sym.h> and <bp-asm.h>.
16712 (memcpy): Don't use BP_SYM.
16713 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16714 <bp-sym.h> and <bp-asm.h>.
16715 (__mempcpy): Don't use BP_SYM.
16716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16717 <bp-sym.h> and <bp-asm.h>.
16718 (__memrchr): Don't use BP_SYM.
16719 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16720 <bp-sym.h> and <bp-asm.h>.
16721 (memset): Don't use BP_SYM.
16722 (__bzero): Likewise.
16723 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16724 <bp-sym.h> and <bp-asm.h>.
16725 (__rawmemchr): Don't use BP_SYM.
16726 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16727 <bp-sym.h> and <bp-asm.h>.
16728 (__STRCMP): Don't use BP_SYM.
16729 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16730 <bp-sym.h> and <bp-asm.h>.
16731 (strchr): Don't use BP_SYM.
16732 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16733 <bp-sym.h> and <bp-asm.h>.
16734 (__strchrnul): Don't use BP_SYM.
16735 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16736 <bp-sym.h> and <bp-asm.h>.
16737 (strlen): Don't use BP_SYM.
16738 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16739 <bp-sym.h> and <bp-asm.h>.
16740 (strncmp): Don't use BP_SYM. Remove comment about bounded
16741 pointers.
16742 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16743 <bp-sym.h> and <bp-asm.h>.
16744 (__strnlen): Don't use BP_SYM.
16745 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16746 <bp-sym.h> and <bp-asm.h>.
16747 (__GI__setjmp): Don't use BP_SYM.
16748 (_setjmp): Likewise.
16749 (__sigsetjmp): Likewise.
16750 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16751 (L(start_addresses)): Don't use BP_SYM.
16752 (_start): Likewise.
16753 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16754 <bp-asm.h>.
16755 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16756 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16757 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16758 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16759 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16760 <bp-asm.h>.
16761 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16762 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16763 about bounded pointers.
16764 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16765 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16766 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16767 <bp-asm.h>.
16768 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16769 about bounded pointers. Remove GKM FIXME comments.
16770 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16771 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16772 <bp-asm.h>.
16773 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16774 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16775 Remove GKM FIXME comments.
16776 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16777 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16778 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16779 <bp-asm.h>.
16780 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16781 about bounded pointers. Remove GKM FIXME comment.
16782 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16783 and <bp-asm.h>.
16784 (strncmp): Don't use BP_SYM. Remove comment about bounded
16785 pointers.
16786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16787 <bp-sym.h> and <bp-asm.h>.
16788 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16790 <bp-sym.h> and <bp-asm.h>.
16791 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16792 comment.
16793
cdcf361f
PP
167942013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16795
16796 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16797 call free(NULL).
16798
3c4a2b15
DM
167992013-03-05 David S. Miller <davem@davemloft.net>
16800
16801 * po/es.po: Update from translation team.
16802
cdcf361f 168032013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16804
16805 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16806 <bits/mman-linux.h>.
16807 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16808 is fine.
16809 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16810 <bits/mman-linux.h> to end of file.
16811 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16812 is fine.
16813 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16814 <bits/mman-linux.h> to end of file.
16815 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16816 is fine.
16817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16818 <bits/mman-linux.h> to end of file.
16819
16820 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16821 (MCL_CURRENT, MCL_FUTURE): Define here.
16822
5f67c04f
AK
168232013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16824
8a4473cc 16825 [BZ #15232]
5f67c04f
AK
16826 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16827 attribute_hidden.
16828 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16829
c3e94a95
AK
168302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16831
16832 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16833 fourth parameter needed for rt_sigprocmask syscall.
16834 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16835 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16836 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16837 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16838 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16839 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16840
cfb6382a
JM
168412013-03-04 Joseph Myers <joseph@codesourcery.com>
16842
16843 [BZ #13550]
16844 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16845 comment about bounded pointers.
16846 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16847 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16848
539d8e01
AJ
168492013-03-04 Andreas Jaeger <aj@suse.de>
16850
16851 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16852 common definitions.
16853
16854 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16855 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16856 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16857 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16858 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16859 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16860
2e167a70 168612013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16862
16863 [BZ #15055]
16864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16865 __ieee754_sqrl instead of __sqrl.
16866
68508633
JM
168672013-03-01 Joseph Myers <joseph@codesourcery.com>
16868
16869 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16870 * sysdeps/powerpc/fpu_control.h: ... here.
16871 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16872 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16873 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16874 * sysdeps/powerpc/bits/mathinline.h: ... here.
16875
7775448e
RM
168762013-03-01 Roland McGrath <roland@hack.frob.com>
16877
16878 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16879 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16880 to just [NEED_DL_SYSINFO_DSO].
16881 * elf/dl-support.c: Likewise.
16882 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16883 * elf/rtld.c (dl_main): Likewise.
16884 * elf/setup-vdso.h (setup_vdso): Likewise.
16885 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16886 * sysdeps/unix/sysv/linux/dl-sysdep.c
16887 (_dl_discover_osversion): Likewise.
16888
4e9b5995
CD
168892013-03-01 Carlos O'Donell <carlos@redhat.com>
16890
16891 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16892 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16893
e23872c8
SP
168942013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16895
e5c74c63
SP
16896 * NEWS: Mention libm performance improvements and non-x86 PI
16897 futex support.
16898
e23872c8
SP
16899 * csu/libc-start.c (__pthread_initialize_minimal): Change
16900 function arguments.
16901 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16902
b5510883
JM
169032013-02-28 Joseph Myers <joseph@codesourcery.com>
16904
16905 [BZ #13550]
16906 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16907 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16908 <bp-sym.h> and <bp-asm.h>.
16909 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16910 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16911 and <bp-asm.h>.
16912 (memcpy): Don't use BP_SYM.
16913 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16914 <bp-asm.h>.
16915 (__mpn_add_n): Don't use BP_SYM.
16916 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16917 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16918 and <bp-asm.h>.
16919 (__mpn_addmul_1): Don't use BP_SYM.
16920 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16921 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16922 <bp-sym.h>.
16923 (_setjmp): Don't use BP_SYM.
16924 (__novmx_setjmp): Likewise.
16925 (__GI__setjmp): Likewise.
16926 (__vmx_setjmp): Likewise.
16927 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16928 <bp-sym.h>.
16929 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16930 (__bzero): Don't use BP_SYM.
16931 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16932 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16933 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16934 <bp-sym.h> and <bp-asm.h>.
16935 (memcpy): Don't use BP_SYM.
16936 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16937 <bp-sym.h> and <bp-asm.h>.
16938 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16939 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16940 <bp-sym.h> and <bp-asm.h>.
16941 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16942 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16943 <bp-asm.h>.
16944 (__mpn_lshift): Don't use BP_SYM.
16945 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16946 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16947 <bp-asm.h>.
16948 (memset): Don't use BP_SYM.
16949 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16950 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16951 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16952 <bp-asm.h>.
16953 (__mpn_mul_1): Don't use BP_SYM.
16954 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16956 <bp-sym.h> and <bp-asm.h>.
16957 (memcmp): Don't use BP_SYM.
16958 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16959 <bp-sym.h> and <bp-asm.h>.
16960 (memcpy): Don't use BP_SYM.
16961 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16962 <bp-sym.h> and <bp-asm.h>.
16963 (memset): Don't use BP_SYM.
16964 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16965 <bp-sym.h> and <bp-asm.h>.
16966 (strncmp): Don't use BP_SYM.
16967 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16968 <bp-sym.h> and <bp-asm.h>.
16969 (memcpy): Don't use BP_SYM.
16970 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16971 <bp-sym.h> and <bp-asm.h>.
16972 (memset): Don't use BP_SYM.
16973 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16974 <bp-sym.h> and <bp-asm.h>.
16975 (__memchr): Don't use BP_SYM.
16976 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16977 <bp-sym.h> and <bp-asm.h>.
16978 (memcmp): Don't use BP_SYM.
16979 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16980 <bp-sym.h> and <bp-asm.h>.
16981 (memcpy): Don't use BP_SYM.
16982 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16983 <bp-sym.h> and <bp-asm.h>.
16984 (__mempcpy): Don't use BP_SYM.
16985 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16986 <bp-sym.h> and <bp-asm.h>.
16987 (__memrchr): Don't use BP_SYM.
16988 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16989 <bp-sym.h> and <bp-asm.h>.
16990 (memset): Don't use BP_SYM.
16991 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16992 <bp-sym.h> and <bp-asm.h>.
16993 (__rawmemchr): Don't use BP_SYM.
16994 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16995 <bp-sym.h> and <bp-asm.h>.
16996 (__STRCMP): Don't use BP_SYM.
16997 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16998 <bp-sym.h> and <bp-asm.h>.
16999 (strchr): Don't use BP_SYM.
17000 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17001 <bp-sym.h> and <bp-asm.h>.
17002 (__strchrnul): Don't use BP_SYM.
17003 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17004 <bp-sym.h> and <bp-asm.h>.
17005 (strlen): Don't use BP_SYM.
17006 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17007 <bp-sym.h> and <bp-asm.h>.
17008 (strncmp): Don't use BP_SYM.
17009 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17010 <bp-sym.h> and <bp-asm.h>.
17011 (__strnlen): Don't use BP_SYM.
17012 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17013 <bp-asm.h>.
17014 (__mpn_rshift): Don't use BP_SYM.
17015 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17016 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17017 <bp-sym.h> and <bp-asm.h>.
17018 (__sigsetjmp): Don't use BP_SYM.
17019 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17020 (L(start_addresses)): Don't use BP_SYM.
17021 (_start): Likewise.
17022 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17023 <bp-asm.h>.
17024 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17025 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17026 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17027 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17028 <bp-asm.h>.
17029 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17030 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17031 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17032 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17033 <bp-asm.h>.
17034 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17035 comments.
17036 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17037 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17038 <bp-asm.h>.
17039 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17040 FIXME comments.
17041 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17042 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17043 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17044 <bp-asm.h>.
17045 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17046 comment.
17047 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17048 and <bp-asm.h>.
17049 (strncmp): Don't use BP_SYM,
17050 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17051 <bp-asm.h>.
17052 (__mpn_sub_n): Don't use BP_SYM.
17053 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17054 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17055 and <bp-asm.h>.
17056 (__mpn_submul_1): Don't use BP_SYM.
17057 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17059 <bp-sym.h> and <bp-asm.h>.
17060 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17062 <bp-sym.h> and <bp-asm.h>.
17063 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17064 comment.
17065
8d19fe64
SP
170662013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17067
17068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17069 Use ZK to minimize writes to Z.
17070 (sub_magnitudes): Simplify code a bit.
17071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17072 Use ZK to minimize writes to Z.
17073 (sub_magnitudes): Simplify code a bit.
17074
85bd816a
RM
170752013-02-27 Roland McGrath <roland@hack.frob.com>
17076
17077 * csu/gmon-start.c: Add special exception to license text.
17078
b5977bf2
RH
170792013-02-27 Richard Henderson <rth@redhat.com>
17080
17081 * scripts/config.guess: Update from config.git.
17082 * scripts/config.sub: Likewise.
17083
11d6e2f2
SP
170842013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17085
09c14ed2
SP
17086 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17087
a688864e
SP
17088 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17089
6295157a
SP
17090 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17091
b8de2202
SP
17092 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17093
11d6e2f2
SP
17094 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17095
7e80ddb8
RM
170962013-02-26 Roland McGrath <roland@hack.frob.com>
17097
17098 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17099 [$(build-shared = yes].
7e80ddb8 17100
7da6d9ed
SP
171012013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17102
45f05884
SP
17103 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17104 (__mul): Reduce iterations for calculating mantissa.
17105
2236d359
SP
17106 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17107 MPTWO.
17108 (__mpranred): Likewise.
17109
7da6d9ed
SP
17110 [BZ #15160]
17111 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17112 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17113
b7688c42
PE
171142013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17115
17116 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17117 Define __attribute__.
17118
53a5c423
SP
171192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17120
17121 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17122 unused.
17123 * posix/regex_internal.h (__attribute): Remove.
17124 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17125 (re_string_context_at): Likewise.
17126 (bitset_not): Use __attribute__ and mark function as possibly
17127 unused.
17128 (bitset_merge): Likewise.
17129 (bitset_mask): Likewise.
17130 (re_string_char_size_at): Likewise.
17131 (re_string_wchar_at): Likewise.
17132 (re_string_elem_size_at): Likewise.
17133
60f5a8b5
SP
171342013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17135
2a983a2e
SP
17136 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17137 code.
17138 (cc32): Likewise.
17139
e69804d1
SP
17140 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17141 (__acr): Likewise.
17142 (__cpy): Likewise.
17143 (norm): Likewise.
17144 (denorm): Likewise.
17145 (__dbl_mp): Likewise.
17146 (add_magnitudes): Likewise.
17147 (sub_magnitudes): Likewise.
17148 (__mul): Likewise.
17149 (__inv): Likewise.
17150
2f22a1e8
SP
17151 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17152 style.
17153
8930ddc7
SP
17154 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17155 style.
17156
dc60cb11
SP
17157 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17158 code.
17159
60f5a8b5
SP
17160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17161 up changes with default code.
17162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17163 Likewise.
17164
b4d1fd33
AM
171652013-02-24 Allan McRae <allan@archlinux.org>
17166
faf6f8bc
AM
17167 * manual/socket.texi (The Internet Namespace): Order menu items
17168 to match that in the file.
17169
b4d1fd33
AM
17170 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17171 node listing of the info page menu.
17172
2366713d
JM
171732013-02-21 Joseph Myers <joseph@codesourcery.com>
17174
17175 [BZ #13550]
17176 * sysdeps/i386/bp-asm.h: Remove file.
17177 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17178 (PARMS): Do not use macros from bp-asm.h.
17179 (S1): Likewise.
17180 (S2): Likewise.
17181 (SIZE): Likewise.
17182 (__mpn_add_n): Do not use BP_SYM
17183 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17184 "bp-asm.h".
17185 (PARMS): Do not use macros from bp-asm.h.
17186 (S1): Likewise.
17187 (SIZE): Likewise.
17188 (__mpn_addmul_1): Do not use BP_SYM
17189 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17190 "bp-asm.h".
17191 (PARMS): Do not use macros from bp-asm.h.
17192 (SIGMSK): Likewise.
17193 (_setjmp): Likewise. Do not use BP_SYM.
17194 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17195 "bp-asm.h".
17196 (PARMS): Do not use macros from bp-asm.h.
17197 (SIGMSK): Likewise.
17198 (setjmp): Likewise. Do not use BP_SYM.
17199 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17200 "bp-asm.h".
17201 (PARMS): Do not use macros from bp-asm.h.
17202 (__frexp): Do not use BP_SYM.
17203 (frexp): Likewise.
17204 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17205 "bp-asm.h".
17206 (PARMS): Do not use macros from bp-asm.h.
17207 (__frexpf): Do not use BP_SYM.
17208 (frexpf): Likewise.
17209 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17210 "bp-asm.h".
17211 (PARMS): Do not use macros from bp-asm.h.
17212 (__frexpl): Do not use BP_SYM.
17213 (frexpl): Likewise.
17214 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17215 "bp-asm.h".
17216 (PARMS): Do not use macros from bp-asm.h.
17217 (__remquo): Do not use BP_SYM.
17218 (remquo): Likewise.
17219 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17220 "bp-asm.h".
17221 (PARMS): Do not use macros from bp-asm.h.
17222 (__remquof): Do not use BP_SYM.
17223 (remquof): Likewise.
17224 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17225 "bp-asm.h".
17226 (PARMS): Do not use macros from bp-asm.h.
17227 (__remquol): Do not use BP_SYM.
17228 (remquol): Likewise.
17229 * sysdeps/i386/i486/strcat.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 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17235 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17236 "bp-asm.h".
17237 (PARMS): Do not use macros from bp-asm.h.
17238 (strlen): Do not use BP_SYM.
17239 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17240 "bp-asm.h".
17241 (PARMS): Do not use macros from bp-asm.h.
17242 (S1): Likewise.
17243 (S2): Likewise.
17244 (SIZE): Likewise.
17245 (__mpn_add_n): Do not use BP_SYM.
17246 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17247 "bp-asm.h".
17248 (PARMS): Do not use macros from bp-asm.h.
17249 (S1): Likewise.
17250 (SIZE): Likewise.
17251 (__mpn_addmul_1): Do not use BP_SYM.
17252 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17253 weak_alias.
17254 (bzero): Likewise.
17255 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17256 "bp-asm.h".
17257 (PARMS): Do not use macros from bp-asm.h.
17258 (S): Likewise.
17259 (SIZE): Likewise.
17260 (__mpn_lshift): Do not use BP_SYM.
17261 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17262 "bp-asm.h".
17263 (PARMS): Do not use macros from bp-asm.h.
17264 (DEST): Likewise.
17265 (SRC): Likewise.
17266 (LEN): Likewise.
17267 (memcpy): Likewise. Do not use BP_SYM.
17268 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17269 libc_hidden_def and weak_alias.
17270 (mempcpy): Do not use BP_SYM in weak_alias.
17271 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17272 "bp-asm.h".
17273 (PARMS): Do not use macros from bp-asm.h.
17274 (DEST): Likewise.
17275 (LEN): Likewise.
17276 [!BZERO_P] (CHR): Likewise.
17277 (memset): Likewise. Do not use BP_SYM.
17278 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17279 "bp-asm.h".
17280 (PARMS): Do not use macros from bp-asm.h.
17281 (S1): Likewise.
17282 (SIZE): Likewise.
17283 (__mpn_mul_1): Do not use BP_SYM.
17284 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17285 "bp-asm.h".
17286 (PARMS): Do not use macros from bp-asm.h.
17287 (S): Likewise.
17288 (SIZE): Likewise.
17289 (__mpn_rshift): Do not use BP_SYM.
17290 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17291 "bp-asm.h".
17292 (PARMS): Do not use macros from bp-asm.h.
17293 (STR): Likewise.
17294 (CHR): Likewise.
17295 (strchr): Likewise. Do not use BP_SYM.
17296 (index): Do not use BP_SYM in weak_alias.
17297 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17298 "bp-asm.h".
17299 (PARMS): Do not use macros from bp-asm.h.
17300 (DEST): Likewise.
17301 (SRC): Likewise.
17302 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17303 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17304 "bp-asm.h".
17305 (PARMS): Do not use macros from bp-asm.h.
17306 (strlen): Do not use BP_SYM.
17307 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17308 "bp-asm.h".
17309 (PARMS): Do not use macros from bp-asm.h.
17310 (S1): Likewise.
17311 (S2): Likewise.
17312 (SIZE): Likewise.
17313 (__mpn_sub_n): Do not use BP_SYM.
17314 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17315 "bp-asm.h".
17316 (PARMS): Do not use macros from bp-asm.h.
17317 (S1): Likewise.
17318 (SIZE): Likewise.
17319 (__mpn_submul_1): Do not use BP_SYM.
17320 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17321 "bp-asm.h".
17322 (PARMS): Do not use macros from bp-asm.h.
17323 (S1): Likewise.
17324 (S2): Likewise.
17325 (SIZE): Likewise.
17326 (__mpn_add_n): Do not use BP_SYM.
17327 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17328 weak_alias.
17329 (bzero): Likewise.
17330 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17331 "bp-asm.h".
17332 (PARMS): Do not use macros from bp-asm.h.
17333 (BLK2): Likewise.
17334 (LEN): Likewise.
17335 (memcmp): Do not use BP_SYM.
17336 (bcmp): Do not use BP_SYM in weak_alias.
17337 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17338 "bp-asm.h".
17339 (PARMS): Do not use macros from bp-asm.h.
17340 (DEST): Likewise.
17341 (SRC): Likewise.
17342 (LEN): Likewise.
17343 (memcpy): Likewise. Do not use BP_SYM.
17344 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17345 "bp-asm.h".
17346 (PARMS): Do not use macros from bp-asm.h.
17347 (DEST): Likewise.
17348 (SRC): Likewise.
17349 (LEN): Likewise.
17350 (memmove): Likewise. Do not use BP_SYM.
17351 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17352 "bp-asm.h".
17353 (PARMS): Do not use macros from bp-asm.h.
17354 (DEST): Likewise.
17355 (SRC): Likewise.
17356 (LEN): Likewise.
17357 (__mempcpy): Likewise. Do not use BP_SYM.
17358 (mempcpy): Do not use BP_SYM in weak_alias.
17359 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17360 "bp-asm.h".
17361 (PARMS): Do not use macros from bp-asm.h.
17362 (DEST): Likewise.
17363 (LEN): Likewise.
17364 [!BZERO_P] (CHR): Likewise.
17365 (memset): Likewise. Do not use BP_SYM.
17366 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17367 "bp-asm.h".
17368 (PARMS): Do not use macros from bp-asm.h.
17369 (STR2): Likewise.
17370 (strcmp): Do not use BP_SYM.
17371 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17372 "bp-asm.h".
17373 (PARMS): Do not use macros from bp-asm.h.
17374 (STR): Likewise.
17375 (DELIM): Likewise.
17376 [USE_AS_STRTOK_R] (SAVE): Likewise.
17377 (FUNCTION): Likewise. Do not use BP_SYM.
17378 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17379 aliases.
17380 (strtok_r): Likewise.
17381 (__GI___strtok_r): Likewise.
17382 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17383 (PARMS): Do not use macros from bp-asm.h.
17384 (S): Likewise.
17385 (SIZE): Likewise.
17386 (__mpn_lshift): Do not use BP_SYM.
17387 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17388 (PARMS): Do not use macros from bp-asm.h.
17389 (STR): Likewise.
17390 (CHR): Likewise.
17391 (__memchr): Do not use BP_SYM.
17392 (memchr): Do not use BP_SYM in weak_alias.
17393 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17394 (PARMS): Do not use macros from bp-asm.h.
17395 (BLK2): Likewise.
17396 (LEN): Likewise.
17397 (memcmp): Do not use BP_SYM.
17398 (bcmp): Do not use BP_SYM in weak_alias.
17399 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17400 (PARMS): Do not use macros from bp-asm.h.
17401 (S1): Likewise.
17402 (SIZE): Likewise.
17403 (__mpn_mul_1): Do not use BP_SYM.
17404 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17405 "bp-asm.h".
17406 (PARMS): Do not use macros from bp-asm.h.
17407 (STR): Likewise.
17408 (CHR): Likewise.
17409 (__rawmemchr): Do not use BP_SYM.
17410 (rawmemchr): Do not use BP_SYM in weak_alias.
17411 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17412 (PARMS): Do not use macros from bp-asm.h.
17413 (S): Likewise.
17414 (SIZE): Likewise.
17415 (__mpn_rshift): Do not use BP_SYM.
17416 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17417 (PARMS): Do not use macros from bp-asm.h.
17418 (SIGMSK): Likewise.
17419 (__sigsetjmp): Likewise. Do not use BP_SYM.
17420 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17421 (_start): Do not use BP_SYM.
17422 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17423 (PARMS): Do not use macros from bp-asm.h.
17424 (DEST): Likewise.
17425 (SRC): Likewise.
17426 (__stpcpy): Likewise. Do not use BP_SYM.
17427 (stpcpy): Do not use BP_SYM in weak_alias.
17428 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17429 "bp-asm.h".
17430 (PARMS): Do not use macros from bp-asm.h.
17431 (DEST): Likewise.
17432 (SRC): Likewise.
17433 (LEN): Likewise.
17434 (__stpncpy): Likewise. Do not use BP_SYM.
17435 (stpncpy): Do not use BP_SYM in weak_alias.
17436 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17437 (PARMS): Do not use macros from bp-asm.h.
17438 (STR): Likewise.
17439 (CHR): Likewise.
17440 (strchr): Likewise. Do not use BP_SYM.
17441 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17442 "bp-asm.h".
17443 (PARMS): Do not use macros from bp-asm.h.
17444 (STR): Likewise.
17445 (CHR): Likewise.
17446 (__strchrnul): Likewise. Do not use BP_SYM.
17447 (strchrnul): Do not use BP_SYM in weak_alias.
17448 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17449 "bp-asm.h".
17450 (PARMS): Do not use macros from bp-asm.h.
17451 (STOP): Likewise.
17452 (strcspn): Do not use BP_SYM.
17453 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17454 "bp-asm.h".
17455 (PARMS): Do not use macros from bp-asm.h.
17456 (STR): Likewise.
17457 (STOP): Likewise.
17458 (strpbrk): Likewise. Do not use BP_SYM.
17459 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17460 "bp-asm.h".
17461 (PARMS): Do not use macros from bp-asm.h.
17462 (STR): Likewise.
17463 (CHR): Likewise.
17464 (strrchr): Likewise. Do not use BP_SYM.
17465 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17466 (PARMS): Do not use macros from bp-asm.h.
17467 (SKIP): Likewise.
17468 (strspn): Do not use BP_SYM.
17469 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17470 (PARMS): Do not use macros from bp-asm.h.
17471 (STR): Likewise.
17472 (DELIM): Likewise.
17473 (SAVE): Likewise.
17474 (FUNCTION): Likewise. Do not use BP_SYM.
17475 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17476 aliases.
17477 (strtok_r): Likewise.
17478 (__GI___strtok_r): Likewise.
17479 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17480 (PARMS): Do not use macros from bp-asm.h.
17481 (S1): Likewise.
17482 (S2): Likewise.
17483 (SIZE): Likewise.
17484 (__mpn_sub_n): Do not use BP_SYM.
17485 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17486 "bp-asm.h".
17487 (PARMS): Do not use macros from bp-asm.h.
17488 (S1): Likewise.
17489 (SIZE): Likewise.
17490 (__mpn_submul_1): Do not use BP_SYM.
17491 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17492 <bp-sym.h>.
17493 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17494 and <bp-asm.h>.
17495 (PARMS): Do not use macros from bp-asm.h.
17496 (FLAGS): Likewise.
17497 (PTID): Likewise.
17498 (TLS): Likewise.
17499 (CTID): Likewise.
17500 (__clone): Do not use BP_SYM.
17501 (clone): Do not use BP_SYM in weak_alias.
17502 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17503 and <bp-asm.h>.
17504 (PARMS): Do not use macros from bp-asm.h.
17505 (LEN): Likewise.
17506 (__mmap64): Do not use BP_SYM.
17507 (mmap64): Do not use BP_SYM in weak_alias.
17508 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17509 <bp-sym.h> and <bp-asm.h>.
17510 (PARMS): Do not use macros from bp-asm.h.
17511 (__posix_fadvise64_l64): Do not use BP_SYM.
17512 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17513 (PARMS): Do not use macros from bp-asm.h.
17514 (NSOPS): Likewise.
17515 (semtimedop): Do not use BP_SYM.
17516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17517 and <bp-asm.h>.
17518
582a3cff
AM
175192013-02-21 Allan McRae <allan@archlinux.org>
17520
17521 * manual/message.texi (Charset conversion in gettext):
17522 Move @end statement to beginning of line.
17523
bab8a695
SP
175242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17525
80945231
SP
17526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17527 static.
17528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17529 Likewise.
17530
bab8a695
SP
17531 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17532 (denorm): Likewise.
17533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17535
e21d7aa7
AK
175362013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17537
17538 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17539 tail-call to the resolved function if pltexit isn't needed.
17540
4c7a4263
SP
175412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17542
17543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17544 or Y being zero as being unlikely.
17545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17546 Likewise.
17547
41f49342
CD
175482013-02-20 Carlos O'Donell <carlos@redhat.com>
17549
17550 * manual/nss.texi (System Databases and Name Service Switch):
17551 Remove frobnicate @pxref.
17552
50022a93
TS
175532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17554
17555 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17556 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17557
08cbd996
PM
175582013-02-20 Petr Machata <pmachata@redhat.com>
17559
17560 * elf/elf.h (R_ARM_TARGET1): New macro.
17561 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17562 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17563 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17564 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17565 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17566 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17567 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17568 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17569 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17570 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17571 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17572 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17573 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17574 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17575 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17576 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17577 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17578 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17579 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17580 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17581 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17582 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17583 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17584 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17585 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17586 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17587 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17588 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17589 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17590 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17591 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17592 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17593 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17594 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17595 (R_ARM_THM_GOT_BREL12): Likewise.
17596 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17597 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17598 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17599 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17600 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17601 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17602 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17603 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17604 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17605
c7b275d6
TS
176062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17607
17608 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17609 __attribute_used__ to __attribute__ ((unused)).
17610
20cd7fb3
SP
176112013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17612
17613 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17614 powerpc mpa.c.
17615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17616 comment formatting.
17617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17618
92945b52
JM
176192013-02-19 Joseph Myers <joseph@codesourcery.com>
17620
17621 [BZ #13550]
17622 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17623 Remove macro.
17624 (ENTER): Remove both macro definitions.
17625 (LEAVE): Likewise.
17626 (CHECK_BOUNDS_LOW): Likewise.
17627 (CHECK_BOUNDS_HIGH): Likewise.
17628 (CHECK_BOUNDS_BOTH): Likewise.
17629 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17630 (RETURN_BOUNDED_POINTER): Likewise.
17631 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17632 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17633 (POP_ERRNO_LOCATION_RETURN): Likewise.
17634 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17635 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17636 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17637 macros.
17638 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17639 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17640 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17641 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17642 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17643 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17644 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17645 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17646 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17647 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17648 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17649 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17650 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17651 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17652 removed macros.
17653 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17654 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17655 macros.
17656 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17657 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17658 * sysdeps/i386/i586/memset.S (memset): Likewise.
17659 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17660 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17661 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17662 macros.
17663 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17664 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17665 Change uses of L(2) to L(out).
17666 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17667 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17668 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17669 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17670 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17671 removed macros.
17672 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17673 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17674 macros.
17675 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17676 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17677 (RETURN): Do not use macro LEAVE.
17678 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17679 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17680 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17681 * sysdeps/i386/i686/memset.S (memset): Likewise.
17682 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17683 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17684 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17685 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17686 Likewise.
17687 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17688 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17689 L(1_2) and L(1_3) into L(1).
17690 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17691 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17692 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17693 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17694 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17695 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17696 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17697 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17698 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17699 macros.
17700 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17701 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17702 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17703 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17704 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17705 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17706 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17707 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17708 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17709 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17710 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17711 * sysdeps/i386/strspn.S (strspn): Likewise.
17712 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17713 conditional code.
17714 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17715 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17716 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17717 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17718 L(1_3) into L(1_1).
17719 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17720 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17721 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17722 macros.
17723 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17724
2389741a
JJ
177252013-02-19 Jakub Jelinek <jakub@redhat.com>
17726
17727 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17728 macro.
17729
2016b3cd
SP
177302013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17731
e4f22324
SP
17732 * math/atest-exp.c (exp_mpn): Remove ROUND.
17733 * math/atest-exp2.c (exp_mpn): Likewise.
17734 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17735
2016b3cd
SP
17736 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17737 * stdlib/tst-tls-atexit-lib.c: Likewise.
17738 * stdlib/tst-tls-atexit.c: Likewise.
17739
4be9b544
MF
177402013-02-18 Mike Frysinger <vapier@gentoo.org>
17741
17742 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17743 and __attribute_alloc_size__.
17744
2f62b9ee
MF
177452013-02-18 Mike Frysinger <vapier@gentoo.org>
17746
17747 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17748 __attribute_alloc_size__.
17749 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17750 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17751
6ff444c4
MF
177522013-02-18 Mike Frysinger <vapier@gentoo.org>
17753
17754 * include/programs/xmalloc.h: New file.
17755 * catgets/gencat.c: Include it.
17756 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17757 * elf/pldd.c: Likewise.
17758 * iconv/iconv_charmap.c: Likewise.
17759 * iconv/iconvconfig.c: Likewise.
17760 * iconv/strtab.c: Likewise.
17761 * locale/programs/locale.c: Likewise.
17762 * locale/programs/localedef.h: Likewise.
17763 * locale/programs/simple-hash.c: Likewise.
17764 * nscd/nscd.h: Likewise.
17765 * nss/makedb.c: Likewise.
17766 * sysdeps/generic/ldconfig.h: Likewise.
17767
be179c8a
SP
177682013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17769
ba384f6e
SP
17770 * Versions.def: Add GLIBC_2.18.
17771 * include/link.h (struct link_map): New member l_tls_dtor_count.
17772 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17773 (__call_tls_dtors): Likewise.
17774 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17775 __cxa_thread_atexit_impl.
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17777 Likewise.
17778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17779 Likewise.
17780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17781 Likewise.
17782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17783 Likewise.
17784 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17786 Likewise.
17787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17788 Likewise.
17789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17791 Likewise.
17792 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17793 (tests): Add test case tst-tls-atexit.
17794 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17795 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17796 (GLIBC_PRIVATE): Add __call_tls_dtors.
17797 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17798 for libstdc++.
17799 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17800 * stdlib/tst-tls-atexit.c: New test case.
17801 * stdlib/tst-tls-atexit-lib.c: New test case.
17802
ffaa74cf 17803 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17804
be179c8a
SP
17805 * elf/Versions (ld): Add _dl_find_dso_for_object.
17806 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17807 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17808 (dl_open_worker): Use _dl_find_dso_for_object.
17809 * elf/dl-sym.c (do_sym): Likewise.
17810 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17811
f78b5caa
AK
178122013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17813
17814 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17815 Syntactic changes only.
17816 (_dl_runtime_profile): Do a tail-call to the resolved function.
17817
29691210
JM
178182013-02-17 Joseph Myers <joseph@codesourcery.com>
17819
17820 [BZ #13550]
17821 * sysdeps/x86_64/bp-asm.h: Remove file.
17822 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17823 <bp-sym.h> and <bp-asm.h>.
17824 (__clone): Do not use BP_SYM.
17825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17826 <bp-sym.h> and <bp-asm.h>.
17827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17828 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17829 "bp-asm.h".
17830 (_setjmp): Do not use BP_SYM.
17831 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17832 "bp-asm.h".
17833 (setjmp): Do not use BP_SYM.
17834 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17835 libc_hidden_def.
17836 (mempcpy): Do not use BP_SYM in weak_alias.
17837 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17838 "bp-asm.h".
17839 (strchr): Do not use BP_SYM.
17840 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17841 "bp-asm.h".
17842 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17843 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17844 (_start): Do not use BP_SYM.
17845 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17846 "bp-asm.h".
17847 (strcat): Do not use BP_SYM.
17848 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17849 "bp-asm.h".
17850 (STRCMP): Do not use BP_SYM.
17851 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17852 "bp-asm.h".
17853 (STRCPY): Do not use BP_SYM.
17854 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17855 "bp-asm.h".
17856 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17857 "bp-asm.h".
17858 (FUNCTION): Do not use BP_SYM.
17859 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17860 weak_alias.
17861 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17862
f238fd19
AJ
178632013-02-17 Andreas Jaeger <aj@suse.de>
17864
17865 * time/Versions: Sort entries.
17866 * string/Versions: Likewise.
17867 * resolv/Versions: Likewise.
17868 * posix/Versions: Likewise.
17869 * iconv/Versions: Likewise.
17870 * elf/Versions: Likewise.
17871 * wcsmbs/Versions: Likewise.
17872
bd07f23c 178732013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17874
22af19f9
SP
17875 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17876 loop termination condition.
17877
4709fe76
SP
17878 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17879 variable to calculate EZ.
17880 (__sqr): Likewise.
2d0e0f29
SP
17881
17882 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17883 the lower precision input.
17884
daaa7713
JM
178852013-02-15 Joseph Myers <joseph@codesourcery.com>
17886
17887 [BZ #13550]
17888 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17889 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17890 (run-via-rtld-prefix): Do not handle %-bp tests.
17891 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17892 (all-object-suffixes): Remove .ob.
17893 (bppfx): Remove variable.
17894 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17895 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17896 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17897 [$(build-bounded) = yes] (libtype.ob): Likewise.
17898 * Makerules (elide-routines.ob): Remove variable.
17899 (do-tests-clean): Do not handle *-bp.out.
17900 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17901 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17902 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17903 (tests): Do not include $(tests-bp.out).
17904 (xtests): Do not include $(xtests-bp.out).
17905 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17906 [$(build-bounded) = yes] ($(addprefix
17907 $(objpfx),$(binaries-bounded))): Remove rule.
17908 ($(objpfx)%-bp.out): Remove rule.
17909 * config.make.in (build-bounded): Remove variable.
17910 * crypt/Makefile [$(build-bounded) = yes]
17911 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17912 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17913 append to variable.
17914 [$(build-bounded) = yes] (install-lib): Likewise.
17915 [$(build-bounded) = yes] (generated): Likewise.
17916 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17917 Remove rule.
17918 * intl/Makefile [$(build-bounded) = yes]
17919 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17920 * math/Makefile [$(build-bounded) = yes]
17921 ($(tests:%=$(objpfx)%-bp): Likewise.
17922 * misc/Makefile [$(build-bounded) = yes]
17923 ($(objpfx)tst-tsearch-bp): Likewise.
17924 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17925 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17926 Remove dependency.
17927 * string/Makefile (o-objects.ob): Remove variable.
17928 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17929 (CFLAGS-.ob): Remove variable.
17930 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17931 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17932 both definitions of variable.
17933 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17934 (ASFLAGS-.ob): Remove variable.
17935
e97ed6dd
JM
179362013-02-14 Joseph Myers <joseph@codesourcery.com>
17937
2bdd4ca6
JM
17938 [BZ #13550]
17939 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17940 Remove __BOUNDED_POINTERS__ from condition.
17941 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17942 * string/bits/string2.h [!__NO_STRING_INLINES &&
17943 !__BOUNDED_POINTERS__]: Likewise.
17944 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17945 Likewise.
17946 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17947 Remove conditional code.
17948 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17949 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17950 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17951 condition.
17952
e97ed6dd
JM
17953 [BZ #13550]
17954 * csu/libc-start.c: Do not include <bp-sym.h>.
17955 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17956 * elf/dl-open.c: Do not include <bp-sym.h>.
17957 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17958 * math/fegetenv.c: Do not include <bp-sym.h>.
17959 (fegetenv): Do not use BP_SYM in versioned symbols.
17960 * nptl/sysdeps/pthread/bits/libc-lockP.h
17961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17962 <bp-sym.h>.
17963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17964 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17966 (__pthread_mutex_destroy): Likewise.
17967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17968 (__pthread_mutex_lock): Likewise.
17969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17970 (__pthread_mutex_trylock): Likewise.
17971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17972 (__pthread_mutex_unlock): Likewise.
17973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17974 (__pthread_mutexattr_init): Likewise.
17975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17976 (__pthread_mutexattr_destroy): Likewise.
17977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17978 (__pthread_mutexattr_settype): Likewise.
17979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17980 (__pthread_rwlock_init): Likewise.
17981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17982 (__pthread_rwlock_destroy): Likewise.
17983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17984 (__pthread_rwlock_rdlock): Likewise.
17985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17986 (__pthread_rwlock_tryrdlock): Likewise.
17987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17988 (__pthread_rwlock_wrlock): Likewise.
17989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17990 (__pthread_rwlock_trywrlock): Likewise.
17991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17992 (__pthread_rwlock_unlock): Likewise.
17993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17994 (__pthread_key_create): Likewise.
17995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17996 (__pthread_setspecific): Likewise.
17997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17998 (__pthread_getspecific): Likewise.
17999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18000 Likewise.
18001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18002 (_pthread_cleanup_push_defer): Likewise.
18003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18004 (_pthread_cleanup_pop_restore): Likewise.
18005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18006 (pthread_setcancelstate): Likewise.
18007 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18008 <bp-sym.h>.
18009 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18010 (memchr): Do not use BP_SYM in weak_alias.
18011 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18012 (fegetenv): Do not use BP_SYM in versioned symbols.
18013 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18014 (fesetenv): Do not use BP_SYM in versioned symbols.
18015 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18016 (feupdateenv): Do not use BP_SYM in versioned symbols.
18017 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18018 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18019 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18020 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18021 (open64): Do not use BP_SYM in weak_alias.
18022 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18023 (fegetenv): Do not use BP_SYM in versioned symbols.
18024 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18025 (fesetenv): Do not use BP_SYM in versioned symbols.
18026 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18027 (feupdateenv): Do not use BP_SYM in versioned symbols.
18028 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18029 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18030 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18031 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18032 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18033 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18034 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18035 <bp-sym.h>.
18036 (__libc_start_main): Do not use BP_SYM.
18037
d6752ccd
SP
180382013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18039
cb57ce60
SP
18040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18041 redundant return line.
18042 (norm): Likewise.
18043 (denorm): Likewise.
18044 (dbl_mp): Likewise.
18045 (sub_magnitudes): Likewise.
18046 (__add): Likewise.
18047 (__sub): Likewise.
18048 (__mul): Likewise.
18049 (__inv): Likewise.
18050 (__dvd): Likewise.
18051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18052 (norm): Likewise.
18053 (denorm): Likewise.
18054 (dbl_mp): Likewise.
18055 (sub_magnitudes): Likewise.
18056 (__add): Likewise.
18057 (__sub): Likewise.
18058 (__mul): Likewise.
18059 (__inv): Likewise.
18060 (__dvd): Likewise.
18061
f414520d
SP
18062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18063 instead of __mul.
18064 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18065 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18066 (cc32): Likewise.
18067
d6752ccd
SP
18068 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18069 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18071 of __mul for squares.
18072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18073 function
18074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18075 Likewise.
18076 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18077 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18078
70d9946a
JM
180792013-02-13 Joseph Myers <joseph@codesourcery.com>
18080
18081 [BZ #13550]
18082 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18083 code.
18084 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18085 prototype or function definition. Rename ubp_* variables and
18086 parameters. Remove argv definitions conditional on
18087 [__BOUNDED_POINTERS__].
18088 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18089 * elf/dl-runtime.c (_dl_fixup): Likewise.
18090 * include/set-hooks.h (RUN_HOOK): Likewise.
18091 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18092 definition.
18093 * string/strcpy.c (strcpy): Do not use __unbounded.
18094 * sysdeps/generic/frame.h (struct layout): Likewise.
18095 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18096 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18097 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18098 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18099 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18100 (__backtrace): Likewise.
18101 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18102 use __ptrvalue.
18103 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18104 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18105 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18106 Likewise.
18107 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18108 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18109 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18110 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18111 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18112 Do not use __unbounded.
18113 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18114 Rename __unboundedrlimits parameter to rlimits in prototype.
18115 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18116 Do not use __unbounded.
18117 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18118 not use __ptrvalue.
18119 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18120 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18121 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18122 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18123 __ptrvalue or __unbounded.
18124 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18125 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18126 use __unbounded.
18127 (__new_msgctl): Do not use __ptrvalue.
18128 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18129 __unbounded.
18130 (__libc_msgrcv): Do not use __ptrvalue.
18131 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18132 startup_info): Do not use __unbounded.
18133 (__libc_start_main): Likewise. Rename ubp_* variables and
18134 parameters. Remove argv definitions conditional on
18135 [__BOUNDED_POINTERS__].
18136 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18137 __ptrvalue.
18138 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18139 use __unbounded.
18140 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18141 or __ptrvalue.
18142 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18143 use __unbounded.
18144 (__new_shmctl): Do not use __ptrvalue.
18145 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18146 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18147 Likewise.
18148 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18150 (__libc_sigaction): Likewise.
18151 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18152 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18153 Likewise.
18154 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18155
cc7834d6
OB
181562013-02-13 Ondřej Bílka <neleai@seznam.cz>
18157
ffb1ec7b 18158 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18159
18160 * string/mempcpy.c: Implement by calling memcpy.
18161
bdf02814
SP
181622013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18163
c2af38aa
SP
18164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18165
4e92d59e
SP
18166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18167 evaluation.
18168
909279a5
SP
18169 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18170 values in the mantissa.
18171
bdf02814
SP
18172 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18173 minimize writes to Z.
18174 (sub_magnitudes): Simplify code a bit.
18175
cd525923
RM
181762013-02-12 Roland McGrath <roland@hack.frob.com>
18177
18178 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18179 from the message. The linker prefixes all warnings with that already.
18180
7e2f0d2d
AS
181812013-02-12 Andreas Schwab <schwab@suse.de>
18182
a445af0b
AS
18183 [BZ #15078]
18184 * posix/regexec.c (extend_buffers): Add parameter min_len.
18185 (check_matching): Pass minimum needed length.
18186 (clean_state_log_if_needed): Likewise.
18187 (get_subexp): Likewise.
18188 * posix/Makefile (tests): Add bug-regex34.
18189 (bug-regex34-ENV): Define.
18190 * posix/bug-regex34.c: New file.
18191
7e2f0d2d
AS
18192 [BZ #11561]
18193 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18194 elements compare against the byte sequence of it, not its name.
18195 * posix/Makefile (tests): Add bug-regex35.
18196 (bug-regex35-ENV): Define.
18197 * posix/bug-regex35.c: New file.
18198
a175b684
TV
181992013-02-11 Tom de Vries <tom@codesourcery.com>
18200
18201 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18202 comment.
18203 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18204 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18205 (CHECK_EOL): Add undef.
18206
310998fe 182072013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18208
18209 * bits/stdlib-bsearch.h: New file.
18210 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18211 * stdlib/stdlib.h: Likewise.
41eda41d 18212
8ded91fb
RM
182132013-02-11 Roland McGrath <roland@hack.frob.com>
18214
18215 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18216 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18217 declaration.
18218 * manual/search.texi (Array Search Function): Add missing const in
18219 lfind prototype.
18220 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18221 declaration to use rlim_t.
18222 (Basic Scheduling Functions): Remove erroneous const from
18223 sched_getparam prototype. Remove erroneous * from
18224 sched_get_priority_max and sched_get_priority_min prototypes.
18225 (Resource Usage): Fix summary @comment on vtimes to refer to
18226 sys/vtimes.h rather than vtimes.h.
18227 Add missing *s in vtimes prototype.
18228 (Limits on Resources): Fix ulimit prototype to return long int.
18229 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18230 prototypes to use long int rather than double.
18231 (BSD Random): Fix initstate and setstate to use char *, not void *.
18232 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18233 prototype to make second argument 'struct aiocb64 *const[]'.
18234 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18235 (Status of AIO Operations): Remove erroneous const in aio_return and
18236 aio_return64 prototypes.
18237 (Synchronizing I/O): Fix sync prototype to return void.
18238 * manual/startup.texi (Suboptions): Remove an erroneous const in
18239 getsubopt prototype.
18240 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18241 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18242 use size_t rather than int.
18243 (Scanning All Users): Likewise for getpwent_r.
18244 (Setting Groups): Add missing const to setgroups prototype.
18245 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18246 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18247 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18248 'const void *' rather than 'const char *'.
18249 (Host Address Functions): Likewise for inet_ntop.
18250 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18251 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18252 ssize_t for return value.
18253 (Sending Data): Likewise for send, sendto, sendmsg.
18254 (Socket Option Functions): Add a missing const in setsockopt prototype.
18255 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18256 use wchar_t for the argument.
18257 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18258 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18259 take no arguments.
18260 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18261 double/float/long double for second argument.
18262 Fix return types of significand, significandf, significandl.
18263 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18264 argument in fchmod prototype.
18265 (File Owner): Use uid_t and gid_t in fchown prototype.
18266 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18267 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18268 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18269 use 'const struct dirent **' as argument types to CMP function pointer
18270 argument.
18271 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18272 (File Times): Fix summary magic @comment for struct utimbuf and utime
18273 to refer to utime.h, not time.h.
18274 * manual/string.texi (Argz Functions): Add missing const in
18275 argz_extract and argz_next prototypes.
18276 (Finding Tokens in a String): Likewise for basename.
18277 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18278 (Copying and Concatenation): Fix typo in wmemmove prototype.
18279 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18280 (Signal Stack): Remove erroneous const in sigstack prototype.
18281 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18282 prototype.
18283 (Simple Calendar Time): Likewise for stime.
18284 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18285 prototype.
18286 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18287 say sys/sysctl.h instead.
18288 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18289 and vsyslog prototypes.
18290
fe77fe6d
TV
182912013-02-11 Tom de Vries <tom@codesourcery.com>
18292
18293 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18294 Remove.
18295
3a09b620
RM
182962013-02-11 Roland McGrath <roland@hack.frob.com>
18297
18298 * misc/sys/mman.h: Fix typo in mremap comment.
18299
550a0b89
RM
183002013-02-08 Roland McGrath <roland@hack.frob.com>
18301
18302 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18303 the '\0' terminator.
18304
a2da1673
JM
183052013-02-08 Joseph Myers <joseph@codesourcery.com>
18306
18307 [BZ #13550]
18308 * debug/segfault.c: Don't include <bp-checks.h>.
18309 * sysdeps/generic/bp-checks.h: Remove file.
18310 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18311 (__GETDENTS): Don't use CHECK_N.
18312 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18313 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18314 (__getgroups): Don't use CHECK_N.
18315 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18316 (setgroups): Don't use CHECK_N.
18317 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18318 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18319 (__libc_msgrcv): Don't use CHECK_N.
18320 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18321 (__libc_msgsnd): Don't use CHECK_N.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18323 <bp-checks.h>.
18324 (__libc_pread): Don't use CHECK_N.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18326 include <bp-checks.h>.
18327 (__libc_pread64): Don't use CHECK_N.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18329 include <bp-checks.h>.
18330 (__libc_pwrite): Don't use CHECK_N.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18332 include <bp-checks.h>.
18333 (__libc_pwrite64): Don't use CHECK_N.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18335 <bp-checks.h>.
18336 (__libc_pread): Don't use CHECK_N.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18338 include <bp-checks.h>.
18339 (__libc_pread64): Don't use CHECK_N.
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18341 include <bp-checks.h>.
18342 (__libc_pwrite): Don't use CHECK_N.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18344 include <bp-checks.h>.
18345 (__libc_pwrite64): Don't use CHECK_N.
18346 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18347 (do_pread): Don't use CHECK_N.
18348 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18349 (do_pread64): Don't use CHECK_N.
18350 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18351 (do_pwrite): Don't use CHECK_N.
18352 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18353 (do_pwrite64): Don't use CHECK_N.
18354 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18355 (__libc_readv): Don't use CHECK_N.
18356 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18357 (semop): Don't use CHECK_N.
18358 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18359 <bp-checks.h>.
18360 (semtimedop): Don't use CHECK_N.
18361 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18362 (__libc_pread): Don't use CHECK_N.
18363 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18364 <bp-checks.h>.
18365 (__libc_pread64): Don't use CHECK_N.
18366 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18367 <bp-checks.h>.
18368 (__libc_pwrite): Don't use CHECK_N.
18369 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18370 <bp-checks.h>.
18371 (__libc_pwrite64): Don't use CHECK_N.
18372 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18373 <bp-checks.h>.
18374 (__libc_msgrcv): Don't use CHECK_N.
18375 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18376 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18377 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18378 (__libc_writev): Don't use CHECK_N.
18379
b84660a8
RM
183802013-02-08 Roland McGrath <roland@hack.frob.com>
18381
7f3e75f8
RM
18382 * string/strcpy.c: Removed unused variable.
18383
b84660a8
RM
18384 * Makeconfig (+sysdep-includes): Define with := rather than =.
18385 Use an existing include/ subdir of each sysdeps dir before it.
18386
471514d3
CD
183872013-02-08 Carlos O'Donell <carlos@redhat.com>
18388
18389 * nscd/connection.c (register_traced_file): Comment function.
18390 [HAVE_INOTIFY] (union __inev): Define.
18391 [HAVE_INOTIFY] (inotify_check_files): New function.
18392 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18393 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18394 clear_db_cache.
18395 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18396
b2d3c3be
CD
183972013-02-08 Carlos O'Donell <carlos@redhat.com>
18398
18399 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18400 loaded if not already and that a failure is permanent.
18401
b39949d2
CD
184022013-02-08 Carlos O'Donell <carlos@redhat.com>
18403
ddacd1db 18404 [BZ #15006]
b39949d2
CD
18405 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18406 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18407
b2c9eff4
JM
184082013-02-08 Joseph Myers <joseph@codesourcery.com>
18409
f3aae3f3
JM
18410 [BZ #13550]
18411 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18412 (CHECK_1_NULL_OK): Likewise.
18413 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18414 (__fxstat): Do not use CHECK_1.
18415 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18416 <bp-checks.h>.
18417 (___fxstat64): Do not use CHECK_1.
18418 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18419 <bp-checks.h>.
18420 (__fxstatat): Do not use CHECK_1.
18421 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18422 <bp-checks.h>.
18423 (__fxstatat64): Do not use CHECK_1.
18424 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18425 <bp-checks.h>.
18426 (__fxstat): Do not use CHECK_1.
18427 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18428 <bp-checks.h>.
18429 (__fxstatat): Do not use CHECK_1.
18430 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18431 <bp-checks.h>.
18432 (__getresgid): Do not use CHECK_1.
18433 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18434 <bp-checks.h>.
18435 (__getresuid): Do not use CHECK_1.
18436 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18437 <bp-checks.h>.
18438 (__lxstat): Do not use CHECK_1.
18439 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18440 <bp-checks.h>.
18441 (__old_msgctl): Do not use CHECK_1.
18442 (__new_msgctl): Likewise.
18443 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18444 <bp-checks.h>.
18445 (__new_setrlimit): Do not use CHECK_1.
18446 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18447 <bp-checks.h>.
18448 (__old_shmctl): Do not use CHECK_1.
18449 (__new_shmctl): Likewise.
18450 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18451 <bp-checks.h>.
18452 (__xstat): Do not use CHECK_1.
18453 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18454 (__lxstat): Do not use CHECK_1.
18455 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18456 <bp-checks.h>.
18457 (___lxstat64): Do not use CHECK_1.
18458 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18459 (__old_msgctl): Do not use CHECK_1.
18460 (__new_msgctl): Likewise.
18461 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18462 <bp-checks.h>.
18463 (__gettimeofday): Do not use CHECK_1.
18464 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18465 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18466 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18467 <bp-checks.h>.
18468 (__gettimeofday): Do not use CHECK_1.
18469 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18470 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18471 (__new_shmctl): Do not use CHECK_1.
18472 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18473 <bp-checks.h>.
18474 (do_sigtimedwait): Do not use CHECK_1.
18475 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18476 <bp-checks.h>.
18477 (do_sigwaitinfo): Do not use CHECK_1.
18478 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18479 <bp-checks.h>.
18480 (msgctl): Do not use CHECK_1.
18481 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18482 <bp-checks.h>.
18483 (shmctl): Do not use CHECK_1.
18484 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18485 (ustat): Do not use CHECK_1.
18486 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18487 <bp-checks.h>.
18488 (__fxstat): Do not use CHECK_1.
18489 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18490 <bp-checks.h>.
18491 (__fxstatat): Do not use CHECK_1.
18492 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18493 <bp-checks.h>.
18494 (__lxstat): Do not use CHECK_1.
18495 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18496 <bp-checks.h>.
18497 (__xstat): Do not use CHECK_1.
18498 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18499 (__xstat): Do not use CHECK_1.
18500 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18501 (___xstat64): Do not use CHECK_1.
18502
b2c9eff4
JM
18503 [BZ #13550]
18504 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18505 definitions.
18506 (CHECK_BOUNDS_HIGH): Likewise.
18507 * string/strcpy.c: Do not include <bp-checks.h>.
18508 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18509
f1d70dad
RM
185102013-02-07 Roland McGrath <roland@hack.frob.com>
18511
18512 * nscd/nscd-client.h (__nscd_drop_map_ref):
18513 Add __attribute__ ((unused)).
18514 * nis/nss-nisplus.h (niserr2nss): Likewise.
18515
18516 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18517 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18518
18519 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18520 Remove inline keyword.
18521 * include/rounding-mode.h (round_away): Likewise.
18522 * libio/wfileops.c (adjust_wide_data): Likewise.
18523 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18524 (__m128i_strloadu_tolower): Likewise.
18525 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18526 (__m128i_strloadu_tolower): Likewise.
18527 * time/mktime.c (ydhms_diff): Likewise.
18528 * locale/elem-hash.h (elem_hash): Likewise.
18529 * locale/setlocale.c (setdata): Likewise.
18530 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18531 (re_string_wchar_at): Likewise.
18532 (bitset_not, bitset_merge, bitset_mask): Likewise.
18533 [!(__GNUC__ > 3)] (inline): Remove macro.
18534 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18535 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18536 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18537 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18538 * string/memcmp.c (memcmp_bytes): Likewise.
18539 * locale/programs/locarchive.c (compute_hashval): Likewise.
18540 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18541 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18542 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18543 * nss/getent.c (print_rpc, print_protocols): Likewise.
18544 (print_passwd, print_group, print_aliases): Likewise.
18545 * nis/nss-nisplus.h (niserr2nss): Likewise.
18546 * nscd/connections.c (restart_p): Likewise.
18547 Change return type to bool.
18548
eab55bfb
RM
185492013-02-05 Roland McGrath <roland@hack.frob.com>
18550
7bd642f5
RM
18551 * Makeconfig (all-Depend-files): Add existing
18552 $(sorted-subdirs:=/Depend) files.
18553 (all-subdirs): Remove nss.
18554 * sysdeps/unix/inet/Subdirs: Add it here instead.
18555 * hesiod/Depend: New file.
18556
573c29b2
RM
18557 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18558 instead of calling alloca.
18559
b2e25af0
RM
18560 * io/lseek.c (__lseek): Rename to __libc_lseek.
18561 Define __lseek as an alias.
18562
eab55bfb
RM
18563 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18564
9a0d1941
CD
185652013-02-04 Carlos O'Donell <carlos@redhat.com>
18566
18567 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18568 else clause and remove check for non-standard endianness.
18569
b83bbec4
DM
185702013-02-04 David S. Miller <davem@davemloft.net>
18571
18572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18573
6277fdab
JM
185742013-02-04 Joseph Myers <joseph@codesourcery.com>
18575
18576 [BZ #13550]
18577 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18578 (__ubp_memchr): Remove prototype.
18579 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18580 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18581 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18582 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18583 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18584 Remove alias.
18585 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18586 (__ubp_memchr): Likewise.
18587 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18588 (__ubp_memchr): Likewise.
18589 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18590 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18591 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18592 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18593 CHECK_STRING.
18594 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18595 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18596 (__getcwd): Do not use CHECK_STRING.
18597 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18598 <bp-checks.h>.
18599 (__real_chown): Do not use CHECK_STRING.
18600 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18601 <bp-checks.h>.
18602 (fchownat): Do not use CHECK_STRING.
18603 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18604 CHECK_STRING.
18605 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18606 <bp-checks.h>.
18607 (__lchown): Do not use CHECK_STRING.
18608 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18609 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18610 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18611 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18613 include <bp-checks.h>.
18614 (truncate64): Do not use CHECK_STRING.
18615 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18616 <bp-checks.h>.
18617 (__real_chown): Do not use CHECK_STRING.
18618 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18619 <bp-checks.h>.
18620 (__lchown): Do not use CHECK_STRING.
18621 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18622 <bp-checks.h>.
18623 (__chown): Do not use CHECK_STRING.
18624 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18625 <bp-checks.h>.
18626 (truncate64): Do not use CHECK_STRING.
18627 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18628 Likewise.
18629 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18630 (__xmknod): Do not use CHECK_STRING.
18631 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18632 <bp-checks.h>.
18633 (__xmknodat): Do not use CHECK_STRING.
18634 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18635 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18636
903ae060
AS
186372013-02-04 Andreas Schwab <schwab@suse.de>
18638
18639 [BZ #14142]
18640 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18641 * include/netdb.h: Likewise for h_errno.
18642 * elf/tst-stackguard1.c: Include <tls.h>.
18643
542f9466
JK
186442013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18645
18646 * elf/link.h (struct link_map): Extend the l_addr comment.
18647 * include/link.h (struct link_map): Likewise.
18648
e782a927
JM
186492013-02-01 Joseph Myers <joseph@codesourcery.com>
18650
18651 [BZ #13550]
18652 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18653 (BOUNDED_1): Remove macro.
18654 * debug/backtrace.c: Don't include <bp-checks.h>.
18655 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18656 (__backtrace): Likewise.
18657 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18658 <bp-checks.h>.
18659 (__backtrace): Don't use BOUNDED_1.
18660 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18661 <bp-checks.h>.
18662 (__backtrace): Don't use BOUNDED_1.
18663 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18664 (__backtrace): Don't use BOUNDED_1.
18665 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18666 (shmat): Don't use BOUNDED_N.
18667
8cf28c5e
JM
186682013-01-31 Joseph Myers <joseph@codesourcery.com>
18669
3a7ac8a0
JM
18670 [BZ #13550]
18671 * sysdeps/generic/bp-start.h: Remove file.
18672 * csu/libc-start.c: Don't include <bp-start.h>.
18673 (LIBC_START_MAIN): Set up __environ directly instead of using
18674 INIT_ARGV_and_ENVIRON.
18675 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18676 <bp-start.h>.
18677
f3499f95
JM
18678 [BZ #13550]
18679 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18680 definitions.
18681 (CHECK_FCNTL): Likewise.
18682 (CHECK_N_PAGES): Likewise.
18683
32a45bea
JM
18684 [BZ #13550]
18685 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18686 definitions.
18687 (CHECK_SIGSET_NULL_OK): Likewise.
18688 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18689 <bp-checks.h>.
18690 (sigpending): Don't use CHECK_SIGSET.
18691 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18692 <bp-checks.h>.
18693 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18694 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18695 <bp-checks.h>.
18696 (do_sigsuspend): Don't use CHECK_SIGSET.
18697 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18698 use CHECK_SIGSET.
18699 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18700 (do_sigwait): Don't use CHECK_SIGSET.
18701 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18702 use CHECK_SIGSET.
18703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18704 include <bp-checks.h>.
18705 (sigpending): Don't use CHECK_SIGSET.
18706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18707 include <bp-checks.h>.
18708 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18709 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18710 <bp-checks.h>.
18711 (sigpending): Don't use CHECK_SIGSET.
18712 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18713 <bp-checks.h>.
18714 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18715
2e8a5c8c
JM
18716 [BZ #13550]
18717 * sysdeps/generic/bp-semctl.h: Remove file.
18718 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18719 <bp-checks.h> and <bp-semctl.h>.
18720 (__old_semctl): Don't use CHECK_SEMCTL.
18721 (__new_semctl): Likewise.
18722 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18723 and <bp-semctl.h>.
18724 (__old_semctl): Don't use CHECK_SEMCTL.
18725 (__new_semctl): Likewise.
18726 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18727 <bp-checks.h> and <bp-semctl.h>.
18728 (__old_semctl): Don't use CHECK_SEMCTL.
18729 (__new_semctl): Likewise.
18730 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18731 <bp-checks.h> and <bp-semctl.h>.
18732 (semctl): Don't use CHECK_SEMCTL.
18733
c2d54929
JM
18734 [BZ #13550]
18735 * Makerules (elide-bp-thunks): Remove variable.
18736 (elide-routines.oS): Don't use $(elide-bp-thunks).
18737 (elide-routines.os): Likewise.
18738 (elide-routines.o): Likewise.
18739 (elide-routines.op): Likewise.
18740 (elide-routines.og): Likewise.
18741 (objects): Don't use $(bp-thunks).
18742 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18743 include.
18744 (common-generated): Do not add s-proto-bp.d.
18745 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18746 (int): Likewise.
18747 (typ): Likewise.
18748 Do not generate makefile rules for bounded-pointer thunks.
18749 * sysdeps/generic/bp-thunks.h: Remove file.
18750 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18751 * sysdeps/unix/s-proto-bp.S: Likewise.
18752
8cf28c5e
JM
18753 [BZ #15062]
18754 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18755 parts of result separately when argument is not close to line from
18756 -i to i and one part of argument is small.
18757 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18758 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18759 * math/libm-test.inc (cacos_test): Add more tests.
18760 (casin_test): Likewise.
18761 (casinh_test): Likewise.
18762 * sysdeps/i386/fpu/libm-test-ulps: Update.
18763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18764
c4e33b8d
DM
187652013-01-31 David S. Miller <davem@davemloft.net>
18766
18767 * po/de.po: Update from translation team.
18768
3b60b421
MK
187692013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18770
18771 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18772
bb931195
TS
187732013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18774
b5a5da23
TS
18775 * configure.in (_AC_PROG_CC_C89): New definition.
18776 * configure: Regenerate.
18777
bb931195
TS
18778 * configure.in (AC_PROG_CPP): New definition.
18779 * configure: Regenerate.
18780
8c53a12c
JM
187812013-01-23 Joseph Myers <joseph@codesourcery.com>
18782
18783 * debug/tst-backtrace.h: New file.
18784 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18785 (ret): Remove variable.
18786 (x): Likewise.
18787 (FAIL): Remove macro.
18788 (NO_INLINE): Likewise.
18789 (fn1): Use match function instead of strstr.
18790 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18791 (ret): Remove variable.
18792 (x): Likewise.
18793 (FAIL): Remove macro.
18794 (NO_INLINE): Likewise.
18795 (fn): Use match function instead of strstr.
18796 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18797 (ret): Remove variable.
18798 (x): Likewise.
18799 (FAIL): Remove macro.
18800 (NO_INLINE): Likewise.
18801 (handle_signal): Use match function instead of strstr.
18802 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18803 (ret): Remove variable.
18804 (x): Likewise.
18805 (FAIL): Remove macro.
18806 (NO_INLINE): Likewise.
18807 (handle_signal): Use match function instead of strstr.
18808
4858fa2a
RM
188092013-01-23 Roland McGrath <roland@hack.frob.com>
18810
18811 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18812
bae8e7f5
DM
188132013-01-23 David S. Miller <davem@davemloft.net>
18814
18815 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18816 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18817 argument of CAS if possible.
18818 * sysdeps/sparc/sparc64/bits/atomic.h
18819 (__arch_compare_and_exchange_val_32_acq): Likewise.
18820 (__arch_compare_and_exchange_val_64_acq): Likewise.
18821
9cbbc4ae
PT
188222013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18823
18824 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18825 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18826 Include <limits.h>.
67b3f58c 18827 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18828
5655a0b5
AC
188292013-01-23 Adam Conrad <adconrad@0c3.net>
18830
18831 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18832 (LDFLAGS-tst-array5): Likewise.
18833
052aff95
JM
188342013-01-23 Joseph Myers <joseph@codesourcery.com>
18835
18836 [BZ #15036]
18837 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18838 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18839 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18840 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18841
7c1e01aa
DM
188422013-01-21 David S. Miller <davem@davemloft.net>
18843
18844 * sysdeps/sparc/backtrace.c: New file.
18845 * sysdeps/sparc/sparc32/backtrace.h: New file.
18846 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18847 * sysdeps/sparc/sparc64/backtrace.h: New file.
18848 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18849 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18850 -funwind-tables.
18851
ab087e0a
AS
188522013-01-21 Andreas Schwab <schwab@suse.de>
18853
18854 [BZ #15020]
18855 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18856 closed its stdout.
18857
ed689c2f
AS
188582013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18859
18860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18861 "mpa2.h".
18862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18863
31d470ac
JM
188642013-01-18 Joseph Myers <joseph@codesourcery.com>
18865 Mark Mitchell <mark@codesourcery.com>
18866 Tom de Vries <tom@codesourcery.com>
18867 Paul Pluzhnikov <ppluzhnikov@google.com>
18868
18869 * debug/tst-backtrace2.c: New file.
18870 * debug/tst-backtrace3.c: Likewise.
18871 * debug/tst-backtrace4.c: Likewise.
18872 * debug/tst-backtrace5.c: Likewise.
18873 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18874 (CFLAGS-tst-backtrace3.c): Likewise.
18875 (CFLAGS-tst-backtrace4.c): Likewise.
18876 (CFLAGS-tst-backtrace5.c): Likewise.
18877 (LDFLAGS-tst-backtrace2): Likewise.
18878 (LDFLAGS-tst-backtrace3): Likewise.
18879 (LDFLAGS-tst-backtrace4): Likewise.
18880 (LDFLAGS-tst-backtrace5): Likewise.
18881 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18882 tst-backtrace4 and tst-backtrace5.
18883
90567f30 188842013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18885 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18886
18887 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18888 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18889 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18890 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18892 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18893 "+r" and remove output regs list as redundant. Add explicit inline
18894 asm to specify register of return val to work around compiler codegen
18895 bug. Remove (int) cast on return value. Add return type parameter to
18896 use in macro so that this macro does not truncate return value for
18897 64-bit values.
18898 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18899 pass to INTERNAL_VSYSCALL_NCS.
18900 (INLINE_VSYSCALL): Add 'long int' as return type to
18901 INTERNAL_VSYSCALL_NCS macro invocation.
18902 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18903 INTERNAL_VSYSCALL_NCS macro invocation.
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18905
d3b9ea61
SP
189062013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18907
0b57daeb
SP
18908 [BZ #14496]
18909 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18910 Fix application of SIMD FP exception mask.
18911
caa99d06
SP
18912 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18913 mp_no from a power of two.
18914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18915 __mpexp_twomm1. Use __pow_mp.
18916
d3b9ea61
SP
18917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18918 multiplication.
18919
1dbaee3c
DM
189202013-01-17 David S. Miller <davem@davemloft.net>
18921
18922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18923
728d7b43
JM
189242013-01-17 Joseph Myers <joseph@codesourcery.com>
18925
18926 [BZ #15023]
18927 * include/complex.h: Condition contents on [!_COMPLEX_H].
18928 (__kernel_casinhf): New prototype.
18929 (__kernel_casinh): Likewise.
18930 (__kernel_casinhl): Likewise.
18931 * math/Makefile (libm_calls): Add k_casinh.
18932 * math/k_casinh.c: New file.
18933 * math/k_casinhf.c: Likewise.
18934 * math/k_casinhl.c: Likewise.
18935 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18936 finite nonzero arguments.
18937 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18938 finite nonzero arguments.
18939 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18940 finite nonzero arguments.
18941 * math/s_casinh.c: Do not include <float.h>.
18942 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18943 * math/s_casinhf.c: Do not include <float.h>.
18944 (__casinhf): Move code for finite nonzero arguments to
18945 k_casinhf.c.
18946 * math/s_casinhl.c: Do not include <float.h>.
18947 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18948 redefine.
18949 (__casinhl): Move code for finite nonzero arguments to
18950 k_casinhl.c.
18951 * math/libm-test.inc (cacos_test): Add more tests.
18952 * sysdeps/i386/fpu/libm-test-ulps: Update.
18953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18954
2a26ef3a
PT
189552013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18956
18957 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18958 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18959 [!HAVE_MREMAP]: Remove [defined linux] case.
18960 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18961
a897655d
SP
189622013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18963
18964 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18965
881ebe89 189662013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18967
18968 * elf/elf.h (R_386_SIZE32): New relocation.
18969 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18970 R_386_SIZE32.
18971 (elf_machine_rela): Likewise.
18972 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18973 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18974
59981e9b
JM
189752013-01-17 Joseph Myers <joseph@codesourcery.com>
18976
18977 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18978 (FP_FAST_FMA): Do not define.
18979 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18980 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18981 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18982 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18983 !_SOFT_FLOAT]: Likewise.
18984 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18985 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18986 value.
18987 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18988 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18989 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18990 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18991 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18992 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18993 file.
18994
cfa8054f
AS
189952013-01-16 Andreas Schwab <schwab@suse.de>
18996
18997 [BZ #14327]
18998 * include/stdlib.h (__mktemp): Add declaration.
18999 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19000 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19001
dd930cc5
SP
190022013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19003
881ebe89
SP
19004 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19005 definitions.
19006 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19007 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19008 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19009 definitions here.
19010 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19011 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19012 definitions.
19013 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19014 and ONE.
19015 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19016 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19017 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19018 definitions.
19019 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19020 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19021 definitions.
19022 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19023
dd930cc5
SP
19024 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19025
c19a9f89
DM
190262013-01-15 David S. Miller <davem@davemloft.net>
19027
1aa61767
DM
19028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19029 trunc{,f} to libm-sysdep_routes.
19030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19032 file.
19033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19035 file.
19036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19037 file.
19038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19040 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19041 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19042 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19043 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19044 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19045 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19046
c42d5e98
DM
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19048 nearbyint{,f} to libm-sysdep_routes.
19049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19051 New file.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19053 file.
19054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19055 New file.
19056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19057 file.
19058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19060 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19061 file.
19062 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19063 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19064 file.
19065 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19067 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19068
c19a9f89
DM
19069 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19070 libc_feholdexcept and libc_fesetenv.
19071
357679d2
MF
190722013-01-15 Mike Frysinger <vapier@gentoo.org>
19073
19074 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19075
65a82e3d
DM
190762013-01-14 David S. Miller <davem@davemloft.net>
19077
8b954ab9
DM
19078 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19079 (SPARC_ASM_VIS2_IFUNC): Likewise.
19080 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19082 use of 'siam' instruction.
19083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19084 Likewise.
19085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19086 Likewise.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19088 Likewise.
19089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19094 file.
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19096 file.
19097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19098 file.
19099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19100 file.
19101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19106 new VIS2 routines.
19107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19110 Likewise.
19111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19116 routines to libm-sysdep_routines.
19117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19118
65a82e3d
DM
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19120 fdim/fdimf to libm-sysdep_routines.
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19122 file.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19125 file.
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19129 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19130 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19131 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19132 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19133
e34ab705
SP
191342013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19135
2a91b573
SP
19136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19137 to optimize copies.
19138
1066a534
SP
19139 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19142
e34ab705
SP
19143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19144 local variable MPTWO.
19145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19146 Likewise.
19147
aba5e596
MF
191482013-01-13 Mike Frysinger <vapier@gentoo.org>
19149
19150 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19151 GLOB_NOESCAPE.
19152
e557e9e5
MF
191532013-01-13 Mike Frysinger <vapier@gentoo.org>
19154
19155 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19156
0428cec9
MF
191572013-01-13 Mike Frysinger <vapier@gentoo.org>
19158
19159 * manual/pattern.texi (glob_t): Document gl_flags.
19160 (glob64_t): Likewise.
19161
8794a964
DM
191622013-01-11 David S. Miller <davem@davemloft.net>
19163
66438c3f
RM
19164 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19165 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19166 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19167 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19168 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19169 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19170 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19171 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19172 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19173 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19174 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19175 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19176 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19177
4ae4244d
DM
19178 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19179 sparc V9 rather than using V8 code.
19180 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19181 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19182
8794a964
DM
19183 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19184 Move to...
19185 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19186 Here.
19187
6270516e
RM
191882013-01-11 Roland McGrath <roland@hack.frob.com>
19189
19190 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19191 not in the main loop.
19192 * configure: Regenerated.
19193
6a57d931
JM
191942013-01-11 Joseph Myers <joseph@codesourcery.com>
19195
19196 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19197 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19198 to just #else.
19199 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19200 [!__GLIBC_HAVE_LONG_LONG] case.
19201 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19202 condition to just #else.
19203 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19204 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19205 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19206 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19207 unconditional.
19208 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19209 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19210 #elif condition to just #else.
19211 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19212 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19213 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19214 #elif condition to just #else.
19215
0e8529e9
SE
192162013-01-11 Steve Ellcey <sellcey@mips.com>
19217
19218 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19219 (EF_MIPS_ARCH_64): Fix value.
19220 (EF_MIPS_ARCH_32R2): New.
19221 (EF_MIPS_ARCH_64R2): New.
19222
740b3dbe
L
192232013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19224
19225 * Makeconfig (+link-pie-before-libc): New.
19226 (+link-pie-after-libc): Likewise.
19227 (+link-pie-tests): Likewise.
19228 (+link-pie): Rewritten.
19229 (link-before-libc): Remove $(config-LDFLAGS).
19230 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19231 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19232 (config-LDFLAGS): Renamed to ...
19233 (rtld-LDFLAGS): This.
19234 (rtld-tests-LDFLAGS): New macro.
19235 (link-libc-rpath-link): Likewise.
19236 (link-libc-tests-rpath-link): Likewise.
19237 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19238 (link-libc): Prepand $(link-libc-rpath-link).
19239 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19240 (test-program-prefix): New macro.
19241 (test-via-rtld-prefix): Likewise.
19242 (test-program-cmd): Likewise.
19243 (host-test-program-cmd): Likewise.
19244 * Makefile ($(common-objpfx)testrun.sh): Replace
19245 $(run-program-prefix) with $(test-program-prefix).
19246 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19247 $(rtld-LDFLAGS).
19248 ($(common-objpfx)shlib.lds): Likewise.
19249 (build-module-helper): Likewise.
19250 ($(common-objpfx)format.lds): Likewise.
19251 * Rules (binaries-pie-tests): New.
19252 (binaries-pie-notests): Likewise.
19253 (binaries-pie): Rewritten.
19254 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19255 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19256 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19257 (make-test-out): Replace $(host-built-program-cmd) with
19258 $(host-test-program-cmd).
19259 * config.make.in (build-hardcoded-path-in-tests): New variable.
19260 * configure.in (--enable-hardcoded-path-in-tests): New configure
19261 option.
19262 (hardcoded_path_in_tests): New AC_SUBST.
19263 * configure: Regenerated.
19264 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19265 $(built-program-cmd) with $(test-program-cmd).
19266 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19267 (test_program_cmd): This.
19268 * elf/Makefile ($(objpfx)order.out): Run test with
19269 $(test-program-prefix).
19270 ($(objpfx)order2.out): Likewise.
19271 ($(objpfx)tst-initorder.out): Likewise.
19272 ($(objpfx)tst-initorder2.out): Likewise.
19273 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19274 $(test-program-cmd).
19275 ($(objpfx)tst-array1-static.out): Likewise.
19276 ($(objpfx)tst-array2.out): Likewise.
19277 ($(objpfx)tst-array3.out): Likewise.
19278 ($(objpfx)tst-array4.out): Likewise.
19279 ($(objpfx)tst-array5.out): Likewise.
19280 ($(objpfx)tst-array5-static.out): Likewise.
19281 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19282 $(test-program-cmd).
19283 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19284 $(run-program-prefix) with $(test-program-prefix).
19285 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19286 (test_program_prefix): This.
19287 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19288 $(run-program-prefix) with $(test-program-prefix).
19289 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19290 (test_program_prefix): This.
19291 * iconvdata/tst-tables.sh: Likewise.
19292 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19293 $(run-program-prefix) with $(test-program-prefix).
19294 ($(objpfx)tst-translit.out): Likewise.
19295 ($(objpfx)tst-gettext2.out): Likewise.
19296 ($(objpfx)tst-gettext4.out): Likewise.
19297 ($(objpfx)tst-gettext6.out): Likewise.
19298 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19299 (test_program_prefix): This.
19300 * intl/tst-gettext2.sh: Likewise.
19301 * intl/tst-gettext4.sh Likewise.
19302 * intl/tst-gettext6.sh: Likewise.
19303 * intl/tst-translit.sh: Likewise.
19304 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19305 with $(test-program-cmd).
19306 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19307 $(run-program-prefix) with $(test-program-prefix).
19308 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19309 (test_program_prefix): This.
19310 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19311 $(run-program-prefix) with $(test-program-prefix).
19312 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19313 (test_program_prefix): This.
19314 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19315 * posix/Makefile ($(objpfx)globtest.out): Replace
19316 $(run-via-rtld-prefix) and $(test-wrapper) with
19317 $(test-program-prefix) and $(test-via-rtld-prefix).
19318 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19319 $(test-program-prefix).
19320 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19321 $(host-test-program-cmd).
19322 (tst-spawn-ARGS): Likewise.
19323 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19324 $(test-program-prefix).
19325 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19326 (test_via_rtld_prefix): This.
19327 (test_wrapper): Renamed to ...
19328 (test_program_prefix): This.
19329 (run_program_prefix): Replaced by test_program_prefix.
19330 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19331 (test_program_prefix): This.
19332 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19333 with $(host-test-program-cmd).
19334 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19335 $(run-program-prefix) with $(test-program-prefix).
19336 ($(objpfx)tst-printf.out): Likewise.
19337 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19338 $(test-program-cmd).
19339 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19340 (test_program_prefix): This.
19341 * stdio-common/tst-unbputc.sh: Likewise.
19342 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19343 $(run-program-prefix) with $(test-program-prefix).
19344 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19345 (test_program_prefix): This.
19346 * string/Makefile ($(objpfx)tst-svc.out): Replace
19347 $(built-program-cmd) with $(test-program-cmd).
19348
c6fe55cf
AJ
193492013-01-11 Andreas Jaeger <aj@suse.de>
19350
19351 [BZ #15003]
19352 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19353 value. Sync with Linux 3.7.
19354
9e6919c8
DM
193552013-01-10 David S. Miller <davem@davemloft.net>
19356
19357 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19358 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19359 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19360
1c9f1a02
RM
193612013-01-10 Roland McGrath <roland@hack.frob.com>
19362
19363 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19364 never set.
19365 * configure: Regenerated.
19366
b9de2dde
DM
193672013-01-10 David S. Miller <davem@davemloft.net>
19368
19369 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19370 sparc V9 rather than using V8 code.
19371 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19372 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19373
e7f68ef4
RM
193742013-01-10 Roland McGrath <roland@hack.frob.com>
19375
19376 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19377 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19378 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19379 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19380 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19381 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19382 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19383 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19384 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19385 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19386 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19387 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19388 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19389 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19390 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19391 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19392 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19393 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19394 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19395 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19396 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19397 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19398 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19399 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19400 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19401 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19402 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19403
5a47cc9c
DM
194042013-01-10 David S. Miller <davem@davemloft.net>
19405
19406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19407
4cf8f209
L
194082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19409
19410 * posix/Makefile (tests-static): New variable.
19411 (tests): Add $(tests-static).
19412 (tst-exec-static-ARGS): New variable.
19413 (tst-spawn-static-ARGS): Likewise.
19414 * posix/tst-exec-static.c: New file.
19415 * posix/tst-spawn-static.c: Likewise.
19416 * posix/tst-exec.c: Support run directly.
19417 * posix/tst-spawn.c: Likewise.
19418
fed0faa1
JM
194192013-01-10 Joseph Myers <joseph@codesourcery.com>
19420
828beb13
JM
19421 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19422 long.
19423 * math/bits/mathcalls.h (llrint): Likewise.
19424 (llround): Likewise.
19425 * stdlib/stdlib.h (struct drand48_data): Likewise.
19426 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19427 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19428 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19429 Likewise.
19430 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19431 Likewise.
19432 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19433 (elf_greg_t): Likewise.
19434 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19435 (__jmp_buf): Likewise.
19436 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19437 definitions.
19438 (llrint): Likewise, for all definitions.
19439 (llrintl): Likewise.
19440
fed0faa1
JM
19441 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19442 Remove [__GNUC__] condition.
19443 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19444 condition to just [__USE_ISOC99].
19445 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19446
1a20cb20
L
194472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19448
19449 [BZ #14200]
19450 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19451 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19452 defined.
19453 (_POSIX_V6_ILP32_OFF32): Likewise.
19454 (_XBS5_ILP32_OFF32): Likewise.
19455 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19456 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19457
751b85f7
SP
194582013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19459
7490eb81
SP
19460 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19461
751b85f7
SP
19462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19463 doubles __mpexp_twomm1. Adjust usage.
19464 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19465 Remove.
19466
988197f0
AS
194672013-01-10 Andreas Schwab <schwab@suse.de>
19468
19469 [BZ #14964]
19470 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19471 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19472
e83d7298
DM
194732013-01-09 David S. Miller <davem@davemloft.net>
19474
034ed64b 19475 [BZ #15003]
e83d7298
DM
19476 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19477 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19478 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19479 TCP_FASTOPEN): Define.
19480 (tcp_repair_opt): New structure.
19481 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19482 enum values.
19483 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19484 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19485 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19486 (tcp_cookie_transactions): New structure.
19487
d5e0b9bd
AB
194882013-01-09 Anton Blanchard <anton@samba.org>
19489
19490 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19491 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19492 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19493 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19494
0c07e3ea
JM
194952013-01-09 Joseph Myers <joseph@codesourcery.com>
19496
19497 * include/features.h (__USE_ANSI): Remove.
19498
232f7002
RM
194992013-01-09 Roland McGrath <roland@hack.frob.com>
19500
ad98e30c
RM
19501 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19502
232f7002
RM
19503 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19504
950c99ca
SP
195052013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19506
b5792741
SP
19507 * sysdeps/s390/fpu/libm-test-ulps: Update.
19508
47cf2278
SP
19509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19510
950c99ca
SP
19511 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19512 (__acr): Likewise.
19513 (__cpy): Likewise.
19514 (norm): Likewise.
19515 (denorm): Likewise.
19516 (__mp_dbl): Likewise.
19517 (__dbl_mp): Likewise.
19518 (add_magnitudes): Likewise.
19519 (sub_magnitudes): Likewise.
19520 (__add): Likewise.
19521 (__sub): Likewise.
19522 (__mul): Likewise.
19523 (__inv): Likewise.
19524 (__dvd): Likewise.
19525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19526 (__acr): Likewise.
19527 (__cpy): Likewise.
19528 (norm): Likewise.
19529 (denorm): Likewise.
19530 (__mp_dbl): Likewise.
19531 (__dbl_mp): Likewise.
19532 (add_magnitudes): Likewise.
19533 (sub_magnitudes): Likewise.
19534 (__add): Likewise.
19535 (__sub): Likewise.
19536 (__mul): Likewise.
19537 (__inv): Likewise.
19538 (__dvd): Likewise.
19539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19540 (__acr): Likewise.
19541 (__cpy): Likewise.
19542 (norm): Likewise.
19543 (denorm): Likewise.
19544 (__mp_dbl): Likewise.
19545 (__dbl_mp): Likewise.
19546 (add_magnitudes): Likewise.
19547 (sub_magnitudes): Likewise.
19548 (__add): Likewise.
19549 (__sub): Likewise.
19550 (__mul): Likewise.
19551 (__inv): Likewise.
19552 (__dvd): Likewise.
19553
eede9df9
JM
195542013-01-08 Joseph Myers <joseph@codesourcery.com>
19555
19556 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19557 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19558 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19559 2 && __USE_EXTERN_INLINES]: Likewise.
19560
c40ea3d9
AJ
195612013-01-08 Andreas Jaeger <aj@suse.de>
19562
19563 [BZ# 14985]
19564 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19565 Remove.
19566 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19567 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19568
2ccdea26
AB
195692013-01-07 Anton Blanchard <anton@samba.org>
19570
19571 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19572 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19573 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19574 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19575 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19576 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19577 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19578 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19580 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19581 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19582 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19584 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19585 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19586 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19587 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19588 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19589 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19590 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19591 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19592 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19593 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19594 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19595 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19596 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19597 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19598 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19599 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19600 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19601 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19603 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19604 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19605 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19606 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19607 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19608 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19609 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19610 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19611 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19612 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19613 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19614
a9708fed
JM
196152013-01-07 Joseph Myers <joseph@codesourcery.com>
19616
375607b9
JM
19617 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19618 (__MALLOC_PMT): Likewise.
19619 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19620 [__GNUC__], only on [_LIBC].
19621 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19622 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19623 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19624 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19625 forward declaration.
19626 (realloc_hook_ini): Likewise.
19627 (memalign_hook_ini): Likewise.
19628 (__libc_memalign): Do not use __MALLOC_PMT in variable
19629 declaration.
19630 (__libc_valloc): Likewise.
19631 (__libc_pvalloc): Likewise.
19632 (__libc_calloc): Likewise.
19633 (__posix_memalign): Likewise.
19634
a9708fed
JM
19635 [BZ #14996]
19636 * math/s_casinh.c: Include <float.h>.
19637 (__casinh): Do not do computation with squaring and square root
19638 for large arguments.
19639 * math/s_casinhf.c: Include <float.h>.
19640 (__casinhf): Do not do computation with squaring and square root
19641 for large arguments.
19642 * math/s_casinhl.c: Include <float.h>.
19643 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19644 (__casinhl): Do not do computation with squaring and square root
19645 for large arguments.
19646 * math/libm-test.inc (casin_test): Add more tests.
19647 (casinh_test): Likewise.
19648 * sysdeps/i386/fpu/libm-test-ulps: Update.
19649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19650
afec409a
L
196512013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19652
19653 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19654 (__x86_64_raw_data_cache_size): Likewise.
19655 (__x86_64_data_cache_size_half): Likewise.
19656 (__x86_64_raw_data_cache_size_half): Likewise.
19657 (__x86_64_shared_cache_size): Likewise.
19658 (__x86_64_raw_shared_cache_size): Likewise.
19659 (__x86_64_shared_cache_size_half): Likewise.
19660 (__x86_64_raw_shared_cache_size_half): Likewise.
19661 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19662 to ...
19663 (__x86_data_cache_size): This.
19664 (__x86_64_raw_data_cache_size): Renamed to ...
19665 (__x86_raw_data_cache_size): This.
19666 (__x86_64_data_cache_size_half): Renamed to ...
19667 (__x86_data_cache_size_half): This.
19668 (__x86_64_raw_data_cache_size_half): Renamed to ...
19669 (__x86_raw_data_cache_size_half): This.
19670 (__x86_64_shared_cache_size): Renamed to ...
19671 (__x86_shared_cache_size): This.
19672 (__x86_64_raw_shared_cache_size): Renamed to ...
19673 (__x86_raw_shared_cache_size): This.
19674 (__x86_64_shared_cache_size_half): Renamed to ...
19675 (__x86_shared_cache_size_half): This.
19676 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19677 (__x86_raw_shared_cache_size_half): This.
19678 * sysdeps/x86_64/memcpy.S: Updated.
19679 * sysdeps/x86_64/memset.S: Likewise.
19680 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19681 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19683
0b3986d0
DM
196842013-01-04 David S. Miller <davem@davemloft.net>
19685
19686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19687
e47686e9
AS
196882013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19689
d643bac1
AS
19690 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19691 1 to avoid redefinition warning.
19692 (__USE_GNU): Don't define.
19693 (init_signaling_nan): Protoize.
19694
e47686e9
AS
19695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19696
b18decba
SP
196972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19698
fffb407f
SP
19699 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19701 (__cpymn): Likewise.
19702 (norm): Remove commented code.
19703 (denorm): Likewise.
19704 (__mp_dbl): Likewise.
19705 (__inv): Likewise.
19706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19707 (__cpymn): Likewise.
19708 (norm): Remove commented code.
19709 (denorm): Likewise.
19710 (__mp_dbl): Likewise.
19711 (__inv): Likewise.
19712
b18decba
SP
19713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19714 mp_no value for 1.0 and 2.0.
19715 (norm): Use RADIXI instead of radixi.d.
19716 (denorm): Likewise.
19717 (__mul): Use 0.0 instead of zero.d.
19718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19719 mp_no value for 1.0 and 2.0.
19720 (norm): Use RADIXI instead of radixi.d.
19721 (denorm): Likewise.
19722 (__mul): Use 0.0 instead of zero.d.
19723
cdc1c96f
JM
197242013-01-04 Joseph Myers <joseph@codesourcery.com>
19725
19726 [BZ #14994]
19727 * math/s_casinh.c (__casinh): Reduce finite argument to first
19728 quadrant then set signs of results at the end.
19729 * math/s_casinhf.c (__casinhf): Likewise.
19730 * math/s_casinhl.c (__casinhl): Likewise.
19731 * math/libm-test.inc (casin_test): Add more tests.
19732 (casinh_test): Likewise.
19733 * sysdeps/i386/fpu/libm-test-ulps: Update.
19734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19735
302913e1
SP
197362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19737
6420d207
SP
19738 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19739
a9e48ab4
SP
19740 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19741
b7837264
SP
19742 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19743 declarations.
19744 (denorm): Likewise.
19745 (__mp_dbl): Likewise.
19746 (__inv): Likewise.
19747
f8af25d2
SP
19748 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19749 and adjust the header comment.
19750
302913e1
SP
19751 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19752 variable name from declaration.
19753
5d7dd1ca
L
197542013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19755
19756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19757 Initialize COMMON_CPUID_INDEX_7 element.
19758 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19759 (CPUID_RTM): Likewise.
19760 (HAS_RTM): Likewise.
19761 (COMMON_CPUID_INDEX_7): New enum.
19762
2f5f40f4
AS
197632013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19764
19765 [BZ #14981]
19766 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19767 size is zero, record memory as freed.
19768
4056f4a0
AJ
197692013-01-03 Andreas Jaeger <aj@suse.de>
19770
19771 * po/ia.po: Add new Interlingua translation.
19772
ab15736f 197732012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19774
19775 * locale/programs/localedef.c: Fix description of '--posix' flag.
19776
568035b7
JM
197772013-01-02 Joseph Myers <joseph@codesourcery.com>
19778
e6898b8d
JM
19779 * NEWS: Update dates in second copyright notice.
19780 * README: Update copyright dates in example.
19781 * manual/libc.texinfo: Update copyright dates.
19782 * scripts/test-installation.pl: Update copyright date in --version
19783 output.
19784
0e2f9562
JM
19785 * hurd/ctty-input.c: Fix copyright notice formatting.
19786 * hurd/ctty-output.c: Likewise.
19787 * hurd/dtable.c: Likewise.
19788 * hurd/hurd-raise.c: Likewise.
19789 * hurd/hurdprio.c: Likewise.
19790 * hurd/msgportdemux.c: Likewise.
19791 * misc/sys/file.h: Likewise.
19792 * misc/sys/ioctl.h: Likewise.
19793 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19794 * sysdeps/mach/hurd/chdir.c: Likewise.
19795 * sysdeps/mach/hurd/fchdir.c: Likewise.
19796 * sysdeps/mach/hurd/rename.c: Likewise.
19797 * sysdeps/mach/hurd/rmdir.c: Likewise.
19798 * sysdeps/mach/hurd/seekdir.c: Likewise.
19799 * sysdeps/mach/hurd/setsid.c: Likewise.
19800 * sysdeps/posix/wait3.c: Likewise.
19801
568035b7
JM
19802 * All files with FSF copyright notices: Update copyright dates
19803 using scripts/update-copyrights.
19804 * intl/plural.c: Regenerated.
19805 * locale/programs/charmap-kw.h: Likewise.
19806 * locale/programs/locfile-kw.h: Likewise.
19807
da08f647
SP
198082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19809
0f5477af
SP
19810 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19811 four values.
19812
44e0d4c2
SP
19813 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19814 calculation loop and add branch prediction.
19815
4d55b4e5
SP
19816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19817 check access beyond bounds of m1np.
19818
da08f647
SP
19819 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19820 MPTWO.
19821 (__inv): Remove local variable MPTWO to use the global
19822 constant.
19823 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19824 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19825 variable MPTWO.
19826 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19827 MP3HALFS static const.
19828
8e051029
DM
198292013-01-01 David S. Miller <davem@davemloft.net>
19830
19831 * po/ca.po: Update from translation team.
19832
f4cf5f2d
JM
198332013-01-01 Joseph Myers <joseph@codesourcery.com>
19834
19835 * scripts/update-copyrights: New file.
19836 * Makeconfig: Reformat copyright notice.
19837 * ctype/ctype.h: Likewise.
19838 * debug/swprintf_chk.c: Likewise.
19839 * elf/dl-cache.c: Likewise.
19840 * elf/dl-debug.c: Likewise.
19841 * elf/dl-object.c: Likewise.
19842 * grp/initgroups.c: Likewise.
19843 * hurd/Makefile: Likewise.
19844 * hurd/hurd/signal.h: Likewise.
19845 * hurd/hurdfault.c: Likewise.
19846 * hurd/hurdioctl.c: Likewise.
19847 * hurd/hurdlookup.c: Likewise.
19848 * hurd/intr-msg.c: Likewise.
19849 * iconv/gconv_open.c: Likewise.
19850 * libio/swprintf.c: Likewise.
19851 * locale/lc-ctype.c: Likewise.
19852 * locale/nl_langinfo.c: Likewise.
19853 * mach/Machrules: Likewise.
19854 * mach/Makefile: Likewise.
19855 * malloc/obstack.h: Likewise.
19856 * manual/Makefile: Likewise.
19857 * manual/tsort.awk: Likewise.
19858 * misc/bits/stab.def: Likewise.
19859 * nis/nis_print_group_entry.c: Likewise.
19860 * nis/nis_table.c: Likewise.
19861 * nis/nss_compat/compat-pwd.c: Likewise.
19862 * nis/nss_compat/compat-spwd.c: Likewise.
19863 * po/Makefile: Likewise.
19864 * posix/fnmatch.c: Likewise.
19865 * posix/regex.h: Likewise.
19866 * resolv/Makefile: Likewise.
19867 * resolv/nss_dns/dns-network.c: Likewise.
19868 * resolv/res_hconf.c: Likewise.
19869 * scripts/gen-sorted.awk: Likewise.
19870 * soft-fp/soft-fp.h: Likewise.
19871 * stdio-common/printf.h: Likewise.
19872 * stdlib/monetary.h: Likewise.
19873 * stdlib/random.c: Likewise.
19874 * stdlib/random_r.c: Likewise.
19875 * sysdeps/generic/Makefile: Likewise.
19876 * sysdeps/gnu/Makefile: Likewise.
19877 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19879 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19881 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19884 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19887 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19888 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19889 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19890 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19891 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19892 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19893 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19894 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19895 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19897 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19898 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19899 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19901 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19902 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19903 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19905 * sysdeps/mach/hurd/errnos.awk: Likewise.
19906 * sysdeps/mach/hurd/fork.c: Likewise.
19907 * sysdeps/mach/hurd/getcwd.c: Likewise.
19908 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19909 * sysdeps/mach/hurd/mmap.c: Likewise.
19910 * sysdeps/mach/hurd/utimes.c: Likewise.
19911 * sysdeps/mach/hurd/xmknod.c: Likewise.
19912 * sysdeps/posix/profil.c: Likewise.
19913 * sysdeps/posix/readdir_r.c: Likewise.
19914 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19915 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19916 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19917 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19919 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19920 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19921 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19923 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19924 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19925 * sysdeps/pthread/lio_listio.c: Likewise.
19926 * sysdeps/sparc/dl-procinfo.h: Likewise.
19927 * sysdeps/unix/i386/sysdep.S: Likewise.
19928 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19929 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19930 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19931 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19933 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19934 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19935 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19936 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19937 * sysdeps/wordsize-32/divdi3.c: Likewise.
19938 * time/sys/time.h: Likewise.
19939 * wcsmbs/Makefile: Likewise.
19940
0549fbba
DM
199412013-01-01 David S. Miller <davem@davemloft.net>
19942
a141f1a7
DM
19943 * po/fr.po: Update from translation team.
19944
0549fbba
DM
19945 * catgets/gencat.c: Update copyright year.
19946 * csu/version.c: Likewise.
19947 * debug/catchsegv.sh: Likewise.
19948 * debug/pcprofiledump.c: Likewise.
19949 * debug/xtrace.sh: Likewise.
19950 * elf/ldconfig.c: Likewise.
19951 * elf/ldd.bash.in: Likewise.
19952 * elf/pldd.c: Likewise.
19953 * elf/sotruss.ksh: Likewise.
19954 * elf/sprof.c: Likewise.
19955 * iconv/iconv_prog.c: Likewise.
19956 * iconv/iconvconfig.c: Likewise.
19957 * locale/programs/locale.c: Likewise.
19958 * locale/programs/localedef.c: Likewise.
19959 * login/programs/pt_chown.c: Likewise.
19960 * malloc/memusage.sh: Likewise.
19961 * malloc/memusagestat.c: Likewise.
19962 * malloc/mtrace.pl: Likewise.
19963 * nscd/nscd.c: Likewise.
19964 * nss/getent.c: Likewise.
19965 * nss/makedb.c: Likewise.
19966 * posix/getconf.c: Likewise.
19967
18ea052c
SP
199682012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19969
19970 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19971 numbers.
19972
9c89fca6
MF
199732012-12-30 Mike Frysinger <vapier@gentoo.org>
19974
19975 * math/bits/mathcalls.h (modf): Use __nonnull.
19976
085ec079
SP
199772012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19978
19979 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19980 (split): Use macro CN instead of the bare value.
19981 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19982 could be used.
19983 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19984 instead of the bare value.
19985 (power1): Likewise.
19986
6d9f97e1
SP
199872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19988
d63f73be
SP
19989 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19990 __ATAN_TWOM.
19991 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19992
6d9f97e1
SP
19993 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19994 their values.
19995 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19996 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19997 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19998 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19999
4c4febf5
AJ
200002012-12-28 Andreas Jaeger <aj@suse.de>
20001
af5843ef
AJ
20002 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20003 values are from Linux 3.7.
20004
4c4febf5
AJ
20005 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20006 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20007
99136f82
SP
200082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20009
2f216c3c 20010 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20011 TRUE case.
20012
99136f82
SP
20013 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20014 (norm): Likewise.
20015 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20016 variables with preprocessor constants.
20017 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20018 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20019 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20020
7fffbdff
BH
200212012-12-27 Bruno Haible <bruno@clisp.org>
20022
20023 [BZ #14317]
20024 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20025 only if needed.
20026
b76eb5f0
SP
200272012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20028
31a7fe5c
SP
20029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20030 and use variable directly.
20031 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20032
b76eb5f0
SP
20033 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20034 MPONE.
20035 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20036 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20037 variable MPONE.
20038 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20040 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20041 include directive. Remove local variable MPONE.
20042 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20043 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20044 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20045
2c8bfe7d
DM
200462012-12-25 David S. Miller <davem@davemloft.net>
20047
20048 * version.h (RELEASE): Set to "development".
20049 (VERSION): Set to "2.17.90".
20050 * NEWS: Add 2.18 section.
20051
147d03b0
DM
200522012-12-21 David S. Miller <davem@davemloft.net>
20053
20054 * po/hr.po: Update from translation team.
20055
a8ebb2b9
AK
200562012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20057
20058 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20059
95b4f1b6
SE
200602012-12-19 Steve Ellcey <sellcey@mips.com>
20061
b2d94007 20062 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20063
cedb2a90
MS
200642012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20065
20066 * manual/contrib.texi (Contributors): Spelling correction.
20067
bbf527d6
DM
200682012-12-15 David S. Miller <davem@davemloft.net>
20069
20070 * po/ru.po: Update from translation team.
20071
bc38c906
DM
200722012-12-13 David S. Miller <davem@davemloft.net>
20073
85429b1a
DM
20074 * NEWS: Mention IFUNC testsuite enhancements.
20075
d283e353
DM
20076 * po/pl.po: Update from translation team.
20077 * po/bg.po: Likewise.
20078
bc38c906
DM
20079 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20080 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20081
a181b0d7
DM
200822012-12-11 David S. Miller <davem@davemloft.net>
20083
4641d57e
DM
20084 * po/sv.po: Update from translation team.
20085
f7bc6495
DM
20086 * po/vi.po: Update from translation team.
20087
6fc9048f
DM
20088 * po/cs.po: Update from translation team.
20089
a181b0d7
DM
20090 * po/de.po: Update from translation team.
20091 * po/eo.po: Likewise.
20092 * po/nl.po: Likewise.
20093
f70bfe80
SP
200942012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20095
3c8b4190
SP
20096 [BZ #14246]
20097 * manual/argp.texi (Argp Helper Functions): Move node to follow
20098 Argp Parsing State.
20099
f70bfe80
SP
20100 [BZ #14872]
20101 * manual/conf.texi (Limits on File System Capacity): Mention if
20102 terminating null is included in the max size.
20103
188f0adf
AJ
201042012-12-10 Andreas Jaeger <aj@suse.de>
20105
20106 * po/cs.po: Update from translation team.
20107
56e7d3ad
SP
201082012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20109
20110 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20111 void pointer and cast to uintptr_t.
20112 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20113 path.
20114 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20115 * sysdeps/s390/s390-64/memset.S: Likewise.
20116
76f2d2ea 201172012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20118
20119 [BZ #14833]
20120 * menual/message.texi (Message Translation): Fix typos.
20121 (Helper programs for gettext): Likewise.
20122
67cbf9a2
AS
201232012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20124
20125 [BZ #14898]
20126 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20127 Change to -1.
20128
682d0e9a
DM
201292012-12-07 David S. Miller <davem@davemloft.net>
20130
20131 * po/libc.pot: Update.
20132
573cd484
RH
201332012-12-07 Richard Henderson <rth@redhat.com>
20134
7e9da188 20135 [BZ #10114]
573cd484
RH
20136 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20137 normal/normal case to before the switch.
20138 (_FP_DIV): Likewise.
20139
e933a943
MF
201402012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20141 Mike Frysinger <vapier@gentoo.org>
20142
20143 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20144 check for __NR_fadvise64_64.
20145
82123268
CM
201462012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20147
20148 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20149 0, not just to plain "0" as a statement.
20150 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20151 with cw.
20152
d9814526
JM
201532012-12-06 Joseph Myers <joseph@codesourcery.com>
20154
20155 * NEWS: Use sourceware.org in Bugzilla URL.
20156
7728c574
SP
201572012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20158
f16946dd
SP
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20160 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20161
5704bbcb
SP
20162 * stdio-common/tst-put-error.c (do_test): Add newline to the
20163 padded test to ensure flush.
20164
17aa0516
JL
201652012-12-05 Jeff Law <law@redhat.com>
20166
20167 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20168
363313b5
JM
201692012-12-05 Joseph Myers <joseph@codesourcery.com>
20170
effbd42a
JM
20171 * README: Don't refer to ports add-on as distributed separately.
20172 Mention AArch64 in list of systems supported in the ports add-on.
20173
87600365
JM
20174 * LICENSES: Add more non-FSF copyright and license notices.
20175
a0d7066a
JM
20176 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20177 ((unused)).
20178
66ca5a5b
JM
20179 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20180
363313b5
JM
20181 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20182 10000 as width of padded output.
20183
b37984ad
JM
201842012-12-04 Joseph Myers <joseph@codesourcery.com>
20185
9003570a
JM
20186 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20187
b37984ad
JM
20188 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20189 variable LX with __attribute__ ((unused)).
20190 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20191 Likewise.
20192 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20193 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20194 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20195 with __attribute__ ((unused)).
20196
c8df52ec
DM
201972012-12-04 David S. Miller <davem@abraco.davemloft.net>
20198
20199 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20200
b3b099af
JM
202012012-12-04 Joseph Myers <joseph@codesourcery.com>
20202
c33aa6e3
JM
20203 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20204 (CFLAGS-nldbl-acos.c): New variable.
20205 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20206 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20207 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20208 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20209 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20210 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20211 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20212 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20213 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20214 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20215 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20216 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20217 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20218 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20219 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20220 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20221 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20222 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20223 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20224 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20302
20f0018d
JM
20303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20304 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20305
b3b099af
JM
20306 [BZ #14914]
20307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20308 whole low double instead of just low 47 bits when splitting values
20309 into two parts.
20310
029264d1
AM
203112012-12-03 Allan McRae <allan@archlinux.org>
20312
20313 * manual/stdio.texi (Predefined Printf Handlers): Remove
20314 @hsep and @vsep usage.
20315
c9d6789e
MF
203162012-12-03 Mike Frysinger <vapier@gentoo.org>
20317
20318 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20319 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20320
4b7634a5
JL
203212012-12-03 Jeff Law <law@redhat.com>
20322
20323 * time/sys/time.h (settimeofday): Do not mark TV argument
20324 as __nonnull.
20325
eb6cbd24
MF
203262012-12-01 Mike Frysinger <vapier@gentoo.org>
20327
20328 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20329 when currently writing and seek to current position when not.
20330 * libio/Makefile (tests): Remove bug-fclose1.
20331 * libio/bug-fclose1.c: Delete.
20332
f638872a
JM
203332012-12-01 Joseph Myers <joseph@codesourcery.com>
20334
20335 * manual/arith.texi (feenableexcept): Fix typo.
20336 (fedisableexcept): Likewise.
20337
48085d14
RM
203382012-11-30 Roland McGrath <roland@hack.frob.com>
20339
20340 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20341 second, differently-typed declaration, rather than a cast.
20342
1a538b9f
SP
203432012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20344
20345 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20346 * include/rpc/svc.h: ... here.
20347
d07f2ff1 203482012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20349
20350 [BZ #13013]
20351 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20352 depending n and resplen2 to catch cases where answer
20353 equals answerp2.
20354
c93ec1f0
CD
203552012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20356
20357 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20358 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20359
37db69de
MF
203602012-11-29 Mike Frysinger <vapier@gentoo.org>
20361
20362 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20363
e10c4e4f
RM
203642012-11-29 Roland McGrath <roland@hack.frob.com>
20365
20366 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20367
2af1b328
JL
203682012-11-28 Jeff Law <law@redhat.com>
20369
20370 [BZ #13761]
20371 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20372 dataset_temporary. Track alloca usage into alloca_used.
20373 If dataset is large allocate and release it via malloc/free.
20374
111db5b1
FW
203752012-06-04 Florian Weimer <fweimer@redhat.com>
20376
f06cc227 20377 [BZ #14197]
111db5b1
FW
20378 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20379
dd694abd
DM
203802012-11-28 David S. Miller <davem@davemloft.net>
20381
20382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20383
9984dd01
JM
203842012-11-28 Joseph Myers <joseph@codesourcery.com>
20385
20386 [BZ #14803]
20387 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20388 of pi/2 rounded to nearest to 64 bits.
20389 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20390 nearest to 64 bits.
20391 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20392 bits.
20393
14bc93a9
JL
203942012-11-28 Jeff Law <law@redhat.com>
20395 Martin Osvald <mosvald@redhat.com>
20396
20397 [BZ #14889]
20398 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20399 * sunrpc/svc.c: Include time.h.
20400 (__svc_accept_failed): New function.
20401 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20402 any reason other than EINTR, call __svc_accept_failed.
20403 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20404 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20405
e3c6aa3a
AS
204062012-11-28 Andreas Schwab <schwab@suse.de>
20407
20408 * scripts/abilist.awk: Also handle indirect functions in .opd
20409 section.
20410
1bead169
JM
204112012-11-28 Joseph Myers <joseph@codesourcery.com>
20412
20413 [BZ #13881]
20414 * sysdeps/x86/fpu/powl_helper.c: New file.
20415 * sysdeps/x86/fpu/Makefile: Likewise.
20416 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20417 (p3): New object.
20418 (__ieee754_powl): Use __powl_helper for finite arguments except
20419 integer exponents below 8.
20420 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20421 (p3): New object.
20422 (__ieee754_powl): Use __powl_helper for finite arguments except
20423 integer exponents below 8.
20424 * math/libm-test.inc (pow_test): Add more tests and enable some
20425 previously disabled tests.
20426 * sysdeps/i386/fpu/libm-test-ulps: Update.
20427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20428
0817d63d
SP
204292012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20430 Carlos O'Donell <carlos_odonell@mentor.com>
20431
20432 * nss/makedb.c (is_prime): Assert that input is odd and greater
20433 than 4. Note that fact in a comment too.
20434 (next_prime): Add 4 to input.
20435
de2fd463
SP
204362012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20437
20438 [BZ #11741]
20439 * libio/Makefile (tests): Add test case tst-fwrite-error.
20440 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20441 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20442 * libio/tst-fwrite-error.c: New test case.
20443
c515fb51
L
204442012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20445
20446 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20447 before casting to void *.
20448 * include/libc-internal.h (__pointer_type): New macro.
20449 (__integer_if_pointer_type_sub): Likewise.
20450 (__integer_if_pointer_type): Likewise.
20451 (cast_to_integer): Likewise.
20452 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20453 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20454 before casting to atomic64_t.
20455 (atomic_exchange_acq): Likewise.
20456 (__arch_exchange_and_add_body): Likewise.
20457 (__arch_add_body): Likewise.
20458 (atomic_add_negative): Likewise.
20459 (atomic_add_zero): Likewise.
20460
4cf77aa9
JM
204612012-11-26 Joseph Myers <joseph@codesourcery.com>
20462
20463 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20464 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20465 (add_fdes): Likewise.
20466 (linear_search_fdes): Likewise.
20467 (binary_search_unencoded_fdes): Likewise.
20468
d260b3b4
AS
204692012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20470
20471 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20472
67060746
AC
204732012-11-24 Adam Conrad <adconrad@0c3.net>
20474
20475 * configure.in: Autodetect C++ header directories.
20476 * configure: Regenerated.
20477
800938a1
MF
204782012-11-23 Mike Frysinger <vapier@gentoo.org>
20479
20480 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20481
4e6e34e6
AS
204822012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20483
20484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20485
7c7feb47
JM
204862012-11-22 Joseph Myers <joseph@codesourcery.com>
20487
7184dcdf
JM
20488 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20489 LDBL_MANT_DIG == 106]: Disable some tests.
20490 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20491 Likewise.
20492 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20493 Likewise.
20494
0a42601f
JM
20495 [BZ #14871]
20496 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20497 input for small inputs. Return +/- pi/2 for large inputs.
20498 * math/libm-test.inc (atan_test): Add more tests.
20499
79c9b9fe
JM
20500 * sysdeps/generic/unwind-dw2-fde-glibc.c
20501 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20502 __attribute__ ((unused)).
20503
c60d3bf2
JM
20504 [BZ #14645]
20505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20506 x * y if x and y are nonzero and z is zero.
20507
ef1e0867
JM
20508 [BZ #14811]
20509 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20510 nonzero exponents with absolute value below 0x1p-117 to +/-
20511 0x1p-117.
20512
1468ded3
JM
20513 [BZ #14869]
20514 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20515 up arguments below 2**-450, not just those below 2**-500.
20516 * math/libm-test.inc (hypot_test): Add another test.
20517
8e27e3cc
JM
20518 [BZ #14868]
20519 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20520 Return a+b for ratio over 2**120, not 2**60.
20521 * math/libm-test.inc (hypot_test): Add another test.
20522
c9c0279b
JM
20523 * math/libm-test.inc (clog_test): Use
20524 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20525 (clog10_test): Likewise.
20526
7c7feb47
JM
20527 [BZ #6778]
20528 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20529
fff1530e
AS
205302012-11-22 Andreas Schwab <schwab@suse.de>
20531
20532 * sysdeps/i386/fpu/libm-test-ulps: Update.
20533
94558d30
PT
205342012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20535
20536 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20537 printf output with newline.
20538
7e1be741
L
205392012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20540
6bfea974
L
20541 [BZ #14865]
20542 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20543 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20544 -z nodlopen, -z initfirst and -z execstack support.
20545 * configure: Regenerated.
20546
7e1be741
L
20547 * elf/elf.h (DF_1_NODIRECT): New macro.
20548 (DF_1_IGNMULDEF): Likewise.
20549 (DF_1_NOKSYMS): Likewise.
20550 (DF_1_NOHDR): Likewise.
20551 (DF_1_EDITED): Likewise.
20552 (DF_1_NORELOC): Likewise.
20553 (DF_1_SYMINTPOSE): Likewise.
20554 (DF_1_GLOBAUDIT): Likewise.
20555 (DF_1_SINGLETON): Likewise.
20556 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20557 DT_1_SUPPORTED_MASK bits.
20558 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20559
105ce2ce
CD
205602012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20561
20562 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20563
123be9de
TS
205642012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20565
d072f3f7
TS
20566 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20567 macro.
20568
123be9de
TS
20569 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20570 (sendmmsg): Move declarations...
20571 * socket/sys/socket.h: ... here.
20572 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20573 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20574 include it from...
20575 * socket/recvmmsg.c: ... this new file.
20576 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20577 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20578 definition of __sendmmsg hidden.
20579 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20580 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20581 Move ENOSYS stub into and include it from...
20582 * socket/sendmmsg.c: ... this new file.
20583 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20584 (sysdep_routines): Move recvmmsg and sendmmsg...
20585 * socket/Makefile (routines): ... here.
20586 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20587 (GLIBC_PRIVATE): Add __sendmmsg.
20588 * include/sys/socket.h (__sendmmsg): Add declarations.
20589 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20590 sendmmsg.
20591
cf9a5d18
JM
205922012-11-20 Joseph Myers <joseph@codesourcery.com>
20593
20594 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20595 variable I1 with __attribute__ ((unused)).
20596 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20597
ecd4caf9
JM
205982012-11-19 Joseph Myers <joseph@codesourcery.com>
20599
be14d48f
JM
20600 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20601 DUMMY variables with __attribute__ ((unused)).
20602
ecd4caf9
JM
20603 * bits/byteswap.h: Include <bits/types.h>.
20604 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20605
986cab95
PT
206062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20607
20608 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20609 string_t. Do not manually set errno.
20610 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20611 length with __strnlen. Make sure to both set errno and return it on
20612 failure.
20613
6d33cc9d
DM
206142012-11-19 David S. Miller <davem@davemloft.net>
20615
20616 With help from Joseph Myers.
20617 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20618 very large arguments properly.
20619 * math/libm-test.inc (atan_test): New tests.
20620 (atan2_test): New tests.
20621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20623
ee663277
JM
206242012-11-19 Joseph Myers <joseph@codesourcery.com>
20625
877f2d8e
JM
20626 [BZ #14856]
20627 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20628 Define to 3.
20629
116fc08a
JM
20630 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20631 [POSIX] (EADDRNOTAVAIL): Likewise.
20632 [POSIX] (EAFNOSUPPORT): Likewise.
20633 [POSIX] (EALREADY): Likewise.
20634 [POSIX] (ECONNABORTED): Likewise.
20635 [POSIX] (ECONNREFUSED): Likewise.
20636 [POSIX] (ECONNRESET): Likewise.
20637 [POSIX] (EDESTADDRREQ): Likewise.
20638 [POSIX] (EDQUOT): Likewise.
20639 [POSIX] (EHOSTUNREACH): Likewise.
20640 [POSIX] (EIDRM): Likewise.
20641 [POSIX] (EISCONN): Likewise.
20642 [POSIX] (ELOOP): Likewise.
20643 [POSIX] (EMULTIHOP): Likewise.
20644 [POSIX] (ENETDOWN): Likewise.
20645 [POSIX] (ENETUNREACH): Likewise.
20646 [POSIX] (ENOBUFS): Likewise.
20647 [POSIX] (ENODATA): Likewise.
20648 [POSIX] (ENOLINK): Likewise.
20649 [POSIX] (ENOMSG): Likewise.
20650 [POSIX] (ENOPROTOOPT): Likewise.
20651 [POSIX] (ENOSR): Likewise.
20652 [POSIX] (ENOSTR): Likewise.
20653 [POSIX] (ENOTCONN): Likewise.
20654 [POSIX] (ENOTSOCK): Likewise.
20655 [POSIX] (EOPNOTSUPP): Likewise.
20656 [POSIX] (EOVERFLOW): Likewise.
20657 [POSIX] (EPROTO): Likewise.
20658 [POSIX] (EPROTONOSUPPORT): Likewise.
20659 [POSIX] (EPROTOTYPE): Likewise.
20660 [POSIX] (ESTALE): Likewise.
20661 [POSIX] (ETIME): Likewise.
20662 [POSIX] (ETXTBSY): Likewise.
20663 [POSIX] (EWOULDBLOCK): Likewise.
20664 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20665 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20666 [POSIX] (SEEK_CUR): Likewise.
20667 [POSIX] (SEEK_END): Likewise.
20668 [POSIX || UNIX98] (mode_t): Do not require.
20669 [POSIX] (off_t): Likewise.
20670 [POSIX] (pid_t): Likewise.
20671 [POSIX] (sys/stat.h): Do not allow header.
20672 [POSIX] (unistd.h): Likewise.
20673 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20674 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20675 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20676 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20677 require.
20678 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20679 sigevent): Specify elements.
20680 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20681 entry.
20682 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20683 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20684
a483863f
JM
20685 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20686 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20687 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20688 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20689 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20690 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20691 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20692 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20693 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20694 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20695 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20696 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20697 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20698 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20699 Likewise.
20700 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20701 Likewise.
20702 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20703 Likewise.
20704 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20705 Likewise.
20706 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20707 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20708 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20709 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20710 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20711 Specify lower bound on value.
20712 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20713 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20714 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20715 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20716 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20717 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20718 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20719 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20720 value.
20721 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20722 as optional.
20723 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20724 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20727 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20728 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20730 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20733 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20735 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20736 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20737 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20739 entry.
20740 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20741 optional.
20742 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20747 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20748 Likewise.
20749 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20753 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20754 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20755 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20756 as optional.
20757 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20759 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20760 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20761 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20762 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20763 specify as optional.
20764 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20765 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20766 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20767 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20768 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20769 [XPG3] (NL_LANGMAX): Likewise.
20770 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20771 [POSIX || XPG3] (NL_NMAX): Likewise.
20772 [POSIX || XPG3] (NL_SETMAX): Likewise.
20773 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20774 [XPG3] (NZERO): Likewise.
20775 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20776 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20777 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20778 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20779 (REG_ERANGE): Expect.
20780 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20781 optional-constant.
20782 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20783 Use (void) in prototype.
20784 [POSIX] (*_t): Allow.
20785 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20786 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20787 (WRDE_BADVAL): Expect.
20788
5ba924e3
JM
20789 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20790 expect.
20791 [XPG3 || XPG4] (O_RSYNC): Likewise.
20792 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20793 Likewise.
20794 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20795 [XPG3 || XPG4] (sigqueue): Likewise.
20796 [XPG3 || XPG4] (sigtimedwait): Likewise.
20797 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20798 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20799 [XPG3 || XPG4] (vsnprintf): Likewise.
20800 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20801 Likewise.
20802 [XPG3 || XPG4] (blksize_t): Likewise.
20803 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20804 Likewise.
20805 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20806 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20807 [XPG3 || XPG4] (struct itimerspec): Likewise.
20808 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20809 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20810 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20811 [XPG3 || XPG4] (clockid_t): Likewise.
20812 [XPG3 || XPG4] (timer_t): Likewise.
20813 [XPG3 || XPG4] (clock_getres): Likewise.
20814 [XPG3 || XPG4] (clock_gettime): Likewise.
20815 [XPG3 || XPG4] (clock_settime): Likewise.
20816 [XPG3 || XPG4] (nanosleep): Likewise.
20817 [XPG3 || XPG4] (timer_create): Likewise.
20818 [XPG3 || XPG4] (timer_delete): Likewise.
20819 [XPG3 || XPG4] (timer_gettime): Likewise.
20820 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20821 [XPG3 || XPG4] (timer_settime): Likewise.
20822 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20823 [XPG3 || XPG4] (getlogin_r): Likewise.
20824 [XPG3 || XPG4] (pread): Likewise.
20825 [XPG3 || XPG4] (pthread_atfork): Likewise.
20826 [XPG3 || XPG4] (pwrite): Likewise.
20827
ee663277
JM
20828 [BZ #14835]
20829 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20830 <bits/siginfo.h>.
20831
942caa16
PT
208322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20833
e19af380
PT
20834 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20835 finalizing MALLSTREAM.
20836
942caa16
PT
20837 * sysdeps/mach/hurd/syncfs.c: New file.
20838
cfde9b46
SP
208392012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20840
20841 [BZ #14719]
20842 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20843 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20844 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20845 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20846 (_nss_dns_gethostbyname4_r): Likewise.
20847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20848 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20849
f6da27e5
PH
208502012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20851
20852 [BZ #13763]
20853 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20854
6665d4a2
SM
208552012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20856
1f51ee92
SM
20857 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20858 * elf/cache.c (print_entry): Print ",AArch64" for
20859 FLAG_AARCH64_LIB64
20860
6665d4a2
SM
20861 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20862 * elf/cache.c (print_entry): Print ",hard-float" for
20863 FLAG_ARM_LIBHF.
20864
05b227bd
DM
208652012-11-18 David S. Miller <davem@davemloft.net>
20866
20867 With help from Joseph Myers.
20868 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20869 cutoff to 2**-13.
20870 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20871 cutoff to 2**-25.
20872 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20873 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20874 small.
20875 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20876 * math/libm-test.inc (y0_test): New tests.
20877 (y1_test): New tests.
20878 * sysdeps/i386/fpu/libm-test-ulps: Update.
20879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20881
786b0b67
AS
208822012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20883
20884 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20885 64-bit targets.
20886 * configure: Regenerated.
20887
8e18b86d
DM
208882012-11-17 David S. Miller <davem@davemloft.net>
20889
20890 [BZ #14811]
20891 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20892 nonzero exponents with absolute value below 0x1p-128 to +/-
20893 0x1p-128.
20894
531f1ae0
JM
208952012-11-17 Joseph Myers <joseph@codesourcery.com>
20896
12df29e2
JM
20897 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20898
150dc1a0
JM
20899 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20900
531f1ae0
JM
20901 * posix/getconf-speclist.c: New file.
20902 * posix/posix-envs.def: Likewise.
20903 * posix/confstr.c (START_ENV_GROUP): New macro.
20904 (END_ENV_GROUP): Likewise.
20905 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20906 (KNOWN_PRESENT_ENV_STRING): Likewise.
20907 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20908 (UNKNOWN_ENVIRONMENT): Likewise.
20909 (confstr): Include posix-envs.def instead of handling
20910 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20911 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20912 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20913 (END_ENV_GROUP): Likewise.
20914 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20915 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20916 (UNKNOWN_ENVIRONMENT): Likewise.
20917 (__sysconf): Include posix-envs.def instead of handling associated
20918 cases directly here.
20919 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20920 preprocessing getconf-speclist.c rather than running getconf or
20921 generating empty file.
20922
a93f9cbc
PT
209232012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20924
20925 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20926
d64d9f87
AL
209272012-11-16 Andrej Lajovic <natrij@gmail.com>
20928
20929 [BZ #14672]
20930 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20931
447885eb
DM
209322012-11-16 David S. Miller <davem@davemloft.net>
20933
20934 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20935 smaller than LDBL_EPSILON/2.0L, just return xm1.
20936
bcbf9830
L
209372012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20938
20939 * elf/tst-array1.c (init): Set constructor priority to 1000.
20940 (fini): Set destructor priority to 1000.
20941 * elf/tst-array2dep.c: Likewise.
20942
2b766585
SP
209432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20944
20945 [BZ #11741]
20946 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20947 (_IO_new_file_xsputn): Also return EOF if none of the input
20948 data was written when overflow failed.
20949 * libio/iopadn.c (_IO_padn): Likewise.
20950 * libio/iowpadn.c (_IO_wpadn): Likewise.
20951 * stdio-common/tst-put-error.c: Add copyright notice.
20952 (do_test): Add case for printing padded string.
20953 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20954 _IO_padn returned error.
20955 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20956 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20957 return EOF.
20958
b1848fde
SP
209592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20960
20961 * libio/libioP.h: Add comment note that the references to C++
20962 bits are now obsolete.
20963
2fd89785
MS
209642012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20965
20966 * math/libm-test.inc (check_complex): Use asprintf.
20967
e3ea5409
JM
209682012-11-14 Joseph Myers <joseph@codesourcery.com>
20969
20970 * debug/pcprofiledump.c (print_version): Update copyright year.
20971 * malloc/memusagestat.c (print_version): Likewise.
20972
2e64d265
L
209732012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20974
20975 [BZ #14831]
20976 * elf/Makefile (tests): Add tst-audit8.
20977 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20978 ($(objpfx)tst-audit8.out): New target.
20979 (tst-audit8-ENV): New variable.
20980 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20981 audit if l_reloc_result is NULL.
20982 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20983 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20984 * elf/tst-audit8.c: New file.
20985
c485e4d2
MS
209862012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20987
20988 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20989 * misc/Makefile (CFLAGS-select.c): Define.
20990 * posix/Makefile (CFLAGS-pause.c): Define.
20991
3a0d900a
DM
209922012-11-13 David S. Miller <davem@davemloft.net>
20993
20994 * crypt/Makefile: Move test targets after toplevel Rules
20995 inclusion. Grab any necessary sysdep routines when linking.
20996 * crypt/md5.c (md5_process_block): Remove define, we will always
20997 name it __md5_process_block.
20998 (md5_finish_ctx): Update md5_process_block call.
20999 (md5_stream): Likewise.
21000 (md5_process_bytes): Likewise.
21001 (md5_process_block): Rename to __md5_process_block and move to ...
21002 * crypt/md5-block.c: ... here.
21003 * crypt/sha256.c (sha256_process_block): Move to ...
21004 * crypt/sha256-block.c: ... here.
21005 * crypt/sha512.c (sha512_process_block): Move to ...
21006 * crypt/sha512-block.c: ... here.
21007 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21008 path.
21009 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21010 * sysdeps/sparc/sparc64/multiarch/Makefile
21011 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21012 crypt subdir.
21013 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21014 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21015 multiarch changes.
21016 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21017 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21018 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21019 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21020 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21021 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21022 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21023 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21024 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21025 file.
21026 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21027 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21028 file.
21029 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21030
8ca89318
JM
210312012-11-13 Joseph Myers <joseph@codesourcery.com>
21032
e27d476a
JM
21033 * timezone/tzselect.ksh: Update from tzcode git revision
21034 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21035 * timezone/zdump.c: Likewise.
21036 * timezone/zic.c: Likewise.
21037 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21038 in TZVERSION setting, not $(PKGVERSION).
21039 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21040 REPORT_BUGS_TO settings.
21041
8ca89318
JM
21042 [BZ #14838]
21043 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21044 macro.
21045
47594329
MS
210462012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21047
21048 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21049 detection to immediately after _FP_ROUND().
21050 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21051 bits are 0.
21052
640ac3f1
DM
210532012-11-11 David S. Miller <davem@davemloft.net>
21054
21055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21056 inttypes.h
21057 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21058 __close rather than their public counterparts.
21059
3d2577bb
JM
210602012-11-10 Joseph Myers <joseph@codesourcery.com>
21061
21062 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21063 file.
21064 [UNIX98] (sem_timedwait): Do not expect.
21065 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21066 [XPG4 || UNIX98] (sockatmark): Do not expect.
21067 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21068 (clock_getcpuclockid): Do not expect.
21069 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21070 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21071 Do not expect.
21072 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21073 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21074 [UNIX98] (vwscanf): Likewise.
21075 [UNIX98] (vswscanf): Likewise.
21076
fb1ae1ee
JM
210772012-11-09 Joseph Myers <joseph@codesourcery.com>
21078
9ec6f8bd
JM
21079 * timezone/version.h: Remove file.
21080 * timezone/README: Do not refer to version.h.
21081 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21082 $(objpfx)version.h.
21083 ($(objpfx)zdump.o): Likewise.
c3f81911 21084 ($(objpfx)version.h): New target.
9ec6f8bd 21085
0aa8f8a1
JM
21086 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21087 2012i.
21088 * timezone/README: Don't mention modification to tzselect.ksh.
21089 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21090 work on unmodified tzselect.ksh. Substitute version numbers in
21091 tzselect.ksh.
21092
4e87147f
JM
21093 * Makefile (format-me): Remove.
21094 (INSTALL): Adjust indentation. Use commands directly instead of
21095 using $(format-me).
21096
8b748aed
JM
21097 * aclocal.m4 (ACX_PKGVERSION): New macro.
21098 (ACX_BUGURL): Likewise.
21099 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21100 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21101 (REPORT_BUGS_TO): Likewise.
21102 * configure: Regenerated.
21103 * config.h.in (PKGVERSION): New macro.
21104 (REPORT_BUGS_TO): Likewise.
21105 * config.make.in (PKGVERSION): New variable.
21106 (PKGVERSION_TEXI): Likewise.
21107 (REPORT_BUGS_TO): Likewise.
21108 (REPORT_BUGS_TEXI): Likewise.
21109 * Makefile (format-me): Use -I$(common-objpfx)manual.
21110 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21111 ($(common-objpfx)manual/%): New target.
21112 (manual/%): Remove target.
21113 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21114 (print_version): Use PKGVERSION.
21115 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21116 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21117 and REPORT_BUGS_TO.
21118 ($(objpfx)xtrace): Likewise.
21119 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21120 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21121 (print_version): Use PKGVERSION.
21122 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21123 (do_version): Use PKGVERSION.
21124 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21125 REPORT_BUGS_TO.
21126 (common-ldd-rewrite): Likewise.
21127 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21128 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21129 (print_version): Use PKGVERSION.
21130 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21131 * elf/pldd.c (argp_program_bug_address): Remove variable.
21132 (more_help): New function.
21133 (argp): Use more_help.
21134 (print_version): Use PKGVERSION.
21135 * elf/sln.c (main): Use PKGVERSION.
21136 (usage): Use REPORT_BUGS_TO.
21137 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21138 (top level): Use PKGVERSION.
21139 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21140 (print_version): Use PKGVERSION.
21141 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21142 (print_version): Use PKGVERSION.
21143 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21144 (print_version): Use PKGVERSION.
21145 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21146 (print_version): Use PKGVERSION.
21147 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21148 (print_version): Use PKGVERSION.
21149 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21150 (print_version): Use PKGVERSION.
21151 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21152 and BUGURL.
21153 ($(objpfx)memusage): Likewise.
21154 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21155 (do_version): Use PKGVERSION.
21156 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21157 (print_version): Use PKGVERSION.
21158 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21159 ($PKGVERSION): New variable.
21160 ($REPORT_BUGS_TO): Likewise.
21161 (usage): Use $REPORT_BUGS_TO.
21162 (top level): Use $PKGVERSION.
21163 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21164 ($(objpfx)pkgvers.texi): New rule.
21165 ($(objpfx)stamp-pkgvers): Likewise.
21166 * manual/install.texi: Include pkgvers.texi.
21167 (--with-pkgversion): Document new configure option.
21168 (--with-bugurl): Likewise.
21169 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21170 than necessarily for this particular distribution. Use
21171 REPORT_BUGS_TO for where to report bugs.
21172 * INSTALL: Regenerated.
21173 * manual/libc.texinfo: Include pkgvers.texi.
21174 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21175 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21176 (print_version): Use PKGVERSION.
21177 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21178 (print_version): Use PKGVERSION.
21179 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21180 (print_version): Use PKGVERSION.
21181 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21182 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21183 macro.
21184 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21185 (print_version): Use PKGVERSION.
21186 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21187 (print_version): Use PKGVERSION.
21188 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21189 and PKGVERSION.
21190
92e4b6a9
JM
21191 * timezone/checktab.awk: Update from tzcode 2012i.
21192 * timezone/ialloc.c: Likewise.
21193 * timezone/private.h: Likewise.
21194 * timezone/scheck.c: Likewise.
21195 * timezone/tzfile.h: Likewise.
21196 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21197 (TZVERSION): Hardcode tzcode version number.
21198 * timezone/zdump.c: Update from tzcode 2012i.
21199 * timezone/zic.c: Likewise.
21200 * timezone/version.h: New file.
21201 * timezone/README: Describe version.h. Update upstream location.
21202
9bde902c
JM
21203 [BZ #14824]
21204 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21205 (mktemp): Enable declaration.
21206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21210 Likewise.
21211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21212 Likewise.
21213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21214 Likewise.
21215 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21216 Likewise.
21217 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21218 Likewise.
21219 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21220 Likewise.
21221
fb1ae1ee
JM
21222 [BZ #14821]
21223 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21224 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21225 for copies of such integer values.
21226 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21227 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21228
2c1adbcb
AJ
212292012-11-09 Andreas Jaeger <aj@suse.de>
21230
21231 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21232 definitions and declarations that are provided by
21233 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21234
d0f8457e
AK
212352012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21236
3a235abb 21237 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21238 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21239 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21240 definition.
21241
57241e26
MS
212422012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21243
21244 * elf/elf.h: Update comment before AArch64 relocations.
21245
60e8270d
DM
212462012-11-07 David S. Miller <davem@davemloft.net>
21247
21248 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21249 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21250 (__start_context): Declare.
21251 (__makecontext_ret): Delete.
21252 (__makecontext): Hook up __start_context instead of
21253 __makecontext_ret.
21254 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21255 (sysdep_routines): Add __start_context when in stdlib.
21256
0fbb0fbc
JM
212572012-11-07 Joseph Myers <joseph@codesourcery.com>
21258
21259 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21260 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21261 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21262 hardcoded "nm".
21263 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21264 (READELF): New variable. Use it instead of hardcoded "readelf".
21265
eb48db7e
L
212662012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21267
21268 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21269 * sysdeps/x86/Makefile: Here.
21270 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21271 * sysdeps/x86/tst-xmmymm.sh: This.
21272
05bcf62a
JM
212732012-11-07 Joseph Myers <joseph@codesourcery.com>
21274
c4b6cf53
JM
21275 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21276 expectations.
21277 [UNIX98] (pthread_barrier_t): Do not expect.
21278 [UNIX98] (pthread_barrierattr_t): Likewise.
21279 [UNIX98] (pthread_spinlock_t): Likewise.
21280 [UNIX98] (pthread_barrier_destroy): Likewise.
21281 [UNIX98] (pthread_barrier_init): Likewise.
21282 [UNIX98] (pthread_barrier_wait): Likewise.
21283 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21284 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21285 [UNIX98] (pthread_barrierattr_init): Likewise.
21286 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21287 [UNIX98] (pthread_getcpuclockid): Likewise.
21288 [UNIX98] (pthread_mutex_timedlock): Likewise.
21289 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21290 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21291 [UNIX98] (pthread_sigmask): Likewise.
21292 [UNIX98] (pthread_spin_destroy): Likewise.
21293 [UNIX98] (pthread_spin_init): Likewise.
21294 [UNIX98] (pthread_spin_lock): Likewise.
21295 [UNIX98] (pthread_spin_trylock): Likewise.
21296 [UNIX98] (pthread_spin_unlock): Likewise.
21297 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21298 Do not expect.
21299 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21301 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21302 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21303 [XPG3 || XPG4] (pthread_key_t): Likewise.
21304 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21305 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21306 [XPG3 || XPG4] (pthread_once_t): Likewise.
21307 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21308 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21309 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21310 [XPG3 || XPG4] (pthread_t): Likewise.
21311
cbe6e120
JM
21312 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21313 not expect.
21314 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21315
1b126443
JM
21316 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21317 Change function return type to int.
21318
b961a573
JM
21319 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21320 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21321 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21322 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21323 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21324 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21325 [!POSIX] (posix_madvise): Likewise.
21326 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21327 && !UNIX98].
21328 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21329 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21330 (mode_t): Likewise.
21331 (posix_mem_offset): Likewise.
21332 (posix_typed_mem_get_info): Likewise.
21333 (posix_typed_mem_open): Likewise.
21334
9e188909
JM
21335 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21336 Change condition to [XOPEN2K8].
21337
05bcf62a
JM
21338 * conform/conformtest.pl: Preprocess allow-header data with -x c
21339 instead of from stdin.
21340 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21341 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21342 [C99-based standards] (cerfc): Likewise.
21343 [C99-based standards] (cexp2): Likewise.
21344 [C99-based standards] (cexpm1): Likewise.
21345 [C99-based standards] (clog10): Likewise.
21346 [C99-based standards] (clog1p): Likewise.
21347 [C99-based standards] (clog2): Likewise.
21348 [C99-based standards] (clgamma): Likewise.
21349 [C99-based standards] (ctgamma): Likewise.
21350 [C99-based standards] (cerff): Likewise.
21351 [C99-based standards] (cerfcf): Likewise.
21352 [C99-based standards] (cexp2f): Likewise.
21353 [C99-based standards] (cexpm1f): Likewise.
21354 [C99-based standards] (clog10f): Likewise.
21355 [C99-based standards] (clog1pf): Likewise.
21356 [C99-based standards] (clog2f): Likewise.
21357 [C99-based standards] (clgammaf): Likewise.
21358 [C99-based standards] (ctgammaf): Likewise.
21359 [C99-based standards] (cerfl): Likewise.
21360 [C99-based standards] (cerfcl): Likewise.
21361 [C99-based standards] (cexp2l): Likewise.
21362 [C99-based standards] (cexpm1l): Likewise.
21363 [C99-based standards] (clog10l): Likewise.
21364 [C99-based standards] (clog1pl): Likewise.
21365 [C99-based standards] (clog2l): Likewise.
21366 [C99-based standards] (clgammal): Likewise.
21367 [C99-based standards] (ctgammal): Likewise.
21368 * conform/data/inttypes.h-data [C99-based standards]: Include
21369 stdint.h-data. Remove all expectations for stdint.h contents.
21370 [C99-based standards] (PRI*): Do not allow.
21371 [C99-based standards] (SCN*): Likewise.
21372 [C99-based standards] (*_t): Likewise.
21373 [C99-based-standards] (PRId8): Expect macro.
21374 [C99-based-standards] (PRIi8): Likewise.
21375 [C99-based-standards] (PRIo8): Likewise.
21376 [C99-based-standards] (PRIu8): Likewise.
21377 [C99-based-standards] (PRIx8): Likewise.
21378 [C99-based-standards] (PRIX8): Likewise.
21379 [C99-based-standards] (SCNd8): Likewise.
21380 [C99-based-standards] (SCNi8): Likewise.
21381 [C99-based-standards] (SCNo8): Likewise.
21382 [C99-based-standards] (SCNu8): Likewise.
21383 [C99-based-standards] (SCNx8): Likewise.
21384 [C99-based-standards] (PRIdLEAST8): Likewise.
21385 [C99-based-standards] (PRIiLEAST8): Likewise.
21386 [C99-based-standards] (PRIoLEAST8): Likewise.
21387 [C99-based-standards] (PRIuLEAST8): Likewise.
21388 [C99-based-standards] (PRIxLEAST8): Likewise.
21389 [C99-based-standards] (PRIXLEAST8): Likewise.
21390 [C99-based-standards] (SCNdLEAST8): Likewise.
21391 [C99-based-standards] (SCNiLEAST8): Likewise.
21392 [C99-based-standards] (SCNoLEAST8): Likewise.
21393 [C99-based-standards] (SCNuLEAST8): Likewise.
21394 [C99-based-standards] (SCNxLEAST8): Likewise.
21395 [C99-based-standards] (PRIdFAST8): Likewise.
21396 [C99-based-standards] (PRIiFAST8): Likewise.
21397 [C99-based-standards] (PRIoFAST8): Likewise.
21398 [C99-based-standards] (PRIuFAST8): Likewise.
21399 [C99-based-standards] (PRIxFAST8): Likewise.
21400 [C99-based-standards] (PRIXFAST8): Likewise.
21401 [C99-based-standards] (SCNdFAST8): Likewise.
21402 [C99-based-standards] (SCNiFAST8): Likewise.
21403 [C99-based-standards] (SCNoFAST8): Likewise.
21404 [C99-based-standards] (SCNuFAST8): Likewise.
21405 [C99-based-standards] (SCNxFAST8): Likewise.
21406 [C99-based-standards] (PRId16): Likewise.
21407 [C99-based-standards] (PRIi16): Likewise.
21408 [C99-based-standards] (PRIo16): Likewise.
21409 [C99-based-standards] (PRIu16): Likewise.
21410 [C99-based-standards] (PRIx16): Likewise.
21411 [C99-based-standards] (PRIX16): Likewise.
21412 [C99-based-standards] (SCNd16): Likewise.
21413 [C99-based-standards] (SCNi16): Likewise.
21414 [C99-based-standards] (SCNo16): Likewise.
21415 [C99-based-standards] (SCNu16): Likewise.
21416 [C99-based-standards] (SCNx16): Likewise.
21417 [C99-based-standards] (PRIdLEAST16): Likewise.
21418 [C99-based-standards] (PRIiLEAST16): Likewise.
21419 [C99-based-standards] (PRIoLEAST16): Likewise.
21420 [C99-based-standards] (PRIuLEAST16): Likewise.
21421 [C99-based-standards] (PRIxLEAST16): Likewise.
21422 [C99-based-standards] (PRIXLEAST16): Likewise.
21423 [C99-based-standards] (SCNdLEAST16): Likewise.
21424 [C99-based-standards] (SCNiLEAST16): Likewise.
21425 [C99-based-standards] (SCNoLEAST16): Likewise.
21426 [C99-based-standards] (SCNuLEAST16): Likewise.
21427 [C99-based-standards] (SCNxLEAST16): Likewise.
21428 [C99-based-standards] (PRIdFAST16): Likewise.
21429 [C99-based-standards] (PRIiFAST16): Likewise.
21430 [C99-based-standards] (PRIoFAST16): Likewise.
21431 [C99-based-standards] (PRIuFAST16): Likewise.
21432 [C99-based-standards] (PRIxFAST16): Likewise.
21433 [C99-based-standards] (PRIXFAST16): Likewise.
21434 [C99-based-standards] (SCNdFAST16): Likewise.
21435 [C99-based-standards] (SCNiFAST16): Likewise.
21436 [C99-based-standards] (SCNoFAST16): Likewise.
21437 [C99-based-standards] (SCNuFAST16): Likewise.
21438 [C99-based-standards] (SCNxFAST16): Likewise.
21439 [C99-based-standards] (PRId32): Likewise.
21440 [C99-based-standards] (PRIi32): Likewise.
21441 [C99-based-standards] (PRIo32): Likewise.
21442 [C99-based-standards] (PRIu32): Likewise.
21443 [C99-based-standards] (PRIx32): Likewise.
21444 [C99-based-standards] (PRIX32): Likewise.
21445 [C99-based-standards] (SCNd32): Likewise.
21446 [C99-based-standards] (SCNi32): Likewise.
21447 [C99-based-standards] (SCNo32): Likewise.
21448 [C99-based-standards] (SCNu32): Likewise.
21449 [C99-based-standards] (SCNx32): Likewise.
21450 [C99-based-standards] (PRIdLEAST32): Likewise.
21451 [C99-based-standards] (PRIiLEAST32): Likewise.
21452 [C99-based-standards] (PRIoLEAST32): Likewise.
21453 [C99-based-standards] (PRIuLEAST32): Likewise.
21454 [C99-based-standards] (PRIxLEAST32): Likewise.
21455 [C99-based-standards] (PRIXLEAST32): Likewise.
21456 [C99-based-standards] (SCNdLEAST32): Likewise.
21457 [C99-based-standards] (SCNiLEAST32): Likewise.
21458 [C99-based-standards] (SCNoLEAST32): Likewise.
21459 [C99-based-standards] (SCNuLEAST32): Likewise.
21460 [C99-based-standards] (SCNxLEAST32): Likewise.
21461 [C99-based-standards] (PRIdFAST32): Likewise.
21462 [C99-based-standards] (PRIiFAST32): Likewise.
21463 [C99-based-standards] (PRIoFAST32): Likewise.
21464 [C99-based-standards] (PRIuFAST32): Likewise.
21465 [C99-based-standards] (PRIxFAST32): Likewise.
21466 [C99-based-standards] (PRIXFAST32): Likewise.
21467 [C99-based-standards] (SCNdFAST32): Likewise.
21468 [C99-based-standards] (SCNiFAST32): Likewise.
21469 [C99-based-standards] (SCNoFAST32): Likewise.
21470 [C99-based-standards] (SCNuFAST32): Likewise.
21471 [C99-based-standards] (SCNxFAST32): Likewise.
21472 [C99-based-standards] (PRId64): Likewise.
21473 [C99-based-standards] (PRIi64): Likewise.
21474 [C99-based-standards] (PRIo64): Likewise.
21475 [C99-based-standards] (PRIu64): Likewise.
21476 [C99-based-standards] (PRIx64): Likewise.
21477 [C99-based-standards] (PRIX64): Likewise.
21478 [C99-based-standards] (SCNd64): Likewise.
21479 [C99-based-standards] (SCNi64): Likewise.
21480 [C99-based-standards] (SCNo64): Likewise.
21481 [C99-based-standards] (SCNu64): Likewise.
21482 [C99-based-standards] (SCNx64): Likewise.
21483 [C99-based-standards] (PRIdLEAST64): Likewise.
21484 [C99-based-standards] (PRIiLEAST64): Likewise.
21485 [C99-based-standards] (PRIoLEAST64): Likewise.
21486 [C99-based-standards] (PRIuLEAST64): Likewise.
21487 [C99-based-standards] (PRIxLEAST64): Likewise.
21488 [C99-based-standards] (PRIXLEAST64): Likewise.
21489 [C99-based-standards] (SCNdLEAST64): Likewise.
21490 [C99-based-standards] (SCNiLEAST64): Likewise.
21491 [C99-based-standards] (SCNoLEAST64): Likewise.
21492 [C99-based-standards] (SCNuLEAST64): Likewise.
21493 [C99-based-standards] (SCNxLEAST64): Likewise.
21494 [C99-based-standards] (PRIdFAST64): Likewise.
21495 [C99-based-standards] (PRIiFAST64): Likewise.
21496 [C99-based-standards] (PRIoFAST64): Likewise.
21497 [C99-based-standards] (PRIuFAST64): Likewise.
21498 [C99-based-standards] (PRIxFAST64): Likewise.
21499 [C99-based-standards] (PRIXFAST64): Likewise.
21500 [C99-based-standards] (SCNdFAST64): Likewise.
21501 [C99-based-standards] (SCNiFAST64): Likewise.
21502 [C99-based-standards] (SCNoFAST64): Likewise.
21503 [C99-based-standards] (SCNuFAST64): Likewise.
21504 [C99-based-standards] (SCNxFAST64): Likewise.
21505 [C99-based-standards] (PRIdMAX): Likewise.
21506 [C99-based-standards] (PRIiMAX): Likewise.
21507 [C99-based-standards] (PRIoMAX): Likewise.
21508 [C99-based-standards] (PRIuMAX): Likewise.
21509 [C99-based-standards] (PRIxMAX): Likewise.
21510 [C99-based-standards] (PRIXMAX): Likewise.
21511 [C99-based-standards] (SCNdMAX): Likewise.
21512 [C99-based-standards] (SCNiMAX): Likewise.
21513 [C99-based-standards] (SCNoMAX): Likewise.
21514 [C99-based-standards] (SCNuMAX): Likewise.
21515 [C99-based-standards] (SCNxMAX): Likewise.
21516 [C99-based-standards] (PRIdPTR): Likewise.
21517 [C99-based-standards] (PRIiPTR): Likewise.
21518 [C99-based-standards] (PRIoPTR): Likewise.
21519 [C99-based-standards] (PRIuPTR): Likewise.
21520 [C99-based-standards] (PRIxPTR): Likewise.
21521 [C99-based-standards] (PRIXPTR): Likewise.
21522 [C99-based-standards] (SCNdPTR): Likewise.
21523 [C99-based-standards] (SCNiPTR): Likewise.
21524 [C99-based-standards] (SCNoPTR): Likewise.
21525 [C99-based-standards] (SCNuPTR): Likewise.
21526 [C99-based-standards] (SCNxPTR): Likewise.
21527 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21528 allow.
21529 * conform/data/stdint.h-data: Update comments to clarify
21530 requirements.
21531 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21532 type.
21533 [C99-based standards] (INT8_MAX): Likewise.
21534 [C99-based standards] (INT16_MIN): Likewise.
21535 [C99-based standards] (INT16_MAX): Likewise.
21536 [C99-based standards] (INT32_MIN): Likewise.
21537 [C99-based standards] (INT32_MAX): Likewise.
21538 [C99-based standards] (INT64_MIN): Likewise.
21539 [C99-based standards] (INT64_MAX): Likewise.
21540 [C99-based standards] (UINT8_MAX): Likewise.
21541 [C99-based standards] (UINT16_MAX): Likewise.
21542 [C99-based standards] (UINT32_MAX): Likewise.
21543 [C99-based standards] (UINT64_MAX): Likewise.
21544 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21545 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21546 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21547 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21548 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21549 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21550 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21551 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21552 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21553 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21554 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21555 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21556 [C99-based standards] (INT_FAST8_MIN): Likewise.
21557 [C99-based standards] (INT_FAST8_MAX): Likewise.
21558 [C99-based standards] (INT_FAST16_MIN): Likewise.
21559 [C99-based standards] (INT_FAST16_MAX): Likewise.
21560 [C99-based standards] (INT_FAST32_MIN): Likewise.
21561 [C99-based standards] (INT_FAST32_MAX): Likewise.
21562 [C99-based standards] (INT_FAST64_MIN): Likewise.
21563 [C99-based standards] (INT_FAST64_MAX): Likewise.
21564 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21565 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21566 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21567 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21568 [C99-based standards] (INTPTR_MIN): Likewise.
21569 [C99-based standards] (INTPTR_MAX): Likewise.
21570 [C99-based standards] (UINTPTR_MAX): Likewise.
21571 [C99-based standards] (INTMAX_MIN): Likewise.
21572 [C99-based standards] (INTMAX_MAX): Likewise.
21573 [C99-based standards] (UINTMAX_MAX): Likewise.
21574 [C99-based standards] (PTRDIFF_MIN): Likewise.
21575 [C99-based standards] (PTRDIFF_MAX): Likewise.
21576 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21577 [C99-based standards] (SIZE_MAX): Likewise.
21578 [C99-based standards] (WCHAR_MAX): Likewise.
21579 [C99-based standards] (WINT_MAX): Likewise.
21580 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21581 constraint on value.
21582 [C99-based standards] (WCHAR_MIN): Likewise.
21583 [C99-based standards] (WINT_MIN): Likewise.
21584 [C99-based standards] (*_t): Allow.
21585 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21586 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21587 Include math.h-data and complex.h-data. Remove all expectations
21588 of math.h and complex.h contents.
21589 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21590 at end of line.
21591 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21592 (struct tm): Expect tag.
21593 [C99-based-standards] (wcstof): Expect function.
21594 [C99-based-standards] (wcstold): Likewise.
21595 [C99-based-standards] (wcstoll): Likewise.
21596 [C99-based-standards] (wcstoull): Likewise.
21597 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21598 macro-int-constant. Specify type.
21599 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21600 constraint on value.
21601 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21602 Specify type.
21603 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21604 Specify value.
21605 [ISO C standards]: Do not allow headers.
21606 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21607 wcs[abcdefghijklmnopqrstuvwxyz]*.
21608 [ISO C standards] (*_t): Do not allow.
21609 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21610 Expect function.
21611 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21612 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21613 Specify type.
21614 [ISO C standards]: Do not allow headers.
21615 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21616 is[abcdefghijklmnopqrstuvwxyz]*.
21617 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21618 to[abcdefghijklmnopqrstuvwxyz]*.
21619 [ISO C standards] (*_t): Do not allow.
21620 * conform/data/stdalign.h-data: New file.
21621 * conform/data/stdbool.h-data: Likewise.
21622 * conform/data/stdnoreturn.h-data: Likewise.
21623
7514feb8
RM
216242012-11-07 Roland McGrath <roland@hack.frob.com>
21625
21626 [BZ #14815]
21627 * manual/filesys.texi (Directory Entries): Typo fix.
21628 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21629
19b2ecfc
MS
216302012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21631
21632 * elf/elf.h (EM_AARCH64): New macro.
21633 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21634 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21635 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21636 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21637 (R_AARCH64_TLSDESC): Likewise.
21638 (NT_ARM_TLS): Likewise.
21639 (NT_ARM_HW_BREAK): Likewise.
21640 (NT_ARM_HW_WATCH): Likewise.
21641
60e235ee
JM
216422012-11-07 Joseph Myers <joseph@codesourcery.com>
21643
21644 [BZ #14811]
21645 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21646 (__ieee754_powl): Saturate nonzero exponents with absolute value
21647 below 0x1p-79 to +/- 0x1p-79.
21648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21649 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21650 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21651 nonzero exponents with absolute value below 0x1p-32 to +/-
21652 0x1p-32.
21653 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21654 (__ieee754_powl): Saturate nonzero exponents with absolute value
21655 below 0x1p-79 to +/- 0x1p-79.
21656 * math/libm-test.inc (pow_test): Add more tests.
21657
0ab234b7
AK
216582012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21659
21660 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21661 _dl_s390_cap_flags with kernel. Increase string length.
21662 (_dl_s390_platforms): Add z196 and zEC12.
21663
45832f74
JM
216642012-11-07 Joseph Myers <joseph@codesourcery.com>
21665
21666 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21667 Change XOPEN21K to XOPEN2K.
21668
19218757
MK
216692012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21670
21671 * string/memmove.c: Use memcpy when possible.
21672
c5f45721
AJ
216732012-11-06 Andreas Jaeger <aj@suse.de>
21674
21675 * po/eo.po: Update from translation team.
21676
82477c28
JM
216772012-11-06 Joseph Myers <joseph@codesourcery.com>
21678
21679 [BZ #14793]
21680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21681 exponent and small x and y exponents, scale x or y up. Increase
21682 by 2 the exponent used in scaling up.
21683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21685 * math/libm-test.inc (fma_test): Add more tests.
21686 (fma_test_towardzero): Likewise.
21687 (fma_test_downward): Likewise.
21688 (fma_test_upward): Likewise.
21689
99252c8c
JM
216902012-11-05 Joseph Myers <joseph@codesourcery.com>
21691
acfa885f
JM
21692 [BZ #14805]
21693 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21694 fenv_t *.
21695
99252c8c
JM
21696 [BZ #14801]
21697 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21698 namespace for names of struct fields.
21699 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21700 fenv_t fields.
21701 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21702 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21703
d6d98dea
ST
217042012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21705
21706 [BZ #3665]
21707 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21708
e10bb107
TS
217092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21710
21711 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21712 PTR_DEMANGLE.
21713
21714 [BZ #5246]
21715 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21716 PTR_DEMANGLE.
21717
a0c2940d
JM
217182012-11-04 Joseph Myers <joseph@codesourcery.com>
21719
21720 [BZ #14797]
21721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21722 definitely overflow as x * y not x * y + z.
21723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21725 * math/libm-test.inc (fma_test): Add more tests.
21726 (fma_test_towardzero): Likewise.
21727 (fma_test_downward): Likewise.
21728 (fma_test_upward): Likewise.
21729
b830319d
TS
217302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21731
21732 [BZ #157]
21733
21734 * include/stub-tag.h: Remove file.
21735 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21736 '#include' of it.
21737 * manual/maint.texi (Porting): Don't reference it.
21738 * Makerules ($(objpfx)stubs): Likewise.
21739 * dirent/closedir.c: Don't include <stub-tag.h>.
21740 * dirent/dirfd.c: Likewise.
21741 * dirent/fdopendir.c: Likewise.
21742 * dirent/getdents.c: Likewise.
21743 * dirent/getdents64.c: Likewise.
21744 * dirent/opendir.c: Likewise.
21745 * dirent/readdir.c: Likewise.
21746 * dirent/readdir64.c: Likewise.
21747 * dirent/readdir64_r.c: Likewise.
21748 * dirent/readdir_r.c: Likewise.
21749 * dirent/rewinddir.c: Likewise.
21750 * dirent/seekdir.c: Likewise.
21751 * dirent/telldir.c: Likewise.
21752 * gmon/profil.c: Likewise.
21753 * grp/setgroups.c: Likewise.
21754 * inet/if_index.c: Likewise.
21755 * io/access.c: Likewise.
21756 * io/chdir.c: Likewise.
21757 * io/chmod.c: Likewise.
21758 * io/chown.c: Likewise.
21759 * io/close.c: Likewise.
21760 * io/dup.c: Likewise.
21761 * io/dup2.c: Likewise.
21762 * io/dup3.c: Likewise.
21763 * io/euidaccess.c: Likewise.
21764 * io/faccessat.c: Likewise.
21765 * io/fchdir.c: Likewise.
21766 * io/fchmod.c: Likewise.
21767 * io/fchmodat.c: Likewise.
21768 * io/fchown.c: Likewise.
21769 * io/fchownat.c: Likewise.
21770 * io/fcntl.c: Likewise.
21771 * io/flock.c: Likewise.
21772 * io/fstatfs.c: Likewise.
21773 * io/fstatfs64.c: Likewise.
21774 * io/fstatvfs.c: Likewise.
21775 * io/fstatvfs64.c: Likewise.
21776 * io/futimens.c: Likewise.
21777 * io/fxstat.c: Likewise.
21778 * io/fxstat64.c: Likewise.
21779 * io/fxstatat.c: Likewise.
21780 * io/fxstatat64.c: Likewise.
21781 * io/getcwd.c: Likewise.
21782 * io/isatty.c: Likewise.
21783 * io/lchmod.c: Likewise.
21784 * io/lchown.c: Likewise.
21785 * io/link.c: Likewise.
21786 * io/linkat.c: Likewise.
21787 * io/lseek.c: Likewise.
21788 * io/lseek64.c: Likewise.
21789 * io/lxstat64.c: Likewise.
21790 * io/mkdir.c: Likewise.
21791 * io/mkdirat.c: Likewise.
21792 * io/mkfifo.c: Likewise.
21793 * io/mkfifoat.c: Likewise.
21794 * io/open.c: Likewise.
21795 * io/open64.c: Likewise.
21796 * io/openat.c: Likewise.
21797 * io/openat64.c: Likewise.
21798 * io/pipe.c: Likewise.
21799 * io/pipe2.c: Likewise.
21800 * io/poll.c: Likewise.
21801 * io/posix_fadvise.c: Likewise.
21802 * io/posix_fadvise64.c: Likewise.
21803 * io/posix_fallocate.c: Likewise.
21804 * io/posix_fallocate64.c: Likewise.
21805 * io/read.c: Likewise.
21806 * io/readlink.c: Likewise.
21807 * io/readlinkat.c: Likewise.
21808 * io/rmdir.c: Likewise.
21809 * io/sendfile.c: Likewise.
21810 * io/sendfile64.c: Likewise.
21811 * io/statfs.c: Likewise.
21812 * io/statfs64.c: Likewise.
21813 * io/statvfs.c: Likewise.
21814 * io/statvfs64.c: Likewise.
21815 * io/symlink.c: Likewise.
21816 * io/symlinkat.c: Likewise.
21817 * io/ttyname.c: Likewise.
21818 * io/ttyname_r.c: Likewise.
21819 * io/umask.c: Likewise.
21820 * io/unlink.c: Likewise.
21821 * io/unlinkat.c: Likewise.
21822 * io/utime.c: Likewise.
21823 * io/utimensat.c: Likewise.
21824 * io/write.c: Likewise.
21825 * io/xmknod.c: Likewise.
21826 * io/xmknodat.c: Likewise.
21827 * io/xstat.c: Likewise.
21828 * io/xstat64.c: Likewise.
21829 * login/getpt.c: Likewise.
21830 * login/grantpt.c: Likewise.
21831 * login/unlockpt.c: Likewise.
21832 * math/e_acoshl.c: Likewise.
21833 * math/e_acosl.c: Likewise.
21834 * math/e_asinl.c: Likewise.
21835 * math/e_atan2l.c: Likewise.
21836 * math/e_atanhl.c: Likewise.
21837 * math/e_coshl.c: Likewise.
21838 * math/e_expl.c: Likewise.
21839 * math/e_fmodl.c: Likewise.
21840 * math/e_gammal_r.c: Likewise.
21841 * math/e_hypotl.c: Likewise.
21842 * math/e_j0l.c: Likewise.
21843 * math/e_j1l.c: Likewise.
21844 * math/e_jnl.c: Likewise.
21845 * math/e_lgammal_r.c: Likewise.
21846 * math/e_log10l.c: Likewise.
21847 * math/e_log2l.c: Likewise.
21848 * math/e_logl.c: Likewise.
21849 * math/e_powl.c: Likewise.
21850 * math/e_rem_pio2l.c: Likewise.
21851 * math/e_sinhl.c: Likewise.
21852 * math/e_sqrtl.c: Likewise.
21853 * math/fclrexcpt.c: Likewise.
21854 * math/fedisblxcpt.c: Likewise.
21855 * math/feenablxcpt.c: Likewise.
21856 * math/fegetenv.c: Likewise.
21857 * math/fegetexcept.c: Likewise.
21858 * math/fegetround.c: Likewise.
21859 * math/feholdexcpt.c: Likewise.
21860 * math/fesetenv.c: Likewise.
21861 * math/fesetround.c: Likewise.
21862 * math/feupdateenv.c: Likewise.
21863 * math/fgetexcptflg.c: Likewise.
21864 * math/fraiseexcpt.c: Likewise.
21865 * math/fsetexcptflg.c: Likewise.
21866 * math/ftestexcept.c: Likewise.
21867 * math/k_cosl.c: Likewise.
21868 * math/k_rem_pio2l.c: Likewise.
21869 * math/k_sinl.c: Likewise.
21870 * math/k_tanl.c: Likewise.
21871 * math/s_asinhl.c: Likewise.
21872 * math/s_atanl.c: Likewise.
21873 * math/s_cbrtl.c: Likewise.
21874 * math/s_erfl.c: Likewise.
21875 * math/s_expm1l.c: Likewise.
21876 * math/s_log1pl.c: Likewise.
21877 * math/s_tanhl.c: Likewise.
21878 * misc/acct.c: Likewise.
21879 * misc/brk.c: Likewise.
21880 * misc/chflags.c: Likewise.
21881 * misc/chroot.c: Likewise.
21882 * misc/fchflags.c: Likewise.
21883 * misc/fgetxattr.c: Likewise.
21884 * misc/flistxattr.c: Likewise.
21885 * misc/fremovexattr.c: Likewise.
21886 * misc/fsetxattr.c: Likewise.
21887 * misc/fsync.c: Likewise.
21888 * misc/ftruncate.c: Likewise.
21889 * misc/futimes.c: Likewise.
21890 * misc/futimesat.c: Likewise.
21891 * misc/getdomain.c: Likewise.
21892 * misc/getdtsz.c: Likewise.
21893 * misc/gethostid.c: Likewise.
21894 * misc/gethostname.c: Likewise.
21895 * misc/getloadavg.c: Likewise.
21896 * misc/getpagesize.c: Likewise.
21897 * misc/getsysstats.c: Likewise.
21898 * misc/getxattr.c: Likewise.
21899 * misc/gtty.c: Likewise.
21900 * misc/ioctl.c: Likewise.
21901 * misc/lgetxattr.c: Likewise.
21902 * misc/listxattr.c: Likewise.
21903 * misc/llistxattr.c: Likewise.
21904 * misc/lremovexattr.c: Likewise.
21905 * misc/lsetxattr.c: Likewise.
21906 * misc/lutimes.c: Likewise.
21907 * misc/madvise.c: Likewise.
21908 * misc/mincore.c: Likewise.
21909 * misc/mlock.c: Likewise.
21910 * misc/mlockall.c: Likewise.
21911 * misc/mmap.c: Likewise.
21912 * misc/mprotect.c: Likewise.
21913 * misc/msync.c: Likewise.
21914 * misc/munlock.c: Likewise.
21915 * misc/munlockall.c: Likewise.
21916 * misc/munmap.c: Likewise.
21917 * misc/preadv.c: Likewise.
21918 * misc/preadv64.c: Likewise.
21919 * misc/ptrace.c: Likewise.
21920 * misc/pwritev.c: Likewise.
21921 * misc/pwritev64.c: Likewise.
21922 * misc/readv.c: Likewise.
21923 * misc/reboot.c: Likewise.
21924 * misc/remap_file_pages.c: Likewise.
21925 * misc/removexattr.c: Likewise.
21926 * misc/revoke.c: Likewise.
21927 * misc/select.c: Likewise.
21928 * misc/setdomain.c: Likewise.
21929 * misc/setegid.c: Likewise.
21930 * misc/seteuid.c: Likewise.
21931 * misc/sethostid.c: Likewise.
21932 * misc/sethostname.c: Likewise.
21933 * misc/setregid.c: Likewise.
21934 * misc/setreuid.c: Likewise.
21935 * misc/setxattr.c: Likewise.
21936 * misc/sstk.c: Likewise.
21937 * misc/stty.c: Likewise.
21938 * misc/swapoff.c: Likewise.
21939 * misc/swapon.c: Likewise.
21940 * misc/sync.c: Likewise.
21941 * misc/syncfs.c: Likewise.
21942 * misc/syscall.c: Likewise.
21943 * misc/truncate.c: Likewise.
21944 * misc/ualarm.c: Likewise.
21945 * misc/usleep.c: Likewise.
21946 * misc/ustat.c: Likewise.
21947 * misc/utimes.c: Likewise.
21948 * misc/vhangup.c: Likewise.
21949 * misc/writev.c: Likewise.
21950 * posix/_exit.c: Likewise.
21951 * posix/alarm.c: Likewise.
21952 * posix/execve.c: Likewise.
21953 * posix/fexecve.c: Likewise.
21954 * posix/fork.c: Likewise.
21955 * posix/fpathconf.c: Likewise.
21956 * posix/getaddrinfo.c: Likewise.
21957 * posix/getegid.c: Likewise.
21958 * posix/geteuid.c: Likewise.
21959 * posix/getgid.c: Likewise.
21960 * posix/getgroups.c: Likewise.
21961 * posix/getlogin.c: Likewise.
21962 * posix/getlogin_r.c: Likewise.
21963 * posix/getpgid.c: Likewise.
21964 * posix/getpid.c: Likewise.
21965 * posix/getppid.c: Likewise.
21966 * posix/getresgid.c: Likewise.
21967 * posix/getresuid.c: Likewise.
21968 * posix/getsid.c: Likewise.
21969 * posix/getuid.c: Likewise.
21970 * posix/glob64.c: Likewise.
21971 * posix/nanosleep.c: Likewise.
21972 * posix/pathconf.c: Likewise.
21973 * posix/pause.c: Likewise.
21974 * posix/posix_madvise.c: Likewise.
21975 * posix/pread.c: Likewise.
21976 * posix/pread64.c: Likewise.
21977 * posix/pwrite.c: Likewise.
21978 * posix/pwrite64.c: Likewise.
21979 * posix/sched_getaffinity.c: Likewise.
21980 * posix/sched_getp.c: Likewise.
21981 * posix/sched_gets.c: Likewise.
21982 * posix/sched_primax.c: Likewise.
21983 * posix/sched_primin.c: Likewise.
21984 * posix/sched_rr_gi.c: Likewise.
21985 * posix/sched_setaffinity.c: Likewise.
21986 * posix/sched_setp.c: Likewise.
21987 * posix/sched_sets.c: Likewise.
21988 * posix/sched_yield.c: Likewise.
21989 * posix/setgid.c: Likewise.
21990 * posix/setlogin.c: Likewise.
21991 * posix/setpgid.c: Likewise.
21992 * posix/setresgid.c: Likewise.
21993 * posix/setresuid.c: Likewise.
21994 * posix/setsid.c: Likewise.
21995 * posix/setuid.c: Likewise.
21996 * posix/sleep.c: Likewise.
21997 * posix/spawni.c: Likewise.
21998 * posix/sysconf.c: Likewise.
21999 * posix/times.c: Likewise.
22000 * posix/wait.c: Likewise.
22001 * posix/wait3.c: Likewise.
22002 * posix/wait4.c: Likewise.
22003 * posix/waitpid.c: Likewise.
22004 * resolv/gai_sigqueue.c: Likewise.
22005 * resource/getpriority.c: Likewise.
22006 * resource/getrlimit.c: Likewise.
22007 * resource/getrusage.c: Likewise.
22008 * resource/nice.c: Likewise.
22009 * resource/setpriority.c: Likewise.
22010 * resource/setrlimit.c: Likewise.
22011 * resource/ulimit.c: Likewise.
22012 * rt/aio_cancel.c: Likewise.
22013 * rt/aio_fsync.c: Likewise.
22014 * rt/aio_read.c: Likewise.
22015 * rt/aio_sigqueue.c: Likewise.
22016 * rt/aio_suspend.c: Likewise.
22017 * rt/aio_write.c: Likewise.
22018 * rt/clock_getres.c: Likewise.
22019 * rt/clock_gettime.c: Likewise.
22020 * rt/clock_nanosleep.c: Likewise.
22021 * rt/clock_settime.c: Likewise.
22022 * rt/lio_listio.c: Likewise.
22023 * rt/mq_close.c: Likewise.
22024 * rt/mq_getattr.c: Likewise.
22025 * rt/mq_notify.c: Likewise.
22026 * rt/mq_open.c: Likewise.
22027 * rt/mq_receive.c: Likewise.
22028 * rt/mq_send.c: Likewise.
22029 * rt/mq_setattr.c: Likewise.
22030 * rt/mq_timedreceive.c: Likewise.
22031 * rt/mq_timedsend.c: Likewise.
22032 * rt/mq_unlink.c: Likewise.
22033 * rt/shm_open.c: Likewise.
22034 * rt/shm_unlink.c: Likewise.
22035 * rt/timer_create.c: Likewise.
22036 * rt/timer_delete.c: Likewise.
22037 * rt/timer_getoverr.c: Likewise.
22038 * rt/timer_gettime.c: Likewise.
22039 * rt/timer_settime.c: Likewise.
22040 * setjmp/__longjmp.c: Likewise.
22041 * setjmp/setjmp.c: Likewise.
22042 * signal/kill.c: Likewise.
22043 * signal/killpg.c: Likewise.
22044 * signal/raise.c: Likewise.
22045 * signal/sigaction.c: Likewise.
22046 * signal/sigaltstack.c: Likewise.
22047 * signal/sigblock.c: Likewise.
22048 * signal/sigignore.c: Likewise.
22049 * signal/sigintr.c: Likewise.
22050 * signal/signal.c: Likewise.
22051 * signal/sigpause.c: Likewise.
22052 * signal/sigpending.c: Likewise.
22053 * signal/sigqueue.c: Likewise.
22054 * signal/sigreturn.c: Likewise.
22055 * signal/sigset.c: Likewise.
22056 * signal/sigsetmask.c: Likewise.
22057 * signal/sigstack.c: Likewise.
22058 * signal/sigsuspend.c: Likewise.
22059 * signal/sigtimedwait.c: Likewise.
22060 * signal/sigvec.c: Likewise.
22061 * signal/sigwait.c: Likewise.
22062 * signal/sigwaitinfo.c: Likewise.
22063 * signal/sysv_signal.c: Likewise.
22064 * socket/accept.c: Likewise.
22065 * socket/accept4.c: Likewise.
22066 * socket/bind.c: Likewise.
22067 * socket/connect.c: Likewise.
22068 * socket/getpeername.c: Likewise.
22069 * socket/getsockname.c: Likewise.
22070 * socket/getsockopt.c: Likewise.
22071 * socket/isfdtype.c: Likewise.
22072 * socket/listen.c: Likewise.
22073 * socket/recv.c: Likewise.
22074 * socket/recvfrom.c: Likewise.
22075 * socket/recvmsg.c: Likewise.
22076 * socket/send.c: Likewise.
22077 * socket/sendmsg.c: Likewise.
22078 * socket/sendto.c: Likewise.
22079 * socket/setsockopt.c: Likewise.
22080 * socket/shutdown.c: Likewise.
22081 * socket/sockatmark.c: Likewise.
22082 * socket/socket.c: Likewise.
22083 * socket/socketpair.c: Likewise.
22084 * stdio-common/ctermid.c: Likewise.
22085 * stdio-common/cuserid.c: Likewise.
22086 * stdio-common/remove.c: Likewise.
22087 * stdio-common/rename.c: Likewise.
22088 * stdio-common/renameat.c: Likewise.
22089 * stdio-common/tempname.c: Likewise.
22090 * stdlib/getcontext.c: Likewise.
22091 * stdlib/makecontext.c: Likewise.
22092 * stdlib/setcontext.c: Likewise.
22093 * stdlib/swapcontext.c: Likewise.
22094 * stdlib/system.c: Likewise.
22095 * streams/fattach.c: Likewise.
22096 * streams/fdetach.c: Likewise.
22097 * streams/getmsg.c: Likewise.
22098 * streams/getpmsg.c: Likewise.
22099 * streams/putmsg.c: Likewise.
22100 * streams/putpmsg.c: Likewise.
22101 * sysdeps/unix/bsd/getpt.c: Likewise.
22102 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22103 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22104 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22106 Likewise.
22107 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22108 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22109 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22110 * sysvipc/msgctl.c: Likewise.
22111 * sysvipc/msgget.c: Likewise.
22112 * sysvipc/msgrcv.c: Likewise.
22113 * sysvipc/msgsnd.c: Likewise.
22114 * sysvipc/semctl.c: Likewise.
22115 * sysvipc/semget.c: Likewise.
22116 * sysvipc/semop.c: Likewise.
22117 * sysvipc/semtimedop.c: Likewise.
22118 * sysvipc/shmat.c: Likewise.
22119 * sysvipc/shmctl.c: Likewise.
22120 * sysvipc/shmdt.c: Likewise.
22121 * sysvipc/shmget.c: Likewise.
22122 * termios/tcdrain.c: Likewise.
22123 * termios/tcflow.c: Likewise.
22124 * termios/tcflush.c: Likewise.
22125 * termios/tcgetattr.c: Likewise.
22126 * termios/tcgetpgrp.c: Likewise.
22127 * termios/tcsendbrk.c: Likewise.
22128 * termios/tcsetattr.c: Likewise.
22129 * termios/tcsetpgrp.c: Likewise.
22130 * time/adjtime.c: Likewise.
22131 * time/clock.c: Likewise.
22132 * time/getitimer.c: Likewise.
22133 * time/gettimeofday.c: Likewise.
22134 * time/setitimer.c: Likewise.
22135 * time/settimeofday.c: Likewise.
22136 * time/stime.c: Likewise.
22137 * time/time.c: Likewise.
22138
221392012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22140
a20492cf
PT
22141 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22142 /usr/old/bin.
22143
72e182e3
PT
22144 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22145 instead of spaces.
22146 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22147
fbeafede
JM
221482012-11-03 Joseph Myers <joseph@codesourcery.com>
22149
5b5b04d6
JM
22150 [BZ #14796]
22151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22152 FE_TONEAREST before applying Dekker multiplication and Knuth
22153 addition. Clear inexact exceptions and check for exact zero
22154 results afterwards.
22155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22156 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22158 * math/libm-test.inc (fma_test): Add more tests.
22159 (fma_test_towardzero): Likewise.
22160 (fma_test_downward): Likewise.
22161 (fma_test_upward): Likewise.
22162 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22163 function.
22164 (libc_fesetround): New macro.
22165 (libc_fesetroundf): Likewise.
22166 (libc_fesetroundl): Likewise.
22167 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22168 function.
22169 (libc_fesetround_387): Likewise.
22170 (libc_fesetroundf): New macro.
22171 (libc_fesetround): Likewise.
22172 (libc_fesetroundl): Likewise.
22173 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22174 function.
22175 (libc_fesetroundf): New macro.
22176 (libc_fesetround): Likewise.
22177 (libc_fesetroundl): Likewise.
22178 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22179 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22180 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22181 libm_hidden_ver.
22182 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22183 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22184 libm_hidden_def.
22185 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22186 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22187 libm_hidden_ver.
22188 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22189 libm_hidden_def.
22190
fbeafede
JM
22191 [BZ #3439]
22192 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22193 integer constant usable in #if and use that to give value to enum
22194 constant.
22195 (FE_DIVBYZERO): Likewise.
22196 (FE_UNDERFLOW): Likewise.
22197 (FE_OVERFLOW): Likewise.
22198 (FE_INVALID): Likewise.
22199 (FE_INVALID_SNAN): Likewise.
22200 (FE_INVALID_ISI): Likewise.
22201 (FE_INVALID_IDI): Likewise.
22202 (FE_INVALID_ZDZ): Likewise.
22203 (FE_INVALID_IMZ): Likewise.
22204 (FE_INVALID_COMPARE): Likewise.
22205 (FE_INVALID_SOFTWARE): Likewise.
22206 (FE_INVALID_SQRT): Likewise.
22207 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22208 (FE_TONEAREST): Likewise.
22209 (FE_TOWARDZERO): Likewise.
22210 (FE_UPWARD): Likewise.
22211 (FE_DOWNWARD): Likewise.
22212 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22213 (FE_DIVBYZERO): Likewise.
22214 (FE_OVERFLOW): Likewise.
22215 (FE_UNDERFLOW): Likewise.
22216 (FE_INEXACT): Likewise.
22217 (FE_TONEAREST): Likewise.
22218 (FE_DOWNWARD): Likewise.
22219 (FE_UPWARD): Likewise.
22220 (FE_TOWARDZERO): Likewise.
22221 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22222 (FE_UNDERFLOW): Likewise.
22223 (FE_OVERFLOW): Likewise.
22224 (FE_DIVBYZERO): Likewise.
22225 (FE_INVALID): Likewise.
22226 (FE_TONEAREST): Likewise.
22227 (FE_TOWARDZERO): Likewise.
22228 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22229 (FE_OVERFLOW): Likewise.
22230 (FE_UNDERFLOW): Likewise.
22231 (FE_DIVBYZERO): Likewise.
22232 (FE_INEXACT): Likewise.
22233 (FE_TONEAREST): Likewise.
22234 (FE_TOWARDZERO): Likewise.
22235 (FE_UPWARD): Likewise.
22236 (FE_DOWNWARD): Likewise.
22237 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22238 (FE_DIVBYZERO): Likewise.
22239 (FE_OVERFLOW): Likewise.
22240 (FE_UNDERFLOW): Likewise.
22241 (FE_INEXACT): Likewise.
22242 (FE_TONEAREST): Likewise.
22243 (FE_DOWNWARD): Likewise.
22244 (FE_UPWARD): Likewise.
22245 (FE_TOWARDZERO): Likewise.
22246
105ca950
CM
222472012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22248
22249 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22250
a542b389
AS
222512012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22252
22253 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22254 commands. Quote $PWD.
22255 (blacklist_exports): Don't use remove_newlines. Replace "declare
22256 -x" by "export".
22257 (remove_newlines): Remove.
22258
f62c8abc
L
222592012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22260
22261 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22262 * stdlib/stdlib.h (atof): Moved to ...
22263 * include/bits/stdlib-float.h: Here. New file.
22264 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22265 * stdlib/bits/stdlib-float.h: New file.
22266 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22267 -mno-sse -mno-mmx.
22268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22269 <xmmintrin.h>.
22270
0155d5b2
JM
222712012-11-02 Joseph Myers <joseph@codesourcery.com>
22272
a68d0680
JM
22273 * conform/conformtest.pl (@headers): Add fenv.h.
22274 * conform/data/fenv.h-data: New file.
22275 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22276 include of <math/fenv.h>.
22277
caf7f573
JM
22278 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22279 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22280 && !UNIX98]. Enables tests for XOPEN2K8.
22281 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22282 POSIX2008]: Likewise.
22283
6c073ad6
JM
22284 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22285 (struct rusage): Do not expect type or its members.
22286
0155d5b2
JM
22287 [BZ #3439]
22288 * math/math.h (FP_NAN): Define macro to integer constant usable in
22289 #if and use that to give value to enum constant.
22290 (FP_INFINITE): Likewise.
22291 (FP_ZERO): Likewise.
22292 (FP_SUBNORMAL): Likewise.
22293 (FP_NORMAL): Likewise.
22294
b5dcacb4
AS
222952012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22296
22297 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22298 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22299 arguments.
22300
f7934be8
RM
223012012-11-02 Roland McGrath <roland@hack.frob.com>
22302
22303 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22304 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22305 autoconf-time if not.
22306 * configure.in: Remove AC_PREREQ.
22307
d7d08bde
TMQMF
223082012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22309
22310 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22311 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22312 of the internal implementation.
22313
dcdae19a
JM
223142012-11-02 Joseph Myers <joseph@codesourcery.com>
22315
22316 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22317 except include of <misc/sys/syslog.h>.
22318
d6cffd3e
AS
223192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22320
22321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22322 function returns with a NULL context exit with zero.
22323
b3563932
TMQMF
223242012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22325
22326 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22327
b288a93d
L
223282012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22329
22330 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22331 (run_program_cmd): This.
22332 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22333 (tst_langinfo): New variable. Use it.
22334
a2421a68
SAS
223352012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22336
22337 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22338 floating point opcodes.
22339
6f796e1b
TS
223402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22341
7402596b
TS
22342 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22343 variable.
22344
d0d4f868
TS
22345 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22346
6f796e1b
TS
22347 * sysdeps/mach/hurd/powerpc: Remove directory.
22348 * sysdeps/mach/powerpc: Likewise.
22349
4da224a2
AS
223502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22351
22352 * scripts/check-local-headers.sh: Ignore c++ headers.
22353
341dd673
TS
223542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22355
22356 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22357 __libc_cleanup_region_start argument.
22358
473611b2
JM
223592012-11-01 Joseph Myers <joseph@codesourcery.com>
22360
22361 [BZ #14784]
22362 [BZ #14785]
22363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22364 x * y using scaling, not as x * y + z.
22365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22367 * math/libm-test.inc (fma_test): Add more tests.
22368 (fma_test_towardzero): Likewise.
22369 (fma_test_downward): Likewise.
22370 (fma_test_upward): Likewise.
22371
4078da3d
TS
223722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22373
22374 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22375
903252aa
JM
223762012-10-31 Joseph Myers <joseph@codesourcery.com>
22377
22378 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22379 New variable.
22380
cbc818d0
TS
223812012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22382
22383 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22384
5a03cb1e
AS
223852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22386
22387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22388 Fix sort order.
22389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22390 Likewise.
22391
90aff2ff
TMQMF
223922012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22393
22394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22395 Fix the order of the list for glibc 2.17.
22396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22397 Likewise.
22398
1818fcb7
AS
223992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22400
22401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22402
ef82f4da
JM
224032012-10-31 Joseph Myers <joseph@codesourcery.com>
22404
16a0e2ec
JM
22405 [BZ #14610]
22406 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22407 for low part of x being zero before using __atanl (y).
22408 * math/libm-test.inc (atan2_test): Add another test.
22409
0eb69512
JM
22410 * manual/install.texi (Configuring and compiling): Document
22411 general use of test-wrapper and test-wrapper-env.
22412 * INSTALL: Regenerated.
22413
ef82f4da
JM
22414 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22415 (__fma): Do not extract and scale down low bits on after-rounding
22416 systems when result rounded to normal precision would have normal
22417 exponent.
22418 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22419 (__fmal): Do not extract and scale down low bits on after-rounding
22420 systems when result rounded to normal precision would have normal
22421 exponent.
22422 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22423 (__fmal): Do not extract and scale down low bits on after-rounding
22424 systems when result rounded to normal precision would have normal
22425 exponent.
22426 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22427 macro.
22428 (fma_test): Add more tests.
22429 (fma_test_towardzero): Likewise.
22430 (fma_test_downward): Likewise.
22431 (fma_test_upward): Likewise.
22432
954ef0d9
L
224332012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22434
22435 * sysdeps/i386/tininess.h: Renamed to ...
22436 * sysdeps/x86/tininess.h: This.
22437 * sysdeps/x86_64/tininess.h: Removed.
22438
df61ffb2
JM
224392012-10-30 Joseph Myers <joseph@codesourcery.com>
22440
22441 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22442 input. Use $(build-program-cmd).
22443 ($(objpfx)tst-array1-static.out): Likewise.
22444 ($(objpfx)tst-array2.out): Likewise.
22445 ($(objpfx)tst-array3.out): Likewise.
22446 ($(objpfx)tst-array4.out): Likewise.
22447 ($(objpfx)tst-array5.out): Likewise.
22448 ($(objpfx)tst-array5-static.out): Likewise.
22449
01767843
CM
224502012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22451
47cc1490
CM
22452 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22453 if defined.
22454
01767843
CM
22455 * nss/nsswitch.h (nss_interface_function): Provide new
22456 macro for use with NSS functions.
22457 * grp/initgroups.c: Use new macro.
22458 * nss/getXXbyYY.c: Likewise.
22459 * nss/getXXbyYY_r.c: Likewise.
22460 * nss/getXXent.c: Likewise.
22461 * nss/getXXent_r.c: Likewise.
22462 * sysdeps/posix/getaddrinfo.c: Likewise.
22463
8321aa97
AJ
224642012-10-30 Andreas Jaeger <aj@suse.de>
22465
22466 * po/ru.po: Update Russion translation from translation project.
22467
2a27fd6d
JM
224682012-10-30 Joseph Myers <joseph@codesourcery.com>
22469
8627a232
JM
22470 [BZ #14152]
22471 [BZ #14783]
22472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22473 result and shift together with sticky bit instead of replicating
22474 round-to-nearest rounding.
22475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22477 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22478 missing underflow exceptions.
22479 (fma_test_towardzero): Add more tests.
22480 (fma_test_downward): Likewise.
22481 (fma_test_upward): Likewise.
22482
2a27fd6d
JM
22483 [BZ #14047]
22484 * sysdeps/generic/tininess.h: New file.
22485 * sysdeps/i386/tininess.h: Likewise.
22486 * sysdeps/sh/tininess.h: Likewise.
22487 * sysdeps/x86_64/tininess.h: Likewise.
22488 * stdlib/tst-strtod-underflow.c: Likewise.
22489 * stdlib/tst-tininess.c: Likewise.
22490 * stdlib/strtod_l.c: Include <tininess.h>.
22491 (round_and_return): Do not set errno for exact underflow cases.
22492 Force an underflow exception when setting errno for underflow.
22493 Determine underflow based on rounding to normal precision if
22494 TININESS_AFTER_ROUNDING.
22495 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22496 ERANGE for exact underflow cases.
22497 * stdlib/Makefile (tests): Add tst-tininess and
22498 tst-strtod-underflow.
22499 ($(objpfx)tst-tininess): Use $(link-libm).
22500 ($(objpfx)tst-strtod-underflow): Likewise.
22501
e7170363
AJ
225022012-10-30 Andreas Jaeger <aj@suse.de>
22503
e5088dc6
AJ
22504 [BZ#14767]
22505 * elf/Makefile (tests): Remove conditional for have-initfini-array
22506 since this is now always required and the variable does not exist
22507 anymore.
22508 (tests-static): Likewise.
22509 (modules-names): Likewise.
22510
e7170363 22511 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22512
22513 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22514 merged with constructor/destructor.
22515 (init_array): Likewise.
22516 * elf/tst-array2dep.c (fini_array): Likewise.
22517 (init_array): Likewise.
22518
60457d8a
MF
225192012-10-29 Mike Frysinger <vapier@gentoo.org>
22520
22521 * manual/message.texi: Delete @cartouche tags.
22522
8bece752
PT
225232012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22524
94ce799f
PT
22525 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22526 EOPNOTSUPP.
22527 * sysdeps/mach/hurd/fsync.c: Likewise.
22528
8bece752
PT
22529 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22530 [_POSIX_REALTIME_SIGNALS]: Change condition to
22531 [_POSIX_REALTIME_SIGNALS > 0].
22532
86ebe6b1
AJ
225332012-10-27 Andreas Jaeger <aj@suse.de>
22534
22535 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22536 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22538 [__WORDSIZE != 64]: Likewise.
22539
54399c08
L
225402012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22541
22542 * iconvdata/tst-table.sh: Remove ${SHELL}.
22543 * iconvdata/tst-tables.sh: Likewise.
22544
e2211bed
DM
225452012-10-25 David S. Miller <davem@davemloft.net>
22546
22547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22548 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22549 of strtoull.
22550
f303f97c
DM
22551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22552 ifunc-impl-list.c
22553 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22554 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22555 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22556 file.
22557
1e9d84cd
RM
225582012-10-25 Roland McGrath <roland@hack.frob.com>
22559
22560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22561 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22562 __getdirentries.
22563
df381762
JM
225642012-10-25 Joseph Myers <joseph@codesourcery.com>
22565 Jim Blandy <jimb@codesourcery.com>
22566
22567 * scripts/cross-test-ssh.sh: New file.
22568 * manual/install.texi (Configuring and compiling): Document use of
22569 cross-test-ssh.sh.
22570 * INSTALL: Regenerated.
22571
bff64913
PT
225722012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22573
22574 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22575 EOPNOTSUPP.
22576
25fe8932
JM
225772012-10-25 Joseph Myers <joseph@codesourcery.com>
22578
22579 * Makeconfig (run-program-prefix): Fix comment.
22580
cc1290d0
JM
225812012-10-24 Joseph Myers <joseph@codesourcery.com>
22582 Jim Blandy <jimb@codesourcery.com>
22583
22584 * Makeconfig (test-wrapper): New variable,
22585 (test-wrapper-env): Likewise.
22586 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22587 (run-built-tests): Define to yes.
22588 (run-program-prefix): Use $(test-wrapper).
22589 (built-program-cmd): Likewise.
22590 * Rules (make-test-out): Use $(test-wrapper-env) and
22591 $(host-built-program-cmd).
22592 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22593 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22594 tst-pathopt.sh.
22595 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22596 $(test-wrapper-env) to tst-rtld-load-self.sh.
22597 ($(objpfx)order2.out): Use $(test-wrapper).
22598 ($(objpfx)tst-initorder.out): Likewise.
22599 ($(objpfx)tst-initorder2.out): Likewise.
22600 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22601 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22602 (test_wrapper_env): New variable. Use it to run ld.so.
22603 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22604 Use it to run ld.so.
22605 (test_wrapper_env): Likewise.
22606 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22607 $(test-wrapper) to run-iconv-test.sh.
22608 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22609 (ICONV): Use $test_wrapper.
22610 * posix/Makefile ($(objpfx)globtest.out): Pass
22611 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22612 globtest.sh, not $(run-program-prefix).
22613 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22614 (test_wrapper): Likewise.
22615 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22616 set together with run_via_rtld_prefix.
22617 (run_program_prefix): Define in terms of test_wrapper and
22618 run_via_rtld_prefix.
22619
6e6249d0
RM
226202012-10-24 Roland McGrath <roland@hack.frob.com>
22621
22622 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22623 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22624 Targets removed.
22625
22626 [BZ #14743]
22627 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22628 Declare __clock_getres, __clock_gettime, __clock_settime,
22629 __clock_nanosleep, and __clock_getcpuclockid.
22630 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22631 Remove librt_hidden_def (clock_gettime).
22632 * sysdeps/unix/clock_gettime.c: Likewise.
22633 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22635 * rt/clock_getres.c: Define __clock_getres as an alias.
22636 * sysdeps/posix/clock_getres.c: Likewise.
22637 * rt/clock_settime.c: Define __clock_settime as an alias.
22638 * sysdeps/unix/clock_settime.c: Likewise.
22639 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22640 * sysdeps/unix/clock_nanosleep.c: Likewise.
22641 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22642 * rt/clock-compat.c: New file.
22643 * rt/Makefile (librt-routines): Add clock-compat and move
22644 $(clock-routines) to ...
22645 (routines): ... here, new variable.
22646 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22647 Don't add get_clockfreq here.
22648 * rt/Versions (libc: GLIBC_2.17): New version set.
22649 Add clock_* symbols here.
22650 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22651 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22652 (GLIBC_2.17): Add clock_* symbols.
22653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22655 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22657 Likewise.
22658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22659 Likewise.
22660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22664 * NEWS: Mention the move.
22665
22666 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22667 Use __open, __read, __close rather than their public counterparts.
22668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22669 (__get_clockfreq_via_cpuinfo): Likewise.
22670 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22671 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22672
22673 * config.h.in (HAVE_IFUNC): New #undef.
22674 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22675 was successful.
22676 * configure: Regenerated.
22677
0cae3f4b
MF
226782012-10-24 Mike Frysinger <vapier@gentoo.org>
22679
22680 * configure.in: Move READELF check to start of file.
22681 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22682 libc_cv_asm_gnu_indirect_function in the process.
22683 * configure: Regenerated.
22684
8175a253
MF
226852012-10-24 Mike Frysinger <vapier@gentoo.org>
22686
22687 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22688 send the output to /dev/null.
22689 (libc_cv_cc_with_libunwind): Likewise.
22690 (libc_cv_as_noexecstack): Likewise.
22691 * configure: Regenerate.
22692
0708a7d1
JM
226932012-10-24 Joseph Myers <joseph@codesourcery.com>
22694
10b40d85
JM
22695 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22696
0708a7d1
JM
22697 * posix/globtest.sh (TMPDIR): Do not set.
22698 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22699 (testout): Likewise.
22700
9fddec1a
AJ
227012012-10-24 Andreas Jaeger <aj@suse.de>
22702
3a8db22f
AJ
22703 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22704 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22705 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22706 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22707 posix_fadvise64, posix_fallocate64.
22708
9fddec1a
AJ
22709 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22710 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22711 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22712 Likewise.
22713 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22714 Likewise.
22715 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22716
22717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22718 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22719 <bits/fcntl-linux.h>.
22720 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22721
22722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22723 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22724 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22725 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22726 [__WORDSIZE != 64]: Likewise.
22727
ebfd1bbd
JM
227282012-10-23 Joseph Myers <joseph@codesourcery.com>
22729
03ac099f
JM
22730 * Makeconfig (run-built-tests): New variable.
22731 * Rules [$(cross-compiling) = yes]: Change condition to
22732 [$(run-built-tests) = no].
22733 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22734 to [$(run-built-tests) = yes].
22735 * elf/Makefile [$(cross-compiling) = no]: Likewise
22736 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22737 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22738 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22739 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22740 * io/Makefile [$(cross-compiling) = no]: Likewise.
22741 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22742 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22743 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22744 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22745 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22746 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22747 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22748 * string/Makefile [$(cross-compiling) = no]: Likewise.
22749
ebfd1bbd
JM
22750 * posix/Makefile ($(objpfx)globtest.out): Pass
22751 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22752 $(rtld-installed-name).
22753 * posix/globtest.sh (elf_objpfx): Remove variable.
22754 (rtld_installed_name): Likewise.
22755 (library_path): Likewise.
22756 (run_program_prefix): New variable. Use for running globtest
22757 binary.
22758
166bca24
JB
227592012-10-23 Jim Blandy <jimb@codesourcery.com>
22760 Joseph Myers <joseph@codesourcery.com>
22761
22762 * Makeconfig (host-built-program-cmd): New variable.
22763 * elf/Makefile (tst-stackguard1-ARGS): Use
22764 $(host-built-program-cmd).
22765 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22766 (tst-spawn-ARGS): Likewise.
22767 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22768
88866099
JM
227692012-10-23 Joseph Myers <joseph@codesourcery.com>
22770 Jim Blandy <jimb@codesourcery.com>
22771
22772 * Makeconfig (run-via-rtld-prefix): New variable.
22773 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22774 (built-program-cmd): Likewise.
22775
b4b4c296
AJ
227762012-10-22 Andreas Jaeger <aj@suse.de>
22777
22778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22779 __O_RSYNC if it exists, otherwise to O_SYNC.
22780
6fb54a22
JB
227812012-10-22 Jim Blandy <jimb@codesourcery.com>
22782 Joseph Myers <joseph@codesourcery.com>
22783
22784 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22785 /dev/null.
22786 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22787 from /dev/null
22788 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22789 /dev/null.
22790
481b90b9
AJ
227912012-10-22 Andreas Jaeger <aj@suse.de>
22792
2a0e2669
AJ
22793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22794 Define always.
22795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22796
76e38f9a
AJ
22797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22798 bits/fcntl-linux.h.
22799
7cd37b43
AJ
22800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22801 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22802
481b90b9
AJ
22803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22804 to __O_LARGEFILE.
22805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22806 to __O_LARGEFILE.
22807
aba75984
JB
228082012-10-21 Jim Blandy <jimb@codesourcery.com>
22809 Joseph Myers <joseph@codesourcery.com>
22810
22811 * config.make.in (NM): New variable.
22812
88d4247f
AJ
228132012-10-21 Andreas Jaeger <aj@suse.de>
22814
22815 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22816 definitions and declarations that are provided by
22817 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22818
f2eed205
L
228192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22820
22821 [BZ #14683]
22822 * elf/Makefile (tests-static): Add tst-leaks1-static.
22823 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22824 ($(objpfx)tst-leaks1-static): New rule.
22825 ($(objpfx)tst-leaks1-static-mem): Likewise.
22826 (tst-leaks1-static-ENV): New macro.
22827 * elf/dl-open.c (dl_open_worker): Check the main application
22828 only if SHARED is defined.
22829 * elf/tst-leaks1-static.c: New file.
22830
335e6931
AJ
228312012-10-20 Andreas Jaeger <aj@suse.de>
22832
22833 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22834 generic values for Linux.
22835 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22836 and declarations that are provided by <bits/fcntl-linux.h> and
22837 include <bits/fcntl-linux.h>.
22838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22840
ac5c94d3
RM
228412012-10-20 Roland McGrath <roland@hack.frob.com>
22842
22843 * io/fcntl.h: Move include of <bits/types.h> to the top and
22844 include it unconditionally.
22845
de54b33a
L
228462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22847
228cfb01
L
22848 * wcsmbs/Makefile (tests-ifunc): New variable.
22849 (tests): Add $(tests-ifunc).
22850 * wcsmbs/test-wcschr-ifunc.c: New file.
22851 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22852 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22853 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22854 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22855 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22856
69f07e5f
L
22857 * string/Makefile (tests-ifunc): New variable.
22858 (tests): Add $(tests-ifunc).
22859 * string/test-memccpy.c (TEST_NAME): New macro.
22860 * string/test-memchr.c (TEST_NAME): Likewise.
22861 * string/test-memcmp.c (TEST_NAME): Likewise.
22862 * string/test-memcpy.c (TEST_NAME): Likewise.
22863 * string/test-memmem.c (TEST_NAME): Likewise.
22864 * string/test-memmove.c (TEST_NAME): Likewise.
22865 * string/test-memset.c (TEST_NAME): Likewise.
22866 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22867 * string/test-stpcpy.c (TEST_NAME): Likewise.
22868 * string/test-stpncpy.c (TEST_NAME): Likewise.
22869 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22870 * string/test-strcasestr.c (TEST_NAME): Likewise.
22871 * string/test-strcat.c (TEST_NAME): Likewise.
22872 * string/test-strchr.c (TEST_NAME): Likewise.
22873 * string/test-strcmp.c(TEST_NAME): Likewise.
22874 * string/test-strcpy.c (TEST_NAME): Likewise.
22875 * string/test-strcspn.c (TEST_NAME): Likewise.
22876 * string/test-strlen.c (TEST_NAME): Likewise.
22877 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22878 * string/test-strncmp.c (TEST_NAME): Likewise.
22879 * string/test-strncpy.c (TEST_NAME): Likewise.
22880 * string/test-strnlen.c (TEST_NAME): Likewise.
22881 * string/test-strpbrk.c (TEST_NAME): Likewise.
22882 * string/test-strrchr.c (TEST_NAME): Likewise.
22883 * string/test-strspn.c (TEST_NAME): Likewise.
22884 * string/test-strstr.c (TEST_NAME): Likewise.
22885 * string/test-bcopy-ifunc.c: New file.
22886 * string/test-bzero-ifunc.c: Likewise.
22887 * string/test-memccpy-ifunc.c: Likewise.
22888 * string/test-memchr-ifunc.c: Likewise.
22889 * string/test-memcmp-ifunc.c: Likewise.
22890 * string/test-memcpy-ifunc.c: Likewise.
22891 * string/test-memmem-ifunc.c: Likewise.
22892 * string/test-memmove-ifunc.c: Likewise.
22893 * string/test-mempcpy-ifunc.c: Likewise.
22894 * string/test-memset-ifunc.c: Likewise.
22895 * string/test-rawmemchr-ifunc.c: Likewise.
22896 * string/test-stpcpy-ifunc.c: Likewise.
22897 * string/test-stpncpy-ifunc.c: Likewise.
22898 * string/test-strcasecmp-ifunc.c: Likewise.
22899 * string/test-strcasestr-ifunc.c: Likewise.
22900 * string/test-strcat-ifunc.c: Likewise.
22901 * string/test-strchr-ifunc.c: Likewise.
22902 * string/test-strchrnul-ifunc.c: Likewise.
22903 * string/test-strcmp-ifunc.c: Likewise.
22904 * string/test-strcpy-ifunc.c: Likewise.
22905 * string/test-strcspn-ifunc.c: Likewise.
22906 * string/test-strlen-ifunc.c: Likewise.
22907 * string/test-strncasecmp-ifunc.c: Likewise.
22908 * string/test-strncat-ifunc.c: Likewise.
22909 * string/test-strncmp-ifunc.c: Likewise.
22910 * string/test-strncpy-ifunc.c: Likewise.
22911 * string/test-strnlen-ifunc.c: Likewise.
22912 * string/test-strpbrk-ifunc.c: Likewise.
22913 * string/test-strrchr-ifunc.c: Likewise.
22914 * string/test-strspn-ifunc.c: Likewise.
22915 * string/test-strstr-ifunc.c: Likewise.
22916
de54b33a
L
22917 * debug/Makefile (tests-ifunc): New variable.
22918 (tests): Add $(tests-ifunc).
22919 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22920 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22921 * debug/test-stpcpy_chk-ifunc.c: New file.
22922 * debug/test-strcpy_chk-ifunc.c: Likewise.
22923
88481c16
SP
229242012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22925
22926 [BZ #13601]
22927 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22928 header is not read in.
22929
135948bd
JM
229302012-10-19 Joseph Myers <joseph@codesourcery.com>
22931
89f1c388
JM
22932 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22933 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22934 directly. Pass built executable to script as
22935 $(built-program-cmd).
22936 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22937 $testprogram without using LD_LIBRARY_PATH and $ldso.
22938
e40a0d21
JM
22939 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22940 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22941 $(rtld-installed-name).
22942 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22943 (rtld_installed_name): Likewise.
22944 (library_path): Likewise.
22945 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22946 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22947 $(run-program-prefix) to tst-tables.sh.
22948 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22949 it to run tst-table-from and tst-table-to.
22950 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22951 Pass it to tst-table.sh.
22952 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22953 $(run-program-prefix) to tst-gettext.sh.
22954 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22955 tst-translit.sh.
22956 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22957 tst-gettext2.sh.
22958 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22959 to run tst-gettext.
22960 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22961 to run tst-gettext2.
22962 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22963 to run tst-translit.
22964 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22965 $(run-program-prefix) to tst-mtrace.sh.
22966 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22967 to run tst-mtrace.
22968 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22969 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22970 $(rtld-installed-name).
22971 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22972 (rtld_installed_name): Likewise.
22973 (run_program_prefix): New variable. Use it to run wordexp-test.
22974
728e272a
JM
22975 * Makeconfig (ARCH): Remove all definitions.
22976 (machine): Likewise.
22977 [ARCH]: Remove conditional code.
22978 [!objdir]: Give error.
22979 [!objdir] (objpfx): Remove.
22980 [!objdir] (common-objpfx): Likewise.
22981 [!objdir] (common-objdir): Likewise.
22982 * configure.in (config_makefile): Remove. Hardcode Makefile in
22983 AC_CONFIG_FILES call.
22984 * configure: Regenerated.
22985
d528cdcf
JM
22986 [BZ #13888]
22987 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22988 or TMPDIR.
22989 (testout): Likewise.
22990
135948bd
JM
22991 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22992 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22993 $(rtld-installed-name).
22994 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22995 (rtld_installed_name): Likwise.
22996 (runit): Remove function.
22997 (run_getconf): New variable, Use it for running getconf binary.
22998
38c78296
L
229992012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23000
23001 [BZ #14716]
23002 * string/test-memmem.c (check_result): New function.
23003 (do_one_test): Use it.
23004 (check1): New function.
23005 (test_main): Use it.
23006
d077f65f
MT
230072012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23008
23009 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23010
ced52c71
JM
230112012-10-18 Joseph Myers <joseph@codesourcery.com>
23012
23013 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23014 (_G_LSEEK64): Likewise.
23015 (_G_MMAP64): Likewise.
23016 (_G_FSTAT64): Likewise.
23017 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23018 (_G_LSEEK64): Likewise.
23019 (_G_MMAP64): Likewise.
23020 (_G_FSTAT64): Likewise.
23021 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23022 unconditional. Call __mmap64 directly.
23023 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23024 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23025 __lseek64 directly.
23026 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23027 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23028 __mmap64 directly.
23029 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23030 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23031 __lseek64 directly.
23032 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23033 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23034 __lseek64 directly.
23035 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23036 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23037 __lseek64 directly.
23038 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23039 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23040 __fxstat64 directly.
23041 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23042 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23043 unconditional.
23044 (freopen64) [!_G_OPEN64]: Remove conditional code.
23045 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23046 unconditional.
23047 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23048 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23049 unconditional.
23050 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23051 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23052 unconditional.
23053 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23054 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23055 unconditional.
23056 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23057 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23058 unconditional.
23059 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23060 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23061 unconditional.
23062 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23063 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23064 unconditional.
23065 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23066
b741de23
SP
230672012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23068
23069 [BZ #12140]
23070 * manual/memory.texi (Malloc Tunable Parameters): Add note
23071 about free list pointers overwriting some perturb bytes.
23072 Wording suggested by Roland McGrath.
23073
f9b9d9c9
JM
230742012-10-17 Joseph Myers <joseph@codesourcery.com>
23075
23076 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23077 (lgamma_test): Likewise.
23078 (tgamma_test): Likewise.
23079
172a631a
FW
230802012-10-16 Florian Weimer <fweimer@redhat.com>
23081
23082 [BZ #14700]
23083 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23084 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23085
e9f37252
MK
230862012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23087
23088 * NEWS: Mention BZ #14716.
23089 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23090 when removing AVAILABLE1_USES_J macro.
23091
d394eb74
L
230922012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23093
23094 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23095 (__bswap_64): __uint64_t for unsigned 64-bit int.
23096
ca38dc17
AS
230972012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23098
23099 * include/string.h (memmem): Declare libc hidden alias.
23100 * string/memmem.c (memmem): Define libc hidden alias.
23101 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23102 __read, __close instead of open, read, close.
23103
9a387d1f
L
231042012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23105
ac49ecaf
L
23106 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23107 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23108 global and hidden.
23109 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23110 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23111 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23112 Likewise.
23113 (__rawmemchr_sse2): Likewise.
23114 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23115 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23116 (__strchr_sse2): Likewise.
23117 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23118 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23119 (__strcasecmp_sse2): Likewise.
23120 (__strncasecmp_sse2): Likewise.
23121 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23122 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23123 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23124 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23125 (__strrchr_sse2): Likewise.
23126 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23127 ifunc-impl-list.c.
23128 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23129 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23130 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23131 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23132 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23133 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23134 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23135 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23136 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23137 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23138 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23139 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23140 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23141 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23142 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23143 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23144 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23145 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23146 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23147 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23148 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23149 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23150 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23151 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23152 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23153 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23154 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23155 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23156 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23157 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23158
b090e8ea
L
23159 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23160 global and hidden.
23161 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23162 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23163 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23164 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23165 Likewise.
23166 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23167 Likewise.
23168 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23169 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23170 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23171 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23172 ifunc-impl-list.c.
23173 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23174 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23175 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23176 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23177 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23178 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23179 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23180 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23181 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23182 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23183 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23184 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23185 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23186 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23187 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23188 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23189 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23190 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23191 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23192 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23193 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23194 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23195 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23196 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23197 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23198 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23199 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23200 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23201 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23202 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23203 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23204 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23205 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23206 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23207 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23208 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23209 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23210 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23211 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23212 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23213 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23214
11dd4af6
L
23215 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23216 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23217 * include/ifunc-impl-list.h: New file.
23218 * misc/ifunc-impl-list.c: Likewise.
23219 * misc/Makefile (routines): Add ifunc-impl-list.
23220 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23221 * string/test-string.h: Include <ifunc-impl-list.h>.
23222 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23223 impl_array): New variables.
23224 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23225 are defined.
23226 (test_init): Call __libc_ifunc_impl_list to initialize
23227 func_list if TEST_IFUNC and TEST_NAME are defined.
23228
9a387d1f
L
23229 * string/Makefile (strop-tests): Add bcopy and bzero.
23230 * string/test-bcopy.c: New file.
23231 * string/test-bzero.c: Likewise.
23232 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23233 defined.
23234 * string/test-memset.c: Support bzero test if TEST_BZERO is
23235 defined.
23236 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23237 __libc_memmove.
23238 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23239 __libc_memset.
23240 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23241 of memset.
23242
472371b9
JM
232432012-10-10 Joseph Myers <joseph@codesourcery.com>
23244
1e4a9536
JM
23245 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23246 * configure: Regenerated.
23247
d173d12e
JM
23248 * Makeconfig (+link-static-before-libc): Don't include
23249 $(link-static-libc).
23250
472371b9
JM
23251 * libio/libio.h (_IO_pos_t): Remove.
23252
89a3ad0b
AO
232532012-10-10 Alexandre Oliva <aoliva@redhat.com>
23254
23255 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23256 McGrath.
23257
e7451425
AO
232582012-10-10 Alexandre Oliva <aoliva@redhat.com>
23259
23260 * crypt/crypt-entry.c: Include fips-private.h.
23261 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23262 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23263 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23264 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23265
4ba74a35
AO
232662012-10-10 Alexandre Oliva <aoliva@redhat.com>
23267
23268 * crypt/crypt-private.h: Include stdbool.h.
23269 (_ufc_setup_salt_r): Return bool.
23270 * crypt/crypt-entry.c: Include errno.h.
23271 (__crypt_r): Return NULL with EINVAL for bad salt.
23272 * crypt/crypt_util.c (bad_for_salt): New.
23273 (_ufc_setup_salt_r): Check that salt is long enough and within
23274 the specified alphabet.
23275 * crypt/badsalttest.c: New file.
23276 * crypt/Makefile (tests): Add it.
23277 ($(objpfx)badsalttest): New.
23278
f96f1242
MK
232792012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23280
23281 * NEWS: Add entry for BZ #14602.
23282
0e8e0c1c
JM
232832012-10-09 Joseph Myers <joseph@codesourcery.com>
23284
23285 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23286 type-generic.
23287 * math/libm-test.inc: Update comment listing what functions and
23288 macros are tested.
23289 (isgreater_test): New function.
23290 (isgreaterequal_test): Likewise.
23291 (isless_test): Likewise.
23292 (islessequal_test): Likewise.
23293 (islessgreater_test): Likewise.
23294 (isunordered_test): Likewise.
23295 (main): Call the new functions.
23296
273edc5e
RM
232972012-10-09 Roland McGrath <roland@hack.frob.com>
23298
b8493de0
RM
23299 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23300 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23301 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23302 * sysdeps/i386/configure: Regenerated.
23303 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23304 * sysdeps/mach/configure: Regenerated.
23305 * sysdeps/mach/hurd/configure: Regenerated.
23306 * sysdeps/powerpc/configure: Regenerated.
23307 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23308 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23309 * sysdeps/s390/s390-32/configure: Regenerated.
23310 * sysdeps/s390/s390-64/configure: Regenerated.
23311 * sysdeps/sh/configure: Regenerated.
23312 * sysdeps/sparc/configure: Regenerated.
23313 * sysdeps/unix/sysv/linux/configure: Regenerated.
23314 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23315 * sysdeps/x86_64/configure: Regenerated.
23316
273edc5e
RM
23317 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23318 defined. Don't check if MAP is NULL.
23319
c8450f70
JM
233202012-10-09 Joseph Myers <joseph@codesourcery.com>
23321
23322 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23323 (_G_stat64): Likewise.
23324 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23325 (_G_stat64): Likewise.
23326 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23327 instead of struct _G_stat64.
23328 * libio/fileops.c (mmap_remap_check): Likewise.
23329 (decide_maybe_mmap): Likewise.
23330 (_IO_new_file_seekoff): Likewise.
23331 (_IO_file_stat): Likewise.
23332 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23333 _G_off64_t.
23334 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23335 instead of struct _G_stat64.
23336 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23337
57e605ba
MK
233382012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23339
23340 [BZ #14602]
23341 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23342 Replace with ...
23343 (CHECK_EOL): New macro.
23344 (two_way_short_needle): Check beginning of haystack for EOL. Use
23345 CHECK_EOL.
23346 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23347 Replace with CHECK_EOL.
23348 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23349 Replace with CHECK_EOL.
23350
ef1bb361
JM
233512012-10-08 Joseph Myers <joseph@codesourcery.com>
23352
23353 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23354 type-generic.
23355 * math/libm-test.inc: Update comment listing what functions and
23356 macros are tested.
23357 (finite_test): New function.
23358 (isinf_test): Likewise.
23359 (isnan_test): Likewise.
23360 (fpclassify_test): Test subnormal input.
23361 (isfinite_test): Likewise.
23362 (isnormal_test): Likewise.
23363 (main): Call the new functions.
23364
55f11534
JN
233652012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23366
23367 [BZ #14660]
23368 * Makerules (%.dynsym): Force C locale when running
23369 $(OBJDUMP) --dynamic-syms.
23370
1ab29350
AS
233712012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23372
23373 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23374 <stdint.h>.
23375
f1ecb7ef
DM
233762012-10-06 David S. Miller <davem@davemloft.net>
23377
23378 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23379 upper 32-bits of the length value in %o2 since we use branch-on-register
23380 tests which consider the entire 64-bit register.
23381
5d41d91a
L
233822012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23383
23384 * string/test-strstr.c (check2): Add a test for page boundary.
23385
3baddb72
DM
233862012-10-05 David S. Miller <davem@davemloft.net>
23387
23388 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23389 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23390 file.
23391 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23392 sysdep_routines.
23393 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23394 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23395 and bzero when HWCAP_SPARC_CRYPTO is present.
23396
9cee5585
L
233972012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23398
d7e0dab9
L
23399 [BZ #14602]
23400 * string/test-strstr.c (check2): New function.
23401 (test_main): Call check2.
23402
03759f47
L
23403 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23404 and bug-strchr1.
23405 * string/bug-strcasestr1.c (do_test): Moved to ...
23406 * string/test-strcasestr.c (check1): Here. New function.
23407 (do_one_test): Break out result checking code into ...
23408 (check_result): This. New function.
23409 (do_one_test): Call check_result.
23410 (test_main): Call check1.
23411 * string/bug-strchr1.c (do_test): Moved to ...
23412 * string/test-strchr.c (check1): Here. New function.
23413 (do_one_test): Break out result checking code into ...
23414 (check_result): This. New function.
23415 (do_one_test): Call check_result.
23416 (test_main): Call check1.
23417 * string/bug-strstr1.c (main): Moved to ...
046f153e 23418 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23419 (do_one_test): Break out result checking code into ...
23420 (check_result): This. New function.
23421 (do_one_test): Call check_result.
23422 (test_main): Call check1.
23423 * string/bug-strcasestr1.c: Removed.
23424 * string/bug-strchr1.c: Likewise.
23425 * string/bug-strstr1.c: Likewise.
23426
53cea63e
L
23427 * elf/Makefile (dl-routines): Add hwcaps.
23428 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23429 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23430 (_dl_important_hwcaps): Moved to ...
23431 * elf/dl-hwcaps.c: Here. New file.
23432 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23433
9cee5585 23434 [BZ #14557]
bb859b06
L
23435 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23436 if IS_IN_rtld isn't defined.
23437
9cee5585
L
23438 * elf/dl-support.c (_dl_sysinfo_map): New.
23439 Include "get-dynamic-info.h" and "setup-vdso.h".
23440 (_dl_non_dynamic_init): Call setup_vdso.
23441 * elf/dynamic-link.h: Don't include <assert.h>.
23442 (elf_get_dynamic_info): Moved to ...
23443 * elf/get-dynamic-info.h: Here. New file.
23444 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23445 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23446 * elf/setup-vdso.h: Here. New file.
23447 * elf/rtld.c: Include "setup-vdso.h".
23448 (dl_main): Call setup_vdso.
23449
23c31b76
JM
234502012-10-05 Joseph Myers <joseph@codesourcery.com>
23451
28234b07
JM
23452 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23453 creal in comment listing functions tested. List finite, isinf,
23454 isnan, isless, islessequal, isgreater, isgreaterequal,
23455 islessgreater, isunordered, lgamma_r and pow10 as functions and
23456 macros not tested. Mention which functions not tested are aliases
23457 for other functions. Fix typo. Note that signs of NaNs are not
23458 tested.
23459
23c31b76
JM
23460 * scripts/config.guess: Update from config.git.
23461 * scripts/config.sub: Likewise.
23462
9043e228
RM
234632012-10-04 Roland McGrath <roland@hack.frob.com>
23464
23465 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23466 * misc/madvise.c (madvise): Renamed to __madvise.
23467 Make madvise a weak alias.
23468 * include/sys/mman.h: Declare __madvise.
23469 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23470 * sysdeps/unix/syscalls.list
23471 (madvise): Make __madvise the strong name, and madvise a weak alias.
23472 * sysdeps/unix/sysv/linux/syscalls.list
23473 (madvise, mmap): Remove redundant entries.
23474 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23475 * malloc/malloc.c (mtrim): Likewise.
23476 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23477
f57f8055
RM
234782012-10-03 Roland McGrath <roland@hack.frob.com>
23479
23480 * sysdeps/mach/hurd/dl-cache.c: File removed.
23481 * config.h.in (USE_LDCONFIG): New #undef.
23482 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23483 * configure: Regenerated.
23484 * elf/Makefile (dl-routines): Add dl-cache only under
23485 [$(use-ldconfig) = yes].
23486 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23487 cache on [USE_LDCONFIG].
23488 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23489 [USE_LDCONFIG].
23490 * elf/rtld.c (dl_main): Likewise.
23491
5bb0c10a
PT
234922012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23493
23494 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23495 _SC_LEVEL4_CACHE_LINESIZE.
23496
010188c6
RM
234972012-10-03 Roland McGrath <roland@hack.frob.com>
23498
23499 * sysdeps/unix/bsd/confstr.h: File removed.
23500
b6c5ec07
AO
235012012-10-02 Alexandre Oliva <aoliva@redhat.com>
23502
23503 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23504 sys/sdt-config.h.
23505
408223d4
RM
235062012-10-02 Roland McGrath <roland@hack.frob.com>
23507
23508 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23509 Make 'mapoff' field ElfW(Off) rather than off_t.
23510
bb9510dc
DL
235112012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23512
fc997c6e
DL
23513 * nscd/Makefile: Remove nscd-cflags and all its users.
23514 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23515 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23516
bb9510dc
DL
23517 [BZ #10631]
23518 * malloc.c (malloc_printerr): Clarify error message.
23519
05699367
L
235202012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23521
23522 [BZ #14648]
23523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23524 Set bit_FMA_Usable if FMA is supported.
23525 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23526 macro.
23527 (bit_FMA4_Usable): Updated.
23528 (index_FMA_Usable): New macro.
23529 (CPUID_FMA): Likewise
23530 (HAS_FMA): Defined with bit_FMA_Usable.
23531
51367701
RM
235322012-10-01 Roland McGrath <roland@hack.frob.com>
23533
23534 * bits/types.h (__swblk_t): Type removed.
23535 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23536 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23538 (__SWBLK_T_TYPE): Likewise.
23539 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23540 (__SWBLK_T_TYPE): Likewise.
23541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23542 (__SWBLK_T_TYPE): Likewise.
23543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23544 (__SWBLK_T_TYPE): Likewise.
23545
4d57bf63 235462012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23547 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23548
23549 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23550 (xdr_mapname): Use YPMAXMAP as maxsize.
23551 (xdr_peername): Use YPMAXPEER as maxsize.
23552 (xdr_keydat): Use YPAXRECORD as maxsize.
23553 (xdr_valdat): Use YPMAXRECORD as maxsize.
23554
93c65d43
RM
235552012-10-01 Roland McGrath <roland@hack.frob.com>
23556
497a03d6
RM
23557 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23558
93c65d43
RM
23559 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23560 * csu/init-first.c: ... here.
23561 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23562 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23563 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23564 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23565 * sysdeps/i386/init-first.c: File removed.
23566 * sysdeps/sh/init-first.c: File removed.
23567
bec749fd
JM
235682012-10-01 Joseph Myers <joseph@codesourcery.com>
23569
23570 [BZ #14645]
23571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23572 if x * y might underflow to zero and z is zero.
23573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23575 * math/libm-test.inc (min_subnorm_value): New variable.
23576 (fma_test): Add more tests.
23577 (fma_test_towardzero): Likewise.
23578 (fma_test_downward): Likewise
23579 (fma_test_upward): Likewise.
23580 (initialize): Set min_subnorm_value.
23581
8ec5b013
JM
235822012-09-29 Joseph Myers <joseph@codesourcery.com>
23583
23584 [BZ #14638]
23585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23586 0 + 0.
23587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23588 mode for addition resulting in exact zero.
23589 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23590 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23591 exact 0 + 0.
23592 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23594 * math/libm-test.inc (fma_test): Add more tests.
23595 (fma_test_towardzero): New function.
23596 (fma_test_downward): Likewise.
23597 (fma_test_upward): Likewise.
23598 (main): Call the new functions.
23599
b1fa802e
DM
236002012-09-28 David S. Miller <davem@davemloft.net>
23601
23602 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23603
d3b9fd9e
RM
236042012-09-28 Roland McGrath <roland@hack.frob.com>
23605
ea4d37b3
RM
23606 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23607 instead of SIGALRM.
23608
ac51c949
RM
23609 * sysdeps/gnu/_G_config.h: Moved to ...
23610 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23611 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23612 * sysdeps/generic/_G_config.h: ... here.
23613
28c195f7
RM
23614 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23615
848917f9
RM
23616 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23617
6bacf05b
RM
23618 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23619 Conditionalize target on [libnss_test1.so-version].
23620
91363dbb
RM
23621 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23622
cc87f7d8
RM
23623 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23624 (elfobjdir): Move out of conditionals.
23625
b1c608fe
RM
23626 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23627 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23628 (__nss_lookup_function): Conditionalize label remove_from_tree on
23629 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23630
1d9a6d96
DM
236312012-09-28 David S. Miller <davem@davemloft.net>
23632
23633 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23634 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23635 file.
23636 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23637 sysdep_routines.
23638 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23639 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23640 when HWCAP_SPARC_CRYPTO is present.
23641
72581615
PT
236422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23643
23644 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23645
715a900c
JL
236462012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23647
23648 [BZ #6530]
23649 * stdio-common/vfprintf.c (process_string_arg): Revert
23650 2000-07-22 change.
23651
236522011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23653
23654 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23655 for testcase.
23656 * stdio-common/tst-sprintf.c: Include <locale.h>
23657 (main): Test sprintf's handling of incomplete multibyte
23658 characters.
23659
9bac1d86
L
236602012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23661
23662 * elf/dl-runtime.c (VERSYMIDX): Removed.
23663 * elf/dl-version.c (VERSYMIDX): Likewise.
23664 * elf/do-rel.h (VERSYMIDX): Likewise.
23665 (VALIDX): Likewise.
23666 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23667 * elf/rtld.c (VALIDX): Likewise.
23668 (ADDRIDX): Likewise.
9bac1d86
L
23669 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23670 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23671 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23672 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23673 (VALIDX): Likewise.
23674 (ADDRIDX): Likewise.
9bac1d86 23675
b31606c0
PT
236762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23677
23678 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23679
11541177
JL
236802012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23681
23682 [BZ #11438]
23683 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23684 to global scope.
23685 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23686 addresses are in the same scope as 192.0.2/24.
23687 * posix/gai.conf: Document new scope table defaults.
23688
adb26fae
SP
236892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23690
23691 [BZ #5298]
23692 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23693 for ftell. Compute offsets from write pointers instead.
23694 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23695
4573c6b0
SP
236962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23697
23698 [BZ #14543]
23699 * libio/Makefile (tests): New test case tst-fseek.
23700 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23701 combination works in wide mode.
23702 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23703 state when the external buffer state changes.
23704
aa9bbfe6
DM
237052012-09-27 David S. Miller <davem@davemloft.net>
23706
23707 [BZ #14376]
23708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23709 pass reloc->r_addend in as the 'high' argument to
23710 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23711
784421e7
DM
23712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23713
c39bc8b8
PT
237142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23715
23716 * rt/tst-aio2.c: Include <pthread.h>.
23717 * rt/tst-aio3.c: Likewise.
23718
1ccc2399
SE
237192012-09-27 Steve Ellcey <sellcey@mips.com>
23720
23721 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23722
31ed4153
L
237232012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23724
25f5f885
L
23725 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23726 contents on [SHARED].
31ed4153 23727
b7bfe116
MP
237282012-09-26 Marek Polacek <polacek@redhat.com>
23729
23730 [BZ #14530]
23731 [BZ #13741]
23732 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23733 for C++ and GCC <4.3 as well as for non GCC compilers.
23734
43c4edba
MT
237352012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23736
23737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23738
6a1bf82f
RM
237392012-09-25 Roland McGrath <roland@hack.frob.com>
23740
23741 * Makefile.in (all, install): Declare with .PHONY.
23742 Reported by Michael Hope <michael.hope@linaro.org>.
23743
8ad11b9a
TMQMF
237442012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23745
23746 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23747 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23748 system header.
23749 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23750 Likewise.
23751 (sydep_routines): Add the new and the internal functions.
23752 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23753 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23755 (GLIBC_2.17): Add the new function.
23756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23757 (GLIBC_2.17): Likewise.
23758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23759 (GLIBC_2.17): Likewise.
23760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23761 (GLIBC_2.17): Likewise.
23762 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23763
7e2fca8d
AM
237642012-09-25 Alan Modra <amodra@gmail.com>
23765
23766 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23767 Add release barrier before setting once_control to say
23768 initialisation is done. Add hints on lwarx. Use macro in
23769 place of isync.
23770 (clear_once_control): Add release barrier.
23771
b87c4b24
JM
237722012-09-25 Joseph Myers <joseph@codesourcery.com>
23773
d032e0d2
JM
23774 [BZ #13629]
23775 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23776 specially.
23777 * math/s_clog10.c (__clog10): Likewise.
23778 * math/s_clog10f.c (__clog10f): Likewise.
23779 * math/s_clog10l.c (__clog10l): Likewise.
23780 * math/s_clogf.c (__clogf): Likewise.
23781 * math/s_clogl.c (__clogl): Likewise.
23782 * math/Makefile (libm-calls): Add x2y2m1.
23783 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23784 (__x2y2m1): Likewise.
23785 (__x2y2m1l): Likewise.
23786 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23787 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23788 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23789 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23790 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23791 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23792 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23793 * sysdeps/i386/fpu/libm-test-ulps: Update.
23794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23795
b87c4b24
JM
23796 [BZ #14621]
23797 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23798 int as type of variable DEPTH.
23799 (glob): Use size_t instead of int as type of variables NEWCOUNT
23800 and OLD_PATHC.
23801
6d3bf199
LD
238022012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23803
22bf5c17
LD
23804 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23805 Add s_sincosf-sse2.
23806 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23807 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23808 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23809 macros for using routine as __sincosf_ia32.
23810 Use macro for function declaration and weak_alias.
23811 * sysdeps/i386/fpu/libm-test-ulps: Update.
23812
23813 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23815
23816 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23817 subnormal argument.
23818 * math/s_cexpf.c (__cexpf): Likewise.
23819 * math/s_csinf.c (__csinf): Likewise.
23820 * math/s_csinhf.c (__csinhf): Likewise.
23821 * math/s_ctanf.c (__ctanf): Likewise.
23822 * math/s_ctanhf.c (__ctanhf): Likewise.
23823 * math/s_ccosh.c (__ccoshf): Likewise.
23824 * math/s_cexp.c (__cexpl): Likewise.
23825 * math/s_csin.c (__csin): Likewise.
23826 * math/s_csinh.c (__csinh): Likewise.
23827 * math/s_ctan.c (__ctan): Likewise.
23828 * math/s_ctanh.c (ctanh): Likewise.
23829 * math/s_ccoshl.c (__ccoshl): Likewise.
23830 * math/s_cexpl.c (__cexpl): Likewise.
23831 * math/s_csinl.c (__csinl): Likewise.
23832 * math/s_csinhl.c (__csinhl): Likewise.
23833 * math/s_ctanl.c (__ctanl): Likewise.
23834 * math/s_ctanhl.c (__ctanhl): Likewise.
23835
203e5603
JM
238362012-09-25 Joseph Myers <joseph@codesourcery.com>
23837
23838 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23839 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23840 (_IO_off_t): Define to __off_t, not _G_off_t.
23841 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23842 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23843 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23844 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23845 type of __dummy and __dummy2 fields.
23846 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23847 (_G_ssize_t): Likewise.
23848 (_G_off_t): Likewise.
23849 (_G_pid_t): Likewise.
23850 (_G_uid_t): Likewise.
23851 (_G_wchar_t): Likewise.
23852 (_G_wint_t): Likewise.
23853 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23854 (_G_ssize_t): Likewise.
23855 (_G_off_t): Likewise.
23856 (_G_pid_t): Likewise.
23857 (_G_uid_t): Likewise.
23858 (_G_wchar_t): Likewise.
23859 (_G_wint_t): Likewise.
23860 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23861 (_G_ssize_t): Likewise.
23862 (_G_off_t): Likewise.
23863 (_G_pid_t): Likewise.
23864 (_G_uid_t): Likewise.
23865 (_G_wchar_t): Likewise.
23866 (_G_wint_t): Likewise.
23867
9fab36eb
SP
238682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23869
23870 * malloc/arena.c: Include malloc-sysdep.h.
23871 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23872 is sufficient to shrink the heap or an unmap is needed.
23873 * sysdeps/generic/malloc-sysdep.h: New file. Define
23874 new function check_may_shrink_heap.
23875 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23876 new function check_may_shrink_heap.
23877
2b4f00d1
SP
238782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23879
23880 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23881 comments.
23882
9a9028b1
DL
238832012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23884
57c69bef
DL
23885 * catgets/test-gencat.sh: Add "set -e".
23886 * elf/tst-pathopt.sh: Likewise.
23887 * grp/tst_fgetgrent.sh: Likewise.
23888 * iconvdata/run-iconv-test.sh: Likewise.
23889 * intl/tst-gettext.sh: Likewise.
23890 * intl/tst-gettext2.sh: Likewise.
23891 * intl/tst-gettext4.sh: Likewise.
23892 * intl/tst-gettext6.sh: Likewise.
23893 * intl/tst-translit.sh: Likewise.
23894 * io/ftwtest-sh: Likewise.
23895 * libio/test-freopen.sh: Likewise.
23896 * malloc/tst-mtrace.sh: Likewise.
23897 * posix/globtest.sh: Likewise.
23898 * posix/tst-getconf.sh: Likewise.
23899 * posix/wordexp-tst.sh: Likewise.
23900 * stdio-common/tst-printf.sh: Likewise.
23901 * stdio-common/tst-unbputc.sh: Likewise.
23902 * stdlib/tst-fmtmsg.sh: Likewise.
23903 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23904 * catgets/Makefile: Do not specify -e option when running
23905 testsuite shell scripts.
23906 * elf/Makefile: Likewise.
23907 * grp/Makefile: Likewise.
23908 * iconvdata/Makefile: Likewise.
23909 * intl/Makefile: Likewise.
23910 * io/Makefile: Likewise.
23911 * libio/Makefile: Likewise.
23912 * malloc/Makefile: Likewise.
23913 * posix/Makefile: Likewise.
23914 * stdio-common/Makefile: Likewise.
23915 * stdlib/Makefile: Likewise.
23916 * sysdeps/x86_64/Makefile: Likewise.
23917
9a9028b1
DL
23918 * io/ftwtest-sh: Add copyright header.
23919 * posix/globtest.sh: Likewise.
23920 * posix/tst-getconf.sh: Likewise.
23921 * posix/wordexp-tst.sh: Likewise.
23922 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23923
ced6f16e
L
239242012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23925
94b32c39
L
23926 [BZ #13679]
23927 * Makeconfig (+link): Defined as $(+link-static) if
23928 $(build-shared) isn't yes.
23929 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23930 isn't yes.
23931 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23932
189e935b
L
23933 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23934
ced6f16e
L
23935 [BZ #14562]
23936 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23937 new chunk size with MALLOC_ALIGN_MASK.
23938
a9f8e53a
JM
239392012-09-24 Joseph Myers <joseph@codesourcery.com>
23940
23941 [BZ #5044]
23942 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23943 <rounding-mode.h>.
23944 (__printf_fphex): Determine rounding using get_rounding_mode and
23945 round_away.
23946 * stdio-common/tst-printf-round.c (struct hex_test): New
23947 structure.
23948 (hex_tests): New variable.
23949 (test_hex_in_one_mode): New function.
23950 (do_test): Also run tests for hex float output.
23951
43153109
JM
239522012-09-21 Joseph Myers <joseph@codesourcery.com>
23953
23954 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23955 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23956 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23957 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23958 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23959 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23960 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23961 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23962
8a26625d
JM
239632012-09-20 Joseph Myers <joseph@codesourcery.com>
23964
23965 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23966 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23967 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23968 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23969
f3fd569c
DL
239702012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23971
23972 [BZ #14579]
23973 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23974 mode only.
23975 * elf/tst-rtld-load-self.sh: New test.
23976 * elf/Makefile: Run it.
23977
63bbedd4
JM
239782012-09-18 Joseph Myers <joseph@codesourcery.com>
23979
23980 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23981 (tst-writev-ENV): Remove.
23982 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23983
626f8b6a
CM
239842012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23985
23986 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23987
b7aaa4d6
JM
239882012-09-17 Joseph Myers <joseph@codesourcery.com>
23989
23990 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23991 unconditional.
23992 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23993 Likewise.
23994 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23995 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23996 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23997 Likewise.
23998
65513990
L
239992012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24000
24001 [BZ #14587]
24002 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24003 * config.make.in (have-cpp-asm-debuginfo): Removed.
24004 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24005 * configure: Regenerated.
24006
784761be
JM
240072012-09-14 Joseph Myers <joseph@codesourcery.com>
24008
24009 [BZ #5044]
24010 * stdio-common/printf_fp.c: Include <stdbool.h> and
24011 <rounding-mode.h>.
24012 (___printf_fp): Determine rounding using get_rounding_mode and
24013 round_away.
24014 * stdio-common/tst-printf-round.c: New file.
24015 * stdio-common/Makefile (tests): Add tst-printf-round.
24016 (link-libm): New variable.
24017 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24018
9503345f
L
240192012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24020
24021 [BZ #14576]
24022 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24023 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24024 Likewise.
24025 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24026 Likewise.
24027
ad35fc00
JM
240282012-09-13 Joseph Myers <joseph@codesourcery.com>
24029
24030 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24031 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24032 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24033 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24034
6c9b0f68
JM
240352012-09-12 Joseph Myers <joseph@codesourcery.com>
24036
24037 [BZ #14518]
24038 * include/rounding-mode.h: New file.
24039 * sysdeps/generic/get-rounding-mode.h: Likewise.
24040 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24041 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24042 (MAX_VALUE): New macro.
24043 (MIN_VALUE): Likewise.
24044 (overflow_value): New function.
24045 (underflow_value): Likewise.
24046 (round_and_return): Use overflow_value and underflow_value to
24047 determine return values in overflow and underflow cases. Use
24048 round_away to determine rounding depending on rounding mode.
24049 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24050 determine return values in overflow and underflow cases.
24051 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24052 (struct test_results): New structure.
24053 (struct test): Use struct test_results to store expected results
24054 for all rounding modes.
24055 (TEST): Include expected results for all rounding modes.
24056 (test_in_one_mode): New function.
24057 (do_test): Use test_in_one_mode to compute and check results.
24058 Check results for all rounding modes.
24059 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24060 $(link-libm).
24061
19fcedd5
AM
240622012-12-09 Allan McRae <allan@archlinux.org>
24063
1e9d84cd 24064 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24065
8bbfd2f1
JM
240662012-09-11 Joseph Myers <joseph@codesourcery.com>
24067
24068 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24069 (_G_int32_t): Likewise.
24070 (_G_uint16_t): Likewise.
24071 (_G_uint32_t): Likewise.
24072 (_G_HAVE_BOOL): Likewise.
24073 (_G_HAVE_ATEXIT): Likewise.
24074 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24075 (_G_HAVE_IO_FILE_OPEN): Likewise.
24076 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24077 (_G_int32_t): Likewise.
24078 (_G_uint16_t): Likewise.
24079 (_G_uint32_t): Likewise.
24080 (_G_HAVE_BOOL): Likewise.
24081 (_G_HAVE_ATEXIT): Likewise.
24082 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24083 (_G_HAVE_IO_FILE_OPEN): Likewise.
24084 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24085 (_G_int32_t): Likewise.
24086 (_G_uint16_t): Likewise.
24087 (_G_uint32_t): Likewise.
24088 (_G_HAVE_BOOL): Likewise.
24089 (_G_HAVE_ATEXIT): Likewise.
24090 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24091 (_G_HAVE_IO_FILE_OPEN): Likewise.
24092
b1dc5912
L
240932012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24094
24095 * csu/libc-tls.c: Update copyright years.
24096
0e886ef9
JM
240972012-09-10 Joseph Myers <joseph@codesourcery.com>
24098
28361c5e
JM
24099 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24100 [!_G_USING_THUNKS]: Remove conditional code.
24101 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24102 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24103
0e886ef9
JM
24104 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24105 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24106 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24107 (_G_VTABLE_LABEL_PREFIX): Likewise.
24108 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24109 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24110 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24111 (_G_VTABLE_LABEL_PREFIX): Likewise.
24112 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24113 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24114 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24115 (_G_VTABLE_LABEL_PREFIX): Likewise.
24116 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24117
bcba7aa2
L
241182012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24119
24120 * libio/Makefile: Include ../Makeconfig before tests.
24121 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24122 only if $(build-shared) is yes.
24123
06585ee8
L
24124 * iconv/gconv_db.c: Update copyright years.
24125
80ccd52c
LD
241262012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24127
24128 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24129 unwind info if defined PIC. Fix special cases description.
24130 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24131
24132 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24133 DP_HI_MASK entry.
24134 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24135
691bc9c1
L
241362012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24137
3d9b46b3
L
24138 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24139
de2139a9
L
24140 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24141 is NULL.
24142
5ca78dd0
L
24143 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24144 (LDLIBS-tst-chk4): This.
24145 (LDFLAGS-tst-chk5): Renamed to ...
24146 (LDLIBS-tst-chk5): This.
24147 (LDFLAGS-tst-chk6): Renamed to ...
24148 (LDLIBS-tst-chk6): This.
24149 (LDFLAGS-tst-lfschk4): Renamed to ...
24150 (LDLIBS-tst-lfschk4): This.
24151 (LDFLAGS-tst-lfschk5): Renamed to ...
24152 (LDLIBS-tst-lfschk5): This.
24153 (LDFLAGS-tst-lfschk6): Renamed to ...
24154 (LDLIBS-tst-lfschk6): This.
24155
691bc9c1
L
24156 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24157 on $(common-objpfx)soversions.mk.
24158
65cafb1c
JM
241592012-09-07 Joseph Myers <joseph@codesourcery.com>
24160
24161 [BZ #10014]
24162 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24163 example host name.
24164
c78ab094
SP
241652012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24166
24167 * malloc/arena.c (arena_get_retry): New function that gets
24168 another arena for the caller to try its request on.
24169 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24170 current arena cannot fulfill the request.
24171 (__libc_memalign): Likewise.
24172 (__libc_memalign): Likewise.
24173 (__libc_pvalloc): Likewise.
24174 (__libc_calloc): Likewise.
24175
01f49f59
JT
241762012-09-05 John Tobey <john.tobey@gmail.com>
24177
24178 [BZ #13542]
24179 * manual/arith.texi (Operations on Complex): Fix description
24180 of carg branch cut.
24181
4c23fed5
JM
241822012-09-06 Joseph Myers <joseph@codesourcery.com>
24183
1d3c8572
JM
24184 [BZ #10014]
24185 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24186 host name.
24187
4c23fed5
JM
24188 [BZ #10038]
24189 * manual/memory.texi (Memory): Make order of menu items match
24190 order of sections.
24191
04570aaa
L
241922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24193
24194 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24195 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24196 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24197
b80af2f4
L
241982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24199
24200 * csu/libc-tls.c (static_dtv): Renamed to ...
24201 (_dl_static_dtv): This. Make it global.
24202 (_dl_initial_dtv): Removed.
24203 (__libc_setup_tls): Updated.
24204 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24205 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24206 DL_INITIAL_DTV.
24207
2abe9f15
PM
242082012-09-06 Petr Machata <pmachata@redhat.com>
24209
24210 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24211 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24212 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24213 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24214
0948c3af
L
242152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24216
24217 [BZ #14545]
24218 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24219 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24220 freeing dtv[-1].
24221
a5055ad1
L
242222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24223
24224 [BZ #14544]
24225 * Makeconfig (link-static-before-libc): Replace $(+prector)
24226 with $(+prectorT).
24227 (link-static-after-libc): Replace $(+postctor) with
24228 $(+postctorT).
24229 (link-bounded): Replace $(+prector)/$(+postctor) with
24230 $(+prectorT)/$(+postctorT).
24231 (+prectorT): New macro.
24232 (+postctorT): Likewise.
24233
ed8c2ecd
JM
242342012-09-06 Joseph Myers <joseph@codesourcery.com>
24235
24236 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24237 (round_str): Handle values above the maximum for IBM long double
24238 as inexact.
24239 * stdlib/tst-strtod-round.c (tests): Regenerated.
24240
14c996c8
AK
242412012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24242
24243 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24244 assembler flag.
24245 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24246 zarch_nohighgprs around the zarch optimized routines.
24247 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24248 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24249 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24250 for zarch.
24251
430d6ce6
DM
242522012-09-05 David S. Miller <davem@davemloft.net>
24253
24254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24255
ff04dda4
DM
24256 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24257 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24258 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24259 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24260 entries.
24261
24d4e01b
AO
242622012-09-05 Alexandre Oliva <aoliva@redhat.com>
24263
24264 * malloc/arena.c: Fold copyright years.
24265 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24266
61d58174
AO
242672012-09-05 Alexandre Oliva <aoliva@redhat.com>
24268
24269 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24270
20196a5e
AO
242712012-09-05 Alexandre Oliva <aoliva@redhat.com>
24272
24273 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24274
5c447383
AO
242752012-09-05 Alexandre Oliva <aoliva@redhat.com>
24276
24277 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24278 change internal state upon failure.
24279
fad64255
AO
242802012-09-05 Alexandre Oliva <aoliva@redhat.com>
24281
24282 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24283 * malloc/memusage.c (mmap): Likewise.
24284 (mmap64, mremap): Likewise. Adjust name in comment.
24285
1ffb8c90
SP
242862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24287
24288 * libio/fileops.c: Fix typos in comments.
24289 * libio/oldfileops.c: Likewise.
24290 * libio/wfileops.c: Likewise.
24291
6ef9cc37
SP
242922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24293
24294 [BZ #1349]
24295 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24296 (tst-malloc-usable-ENV): Set environment for test case.
24297 * malloc/hooks.c (malloc_check_get_size): New function to get
24298 requested size.
24299 * malloc/malloc.c (musable): Use malloc_check_get_size.
24300 * malloc/tst-malloc-usable.c: New test case.
24301
4d038ae3
AS
243022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24303
24304 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24305
c4e85184
AM
243062012-09-05 Allan McRae <allan@archlinux.org>
24307
b9dafc56 24308 [BZ #13966]
c4e85184
AM
24309 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24310 determine header location.
24311 * configure: Regenerated.
24312
e1343020
AS
243132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24314
24315 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24316 float format.
24317 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24318 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24319 format.
e1343020
AS
24320 (test): Regenerate.
24321
0a9f1987
DM
243222012-09-04 David S. Miller <davem@davemloft.net>
24323
24324 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24325 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24326 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24327
29237804
FW
243282012-09-04 Florian Weimer <fweimer@redhat.com>
24329
24330 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24331 failures.
24332
edb3cb88
FW
24333 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24334
60160d83
JM
243352012-09-04 Joseph Myers <joseph@codesourcery.com>
24336
24337 [BZ #9914]
24338 * libio/iogetdelim.c: Include <limits.h>.
24339 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24340 + len + 1 would overflow.
24341
bcd6c8dc
AJ
243422012-09-03 Andreas Jaeger <aj@suse.de>
24343
24344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24345 * sysdeps/i386/fpu/libm-test-ulps: Update.
24346
4ffffbd2
LD
243472012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24348
24349 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24350 Add s_sinf-sse2, s_conf-sse2.
24351
24352 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24353 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24354 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24355 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24356
24357 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24358 for using routine as __sinf_ia32.
24359 Use macro for function declaration and weak_alias.
24360 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24361 for using routine as __cosf_ia32.
24362 Use macro for function declaration and weak_alias.
24363
24364 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24365 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24366
24367 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24368 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24370
24371 * math/libm-test.inc (cos_test): Add more test cases.
24372 (sin_test): Likewise.
24373 (sincos_test): Likewise.
24374
511fa286
AK
243752012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24376
24377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24378 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24379 hidden.
24380 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24381
5f30cfec
L
243822012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24383
24384 [BZ #14538]
24385 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24386 first element of the GOT.
24387 (elf_machine_load_address): Return the difference between
24388 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24389
0786794f
AM
243902012-09-01 Allan McRae <allan@archlinux.org>
24391
5f30cfec
L
24392 [BZ #13412]
24393 * configure.in (AWK): Require gawk version 3.0 or later.
24394 * configure: Regenerated.
0786794f 24395
26889eac
JM
243962012-09-01 Joseph Myers <joseph@codesourcery.com>
24397
24398 * sysdeps/unix/sysv/linux/kernel-features.h
24399 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24400 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24401 [__NR_clock_getres]: Make code unconditional.
24402 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24403 (clock_getcpuclockid): Remove code left unreachable by removal of
24404 conditionals.
24405 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24406 code unconditional.
24407 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24408 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24409 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24410 Make code unconditional.
24411 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24412 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24413 * sysdeps/unix/sysv/linux/clock_settime.c
24414 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24415 conditional code.
24416 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24417 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24418
d22e28b0
L
244192012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 [BZ #14476]
24422 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24423 scripts/test-installation.pl.
24424
24425 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24426 and $ld_so_version if it is set.
24427
050af9c4
SP
244282012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24429
24430 [BZ #14516]
24431 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24432 failure if reading from procfs failed.
24433 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24434
ad845c0b
JM
244352012-08-27 Joseph Myers <joseph@codesourcery.com>
24436
24437 * sysdeps/unix/sysv/linux/kernel-features.h
24438 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24439 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24440 Remove conditional code.
24441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24442 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24443 Remove conditional code.
24444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24445 * sysdeps/unix/sysv/linux/i386/fxstat.c
24446 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24448 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24449 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24451 * sysdeps/unix/sysv/linux/i386/lxstat.c
24452 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24454 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24455 Remove conditional code.
24456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24457 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24458 Remove conditional code.
24459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24460 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24461 <kernel-features.h>.
24462 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24463 Remove.
24464 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24465 Remove conditional code.
24466 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24467 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24468 Remove conditional.
24469
5dbf56af
MF
244702012-08-27 Mike Frysinger <vapier@gentoo.org>
24471
24472 [BZ #5400]
24473 * NEWS: Add fixed bug number.
24474
d6e70f43
JM
244752012-08-27 Joseph Myers <joseph@codesourcery.com>
24476
7efb4737
JM
24477 [BZ #14519]
24478 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24479 underflowing exponent in case of negative sign.
24480 * stdlib/tst-strtod-round-data: Add more tests.
24481 * stdlib/tst-strtod-round.c (tests): Regenerated.
24482
af92131a
JM
24483 [BZ #3479]
24484 * stdlib/strtod_l.c (NDIG): Remove.
24485 (HEXNDIG): Likewise.
24486 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24487 smallest representable value.
24488 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24489 lie within an exact representation of 1/2 ulp of the result.
24490 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24491 unconditionally.
24492 (TENS_P9_IDX): Define unconditionally.
24493 (TENS_P9_SIZE): Likewise.
24494 (TENS_P10_IDX): Likewise.
24495 (TENS_P10_SIZE): Likewise.
24496 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24497 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24498 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24499 entries for 10^2^13 and 10^2^14.
24500 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24501 (TENS_P13_IDX): Define.
24502 (TENS_P13_SIZE): Likewise.
24503 (TENS_P14_IDX): Likewise.
24504 (TENS_P14_SIZE): Likewise.
24505 (_fpioconst_pow10): Change array size to
24506 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24507 unconditional.
24508 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24509 1024]: Add entries for 10^2^13 and 10^2^14.
24510 [LAST_POW10 > _LAST_POW10]: Remove #error.
24511 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24512 (_fpioconst_pow10): Change array size to
24513 FPIOCONST_POW10_ARRAY_SIZE.
24514 * stdlib/gen-fpioconst.c: New file.
24515 * stdlib/gen-tst-strtod-round.c: Likewise.
24516 * stdlib/tst-strtod-round-data: Likewise.
24517 * stdlib/tst-strtod-round.c: Likewise.
24518 * stdlib/Makefile (tests): Add tst-strtod-round.
24519
d6e70f43
JM
24520 [BZ #14459]
24521 * stdlib/strtod_l.c: Include <stdint.h>.
24522 (NDEBUG): Do not define.
24523 (round_and_return): Change EXPONENT parameter to type intmax_t.
24524 Rearrange calculations to avoid internal overflow possibilities.
24525 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24526 Rearrange calculations to avoid internal overflow possibilities.
24527 Assert that number fits inside MPNSIZE limbs.
24528 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24529 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24530 calculations and add assertions to avoid internal overflow
24531 possibilities. Add casts to avoid signed/unsigned operations.
24532 * stdlib/tst-strtod-overflow.c: New file.
24533 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24534
1f529f7d
MP
245352012-08-25 Marek Polacek <polacek@redhat.com>
24536
24537 * time/time.h: Fix some typos in comments.
24538
59a629f1
RM
245392012-08-23 Roland McGrath <roland@hack.frob.com>
24540
24541 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24542 * posix/tst-rfc3484-2.c: Likewise.
24543 * posix/tst-rfc3484-3.c: Likewise.
24544
d3bafbc9
SM
245452012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24546
24547 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24548 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24549
4efcc022
JM
245502012-08-23 Joseph Myers <joseph@codesourcery.com>
24551
24552 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24553 #include of fxstatat64.c.
24554
3cc3ef96
RM
245552012-08-22 Roland McGrath <roland@hack.frob.com>
24556
f04e2132
RM
24557 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24558 * shadow/getspent_r.c: Likewise.
24559 * shadow/getspnam.c: Likewise.
24560 * shadow/getspnam_r.c: Likewise.
24561 * gshadow/getsgent.c: Likewise.
24562 * gshadow/getsgent_r.c: Likewise.
24563 * gshadow/getsgnam.c: Likewise.
24564 * gshadow/getsgnam_r.c: Likewise.
24565 * inet/getnetbyad.c: Likewise.
24566 * inet/getnetbyad_r.c: Likewise.
24567 * inet/getnetbynm.c: Likewise.
24568 * inet/getnetbynm_r.c: Likewise.
24569 * inet/getnetent.c: Likewise.
24570 * inet/getnetent_r.c: Likewise.
24571 * inet/getproto.c: Likewise.
24572 * inet/getproto_r.c: Likewise.
24573 * inet/getprtent.c: Likewise.
24574 * inet/getprtent_r.c: Likewise.
24575 * inet/getprtname.c: Likewise.
24576 * inet/getprtname_r.c: Likewise.
24577 * inet/getrpcbyname.c: Likewise.
24578 * inet/getrpcbyname_r.c: Likewise.
24579 * inet/getrpcbynumber.c: Likewise.
24580 * inet/getrpcbynumber_r.c: Likewise.
24581 * inet/getrpcent.c: Likewise.
24582 * inet/getrpcent_r.c: Likewise.
24583 * inet/getaliasent.c: Likewise.
24584 * inet/getaliasent_r.c: Likewise.
24585 * inet/getaliasname.c: Likewise.
24586 * inet/getaliasname_r.c: Likewise.
24587 * nscd/getgrgid_r.c: Likewise.
24588 * nscd/getgrnam_r.c: Likewise.
24589 * nscd/gethstbyad_r.c: Likewise.
24590 * nscd/gethstbynm3_r.c: Likewise.
24591 * nscd/getpwnam_r.c: Likewise.
24592 * nscd/getpwuid_r.c: Likewise.
24593 * nscd/getsrvbynm_r.c: Likewise.
24594 * nscd/getsrvbypt_r.c: Likewise.
24595 * nscd/gai.c: Likewise.
24596
c53d909c
RM
24597 * configure.in (build_nscd): New substituted variable, set
24598 by --disable-build-nscd and defaults to $use_nscd.
24599 * configure: Regenerated.
24600 * config.make.in (build-nscd): New substituted variable.
24601 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24602 Change conditional to require [$(build-nscd) = yes] as well.
24603 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24604
3cc3ef96
RM
24605 [BZ# 13696]
24606 * configure.in (use_nscd): New substituted variable, set by
24607 --disable-nscd. If enabled, define USE_NSCD.
24608 * configure: Regenerated.
24609 * config.h.in: Add USE_NSCD.
24610 * config.make.in (use-nscd): New substituted variable.
24611 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24612 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24613 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24614 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24615 (CFLAGS-getgrnam_r.c): Likewise.
24616 (CFLAGS-initgroups.c): Likewise.
24617 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24618 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24619 Variables removed.
24620 * inet/getnetgrent_r.c
24621 (nscd_setnetgrent): New function, broken out of ...
24622 (setnetgrent): ... here. Call it.
24623 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24624 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24625 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24626 * nscd/Makefile (routines, aux): Move definitions after include of
24627 Makeconfig. Conditionalize on [$(use-nscd) != no].
24628 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24629 Conditionalize on [USE_NSCD].
24630 (is_nscd, nscd_init_cb): Likewise.
24631 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24632 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24633 * nss/nss_db/db-init.c: Likewise.
24634 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24635 [USE_NSCD].
24636 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24637 (make_request): Use it.
24638 (cache_valid_p): New function.
24639 (__check_pf): Use it.
24640 * NEWS: Add item for --disable-nscd.
24641
07e51550
DL
246422012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24643
24644 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24645 to support sed >= 4.2.1-20-ga9bf076.
24646 * configure: Regenerated.
24647
35a5b08b
RM
246482012-08-22 Roland McGrath <roland@hack.frob.com>
24649
24650 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24651 Conditionalize whole body on [IREL].
24652
8479f23a
JL
246532012-08-22 Jeff Law <law@redhat.com>
24654
24655 [BZ #14505]
24656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24657 if the family is PF_UNSPEC.
24658
48da0b21
MF
246592012-08-22 Mike Frysinger <vapier@gentoo.org>
24660
24661 * Makerules (lib-version): Rename from V.
24662 (install-lib-nosubdir): Change V to lib-version.
24663
15d0da8c
WS
246642012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24665
24666 [BZ #14252]
24667 * powerpc32/power6/wcschr.c: New file.
24668 * powerpc32/power6/wcscpy.c: New file.
24669 * powerpc32/power6/wcsrchr.c: New file.
24670 * powerpc64/power6/wcschr.c: New file.
24671 * powerpc64/power6/wcscpy.c: New file.
24672 * powerpc64/power6/wcsrchr.c: New file.
24673
bcca0895
MK
246742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24675
24676 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24677 (two_way_short_needle): Use it.
5a4aaa33
RM
24678 * string/strstr.c (AVAILABLE1_USES_J): Define.
24679 * string/strcasestr.c: Likewise.
99677e57
MK
24680
24681 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24682 array references.
24683 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24684
400726de
MK
24685 [BZ #11607]
24686 * NEWS: Add an entry.
24687 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24688 define their defaults.
24689 (two_way_short_needle): Detect end-of-string on-the-fly.
24690 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24691 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24692 * string/bug-strcasestr1.c: New test.
24693 * string/Makefile: Run it.
24694
20a71f2c
MK
246952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24696
24697 [BZ #11607]
24698 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24699 the first character.
24700
21ad0558
RM
247012012-08-21 Roland McGrath <roland@hack.frob.com>
24702
24703 * csu/elf-init.c (__libc_csu_irel): Function removed.
24704 * csu/libc-start.c (apply_irel): New function.
24705 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24706
0e1d9911
JM
247072012-08-21 Joseph Myers <joseph@codesourcery.com>
24708
24709 * sysdeps/unix/sysv/linux/kernel-features.h
24710 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24711 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24712 <kernel-features.h>.
24713 [__NR_fadvise64_64]: Make code unconditional.
24714 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24715 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24716 !__NR_fadvise64_64)]: Likewise.
24717 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24718 !__NR_fadvise64_64))]: Likewise.
24719 [__NR_fadvise64]: Make code unconditional.
24720 [!__NR_fadvise64]: Remove conditional code.
24721 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24722 <kernel-features.h>.
24723 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24724 unconditional.
24725 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24726 conditional code.
24727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24728 not include <kernel-features.h>.
24729 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24730 unconditional.
24731 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24732 conditional code.
24733 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24734 include <kernel-features.h>.
24735 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24736 unconditional.
24737 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24738 conditional code.
24739
14a50c9d
WS
247402012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24741
24742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24743 slight instruction rearrangements per scrollpipe analysis.
24744 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24745
c0f4faf0
RM
247462012-08-20 Roland McGrath <roland@hack.frob.com>
24747
696da859
RM
24748 * manual/syslog.texi (syslog; vsyslog, closelog):
24749 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24750 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24751
c0f4faf0
RM
24752 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24753 DSOCAPS to match condition on defining it.
24754
348363b2
JM
247552012-08-20 Joseph Myers <joseph@codesourcery.com>
24756
a35cbf28
JM
24757 * sysdeps/unix/sysv/linux/kernel-features.h
24758 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24760 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24761 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24763 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24764 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24766 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24767 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24768
445f7ecd
JM
24769 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24770 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24771
348363b2
JM
24772 * sysdeps/unix/sysv/linux/kernel-features.h
24773 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24774 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24775 unconditional.
24776 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24777 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24778 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24779 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24780 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24781 Make code unconditional.
24782 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24783 (__mmap64) [!__NR_mmap2]: Likewise.
24784 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24785 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24786 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24787 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24788 [__NR_mmap2]: Make code unconditional.
24789 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24790 (__mmap64) [!__NR_mmap2]: Likewise.
24791
bc5bc0e5
AK
247922012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24793
24794 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24795
88d506de
AJ
247962012-08-18 Andreas Jaeger <aj@suse.de>
24797
24798 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24799
493387d2
MF
248002012-08-18 Mike Frysinger <vapier@gentoo.org>
24801
24802 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24803 * include/unistd.h (__have_sock_cloexec): Likewise.
24804 (__have_pipe2): Likewise.
24805 (__have_dup3): Likewise.
24806
a277af22
MF
248072012-08-18 Mike Frysinger <vapier@gentoo.org>
24808
24809 [BZ #9685]
24810 * include/unistd.h (__have_pipe2): Change define into an extern int.
24811 (__have_dup3): Likewise.
24812 * socket/have_sock_cloexec.c: Include fcntl.h.
24813 (__have_pipe2): New variable.
24814 (__have_dup3): Likewise.
24815
fdab8fd3
MF
248162012-08-17 Mike Frysinger <vapier@gentoo.org>
24817
24818 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24819
31035e80
MP
248202012-08-17 Marek Polacek <polacek@redhat.com>
24821
24822 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24823 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24824
3bd9e993
RM
248252012-08-17 Roland McGrath <roland@hack.frob.com>
24826
c91c505f
RM
24827 * configure.in: Add AC_SUBST for sysheaders.
24828 * configure: Regenerated.
24829 * config.make.in (sysheaders): New substituted variable.
24830
7c6f9d53
RM
24831 * sysdeps/unix/mkfifo.c: Moved ...
24832 * sysdeps/posix/mkfifo.c: ... here.
24833 * sysdeps/unix/mkfifoat.c: Moved ...
24834 * sysdeps/posix/mkfifoat.c: ... here.
24835
24836 * sysdeps/unix/utime.c: Moved ...
24837 * sysdeps/posix/utime.c: ... here.
24838
24839 * sysdeps/unix/time.c: Moved ...
24840 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24841 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24842 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24843
24844 * sysdeps/unix/nice.c: Moved ...
24845 * sysdeps/posix/nice.c: ... here.
24846
24847 * sysdeps/unix/alarm.c: Moved ...
24848 * sysdeps/posix/alarm.c: ... here.
24849
3bd9e993
RM
24850 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24851
d1f09384
JL
248522012-08-17 Jeff Law <law@redhat.com>
24853
24854 * intl/Makefile (codeset_mo): New variable.
24855 ($(codeset_mo)): New target.
24856 (tst-codeset.out): Depend on that. Remove explicit rule.
24857 (tst-gettext3.out, tst-gettext5.out): Likewise.
24858 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24859 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24860 * intl/tst-codeset.sh: Remove.
24861 * intl/tst-gettext3.sh: Likewise.
24862 * intl/tst-gettext5.sh: Likewise.
24863
2ae1ae5c
RM
248642012-08-17 Roland McGrath <roland@hack.frob.com>
24865
c31fdb83
RM
24866 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24867 * sysdeps/unix/syscalls.list: ... here.
24868
a0844057
RM
24869 * sysdeps/posix/getaddrinfo.c
24870 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24871 (gaiconf_init, gaiconf_reload): Use them.
24872 [!_STATBUF_ST_NSEC]
24873 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24874 Define using time_t rather than struct timespec.
24875
750c1f2a
RM
24876 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24877 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24878 Macros removed.
24879 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24880 [!NO_THREADS].
24881 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24882 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24883 Likewise.
24884
2ae1ae5c
RM
24885 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24886 __libc_cleanup_push argument.
24887
e66a42f5
RM
24888 * bits/param.h: New file.
24889 * misc/sys/param.h: New file.
24890 * include/sys/param.h: New file.
24891 * misc/Makefile (headers): Add bits/param.h.
24892 * sysdeps/generic/sys/param.h: File removed.
24893 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24894 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24895 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24896 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24897
b7c08a66
RM
24898 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24899 last change.
24900
b2e1c562
RM
24901 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24902 [_IO_MTSAFE_IO].
24903 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24904 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24905 New macros.
24906
c75ccd4c
RM
24907 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24908 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24909 rather than -D_IO_MTSAFE_IO conditionally.
24910 * stdio-common/Makefile (CPPFLAGS): Likewise.
24911 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24912 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24913 Use $(libio-mtsafe).
24914 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24915 of -D_IO_MTSAFE_IO.
24916 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24917 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24918 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24919 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24920 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24921 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24922 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24923 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24924 (CFLAGS-fread_u_chk.c): Likewise.
24925 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24926 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24927 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24928 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24929 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24930 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24931 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24932 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24933 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24934
24935 * libio/Makefile: Test [$(libc-reentrant) = yes]
24936 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24937
24938 * Makeconfig
24939 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24940 * sysdeps/pthread/configure: File removed.
24941 * sysdeps/pthread/Makeconfig: New file.
24942 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24943 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24944
d9195db8
GB
249452012-08-16 Gary Benson <gbenson@redhat.com>
24946
24947 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24948 unmapping the first object in a namespace.
24949
86466cd9
RM
249502012-08-16 Roland McGrath <roland@hack.frob.com>
24951
24952 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24953 (__internal_setnetgrent): ... this. Add internal_function to
24954 definition. Add libc_hidden_def.
24955 (setnetgrent): Update caller.
24956 (internal_endnetgrent): Renamed to ...
24957 (__internal_endnetgrent): ... this. Add internal_function to
24958 definition. Add libc_hidden_def.
24959 (endnetgrent): Update caller.
24960 (internal_getnetgrent_r): Renamed to ...
24961 (__internal_getnetgrent_r): ... this. Add internal_function to
24962 definition. Add libc_hidden_def.
24963 (__getnetgrent_r): Update caller.
24964 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24965
c3c8283c
JM
249662012-08-16 Joseph Myers <joseph@codesourcery.com>
24967
24968 * stdlib/longlong.h: Update from GCC.
24969
db1ee0a8
RM
249702012-08-16 Roland McGrath <roland@hack.frob.com>
24971
24972 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24973 on _QL, which is set by umul_ppmm but never used.
24974 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24975 variables, which are set by GMP macros but never used.
24976 * stdio-common/_itowa.c (_itowa): Likewise.
24977 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24978 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24979
30f69637
CD
249802012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24981
24982 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24983 struct La_sh_regs is not constant.
24984 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24985 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24986 and struct La_sparc64_regs are not constant.
24987
93a78ac4
JM
249882012-08-16 Joseph Myers <joseph@codesourcery.com>
24989
24990 * sysdeps/unix/sysv/linux/kernel-features.h
24991 (__ASSUME_POSIX_TIMERS): Remove.
24992 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24993 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24994 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24995 Make code unconditional.
24996 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24997 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24998 Make code unconditional.
24999 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25000 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25001 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25002 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25003 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25004 Make code unconditional.
25005 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25006 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25007 (__libc_missing_posix_timers): Remove.
25008
dd924cd7
RM
250092012-08-15 Roland McGrath <roland@hack.frob.com>
25010
4b4f2771
RM
25011 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25012 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25013
601c888b
RM
25014 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25015
176790a7
RM
25016 * elf/dl-sym.c: Include <stdlib.h>.
25017
329bc018
RM
25018 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25019 constants, which avoids warnings in 32-bit builds.
25020
e04e272d
RM
25021 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25022 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25023
952bf94a
RM
25024 * misc/lseek.c: File moved to ...
25025 * io/lseek.c: ... here.
25026
7c99b50a
RM
25027 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25028
dd924cd7
RM
25029 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25030 shifting LEN more than 31 bits at once.
25031
b3f479a8
LD
250322012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25033
25034 [BZ #14195]
8c4ae0d4
RM
25035 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25036 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25037 * string/test-strncasecmp.c (check1): Renamed to...
25038 (bz12205): ...this.
25039 (bz14195): Add new testcase for two empty input strings and N > 0.
25040 (test_main): Call new testcase, adapt for renamed function.
25041
9c55864e
AJ
250422012-08-15 Andreas Jaeger <aj@suse.de>
25043
25044 [BZ #14090]
25045 * crypt/md5test2.c: New test, based on test supplied by Serge
25046 Belyshev <belyshev@depni.sinp.msu.ru>.
25047 * crypt/Makefile (xtests): Add md5test-giant..
25048 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25049
02dcb6c5
PE
250502012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25051
25052 [BZ #14090]
25053 * crypt/md5.c (md5_process_block): Don't assume the buffer
25054 length is less than 2**32.
25055 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25056 length is less than 2**64.
25057
a3f95dcc
RM
250582012-08-15 Roland McGrath <roland@hack.frob.com>
25059
be75d758
RM
25060 * string/str-two-way.h: Include <sys/param.h>.
25061 (MAX): Macro removed.
25062
7312ca90
RM
25063 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25064 Move #define and #undef of memmove to just before and after
25065 including <string.h>.
25066
9a0a5486
RM
25067 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25068 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25069 and after including <string.h>. Move declarations of
25070 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25071 to before #include "string/memmove.c".
25072
67cc348d
RM
25073 * include/dirent.h: Declare __getdirentries.
25074
a3f95dcc
RM
25075 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25076 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25077
ca98e171
MF
250782012-08-14 Mike Frysinger <vapier@gentoo.org>
25079
25080 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25081 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25082 * sysdeps/i386/configure: Regenerated.
25083 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25084 STABS_CURRENT_FILE, and STABS_FUN.
25085 (END): Remove call to STABS_FUN_END.
25086 (STABS_CURRENT_FILE1): Delete.
25087 (STABS_CURRENT_FILE): Likewise.
25088 (STABS_FUN): Likewise.
25089 (STABS_FUN_END): Likewise.
25090 (STABS_FUN2): Likewise.
25091 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25092 * sysdeps/x86_64/configure: Regenerated.
25093
5908bf46
RM
250942012-08-14 Roland McGrath <roland@hack.frob.com>
25095
25096 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25097 * elf/dl-lookup.c: Likewise.
5908bf46 25098
f2c05b9e
JM
250992012-08-14 Joseph Myers <joseph@codesourcery.com>
25100
25101 * sysdeps/unix/sysv/linux/kernel-features.h
25102 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25103 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25104 unconditionally.
25105 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25106 unconditionally.
25107 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25108 condition on __ASSUME_CLONE_THREAD_FLAGS.
25109
e11f5155
AJ
251102012-08-14 Andreas Jaeger <aj@suse.de>
25111
25112 * sysdeps/i386/fpu/libm-test-ulps: Update.
25113
51a9ba86
MK
251142012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25115
2fdd4f78
AJ
25116 * include/atomic.h (atomic_exchange_and_add): Split into ...
25117 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25118 New atomic macros.
51a9ba86 25119
ba6cba9e
MT
251202012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25121
25122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25123
42443a47
JL
251242012-08-13 Jeff Law <law@redhat.com>
25125
25126 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25127 null byte in the output string.
25128
121dce05
JM
251292012-08-10 Joseph Myers <joseph@codesourcery.com>
25130
25131 * sysdeps/unix/sysv/linux/kernel-features.h
25132 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25133 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25134 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25135 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25136 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25137 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25138 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25139
bf51f568
JL
251402012-08-09 Jeff Law <law@redhat.com>
25141
25142 [BZ #13939]
25143 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25144 When avoid_arena is set, don't retry in the that arena. Pick the
25145 next one, whatever it might be.
25146 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25147 (arena_lock): Pass in new parameter to arena_get2.
25148 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25149 arena_get2.
25150 (__libc_malloc): Unify retrying after main arena failure with
25151 __libc_memalign version.
25152 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25153
f85fa270
L
251542012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25155
25156 [BZ #14166]
25157 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25158 to __redirect_strstr.
25159 (__strstr_sse42): Use typeof __redirect_strstr.
25160 (__strstr_ia32): Likewise.
25161 (__libc_strstr): New prototype.
25162 (strstr): Renamed to ...
25163 (__libc_strstr): This.
25164 (strstr): New strong alias of __libc_strstr.
25165 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25166 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25167 __redirect_time.
25168 Include <time.h>.
25169 (__libc_time): New prototype.
25170 (time_ifunc): Replace time with __libc_time.
25171 (time): New strong alias and hidden definition of __libc_time.
25172 (__GI_time): Remove strong alias.
25173 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25174 Include <stddef.h>.
25175 (memmove): Redefined to __redirect_memmove.
25176 (__memmove_sse2): Use typeof __redirect_memmove.
25177 (__memmove_ssse3): Likewise.
25178 (__memmove_ssse3_back): Likewise.
25179 (__libc_memmove): New prototype.
25180 (memmove): Renamed to ...
25181 (__libc_memmove): This.
25182 (memmove): New strong alias of __libc_memmove.
25183
33b4a91e
MS
251842012-08-08 Mark Salter <msalter@redhat.com>
25185
25186 * elf/elf.h
25187 (R_MN10300_TLS_GD): Define.
25188 (R_MN10300_TLS_LD): Likewise.
25189 (R_MN10300_TLS_LDO): Likewise.
25190 (R_MN10300_TLS_GOTIE): Likewise.
25191 (R_MN10300_TLS_IE): Likewise.
25192 (R_MN10300_TLS_LE): Likewise.
25193 (R_MN10300_TLS_DTPMOD): Likewise.
25194 (R_MN10300_TLS_DTPOFF): Likewise.
25195 (R_MN10300_TLS_TPOFF): Likewise.
25196 (R_MN10300_SYM_DIFF): Likewise.
25197 (R_MN10300_ALIGN): Likewise.
25198 (R_MN10300_NUM): Update.
25199
b36137f1
JM
252002012-08-08 Joseph Myers <joseph@codesourcery.com>
25201
25202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25203 Remove.
25204
cdd915fd
RM
252052012-08-08 Roland McGrath <roland@hack.frob.com>
25206
a2433aac
RM
25207 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25208
cdd915fd
RM
25209 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25210 sysdeps/unix -> sysdeps/posix move.
25211 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25212
bf9b740a
AM
252132012-08-07 Allan McRae <allan@archlinux.org>
25214
25215 [BZ #14303]
25216 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25217 (SUNOS_CPP): Likewise.
25218 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25219 not found.
25220 (open_input): Call CPP using execvp.
25221
93df14ee
JM
252222012-08-07 Joseph Myers <joseph@codesourcery.com>
25223
25224 * sysdeps/unix/sysv/linux/kernel-features.h
25225 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25226 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25227 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25228 (__ASSUME_WAITID_SYSCALL): Likewise.
25229 * sysdeps/unix/sysv/linux/dl-execstack.c
25230 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25231 code unconditional.
25232 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25233 conditional code.
25234 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25235 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25236 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25237 code.
25238 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25239 unconditional.
25240 [__ASSUME_WAITID_SYSCALL]: Likewise.
25241 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25242
d34689de
RM
252432012-08-07 Roland McGrath <roland@hack.frob.com>
25244
a281decc
RM
25245 * sysdeps/unix/closedir.c: Renamed to ...
25246 * sysdeps/posix/closedir.c: ... here.
25247 * sysdeps/unix/dirfd.c: Renamed to ...
25248 * sysdeps/posix/dirfd.c: ... here.
25249 * sysdeps/unix/dirstream.h: Renamed to ...
25250 * sysdeps/posix/dirstream.h: ... here.
25251 * sysdeps/unix/fdopendir.c: Renamed to ...
25252 * sysdeps/posix/fdopendir.c: ... here.
25253 * sysdeps/unix/opendir.c: Renamed to ...
25254 * sysdeps/posix/opendir.c: ... here.
25255 * sysdeps/unix/readdir.c: Renamed to ...
25256 * sysdeps/posix/readdir.c: ... here.
25257 * sysdeps/unix/readdir_r.c: Renamed to ...
25258 * sysdeps/posix/readdir_r.c: ... here.
25259 * sysdeps/unix/rewinddir.c: Renamed to ...
25260 * sysdeps/posix/rewinddir.c: ... here.
25261 * sysdeps/unix/seekdir.c: Renamed to ...
25262 * sysdeps/posix/seekdir.c: ... here.
25263 * sysdeps/unix/telldir.c: Renamed to ...
25264 * sysdeps/posix/telldir.c: ... here.
25265 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25266 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25267 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25268 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25269
22895b47
RM
25270 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25271 * bits/fcntl.h: ... here.
25272
707a53b6
RM
25273 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25274 not 0.
25275 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25276 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25277 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25278 (struct flock): Move l_start, l_len to the beginning.
25279 Use __pid_t for l_pid.
25280 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25281 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25282 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25283 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25284 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25285 [__USE_LARGEFILE64] (struct flock64): New type.
25286 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25287
f0bd3e25
RM
25288 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25289 * bits/dirent.h: ... here.
25290
d34689de
RM
25291 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25292 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25293
6dad2c06
JM
252942012-08-07 Joseph Myers <joseph@codesourcery.com>
25295
25296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25297 Change from 2.6.0 to 2.6.16.
25298 * sysdeps/unix/sysv/linux/configure: Regenerated.
25299 * sysdeps/unix/sysv/linux/kernel-features.h
25300 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25301 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25302 version.
25303 (__ASSUME_UTIMES): Likewise.
25304 (__ASSUME_CLONE_STOPPED): Remove.
25305 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25306 architectures, not kernel version.
25307 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25308 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25309 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25310 (__ASSUME_WAITID_SYSCALL): Likewise.
25311 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25312 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25313 * README: State 2.6.16 as minimum Linux kernel version. Do not
25314 refer to older versions.
25315
03af9520
RM
253162012-08-06 Roland McGrath <roland@hack.frob.com>
25317
8e49df1d
RM
25318 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25319 Define alphasort64 as an alias.
25320 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25321 Define versionsort64 as an alias.
25322 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25323 Define scandir64 as an alias.
25324 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25325 Define scandirat64 as an alias.
25326 * dirent/alphasort64.c (alphasort64):
25327 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25328 * dirent/versionsort64.c: Likewise.
25329 * dirent/scandir64.c: Likewise.
25330 * dirent/scandirat64.c: Likewise.
25331 * sysdeps/wordsize-64/alphasort.c: File removed.
25332 * sysdeps/wordsize-64/alphasort64.c: File removed.
25333 * sysdeps/wordsize-64/scandir.c: File removed.
25334 * sysdeps/wordsize-64/scandir64.c: File removed.
25335 * sysdeps/wordsize-64/scandirat.c: File removed.
25336 * sysdeps/wordsize-64/scandirat64.c: File removed.
25337 * sysdeps/wordsize-64/versionsort.c: File removed.
25338 * sysdeps/wordsize-64/versionsort64.c: File removed.
25339 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25340 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25341 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25342 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25343 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25344 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25345 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25346 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25347
25348 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25350 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25352 [defined __arch64__ || defined __sparcv9]
25353 (__INO_T_MATCHES_INO64_T): New macro.
25354 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25355 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25356 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25357 * sysdeps/unix/sysv/linux/bits/dirent.h
25358 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25359 (_DIRENT_MATCHES_DIRENT64): New macro.
25360
03af9520
RM
25361 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25362 Define lockf64 as an alias.
25363 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25364 Define fseeko64 as an alias.
25365 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25366 Define ftello64 as an alias.
25367 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25368 Define _IO_fgetpos64 and fgetpos64 as aliases.
25369 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25370 Define _IO_fsetpos64 and fsetpos64 as aliases.
25371 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25372 Conditionalize body on this.
25373 * libio/fseeko64.c: Likewise.
25374 * libio/ftello64.c: Likewise.
25375 * libio/iofgetpos64.c: Likewise.
25376 * libio/iofsetpos64.c: Likewise.
25377 * sysdeps/wordsize-64/lockf.c: File removed.
25378 * sysdeps/wordsize-64/lockf64.c: File removed.
25379 * sysdeps/wordsize-64/fseeko.c: File removed.
25380 * sysdeps/wordsize-64/fseeko64.c: File removed.
25381 * sysdeps/wordsize-64/ftello.c: File removed.
25382 * sysdeps/wordsize-64/ftello64.c: File removed.
25383 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25384 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25385 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25386 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25387 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25388 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25389 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25390 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25391 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25392 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25393 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25394 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25395 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25396 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25397
25398 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25399 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25400 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25401 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25402 [defined __arch64__ || defined __sparcv9]
25403 (__OFF_T_MATCHES_OFF64_T): New macro.
25404 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25405 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25407 (__OFF_T_MATCHES_OFF64_T): New macro.
25408
c5757acd
L
254092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25410
25411 * stdlib/secure-getenv.c (__secure_getenv): Replace
25412 GLIBC_2_16 with GLIBC_2_17.
25413
3a31811e
L
254142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25415
25416 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25417 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25418
faa2bccb
DM
254192012-08-03 David S. Miller <davem@davemloft.net>
25420
25421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25422
85fe1997
JM
254232012-08-03 Joseph Myers <joseph@codesourcery.com>
25424
25425 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25426 Remove.
25427 (__ASSUME_CORRECT_SI_PID): Likewise.
25428 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25429 (__ASSUME_TMPFS_NAME): Likewise.
25430 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25431 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25432 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25433 (HAVE_AUX_SECURE): Make definition unconditional.
25434 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25435 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25436
4f75b7a0
RM
254372012-08-03 Roland McGrath <roland@hack.frob.com>
25438
25439 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25440 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25441 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25442 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25443 __eloop_threshold instead of SYMLOOP_MAX.
25444
25445 * sysdeps/generic/eloop-threshold.h: New file.
25446 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25447 of MAXSYMLINKS.
25448 * elf/chroot_canon.c (chroot_canon): Likewise.
25449
7aab07e4
JM
254502012-08-03 Joseph Myers <joseph@codesourcery.com>
25451
25452 [BZ #13717]
25453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25454 Change to 2.6.0 everywhere.
25455 * sysdeps/unix/sysv/linux/configure: Regenerated.
25456 * sysdeps/unix/sysv/linux/kernel-features.h
25457 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25458 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25459 kernel versions.
25460 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25461 (__ASSUME_FUTEX_REQUEUE): Remove.
25462 (__ASSUME_STATFS64): Define unconditionally.
25463 (__ASSUME_AT_SECURE): Likewise.
25464 (__ASSUME_CORRECT_SI_PID): Likewise.
25465 (__ASSUME_TGKILL): Define without depending on kernel version for
25466 i386.
25467 (__ASSUME_UTIMES): Likewise.
25468 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25469 kernel version.
25470 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25471 (__ASSUME_TMPFS_NAME): Likewise.
25472 * README: Update reference to Linux kernel versions.
25473
b67e9372
MP
254742012-08-02 Marek Polacek <polacek@redhat.com>
25475
1f529f7d 25476 [BZ# 14150]
b67e9372
MP
25477 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25478 libc_cv_asm_type_prefix with %.
25479 * configure: Regenerated.
d2441631
RM
25480 * include/libc-symbols.h: Remove comment about
25481 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25482 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25483 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25484 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25485 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25486 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25487 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25488 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25489 * elf/tst-unique2mod1.c: Likewise.
25490 * elf/tst-unique1mod2.c: Likewise.
25491 * elf/tst-unique1mod1.c: Likewise.
25492 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25493 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25494 Replace ASM_TYPE_DIRECTIVE with .type.
25495 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25496 * sysdeps/i386/sysdep.h: Likewise.
25497 * sysdeps/x86_64/sysdep.h: Likewise.
25498 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25500 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25501 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25502 * sysdeps/powerpc/powerpc32/sysdep.h:
25503 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25504 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25505 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25506 * sysdeps/i386/fpu/e_powf.S: Likewise.
25507 * sysdeps/i386/fpu/e_expl.S: Likewise.
25508 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25509 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25510 * sysdeps/i386/fpu/e_pow.S: Likewise.
25511 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25512 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25513 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25514 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25515 * sysdeps/i386/fpu/e_log2.S: Likewise.
25516 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25517 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25518 * sysdeps/i386/fpu/e_powl.S: Likewise.
25519 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25520 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25521 * sysdeps/i386/fpu/e_logl.S: Likewise.
25522 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25523 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25524 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25525 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25526 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25527 * sysdeps/i386/fpu/e_log.S: Likewise.
25528 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25529 * sysdeps/i386/fpu/e_logf.S: Likewise.
25530 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25531 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25532 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25533 * sysdeps/i386/fpu/e_log10.S: Likewise.
25534 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25535 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25536 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25537 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25538 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25539 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25540 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25541 * sysdeps/i386/i686/strtok.S: Likewise.
25542 * sysdeps/i386/i386-mcount.S: Likewise.
25543 * sysdeps/i386/strtok.S: Likewise.
25544 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25545 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25546 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25547 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25548 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25549 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25550 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25551 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25552 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25553 * sysdeps/x86_64/_mcount.S: Likewise.
25554 * sysdeps/x86_64/strtok.S: Likewise.
25555 * sysdeps/sh/_mcount.S: Likewise.
25556
2747bf9a
RM
255572012-08-01 Roland McGrath <roland@hack.frob.com>
25558
25559 * libio/iofopen.c: Include <fcntl.h>.
25560 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25561 (_IO_fopen64, fopen64): Define as aliases.
25562 * libio/iofopen64.c: Include <fcntl.h>.
25563 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25564 Conditionalize body on this.
25565 * sysdeps/wordsize-64/iofopen.c: File removed.
25566 * sysdeps/wordsize-64/iofopen64.c: File removed.
25567
3fb791b8
MP
255682012-08-01 Marek Polacek <polacek@redhat.com>
25569
25570 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25571 Use dlfcn directly instead of a variable.
25572 (binfmt-subdir): Do not define.
25573 (dlfcn): Likewise.
25574
a9f1039f
JM
255752012-08-01 Joseph Myers <joseph@codesourcery.com>
25576
23bddc06
JM
25577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25578 Remove all definitions.
25579 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25580 <kernel-features.h>.
25581 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25582 (miss_F_GETOWN_EX): Remove all definitions.
25583 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25584 macro definition.
25585 [!__ASSUME_FCNTL64]: Remove conditional code.
25586 [__ASSUME_FCNTL64]: Make code unconditional.
25587 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25588 <kernel-features.h>.
25589 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25590 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25591 (lockf64) [__NR_fcntl64]: Make code unconditional.
25592 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25593
a9f1039f
JM
25594 * sysdeps/unix/sysv/linux/kernel-features.h
25595 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25596 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25597 Make code unconditional.
25598 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25599 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25601 [__NR_vfork]: Make code unconditional.
25602 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25603 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25605 [__NR_vfork]: Make code unconditional.
25606 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25607 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25608
09c0ee5f
RM
256092012-08-01 Roland McGrath <roland@hack.frob.com>
25610
48aec5b9
RM
25611 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25612 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25613
cd97c966
RM
25614 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25615 Define mkstemp64 as an alias.
3f55550c
RM
25616 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25617 Define mkstemps64 as an alias.
cd97c966
RM
25618 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25619 Define mkostemp64 as an alias.
b8625cfc
RM
25620 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25621 Define mkostemps64 as an alias.
cd97c966
RM
25622 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25623 Conditionalize body on this.
25624 * misc/mkostemp64.c: Likewise.
b8625cfc 25625 * misc/mkostemps64.c: Likewise.
3f55550c 25626 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25627 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25628 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25629 * sysdeps/wordsize-64/mkostemp.c: File removed.
25630 * sysdeps/wordsize-64/mkstemp.c: File removed.
25631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25632 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25633 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25634 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25635
09c0ee5f
RM
25636 [BZ #14138]
25637 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25638 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25639 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25640 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25641
25642 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25643 compat_symbol macros from <shlib-compat.h> rather than the underlying
25644 default_symbol_version and symbol_version macros, so that DEFAULT
25645 lines in shlib-versions are respected.
25646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25647
7e66ee51
FW
256482012-08-01 Florian Weimer <fweimer@redhat.com>
25649
25650 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25651 Declare with warn_unused_result.
25652 (setgid, setregid, setegid, setresgid): Likewise.
25653 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25654 Likewise.
25655 * WUR-REPORT: Remove set*id functions.
25656
d2a54255
PT
256572012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25658
25659 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25660
7ecdb005
RM
256612012-07-31 Roland McGrath <roland@hack.frob.com>
25662
b4180a5e 25663 [BZ #10191]
789bd351
RM
25664 * include/sys/socket.h (__libc_accept, __libc_accept4):
25665 Add attribute_hidden.
25666 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25667
40ce302d
RM
25668 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25669 use of PTR_MANGLE.
25670 * inet/getnetgrent_r.c (setup): Likewise.
25671
7ecdb005
RM
25672 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25673
e2eabb2c
DM
256742012-07-31 David S. Miller <davem@davemloft.net>
25675
25676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25677
d0419dbf
JM
256782012-07-31 Joseph Myers <joseph@codesourcery.com>
25679
25680 [BZ #13629]
25681 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25682 value between 1.0 and 2.0 and smaller part has absolute value less
25683 than 1.0.
25684 * math/s_clog10.c (__clog10): Likewise.
25685 * math/s_clog10f.c (__clog10f): Likewise.
25686 * math/s_clog10l.c (__clog10l): Likewise.
25687 * math/s_clogf.c (__clogf): Likewise.
25688 * math/s_clogl.c (__clogl): Likewise.
25689 * math/libm-test.inc (clog_test): Add more tests.
25690 (clog10_test): Likewise.
25691 * sysdeps/i386/fpu/libm-test-ulps: Update.
25692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25693
2bc13872
FW
256942012-07-31 Florian Weimer <fweimer@redhat.com>
25695
25696 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25697 Exit with zero in case no suitable GID is found, and write a
25698 message to standard error.
25699
bea9b193
RM
257002012-07-30 Roland McGrath <roland@hack.frob.com>
25701
25702 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25703 rather than to 1.
25704 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25705 (MAXPATHLEN): Removed.
25706 (NOGROUP, NODEV): New macros.
25707 (setbit, clrbit, isset, isclr): New macros.
25708 (howmany, roundup, powerof2): New macros.
25709 (DEV_BSIZE): New macro.
25710
25711 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25712 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25713
25714 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25715 definition on [!__NO_LONG_DOUBLE_MATH].
25716
25717 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25718 PTR_MANGLE and PTR_DEMANGLE.
25719
25720 * socket/accept4.c (accept4): Rename to __libc_accept4.
25721 Define accept4 as a weak alias.
25722
25723 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25724 on [_DIRENT_HAVE_D_TYPE].
25725 * io/ftw.c (ftw_dir): Likewise.
25726
25727 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25728
25729 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25730
25731 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25732 Use the BSD numbers rather than the arbitrary ones we had.
25733 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25734 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25735 (SIGXCPU, SIGXFSZ): New macros.
25736 (_NSIG): Now 32.
25737
25738 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25739 initializer on [_LIBC_REENTRANT].
25740
25741 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25742 definitions inside [_POSIX_MAPPED_FILES].
25743
25744 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25745
25746 * dirent/opendir.c: Include <fcntl.h>.
25747
25748 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25749 (__libc_getspecific): Likewise.
25750 (__libc_key_create): Likewise.
25751
25752 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25753 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25754 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25755 (tmpfile64): Define as alias.
25756 * sysdeps/wordsize-64/tmpfile.c: File removed.
25757 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25758 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25759 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25760
25761 * stdio-common/vfscanf.c: Include <stdbool.h>.
25762 * nss/makedb.c: Likewise.
25763 * stdio-common/_i18n_number.h: Likewise.
25764 * argp/argp-help.c: Likewise.
25765 * posix/wordexp.c: Likewise.
25766 * sysdeps/posix/spawni.c: Likewise.
25767 * nss/nss_files/files-initgroups.c: Likewise.
25768 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25769 * nss/nss_files/files-initgroups.c: Likewise.
25770 * nss/nss_db/db-netgrp.c: Likewise.
25771 * nss/nss_db/db-initgroups.c: Likewise.
25772 * io/fchmodat.c: Include <sys/stat.h>.
25773
25774 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25775 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25776
25777 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25778 [HAVE_MMAP].
25779
25780 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25781 Add multiple inclusion protection.
25782
e5abc686
DM
257832012-07-27 David S. Miller <davem@davemloft.net>
25784
25785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25786
815e6fa3
GB
257872012-07-27 Gary Benson <gbenson@redhat.com>
25788
25789 [BZ #14298]
25790 * elf/rtld.c: Include <stap-probe.h>.
25791 (dl_main): Added static probes "init_start" and "init_complete".
25792 * elf/dl-load.c: Include <stap-probe.h>.
25793 (lose): Take new parameter "nsid".
25794 Added static probe "map_failed".
25795 (_dl_map_object_from_fd): Pass namespace id to lose.
25796 Added static probe "map_start".
25797 (open_verify): Pass namespace id to lose.
25798 * elf/dl-open.c: Include <stap-probe.h>.
25799 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25800 and "reloc_complete".
25801 * elf/dl-close.c: Include <stap-probe.h>.
25802 (_dl_close_worker): Added static probes "unmap_start" and
25803 "unmap_complete".
25804 * elf/rtld-debugger-interface.txt: New file documenting the above.
25805
9f98c16c
RM
258062012-07-26 Roland McGrath <roland@hack.frob.com>
25807
25808 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25809 rather than a string variable.
25810 * sunrpc/rpc_main.c (h_output): Likewise.
25811 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25812
f3c22df3
PT
258132012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25814
25815 * inet/check_native.c: New file.
25816
3129cfc6
JM
258172012-07-26 Joseph Myers <joseph@codesourcery.com>
25818
da865e95
JM
25819 [BZ #13629]
25820 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25821 if larger part has absolute value 1.0.
25822 * math/s_clog10.c (__clog10): Likewise.
25823 * math/s_clog10f.c (__clog10f): Likewise.
25824 * math/s_clog10l.c (__clog10l): Likewise.
25825 * math/s_clogf.c (__clogf): Likewise.
25826 * math/s_clogl.c (__clogl): Likewise.
25827 * math/libm-test.inc (clog_test): Add more tests.
25828 (clog10_test): Likewise.
25829 * sysdeps/i386/fpu/libm-test-ulps: Update.
25830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25831
3129cfc6
JM
25832 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25833 (pltexit): Likewise.
25834 (La_regs): Likewise.
25835 (La_retval): Likewise.
25836 (int_retval): Likewise.
25837 Update #error for removed macros to refer only to definitions in
25838 tst-audit.h.
25839 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25840 macro.
25841 (pltexit): Likewise.
25842 (La_regs): Likewise.
25843 (La_retval): Likewise.
25844 (int_retval): Likewise.
25845 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25846 macro.
25847 (pltexit): Likewise.
25848 (La_regs): Likewise.
25849 (La_retval): Likewise.
25850 (int_retval): Likewise.
25851 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25852 macro.
25853 (pltexit): Likewise.
25854 (La_regs): Likewise.
25855 (La_retval): Likewise.
25856 (int_retval): Likewise.
25857 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25858 macro.
25859 (pltexit): Likewise.
25860 (La_regs): Likewise.
25861 (La_retval): Likewise.
25862 (int_retval): Likewise.
25863 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25864 macro.
25865 (pltexit): Likewise.
25866 (La_regs): Likewise.
25867 (La_retval): Likewise.
25868 (int_retval): Likewise.
25869 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25870 macro.
25871 (pltexit): Likewise.
25872 (La_regs): Likewise.
25873 (La_retval): Likewise.
25874 (int_retval): Likewise.
25875 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25876 macro definitions in tst-audit.h.
25877 * sysdeps/i386/tst-audit.h: New file.
25878 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25879 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25880 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25881 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25882 * sysdeps/sh/tst-audit.h: Likewise.
25883 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25884 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25885 * sysdeps/x86_64/tst-audit.h: Likewise.
25886
bfc07087
AJ
258872012-07-26 Andreas Jaeger <aj@suse.de>
25888
b1b2aaf8
AJ
25889 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25890 ptrace.
25891
25892 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25893 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25894 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25895 PTRACE_O_MASK.
25896 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25897 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25898 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25899
bfc07087
AJ
25900 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25901 value.
25902
25903 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25904 _sigsys.
25905 (si_call_addr, si_syscall, si_arch): Define new macro.
25906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25907 _sigsys.
25908 (si_call_addr, si_syscall, si_arch): Define new marcro.
25909 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25910 _sigsys.
25911 (si_call_addr, si_syscall, si_arch): Define new macro.
25912 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25913 _sigsys.
25914 (si_call_addr, si_syscall, si_arch): Define new macro.
25915
89b4b02f
JM
259162012-07-25 Joseph Myers <joseph@codesourcery.com>
25917
25918 [BZ #13717]
25919 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25920 Change to 2.4.21 where previously 2.4.1.
25921 * sysdeps/unix/sysv/linux/configure: Regenerated.
25922 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25923 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25924 Linux kernel version.
25925 (__ASSUME_STD_AUXV): Remove.
25926 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25927 kernel version.
25928 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25929 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25930 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25931 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25932 (__ASSUME_NETLINK_SUPPORT): Likewise.
25933 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25934 (__no_netlink_support): Remove conditional definition.
25935 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25936 Remove.
25937 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25938 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25939 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25940 (if_nameindex_ioctl): Remove.
25941 (if_nameindex_netlink): Do not handle __no_netlink_support.
25942 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25943 code.
25944 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25945 Remove conditional code.
25946 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25947 code.
25948 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25949 unconditional.
25950 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25951 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25952 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25953 Remove.
25954 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25955 [!__ASSUME_STD_AUXV]: Remove conditional code.
25956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25957 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25958 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25960 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25961 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25962 code.
25963 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25965 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25966 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25967 conditional code.
25968 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25970 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25971 code.
25972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25973 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25974 conditional code.
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25976 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25977 code unconditional.
25978 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25979 conditional code.
25980 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25981 unconditional.
25982 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25983 conditional code.
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25985 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25986 unconditional.
25987 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25988 conditional code.
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25990 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25991 code unconditional.
25992 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25993 conditional code.
25994 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25995 unconditional.
25996 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25997 conditional code.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25999 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26000 code unconditional.
26001 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26002 conditional code.
26003 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26004 unconditional.
26005 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26006 conditional code.
26007
842a39cd
AS
260082012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26009
26010 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26011 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26012 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26013 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26014 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26015 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26016 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26017 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26018 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26019 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26020 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26021 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26022 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26023 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26024 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26025 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26026 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26028 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26030 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26031 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26033
84b3fd84
FW
260342012-07-25 Florian Weimer <fweimer@redhat.com>
26035
26036 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26037 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26038 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26039 Introduce __libc_secure_getenv.
0c7936d5
FW
26040 * stdlib/Versions (2.17): Add secure_getenv
26041 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26042 * stdlib/secure-getenv.c: Rename __secure_getenv to
26043 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26044 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26045 * stdlib/tst-secure-getenv.c: New.
26046 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26047 * manual/startup.texi (Environment Access): Document
26048 secure_getenv.
84b3fd84
FW
26049 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26050 __libc_secure_getenv.
26051 * inet/ruserpass.c (ruserpass): Likewise.
26052 * malloc/mtrace.c (mtrace): Likewise.
26053 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26054 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26055 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26056 * sysdeps/posix/tempname.c: Likewise. Evaluate
26057 HAVE_SECURE_GETENV.
26058 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26059 __secure_getenv to __libc_secure_getenv.
84b3fd84 26060 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26062 Likewise.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26064 Likewise.
26065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26067 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26072
56e49b71
JM
260732012-07-25 Joseph Myers <joseph@codesourcery.com>
26074
26075 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26076 (struct La_i86_retval): Likewise.
26077 (struct La_x86_64_regs): Likewise.
26078 (struct La_x86_64_retval): Likewise.
26079 (struct La_x32_regs): Likewise.
26080 (struct La_x32_retval): Likewise.
26081 (struct La_ppc32_regs): Likewise.
26082 (struct La_ppc32_retval): Likewise.
26083 (struct La_ppc64_regs): Likewise.
26084 (struct La_ppc64_retval): Likewise.
26085 (struct La_sh_regs): Likewise.
26086 (struct La_sh_retval): Likewise.
26087 (struct La_s390_32_regs): Likewise.
26088 (struct La_s390_32_retval): Likewise.
26089 (struct La_s390_64_regs): Likewise.
26090 (struct La_s390_64_retval): Likewise.
26091 (struct La_sparc32_regs): Likewise.
26092 (struct La_sparc32_retval): Likewise.
26093 (struct La_sparc64_regs): Likewise.
26094 (struct La_sparc64_retval): Likewise.
26095 (struct audit_ifaces): Remove architecture-specific pltenter and
26096 pltexit members.
26097 * sysdeps/i386/ldsodefs.h: New file.
26098 * sysdeps/powerpc/ldsodefs.h: Likewise.
26099 * sysdeps/s390/ldsodefs.h: Likewise.
26100 * sysdeps/sh/ldsodefs.h: Likewise.
26101 * sysdeps/sparc/ldsodefs.h: Likewise.
26102 * sysdeps/x86_64/ldsodefs.h: Likewise.
26103
354691b7
MP
261042012-07-25 Marek Polacek <polacek@redhat.com>
26105
26106 [BZ #6808]
26107 * math/libm-test.inc (yn_test): Add another test.
26108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26109 to ERANGE when the result is +-Inf.
26110 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26111 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26112 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26113 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26114
bf9e2071
JM
261152012-07-24 Joseph Myers <joseph@codesourcery.com>
26116
26117 * conform/data/time.h-data (NULL): Use macro-constant. Require
26118 equal to 0.
26119 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26120 clock_t.
26121 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26122
57633811
TS
261232012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26124
26125 * configure.in <sysdeps resolving>: Correct printing
26126 Implies_before.
26127 * configure: Regenerate.
26128
c23c33b0
TS
261292012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26130
26131 * math/w_ilogb.c: Include <limits.h>.
26132 * math/w_ilogbl.c: Likewise.
26133
b5982523
JM
261342012-07-20 Joseph Myers <joseph@codesourcery.com>
26135
26136 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26137 va_copy. Document allowing for unavailable va_copy only as
26138 pre-C99 compatibility.
26139 * manual/string.texi (Copying and Concatenation): Use va_copy
26140 instead of __va_copy in concat example.
26141
ac4ea442
PT
261422012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26143
26144 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26145 (__sendto): Use create_address_port. Initialize APORT and deallocate
26146 it if not null.
26147
f98eafbd
PT
26148 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26149 with O_NOLINK passed to __file_name_lookup.
26150
898c7aab
PT
26151 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26152 with O_NOLINK passed to __file_name_lookup.
26153
0ced335a
PT
26154 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26155 negative N or less than NGIDS.
26156
b3404dbd
PT
26157 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26158 type to string_t. Set ERANGE as errno and return it if NAME is not big
26159 enough. Use memcpy instead of strncpy.
26160
0f48659e
JM
261612012-07-20 Joseph Myers <joseph@codesourcery.com>
26162
26163 * elf/Makefile (check-data): Remove.
26164 (localplt.data): New vpath directive.
26165 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26166 instead of $(check-data).
26167 * scripts/data/localplt-generic.data: Move to ...
26168 * sysdeps/generic/localplt.data: ... here.
26169 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26170 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26171 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26173 ... here.
26174 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26176 ... here.
26177 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26179 ... here.
26180 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26182 ... here.
26183 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26185 ... here.
26186 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26188 ... here.
26189
d37cbdaa
AZ
261902012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26191
26192 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26193 PPC32 and PPC64 files.
26194 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26195 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26196
46f85fc2
AK
261972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26198
26199 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26200 __makecontext_ret to ...
26201 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26202 ... here and call exit if uc_link is NULL. New file.
26203 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26204 __makecontext_ret.S.
26205 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26206 __makecontext_ret to ...
26207 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26208 ... here and call exit if uc_link is NULL. New file.
26209 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26210 __makecontext_ret.S.
26211
08f43f9b
AK
262122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26213
26214 * elf/elf.h (R_390_IRELATIVE): New definition.
26215 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26216 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26217 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26218 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26219 (elf_machine_lazy_rel): Likewise.
26220 * sysdeps/s390/dl-irel.h: New file.
26221 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26222 * sysdeps/s390/s390-64/memset.S: New asm code.
26223 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26224 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26225 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26226 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26227 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26228 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26229 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26230 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26231 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26232 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26233 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26234 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26235 * sysdeps/s390/s390-32/memset.S: New asm code.
26236 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26237
3b05db33
MP
262382012-07-17 Marek Polacek <polacek@redhat.com>
26239
26240 [BZ #14349]
26241 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26242 * sysdeps/s390/s390-64/configure.in: Likewise.
26243 * sysdeps/sparc/configure.in: Likewise.
26244 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26245 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26246 * sysdeps/i386/configure.in: Likewise.
26247 * sysdeps/x86_64/configure.in: Likewise.
26248 * sysdeps/sh/configure.in: Likewise.
26249 * sysdeps/s390/s390-32/configure: Regenerated.
26250 * sysdeps/s390/s390-64/configure: Likewise.
26251 * sysdeps/x86_64/configure: Likewise.
26252 * sysdeps/sh/configure: Likewise.
26253 * sysdeps/powerpc/powerpc64/configure: Likewise.
26254 * sysdeps/powerpc/powerpc32/configure: Likewise.
26255 * sysdeps/sparc/configure: Likwise.
26256 * sysdeps/i386/configure: Likewise.
26257
a66877c6
MP
26258 * elf/dl-open.c: Comment fixes.
26259
cfc82fd8
JM
262602012-07-17 Joseph Myers <joseph@codesourcery.com>
26261
bd29910a
JM
26262 * Makefile [CXX] (check-data): Remove.
26263 [CXX] (c++-types.data): New vpath directive.
26264 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26265 vpath. Do not allow for C++ type data being missing.
26266 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26267 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26268 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26269 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26270 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26271 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26272 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26274 ... here.
26275 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26277 ... here.
26278 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26280 ... here.
26281 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26283 ... here.
26284 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26286 ... here.
26287 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26289 ... here.
26290 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26292 ... here.
26293 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26295
cfc82fd8
JM
26296 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26297 definitions to architecture-specific files.
26298 (TLS_IE): Likewise.
26299 (TLS_LD): Likewise.
26300 (TLS_GD): Likewise.
26301 * sysdeps/i386/tls-macros.h: New file.
26302 * sysdeps/powerpc/tls-macros.h: Likewise.
26303 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26304 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26305 * sysdeps/sh/tls-macros.h: Likewise.
26306 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26307 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26308 * sysdeps/x86_64/tls-macros.h: Likewise.
26309
f7db3170
TS
263102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26311
07cbfc23
TS
26312 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26313 zero value for regular exit case.
26314
f7db3170
TS
26315 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26316 (__start_context): Preserve zero value for regular exit case.
26317
dc97c227
TS
263182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26319 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26320
26321 * manual/setjmp.texi (setcontext): Clarify normal process
26322 termination when uc_link is the null pointer.
26323 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26324 exit call.
26325
d0cd7d02
AS
263262012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26327
26328 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26329 preprocessor. Test for each exception mask separately.
26330
dd318934
AJ
263312012-07-16 Andreas Jaeger <aj@suse.de>
26332
26333 * po/ru.po: Update from translation team.
26334
8048311a
JM
263352012-07-15 Joseph Myers <joseph@codesourcery.com>
26336
26337 * conform/data/string.h-data (NULL): Use macro-constant. Require
26338 equal to 0.
26339 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26340 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26341 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26342 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26344
b637d46e
AJ
263452012-07-13 Andreas Jaeger <aj@suse.de>
26346
26347 * po/fr.po: Update from translation team.
26348
541428fe
MP
263492012-07-12 Marek Polacek <polacek@redhat.com>
26350
26351 [BZ #14173]
26352 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26353 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26354 loop condition.
26355
ec332e94
JM
263562012-07-12 Joseph Myers <joseph@codesourcery.com>
26357
26358 [BZ #13717]
26359 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26360 Change to 2.4.1 where previously 2.4.0.
26361 * sysdeps/unix/sysv/linux/configure: Regenerated.
26362 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26363 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26364 version.
26365 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26366 (__ASSUME_AT_CLKTCK): Remove.
26367 (__ASSUME_AT_PAGESIZE): Likewise.
26368 (__ASSUME_AT_XID): Likewise.
26369 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26370 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26371 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26372 unconditionally.
26373 (HAVE_AUX_PAGESIZE): Likewise.
26374 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26375 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26376 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26377
7b6e99be
JB
263782012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26379
26380 [BZ #14307]
26381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26382 the temporary buffer used to invoke __gethostbyname2_r,
26383 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26384 host_data / struct gaih_addrtuple.
26385 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26386 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26387 header file nss/nsswitch.h.
26388 * nss/nsswitch.h (global scope): Add definition of implementation
26389 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26390 resolv/nss_dns/dns-host.c).
26391
608404eb
AJ
263922012-07-11 Andreas Jaeger <aj@suse.de>
26393
26394 * po/fr.po: Update from translation team.
26395
71220aca
AJ
26396 * po/sv.po: Update from translation team
26397 * po/fr.po: Another update from translation team.
26398
28cfe843
AZ
263992012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26400
26401 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26402 for subnormals or multiply small sinh result by itself.
26403 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26405
6b90f981
DM
264062012-07-11 David S. Miller <davem@davemloft.net>
26407
26408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26409
c6825772
AS
264102012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26411
26412 [BZ #14347]
26413 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26414 (INTERNAL_MARK): Shift it here.
26415
7b8e0d49
MP
264162012-07-10 Marek Polacek <polacek@redhat.com>
26417
26418 [BZ #14151]
26419 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26420 libc_cv_asm_global_directive with .globl.
26421 * configure: Regenerated.
26422 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26423 with .globl.
26424 * sysdeps/i386/configure: Regenerated.
26425 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26426 with .globl.
26427 * sysdeps/x86_64/configure: Regenerated.
26428 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26429 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26430 * elf/tst-unique2mod2.c: Likewise.
26431 * elf/tst-unique2mod1.c: Likewise.
26432 * elf/tst-unique1mod2.c: Likewise.
26433 * elf/tst-unique1mod1.c: Likewise.
26434 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26435 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26436 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26437 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26438 * sysdeps/mach/sysdep.h: Likewise.
26439 * sysdeps/i386/sysdep.h: Likewise.
26440 * sysdeps/i386/i386-mcount.S: Likewise.
26441 * sysdeps/x86_64/_mcount.S: Likewise.
26442 * sysdeps/x86_64/sysdep.h: Likewise.
26443 * sysdeps/sh/_mcount.S: Likewise.
26444 * sysdeps/sh/sysdep.h: Likewise.
26445 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26446 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26447 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26448 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26449 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26450 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26451 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26452 * locale/localeinfo.h: Likewise.
26453 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26454 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26455
6c55cda3
RM
264562012-07-09 Roland McGrath <roland@hack.frob.com>
26457
26458 [BZ #14336]
26459 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26460 system".
26461 * manual/message.texi (The Uniforum approach): Likewise.
26462 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26463 (glibc iconv Implementation): Likewise.
26464
638a572e
JM
264652012-07-09 Joseph Myers <joseph@codesourcery.com>
26466
26467 [BZ #14337]
26468 * math/s_clog.c (__clog): Avoid scaling a value down where that
26469 could result in underflow.
26470 * math/s_clog10.c (__clog10): Likewise.
26471 * math/s_clog10f.c (__clog10f): Likewise.
26472 * math/s_clog10l.c (__clog10l): Likewise.
26473 * math/s_clogf.c (__clogf): Likewise.
26474 * math/s_clogl.c (__clogl): Likewise.
26475 * math/libm-test.inc (clog_test): Add more tests.
26476 (clog10_test): Likewise.
26477 * sysdeps/i386/fpu/libm-test-ulps: Update.
26478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26479
261f4859
AS
264802012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26481
0abaf3e4
AS
26482 [BZ #14283]
26483 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26484 by 7 not 8 to examine high bit of fractional part.
26485
261f4859
AS
26486 [BZ #14042]
26487 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26488 for call to __mcount_internal.
26489 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26490 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26491 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26492
f17ac40d
JM
264932012-07-06 Joseph Myers <joseph@codesourcery.com>
26494
9ad63c23
JM
26495 [BZ #14154]
26496 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26497 approximation for values within 0x1p-13f of an odd multiple of
26498 pi/4.
26499 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26500 exception. Add more tests.
26501 * sysdeps/i386/fpu/libm-test-ulps: Update.
26502
f17ac40d
JM
26503 [BZ #6778]
26504 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26505 inputs and return -1 for them. Do not check for +Inf in case not
26506 reachable for +Inf.
26507 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26508 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26509 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26510 and return -1 for them. Do not check for +Inf in case not
26511 reachable for +Inf.
26512 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26513 define.
26514 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26515 and return -1 for them. Do not check for +Inf in case not
26516 reachable for +Inf.
26517 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26518 spurious underflow.
26519 * sysdeps/i386/fpu/libm-test-ulps: Update.
26520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26521
fb21f89b
MF
265222012-07-06 Mike Frysinger <vapier@gentoo.org>
26523
26524 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26525
cdfe2c5e
JM
265262012-07-05 Joseph Myers <joseph@codesourcery.com>
26527
26528 [BZ #14157]
26529 [BZ #14331]
26530 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26531 could result in spurious underflow. Scale down values above
26532 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26533 * math/s_csqrtf.c (__csqrtf): Likewise.
26534 * math/s_csqrtl.c (__csqrtl): Likewise.
26535 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26536 spurious underflow.
26537 * sysdeps/i386/fpu/libm-test-ulps: Update.
26538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26539
70d35b67
AS
265402012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26541
704bc459
AS
26542 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26543 xopen-msg.sed.
26544 * catgets/xopen-msg.awk: New file.
26545 * catgets/xopen-msg.sed: Removed.
26546
70d35b67
AS
26547 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26548 po2text.sed.
26549 * intl/po2test.awk: New file.
26550 * intl/po2test.sed: Removed.
26551
ca61cf32
JM
265522012-07-04 Joseph Myers <joseph@codesourcery.com>
26553
26554 [BZ #14328]
26555 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26556 or multiply small sinh result by itself.
26557 * math/s_ctanf.c (__ctanf): Likewise.
26558 * math/s_ctanh.c (__ctanh): Likewise.
26559 * math/s_ctanhf.c (__ctanhf): Likewise.
26560 * math/s_ctanhl.c (__ctanhl): Likewise.
26561 * math/s_ctanl.c (__ctanl): Likewise.
26562 * math/libm-test.inc (ctan_test_tonearest): New function.
26563 (ctan_test_towardzero): Likewise.
26564 (ctan_test_downward): Likewise.
26565 (ctan_test_upward): Likewise.
26566 (ctanh_test_tonearest): Likewise.
26567 (ctanh_test_towardzero): Likewise.
26568 (ctanh_test_downward): Likewise.
26569 (ctanh_test_upward): Likewise.
26570 (main): Call these new functions.
26571 * sysdeps/i386/fpu/libm-test-ulps: Update.
26572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26573
ca48a46a
MF
265742012-07-03 Mike Frysinger <vapier@gentoo.org>
26575
26576 * .gitignore: Delete /ports entry.
26577
9d63d37d
AJ
265782012-07-03 Andreas Jaeger <aj@suse.de>
26579
26580 * po/bg.po: Update from translation team.
26581 * po/cs.po: Likewise.
26582 * po/de.po: Likewise.
26583 * po/hr.po: Likewise.
26584 * po/nl.pl: Likewise.
26585 * po/pl.po: Likewise.
26586 * po/vi.po: Likewise.
26587
370ca3d2
JM
265882012-07-03 Joseph Myers <joseph@codesourcery.com>
26589
95f5a9a8
JM
26590 * Makeconfig [!+link] (+link-before-libc): New variable.
26591 [!+link] (+link-after-libc): Likewise.
26592 [!+link] (+link-tests): Likewise.
26593 [!+link] (+link): Define in terms of $(+link-before-libc) and
26594 $(+link-after-libc).
26595 [!+link-static] (+link-static-before-libc): New variable.
26596 [!+link-static] (+link-static-after-libc): Likewise.
26597 [!+link-static] (+link-static-tests): Likewise.
26598 [!+link-static] (+link-static): Define in terms of
26599 $(+link-static-before-libc) and $(+link-static-after-libc).
26600 [build-shared] (link-libc-before-gnulib): New variable.
26601 [build-shared] (link-libc-tests): Likewise.
26602 [build-shared] (link-libc): Define in terms of
26603 $(link-libc-before-gnulib).
26604 [!build-shared] (link-libc-tests): New variable.
26605 (link-libc-static-tests): New variable.
26606 [!gnulib] (gnulib-arch): New variable.
26607 [!gnulib] (gnulib-tests): Likewise.
26608 [!gnulib] (static-gnulib-arch): Likewise.
26609 [!gnulib] (static-gnulib-tests): Likewise.
26610 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26611 Define with "=" instead of ":=".
26612 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26613 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26614 * Rules (binaries-all-notests): New variable.
26615 (binaries-all-tests): Likewise.
26616 (binaries-static-notests): Likewise.
26617 (binaries-static-tests): Likewise.
26618 (binaries-all): Define using $(binaries-all-notests) and
26619 $(binaries-all-tests).
26620 (binaries-static): Define using $(binaries-static-notests) and
26621 $(binaries-static-tests).
26622 (binaries-shared-tests): New variable.
26623 (binaries-shared-notests): Likewise.
26624 (binaries-shared): Remove variable.
26625 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26626 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26627 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26628 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26629 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26630 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26631 * elf/Makefile (sln-modules): New variable.
26632 (extra-objs): Add $(sln-modules:=.o).
26633 (ldconfig-modules): Add static-stubs.
26634 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26635 * elf/static-stubs.c: New file.
26636
7a845b2c
JM
26637 [BZ #14283]
26638 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26639 by 7 not 8 to examine high bit of fractional part. Use volatile
26640 variables when splitting into final array of floats if
26641 __FLT_EVAL_METHOD__ != 0.
26642 * math/libm-test.inc (cos_test): Add another test.
26643 (sin_test): Likewise.
26644 * sysdeps/i386/fpu/libm-test-ulps: Update.
26645
e2283f38
JM
26646 [BZ #14273]
26647 * math/libm-test.inc (cosh_test): Add more tests.
26648
370ca3d2
JM
26649 * version.h (RELEASE): Set to "development".
26650 (VERSION): Set to "2.16.90".
26651
ee9247c3
CD
266522012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26653
26654 * NEWS: Update copyright. Remove last-updated date.
26655 Mention math library bug fixes and timezone data changes.
26656 * README: Mention GNU/Hurd, x32, and HPPA support status.
26657
4648c381
TS
266582012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26659
26660 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26661
aac78a43
AJ
266622012-06-27 Andreas Jaeger <aj@suse.de>
26663
26664 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26665
ed3dbfad
AJ
266662012-06-25 Andreas Jaeger <aj@suse.de>
26667
26668 * sysdeps/s390/fpu/libm-test-ulps: Update.
26669
4d0ee855
AS
266702012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26671 Thomas Schwinge <thomas@codesourcery.com>
26672
26673 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26674 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26676 fanotify_mark.
26677
af1bce34
TS
266782012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26679
a9fa33ba
TS
26680 * sysdeps/mach/start.c: Remove file.
26681 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26682 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26683 * sysdeps/sh/init-first.c: Likewise.
26684
58f902b8
TS
26685 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26686 registers for frame unwinding purposes, add CFI directives.
26687 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26688 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26689 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26690 Likewise.
26691
1518f58b
TS
26692 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26693 __fortify_fail returning.
26694 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26695
db9b5059
TS
26696 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26697 sysdeps/sh/____longjmp_chk.S.
26698 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26699 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26700 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26701 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26702
967705fe
TS
26703 * sysdeps/sh/abort-instr.h: New file.
26704 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26705 process in case exit returns.
26706
a9def8c4
TS
26707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26708 initialize the GOT register before use.
26709
2a649725
TS
26710 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26711 calculation of ARGC > 4.
26712
af1bce34
TS
26713 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26714 meaningful names to some local labels.
26715
d230f50a
KK
267162012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26717 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26718
26719 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26720 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26721 (__arch_compare_and_exchange_val_16_acq): Likewise.
26722 (__arch_compare_and_exchange_val_32_acq): Likewise.
26723 (atomic_exchange_and_add): Fix gUSA sequence.
26724 (atomic_add): Likewise.
26725 (atomic_add_negative): Likewise.
26726 (atomic_add_zero): Likewise.
26727 (atomic_bit_test_set): Likewise.
26728
0479b305
AS
267292012-06-22 Andreas Schwab <schwab@redhat.com>
26730
26731 [BZ #13579]
26732 * include/link.h (struct link_map): Add l_free_initfini.
26733 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26734 l_initfini.
26735 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26736 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26737 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26738 set.
26739
0e3933b9
CD
267402012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26741
26742 * configure.in: Use AC_LANG_SOURCE.
26743 * configure: Regenerate.
26744
4248b1b1
RM
267452012-06-22 Roland McGrath <roland@hack.frob.com>
26746
26747 * configure.in (libc_cv_localstatedir): New substituted variable.
26748 * configure: Regenerated.
26749 * config.make.in (localstatedir): New variable, substituted from
26750 libc_cv_localstatedir.
26751 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26752 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26753 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26754 * sysdeps/gnu/configure: Regenerated.
26755
006dd861
JL
267562012-06-21 Jeff Law <law@redhat.com>
26757
26758 [BZ #14277]
26759 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26760 free. Simplify list management for _LIBC case.
26761
79662d42
JM
267622012-06-21 Joseph Myers <joseph@codesourcery.com>
26763
b7abb4bf
JM
26764 [BZ #14273]
26765 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26766 Clear sign bit of 64-bit integer value before comparing against
26767 overflow value.
26768
79662d42
JM
26769 * sysdeps/mach/configure: Regenerated.
26770
1f150908
L
267712012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26772
26773 [BZ #14278]
26774 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26775
28363bbf
JL
267762012-06-21 Jeff Law <law@redhat.com>
26777
26778 [BZ #13882]
26779 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26780 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26781 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26782 * elf/dl-open.c (dl_open_worker): Likewise.
26783
09615db4
CD
267842012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26785
26786 * scripts/list-sources.sh: Scan PORTS for translations.
26787 * po/libc.pot: Regenerated.
26788
2174c6dd
AJ
267892012-06-21 Andreas Jaeger <aj@suse.de>
26790
26791 [BZ #12194]
26792 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26793 warning.
26794 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26795 * bits/byteswap-16.h (__bswap_16): Likewise.
26796 * bits/byteswap.h (__bswap_constant_16): Likewise.
26797
3ee947b1
L
267982012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26799
26800 [BZ #14117]
a2f34833
L
26801 * sysdeps/i386/fpu_control.h: Removed.
26802 * sysdeps/x86_64/fpu_control.h: Moved to ...
26803 * sysdeps/x86/fpu_control.h: Here.
26804
3ee947b1
L
26805 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26806 (_FPU_SETCW): Likewise.
26807
ed1825f8
L
268082012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26809
25f1282a
L
26810 [BZ #14117]
26811 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26812 * sysdeps/x86/fpu/bits/mathinline.h: This.
26813 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26814
ed1825f8
L
26815 [BZ #14050]
26816 [BZ #14117]
26817 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26818 functions if __x86_64__ is defined.
26819
36d54b74
CLT
268202012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26821
26822 * string/endian.h: Add !__ASSEMBLER__ condition for including
26823 conversion interfaces.
26824
10285c21
JM
268252012-06-15 Joseph Myers <joseph@codesourcery.com>
26826
26827 [BZ #14241]
26828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26829 of ABS(x) in calculating zero to negative powers other than odd
26830 integers.
26831 * math/libm-test.inc (pow_test): Add more tests.
26832
06c5abbd
AJ
268332012-06-15 Andreas Jaeger <aj@suse.de>
26834
26835 * manual/contrib.texi (Contributors): Update entry of Liubov
26836 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26837 Machado Filho.
26838
a3aeac40
CH
268392012-06-15 Cyril Hrubis <metan@ucw.cz>
26840
26841 * string/string.h: Add __wur to GNU version of strerror_r.
26842
49bdf4c1
L
268432012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26844
26845 [BZ #14229]
26846 * string/Makefile (tests): Add tst-strtok_r.
26847 * string/tst-strtok_r.c: New file.
26848 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26849 RAX_LP/RDX_LP on SAVE_PTR.
26850
834f9b8d
RM
268512012-06-14 Roland McGrath <roland@hack.frob.com>
26852
26853 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26854
75fa1921
JM
268552012-06-14 Joseph Myers <joseph@codesourcery.com>
26856
26857 * libm_test.inc (csqrt_test): Allow more spurious underflow
26858 exceptions.
26859 (j0_test): Likewise.
26860 (j1_test): Likewise.
26861 (y0_test): Likewise.
26862 (y1_test): Likewise.
26863
771766df
CD
268642012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26865
26866 * po/Makefile (libc.pot): Use UTF-8 charset.
26867
ceb9e56b
PP
268682012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26869
26870 [BZ #14210]
26871 Suppress sign-conversion warning from FD_SET.
26872 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26873 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26874 not unsigned long int.
26875 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26876
ddb28975
L
268772012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26878
26879 [BZ #14050]
26880 [BZ #14117]
26881 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26882 __extern_always_inline instead of __extern_inline.
26883 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26884 (__signbit): Likewise.
26885 (__signbitl): Support C++ namespace.
26886 (lrintf): New inline function.
26887 (lrint): Likewise.
26888 (llrintf): Likewise.
26889 (llrint): Likewise.
26890 (fmaxf): Likewise.
26891 (fmax): Likewise.
26892 (fminf): Likewise.
26893 (fmin): Likewise.
26894 (rint): Likewise.
26895 (rintf): Likewise.
26896 (ceil): Likewise.
26897 (ceilf): Likewise.
26898 (floor): Likewise.
26899 (floorf): Likewise.
26900 (nearbyint): Likewise.
26901 (nearbyintf): Likewise.
26902
d7b4fb26
TS
269032012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26904
26905 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26906 non-default versions.
26907
eb55f5c2
RM
269082012-06-11 Roland McGrath <roland@hack.frob.com>
26909
26910 [BZ #14218]
26911 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26912
366af02c
TS
269132012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26914
99ff6e5c
TS
26915 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26916 (FE_UPWARD, FE_DOWNWARD): Don't define.
26917 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26918 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26919
366af02c
TS
26920 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26921 reading it.
26922 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26923 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26924
793ea851
KK
269252012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26926
26927 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26929 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26930 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26931
a728a38f
L
269322012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26933
26934 [BZ #14117]
c08010c7
L
26935 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26936 * sysdeps/i386/fpu/Implies: New file.
26937 * sysdeps/x86_64/fpu/Implies: Likewise.
26938 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26939 * sysdeps/x86/fpu/bits/fenv.h: This.
26940
a728a38f
L
26941 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26942 __SSE_MATH__.
26943
6e230d11
SP
269442012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26945
26946 [BZ #14134]
26947 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26948 character 0xffff that matches the last element of the
26949 conversion table.
26950
1b671feb
AZ
269512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26952
26953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26954 fmodl commit.
26955
6043738b
AZ
269562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26957
26958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26959 values higher than 25.6283.
26960
34ae0b32
AZ
269612012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26962
26963 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26964 subnormal exponent extraction and add some __builtin_expect.
26965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26966 Fix for subnormal mantissa calculation.
26967
1214ec8f
MF
269682012-06-04 Mike Frysinger <vapier@gentoo.org>
26969
26970 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26971 cpu2 is -1 and errno is not ENOSYS.
26972
f3d1f93c
L
269732012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26974
26975 [BZ #14117]
0e4a3cd7
L
26976 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26977 * sysdeps/x86/bits/string.h: This.
26978 * sysdeps/x86_64/bits/string.h: Removed.
26979
6704c645
L
26980 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26981 if not compiling for x86-64, but compiling for >= i486.
26982
48495318
L
26983 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26984 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26985
14adcbfc
L
26986 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26987 New macro from Linux kernel 3.4.0.
26988 (FP_XSTATE_MAGIC2): Likewise.
26989 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26990 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26991 (struct _fpx_sw_bytes): New struct.
26992 (struct _xsave_hdr): Likewise.
26993 (struct _ymmh_state): Likewise.
26994 (struct _xstate): Likewise.
26995
68e408ab
L
26996 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26997 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26998 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26999 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27000 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27001 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27002
f3d1f93c
L
27003 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27004 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27005 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27006 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27007 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27008 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27009
d9dc34cd
TMQMF
270102012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27011
27012 [BZ #13743]
27013 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27014 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27015 (sysdep_headers): Include sys/platform/ppc.h.
27016 * sysdeps/powerpc/test-gettimebase.c: Test for
27017 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27018 * manual/Makefile (appendices): Include platform.texi.
27019 * manual/contrib.texi (Contributors): Update @node pointers.
27020 * manual/maint.texi (Maintenance): Likewise.
27021 (Platform): New node.
27022 * manual/platform.texi: New file. Document the new features.
27023
4af3879c
SP
270242012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27025 Jakub Jelinek <jakub@redhat.com>
27026
27027 [BZ #14188]
27028 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27029 where __builtin_expect is unavailable.
27030
2fd6ff13
DM
270312012-06-03 David S. Miller <davem@davemloft.net>
27032
27033 * stdlib/longlong.h: Updated from GCC.
27034
173f7220
AS
270352012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27036
27037 [BZ #14042]
27038 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27039 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27040 __mcount_internal.
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27042 (GLIBC_2.16): Likewise.
27043
f34a1c6f
L
270442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27045
27046 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27047
88a4576f
JM
270482012-06-01 Joseph Myers <joseph@codesourcery.com>
27049
ea32bcdd
JM
27050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27051 (default-abi): New variable.
27052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27053 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27054 variable.
27055 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27056 Likewise.
27057 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27058 Likewise.
27059 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27060 Likewise.
27061
88a4576f
JM
27062 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27063 definition. Document in comment.
27064
402fe938
DM
270652012-06-01 David S. Miller <davem@davemloft.net>
27066
27067 * stdlib/longlong.h: Updated from GCC.
27068
3553723f
L
270692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27070
27071 [BZ #14117]
3bd872c4
L
27072 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27073 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27074 sys/debugreg.h sys/io.h here.
27075 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27076 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27077 sys/io.h.
27078 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27079 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27080 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27081 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27082 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27083 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27084
3553723f
L
27085 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27086 Define only if __x86_64__ is defined.
27087
4842e4fe
JM
270882012-06-01 Joseph Myers <joseph@codesourcery.com>
27089
c5bfe3d5
JM
27090 [BZ #14048]
27091 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27092 Use int64_t for variable i.
27093 * math/libm-test.inc (fmod_test): Add more tests.
27094
4842e4fe
JM
27095 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27096 z computation is not scheduled after fetestexcept.
27097 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27098 Use math_force_eval instead of asm to ensure calculation scheduled
27099 before exception test.
27100 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27101 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27102
efb73488
AJ
271032012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27104
27105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27106 computation is not scheduled after fetestexcept.
27107
29bcce7c
L
271082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27109
27110 [BZ #14117]
27111 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27112 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27113
73a68f94
AZ
271142012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27115
27116 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27117 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27118
67b6df78
L
271192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27120
edf2933a 27121 [BZ #14117]
ebc64a18
L
27122 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27123 <bits/wordsize.h>.
27124 (__WCHAR_MIN): Support __WORDSIZE == 64.
27125 (__WCHAR_MAX): Likewise.
27126
edf2933a
L
27127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27129
57c6cf40
L
27130 [BZ #14183]
27131 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27132 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27133
67b6df78 27134 [BZ #14117]
8eb6281e
L
27135 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27136 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27137
aac639f4
L
27138 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27139 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27140
67b6df78
L
27141 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27142 Defined to 1 if __x86_64__ isn't defined.
27143 (_STAT_VER_LINUX_OLD): New.
27144 (st_atime): Remove duplicate.
27145 (st_mtime): Likewise.
27146 (st_ctime): Likewise.
27147
1c2cfe81
DM
271482012-05-31 David S. Miller <davem@davemloft.net>
27149
27150 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27151 entries.
27152
5be8418c
AS
271532012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27154
e7725326
AS
27155 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27156 gen-libm-test.pl.
27157
5be8418c
AS
27158 [BZ #14132]
27159 * elf/dl-reloc.c: Include <_itoa.h>.
27160 (_dl_reloc_bad_type): Remove use of INTUSE.
27161 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27162 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27163 * stdio-common/psiginfo.c (psiginfo): Likewise.
27164 * stdio-common/psignal.c (psignal): Likewise.
27165 * string/strsignal.c (strsignal): Likewise.
27166 * include/signal.h (_sys_siglist): Declare hidden proto.
27167 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27168 INTVARDEF with libc_hidden_data_def.
27169 * stdio-common/itoa-udigits.c: Likewise.
27170 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27171 (_itoa_lower_digits_internal): Remove declaration.
27172 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27173 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27174 (_sys_sigabbrev_internal): Remove aliases.
27175 (_sys_siglist): Define hidden alias.
27176
507352f1
MT
271772012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27178
27179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27180 bits/sysctl.h.
27181
42bbb1c3
L
271822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27183
27184 [BZ #14117]
6bd784b6
L
27185 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27186 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27187
8bca20f0
L
27188 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27189 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27190 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27191 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27192 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27193 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27194
f9e890a9
L
27195 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27196 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27197 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27198
471101a1
L
27199 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27200 with __addr.
27201 (insw): Likewise.
27202 (insl): Likewise.
27203 (outsb): Likewise.
27204 (outsw): Likewise.
27205 (outsl): Likewise.
27206
6451c862
L
27207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27208 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27209 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27210
a254b8c9
L
27211 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27212 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27213 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27214 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27215 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27216 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27217
b8dfdd92
L
27218 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27219 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27220
578cd270
L
27221 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27222 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27223
de662f5f
L
27224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27226 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27227
25653439
L
27228 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27229 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27230 to ...
27231 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27232
6bad24a0
L
27233 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27234 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27235 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27236
42bbb1c3
L
27237 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27238 for x86-64.
27239 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27240
2d10d547
JM
272412012-05-31 Joseph Myers <joseph@codesourcery.com>
27242
27243 * math/math.h (M_El): Use two more decimal places.
27244 (M_LOG2El): Likewise.
27245 (M_LOG10El): Likewise.
27246 (M_LN2l): Likewise.
27247 (M_LN10l): Likewise.
27248 (M_PIl): Likewise.
27249 (M_PI_2l): Likewise.
27250 (M_PI_4l): Likewise.
27251 (M_1_PIl): Likewise.
27252 (M_2_PIl): Likewise.
27253 (M_2_SQRTPIl): Likewise.
27254 (M_SQRT2l): Likewise.
27255 (M_SQRT1_2l): Likewise.
27256
f230c29b
DM
272572012-05-31 David S. Miller <davem@davemloft.net>
27258
27259 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27260 values between float registers.
27261 * sysdeps/sparc/sparc64/memset.S: Likewise.
27262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27263
fed806c3
MF
272642012-05-31 Mike Frysinger <vapier@gentoo.org>
27265
27266 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27267 -D_FORTIFY_SOURCE=1.
27268 (CPPFLAGS-tst-longjmp_chk.c): Define.
27269 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27270 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27271 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27272 CFLAGS-tst-wchar-h.c.
27273
30917259
MP
272742012-05-31 Marek Polacek <polacek@redhat.com>
27275
27276 [BZ #14132]
27277 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27278 __endmntent_internal): Remove declaration.
27279 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27280 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27281 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27282
1c58d5dc
DM
272832012-05-30 David S. Miller <davem@davemloft.net>
27284
27285 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27286 (___Q_simulate_exceptions): Use real FP ops rather than writing
27287 into the %fsr.
27288 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27289 Likewise.
27290
7dc00e0d
L
272912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27292
27293 [BZ #14117]
0bd53985
L
27294 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27295 * sysdeps/x86/bits/xtitypes.h: This.
27296
3a257e66
L
27297 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27298 * sysdeps/x86/bits/wordsize.h: This.
27299
62f62904
L
27300 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27301 * sysdeps/x86/bits/huge_vall.h: This.
27302
404fe9d9
L
27303 * sysdeps/i386/bits/select.h: Removed.
27304 * sysdeps/x86_64/bits/select.h: Renamed to ...
27305 * sysdeps/x86/bits/select.h: This.
27306
d48d0446
L
27307 * sysdeps/i386/bits/setjmp.h: Removed.
27308 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27309 * sysdeps/x86/bits/setjmp.h: This.
27310
7dc00e0d
L
27311 * sysdeps/i386/bits/mathdef.h: Removed.
27312 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27313 * sysdeps/x86/bits/mathdef.h: This.
27314
03277f8f
AS
273152012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27316
27317 [BZ #14132]
27318 * include/sys/socket.h (__connect_internal)
27319 (__libc_sa_len_internal): Remove declaration.
27320 (__connect, __libc_sa_len): Declare hidden_proto.
27321 (SA_LEN): Remove use of INTUSE.
27322 * socket/connect.c: Add libc_hidden_def.
27323 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27324 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27325 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27326 alias.
27327 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27328 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27329 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27330 of adding _internal alias.
27331
13764867
L
273322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27333
27334 [BZ #14117]
6bd97696
L
27335 * sysdeps/i386/bits/link.h: Removed.
27336 * sysdeps/i386/bits/linkmap.h: Likewise.
27337 * sysdeps/x86_64/bits/link.h: Renamed to ...
27338 * sysdeps/x86/bits/link.h: This.
27339 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27340 * sysdeps/x86/bits/linkmap.h: This.
27341
f726f0bb
L
27342 * sysdeps/i386/bits/endian.h: Removed.
27343 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27344 * sysdeps/x86/bits/endian.h: This.
27345
13764867
L
27346 * sysdeps/i386/bits/byteswap.h: Removed.
27347 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27348 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27349 * sysdeps/x86/bits/byteswap.h: This.
27350 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27351 * sysdeps/x86/bits/byteswap-16.h: This.
27352 * sysdeps/i386/Implies: Add x86.
27353 * sysdeps/x86_64/Implies: Likewise.
27354
ae251b0b
DM
273552012-05-30 David S. Miller <davem@davemloft.net>
27356
27357 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27358 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27359 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27360 (FP_TRAPPING_EXCEPTIONS): Define.
27361 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27362 (FP_TRAPPING_EXCEPTIONS): Define.
27363 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27364 subnormals only when inexact has been signalled or underflow
27365 exceptions are enabled.
27366 (_FP_PACK_CANONICAL): Likewise.
27367
d5c90867
L
273682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27369
27370 [BZ #14183]
27371 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27372 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27373
63f1549e
RH
273742012-05-30 Richard Henderson <rth@twiddle.net>
27375
8d8f2279
RH
27376 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27377 with #ifndef NOT_IN_libc.
27378
63f1549e
RH
27379 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27380 marked to avoid plt entry.
27381
0ab0291b
L
273822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27383
27384 [BZ #14112]
27385 * Makeconfig (default-abi): New macro.
27386 (abi-includes): Likewise.
27387 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27388 $(abi-$(default-abi)-lib-soname) for soname if defined.
27389 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27390 abi-variants.
27391 * Makefile (installed-stubs): Likewise.
27392 * include/stubs-biarch.h: Removed.
27393 * scripts/lib-names.awk: Only handle one library at a time.
27394 * scripts/soversions.awk: Remove WORDSIZE support.
27395 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27396 entries.
27397 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27398 Removed.
27399 (syscall-list-default-condition): Likewise.
27400 (syscall-list-default-condition): Likewise.
27401 (syscall-list-includes): Likewise.
27402 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27403 syscall-list-* with abi-*. Handle undefined abi-variants.
27404 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27405 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27406 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27407 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27408 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27409 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27410 Removed.
27411 (syscall-list-32-options): Likewise.
27412 (syscall-list-32-condition): Likewise.
27413 (syscall-list-64-options): Likewise.
27414 (syscall-list-64-condition): Likewise.
27415 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27416 macro.
27417 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27418 Renamed to ...
27419 (abi-*): This.
27420 (abi-64-ld-soname): New macro.
27421 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27422 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27423 Renamed to ...
27424 (abi-*): This.
27425 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27426 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27427
4da0431d
JM
274282012-05-30 Joseph Myers <joseph@codesourcery.com>
27429
3a85279c
JM
27430 * sysdeps/unix/sysv/linux/kernel-features.h
27431 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27432 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27433 include <kernel-features.h>.
27434 [!__NR_ftruncate64]: Remove conditional code.
27435 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27436 [__NR_ftruncate64]: Make code unconditional.
27437 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27438 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27439 include <kernel-features.h>.
27440 [!__NR_ftruncate64]: Remove conditional code.
27441 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27442 [__NR_ftruncate64]: Make code unconditional.
27443 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27445 include <kernel-features.h>.
27446 [!__NR_ftruncate64]: Remove conditional code.
27447 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27448 [__NR_ftruncate64]: Make code unconditional.
27449 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27451 include <kernel-features.h>.
27452 [!__NR_ftruncate64]: Remove conditional code.
27453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27454 [__NR_ftruncate64]: Make code unconditional.
27455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27456
4da0431d
JM
27457 * configure.in (libc_cv_fpie): Weaken to a compile test using
27458 LIBC_TRY_CC_OPTION.
27459 * configure: Regenerated.
27460
11ef492c
AK
274612012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27462
27463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27467 Refreshed.
27468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27474 Refreshed.
27475
d66ef399
DM
274762012-05-27 David S. Miller <davem@davemloft.net>
27477
27478 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27479 (___Q_zero): New.
27480 (__Q_simulate_exceptions): Return void. Change to simulate
27481 exceptions by writing into the %fsr.
27482 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27483 (__Qp_handle_exceptions): Likewise.
27484 (numbers): Delete.
27485 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27486 __Qp_handle_exceptions.
27487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27488 __Qp_handle_exceptions.
27489 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27490 as unused and give dummy FP_RND_NEAREST initializer.
27491 (FP_INHIBIT_RESULTS): Define.
27492 (___Q_simulate_exceptions): Update declaration.
27493 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27494 formatting.
27495 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27496 as unused and give dummy FP_RND_NEAREST initializer.
27497 (__Qp_handle_exceptions): Update declaration.
27498 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27499 formatting.
27500
04fb54b5
TS
275012012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27502
27503 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27504 the temporary FPU control word.
27505 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27506 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27507 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27508 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27509 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27510 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27511 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27512 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27513 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27514 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27515 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27516
3f99608f
KK
275172012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27518
27519 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27520 fields.
27521
65a4de4e
CLT
275222012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27523
27524 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27525 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27526 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27527 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27528 Likewise.
27529 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27530 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27531 Likewise.
27532
15749d40
UD
275332012-05-27 Ulrich Drepper <drepper@gmail.com>
27534
27535 * po/h.po: Update from translation team.
27536
25dbcb27
AS
275372012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27538
3d3f8e55
AS
27539 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27540
25dbcb27
AS
27541 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27542 handling of denormals.
27543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27544 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27545 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27546 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27550 Likewise.
27551
7ad47a80 275522012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27553
27554 [BZ #14152]
27555 * math/libm-test.inc (fma_test): Don't always expect underflow
27556 exception.
27557
9c6ea9fa
SP
275582012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27559
27560 [BZ #12416]
27561 * elf/tst-execstack.c: Include stackinfo.h.
27562 (do_test): Adjust test case to ensure that pthread_getattr_np
27563 behaviour remains the same after marking stack executable.
27564
a8239222
JM
275652012-05-25 Joseph Myers <joseph@codesourcery.com>
27566
27567 * sysdeps/unix/sysv/linux/kernel-features.h
27568 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27569 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27570 kernel-features.h.
27571 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27572 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27573 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27574 kernel-features.h.
27575 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27576 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27577
918b5606
L
275782012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27579
27580 * configure.in: Define the default includes to being none.
27581 * configure: Regenerated.
27582
3a097cc7
RM
275832012-05-25 Roland McGrath <roland@hack.frob.com>
27584
8422c9a5
RM
27585 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27586 * sysdeps/x86_64/setjmp.S: Likewise.
27587 * sysdeps/i386/bsd-setjmp.S: Likewise.
27588 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27589 * sysdeps/i386/setjmp.S: Likewise.
27590 * sysdeps/i386/__longjmp.S: Likewise.
27591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27592 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27593
3a097cc7
RM
27594 * include/stap-probe.h: New file.
27595 * configure.in: Handle --enable-systemtap.
27596 * configure: Regenerated.
27597 * config.h.in (USE_STAP_PROBE): New #undef.
27598 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27599 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27600 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27601
21708942
JM
276022012-05-25 Joseph Myers <joseph@codesourcery.com>
27603
27604 [BZ #13717]
27605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27606 to 2.4.0 where earlier.
27607 * sysdeps/unix/sysv/linux/configure: Regenerated.
27608 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27609 <kernel-features.h>.
27610 [__ASSUME_32BITUIDS]: Make code unconditional.
27611 [!__ASSUME_32BITUIDS]: Remove conditional code.
27612 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27613 <kernel-features.h>.
27614 [__ASSUME_32BITUIDS]: Make code unconditional.
27615 [!__ASSUME_32BITUIDS]: Remove conditional code.
27616 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27617 [__ASSUME_32BITUIDS]: Make code unconditional.
27618 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27619 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27620 <kernel-features.h>.
27621 [__ASSUME_32BITUIDS]: Make code unconditional.
27622 [!__ASSUME_32BITUIDS]: Remove conditional code.
27623 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27624 <kernel-features.h>.
27625 [__ASSUME_32BITUIDS]: Make code unconditional.
27626 [!__ASSUME_32BITUIDS]: Remove conditional code.
27627 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27628 <kernel-features.h>.
27629 [__ASSUME_32BITUIDS]: Make code unconditional.
27630 [!__ASSUME_32BITUIDS]: Remove conditional code.
27631 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27632 <kernel-features.h>.
27633 [__ASSUME_32BITUIDS]: Make code unconditional.
27634 [!__ASSUME_32BITUIDS]: Remove conditional code.
27635 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27636 <kernel-features.h>.
27637 [__ASSUME_32BITUIDS]: Make code unconditional.
27638 [!__ASSUME_32BITUIDS]: Remove conditional code.
27639 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27640 <kernel-features.h>.
27641 [__ASSUME_32BITUIDS]: Make code unconditional.
27642 [!__ASSUME_32BITUIDS]: Remove conditional code.
27643 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27644 <kernel-features.h>.
27645 [__ASSUME_32BITUIDS]: Make code unconditional.
27646 [!__ASSUME_32BITUIDS]: Remove conditional code.
27647 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27648 <kernel-features.h>.
27649 [__ASSUME_32BITUIDS]: Make code unconditional.
27650 [!__ASSUME_32BITUIDS]: Remove conditional code.
27651 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27652 <kernel-features.h>.
27653 [__ASSUME_32BITUIDS]: Make code unconditional.
27654 [!__ASSUME_32BITUIDS]: Remove conditional code.
27655 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27656 <kernel-features.h>.
27657 [__ASSUME_32BITUIDS]: Make code unconditional.
27658 [!__ASSUME_32BITUIDS]: Remove conditional code.
27659 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27660 <kernel-features.h>.
27661 [__NR_setresgid] (__setresgid): Do not declare.
27662 [__ASSUME_32BITUIDS]: Make code unconditional.
27663 [!__ASSUME_32BITUIDS]: Remove conditional code.
27664 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27665 <kernel-features.h>.
27666 [__NR_setresuid] (__setresuid): Do not declare.
27667 [__ASSUME_32BITUIDS]: Make code unconditional.
27668 [!__ASSUME_32BITUIDS]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27670 <kernel-features.h>.
27671 [__ASSUME_32BITUIDS]: Make code unconditional.
27672 [!__ASSUME_32BITUIDS]: Remove conditional code.
27673 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27674 <kernel-features.h>.
27675 [__ASSUME_32BITUIDS]: Make code unconditional.
27676 [!__ASSUME_32BITUIDS]: Remove conditional code.
27677 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27678 <kernel-features.h>.
27679 [__ASSUME_32BITUIDS]: Make code unconditional.
27680 [!__ASSUME_32BITUIDS]: Remove conditional code.
27681 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27682 <kernel-features.h>.
27683 [__ASSUME_32BITUIDS]: Make code unconditional.
27684 [!__ASSUME_32BITUIDS]: Remove conditional code.
27685 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27686 <kernel-features.h>.
27687 [__ASSUME_32BITUIDS]: Make code unconditional.
27688 [!__ASSUME_32BITUIDS]: Remove conditional code.
27689 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27690 <kernel-features.h>.
27691 [__ASSUME_32BITUIDS]: Make code unconditional.
27692 [!__ASSUME_32BITUIDS]: Remove conditional code.
27693 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27694 <kernel-features.h>.
27695 [__ASSUME_32BITUIDS]: Make code unconditional.
27696 [!__ASSUME_32BITUIDS]: Remove conditional code.
27697 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27698 <kernel-features.h>.
27699 [__ASSUME_32BITUIDS]: Make code unconditional.
27700 [!__ASSUME_32BITUIDS]: Remove conditional code.
27701 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27702 <kernel-features.h>.
27703 [__ASSUME_32BITUIDS]: Make code unconditional.
27704 [!__ASSUME_32BITUIDS]: Remove conditional code.
27705 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27706 <kernel-features.h>.
27707 [__ASSUME_32BITUIDS]: Make code unconditional.
27708 [!__ASSUME_32BITUIDS]: Remove conditional code.
27709 * sysdeps/unix/sysv/linux/kernel-features.h
27710 (__ASSUME_SETRESUID_SYSCALL): Remove.
27711 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27712 (__ASSUME_32BITUIDS): Likewise.
27713 (__ASSUME_LDT_WORKS): Likewise.
27714 (__ASSUME_O_DIRECTORY): Likewise.
27715 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27716 architecture but not kernel version.
27717 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27718 (__ASSUME_MMAP2_SYSCALL): Likewise.
27719 (__ASSUME_STAT64_SYSCALL): Likewise.
27720 (__ASSUME_IPC64): Likewise.
27721 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27722 <kernel-features.h>.
27723 [__ASSUME_32BITUIDS]: Make code unconditional.
27724 [!__ASSUME_32BITUIDS]: Remove conditional code.
27725 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27726 <kernel-features.h>.
27727 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27728 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27729 132096]: Remove conditional code.
27730 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27731 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27732 <kernel-features.h>.
27733 [__ASSUME_32BITUIDS]: Make code unconditional.
27734 [!__ASSUME_32BITUIDS]: Remove conditional code.
27735 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27736 <kernel-features.h>.
27737 [__ASSUME_32BITUIDS]: Make code unconditional.
27738 [!__ASSUME_32BITUIDS]: Remove conditional code.
27739 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27740 <kernel-features.h>.
27741 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27742 unconditional.
27743 (__setresgid): Do not declare.
27744 [__ASSUME_32BITUIDS]: Make code unconditional.
27745 [!__ASSUME_32BITUIDS]: Remove conditional code.
27746 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27747 <kernel-features.h>.
27748 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27749 unconditional.
27750 (__setresuid): Do not declare.
27751 [__ASSUME_32BITUIDS]: Make code unconditional.
27752 [!__ASSUME_32BITUIDS]: Remove conditional code.
27753 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27754 <kernel-features.h>.
27755 [__ASSUME_32BITUIDS]: Make code unconditional.
27756 [!__ASSUME_32BITUIDS]: Remove conditional code.
27757 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27758 <kernel-features.h>.
27759 [__ASSUME_32BITUIDS]: Make code unconditional.
27760 [!__ASSUME_32BITUIDS]: Remove conditional code.
27761
a386f1cc
RH
277622012-05-25 Richard Henderson <rth@twiddle.net>
27763
27764 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27765 dl_hwcap to ifunc resolver.
27766 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27767 elf_ifunc_invoke.
27768 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27769 dl_hwcap to ifunc resolver.
27770 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27771
b6550497
JM
277722012-05-24 Joseph Myers <joseph@codesourcery.com>
27773
27774 [BZ #14153]
27775 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27776 for |x| <= 2**-26, not 2**-57.
27777 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27778 exception.
27779
b0bc23a1
JL
277802012-05-24 Jeff Law <law@redhat.com>
27781
27782 * stdio-common/Makefile (tests): Add bug25.
27783 * stdio-common/bug25.c: New test.
27784
347c92e9
L
277852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27786
27787 [BZ #13576]
27788 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27789 multiple of MALLOC_ALIGNMENT in size.
27790 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27791
6bcc8b3f
JM
277922012-05-24 Joseph Myers <joseph@codesourcery.com>
27793
27794 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27795 Require >= 256.
27796 (FILENAME_MAX): Use macro-int-constant.
27797 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27798 (_IOFBF): Use macro-int-constant.
27799 (_IOLBF): Likewise.
27800 (_IONBF): Likewise.
27801 (SEEK_CUR): Likewise.
27802 (SEEK_END): Likewise.
27803 (SEEK_SET): Likewise.
27804 (TMP_MAX): Likewise.
27805 (EOF): Use macro-int-constant. Require < 0.
27806 (NULL): Use macro-constant. Require == 0.
27807 (stdin): Require type to be FILE *.
27808 (stdout): Likewise.
27809 (stderr): Likewise.
27810 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27811 macro-int-constant.
27812 (EXIT_SUCCESS): Likewise.
27813 (NULL): Use macro-constant. Require == 0.
27814 (RAND_MAX): Use macro-int-constant.
27815 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27816 [C99-based standards] (strtof): Require function.
27817 [C99-based standards] (strtold): Likewise.
27818 [C99-based standards] (strtoll): Likewise.
27819 [C99-based standards] (strtoull): Likewise.
27820 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27821 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27822 [ISO || ISO99 || ISO11] (math.h): Likewise.
27823 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27824 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27826
d18ea0c5
AS
278272012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27828
27829 [BZ #14132]
56d25bb8
AS
27830 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27831 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27832 * intl/dgettext.c (DCGETTEXT): Likewise.
27833 * intl/gettext.c (DCGETTEXT): Likewise.
27834 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27835 * posix/regex_internal.h (gettext): Likewise.
27836 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27837 Remove declaration.
27838 * include/argz.h (__argz_count_internal)
27839 (__argz_stringify_internal): Remove declaration.
27840 (__argz_count, __argz_stringify): Declare hidden proto.
27841 * intl/dcgettext.c: Remove use of INTDEF.
27842 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27843 * string/argz-stringify.c: Likewise.
27844 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27845 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27846 Declare hidden proto.
d18ea0c5
AS
27847 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27848 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27849 Declare hidden proto.
27850 * include/stdio.h (__asprintf_internal): Don't declare.
27851 (__asprintf): Don't define as macro. Declare hidden proto.
27852 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27853 (__fsetlocking): Declare hidden proto.
27854 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27855 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27856 hidden proto.
27857 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27858 (_IO_setlinebuf): Remove use of INTUSE.
27859 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27860 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27861 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27862 Remove declaration.
27863 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27864 (_IO_do_flush): Remove use of INTUSE.
27865 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27866 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27867 (_IO_adjust_column, _IO_least_wmarker)
27868 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27869 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27870 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27871 (_IO_default_doallocate, _IO_wdefault_doallocate)
27872 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27873 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27874 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27875 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27876 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27877 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27878 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27879 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27880 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27881 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27882 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27883 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27884 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27885 proto.
27886 (_IO_flush_all_internal, _IO_adjust_column_internal)
27887 (_IO_default_uflow_internal, _IO_default_finish_internal)
27888 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27889 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27890 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27891 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27892 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27893 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27894 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27895 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27896 (_IO_file_close_internal, _IO_file_close_it_internal)
27897 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27898 (_IO_file_init_internal, _IO_file_attach_internal)
27899 (_IO_file_fopen_internal, _IO_file_read_internal)
27900 (_IO_file_sync_internal, _IO_file_seek_internal)
27901 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27902 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27903 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27904 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27905 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27906 (_IO_list_all_internal, _IO_link_in_internal)
27907 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27908 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27909 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27910 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27911 (_IO_do_write_internal, _IO_padn_internal)
27912 (_IO_getline_info_internal, _IO_getline_internal)
27913 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27914 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27915 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27916 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27917 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27918 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27919 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27920 with libc_hidden_ver, remove use of INTUSE.
27921 * libio/genops.c: Likewise.
27922 * libio/freopen.c: Likewise.
27923 * libio/freopen64.c: Likewise.
27924 * libio/iofclose.c: Likewise.
27925 * libio/iofdopen.c: Likewise.
27926 * libio/iofflush.c: Likewise.
27927 * libio/iofflush_u.c: Likewise.
27928 * libio/iofgets.c: Likewise.
27929 * libio/iofgets_u.c: Likewise.
27930 * libio/iofopen.c: Likewise.
27931 * libio/iofopncook.c: Likewise.
27932 * libio/iofread.c: Likewise.
27933 * libio/iofread_u.c: Likewise.
27934 * libio/ioftell.c: Likewise.
27935 * libio/iofwrite.c: Likewise.
27936 * libio/iogetline.c: Likewise.
27937 * libio/iogets.c: Likewise.
27938 * libio/iogetwline.c: Likewise.
27939 * libio/iopadn.c: Likewise.
27940 * libio/iopopen.c: Likewise.
27941 * libio/ioseekoff.c: Likewise.
27942 * libio/ioseekpos.c: Likewise.
27943 * libio/iosetbuffer.c: Likewise.
27944 * libio/iosetvbuf.c: Likewise.
27945 * libio/ioungetc.c: Likewise.
27946 * libio/ioungetwc.c: Likewise.
27947 * libio/iovdprintf.c: Likewise.
27948 * libio/iovsprintf.c: Likewise.
27949 * libio/iovsscanf.c: Likewise.
27950 * libio/memstream.c: Likewise.
27951 * libio/obprintf.c: Likewise.
27952 * libio/oldfileops.c: Likewise.
27953 * libio/oldiofclose.c: Likewise.
27954 * libio/oldiofdopen.c: Likewise.
27955 * libio/oldiofopen.c: Likewise.
27956 * libio/oldiopopen.c: Likewise.
27957 * libio/oldstdfiles.c: Likewise.
27958 * libio/putc.c: Likewise.
27959 * libio/setbuf.c: Likewise.
27960 * libio/setlinebuf.c: Likewise.
27961 * libio/stdfiles.c: Likewise.
27962 * libio/strops.c: Likewise.
27963 * libio/vasprintf.c: Likewise.
27964 * libio/vscanf.c: Likewise.
27965 * libio/vsnprintf.c: Likewise.
27966 * libio/vswprintf.c: Likewise.
27967 * libio/wfiledoalloc.c: Likewise.
27968 * libio/wfileops.c: Likewise.
27969 * libio/wgenops.c: Likewise.
27970 * libio/wmemstream.c: Likewise.
27971 * libio/wstrops.c: Likewise.
27972 * libio/__fpurge.c: Likewise.
27973 * libio/__fsetlocking.c: Likewise.
27974 * assert/assert.c: Likewise.
27975 * debug/fgets_chk.c: Likewise.
27976 * debug/fgets_u_chk.c: Likewise.
27977 * debug/fread_chk.c: Likewise.
27978 * debug/fread_u_chk.c: Likewise.
27979 * debug/gets_chk.c: Likewise.
27980 * debug/obprintf_chk.c: Likewise.
27981 * debug/vasprintf_chk.c: Likewise.
27982 * debug/vdprintf_chk.c: Likewise.
27983 * debug/vsnprintf_chk.c: Likewise.
27984 * debug/vsprintf_chk.c: Likewise.
27985 * malloc/mtrace.c: Likewise.
27986 * misc/error.c: Likewise.
27987 * misc/syslog.c: Likewise.
27988 * stdio-common/asprintf.c: Likewise.
27989 * stdio-common/fxprintf.c: Likewise.
27990 * stdio-common/getw.c: Likewise.
27991 * stdio-common/isoc99_fscanf.c: Likewise.
27992 * stdio-common/isoc99_scanf.c: Likewise.
27993 * stdio-common/isoc99_vfscanf.c: Likewise.
27994 * stdio-common/isoc99_vscanf.c: Likewise.
27995 * stdio-common/isoc99_vsscanf.c: Likewise.
27996 * stdio-common/printf-prs.c: Likewise.
27997 * stdio-common/printf_fp.c: Likewise.
27998 * stdio-common/printf_fphex.c: Likewise.
27999 * stdio-common/printf_size.c: Likewise.
28000 * stdio-common/putw.c: Likewise.
28001 * stdio-common/scanf.c: Likewise.
28002 * stdio-common/sprintf.c: Likewise.
28003 * stdio-common/tmpfile.c: Likewise.
28004 * stdio-common/vfprintf.c: Likewise.
28005 * stdio-common/vfscanf.c: Likewise.
28006 * stdlib/strfmon_l.c: Likewise.
28007 * sunrpc/openchild.c: Likewise.
28008 * sunrpc/xdr_stdio.c: Likewise.
28009 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28010 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28011
d6c33fda
RM
280122012-05-24 Roland McGrath <roland@hack.frob.com>
28013
c1487492
RM
28014 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28015
28016 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28017 in the third column, to generate for the shared library an IFUNC
28018 that uses _dl_vdso_vsym.
28019 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28020 * Makeconfig (object-suffixes-noshared): New variable.
28021
28022 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28023 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28024 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28025 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28026
d6c33fda
RM
28027 [BZ #14132]
28028 * include/sys/time.h (__gettimeofday): Remove macro.
28029 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28030 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28031 Remove INTDEF.
28032 (__gettimeofday): Add libc_hidden_def.
28033 (gettimeofday): Add libc_hidden_weak.
28034 * sysdeps/mach/gettimeofday.c: Likewise.
28035 * sysdeps/posix/gettimeofday.c: Likewise.
28036 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28037 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28039 (__gettimeofday_internal): Remove strong_alias.
28040 (__gettimeofday): Add libc_hidden_def.
28041 (gettimeofday): Add libc_hidden_weak.
28042 * sysdeps/unix/syscalls.list (gettimeofday):
28043 Remove __gettimeofday_internal alias.
28044
b5a2bbe6
L
280452012-05-24 Daniel Jacobowitz <drow@false.org>
28046 H.J. Lu <hongjiu.lu@intel.com>
28047
28048 [BZ #12495]
28049 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28050 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28051 (largebin_index_32_big): New.
28052 (largebin_index): Use it for 16-byte alignment.
28053 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28054 correction with front_misalign.
28055
cfba4fda
L
280562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28057
7f907421
L
28058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28060 Likewise.
28061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28062 Likewise.
28063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28064 Likewise.
28065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28066 Likewise.
28067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28068 Likewise.
28069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28070 Likewise.
28071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28072 Likewise.
28073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28074 Likewise.
28075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28076 Likewise.
28077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28078 Likewise.
28079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28080 Likewise.
28081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28082 Likewise.
28083
cfba4fda
L
28084 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28085 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28086
80bad0cc
JM
280872012-05-24 Joseph Myers <joseph@codesourcery.com>
28088
7a25eb06
JM
28089 [BZ #10846]
28090 [BZ #14036]
28091 * math/libm-test.inc (exp_test): Add test from bug 14036.
28092 (pow_test): Add test from bug 10846.
28093
795405f9
JM
28094 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28095 and other flags.
28096 (special_function): Do not include flags in test name.
28097 (parse_args): Likewise.
28098 * sysdeps/i386/fpu/libm-test-ulps: Update.
28099 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28100 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28101 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28103
80bad0cc
JM
28104 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28105 exceptions.
28106 * math/libm-test.inc ("Philosophy"): Update comment about
28107 exception testing.
28108 (UNDERFLOW_EXCEPTION): New macro.
28109 (UNDERFLOW_EXCEPTION_OK): Likewise.
28110 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28111 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28112 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28113 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28114 (INVALID_EXCEPTION_OK): Update value.
28115 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28116 (OVERFLOW_EXCEPTION_OK): Likewise.
28117 (IGNORE_ZERO_INF_SIGN): Likewise.
28118 (test_exceptions): Handle underflow exceptions.
28119 (acos_test): Update for underflow exception expectations.
28120 (cexp_test): Likewise.
28121 (clog_test): Likewise.
28122 (clog10_test): Likewise.
28123 (csqrt_test): Likewise.
28124 (ctan_test): Likewise.
28125 (ctanh_test): Likewise.
28126 (exp_test): Likewise.
28127 (exp10_test): Likewise.
28128 (exp2_test): Likewise.
28129 (expm1_test): Likewise.
28130 (fma_test): Likewise.
28131 (j0_test): Likewise.
28132 (jn_test): Likewise.
28133 (nexttoward_test): Likewise.
28134 (pow_test): Likewise.
28135 (scalbn_test): Likewise.
28136 (scalbln_test): Likewise.
28137 (tan_test): Likewise.
28138 (y1_test): Likewise.
28139 * sysdeps/i386/fpu/libm-test-ulps: Update.
28140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28141
9e0e3d0b
DM
281422012-05-23 David S. Miller <davem@davemloft.net>
28143
28144 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28145 (__libc_sigaction): Remove unused local variables.
28146
ccd0a08f
L
281472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28148
28149 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28150
62bdf9a6
PE
281512012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28152
f8591f80
PE
28153 mktime: avoid signed integer overflow
28154 * time/mktime.c (__mktime_internal): Do not mishandle the case
28155 where diff == INT_MIN.
28156
94c7d826
PE
28157 mktime: simplify computation of average
28158 * time/mktime.c (ranged_convert): Use new time_t_avg function
28159 instead of rolling our own (probably-slower) code.
28160
ce73d683
PE
28161 mktime: do not assume signed right shift propagates sign bit
28162 * time/mktime.c (isdst_differ): New static function.
28163 (__mktime_internal): No need to normalize tm_isdst now.
28164 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28165 tm_isdst values.
28166
72a22e59
PE
28167 mktime: merge another wrapv change from gnulib
28168 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28169 from some compilers.
28170
68605433
PE
28171 mktime: remove incorrect attempt at unusual arithmetics
28172 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28173 The code didn't really work on such machines anyway.
28174 (TYPE_MINIMUM): Assume two's complement.
28175 (twos_complement_arithmetic): Verify that long_int and time_t
28176 are two's complement (or unsigned, in the latter case).
28177
03cf7fe3
PE
28178 mktime: check signed shifts on long_int and time_t, too
28179 * time/mktime.c (SHR): Check that shifts work as desired
28180 on the types long_int and time_t too, as SHR is used on
28181 such types.
28182
f04dfbc2
PE
28183 mktime: do not assume 'long' is wide enough
28184 * time/mktime.c (verify): Move decl up.
28185 (long_int): New type.
28186 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28187 to remove assumption in the code that 'long' is wide enough to
28188 store year values. This assumption is not true on x32 and on
28189 some non-glibc platforms.
28190
62bdf9a6
PE
28191 mktime: merge wrapv change from gnulib
28192 * time/mktime.c (WRAPV): New macro.
28193 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28194 (guess_time_tm, __mktime_internal): Do not assume that signed
28195 integer overflow wraps around; modern compilers generate code
28196 where this assumption is no longer valid.
28197
5e292e4f
L
281982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28199
28200 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28201 Replace "jmp L(pseudo_end)" with "ret".
28202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28203 Likewise.
28204
8caf8c87
AJ
282052012-05-23 Andreas Jaeger <aj@suse.de>
28206
28207 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28208 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28209
1a09dc56
AJ
282102012-05-23 Andreas Jaeger <aj@suse.de>
28211 Maximilian Attems <max@stro.at>
28212
28213 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28214 New macros.
28215
1c87aba0
L
282162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28217
28218 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28219 code so that pseudo_end is just ret and the stack pointer is
28220 correct also for static library in error case.
28221
40e45bd5
JM
282222012-05-23 Joseph Myers <joseph@codesourcery.com>
28223
c2670533
JM
28224 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28225 move to syscalls.list.
28226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28230
40e45bd5
JM
28231 * manual/install.texi (Running make install): Do not mention Linux
28232 kernel version for which pt_chown is not needed.
28233 (Linux): Do not mention problems with nscd with 2.0 kernels.
28234 * INSTALL: Regenerated.
28235
be08eda5
AJ
282362012-05-23 Andreas Jaeger <aj@suse.de>
28237
28238 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28239 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28240 macro.
28241 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28242 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28243 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28244 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28245 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28246 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28247 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28248 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28250 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28251 * sysdeps/unix/sysv/linux/bits/in.h
28252 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28253
a6a056bb
RM
282542012-05-22 Roland McGrath <roland@hack.frob.com>
28255
28256 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28257 (PREPARE_VERSION): Just use assert instead, it will be elided
28258 under [NDEBUG] anyway.
28259
c9009328
L
282602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28261
28262 * sysdeps/unix/sysv/linux/Makefile: Include
28263 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28264 (sysdep_routines): Remove sysctl.
c9009328
L
28265 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28266 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28267 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28268 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28269 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28270
73338355
AJ
282712012-05-22 Andreas Jaeger <aj@suse.de>
28272
28273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28274 that pseudo_end is just ret and the stack pointer is correct also
28275 for static library in error case.
28276
d44638b0
PP
282772012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28278
28279 [BZ #14122]
28280 * nss/nsswitch.c (defconfig_entries): New variable.
28281 (__nss_database_lookup): Don't leak defconfig entries.
28282 (nss_parse_service_list): Don't leak on error paths.
28283 (free_database_entries): New function.
28284 (free_defconfig): New function.
28285 (free_mem): Move common code to free_database_entries.
28286
31a39bd8
L
282872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28288
da0331a8
L
28289 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28290 Add arch_prctl.
28291 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28292
31a39bd8
L
28293 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28294 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28296 New macro.
28297 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28298 (INTERNAL_SYSCALL_TYPES): Likewise.
28299 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28300 (LOAD_REGS_TYPES_[1-6]): Likewise.
28301 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28302 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28303
45470df3
AZ
283042012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28305
28306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28307 copysignl for GLIBC_2_0.
28308 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28309 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28311 logbl for GLIBC_2_0.
28312 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28313 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28314
98a61bcb
L
283152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28316
a4f6e481
L
28317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28318 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28319
f63d5db6
L
28320 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28321 Use "neg %eax".
28322
98a61bcb
L
28323 * time/mktime.c: Update copyright years.
28324
95770f14
PE
283252012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28326
6226efbd
PE
28327 mktime: merge comment-quoting-style change from gnulib
28328 * time/mktime.c: Quote 'like this' in comments.
28329 The GNU coding standards suggest that we no longer quote `like this',
28330 as "`" and "'" are typically rendered asymmetrically nowadays.
28331 The typical gnulib style is to quote 'like this' when quoting
28332 code, and "like this" when quoting English.
28333
b99e4f78
PE
28334 * time/mktime.c (compile-command): Add "-I.".
28335
643e01e6
PE
28336 mktime: merge mktime-internal.h change from gnulib
28337 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28338
2554247d
PE
28339 mktime: merge time_r change from gnulib
28340 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28341
826dd0ab
PE
28342 mktime: merge DEBUG change from gnulib
28343 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28344 case system <time.h> has a #define.
28345
bd83aabe
PE
28346 mktime: merge <sys/types.h> change from gnulib
28347 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28348 since <time.t> is now guaranteed to define time_t.
28349
95770f14
PE
28350 mktime: merge HAVE_CONFIG_H change from gnulib
28351 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28352
5e1a27a9
L
283532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28354
0e44a77e
L
28355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28356 Use "neg %eax".
28357
5e1a27a9
L
28358 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28359 __rlim_t cast.
28360 (struct rusage): Use anonymous union to pad each field to
28361 __syscall_slong_t.
28362
46259bec
DM
283632012-05-21 David S. Miller <davem@davemloft.net>
28364
28365 * Makefules (o-iterator): Remove .s cases.
28366 (compile-command.s): Delete.
28367 (COMPILE.s): Delete.
28368 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28369
59f0c22e
JM
283702012-05-21 Joseph Myers <joseph@codesourcery.com>
28371
28372 * configure.in (libc_cv_predef_stack_protector): Only consider
28373 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28374 * configure: Regenerated.
28375
20c07380
L
283762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28377
bbb3154b
L
28378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28379 New macro. Use R*LP on int and pointer.
28380 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28381 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28382 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28383 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28384
20c07380
L
28385 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28386 [__WORDSIZE_TIME64_COMPAT32] instead of
28387 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28388 (struct utmp): Likewise.
28389 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28390 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28391 Renamed to ...
28392 (__WORDSIZE_TIME64_COMPAT32): This.
28393 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28394 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28395 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28396 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28397 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28398 (__WORDSIZE_TIME64_COMPAT32): New macro.
28399
d8d1017e
AJ
284002012-05-21 Andreas Jaeger <aj@suse.de>
28401
28402 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28403 only if [SHARED]. Add prototype for __wcschr_ia32.
28404
6c7fb145
RM
284052012-05-21 Roland McGrath <roland@hack.frob.com>
28406
28407 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28408 of %rbp unmolested in the jmp_buf while mangling the low bits.
28409 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28410 unmolested high bits of %rbp while demangling the low bits.
28411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28412
66274218
AJ
284132012-05-21 Andreas Jaeger <aj@suse.de>
28414
07c58f8f
AJ
28415 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28416 * sunrpc/svc_simple.c: Use it for registerrpc.
28417 * sunrpc/xcrypt.c: Use it for passwd2des.
28418
66274218
AJ
28419 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28420
61f65140
L
284212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28422
28423 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28424 Don't define if [__SYSCALL_WORDSIZE != 32].
28425 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28426 New macro.
28427
5fefb436
AJ
284282012-05-21 Bruno Haible <bruno@clisp.org>
28429 Andreas Jaeger <aj@suse.de>
28430
28431 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28432 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28433 inptr and inend for must_buffer_ch.
28434 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28435 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28436 * stdio-common/Makefile (tests): Remove bug15.
28437 (bug15-ENV): Remove macro.
28438 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28439 anymore.
28440
d8e272ab
AJ
284412012-05-19 Andreas Jaeger <aj@suse.de>
28442 Roland McGrath <roland@hack.frob.com>
28443
28444 * manual/contrib.texi: Completely rewritten. It contains now an
28445 alphabetical list of contributors and their contributions.
28446
4a56a162
RH
284472012-05-21 Richard Henderson <rth@twiddle.net>
28448
28449 * misc/getauxval.c (__getauxval): Use unsigned long int.
28450 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28451 (getauxval): Use unsigned long int.
28452
d024d23c
L
284532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28456
cbc00a03
RM
284572012-05-21 Roland McGrath <roland@hack.frob.com>
28458
28459 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28460 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28461 __alignof__ (long double).
28462
478143fa
AZ
284632012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28464
28465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28466
c7683a6d
RH
284672012-05-20 Richard Henderson <rth@twiddle.net>
28468
28469 * misc/getauxval.c: New file.
28470 * misc/sys/auxv.h: New file.
28471 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28472 (routines): Add getauxval.
28473 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28474 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28475 * elf/dl-sysdep.c (_dl_auxv): Remove.
28476 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28477 * elf/dl-support.c (_dl_auxv): New variable.
28478 (_dl_aux_init): Initialize it.
28479 * manual/startup.texi (Auxiliary Vector): New node.
28480 * sysdeps/generic/bits/hwcap.h: New file.
28481 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28482 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28483 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28484 * sysdeps/sparc/sysdep.h: ... here. Include it.
28485 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28486 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28488 Update.
c7683a6d
RH
28489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28497
a6f1845d
AZ
284982012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28499
28500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28501
cbcbe830
DM
285022012-05-19 David S. Miller <davem@davemloft.net>
28503
28504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28505
e0b16cc2
JM
285062012-05-19 Joseph Myers <joseph@codesourcery.com>
28507
28508 [BZ #14123]
28509 * math/s_ccosh.c: Include <float.h>
28510 (__ccosh): Avoid internal overflow calculating sinh and cosh
28511 values before multiplying by sin and cos values.
28512 * math/s_ccoshf.c: Likewise.
28513 * math/s_ccoshl.c: Likewise.
28514 * math/s_csin.c: Likewise.
28515 * math/s_csinf.c: Likewise.
28516 * math/s_csinl.c: Likewise.
28517 * math/s_csinh.c: Likewise.
28518 * math/s_csinhf.c: Likewise.
28519 * math/s_csinhl.c: Likewise.
28520 * math/libm-test.inc (ccos_test): Add more tests.
28521 (ccosh_test): Likewise.
28522 (csin_test): Likewise.
28523 (csinh_test): Likewise.
28524 * sysdeps/i386/fpu/libm-test-ulps: Update.
28525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28526
6ad13e08
L
285272012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28528
f66f0ce8
L
28529 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28530 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28531
6ad13e08
L
28532 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28533
b1d072a7
JM
285342012-05-19 Joseph Myers <joseph@codesourcery.com>
28535
28536 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28537 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28538 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28539 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28540 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28541 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28542 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28543 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28544 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28545 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28546 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28547 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28548 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28549 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28550 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28551 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28552 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28553 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28554 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28555 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28556 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28557 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28558 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28559 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28560 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28561 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28562 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28563 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28564 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28565 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28566 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28567
9eae47cb
AJ
285682012-05-18 Andreas Jaeger <aj@suse.de>
28569
28570 * csu/.gitignore: Delete.
28571
bb07f69f
L
285722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28573
28574 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28575 (timex): Use __syscall_slong_t.
28576
e6bdb741
AJ
285772012-05-18 Andreas Jaeger <aj@suse.de>
28578 Carlos O'Donell <carlos_odonell@mentor.com>
28579
28580 * manual/install.texi (Configuring and compiling): Update
28581 description about files modified in the source directory.
d6c33fda 28582 * INSTALL: Regenerated.
e6bdb741 28583
1b74487e
L
285842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28585
28586 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28587 value. Use "or" to set return value to -1.
28588 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28589 negate return value.
28590
a88b64b9
TMQMF
285912012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28592
28593 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28594 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28595 failure if the compiler has Graphite support disabled.
28596 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28597 Likewise.
28598 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28599 CFLAGS-memmove.c): Likewise.
28600 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28601 Likewise.
28602
3707636e
L
286032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28604
610b8622
L
28605 * sysdeps/x86_64/x32/_itoa.h: New file.
28606
7cd195df
L
28607 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28608 getdents system call only if kernel and user dirents have the
28609 same d_ino and d_off.
28610
94b07d20
L
28611 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28612 LLONG_MAX != LONG_MAX.
28613 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28614 (_fitoa_word): Likewise.
28615
18298070
L
28616 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28617 years.
28618 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28619 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28620 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28621
553c7ea4
L
28622 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28623 include <bits/wordsize.h>. Check __x86_64__ instead of
28624 __WORDSIZE.
28625 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28626 if __x86_64__ is defined. Use anonymous union on fpstate.
28627
3707636e
L
28628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28629 anonymous union.
28630
b53ef01a
AS
286312012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28632
37fb1dc0
AS
28633 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28634 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28635 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28636 Refer to _rtld_local_ro instead of _rtld_global_ro.
28637 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28638 Likewise.
28639 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28640 Likewise.
28641 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28642 Likewise.
28643 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28644 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28645 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28646
b53ef01a
AS
28647 * sysdeps/powerpc/powerpc32/dl-machine.c
28648 (__elf_machine_runtime_setup) [PROF]: Don't reference
28649 _dl_prof_resolve.
28650
7a185db2
AJ
286512012-05-18 Andreas Jaeger <aj@suse.de>
28652
28653 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28654 function only available for GCCs before 3.4 since GCC 3.4
28655 introduced a builtin.
28656 (lrint): Likewise.
28657 (llrintf): Likewise.
28658 (llrint): Likewise.
28659 (fmaxf): Likewise.
28660 (fmax): Likewise.
28661 (fminf): Likewise.
28662 (fmin): Likewise.
28663 (rint): Likewise.
28664 (rintf): Likewise.
28665 (nearbyint): Likewise.
28666 (nearbyintf): Likewise.
28667 (ceil): Likewise.
28668 (ceilf): Likewise.
28669 (floor): Likewise.
28670 (floorf): Likewise.
28671
3e5aef87
L
286722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28673
428bd707
L
28674 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28675 on both fields and cast pointer to __syscall_ulong_t.
28676
3e5aef87
L
28677 * bits/types.h (__fsword_t): New type.
28678 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28679 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28681 (__FSWORD_T_TYPE): Likewise.
28682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28683 (__FSWORD_T_TYPE): Likewise.
28684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28685 (__FSWORD_T_TYPE): Likewise.
28686 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28687 (__FSWORD_T_TYPE): Likewise.
28688 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28689 __SWORD_TYPE with __fsword_t.
28690 (statfs64): Likewise.
28691
1ba7c3dc
DM
286922012-05-17 David S. Miller <davem@davemloft.net>
28693
28694 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28695
59910343
AJ
286962012-05-17 Andreas Jaeger <aj@suse.de>
28697
28698 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28699 warning.
28700
2e4c1e9e
L
287012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28702
28703 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28704
de7f5ce7
AJ
287052012-05-17 Andreas Jaeger <aj@suse.de>
28706
28707 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28708 when it is used.
28709
286abc3d
CM
287102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28711
28712 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28713
477cc68e
L
287142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28715
28716 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28717 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28718
1a0994f5
CD
287192012-05-17 Andreas Jaeger <aj@suse.de>
28720 Carlos O'Donell <carlos_odonell@mentor.com>
28721
28722 [BZ #14059]
28723 * sysdeps/x86_64/multiarch/init-arch.h
28724 (bit_YMM_Usable): Rename to...
28725 (bit_AVX_Usable): ... this.
28726 (bit_FMA4_Usable): New macro.
28727 (bit_XMM_state): New macro.
28728 (bit_YMM_state): New macro.
28729 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28730 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28731 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28732 (CPUID_OSXSAVE): New macro.
28733 (CPUID_AVX): New macro.
28734 (CPUID_FMA4): New macro.
28735 (index_YMM_Usable): Rename to...
28736 (index_AVX_Usable): ... this.
28737 (HAS_AVX): Use HAS_ARCH_FEATURE.
28738 (HAS_FMA4): Likewise.
28739 (HAS_YMM_USABLE): Remove.
28740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28741 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28742 are present.
28743 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28744 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28745 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28746 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28747 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28748
0af797de
CM
287492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28750
28751 * math/libm-test.c: Support platforms without multiple rounding modes.
28752 * math/bug-nextafter.c: Support platforms without FP exceptions.
28753 * math/bug-nexttoward.c: Likewise.
28754 * math/test-fenv.c: Likewise.
28755 * math/test-misc.c: Likewise.
28756 * stdlib/bug-getcontext.c: Likewise.
28757
e39745ff
AJ
287582012-05-17 Andreas Jaeger <aj@suse.de>
28759
28760 * manual/examples/search.c (critter_cmp): Change signature to
28761 avoid warnings.
28762 * manual/string.texi (Collation Functions): Likewise.
28763
48970aba
L
287642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28765
28766 * bits/types.h: Fold copyright years.
28767 * bits/typesizes.h: Likewise.
28768 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28770 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28772 * time/time.h: Likewise.
28773
bedee953
PP
287742012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28775
28776 [BZ #208]
28777 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28778 in instead of returning them. Return void.
28779 (__libc_mallinfo): Accumulate over all arenas.
28780 (__malloc_stats): Adjust for change in int_mallinfo interface.
28781
61653dfb
RM
287822012-05-16 Roland McGrath <roland@hack.frob.com>
28783
30b99d79
RM
28784 [BZ #10375]
28785 * configure.in (NM): Add AC_CHECK_TOOL for it.
28786 (libc_extra_cflags): New substituted variable.
28787 Check for -fstack-protector being used implicitly.
28788 * configure: Regenerated.
28789 * config.make.in (config-extra-cflags): New variable,
28790 gets @libc_extra_cflags@.
28791 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28792
61653dfb
RM
28793 [BZ #10375]
28794 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28795 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28796 * configure: Regenerated.
28797 * config.make.in (CPPUNDEFS): New substituted variable.
28798 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28799 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28800 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28801
661768bb
L
288022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28803
28804 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28805 (mq_attr): Use __syscall_slong_t.
28806
d4261567
L
288072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28808
28809 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28810 Check __x86_64__ instead of __WORDSIZE.
28811 (_STAT_VER_LINUX): Likewise.
28812 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28813 __syscall_ulong_t and __syscall_slong_t.
28814 (stat64): Likewise.
28815
cf3ff365
L
288162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28817
28818 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28819
76cf3e4d
L
288202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28821
28822 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28823
a637753a
L
288242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28825
28826 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28827 __syscall_ulong_t.
28828
d5e05119
L
28829 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28830 include <bits/wordsize.h>. Check __x86_64__ instead of
28831 __WORDSIZE.
28832 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28833 defined.
28834 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28835
f62ee380
L
28836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28837 include <bits/wordsize.h>. Check __x86_64__ instead of
28838 __WORDSIZE.
28839 (user_regs_struct): Use "__extension__ unsigned long long"
28840 instead of "unsigned long" if __x86_64__ is defined.
28841 (user): Likewise. Pad after pointer field if __ILP32__ is
28842 defined.
28843
4e124ced
JM
288442012-05-16 Joseph Myers <joseph@codesourcery.com>
28845
6a3951a0
JM
28846 * configure.in (makeinfo): Require version 4.5 or later. Allow
28847 versions 5 to 9.
28848 * configure: Regenerated.
28849 * manual/install.texi (texinfo): Increase version requirement to
28850 4.5 or later.
28851 * INSTALL: Regenerated.
28852
4e124ced
JM
28853 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28854
953ca31a
L
288552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28856
28857 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28858
617aca05
L
28859 * sysdeps/x86_64/x32/ffs.c: New file.
28860
5762f7ae
L
28861 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28862 __syscall_ulong_t.
28863 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28864 defined. Use __syscall_ulong_t.
28865 (shminfo): Use __syscall_ulong_t.
28866 (shm_info): Likewise.
28867
a26b6856
L
28868 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28869 __syscall_ulong_t.
28870
cb2b9ef7
L
28871 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28872 <bits/wordsize.h>.
28873 (msgqnum_t): Use __syscall_ulong_t.
28874 (msglen_t): Likewise.
28875 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28876 __syscall_ulong_t.
28877
34683bb0
L
28878 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28879 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28880
84a68786
L
28881 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28882
48baa5f1
L
28883 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28884 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28885
180be88b
L
28886 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28887 __syscall_slong_t.
28888
5e90c8ad
L
28889 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28890 include <bits/wordsize.h>. Check __x86_64__ instead of
28891 __WORDSIZE.
28892
23dfb58b
L
28893 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28894 "unsigned long long int" if __x86_64__ is defined.
28895 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28896
ce5d54b0
L
28897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28898 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28899 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28900
13dc9eac
L
28901 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28902 <stdint.h>.
28903 (GET_PC): Cast to uintptr_t first.
28904 (GET_FRAME): Likewise.
28905 (GET_STACK): Likewise.
28906
a7895d15
L
28907 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28908 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28909 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28910 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28911 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28912 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28915 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28916 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28917 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28918 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28919 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28920 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28922 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28923 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28924 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28925 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28926 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28927 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28928 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28930 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28932 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28935 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28936
656416c9
AS
289372012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28938
5bd66283
AS
28939 * Makerules (+depfiles): Also collect depfiles from .oS in
28940 $(extra-objs).
28941 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28942 .oS, $(libnldbl-routines)).
28943
656416c9
AS
28944 * Makerules (native-compile-mkdep-flags): Define.
28945 * sunrpc/Makefile (extra-objs): Add $(addprefix
28946 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28947 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28948 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28949 calling $(make-target-directory).
28950
a46f2169
L
289512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28952
28953 * bits/types.h (__snseconds_t): Removed.
28954 * time/time.h (struct timespec): Replace __snseconds_t with
28955 __syscall_slong_t.
28956 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28957 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28958 Likewise.
28959 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28960 (__SNSECONDS_T_TYPE): Likewise.
28961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28962 (__SNSECONDS_T_TYPE): Likewise.
28963 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28964 (__SNSECONDS_T_TYPE): Likewise.
28965
6af6528b
L
289662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28967
28968 * sysdeps/mach/hurd/bits/typesizes.h
28969 (__SYSCALL_SLONG_TYPE): New macro.
28970 (__SYSCALL_ULONG_TYPE): Likewise.
28971
de986b56
L
289722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28973
28974 * bits/types.h (__syscall_slong_t): New type.
28975 (__syscall_ulong_t): Likewise.
28976
28977 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28978 (__SYSCALL_ULONG_TYPE): Likewise.
28979 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28980 (__SYSCALL_SLONG_TYPE): Likewise.
28981 (__SYSCALL_ULONG_TYPE): Likewise.
28982 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28983 (__SYSCALL_SLONG_TYPE): Likewise.
28984 (__SYSCALL_ULONG_TYPE): Likewise.
28985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28986 (__SYSCALL_SLONG_TYPE): Likewise.
28987 (__SYSCALL_ULONG_TYPE): Likewise.
28988
85736dc7
L
289892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28992 Add sigaltstack-offsets.sym.
28993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28994 <sigaltstack-offsets.h>.
28995 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28996 longjmp_msg pointer.
28997 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28998 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28999 signal stack.
29000 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29001
cc03b296
JM
290022012-05-15 Joseph Myers <joseph@codesourcery.com>
29003
a9538892
JM
29004 * elf/stackguard-macros.h: Remove file.
29005 * sysdeps/generic/stackguard-macros.h: New file.
29006 * sysdeps/i386/stackguard-macros.h: Likewise.
29007 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29008 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29009 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29010 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29011 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29012 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29013 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29014 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29015 <elf/stackguard-macros.h>.
29016
cc03b296
JM
29017 [BZ #14109]
29018 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29019 __aligned__ in attribute.
29020 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29021 (gregset_t): Likewise.
29022
93171016
L
290232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29024
29025 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29026 * sysdeps/x86_64/64/Implies-after: Here. New file.
29027 * sysdeps/x86_64/x32/Implies-after: New file.
29028
d86813a0
L
290292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29030
29031 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29032 and access return value for _dl_profile_fixup. Use R10_LP to
29033 load frame size.
29034
2953ec75
L
290352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29038
3b550e9e
L
290392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29040
29041 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29042 * sysdeps/x86_64/x32/sysdep.h: New file.
29043
eda41706
L
290442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29045
29046 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29047 * sysdeps/x86_64/setjmp.S: Likewise.
29048
9ea01d93
AZ
290492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29050
29051 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29052 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29053 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29054 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29055 remove unused global constant.
29056
02a91938
CM
290572012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29058
29059 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29060 include of <not-cancel.h>.
29061
6540185f
RM
290622012-05-15 Roland McGrath <roland@hack.frob.com>
29063
29064 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29065
509072a0
AJ
290662012-05-15 Jeff Law <law@redhat.com>
29067 Andreas Jaeger <aj@suse.de>
29068
29069 [BZ #13594]
29070 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29071 out from...
29072 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29073 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29074 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29075 code changing __hst_map_handle.map.
29076
ba75122d
RM
290772012-05-15 Roland McGrath <roland@hack.frob.com>
29078
29079 * configure.in (sysnames): Look for Implies-before and Implies-after
29080 files.
29081 * configure: Regenerated.
29082
890d8bd8
L
290832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29084
29085 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29086 8-byte data alignment with LP_SIZE alignment.
29087
f6ee6623
L
290882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29089
29090 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29091 into R10_LP.
29092
ea2626f6
L
290932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29094
29095 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29096
085f715e
L
290972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29100 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29101 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29102 Likewise.
29103 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29104
be8498fc
L
291052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29106
29107 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29108 (stackinfo_sub_sp): Likewise.
29109
70bc83b9
L
291102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29113 RAX_LP.
29114
9bc0b730
L
291152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29116
29117 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29118 into R*_LP.
29119
6d2850e7
L
291202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29121
29122 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29123 sizes into R*_LP.
29124
3cb84561
L
291252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29126
29127 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29128
54e2ed81
L
291292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29130
29131 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29132 into R11_LP and load __x86_64_shared_cache_size_half into
29133 R8_LP.
29134
8a17f349
L
291352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29136
29137 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29138 R8_LP.
29139
777b1eea
AZ
291402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29141
29142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29143 logb for POWER7.
29144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29145 logbf for POWER7.
29146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29147 logbl for POWER7.
29148 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29149 powerpc32/power7/fpu/s_logb.c via #include.
29150 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29151 powerpc32/power7/fpu/s_logbf.c via #include.
29152 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29153 powerpc32/power7/fpu/s_logbl.c via #include.
29154
d20d4ac2
JM
291552012-05-15 Joseph Myers <joseph@codesourcery.com>
29156
29157 * README.libm: Remove file.
29158
6cdef1ab
L
291592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29160
29161 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29162 count for x32. Use R*_LP and omit operand-size suffix.
29163
0b254d8f
L
291642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29165
29166 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29167 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29168 * sysdeps/x86_64/x32/shlib-versions: New file.
29169
ceb809dc
RM
291702012-05-14 Roland McGrath <roland@hack.frob.com>
29171
29172 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29173 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29174 Use _dl_fatal_printf instead.
29175
37f1abd4
JM
291762012-05-14 Joseph Myers <joseph@codesourcery.com>
29177
29178 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29179 set if not set by the user. Do not allow for being unset.
29180 * sysdeps/unix/sysv/linux/configure: Regenerated.
29181
11de3a33
L
291822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29183
29184 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29185 the `q' suffix from lea and replace .quad with ASM_ADDR.
29186
e02f153a
L
291872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29188
29189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29190 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29191 instead of $17.
29192 (PTR_DEMANGLE): Likewise.
29193
520ae0fd
L
291942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29195
29196 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29197 (LP_OP): Likewise.
29198 (ASM_ADDR): Likewise.
29199 (RAX_LP): Likewise.
29200 (RBP_LP): Likewise.
29201 (RBX_LP): Likewise.
29202 (RCX_LP): Likewise.
29203 (RDI_LP): Likewise.
29204 (RSI_LP): Likewise.
29205 (RSP_LP): Likewise.
29206 (R8_LP): Likewise.
29207 (R9_LP): Likewise.
29208 (R10_LP): Likewise.
29209 (R10_LP): Likewise.
29210 (R11_LP): Likewise.
29211 (R12_LP): Likewise.
29212 (R13_LP): Likewise.
29213 (R14_LP): Likewise.
29214 (R15_LP): Likewise.
29215
b985be81
L
292162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29217
29218 * sysdeps/x86_64/x32/dl-machine.h: New file.
29219
6a4888ff
AJ
292202012-05-14 Andreas Jaeger <aj@suse.de>
29221
29222 * manual/Makefile (subdir): Remove export of subdir.
29223 (all): Remove target.
29224 (.PHONY): Remove all from list.
29225 (mkinstalldirs): Remove.
29226 (.PHONY): Remove installdirs from list.
29227 ($(inst_infodir)/libc.info): Use make-target-directory.
29228 (installdirs): Remove.
29229 (subdir_%): Remove.
29230 (glibc-targets): Remove.
29231 (lib): Remove.
29232 (stubs): Remove.
29233 ($(objpfx)stubs ../po/manual.pot): Remove.
29234 ($(objpfx)stamp%): Remove.
29235 (make-target-directory): Remove.
29236 (subdir_install): Remove.
29237 (routines): Remove.
29238 (aux): Remove.
29239 (sources): Remove.
29240 (objects): Remove.
29241 (headers): Remove.
29242
29243 [BZ #13750]
29244 * manual/.gitignore: Remove, it's not needed anymore.
29245 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29246 all files in it.
29247 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29248 directory.
29249 (texis): Renamed to $(objpfx)texis.
29250 (texis-path): New, contains path to generated files.
29251 (chapters.%): Use texis-path for complete path, add extra argument
29252 libc-texinfo.sh.
29253 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29254 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29255 (summary,texi, stamp-summary): Use complete path of
29256 files. Generate files in build dir.
29257 (dir-add.texi): Build in build dir.
29258 (libm-err.texi,stamp-libm-err): Likewise.
29259 (version.texi, stamp-version): Likewise.
29260 (.%c.texi): Likewise.
29261 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29262 (mostlyclean): Remove target.
29263 (realclean): Remove target.
29264 (generated): Add new variable with contents from mostlyclean and
29265 realclean, remove entries duplicated in common-mostlyclean, add
29266 stamp-libm-err and stamp-version.
29267 (generated-dirs): Add libc directory.
29268 ($(inst_infodir)/libc.info): Install files from build dir.
29269
29270 * manual/install.texi (Configuring and compiling): Adjust since
29271 the info files are not part of the tar ball anymore.
29272
7ac77294
AJ
292732012-05-14 Andreas Jaeger <aj@suse.de>
29274
29275 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29276 variable.
29277
ffb7875d
JM
292782012-05-14 Joseph Myers <joseph@codesourcery.com>
29279
29280 [BZ #13717]
29281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29282 to 2.2.0 where earlier.
29283 * sysdeps/unix/sysv/linux/configure: Regenerated.
29284 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29285 Remove conditional code.
29286 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29287 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29288 Remove conditional code.
29289 [!__NR_lchown]: Likewise.
29290 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29291 [__NR_lchown]: Likewise.
29292 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29293 comment referencing __ASSUME_LCHOWN_SYSCALL.
29294 * sysdeps/unix/sysv/linux/i386/sigaction.c
29295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29297 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29298 Remove conditional code.
29299 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29300 (__protocol_available): Remove #if 0 code.
29301 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29302 conditional code.
29303 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29304 * sysdeps/unix/sysv/linux/kernel-features.h
29305 (__ASSUME_GETCWD_SYSCALL): Don't define.
29306 (__ASSUME_REALTIME_SIGNALS): Likewise.
29307 (__ASSUME_PREAD_SYSCALL): Likewise.
29308 (__ASSUME_PWRITE_SYSCALL): Likewise.
29309 (__ASSUME_POLL_SYSCALL): Likewise.
29310 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29311 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29312 non-SPARC.
29313 (__ASSUME_SIOCGIFNAME): Don't define.
29314 (__ASSUME_MSG_NOSIGNAL): Likewise.
29315 (__ASSUME_SENDFILE): Define unconditionally.
29316 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29317 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29318 conditional code.
29319 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29320 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29321 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29322 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29323 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29324 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29325 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29330 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29350 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29351 Remove conditional code.
29352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29353 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29354 Remove conditional code.
29355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29356 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29357 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29358 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29359 Remove conditional code.
29360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29361 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29362 Remove conditional code.
29363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29364 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29365 Remove conditional code.
29366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29367 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29368 Remove conditional code.
29369 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29370 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29371 Remove conditional code.
29372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29373 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29374 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29376 * sysdeps/unix/sysv/linux/sigaction.c
29377 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29378 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29379 * sysdeps/unix/sysv/linux/sigpending.c
29380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29382 * sysdeps/unix/sysv/linux/sigprocmask.c
29383 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29384 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29385 * sysdeps/unix/sysv/linux/sigsuspend.c
29386 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29387 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29388 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29389 (__libc_missing_rt_sigs): Remove.
29390 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29391 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29392 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29393 Remove conditional code.
29394 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29395 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29396 return 1.
29397 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29398 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29399 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29400 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29401
1bfb7291
AJ
294022012-05-14 Andreas Jaeger <aj@suse.de>
29403
caae5a81
AJ
29404 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29405 it's not used in glibc.
29406 (__coshm1): Likewise.
29407 (__acosh1p): Likewise.
29408 (__sgn): Likewise.
29409
1bfb7291
AJ
29410 * manual/string.texi (Copying and Concatenation): Add missing
29411 variable in concat example.
29412 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29413
c044d724
L
294142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29415
144c5467 29416 [BZ #14103]
c044d724
L
29417 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29418 __builtin_clzl with __builtin_clzll.
29419
2523c62b
L
294202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29421
29422 [BZ #14104]
29423 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29424 libc_freeres_ptr.
29425
d7bb4c42
LD
294262012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29427
29428 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29429 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29430 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29431 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29432
9dc4e1fb
MF
294332012-05-14 Mike Frysinger <vapier@gentoo.org>
29434
29435 * NEWS: Update ia64 info.
29436
c7df0112
AS
294372012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29438
29439 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29440 used as bcopy.
29441
dc70356c
TS
294422012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29443
29444 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29445 * sysdeps/unix/syscalls.list (dup3): Likewise.
29446 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29447 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29448
9fb1a21f
L
294492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29450
29451 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29452 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29453
4822a2a5
L
294542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29455
29456 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29457 thread pointer.
29458 (TLS_IE): Use mov/add instead of movq/addq to load thread
29459 pointer.
29460 (TLS_GD_PREFIX): New.
29461 (TLS_GD): Use it.
29462
842b81d6
DM
294632012-05-11 David S. Miller <davem@davemloft.net>
29464
29465 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29466 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29467 (_FPU_SETCW): Likewise.
29468
1cf463cd
L
294692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29470
29471 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29472 is 32-byte aligned.
29473
60cc4a18
AS
294742012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29475
29476 [BZ #11837]
29477 * iconvdata/gb18030.c: Update tables.
29478 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29479 characters specially.
29480 (BODY for TO_LOOP): Add encoding of missing ranges.
29481
febb44a4
TS
294822012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29483
29484 [BZ #13673]
29485 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29486 * sysdeps/mach/hurd/dup3.c: Likewise.
29487 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29488 * sysdeps/powerpc/memmove.c:: Likewise.
29489
0a10fb9e
L
294902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29491
29492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29493 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29494
df8a552f
L
294952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29496
29497 * elf/elf.h (R_X86_64_RELATIVE64): New.
29498 (R_X86_64_NUM): Updated.
29499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29500 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29501 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29502 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29503 tst-quad1pie tst-quad2pie
29504 (modules-names): Add tst-quadmod1 tst-quadmod2.
29505 ($(objpfx)tst-quad1): New dependency.
29506 ($(objpfx)tst-quad2): Likewise.
29507 ($(objpfx)tst-quad1pie): Likewise.
29508 ($(objpfx)tst-quad2pie): Likewise.
29509 * sysdeps/x86_64/tst-quad1.c: New file.
29510 * sysdeps/x86_64/tst-quad1pie.c: New file.
29511 * sysdeps/x86_64/tst-quad2.c: Likewise.
29512 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29513 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29514 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29515 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29516 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29517
f34d6f84
ST
295182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29519
f42d41d1
ST
29520 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29521 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29522 * streams/stropts.h (t_scalar_t): Define type.
29523
3c3571fc
ST
29524 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29525 (_PATH_PRESERVE): Set to "/var/lib".
29526 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29527
61f06bd3
ST
29528 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29529 instead of int.
29530
918d4d71
ST
29531 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29532 if __dir_mkfile succeeded.
29533
f34d6f84
ST
29534 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29535 checking for _hurd_dtablesize. Unlock it right after having
29536 finished _hurd_dtable allocation.
29537
10589b4a
TS
295382012-05-10 Thomas Schwinge <thomas@schwinge.name>
29539
674cdbc7
TS
29540 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29541 * sysdeps/mach/hurd/configure: Regenerated.
29542 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29543 special-casing to...
29544 * sysdeps/gnu/configure.in: ... this new file.
29545 * sysdeps/unix/sysv/linux/configure: Regenerated.
29546 * sysdeps/gnu/configure: New generated file.
29547
8e41b99f
TS
29548 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29549 for Linux: use nsec instead of usec, as well as:
29550 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29551 members of type struct timespec.
29552 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29553 New macros.
29554 (struct stat64): Likewise.
29555 (_STATBUF_ST_NSEC): New macro.
29556 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29557
10589b4a
TS
29558 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29559 __strtoul_internal rather than strtoul.
29560
63643c85
PT
295612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29562
29563 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29564 and reject them.
29565
3faebe6a
ST
295662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29567
29568 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29569 which preserves existing values.
29570 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29571
c6474b07
PT
295722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29573
29574 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29575 TIMEOUT values. Return EINVAL for NFDS values either negative or
29576 greater than FD_SETSIZE.
29577
1043890b
ST
295782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29579
29580 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29581 allocated, call __vm_protect to finish enabling the existing space, and
29582 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29583 allocate the remainder.
29584
37ed8b9b
PT
295852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29586
29587 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29588 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29589
db653660
ST
295902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29591
37ed8b9b
PT
29592 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29593 sysdeps/mach/hurd/readlink.c.
b29d4053 29594
db653660
ST
29595 * posix/tst-sysconf.c (posix_options): Only use
29596 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29597 _POSIX_SYNCHRONIZED_IO when they are defined
29598 * sysdeps/mach/hurd/bits/posix_opt.h:
29599 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29600 (_XOPEN_REALTIME): Undefine macro.
29601 (_XOPEN_REALTIME_THREADS): Undefine macro.
29602 (_XOPEN_SHM): Undefine macro.
29603 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29604 macro to -1.
29605 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29606 macro to -1.
29607 (_POSIX_ASYNC_IO): Undefine macro.
29608 (_POSIX_PRIORITIZED_IO): Undefine macro.
29609 (_POSIX_SPIN_LOCKS): Define macro to -1.
29610
ee16e894
ST
29611 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29612 SA_NODEFER, SA_RESETHAND.
29613 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29614 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29615 F_DUPFD_CLOEXEC.
29616
6103ae3b
TS
296172012-05-10 Thomas Schwinge <thomas@schwinge.name>
29618
29619 * elf/Makefile (pldd-modules): Define unconditionally.
29620
80b4e5f3
TS
296212012-05-10 Thomas Schwinge <thomas@schwinge.name>
29622
29623 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29624
edadcbd6
ST
296252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29626
29627 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29628 Return ENOENT when name is empty.
29629 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29630
80694780
TS
296312012-05-10 Thomas Schwinge <thomas@schwinge.name>
29632
1792c087
TS
29633 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29634
80694780
TS
29635 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29636
6b645f0d
ST
296372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29638
80694780
TS
29639 Fix mlock in all cases except non-readable pages.
29640 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29641 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29642
6b645f0d
ST
29643 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29644 (__mkdir): When path is `/', just fail with EEXIST.
29645 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29646
e468f8a3
TS
296472012-05-10 Thomas Schwinge <thomas@schwinge.name>
29648
29649 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29650 <sys/uio.h> (for writev).
29651 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29652 and <sys/param.h> (for MIN).
29653
a4186cff
PT
296542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29655
29656 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29657 REQUESTED_TIME. Properly set the remaining time and return EINTR
29658 if interrupted.
29659
510bbf14
TS
296602012-05-10 Thomas Schwinge <thomas@schwinge.name>
29661
29662 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29663 Depend on against $(link-rpcuserlibs).
29664
5d5722e8
ST
296652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29666
a4186cff
PT
29667 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29668 (__libc_stack_end): Do not use attribute_relro.
29669 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29670 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29671 to libthread-provided value.
a4186cff
PT
29672 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29673 attribute_relro.
5d5722e8 29674
37233df9
TS
296752012-05-10 Thomas Schwinge <thomas@schwinge.name>
29676
be971a2b
TS
29677 [BZ #3748]
29678 * bits/libc-lock.h (__libc_once_get): New macro.
29679 * sysdeps/mach/bits/libc-lock.h: Likewise.
29680 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29682 instead of using implementation details.
29683
37233df9
TS
29684 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29685 * libio/freopen.c: Likewise.
29686 * libio/freopen64.c: Likewise.
29687 * misc/syslog.c: Likewise.
29688 * nscd/connections.c: Likewise.
29689 * nscd/netgroupcache.c: Likewise.
29690 * sysdeps/posix/getcwd.c: Likewise.
29691
38de94a5
RM
296922012-05-10 Roland McGrath <roland@hack.frob.com>
29693
29694 * math/w_ilogbf.c: Add #include <limits.h>.
29695
67530489
ST
296962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29697
a4186cff 29698 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29699 path instead of returning without unlocking.
29700
67530489
ST
29701 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29702 immediate-write ioctls.
29703 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29704
5aa3a74a
TS
297052012-05-10 Thomas Schwinge <thomas@schwinge.name>
29706
18bad2ae
TS
29707 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29708 __builtin_frame_address instead of making assumptions about the
29709 location of the return address relative to DATA. Force early load of
29710 the return address.
29711 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29712 __builtin_frame_address.
29713
5aa3a74a
TS
29714 dup3 for GNU Hurd.
29715 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29716 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29717 implement dup3 and do some further code clean-ups.
29718 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29719 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29720
ecd0de9a
ST
297212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29722
cd9fa985
ST
29723 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29724
a4186cff
PT
29725 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29726 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29727 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29728 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29729 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29730 d->port.lock.
802ca5a5 29731
a4186cff
PT
29732 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29733 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29734 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29735
bcf55240
TS
297362012-05-10 Thomas Schwinge <thomas@schwinge.name>
29737
6960eb42
TS
29738 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29739 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29740 definitions.
29741
eb43375f
TS
29742 accept4 for GNU Hurd.
29743 * include/sys/socket.h (__libc_accept4): New prototype.
29744 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29745 to implement __libc_accept4.
29746 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29747 __libc_accept4.
29748 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29749
bcf55240
TS
29750 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29751 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29752 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29753 signal-defines.sym.
29754
6178c55b
ST
297552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29756
a4186cff 29757 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29758
6f080c2f
TS
297592012-05-10 Thomas Schwinge <thomas@schwinge.name>
29760
29761 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29762 assertion on O_CLOEXEC flag.
29763 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29764 * hurd/intern-fd.c: Likewise.
29765 * hurd/port2fd.c: Likewise.
29766
bcfe3a54
ST
297672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29768
29769 [BZ #3906]
29770 * bits/in.h (IPV6_PKTINFO): Define new macro.
29771 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29772
89c9aa49
AZ
297732012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29774
29775 [BZ #13954]
29776 [BZ #13955]
29777 [BZ #13956]
29778 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29780 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29781 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29783 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29784 * math/libm-test.inc (logb_test) : Additional logb tests.
29785
021db4be
AJ
297862012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29787 Andreas Jaeger <aj@suse.de>
29788
29789 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29790 * configure: Regenerated.
29791 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29792 * config.make.in (link-obsolete-rpc): New substituted variable.
29793 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29794 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29795 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29796 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29797 so that libc.a contains the symbols.
29798 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29799 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29800 * sunrpc/auth_none.c: Likewise.
29801 * sunrpc/auth_unix.c: Likewise.
29802 * sunrpc/authdes_prot.c: Likewise.
29803 * sunrpc/authuxprot.c: Likewise.
29804 * sunrpc/clnt_gen.c: Likewise.
29805 * sunrpc/clnt_perr.c: Likewise.
29806 * sunrpc/clnt_raw.c: Likewise.
29807 * sunrpc/clnt_simp.c: Likewise.
29808 * sunrpc/clnt_tcp.c: Likewise.
29809 * sunrpc/clnt_udp.c: Likewise.
29810 * sunrpc/clnt_unix.c: Likewise.
29811 * sunrpc/des_crypt.c: Likewise.
29812 * sunrpc/des_soft.c: Likewise.
29813 * sunrpc/get_myaddr.c: Likewise.
29814 * sunrpc/key_call.c: Likewise.
29815 * sunrpc/key_prot.c: Likewise.
29816 * sunrpc/netname.c: Likewise.
29817 * sunrpc/pm_getmaps.c: Likewise.
29818 * sunrpc/pm_getport.c: Likewise.
29819 * sunrpc/pmap_clnt.c: Likewise.
29820 * sunrpc/pmap_prot.c: Likewise.
29821 * sunrpc/pmap_prot2.c: Likewise.
29822 * sunrpc/pmap_rmt.c: Likewise.
29823 * sunrpc/publickey.c: Likewise.
29824 * sunrpc/rpc_cmsg.c: Likewise.
29825 * sunrpc/rpc_common.c: Likewise.
29826 * sunrpc/rpc_dtable.c: Likewise.
29827 * sunrpc/rpc_prot.c: Likewise.
29828 * sunrpc/rpc_thread.c: Likewise.
29829 * sunrpc/rtime.c: Likewise.
29830 * sunrpc/svc.c: Likewise.
29831 * sunrpc/svc_auth.c: Likewise.
29832 * sunrpc/svc_raw.c: Likewise.
29833 * sunrpc/svc_run.c: Likewise.
29834 * sunrpc/svc_tcp.c: Likewise.
29835 * sunrpc/svc_udp.c: Likewise.
29836 * sunrpc/svc_unix.c: Likewise.
29837 * sunrpc/svcauth_des.c: Likewise.
29838 * sunrpc/xcrypt.c: Likewise.
29839 * sunrpc/xdr.c: Likewise.
29840 * sunrpc/xdr_array.c: Likewise.
29841 * sunrpc/xdr_float.c: Likewise.
29842 * sunrpc/xdr_intXX_t.c: Likewise.
29843 * sunrpc/xdr_mem.c: Likewise.
29844 * sunrpc/xdr_rec.c: Likewise.
29845 * sunrpc/xdr_ref.c: Likewise.
29846 * sunrpc/xdr_sizeof.c: Likewise.
29847 * sunrpc/xdr_stdio.c: Likewise.
29848
b5c086a2
RM
298492012-05-10 Roland McGrath <roland@hack.frob.com>
29850
29851 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29852 change. Update copyright years.
29853
6d74dd09
JM
298542012-05-10 Joseph Myers <joseph@codesourcery.com>
29855
29856 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29857
28e72501
MK
298582012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29859 Joseph Myers <joseph@codesourcery.com>
29860 Paul Pluzhnikov <ppluzhnikov@google.com>
29861
29862 [BZ #14012]
29863 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29864 requiring rpcgen.
29865 [cross-compiling] (extra-libs): Likewise.
29866 [cross-compiling] (extra-libs-others): Likewise.
29867 [cross-compiling] (librpcsvc-routines): Likewise.
29868 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29869 [cross-compiling] (omit-deps): Likewise.
29870 (sunrpc-CPPFLAGS): New variable.
29871 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29872 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29873 (cross-rpcgen-objs): New variable.
29874 (extra-objs): Append $(cross-rpcgen-objs).
29875 ($(cross-rpcgen-objs)): New rule.
29876 ($(objpfx)cross-rpcgen): Likewise.
29877 (rpcgen-cmd): Define to use $(built-program-file). Expand
29878 comment.
29879 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29880 ($(objpfx)x%.stmp): Likewise.
29881 * sunrpc/proto.h [IS_IN_build] (_): Define.
29882 [IS_IN_build] (_libc_intl_domainname): Likewise.
29883
c8c59454
L
298842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29885
29886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29887 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29888 and R_X86_64_TPOFF64.
29889
6f27cd16
JM
298902012-05-10 Joseph Myers <joseph@codesourcery.com>
29891
29892 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29893 sysdeps/unix/sysv/syscalls.list.
29894 (stime): Likewise.
29895 (utime): Likewise.
29896 * sysdeps/unix/sysv/syscalls.list: Remove file.
29897
02467e1c
PE
298982012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29899
29900 [BZ #3440]
29901 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29902 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29903 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29904 (__LC_IDENTIFICATION): Make these macros useful in #if
29905 expressions, as required by C99.
29906
da392631
AS
299072012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29908
29909 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29910 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29911 after this.
29912
8115f29b
L
299132012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29914
29915 * stdlib/longlong.h: Updated from GCC.
29916
bdd74070
AJ
299172012-05-09 Andreas Jaeger <aj@suse.de>
29918
edfe0dbe
AJ
29919 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29920 default is first entry.
29921 (run_mode): Set type.
29922 (main): Remove informal message about syslog.
29923 (options): Fix typo.
29924
bcfe3a54
ST
29925 [BZ #14053]
29926 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29927 to asm.
bcfe3a54
ST
29928 (lrint): Likewise.
29929 (llrintf): Likewise.
29930 (llrint): Likewise.
29931 (rint): Likewise.
29932 (rintf): Likewise.
29933 (nearbyint): Likewise.
29934 (nearbyintf): Likewise.
bdd74070 29935
91d8d69e
AJ
299362012-05-09 Andreas Jaeger <aj@suse.de>
29937 Pedro Alves <palves@redhat.com>
29938
29939 * nscd/nscd.c (run_mode): Use enum.
29940 (main): Cleanup coding style issue.
29941
bb90b80b
AJ
299422012-05-09 Alexandre Oliva <aoliva@redhat.com>
29943 Andreas Jaeger <aj@suse.de>
29944
bcfe3a54
ST
29945 * nscd/nscd.c (go_background): Replaced with...
29946 (run_mode): ... this.
bb90b80b 29947 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29948 (options): Add -F --foreground.
29949 (main): Implement it.
29950 (parse_opt): Parse it.
bb90b80b 29951
1a4b75a1
AJ
299522012-05-09 Andreas Jaeger <aj@suse.de>
29953
29954 [BZ #14083]
29955 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29956 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29957 -Wconversion warning.
29958 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29959 Likewise.
29960
b1cc2472
JM
299612012-05-09 Joseph Myers <joseph@codesourcery.com>
29962
29963 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29964 == 0.
29965 (LC_ALL): Use macro-int-constant.
29966 (LC_COLLATE): Likewise.
29967 (LC_CTYPE): Likewise.
29968 (LC_MESSAGES): Likewise.
29969 (LC_MONETARY): Likewise.
29970 (LC_NUMERIC): Likewise.
29971 (LC_TIME): Likewise.
29972 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29973 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29975 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29976 Specify type.
29977 [C99-based standards] (float_t): Expect type.
29978 [C99-based standards] (double_t): Expect type.
29979 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29980 type.
29981 [C99-based standards] (HUGE_VALL): Likewise.
29982 [C99-based standards] (INFINITY): Likewise.
29983 [C99-based standards] (NAN): Likewise.
29984 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29985 [C99-based standards] (FP_NAN): Likewise.
29986 [C99-based standards] (FP_NORMAL): Likewise.
29987 [C99-based standards] (FP_SUBNORMAL): Likewise.
29988 [C99-based standards] (FP_ZERO): Likewise.
29989 [C99-based standards] (FP_FAST_FMA): Use
29990 optional-macro-int-constant. Specify type. Require == 1.
29991 [C99-based standards] (FP_FAST_FMAF): Likewise.
29992 [C99-based standards] (FP_FAST_FMAL): Likewise.
29993 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29994 [C99-based standards] (FP_ILOGBNAN): Likewise.
29995 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29996 Specify type.
29997 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29998 [C99-based standards] (math_errhandling): Specify type.
29999 [ISO99 || ISO11] (signgam): Do not allow.
30000 [non-C99-based standards] (copysignf): Do not allow.
30001 [non-C99-based standards] (exp2f): Likewise.
30002 [non-C99-based standards] (log2f): Likewise.
30003 [non-C99-based standards] (modff): Allow.
30004 [non-C99-based standards] (erff): Do not allow.
30005 [non-C99-based standards] (erfcf): Likewise.
30006 [non-C99-based standards] (gammaf): Likewise.
30007 [non-C99-based standards] (hypotf): Likewise.
30008 [non-C99-based standards] (j0f): Likewise.
30009 [non-C99-based standards] (j1f): Likewise.
30010 [non-C99-based standards] (jnf): Likewise.
30011 [non-C99-based standards] (lgammaf): Likewise.
30012 [non-C99-based standards] (tgammaf): Likewise.
30013 [non-C99-based standards] (y0f): Likewise.
30014 [non-C99-based standards] (y1f): Likewise.
30015 [non-C99-based standards] (ynf): Likewise.
30016 [non-C99-based standards] (isnanf): Likewise.
30017 [non-C99-based standards] (acoshf): Likewise.
30018 [non-C99-based standards] (asinhf): Likewise.
30019 [non-C99-based standards] (atanhf): Likewise.
30020 [non-C99-based standards] (cbrtf): Likewise.
30021 [non-C99-based standards] (expm1f): Likewise.
30022 [non-C99-based standards] (ilogbf): Likewise.
30023 [non-C99-based standards] (log1pf): Likewise.
30024 [non-C99-based standards] (logbf): Likewise.
30025 [non-C99-based standards] (nextafterf): Likewise.
30026 [non-C99-based standards] (remainderf): Likewise.
30027 [non-C99-based standards] (rintf): Likewise.
30028 [non-C99-based standards] (scalbf): Likewise.
30029 [non-C99-based standards] (copysignl): Likewise.
30030 [non-C99-based standards] (exp2l): Likewise.
30031 [non-C99-based standards] (log2l): Likewise.
30032 [non-C99-based standards] (modfl): Allow.
30033 [non-C99-based standards] (erfl): Do not allow.
30034 [non-C99-based standards] (erfcl): Likewise.
30035 [non-C99-based standards] (gammal): Likewise.
30036 [non-C99-based standards] (hypotl): Likewise.
30037 [non-C99-based standards] (j0l): Likewise.
30038 [non-C99-based standards] (j1l): Likewise.
30039 [non-C99-based standards] (jnl): Likewise.
30040 [non-C99-based standards] (lgammal): Likewise.
30041 [non-C99-based standards] (tgammal): Likewise.
30042 [non-C99-based standards] (y0l): Likewise.
30043 [non-C99-based standards] (y1l): Likewise.
30044 [non-C99-based standards] (ynl): Likewise.
30045 [non-C99-based standards] (isnanl): Likewise.
30046 [non-C99-based standards] (acoshl): Likewise.
30047 [non-C99-based standards] (asinhl): Likewise.
30048 [non-C99-based standards] (atanhl): Likewise.
30049 [non-C99-based standards] (cbrtl): Likewise.
30050 [non-C99-based standards] (expm1l): Likewise.
30051 [non-C99-based standards] (ilogbl): Likewise.
30052 [non-C99-based standards] (log1pl): Likewise.
30053 [non-C99-based standards] (logbl): Likewise.
30054 [non-C99-based standards] (nextafterl): Likewise.
30055 [non-C99-based standards] (remainderl): Likewise.
30056 [non-C99-based standards] (rintl): Likewise.
30057 [non-C99-based standards] (scalbl): Likewise.
30058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30059 [non-C99-based standards] (FP_*): Do not allow.
30060 [C99-based standards] (FP_*): Change to
30061 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30062 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30063 allow.
30064 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30065 (SIG_ERR): Likewise.
30066 [X/Open-based standards] (SIG_HOLD): Likewise.
30067 (SIG_IGN): Likewise.
30068 (SIGABRT): Use macro-int-constant. Specify type. Require
30069 positive value.
30070 (SIGFPE): Likewise.
30071 (SIGILL): Likewise.
30072 (SIGINT): Likewise.
30073 (SIGSEGV): Likewise.
30074 (SIGTER): Likewise.
30075 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30076 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30077 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30078 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30079 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30080 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30081 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30082 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30083 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30084 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30085 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30086 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30087 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30088 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30089 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30090 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30091 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30092 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30093 [X/Open-based standards] (SIGTRAP): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30095 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30096 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30098 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30099 allow.
30100
b9f1922d
IW
301012012-05-08 Ian Wienand <ianw@vmware.com>
30102
30103 [BZ #14080]
30104 * time/tzset.c (__tzset_parse_tz): Update default rules for
30105 daylight time changes in the Energy Policy Act of 2005.
30106
1db86e88
AJ
301072012-05-09 Andreas Jaeger <aj@suse.de>
30108
30109 [BZ #13983]
30110 * elf/ldconfig.c (parse_conf): Change string to make clear that
30111 ldconfig only issued a warning if ld.so.conf does not exist.
30112
dee4a4e3
DM
301132012-05-08 David S. Miller <davem@davemloft.net>
30114
ee0db190
DM
30115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30116 movxtod instead of popping the value on the stack.
30117
dee4a4e3
DM
30118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30119
6a43ec98
CD
301202012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30121
30122 * config.h.in: Add HAVE_ARM_PCS_VFP.
30123
05c2c961
RMG
301242012-05-08 Roland Mc Grath <roland@hack.frob.com>
30125
bcfe3a54
ST
30126 [BZ #13979]
30127 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30128 checking but the checks are disabled for any reason.
05c2c961 30129
4b30f61a
L
301302012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30131
30132 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30133 and ELF64_R_TYPE with ELFW(R_TYPE).
30134
eee2bc67
JM
301352012-05-08 Joseph Myers <joseph@codesourcery.com>
30136
7ea5391a
JM
30137 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30138 (ulimit): Likewise.
30139
eee2bc67
JM
30140 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30141 (settimeofday): Likewise.
30142
abb66a67
MF
301432012-05-08 Mike Frysinger <vapier@gentoo.org>
30144
30145 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30146 a struct th_u2 inside the union, and move tu_block/tu_code into
30147 a new th_u3 union of tu_block/tu_code inside of that. Move
30148 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30149 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30150 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30151 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30152 (th_stuff): Change to th_u1.tu_stuff.
30153 (th_data): Define.
30154 (th_msg): Change to th_u1.th_u2.tu_data.
30155
7f18b530
DM
301562012-05-07 David S. Miller <davem@davemloft.net>
30157
05760585
DM
30158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30159
7f18b530
DM
30160 [BZ #14074]
30161 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30162 (SETUP_PIC_REG): Use it.
30163 (SETUP_PIC_REG_LEAF): Use it.
30164
495fd99f
JM
301652012-05-07 Joseph Myers <joseph@codesourcery.com>
30166
30167 [BZ #13885]
30168 [BZ #13923]
30169 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30170 USE_AS_EXPM1L.
30171 (EXPL_FINITE): Likewise.
30172 (FLDLOG): Likewise.
30173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30174 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30175 e_expl.S.
30176 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30177 USE_AS_EXPM1L.
30178 (EXPL_FINITE): Likewise.
30179 (FLDLOG): Likewise.
30180 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30181 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30182 e_expl.S.
30183 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30184 test of -max_value argument for long double.
30185 * sysdeps/i386/fpu/libm-test-ulps: Update.
30186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30187
6693d694
DM
301882012-05-06 David S. Miller <davem@davemloft.net>
30189
30190 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30191 quad soft-float symbols whose references which are compiler
30192 generated.
30193 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30194
6c23e11c
JM
301952012-05-06 Joseph Myers <joseph@codesourcery.com>
30196
d8b82cad
JM
30197 [BZ #13884]
30198 [BZ #13914]
30199 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30200 USE_AS_EXP10L.
30201 (EXPL_FINITE): Likewise.
30202 (FLDLOG): Likewise.
30203 (c0): Likewise.
30204 (c1): Likewise.
30205 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30206 Adjust comments for base varying.
30207 (__expl_finite): Change alias to EXPL_FINITE.
30208 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30209 e_expl.S.
30210 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30211 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30212 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30213 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30214 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30215 USE_AS_EXP10L.
30216 (EXPL_FINITE): Likewise.
30217 (FLDLOG): Likewise.
30218 (c0): Likewise.
30219 (c1): Likewise.
30220 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30221 Adjust comments for base varying.
30222 (__expl_finite): Change alias to EXPL_FINITE.
30223 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30224 tests for bugs.
30225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30226
6c23e11c
JM
30227 [BZ #14064]
30228 * math/libm-test.inc (check_float_internal): Correct ulp
30229 calculation for subnormal expected results.
30230
29ba805c
AJ
302312012-05-06 Andreas Jaeger <aj@suse.de>
30232
30233 * Makeconfig (+math-flags): New, set to -frounding-math.
30234 (+cflags): Add +math-flags so that all of glibc gets compiled with
30235 it.
30236
30237 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30238
7b17aeda
JM
302392012-05-05 Joseph Myers <joseph@codesourcery.com>
30240
5779f134
JM
30241 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30242 Disable one test.
30243
41498f4d
JM
30244 [BZ #13787]
30245 [BZ #13922]
30246 [BZ #14036]
30247 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30248 (__ieee754_expl): Allow for and saturate large arguments.
30249 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30250 (u_threshold): Likewise.
30251 (__exp): Call __ieee754_exp before checking for overflow and
30252 underflow.
30253 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30254 (u_threshold): Likewise.
30255 (__expf): Call __ieee754_expf before checking for overflow and
30256 underflow.
30257 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30258 (u_threshold): Likewise.
30259 (__expl): Call __ieee754_expl before checking for overflow and
30260 underflow.
30261 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30262 (__ieee754_expl): Allow for and saturate large arguments.
30263 * math/libm-test.inc (exp_test): Add another test. Do not allow
30264 missing overflow exception on overflow.
30265 (expm1_test): Do not allow missing overflow exception on overflow.
30266
6698b8bf
JM
30267 * sysdeps/i386/fpu/e_expl.c: Move to ...
30268 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30269 rather than using inline asm.
30270 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30271 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30272 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30273
7b17aeda
JM
30274 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30275 (nice): Likewise.
30276 (poll): Likewise.
30277 (signal): Likewise.
30278 (time): Likewise.
30279 (times): Likewise.
30280
f7c85819
JM
302812012-05-04 Joseph Myers <joseph@codesourcery.com>
30282
30283 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30284 sysdeps/unix/common/syscalls.list.
30285 (fchmod): Likewise.
30286 (fchown): Likewise.
30287 (ftruncate): Likewise.
30288 (getrusage): Likewise.
30289 (gettimeofday): Likewise.
30290 (setpgid): Likewise.
30291 (setregid): Likewise.
30292 (setreuid): Likewise.
30293 (sigaction): Likewise.
30294 (truncate): Likewise.
30295 (vhangup): Likewise.
30296 * sysdeps/unix/common/syscalls.list: Remove file.
30297 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30298 * sysdeps/unix/sysv/linux/Implies: Likewise.
30299
336270d0
L
303002012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30301
30302 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30304 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30305 Moved to ...
30306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30307 Here.
30308 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30309 to ...
30310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30311 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30312 to ...
30313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30314 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30315 to ...
30316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30317 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30318 to ...
30319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30320 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30321 to ...
30322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30323 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30324 to ...
30325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30326 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30327 to ...
30328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30329 Here.
30330 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30331 to ...
30332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30333 Here.
30334 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30335 to ...
30336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30337 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30338 Moved to ...
30339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30340 Here.
30341 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30342 to ...
30343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30344
d128e450
JM
303452012-05-04 Joseph Myers <joseph@codesourcery.com>
30346
fa8ee516
JM
30347 * sysdeps/unix/common/bits/dirent.h: Remove file.
30348 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30349
d128e450
JM
30350 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30351 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30352 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30353 * sysdeps/unix/bsd/isatty.c: Likewise.
30354 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30355 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30356 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30357
ff8faaf0 303582012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30359
62881be4 30360 [BZ #13563]
31dc8730
AZ
30361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30362 long double comparison inaccuracies.
30363 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30365
6fef930c
AS
303662012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30367
30368 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30369 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30370
8f203e6c
JM
303712012-05-04 Joseph Myers <joseph@codesourcery.com>
30372
30373 [BZ #14049]
30374 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30375 nonzero digits before rounding a hex value.
30376 * stdlib/tst-strtod.c (tests): Add another test.
30377
5197d9c2
AK
303782012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30379
30380 * sysdeps/s390/fpu/libm-test-ulps: Update.
30381
f0c1dedf
AJ
303822012-05-03 Andreas Jaeger <aj@suse.de>
30383
30384 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30385 does not get optimized out.
30386 (malloc_opt_barrier): New.
30387
a65ef2ae 303882012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30389 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30390
2b942cb7 30391 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30392 intermediate file deletion.
2b942cb7 30393 (generated): Add .symlist files.
a65ef2ae 30394
54b71e02
JM
303952012-05-03 Joseph Myers <joseph@codesourcery.com>
30396
30397 [BZ #13775]
30398 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30399 Redirect under this condition.
30400 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30401 [__USE_GNU] (__dprintf_chk): Not under this condition.
30402 [__USE_GNU] (__vdprintf_chk): Likewise.
30403 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30404 under this condition.
30405 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30406 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30407 [__USE_XOPEN2K8] (vdprintf): Likewise.
30408 [__USE_GNU] (__dprintf_chk): Not under this condition.
30409 [__USE_GNU] (__vdprintf_chk): Likewise.
30410 [__USE_GNU] (dprintf): Likewise.
30411 [__USE_GNU] (vdprintf): Likewise.
30412
d3dfcc41
RM
304132012-05-03 Roland McGrath <roland@hack.frob.com>
30414
30415 * elf/Makefile (common-generated): Set this instead of generated for
30416 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30417 $(all-built-dso)-derived lists.
30418
7ac30cc5
AJ
304192012-05-03 Andreas Jaeger <aj@suse.de>
30420
0c51e550
AJ
30421 * sysdeps/i386/fpu/libm-test-ulps: Update.
30422
7ac30cc5
AJ
30423 * FAQ: Removed.
30424 * FAQ.in: Likewise.
30425 * scripts/gen-FAQ.pl: Likewise.
30426 * manual/install.texi (Installation): Point to online location of
30427 FAQ.
30428 * Makefile (files-for-dist): Remove FAQ.
30429 (FAQ): Remove.
30430
d4c2917f
AM
304312012-05-02 Allan McRae <allan@archlinux.org>
30432
30433 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30434 (LDFLAGS-reldepmod5.so): Likewise.
30435 (LDFLAGS-reldep6mod1.so): Likewise.
30436 (LDFLAGS-reldep6mod4.so): Likewise.
30437 (LDFLAGS-reldep8mod3.so): Likewise.
30438 (LDFLAGS-unload4mod1.so): Likewise.
30439 (LDFLAGS-unload4mod2.so): Likewise.
30440 (LDFLAGS-tst-initorder): Likewise.
30441 (LDFLAGS-tst-initordera2.so): Likewise.
30442 (LDFLAGS-tst-initordera3.so): Likewise.
30443 (LDFLAGS-tst-initordera4.so): Likewise.
30444 (LDFLAGS-tst-initorderb2.so): Likewise.
30445 (LDFLAGS-noload): Likewise.
30446 (LDFLAGS-next): Likewise.
30447 (LDFLAGS-order2mod1.so): Likewise.
30448 (LDFLAGS-order2mod2.so): Likewise.
30449 (LDFLAGS-tst-initorder2): Likewise.
30450 (LDFLAGS-tst-initorder2a.so): Likewise.
30451 (LDFLAGS-tst-initorder2b.so): Likewise.
30452 (LDFLAGS-tst-initorder2c.so): Likewise.
30453 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30454
d77f993f
DM
304552012-05-02 David S. Miller <davem@davemloft.net>
30456
30457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30458
171a70b4
PP
304592012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30460
30461 [BZ #14055]
30462 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30463
0be196ad
AJ
304642012-05-02 Andreas Jaeger <aj@suse.de>
30465
30466 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30467 since we manipulate rounding mode.
30468 (CPPFLAGS-test-idouble.c): Likewise.
30469 (CPPFLAGS-test-ifloat.c): Likewise.
30470 (CFLAGS-test-ldouble.c): Likewise.
30471 (CFLAGS-test-double.c): Likewise.
30472 (CFLAGS-test-float.c): Likewise.
30473 (CFLAGS-test-misc.c): Likewise.
30474 (CFLAGS-test-test-fenv.c): Likewise.
30475
4f9d04aa
AZ
304762012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30477
2b942cb7
RM
30478 [BZ #2550]
30479 [BZ #2570]
30480 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30481 comparisons to determine direction to adjust input.
4f9d04aa 30482
82a79e7d
RM
304832012-05-01 Roland McGrath <roland@hack.frob.com>
30484
f5a01ca9
RM
30485 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30486 output to the target.
30487
90fe4186
RM
30488 * scripts/localplt.awk: New file.
30489 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30490 (check-localplt-CFLAGS): Variable removed.
30491 ($(all-built-dso:=.jmprel)): New static pattern rule.
30492 (generated): Add those targets.
30493 (localplt-built-dso): New variable.
30494 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30495
30496 * elf/check-localplt.c: File removed.
30497
82397ed6
RM
30498 * scripts/check-execstack.awk: New file.
30499 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30500 (check-execstack-CFLAGS): Variable removed.
30501 ($(objpfx)check-execstack.h): Target removed.
30502 ($(objpfx)execstack-default): New target.
30503 (generated): Add that instead of check-execstack.h.
30504 ($(all-built-dso:=.phdr)): New static pattern rule.
30505 (generated): Add those targets.
30506 * elf/check-execstack.c: File removed.
30507
82a79e7d
RM
30508 * scripts/check-textrel.awk: New file.
30509 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30510 (check-textrel-CFLAGS): Variable removed.
30511 (all-built-dso): Use := to define.o
30512 ($(all-built-dso:=.dyn)): New static pattern rule.
30513 (generated): Add those targets.
30514 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30515 * config.make.in (READELF): New substituted variable.
30516 * elf/check-textrel.c: File removed.
30517
62fde54f 305182012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30519
615605c9
JM
30520 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30521 allow.
30522 * conform/data/ctype.h-data [C99-based standards] (isblank):
30523 Expect function.
30524 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30525 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30527 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30528 Specify type. Require positive value.
30529 (EILSEQ): Likewise.
30530 (ERANGE): Likewise.
30531 [ISO || POSIX] (EILSEQ): Do not expect.
30532 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30533 Specify type. Require positive value.
30534 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30535 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30536 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30537 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30538 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30539 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30540 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30541 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30542 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30543 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30544 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30545 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30546 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30547 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30548 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30549 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30573 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30574 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30575 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30576 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30577 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30578 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30579 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30580 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30581 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30582 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30583 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30584 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30585 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30586 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30587 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30588 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30589 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30590 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30591 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30592 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30593 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30608 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30609 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30610 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30611 Require >= 2.
30612 (FLT_ROUNDS): Expect as macro, not constant.
30613 (FLT_MANT_DIG): Use macro-int-constant.
30614 (DBL_MANT_DIG): Likewise.
30615 (LDBL_MANT_DIG): Likewise.
30616 (FLT_DIG): Likewise.
30617 (DBL_DIG): Likewise.
30618 (LDBL_DIG): Likewise.
30619 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30620 (DBL_MIN_EXP): Likewise.
30621 (LDBL_MIN_EXP): Likewise.
30622 (FLT_MAX_EXP): Use macro-int-constant.
30623 (DBL_MAX_EXP): Likewise.
30624 (LDBL_MAX_EXP): Likewise.
30625 (FLT_MAX_10_EXP): Likewise.
30626 (DBL_MAX_10_EXP): Likewise.
30627 (LDBL_MAX_10_EXP): Likewise.
30628 (FLT_MAX): Use macro-constant.
30629 (DBL_MAX): Likewise.
30630 (LDBL_MAX): Likewise.
30631 (FLT_EPSILON): Use macro-constant. Give upper bound.
30632 (DBL_EPSILON): Likewise.
30633 (LDBL_EPSILON): Likewise.
30634 (FLT_MIN): Likewise.
30635 (DBL_MIN): Likewise.
30636 (LDBL_MIN): Likewise.
30637 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30638 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30639 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30640 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30641 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30642 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30643 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30644 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30645 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30646 [ISO11] (FLT_TRUE_MIN): Likewise.
30647 [ISO11] (LDBL_TRUE_MIN): Likewise.
30648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30649 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30650 (SCHAR_MIN): Use macro-int-constant. Specify type.
30651 (SCHAR_MAX): Likewise.
30652 (UCHAR_MAX): Likewise.
30653 (CHAR_MIN): Likewise.
30654 (CHAR_MAX): Likewise.
30655 (MB_LEN_MAX): Use macro-int-constant.
30656 (SHRT_MIN): Use macro-int-constant. Specify type.
30657 (SHRT_MAX): Likewise.
30658 (USHRT_MAX): Likewise.
30659 (INT_MAX): Likewise.
30660 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30661 bound negative.
30662 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30663 bound with "U".
30664 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30665 bound with "L".
30666 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30667 bound negative. Suffix upper bound with "L".
30668 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30669 bound with "UL".
30670 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30671 Specify type.
30672 [C99-based standards] (LLONG_MAX): Likewise.
30673 [C99-based standards] (ULLONG_MAX): Likewise.
30674 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30675 == 0.
30676 [ISO11] (max_align_t): Require type.
30677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30678
c9140a62
JM
30679 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30680 from $CFLAGS, without defining away __attribute__ calls.
30681 (checknamespace): Use $CFLAGS_namespace.
30682
9af0bf29
JM
30683 * conform/conformtest.pl (@keywords): Only include C99 keywords
30684 for standards based on C99 or C11.
30685
343222a2
JM
30686 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30687 Disable tests.
30688 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30689 UNIX98]: Likewise.
30690
661f8cf0
JM
30691 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30692 usability of symbols in #if.
30693
ee74b9cb
JM
30694 * conform/conformtest.pl: If macro or constant types start
30695 "promoted:", expect the symbol to be of the following type
30696 promoted by the integer promotions.
62fde54f 30697
aafc49b3
JM
30698 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30699 in one place. Also handle "macro-constant".
30700
fefdf574
JM
30701 * conform/conformtest.pl: Only accept expected macro values with
30702 "==". Parse all "macro" lines in one place.
30703 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30704
f2d922fe
JM
30705 * conform/conformtest.pl: Handle braced types on "constant" lines
30706 instead of handling "typed-constant".
30707 * conform/data/signal.h-data: Use "constant" instead of
30708 "typed-constant".
30709
d22956c9
JM
30710 * conform/conformtest.pl: Handle "optional-" at start of lines in
30711 one place rather than duplicating several cases. Handle each
30712 format of "macro" line with initial "optional-".
30713
028e2e38
JM
30714 * conform/conformtest.pl: Only accept expected constant or
30715 optional-constant values with "==". Parse all "constant" lines in
30716 one place. Parse all "optional-constant" lines in one place.
30717 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30718 * conform/data/fmtmsg.h-data: Likewise.
30719 * conform/data/netinet/in.h-data: Likewise.
30720 * conform/data/tar.h-data: Likewise.
30721 * conform/data/limits.h-data: Use "==" form on "constant" and
30722 "optional-constant" lines.
30723
1b8f2850
JM
30724 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30725 Use -std=c99 for XOPEN2K.
30726 (@knownproblems): Remove.
30727 (newtoken): Don't check %isknown.
30728
a05a144b
JM
30729 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30730 Do not expect macro.
30731 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30743 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30744 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30761 [XPG3] (acosh): Likewise.
30762 [XPG3] (asinh): Likewise.
30763 [XPG3] (atanh): Likewise.
30764 [XPG3] (cbrt): Likewise.
30765 [XPG3] (expm1): Likewise.
30766 [XPG3] (ilogb): Likewise.
30767 [XPG3] (log1p): Likewise.
30768 [XPG3] (logb): Likewise.
30769 [XPG3] (nextafter): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30772 [XPG3] (remainder): Likewise.
30773 [XPG3] (rint): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30781 [UNIX98 || XOPEN2K] (scalb): Expect.
30782 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30783 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30919
73c5ebe3
JM
30920 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30921 _XOPEN_SOURCE_EXTENDED for XPG4.
30922
39c33b6c
JM
30923 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30924
62fde54f
JM
30925 * Makeconfig (localtime): Remove variable.
30926 (inst_localtime-file): Likewise.
30927
0741d64c
AS
309282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30929
30930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30931 Update.
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30933 Update.
30934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30935 Update.
30936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30937 Update.
30938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30939 Update.
30940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30941 Update.
30942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30943 Update.
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30945 Update.
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30947 Update.
30948
7cb029ee
JM
309492012-05-01 Joseph Myers <joseph@codesourcery.com>
30950
30951 [BZ #2550]
30952 [BZ #2570]
30953 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30954 comparisons to determine direction to adjust input.
30955 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30956 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30957 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30958 Likewise.
30959 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30960 Likewise.
30961 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30962 Likewise.
30963 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30964 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30965 Likewise.
30966 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30967 Likewise.
30968 * math/libm-test.inc (nexttoward_test): Add more tests.
30969
412bd966
AS
309702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30971
30972 [BZ #14040]
30973 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30974 in version GLIBC_2.1, not GLIBC_2.0.
30975 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30976 Likewise.
30977
9568c0c2
JM
309782012-04-30 Joseph Myers <joseph@codesourcery.com>
30979
adfbc8ac
JM
30980 [BZ #13942]
30981 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30982 (1 - x) * (1 + x).
30983 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30984 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30985 * math/libm-test.inc (acos_test): Add more tests.
30986 (asin_test): Likewise.
30987 * sysdeps/i386/fpu/libm-test-ulps: Update.
30988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30989
5ba3cc69
JM
30990 [BZ #14034]
30991 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30992 of square root.
30993 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30994 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30995 * math/libm-test.inc (acos_test_tonearest): New function.
30996 (acos_test_towardzero): Likewise.
30997 (acos_test_downward): Likewise.
30998 (acos_test_upward): Likewise.
30999 (asin_test_tonearest): Likewise.
31000 (asin_test_towardzero): Likewise.
31001 (asin_test_downward): Likewise.
31002 (asin_test_upward): Likewise.
31003 (main): Call the new functions.
31004 * sysdeps/i386/fpu/libm-test-ulps: Update.
31005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31006
9568c0c2
JM
31007 [BZ #13884]
31008 [BZ #13924]
31009 * math/e_exp10.c: Include <float.h>.
31010 (__ieee754_exp10): Handle underflow here rather than multiplying
31011 large negative argument by M_LN10.
31012 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31013 of __ieee754_expf.
31014 * math/e_exp10l.c: Include <float.h>.
31015 (__ieee754_exp10l): Handle underflow here rather than multiplying
31016 large negative argument by M_LN10l.
31017 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31018 spurious overflow exception on underflow.
31019
5ac3ea17
MP
310202012-04-29 Marek Polacek <polacek@redhat.com>
31021
31022 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31023 (__fortify_function): New macro.
31024 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31025 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31026 __extern_always_inline.
31027 * libio/bits/stdio2.h: Likewise.
31028 * libio/bits/stdio.h: Likewise.
31029 * string/string.h: Likewise.
31030 * string/bits/string3.h: Likewise.
31031 * include/stdio.h: Likewise.
31032 * stdlib/bits/stdlib.h: Likewise.
31033 * stdlib/stdlib.h: Likewise.
31034 * rt/bits/mqueue2.h: Likewise.
31035 * rt/mqueue.h: Likewise.
31036 * posix/bits/unistd.h: Likewise.
31037 * posix/unistd.h: Likewise.
31038 * io/bits/poll2.h: Likewise.
31039 * io/bits/fcntl2.h: Likewise.
31040 * io/fcntl.h: Likewise.
31041 * io/sys/poll.h: Likewise.
31042 * misc/bits/syslog.h: Likewise.
31043 * misc/bits/syslog-ldbl.h: Likewise.
31044 * misc/sys/syslog.h: Likewise.
31045 * socket/bits/socket2.h: Likewise.
31046 * socket/sys/socket.h: Likewise.
31047 * debug/tst-chk1.c: Likewise.
31048 * wcsmbs/bits/wchar2.h: Likewise.
31049 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31050 * wcsmbs/wchar.h: Likewise.
31051
ecf0ebfb
AJ
310522012-04-29 Andreas Jaeger <aj@suse.de>
31053
31054 * Makerules (tests): Remove enable-check-abi protection.
31055 (check-abi-warn): Remove.
31056 (check-abi-%): Remove check-abi-warn usage.
31057
31058 * configure.in: Remove check-abi configure option.
31059 * configure: Regenerated.
31060 * config.make.in (enable-check-abi): Remove.
31061
6d5c57fa
AS
310622012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31063
24c5d07e 31064 [BZ #14033]
ded5180a
AS
31065 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31066 double functions to double *_finite functions.
31067
7e0d315d
AS
31068 [BZ #13941]
31069 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31070 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31071 LDBL_MIN_EXP.
31072 * stdio-common/Makefile (tests): Add tst-sprintf3.
31073 * stdio-common/tst-sprintf3.c: New file.
31074
6d5c57fa
AS
31075 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31076 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31077
0749ff8b
JM
310782012-04-28 Joseph Myers <joseph@codesourcery.com>
31079
31080 * conform/conformtest.pl: Remove duplicate typed-constant
31081 handling.
31082
8dbd5d7b
DM
310832012-04-28 David S. Miller <davem@davemloft.net>
31084
31085 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31086 (check-abi-%): Remove AWK script prerequisite and explicit
31087 abilist directory.
31088 (check-abi): Rewrite to just diff the symlist with the abilist.
31089 (config-tls, config-abi-config): Delete, no longer used.
31090 (update-abi-%): Remove AWK script and explicit abilist directory.
31091 (update-abi): Rewrite to simply compare and conditionally copy the
31092 symlist and the sysdep abilist file. Remove update-abi-config
31093 checks.
31094 * abilist/ld.abilist: Remove.
31095 * abilist/libBrokenLocale.abilist: Remove.
31096 * abilist/libanl.abilist: Remove.
31097 * abilist/libcrypt.abilist: Remove.
31098 * abilist/libdl.abilist: Remove.
31099 * abilist/librt.abilist: Remove.
31100 * abilist/libthread_db.abilist: Remove.
31101 * abilist/libutil.abilist: Remove.
31102 * scripts/extract-abilist.awk: Remove.
31103 * scripts/merge-abilist.awk: Remove.
31104 * sysdeps/generic/libcidn.abilist: New file.
31105 * sysdeps/generic/libnss_compat.abilist: New file.
31106 * sysdeps/generic/libnss_db.abilist: New file.
31107 * sysdeps/generic/libnss_dns.abilist: New file.
31108 * sysdeps/generic/libnss_files.abilist: New file.
31109 * sysdeps/generic/libnss_hesiod.abilist: New file.
31110 * sysdeps/generic/libnss_nis.abilist: New file.
31111 * sysdeps/generic/libnss_nisplus.abilist: New file.
31112 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31113 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31114 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31115 file.
31116 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31117 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31118 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31119 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31120 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31121 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31122 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31123 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31124 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31125 file.
31126 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31127 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31128 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31129 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31130 file.
31131 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31132 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31133 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31134 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31135 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31136 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31137 file.
31138 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31139 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31140 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31141 file.
31142 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31144 New file.
31145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31146 New file.
31147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31148 New file.
31149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31150 New file.
31151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31152 New file.
31153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31154 New file.
31155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31156 New file.
31157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31158 New file.
31159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31160 New file.
31161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31162 New file.
31163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31164 New file.
31165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31166 New file.
31167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31168 New file.
31169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31170 file.
31171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31172 New file.
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31174 New file.
31175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31176 file.
31177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31178 New file.
31179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31180 New file.
31181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31182 file.
31183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31184 New file.
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31186 New file.
31187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31188 New file.
31189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31190 New file.
31191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31192 New file.
31193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31194 New file.
31195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31197 file.
31198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31199 New file.
31200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31201 file.
31202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31203 file.
31204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31205 file.
31206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31207 file.
31208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31209 file.
31210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31211 New file.
31212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31213 file.
31214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31215 file.
31216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31217 New file.
31218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31219 file.
31220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31222 file.
31223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31224 New file.
31225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31226 file.
31227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31228 file.
31229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31230 file.
31231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31232 file.
31233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31234 file.
31235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31236 New file.
31237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31238 file.
31239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31240 file.
31241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31242 New file.
31243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31244 file.
31245 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31246 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31247 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31248 file.
31249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31250 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31251 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31252 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31253 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31254 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31255 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31256 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31257 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31258 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31261 file.
31262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31263 New file.
31264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31265 file.
31266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31267 file.
31268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31269 file.
31270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31271 file.
31272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31273 file.
31274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31275 New file.
31276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31277 New file.
31278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31279 file.
31280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31281 New file.
31282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31283 file.
31284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31286 file.
31287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31288 New file.
31289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31290 file.
31291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31292 file.
31293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31294 file.
31295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31296 file.
31297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31298 file.
31299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31300 New file.
31301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31302 New file.
31303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31304 file.
31305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31306 New file.
31307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31308 file.
31309
41d73a1b
JM
313102012-04-28 Joseph Myers <joseph@codesourcery.com>
31311
31312 * conform/conformtest.pl: Fix typo in handling typed-constant from
31313 allow-header.
31314
28aeeda4
JM
313152012-04-27 Joseph Myers <joseph@codesourcery.com>
31316
adae8f5e
JM
31317 * README: Cut down references to pre-2.6 Linux kernels and
31318 Linuxthreads. Update lists of configurations in libc and ports
31319 and sort alphabetically. Say "or newer" with Linux kernel version
31320 requirements.
31321
28aeeda4
JM
31322 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31323
a462cb63
RA
313242012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31325
31326 [BZ #887]
31327 * math/libm-test.inc (logb_test_downward): New test to expose
31328 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31329 rounding mode.
31330
6ad3493e
JM
313312012-04-27 Joseph Myers <joseph@codesourcery.com>
31332
31333 [BZ #14027]
31334 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31335 to be done.
31336 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31337 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31338
2ce4f015
JM
313392012-04-26 Joseph Myers <joseph@codesourcery.com>
31340
5aeb141a
JM
31341 * sysdeps/unix/i386/brk.S: Remove file.
31342 * sysdeps/unix/i386/dl-brk.S: Likewise.
31343 * sysdeps/unix/i386/pipe.S: Likewise.
31344 * sysdeps/unix/i386/sigreturn.S: Likewise.
31345 * sysdeps/unix/i386/syscall.S: Likewise.
31346 * sysdeps/unix/i386/vfork.S: Likewise.
31347 * sysdeps/unix/i386/wait.S: Likewise.
31348
7143acae
JM
31349 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31350 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31351
2ce4f015
JM
31352 * configure.in (arm*-none*): Do not allow without
31353 --enable-hacker-mode.
31354 (netbsd*): Remove case setting base_os.
31355 (386bsd*): Likewise.
31356 (freebsd*): Likewise.
31357 (bsdi*): Likewise.
31358 (osf*): Likewise.
31359 (sunos*): Likewise.
31360 (ultrix*): Likewise.
31361 (newsos*): Likewise.
31362 (dynix*): Likewise.
31363 (*bsd*): Likewise.
31364 (sysv*): Likewise.
31365 (isc*): Likewise.
31366 (esix*): Likewise.
31367 (sco*): Likewise.
31368 (minix*): Likewise.
31369 (irix4*): Likewise.
31370 (irix6*): Likewise.
31371 (solaris[2-9]*): Likewise.
31372 (none): Likewise.
31373 * configure: Regenerated.
31374
0ac229c8
AZ
313752012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31376
31377 [BZ #11521]
31378 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31379 overflow or cancellation in calculating denominator.
31380 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31381 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31382 down expression to avoid unexpected rounding in newer GCCs.
31383 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31384
33f244f4
DM
313852012-04-26 David S. Miller <davem@davemloft.net>
31386
31387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31388 long-double compat symbols.
31389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31402
cfa1f3e8
DM
314032012-04-25 David S. Miller <davem@davemloft.net>
31404
31405 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31406 HWCAP_* values only after the memory barriers have been defined.
31407 (atomic_full_barrier): Define.
31408 (atomic_read_barrier): Define.
31409 (atomic_write_barrier): Define.
31410
6e236b92
SP
314112012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31412
31413 * shlib-versions: Add libgcc_s version information.
31414 * sysdeps/generic/libgcc_s.h: Remove.
31415 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31416 libgcc_s.h.
31417 * sysdeps/gnu/unwind-resume.c: Likewise.
31418 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31419
aab39a09
DM
314202012-04-25 David S. Miller <davem@davemloft.net>
31421
31422 * sysdeps/unix/sparc/brk.S: Delete.
31423 * sysdeps/unix/sparc/dl-brk.S: Delete.
31424 * sysdeps/unix/sparc/pipe.S: Delete.
31425 * sysdeps/unix/sparc/sysdep.S: Delete.
31426 * sysdeps/unix/sparc/sysdep.h: Delete.
31427 * sysdeps/unix/sparc/vfork.S: Delete.
31428 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31429 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31431 ret_ERRVAL, r0, r1, MOVE): Define.
31432 (JUMPTARGET): Remove.
31433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31434 sysdeps/unix/sparc/sysdep.h
31435 (ENTRY, END): Remove.
31436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31437
a3cc4f48
JM
314382012-04-25 Joseph Myers <joseph@codesourcery.com>
31439
2ed8cda2
JM
31440 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31441 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31442 -DIS_IN_build.
31443
35d76d59
JM
31444 * timezone/README: Update upstream location and email address for
31445 tzcode and tzdata.
31446 * timezone/zdump.c: Update from tzcode 2012b.
31447 * timezone/zic.c: Likewise.
31448
a3cc4f48
JM
31449 * configure.in (libc_cv_as_needed): Remove test.
31450 * configure: Regenerated.
31451 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31452 conditional definition.
31453 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31454 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31455 * config.make.in (have-as-needed): Remove variable.
31456
ceab42c3
SP
314572012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31458 Paul Pluzhnikov <ppluzhnikov@google.com>
31459
31460 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31461 strings correctly.
31462
3ce2865f
CLT
314632012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31464
31465 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31466 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31467 * sysdeps/sh/strlen.S: Likewise.
31468
f37e0d68
JM
314692012-04-24 Joseph Myers <joseph@codesourcery.com>
31470
ae186e9a
JM
31471 * sysdeps/unix/fork.S: Remove file.
31472 * sysdeps/unix/i386/fork.S: Likewise.
31473 * sysdeps/unix/sparc/fork.S: Likewise.
31474
b96914af
JM
31475 * sysdeps/unix/system.c: Remove file.
31476 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31477
f37e0d68
JM
31478 * sysdeps/unix/getegid.S: Remove file.
31479 * sysdeps/unix/geteuid.S: Likewise.
31480
87ef29ca
RM
314812012-04-24 Roland McGrath <roland@hack.frob.com>
31482
83bcd236
RM
31483 * scripts/check-localplt.awk: New file.
31484 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31485 of diff.
31486 * scripts/data/localplt-generic.data: Add a comment.
31487
87ef29ca
RM
31488 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31489 NODE when __dir_mkfile failed.
31490 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31491 Reported by Ludovic Courtès <ludo@gnu.org>.
31492
e5a6e567
AJ
314932012-04-24 Andreas Jaeger <aj@suse.de>
31494
31495 * Makerules (common-clean): Also remove gen-as-const-headers
31496 files.
31497
c1820385
JM
314982012-04-24 Joseph Myers <joseph@codesourcery.com>
31499
31500 * Makerules (native-compile): Do not change working directory for
31501 build. Use $(OUTPUT_OPTION) in command.
31502 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31503
94e02fc4
AZ
315042012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31505
31506 [BZ #13886]
31507 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31508 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31509 * math/libm-test.inc (floor_test): Add more tests.
31510 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31511
3a533ca3
JM
315122012-04-24 Joseph Myers <joseph@codesourcery.com>
31513
940ab4b3
JM
31514 * sysdeps/unix/getdents.c: Remove file.
31515 * sysdeps/unix/sysv/getdents.c: Likewise.
31516 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31517
90e037bd
JM
31518 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31519 sysdeps/unix/mman/syscalls.list.
31520 (mmap): Likewise.
31521 (mprotect): Likewise.
31522 (msync): Likewise.
31523 (munmap): Likewise.
31524 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31525 * sysdeps/unix/mman/syscalls.list: Remove.
31526 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31527
3a533ca3
JM
31528 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31529 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31530 * configure: Regenerated.
31531 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31532 $(libgcc_s_suffix).
31533 * config.make.in (libgcc_s_suffix): Remove variable.
31534
1ad743de
JM
315352012-04-23 Joseph Myers <joseph@codesourcery.com>
31536
4ad451e2
JM
31537 * sysdeps/unix/sysv/gethostname.c: Move to ...
31538 * sysdeps/posix/gethostname.c: ... here.
31539
5e37ce39
JM
31540 * sysdeps/unix/execve.S: Remove file.
31541
1ad743de
JM
31542 * sysdeps/unix/_exit.S: Remove file.
31543
4e681b5b
AJ
315442012-04-23 Andreas Jaeger <aj@suse.de>
31545
31546 [BZ #13739]
31547 * manual/Makefile: Remove make dist support, there's no
31548 need for a stand-alone documentation tar ball.
31549 (TEXI2DVI): Define always, it's not in Makeconfig.
31550 (dist): Removed.
31551 (tar-it): Removed.
31552 (edition): Removed.
31553 (glibc-doc-$(edition).tar): Removed
31554 (%.Z): Removed.
31555 (%.gz): Removed.
31556 (%.uu): Removed.
31557 (ETAGS): Remove, it's in Makeconfig.
31558 (move-if-change): Remove, it's in Makeconfig.
31559
38686a03 315602012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31561
31562 [BZ #13970]
31563 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31564 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31565 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31566 (strtod_l, strtof_l, strtold_l): Remove __wur.
31567 It is not necessarily an error to ignore strtol's return value.
31568 One can reliably look at the stored endptr to decide whether
31569 the number had valid syntax.
31570
7c0616fa
AJ
315712012-04-21 Andreas Jaeger <aj@suse.de>
31572
803cb6b7 31573 [BZ #13739]
7c0616fa
AJ
31574 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31575
b0fe253f
JM
315762012-04-21 Joseph Myers <joseph@codesourcery.com>
31577
31578 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31579 * sysdeps/unix/sysv/Versions: Remove file.
31580
8280f22d
MT
315812012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31582
31583 [BZ #13927]
31584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31585
75ce411f 315862012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31587
31588 [BZ #7064]
31589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31590 version from __vm86.
31591
097d59fa
JM
315922012-04-20 Joseph Myers <joseph@codesourcery.com>
31593
a90f3bcb
JM
31594 * sysdeps/unix/common/lxstat.c: Remove file.
31595 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31596
edc7ea78
JM
31597 * sysdeps/unix/sysv/Makefile: Remove file.
31598
cb78c221
JM
31599 * sysdeps/unix/sysv/direct.h: Remove file.
31600
efa6a45f
JM
31601 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31602 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31603 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31604 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31605 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31606 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31607 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31608
9c9f2d0c
JM
31609 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31610
4541c83b
JM
31611 * sysdeps/unix/xmknod.c: Remove file.
31612 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31613
f5d153a0
JM
31614 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31615
aa746595
JM
31616 * sysdeps/unix/sysv/i386/time.S: Remove file.
31617
cce5905e
JM
31618 * sysdeps/unix/fxstat.c: Remove file.
31619 * sysdeps/unix/xstat.c: Likewise.
31620 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31621
37fa3841
JM
31622 * sysdeps/unix/sysv/sigaction.c: Remove file.
31623
ff1962a3
JM
31624 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31625 (sysdep_headers): Remove variable.
31626 [termio.h not in sysdep_headers] (generated): Likewise.
31627 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31628 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31629 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31630 * sysdeps/unix/sysv/tcflow.c: Likewise.
31631 * sysdeps/unix/sysv/tcflush.c: Likewise.
31632 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31633 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31634 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31635 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31636 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31637
e7740d31
JM
31638 * sysdeps/unix/siglist.c: Remove file.
31639
ee06f18b
JM
31640 * sysdeps/unix/getppid.S: Remove file.
31641
097d59fa
JM
31642 * sysdeps/unix/mkdir.c: Remove file.
31643 * sysdeps/unix/rmdir.c: Likewise.
31644
ff3d51ec
AS
316452012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31646
31647 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31648 ERR_MAX value.
31649 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31650 errlist-compat value.
31651
50f81fd7
DM
316522012-04-18 David S. Miller <davem@davemloft.net>
31653
31654 * sysdeps/generic/memcopy.h (reg_char): Delete.
31655 * debug/strcat_chk.c: Use char, not reg_char.
31656 * debug/strcpy_chk.c: Likewise.
31657 * debug/strncat_chk.c: Likewise.
31658 * debug/strncpy_chk.c: Likewise.
31659 * string/memchr.c: Likewise.
31660 * string/memrchr.c: Likewise.
31661 * string/rawmemchr.c: Likewise.
31662 * string/strcat.c: Likewise.
31663 * string/strchr.c: Likewise.
31664 * string/strchrnul.c: Likewise.
31665 * string/strcmp.c: Likewise.
31666 * string/strcpy.c: Likewise.
31667 * string/strncat.c: Likewise.
31668 * string/strncmp.c: Likewise.
31669 * string/strncpy.c: Likewise.
31670
8ff41c46
WS
316712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31672
31673 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31674 __builtin_memcopy is called when src and dest ranges are known to not
31675 overlap.
31676
6b652f46
WS
316772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31678
31679 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31680 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31681 fwd_align_merge macro call.
31682 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31683 bwd_align_merge macro call.
31684 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31685
b282631e
WS
316862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31687
31688 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31689 bwd_align_merge macros.
31690 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31691 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31692 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31693
95aa737c
DM
316942012-04-18 David S. Miller <davem@davemloft.net>
31695
31696 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31697
7a99a614
AJ
316982012-04-18 Andreas Jaeger <aj@suse.de>
31699
31700 [BZ# 6794]
31701 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31702 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31703 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31704
31705 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31706 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31707 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31708
31709 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31710 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31711 Adjust for changed ldbl-128 files.
31712
31713 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31714 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31716
e5270c23
DM
317172012-04-17 David S. Miller <davem@davemloft.net>
31718
31719 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31720
fb5e92c9
AS
317212012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31722
31723 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31724 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31725 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31726 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31727 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31728 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31729
76da7265
AZ
317302012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31731
31732 [BZ #6794]
31733 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31734 * math/libm-test.inc: Add ilogb errno and exception tests.
31735 * math/w_ilogb.c: New file: ilogb wrapper.
31736 * math/w_ilogbf.c: New file: ilogbf wrapper.
31737 * math/w_ilogbl.c: New file: ilogbl wrapper.
31738 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31739 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31740 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31741 exception being thrown with 0.0 as argument.
31742 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31743 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31744 exception being thrown with 0.0 as argument.
31745 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31746 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31747 exception being thrown with 0.0 as argument.
31748 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31749 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31750 exception being thrown with 0.0 as argument.
31751 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31752 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31753 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31754 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31755 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31756 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31757 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31758 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31759 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31760
0396e69d
PB
317612012-04-17 Petr Baudis <pasky@ucw.cz>
31762
31763 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31764 with altivec.
31765
750b5926
MP
317662012-04-16 Marek Polacek <polacek@redhat.com>
31767
31768 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31769
751728a1
MP
317702012-04-16 Marek Polacek <polacek@redhat.com>
31771
31772 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31773 operands of fdivp instruction.
31774
34a27407
L
317752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31776
31777 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31778 * elf/tst-auditmod3b.c: Likewise.
31779 * elf/tst-auditmod4b.c: Likewise.
31780 * elf/tst-auditmod5b.c: Likewise.
31781 * elf/tst-auditmod6b.c: Likewise.
31782 * elf/tst-auditmod6c.c: Likewise.
31783 * elf/tst-auditmod7b.c: Likewise.
31784 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31785 * sysdeps/x86_64/preconfigure.in: Likewise.
31786 * sysdeps/x86_64/preconfigure: Regenerated.
31787
7e73e17d
L
317882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31791 __ILP32__.
31792
c7a6ab72
AB
317932012-04-13 Antoine Balestrat <merkil33@gmail.com>
31794
31795 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31796 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31797
a9e8e0e0
CL
317982012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31799
31800 [BZ #13973]
31801 * locale/iso-639.def: Fix gl language name. Spotted by
31802 Yaron Shahrabani.
31803
ec98af7d
RM
318042012-04-12 Roland McGrath <roland@hack.frob.com>
31805
31806 [BZ #2074]
31807 * libio/libio.h (__io_write_fn): Update comment.
31808
247c3ede
PB
318092012-04-12 Petr Baudis <pasky@ucw.cz>
31810
31811 [BZ #2074]
31812 * stdio.texi (Hook Functions): The user provided writer function
31813 is not allowed to return -1.
31814
55939d6d
DM
318152012-04-11 David S. Miller <davem@davemloft.net>
31816
31817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31818
90020f5a
MF
318192012-04-11 Mike Frysinger <vapier@gentoo.org>
31820
31821 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31822 Add a leading slash to rtkaio.
31823
288f9098
JM
318242012-04-11 Jim Meyering <meyering@redhat.com>
31825
90020f5a
MF
31826 [BZ #11959]
31827 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31828 It is not necessarily an error to ignore fwrite's return
31829 value. One can reliably use ferror to test for errors after
31830 the fact.
288f9098 31831
4be2b570
L
318322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31833
31834 * bits/types.h (__snseconds_t): New type.
31835 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31836
31837 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31839 (__SNSECONDS_T_TYPE): Likewise.
31840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31841 (__SNSECONDS_T_TYPE): Likewise.
31842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31843 (__SNSECONDS_T_TYPE): Likewise.
31844
288f9098 318452012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31846
31847 [BZ #2636]
31848 * manual/time.texi (Processor Time): Return type of times is
31849 elapsed real time since an arbitrary point in the past.
31850 (CPU Time): Move CLK_TCK from here...
31851 (Processor Time): ...to here. Correct description.
31852 * manual/conf.texi (Constants for Sysconf): Correct description of
31853 _SC_CLK_TCK.
31854
d7dd4413
DM
318552012-04-10 David S. Miller <davem@davemloft.net>
31856
31857 [BZ #13967]
31858 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31859 where the is a gap between DT_REL(A) and DT_JMPREL.
31860
b46068fc
L
318612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31862
31863 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31864 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31865 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31866
73d65cc3
SP
318672012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31868
31869 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31870 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31871 (dl_main): Handle --inhibit-cache.
31872 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31873 _dl_inhibit_cache.
31874 * elf/dl-load.c (_dl_map_object): Use it.
31875 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31876
bcc8d661
JM
318772012-04-09 Joseph Myers <joseph@codesourcery.com>
31878
8f9a2fae
JM
31879 [BZ #13872]
31880 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31881 (__ieee754_powl): Saturate large exponents rather than testing for
31882 overflow of y*log2(x).
31883 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31884 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31885 exceptions.
31886
bcc8d661
JM
31887 [BZ #11521]
31888 * math/s_ctan.c: Include <float.h>.
31889 (__ctan): Avoid internal overflow or cancellation in calculating
31890 denominator.
31891 * math/s_ctanf.c: Likewise.
31892 * math/s_ctanl.c: Likewise.
31893 * math/s_ctanh.c: Likewise.
31894 * math/s_ctanhf.c: Likewise.
31895 * math/s_ctanhl.c: Likewise.
31896 * math/libm-test.inc (ctan_test): Add more tests.
31897 (ctanh_test): Likewise.
31898 * sysdeps/i386/fpu/libm-test-ulps: Update.
31899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31900
823fbbb4
AJ
319012012-04-09 Andreas Jaeger <aj@suse.de>
31902
03879793
AJ
31903 [BZ #6894]
31904 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31905 is an optional BSD extension.
31906
823fbbb4
AJ
31907 [BZ #10254]
31908 * manual/stdio.texi (Opening Streams): Document additional fopen
31909 parameters.
31910
8de131cb
RM
319112012-04-09 Roland McGrath <roland@hack.frob.com>
31912
31913 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31914 %eax without telling the compiler.
31915
c0ed9d7d
CD
319162012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31917
31918 [BZ # 13963]
31919 * manual/install.texi: Use sourceware.org.
31920
c483f6b4
JM
319212012-04-09 Joseph Myers <joseph@codesourcery.com>
31922
d7dd9453
JM
31923 [BZ #13873]
31924 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31925 (__ieee754_pow): Generate overflow and underflow using huge*huge
31926 and tiny*tiny rather than just returning constant infinity or zero
31927 for large exponents.
31928 * math/libm-test.inc (pow_test): Require overflow exceptions for
31929 applicable cases of large exponents.
31930
c483f6b4
JM
31931 [BZ #706]
31932 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31933 (__ieee754_pow): Use iterative multiplication algorithm only for
31934 integer exponents with absolute value below 1024. Check for odd
31935 integer exponents when using algorithm for real exponents.
31936 * math/libm-test.inc (pow_test): Add more tests.
31937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31938
d2de7579
JM
319392012-04-08 Joseph Myers <joseph@codesourcery.com>
31940
31941 [BZ #13705]
31942 * math/libm-test.inc (exp_test): Do not allow overflow exception
31943 on underflow test.
31944
f77f1232
AJ
319452012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31946
31947 [BZ #13705]
31948 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31949 instead of __kernel_standard_f.
31950
3884932b
MF
319512012-04-08 Mike Frysinger <vapier@gentoo.org>
31952
31953 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31954 * sysdeps/x86_64/memset_chk.S: Likewise.
31955
54472e9c
AJ
319562012-04-08 Andreas Jaeger <aj@suse.de>
31957
6ab0fbfc
AJ
31958 [BZ #10153]
31959 * manual/startup.texi (Environment Access): Describe return value
31960 for putenv and setenv.
31961
61efba8c
AJ
31962 [BZ #6895]
31963 * manual/filesys.texi (Directory Entries): Add description for
31964 DT_LNK.
31965
95c3f29a
AJ
31966 [BZ #6890]
31967 * manual/filesys.texi (Directory Entries): Clarify that it's file
31968 system not operating system in the description of DT_UNKNOWN.
31969
54472e9c
AJ
31970 [BZ #6578]
31971 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31972
624254b1
SC
319732012-04-08 Stephen Compall <s11@member.fsf.org>
31974
31975 [BZ #6649]
31976 * manual/llio.texi (Opening and Closing Files): Add cross
31977 reference to explain mode argument.
31978
1e4920e0
MF
319792012-04-07 Mike Frysinger <vapier@gentoo.org>
31980
31981 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31982 * sysdeps/x86_64/memset_chk.S: Likewise.
31983
5ed848f3
DM
319842012-04-07 David S. Miller <davem@davemloft.net>
31985
31986 * elf/elf.h (R_SPARC_WDISP10): Define.
31987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31988 R_SPARC_SIZE32.
31989 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31990 R_SPARC_SIZE64 and R_SPARC_H34.
31991
96154cd8
CD
319922012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31993
31994 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31995 conditions and remove no longer applicable assertion.
31996
9904dc47
L
319972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31998
31999 * bits/byteswap.h: Include <features.h>.
32000 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32001 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32002
f8887d0a
L
320032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32004
32005 * bits/byteswap.h (__bswap_16): Removed.
32006 Include <bits/byteswap-16.h> to get __bswap_16.
32007 * sysdeps/i386/bits/byteswap.h: Likewise.
32008 * sysdeps/s390/bits/byteswap.h: Likewise.
32009 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32010 * bits/byteswap-16.h: New file.
32011 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32012 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32013 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32014 * string/Makefile (headers): Add bits/byteswap-16.h.
32015
62470f60
PP
320162012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32017
32018 [BZ #13895]
32019 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32020 extra indirection.
32021 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32022 * nss/tst-nss-static.c: New.
32023
4dad7bab
RM
320242012-04-06 Robert Millan <rmh@gnu.org>
32025
32026 [BZ #6486]
32027 * manual/llio.texi (File Position Primitive): lseek
32028 refers to WHENCE when it really means OFFSET.
32029
e9142a17
AJ
320302012-04-06 Andreas Jaeger <aj@suse.de>
32031
2c040eff
AJ
32032 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32033 strncmp declarations.
32034
e9142a17
AJ
32035 * abilist/libc.abilist: Add __poll and __ppoll.
32036
ff9f1c5f
DM
320372012-04-05 David S. Miller <davem@davemloft.net>
32038
dcd2ae90
DM
32039 * scripts/check-local-headers.sh: Accept a host triplet in the
32040 path matched by the exclude regexp.
32041
993eb054
DM
32042 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32043 definition.
32044 * sysdeps/powerpc/powerpc32/dl-machine.h
32045 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32046 * sysdeps/s390/s390-32/dl-machine.h
32047 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32048 * sysdeps/sparc/sparc32/dl-machine.h
32049 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32050 * sysdeps/sparc/sparc64/dl-machine.h
32051 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32052
ff9f1c5f
DM
32053 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32054 lazy binding.
48e2e132 32055 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32056 undefined symbol errors.
32057
48e2e132 32058 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32059 DT_NEEDED entries.
32060
e80d6f94
MM
320612012-04-05 Michael Matz <matz@suse.de>
32062
32063 [BZ #13592]
32064 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32065
349fa79f
AJ
320662012-04-05 Andreas Jaeger <aj@suse.de>
32067
32068 [BZ #13908]
32069 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32070 comment.
32071
f402708f
KK
320722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32073
32074 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32075 which ROUND is no valid rounding mode.
32076
2ecccfc9
KK
320772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32078
32079 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32080 read again.
32081 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32082
8a53f50f
KK
320832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32084
32085 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32086 an exception using FPU order intentionally.
32087
320882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32089
32090 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32091 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32092 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32093 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32094
d653abb7
SJ
320952012-04-05 Simon Josefsson <simon@josefsson.org>
32096
32097 [BZ #12340]
32098 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32099 EINVAL when BUFLEN is too smal.
32100
c3b1bf7d
TS
321012012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32102
32103 [BZ #13553]
32104 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32105 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32106
b1aa60f3
AJ
321072012-04-03 Andreas Jaeger <aj@suse.de>
32108
c3b1bf7d 32109 [BZ #13938]
67f60a26
AJ
32110 * manual/setjmp.texi (System V contexts): Fix sentence.
32111
b1aa60f3
AJ
32112 [BZ #13926]
32113 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32114 New macro for this case.
32115 [!__GNUC__] (__bswap_64): New inline function for this case.
32116 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32117 * bits/byteswap.h: Likewise.
32118 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32119 ull, guard with __GLIBC_HAVE_LONG_LONG.
32120
32121 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32122 __GLIBC_HAVE_LONG_LONG.
32123
32124 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32125 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32126
39c59c35
TMQMF
321272012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32128
32129 [BZ #13691]
32130 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32131 inptr and inend, rather than using last_ch.
32132
135ffda8
DM
321332012-04-02 David S. Miller <davem@davemloft.net>
32134
32135 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32136 * stdio-common/printf-parse.h (read_int): Change return type to
32137 'int', return -1 on INT_MAX overflow.
32138 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32139 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32140 overflows INT_MAX. Check for overflow of in-format-string precision
32141 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32142 SIZE_MAX not INT_MAX for integer overflow test.
32143 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32144 skip the construct in the format string but do not record anything.
32145 * stdio-common/bug22.c: Adjust to test both width/prevision
32146 INT_MAX overflow as well as total length INT_MAX overflow. Check
32147 explicitly for proper errno values.
32148
228c019e
TS
321492012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32150
302cadd3
TS
32151 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32152 CHAR_MAX.
32153 * string/test-strcmp.c [! WIDE]: Likewise.
32154 * time/tst-mktime2.c: Likewise for INT_MAX.
32155 * string/test-string.h: #include <sys/param.h> for MIN.
32156
228c019e
TS
32157 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32158 * sysdeps/i386/init-first.c (init): Likewise.
32159 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32160 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32161 * sysdeps/sh/init-first.c (init): Likewise.
32162
cfa633f5
UD
321632012-04-01 Ulrich Drepper <drepper@gmail.com>
32164
32165 * po/ru.po: Update from translation team.
d1635ef8 32166 * po/vi.po: Likewise.
cfa633f5 32167
6cd0a5ea
SP
321682012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32169
32170 * resolv/nss_dns/dns-host.c: Merge copyright years.
32171
4b43400f
LD
321722012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32173
32174 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32175 Optimize memcpy with prefetch if
32176 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32177 src, dst pointers have unequal 16 byte alignments.
32178
48c41d04
SP
321792012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32180
32181 [BZ #13928]
32182 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32183 from a CNAME entry and return the minimum ttl for the query.
32184 (gaih_getanswer_slice): Likewise.
32185
b8dc394d
JL
321862012-03-30 Jeff Law <law@redhat.com>
32187
32188 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32189 due to long keys.
32190 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32191 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32192
2f5a5ed0
JL
32193 * resolv/nss_dns/dns-host.c: Update copyright year.
32194
1d39e359
UD
321952012-03-30 Ulrich Drepper <drepper@gmail.com>
32196
c030f70c 32197 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32198 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32199
1d39e359
UD
32200 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32201 comments for sendmmsg.
32202
322032012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32204
32205 [BZ #13691]
32206 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32207 with only 1 character between 0x0041 and 0x01b0.
32208 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32209 * wcsmbs/tst-mbsnrtowcs.c: New file.
32210
20fde227
DM
322112012-03-29 David S. Miller <davem@davemloft.net>
32212
32213 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32214 small copies by hand.
32215
984a4237
JL
322162012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32217
32218 [BZ #13761]
32219 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32220 _nss_compat_initgroups_dyn): Fall back to malloc/free
32221 for large group memberships.
32222
18c9d62b
DM
322232012-03-28 David S. Miller <davem@davemloft.net>
32224
88d85d4f
DM
32225 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32226 that branches into memcpy.
32227 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32228 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32230 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32232 bits.
32233 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32234 implementation too.
32235 * sysdeps/sparc/mempcpy.S: New file.
32236
e5aa83e1
DM
32237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32238 the IFUNC routine in the libc case.
32239 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32240
88570753
DM
32241 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32242 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32243 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32244 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32245 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32246 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32247 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32248 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32249
249d7567
DM
32250 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32251 loop to 256 bytes instead of 64 bytes and fix test signedness.
32252
18c9d62b
DM
32253 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32254 * sysdeps/sparc/sparc32/Makefile: rather than here...
32255 * sysdeps/sparc/sparc64/Makefile: and here.
32256
05f3d1f6
UD
322572012-03-28 Ulrich Drepper <drepper@gmail.com>
32258
32259 * malloc/mallocbug.c: Avoid warnings about unused variables.
32260
86ae07a8
JL
322612012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32262
32263 [BZ #13760]
32264 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32265 in the right place. Discard and retry query if response is
32266 larger than input buffer size.
32267
41bf21a1
JM
322682012-03-28 Joseph Myers <joseph@codesourcery.com>
32269
d6270972
JM
32270 [BZ #369]
32271 [BZ #2678]
32272 [BZ #3866]
32273 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32274 x for large integer exponent.
32275 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32276 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32277 sign of result as needed afterwards.
32278 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32279 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32280 result for underflowing pow the same as for overflow.
32281 (__kernel_standard_l): Handle powl overflow and underflow here
32282 rather than calling __kernel_standard.
32283 * math/libm-test.inc (pow_test): Add more tests.
32284
414fca03 32285 [BZ #3868]
41bf21a1
JM
32286 [BZ #13879]
32287 [BZ #13910]
32288 [BZ #13911]
32289 [BZ #13912]
32290 [BZ #13913]
32291 [BZ #13915]
32292 [BZ #13916]
32293 [BZ #13917]
32294 [BZ #13918]
32295 [BZ #13919]
32296 [BZ #13920]
32297 [BZ #13921]
32298 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32299 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32300 (__kernel_standard_l): New function.
32301 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32302 __kernel_standard.
32303 * math/w_acosl.c (__acosl): Likewise.
32304 * math/w_asinl.c (__asinl): Likewise.
32305 * math/w_atan2l.c (__atan2l): Likewise.
32306 * math/w_atanhl.c (__atanhl): Likewise.
32307 * math/w_coshl.c (__coshl): Likewise.
32308 * math/w_exp10l.c (__exp10l): Likewise.
32309 * math/w_exp2l.c (__exp2l): Likewise.
32310 * math/w_fmodl.c (__fmodl): Likewise.
32311 * math/w_hypotl.c (__hypotl): Likewise.
32312 * math/w_j0l.c (__j0l, __y0l): Likewise.
32313 * math/w_j1l.c (__j1l, __y1l): Likewise.
32314 * math/w_jnl.c (__jnl, __ynl): Likewise.
32315 * math/w_lgammal.c (__lgammal): Likewise.
32316 * math/w_log10l.c (__log10l): Likewise.
32317 * math/w_log2l.c (__log2l): Likewise.
32318 * math/w_logl.c (__logl): Likewise.
32319 * math/w_powl.c (__powl): Likewise.
32320 * math/w_remainderl.c (__remainderl): Likewise.
32321 * math/w_scalbl.c (sysv_scalbl): Likewise.
32322 * math/w_sinhl.c (__sinhl): Likewise.
32323 * math/w_sqrtl.c (__sqrtl): Likewise.
32324 * math/w_tgammal.c (__tgammal): Likewise.
32325 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32326 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32327 * math/libm-test.inc (acos_test): Add more tests.
32328 (acosh_test): Likewise.
32329 (asin_test): Likewise.
32330 (atanh_test): Likewise.
32331 (exp_test): Likewise.
32332 (exp10_test): Likewise.
32333 (exp2_test): Likewise.
32334 (expm1_test): Likewise.
32335 (lgamma_test): Likewise.
32336 (log_test): Likewise.
32337 (log10_test): Likewise.
32338 (log1p_test): Likewise.
32339 (log2_test): Likewise.
32340 (pow_test): Do not allow some spurious overflow exceptions.
32341 (sqrt_test): Add more tests.
32342 (tgamma_test): Likewise.
32343 (y0_test): Likewise.
32344 (y1_test): Likewise.
32345 (yn_test): Likewise.
32346
dd62fda6
AB
323472012-03-27 Anton Blanchard <anton@samba.org>
32348
32349 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32350 MAP_HUGETLB.
32351 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32352 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32353 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32354
1e3cdfda
AJ
323552012-03-27 David S. Miller <davem@davemloft.net>
32356
b855ab85
DM
32357 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32358
1e3cdfda
AJ
32359 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32360 have-as-vis3 check.
32361
323622012-03-27 Andreas Jaeger <aj@suse.de>
32363
32364 * sysdeps/x86_64/elf/configure.in: Moved to ...
32365 * sysdeps/x86_64/configure.in: ... here.
32366 * sysdeps/x86_64/elf/start.S: Moved to ...
32367 * sysdeps/x86_64/start.S: ... here.
32368 * sysdeps/x86_64/elf/configure: Delete.
32369
32370 * sysdeps/x86_64/configure.in: Merge contents from
32371 sysdeps/i386/configure.in (without i686 check).
32372
32373 * sysdeps/i386/elf/Versions: Merge into ...
32374 * sysdeps/i386/Versions: ... this.
32375 * sysdeps/i386/elf/Versions: Delete file.
32376 * sysdeps/i386/elf/start.S: Moved to ...
32377 * sysdeps/i386/start.S: ...here.
32378 * sysdeps/i386/elf/configure.in: Merge into...
32379 * sysdeps/i386/configure.in: ...here.
32380 * sysdeps/i386/elf/configure.in: Delete file.
32381 * sysdeps/i386/elf/configure: Delete file.
32382
32383 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32384 * debug/backtracesyms.c: ... here.
32385 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32386 * debug/backtracesymsfd.c: ... here.
32387 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32388 * sysdeps/generic/ifunc-sel.h: ... here.
32389
32390 * sysdeps/unix/i386/start.c: Delete file.
32391 * sysdeps/unix/sparc/start.c: Delete file.
32392 * sysdeps/unix/start.c: Delete file.
32393
32394 * sysdeps/sh/elf/configure.in: Moved to ...
32395 * sysdeps/sh/configure.in: ... here.
32396 * sysdeps/sh/elf/start.S: Moved to ...
32397 * sysdeps/sh/start.S: ... here.
32398 * sysdeps/sh/elf/configure: Delete file.
32399
32400 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32401 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32402 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32403 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32404 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32405 * sysdeps/powerpc/powerpc64/start.S: here.
32406 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32407 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32408 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32409 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32410 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32411
32412 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32413 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32414 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32415 * sysdeps/powerpc/powerpc32/start.S: ... here.
32416 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32417 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32418 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32419
32420 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32421 * sysdeps/powerpc/ifunc-sel.h: ... here.
32422 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32423 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32424
32425 * sysdeps/sparc/elf/configure.in: Moved to ...
32426 * sysdeps/sparc/configure.in: ... here.
32427 * sysdeps/sparc/elf/configure: Delete file.
32428 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32429 * sysdeps/sparc/sparc32/start.S: ... here.
32430 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32431 * sysdeps/sparc/sparc64/start.S: ... here.
32432 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32433 * sysdeps/sparc/sparc32/Makefile: ... this.
32434 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32435 * sysdeps/sparc/sparc64/Makefile: ... this.
32436
32437 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32438 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32439 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32440 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32441 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32442 * sysdeps/s390/s390-32/setjmp.S: ... here.
32443 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32444 * sysdeps/s390/s390-32/configure.in: ... here.
32445 * sysdeps/s390/s390-32/elf/configure: Delete file.
32446 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32447 * sysdeps/s390/s390-32/start.S: ... here.
32448
32449 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32450 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32451 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32452 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32453 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32454 * sysdeps/s390/s390-64/setjmp.S: ... here.
32455 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32456 * sysdeps/s390/s390-64/configure.in: ... here
32457 * sysdeps/s390/s390-64/elf/configure: Delete file.
32458 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32459 * sysdeps/s390/s390-64/start.S: ... here.
32460 * sysdeps/s390/s390-64/elf/configure: Delete.
32461
32462 * configure.in: Remove support for elf directories in sysdeps.
32463
32464 * configure: Regenerated.
32465 * sysdeps/i386/configure: Regenerated.
32466 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32467 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32468 * sysdeps/s390/s390-32/configure: Regenerated.
32469 * sysdeps/s390/s390-64/configure: Regenerated.
32470 * sysdeps/sh/configure: Regenerated.
32471 * sysdeps/sparc/configure: Regenerated.
32472 * sysdeps/x86_64/configure: Regenerated.
32473
a3f61311
AS
324742012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32475
c876e002
AS
32476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32477
a3f61311
AS
32478 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32479 denormal result into account.
32480
ac4c54f0
RM
324812012-03-25 Roland McGrath <roland@hack.frob.com>
32482
32483 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32484 Reported by Allan McRae <allan@archlinux.org>.
32485
6a9b9c02
JL
324862012-03-23 Jeff Law <law@redhat.com>
32487
32488 * nss/getnssent.c (__nss_getent): Fix typo.
32489
4c42a0c1
DM
324902012-03-23 David S. Miller <davem@davemloft.net>
32491
32492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32493
1532c7ac
L
324942012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32495
32496 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32497 to pad to uint64_t for each field.
32498 (dl_tls_index): Replace unsigned long with uint64_t.
32499
3ff42526
PP
325002012-03-23 Daniel Jacobowitz <dmj@google.com>
32501 Paul Pluzhnikov <ppluzhnikov@google.com>
32502
32503 [BZ #6528]
32504 * grp/Makefile (otherlibs): Don't set it.
32505 * inet/Makefile (otherlibs): Likewise.
32506 * login/Makefile (otherlibs): Likewise.
32507 * nscd/Makefile (otherlibs): Likewise.
32508 * posix/Makefile (otherlibs): Likewise.
32509 * pwd/Makefile (otherlibs): Likewise.
32510 * rt/Makefile (otherlibs): Likewise.
32511 * sunrpc/Makefile (otherlibs): Likewise.
32512 * nss/Makefile (otherlibs): Likewise.
32513 Add libnss_files to routines and static-only-routines.
32514 ($(objpfx)getent): Remove rule.
32515 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32516 static-only-routines.
32517
7c69cd14
JM
325182012-03-22 Joseph Myers <joseph@codesourcery.com>
32519
32520 [BZ #13892]
32521 * math/s_cexp.c: Include <float.h>.
32522 (__cexp): Handle exp result overflowing not necessarily
32523 overflowing both real and imaginary parts of result.
32524 * math/s_cexpf.c: Likewise.
32525 * math/s_cexpl.c: Likewise.
32526 * math/libm-test.inc (cexp_test): Add more tests.
32527 * sysdeps/i386/fpu/libm-test-ulps: Update.
32528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32529
81b035fe
L
325302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32531
32532 * include/link.h (ELFW): New macro.
32533 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32534 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32535
1da7940c
L
325362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32537
32538 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32539 with uint64_t.
32540
b749dbb9
L
325412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32542
32543 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32544 declaration.
32545 (struct La_x32_retval): Likewise.
32546
2ff87f3f
L
325472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32548
32549 * sysdeps/x86_64/preconfigure.in: New file.
32550 * sysdeps/x86_64/preconfigure: New generated file.
32551
c0df8e69
JM
325522012-03-22 Joseph Myers <joseph@codesourcery.com>
32553
48e44791
JM
32554 [BZ #13824]
32555 * math/e_exp2l.c: Include <float.h>.
32556 (__ieee754_exp2l): Handle overflow and underflow cases
32557 separately. Only pass fractional part of argument to
32558 __ieee754_expl.
32559 * math/libm-test.inc (exp2_test): Add more tests.
32560
c0df8e69
JM
32561 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32562 negating x to take absolute value.
32563 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32564 Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32567 Likewise.
32568 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32569 computing low part if x was negated.
32570 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32571
c8e43ba7
L
325722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32573
32574 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32575 la_x32_gnu_pltexit.
32576 (pltexit): Cast int_retval to ptrdiff_t.
32577 * elf/tst-auditmod3b.c: Likewise.
32578 * elf/tst-auditmod4b.c: Likewise.
32579 * elf/tst-auditmod5b.c: Likewise.
32580 * elf/tst-auditmod6b.c: Likewise.
32581 * elf/tst-auditmod6c.c: Likewise.
32582 * elf/tst-auditmod7b.c: Likewise.
32583
32584 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32585 and x32_gnu_pltexit.
32586
32587 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32588 __ELF_NATIVE_CLASS.
32589 (La_x32_regs): New macro.
32590 (La_x32_retval): Likewise.
32591 (la_x32_gnu_pltenter): New function prototype.
32592 (la_x32_gnu_pltexit): Likewise.
32593
7998fa78
AS
325942012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32595
dcb33988
AS
32596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32597 exponent.
32598
233fc563
AS
32599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32600
7998fa78
AS
32601 * configure.in (libc_cv_cc_nofma): Check for option to disable
32602 generation of FMA instructions.
32603 * configure: Regenerate.
32604 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32605 * sysdeps/ieee754/dbl-64/Makefile: New file.
32606 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32607 Remove brandred-fma4.
32608 (CFLAGS-brandred-fma4.c): Remove.
32609 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32610 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32611 define.
32612 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32613 define.
32614
8e95c99a
L
326152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32616
32617 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32618 LLONG_MAX != LONG_MAX.
32619 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32620 (_fitoa_word): Likewise.
32621 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32622 LLONG_MAX != LONG_MAX.
32623 * stdio-common/_itowa.h: Include <_itoa.h>.
32624 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32625 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32626 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32627 only if not defined.
32628 (_ITOA_WORD_TYPE): Likewise.
32629 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32630 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32631
6f4db457
DM
326322012-03-21 David S. Miller <davem@davemloft.net>
32633
32634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32635
7785fe5a
L
326362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32637
32638 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32639 of x86_64 when setting libc_cv_slibdir, libdir and
32640 libc_cv_localedir.
32641 * sysdeps/unix/sysv/linux/configure: Regenerated.
32642
4535cd55
JM
326432012-03-21 Joseph Myers <joseph@codesourcery.com>
32644
32645 * manual/lang.texi (Old Varargs): Remove section.
32646 (How Variadic): Update menu.
32647 (va_start): Do not mention varargs.h.
32648
17228132
TS
326492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32650 Joseph Myers <joseph@codesourcery.com>
32651
32652 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32653 link test.
32654 * configure: Regenerated.
32655
8149f976
TS
326562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32657
05f3d1f6
UD
32658 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32659 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32660 conformtest.pl
8149f976 32661
1a4ac776
JM
326622012-03-21 Joseph Myers <joseph@codesourcery.com>
32663
be22ce65
JM
32664 * NOTES: Remove.
32665 * Makefile (files-for-dist): Remove NOTES.
32666 (NOTES): Remove rule.
32667 * README: Don't refer to NOTES.
32668 * manual/creature.texi: Don't include macros.texi.
32669 * manual/intro.texi (creature.texi): Remove comment referring to
32670 NOTES.
32671
40b601fb
JM
32672 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32673 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32674 * configure: Regenerated.
32675 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32676 LIBC_TRY_CC_OPTION.
32677 (libc_cv_as_i686): Likewise.
32678 (libc_cv_cc_avx): Likewise.
32679 (libc_cv_cc_sse2avx): Likewise.
32680 (libc_cv_cc_fma4): Likewise.
32681 (libc_cv_cc_novzeroupper): Likewise.
32682 * sysdeps/i386/configure: Regenerated.
32683
1a4ac776
JM
32684 [BZ #13883]
32685 * sysdeps/i386/fpu/s_cexp.S: Remove.
32686 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32687 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32688 * math/libm-test.inc (cexp_test): Add more tests.
32689 * sysdeps/i386/fpu/libm-test-ulps: Update.
32690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32691
a458e7fe
AM
326922012-03-21 Allan McRae <allan@archlinux.org>
32693
32694 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32695
0cb7efc5
JM
326962012-03-21 Joseph Myers <joseph@codesourcery.com>
32697
32698 [BZ #13871]
32699 * math/w_exp2.c: Do not include <float.h>.
32700 (o_threshold, u_threshold): Remove.
32701 (__exp2): Calculate result before checking finiteness and calling
32702 __kernel_standard.
32703 * math/w_exp2f.c: Likewise.
32704 * math/w_exp2l.c: Likewise.
32705 * math/libm-test.inc (exp2_test): Require overflow exception for
32706 1e6 input.
2460d3aa
JM
32707
32708 [BZ #3866]
32709 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32710 range of signed 64-bit integers before using fistpll. Remove
32711 checks for whether integers fit in mantissa bits.
32712 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32713 the range of signed 32-bit integers before using fistpl. Remove
32714 checks for whether integers fit in mantissa bits.
32715 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32716 (__ieee754_powl): Test for y outside the range of signed 64-bit
32717 integers before using fistpll. Reduce 64-bit values to 63-bit
32718 ones as needed.
32719 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32720 divide-by-zero is raised for zero to large negative powers.
32721 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32722 (__ieee754_powl): Test for y outside the range of signed 64-bit
32723 integers before using fistpll. Reduce 64-bit values to 63-bit
32724 ones as needed.
32725 * math/libm-test.inc (pow_test): Add more tests.
32726
eb96ffb0
L
327272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32728
32729 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32730 <stdio-common/_itoa.h>.
32731 * debug/segfault.c: Likewise.
32732 * elf/dl-cache.c: Likewise.
32733 * elf/dl-minimal.c: Likewise.
32734 * elf/dl-misc.c: Likewise.
32735 * elf/dl-sysdep.c: Likewise.
32736 * elf/dl-version.c: Likewise.
32737 * elf/rtld.c: Likewise.
32738 * hurd/hurdsock.c: Likewise.
32739 * hurd/lookup-retry.c: Likewise.
32740 * malloc/malloc.c: Likewise.
32741 * malloc/mtrace.c: Likewise.
32742 * nscd/nscd_getgr_r.c: Likewise.
32743 * nscd/nscd_getpw_r.c: Likewise.
32744 * nscd/nscd_getserv_r.c: Likewise.
32745 * posix/getopt_init.c: Likewise.
32746 * posix/wordexp.c: Likewise.
32747 * stdio-common/_itoa.c: Likewise.
32748 * stdio-common/printf_fphex.c: Likewise.
32749 * stdio-common/vfprintf.c: Likewise.
32750 * string/_strerror.c: Likewise.
32751 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32752 * sysdeps/i386/i686/hp-timing.h: Likewise.
32753 * sysdeps/mach/_strerror.c: Likewise.
32754 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32755 * sysdeps/mach/hurd/sethostid.c: Likewise.
32756 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32757 * sysdeps/mach/xpg-strerror.c: Likewise.
32758 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32759 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32760 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32761 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32762 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32763 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32764 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32765 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32766 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32767 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32768 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32769 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32770 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32771 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32772 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32773 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32774 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32775 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32776 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32777 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32778 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32779
32780 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32781
32782 * stdio-common/_itoa.h: Moved to ...
32783 * sysdeps/generic/_itoa.h: Here.
32784
32785 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32786
32787 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32788 instead of "_itoa.h" and "_itowa.h".
32789 * stdio-common/vfprintf.: Likewise.
32790
d1af992d
L
327912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32792
32793 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32794 <bits/wordsize.h>.
32795 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32796 (__signbit): Likwise.
32797 (llrintf): Likwise.
32798 (llrint): Likwise.
32799
114883e0
L
328002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32801
32802 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32803 __WORDSIZE != 64.
32804
c135cc1b
JM
328052012-03-20 Joseph Myers <joseph@codesourcery.com>
32806
32807 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32808 OVERFLOW_EXCEPTION_OK.
32809 * math/libm-test.inc ("Philosophy"): Update comment about
32810 exception testing.
32811 (OVERFLOW_EXCEPTION): Define.
32812 (OVERFLOW_EXCEPTION_OK): Likewise.
32813 (INVALID_EXCEPTION_OK): Renumber.
32814 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32815 (IGNORE_ZERO_INF_SIGN): Likewise.
32816 (test_exceptions): Handle FE_OVERFLOW.
32817 (exp10_test): Expect overflow exceptions.
32818 (exp2_test): Likewise.
32819 (expm1_test): Likewise.
32820 (nextafter_test): Likewise.
32821 (pow_test): Likewise.
32822 (scalbn_test): Likewise.
32823 (scalbln_test): Likewise.
32824
95443d88
L
328252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32826
32827 * sysdeps/x86_64/bits/atomic.h
32828 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32829 64bit integer.
32830 (atomic_exchange_acq): Likewise.
32831 (__arch_exchange_and_add_body): Likewise.
32832 (__arch_add_body): Likewise.
32833 (atomic_add_negative): Likewise.
32834 (atomic_add_zero): Likewise.
32835
490df6c4
L
328362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32837
c2722551 32838 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32839 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32840
5e52b189
L
328412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32842
32843 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32844 Check __x86_64__ instead of __WORDSIZE.
32845
a9879d4c
L
328462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32847
32848 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32849
5df98260
DM
328502012-03-19 David S. Miller <davem@davemloft.net>
32851
e1497744
DM
32852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32853
5df98260
DM
32854 * sysdeps/sparc/fpu/fenv_private.h: New file.
32855 * sysdeps/sparc/fpu/math_private.h: Use it.
32856 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32857 Remove.
32858 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32859 (libc_feholdexcept_setroundl): Remove.
32860 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32861 Remove.
32862 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32863 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32864
b4c35121
L
328652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32866
32867 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32868 int64_t instead of long int.
32869 (INSERT_WORDS64): Likwise.
32870
56965fd7
L
328712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32872
32873 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32874 _Unwind_GetCFA return to _Unwind_Ptr first.
32875
83d1aec8
JM
328762012-03-19 Joseph Myers <joseph@codesourcery.com>
32877
1897ad44
JM
32878 [BZ #13629]
32879 * math/s_clog.c: Include <float.h>.
32880 (__clog): Scale large or subnormal inputs.
32881 * math/s_clogf.c: Likewise.
32882 * math/s_clogl.c: Likewise.
32883 * math/s_clog10.c: Include <float.h>.
32884 (M_LOG10_2): Define.
32885 (__clog10): Scale large or subnormal inputs.
32886 * math/s_clog10f.c: Likewise.
32887 * math/s_clog10l.c: Likewise.
32888 * math/libm-test.inc (clog_test): Add more tests.
32889 (clog10_test): Likewise.
32890 * sysdeps/i386/fpu/libm-test-ulps: Update.
32891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32892
7726d6a9
JM
32893 [BZ #11451]
32894 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32895 x and y.
32896 * math/libm-test.inc (atan2_test): Add another test.
32897
83d1aec8
JM
32898 * Makerules (common-objdir-compile): Remove.
32899 * sysdeps/unix/Makefile (config-generated): Do not add
32900 $(unix-generated) to variable.
32901 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32902 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32903 Remove rule.
32904 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32905 Likewise.
32906 [generic bits/local_lim.h] (before-compile): Do not append to
32907 variable.
32908 [generic bits/local_lim.h] (common-generated): Likewise.
32909 [generic sys/param.h] (before-compile): Do not append to variable.
32910 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32911 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32912 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32913 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32914 include.
32915 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32916 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32917 [generic sys/param.h] ($(addprefix
32918 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32919 [generic sys/param.h] (common-generated): Do not append to
32920 variable.
32921 [generic sys/param.h] (sysdep_headers): Likewise.
32922 [generic bits/errno.h] (before-compile): Do not append to
32923 variable.
32924 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32925 rule.
32926 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32927 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32928 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32929 [generic bits/errno.h] (common-generated): Do not append to
32930 variable.
32931 [generic bits/ioctls.h] (before-compile): Do not append to
32932 variable.
32933 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32934 rule.
32935 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32936 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32937 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32938 rule.
32939 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32940 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32941 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32942 [generic bits/ioctls.h] (common-generated): Do not append to
32943 variable.
32944 [generic sys/syscall.h] (syscall.h): Remove variable.
32945 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32946 rule.
32947 [generic sys/syscall.h] (before-compile): Do not append to
32948 variable.
32949 [generic sys/syscall.h] (common-generated): Likewise.
32950 * sysdeps/unix/errnos-tmpl.c: Remove file.
32951 * sysdeps/unix/errnos.awk: Likewise.
32952 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32953 * sysdeps/unix/ioctls.awk: Likewise.
32954 * sysdeps/unix/mk-local_lim.c: Likewise.
32955 * sysdeps/unix/snarf-ioctls: Likewise.
32956
4851a949
RH
329572012-03-19 Richard Henderson <rth@twiddle.net>
32958
bd37f2ee
RH
32959 * sysdeps/i386/fpu/fenv_private.h: New file.
32960 * sysdeps/i386/fpu/math_private.h: Use it.
32961 (math_opt_barrier, math_force_eval): Remove.
32962 (libc_feholdexcept_setround_53bit): Remove.
32963 (libc_feupdateenv_53bit): Remove.
32964 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32965 (math_opt_barrier, math_force_eval): Remove.
32966 (libc_feholdexcept): Remove.
32967 (libc_feholdexcept_setround): Remove.
32968 (libc_fetestexcept, libc_fesetenv): Remove.
32969 (libc_feupdateenv_test): Remove.
32970 (libc_feupdateenv, libc_feholdsetround): Remove.
32971 (libc_feresetround): Remove.
32972
d0adc922
RH
32973 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32974 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32975
0fe0f1f8
RH
32976 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32977 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32978 (libc_feupdateenv_testl): New.
32979 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32980 (libc_feupdateenv_testf): New.
32981 (libc_feupdateenv): Use libc_feupdateenv_test.
32982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32984
eb92c487
RH
32985 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32986 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32987 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32988 (libc_feresetround_noex): New.
32989 (libc_feresetround_noexf): New.
32990 (libc_feresetround_noexl): New.
32991 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32992 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32993 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32994 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32995 SET_RESTORE_ROUND.
32996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32997 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32998 (__cos): Likewise.
32999 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33000 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33001 SET_RESTORE_ROUND_NOEX.
33002 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33003 SET_RESTORE_ROUND_NOEXF.
33004 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33005 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33006 (libc_feholdsetroundf): New.
33007 (libc_feresetround, libc_feresetroundf): New.
33008
7d2e8012
RH
33009 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33010 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33011 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33012
b4dabbb4
RH
33013 * sysdeps/generic/math_private.h: Include <fenv.h>.
33014 (default_libc_feholdexcept): New.
33015 (default_libc_feholdexcept_setround): New.
33016 (default_libc_fesetenv, default_libc_feupdateenv): New.
33017 (libc_feholdexcept): Only define if undefined.
33018 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33019 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33020 (libc_feholdexcept_setroundl): Likewise.
33021 (libc_feholdexcept_setround_53bit): Likewise.
33022 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33023 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33024 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33025 (libc_feupdateenv_53bit): Likewise.
33026 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33027 (libc_feholdexcept): Convert from macro to inline function.
33028 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33029 (libc_fesetenv, libc_feupdateenv): Likewise.
33030
4851a949
RH
33031 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33032 not previously defined.
33033 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33034 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33035 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33036 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33037 * sysdeps/ieee754/flt-32/math_private.h: New file.
33038 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33039 math_private.h below SET_FLOAT_WORD.
33040 (__isnan, __isinf_ns, __finite): Remove.
33041 (__isnanf, __isinf_nsf, __finitef): Remove.
33042
e79d442e
AS
330432012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33044
33045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33046
90b80344
DM
330472012-03-17 David S. Miller <davem@davemloft.net>
33048
33049 [BZ #6471]
33050 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33051 for 2.16.
33052
edc21804
DM
330532012-03-16 David S. Miller <davem@davemloft.net>
33054
77e927af
DM
33055 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33056 warnings.
33057
374976dd
DM
33058 [BZ #6471]
33059 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33060 properly.
33061 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33062 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33063 sysdep_routines when subdir is sysvipc.
33064 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33065 __getshmlba helper.
33066
edc21804
DM
33067 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33068
473c3ef3
L
330692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33070
33071 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33072 [__LP64__].
33073
eb0f39b6
L
330742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33075
33076 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33077 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33078 (__lround): Renamed to ...
33079 (__llround): This. Replace long int with long long int.
33080 Define lround functions as aliases of llround functions.
33081 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33082
6b6cd74b
L
330832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33084
33085 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33086 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33087 adresses to uintptr_t. Replace "long int" and "unsigned long
33088 int" with "greg_t" on va_arg.
33089
f1a77b01
L
330902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33091
33092 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33093 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33094
33095 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33096 Move e_machine check before EI_CLASS check. Handle x32
33097 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33098 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33099 SKIP_EM_IA_64 and include
33100 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33101
33102 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33103 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33104 (add_system_dir): New macro.
33105
33106 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33107 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33108
11b90b9f
JM
331092012-03-16 Joseph Myers <joseph@codesourcery.com>
33110
c36e1d23
JM
33111 [BZ #2551]
33112 [BZ #2552]
33113 [BZ #2553]
33114 [BZ #2554]
33115 [BZ #2562]
33116 [BZ #2563]
33117 [BZ #2565]
33118 [BZ #2566]
33119 [BZ #2576]
33120 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33121 (y0): Likewise.
33122 * math/w_j0f.c (j0f): Likewise.
33123 (y0f): Likewise.
33124 * math/w_j0l.c (__j0l): Likewise.
33125 (__y0l): Likewise.
33126 * math/w_j1.c (j1): Likewise.
33127 (y1): Likewise.
33128 * math/w_j1f.c (j1f): Likewise.
33129 (y1f): Likewise.
33130 * math/w_j1l.c (__j1l): Likewise.
33131 (__y1l): Likewise.
33132 * math/w_jn.c (jn): Likewise.
33133 (yn): Likewise.
33134 * math/w_jnf.c (jnf): Likewise.
33135 (ynf): Likewise.
33136 * math/w_jnl.c (__jnl): Likewise.
33137 (__ynl): Likewise.
33138 * math/libm-test.inc (j0_test): Add more tests.
33139 (j1_test): Likewise.
33140 (jn_test): Likewise. Add trailing semicolon to existing test.
33141 (y0_test): Likewise.
33142 (y1_test): Likewise.
33143 * sysdeps/i386/fpu/libm-test-ulps: Update.
33144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33145
11b90b9f
JM
33146 [BZ #13851]
33147 [BZ #13854]
33148 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33149 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33150 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33151 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33152 (__tanl): Set errno for infinite argument.
33153 * sysdeps/i386/fpu/mptan.c: Remove.
33154 * sysdeps/i386/fpu/s_tan.S: Likewise.
33155 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33156 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33157 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33158 * math/libm-test.inc (tan_test): Add more tests and enable more
33159 tests for double and long double.
33160 * sysdeps/i386/fpu/libm-test-ulps: Update.
33161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33162
6a1bd2a1
JK
331632012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33164
33165 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33166 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33167
10a803e0
RM
331682012-03-16 Roland McGrath <roland@hack.frob.com>
33169
33170 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33171 * configure.in: Use it for both main tree and add-ons.
33172 * configure: Regenerated.
33173
f196c7f7
L
331742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33175
33176 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33177
8848d99d
JM
331782012-03-16 Joseph Myers <joseph@codesourcery.com>
33179
96cbe7f4
JM
33180 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33181 in comment.
33182
8848d99d
JM
33183 [BZ #13851]
33184 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33185 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33189 infinite argument.
33190 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33192 != 0 for prec == 2.
33193 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33194 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33195 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33196 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33197 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33198 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33199 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33200 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33201 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33202 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33203 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33204 * math/libm-test.inc (cos_test): Add more tests and enable more
33205 tests for long double.
33206 (sin_test): Likewise.
33207 (sincos_test): Likewise.
33208 * sysdeps/i386/fpu/libm-test-ulps: Update.
33209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33210
dd7f4703
DM
332112012-03-16 David S. Miller <davem@davemloft.net>
33212
33213 * sysdeps/sparc/fpu/math_private.h: New file.
33214
006f1daa
DM
332152012-03-15 David S. Miller <davem@davemloft.net>
33216
c0c83bc8
DM
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33218 file.
e6a62e18 33219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33221 file.
e6a62e18
DM
33222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33228 sysdep routines.
33229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33230
88cb87d9
DM
33231 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33232 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33233
006f1daa 33234 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33236 sparc-ifunc.h
006f1daa 33237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33239 Likewise.
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33241 Likewise.
006f1daa
DM
33242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33246 Likewise.
006f1daa
DM
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33252 Likewise.
33253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33254 Likewise.
006f1daa
DM
33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33261 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33277 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33279
11e0098e
AS
332802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33281
33282 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33283 scaling.
33284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33285
e85b09d0
AJ
332862012-03-15 Andreas Jaeger <aj@suse.de>
33287
33288 [BZ #13852]
33289 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33290 ieee754/flt-32 implementation for sin, cos and sincos.
33291 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33292 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33293 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33294 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33295 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33296 ieee754/flt-32 implementation for tan.
33297
33298 * math/libm-test.inc (cos_test): Enable some large input tests for
33299 float as well
33300 (sin_test): Likewise.
33301 (sincos_test): Likewise.
33302 (tan_test): Add tests for large input.
33303
33304 * sysdeps/i386/fpu/libm-test-ulps: Update.
33305
81c64153
AJ
333062012-03-15 Andreas Jaeger <aj@suse.de>
33307
33308 [BZ #13658]
33309 * math/libm-test.inc (cos_test): Add more test cases.
33310 (sin_test): Likewise.
33311 (sincos_test): Likewise.
33312
7bbfa5c6
AJ
333132012-03-15 Andreas Jaeger <aj@suse.de>
33314
33315 [BZ #13837]
33316 * math/libm-test.inc (cos_test): Add a test case for large input
33317 value.
33318 (sin_test): Likewise.
33319 (sincos_test): Likewise.
33320
333212012-03-15 Andreas Jaeger <aj@suse.de>,
33322 Joseph Myers <joseph@codesourcery.com>
33323
33324 [BZ #13658]
0671f479 33325 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33326 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33327 * sysdeps/i386/fpu/branred.c: Likewise.
33328 * sysdeps/i386/fpu/dosincos.c: Likewise.
33329 * sysdeps/i386/fpu/mpa.c: Likewise.
33330 * sysdeps/i386/fpu/s_cos.S: Likewise.
33331 * sysdeps/i386/fpu/s_sin.S: Likewise.
33332 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33333 * sysdeps/i386/fpu/sincos32.c: Likewise.
33334
33335 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33336 Define.
33337 (libc_feupdateenv_53bit): Define.
33338 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33339 Define.
33340 (libc_feupdateenv_53bit): Define.
33341
33342 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33343 53 bit (without extend i386 double precision).
33344
33345 * math/libm-test.inc (sincos_test): Add tests for large input.
33346 (sin): Likewise.
33347 (cos): Likewise.
33348
33349 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33350
9cad04ea
AS
333512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33352
33353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33354
f7062b9a
DM
333552012-03-15 David S. Miller <davem@davemloft.net>
33356
33357 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33358 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33359 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33360 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33373 file.
f7062b9a 33374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33376 file.
f7062b9a 33377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33379 file.
f7062b9a 33380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33382 file.
f7062b9a
DM
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33385 fmin/fmax sysdep routines.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33387
7bd951ff
DM
333882012-03-14 David S. Miller <davem@davemloft.net>
33389
559398ab
DM
33390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33416 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33417 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33419 routines.
33420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33421 file.
559398ab 33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33424 file.
559398ab 33425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33427 file.
559398ab 33428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33430 file.
559398ab 33431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33433 file.
559398ab 33434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33436 file.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33438 file.
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33440 file.
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33442 file.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33444 New file.
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33446 file.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33448 file.
559398ab 33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33451 file.
559398ab 33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33454 file.
559398ab 33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33457 file.
559398ab 33458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33460 VIS3 routines.
559398ab
DM
33461
33462 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33463 New file.
33464
5a1c1e32
DM
33465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33466
eae47a36
DM
33467 * sysdeps/sparc/configure.in: New file.
33468 * sysdeps/sparc/configure: Generate.
33469 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33470 * configure: Regenerate.
33471 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33472 * config.make.in (have-as-vis3): New.
33473 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33474 available use -Av9d instead of -Av9a.
33475 * sysdeps/sparc/sparc64/Makefile: Likewise.
33476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33478 New file.
33479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33480 file.
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33482 New file.
33483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33484 file.
eae47a36
DM
33485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33490
c0c83bc8
DM
33491 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33492 fzeros/fnegs to load 0x80000000 into a float register instead of
33493 using the stack.
7bd951ff
DM
33494 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33495
bd951ccb
JM
334962012-03-14 Joseph Myers <joseph@codesourcery.com>
33497
33498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33499 bits/syscall.h.
33500 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33501 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33502 ($(inst_includedir)/bits/syscall.h): Remove rule.
33503 ($(objpfx)bits/syscall.d): Include instead of
33504 $(objpfx)syscall-list.d.
33505 (generated): Change syscall-list.h and syscall-list.d to
33506 bits/syscall.h and bits/syscall.d.
33507
bb4e6db2
RM
335082012-03-14 Roland McGrath <roland@hack.frob.com>
33509
33510 [BZ #13846]
33511 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33512
aa4a2ae1
JM
335132012-03-14 Joseph Myers <joseph@codesourcery.com>
33514
e456826d
JM
33515 [BZ #13841]
33516 * math/s_csqrt.c: Include <float.h>.
33517 (__csqrt): Scale large or subnormal inputs.
33518 * math/s_csqrtf.c: Likewise.
33519 * math/s_csqrtl.c: Likewise.
33520 * math/libm-test.inc (csqrt_test): Add more tests.
33521 * sysdeps/i386/fpu/libm-test-ulps: Update.
33522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33523
aa4a2ae1
JM
33524 [BZ #13840]
33525 * math/libm-test.inc (hypot_test): Add more tests.
33526
7c10fd35
DM
335272012-03-13 David S. Miller <davem@davemloft.net>
33528
33529 [BZ #13840]
33530 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33531 double-precision for the calculation instead of scaling.
33532
f453b98b
JM
335332012-03-13 Joseph Myers <joseph@codesourcery.com>
33534
33535 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33536 manipulate bits before adding and subtracting TWO52[sx].
33537 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33538 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33539 Likewise.
33540 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33541
09a3453f
DM
335422012-03-13 David S. Miller <davem@davemloft.net>
33543
8e59da90
DM
33544 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33545 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33547 rtld-global-offsets.h
33548 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33549
2a8ab7f2
DM
33550 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33551 large parameters.
33552
10f62770
DM
33553 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33554
5f0bdb18
DM
33555 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33556 'err' in the ifdef scope in which it is actually used.
33557
09a3453f
DM
33558 * nss/nss_db/db-init.c: Include string.h
33559
b4b2eb5e
DM
335602012-03-12 David S. Miller <davem@davemloft.net>
33561
98bb2f1c
DM
33562 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33563 masking out of the most significant byte of random value used.
33564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33565 Fix coding style in previous change.
33566
b4b2eb5e
DM
33567 * sysdeps/unix/sysv/linux/kernel-features.h
33568 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33569 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33570 expression.
33571 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33572 later.
33573
6e226b09
DM
335742012-03-11 David S. Miller <davem@davemloft.net>
33575
a1bcbd40
DM
33576 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33577 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33579 for 'resultvar' otherwise things get truncated on 64-bit.
33580
cb9d6174
DM
33581 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33582 Fix masking out of the most significant byte of random value used.
33583
6e226b09
DM
33584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33585
058c132d
AS
335862012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33587
33588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33589
2d2cd515
DM
335902012-03-09 David S. Miller <davem@davemloft.net>
33591
33592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33593 variables with appropriate CPP guards.
33594 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33595 frame pointer, not the stack pointer. Correct layout comments. Fix test
33596 on resulting framesize and the management of the outregs buffer for pltexit.
33597 Preserve floating point return values across _dl_call_pltexit call.
33598 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33599 framesize and the management of the outregs buffer for pltexit.
33600 Preserve floating point return values across _dl_call_pltexit
33601 call.
33602 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33603 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33604 (print_exit): Fix format string for return register value.
33605
9a07f9d0
JM
336062012-03-10 Joseph Myers <joseph@codesourcery.com>
33607
33608 * sunrpc/Makefile (others): Add rpcgen.
33609 ($(objpfx)rpcgen): Remove special build rule and dependency on
33610 libc.
33611 * sunrpc/rpcgen.c: New file.
33612
547b5e30
PE
336132012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33614
c524201a
PE
33615 [BZ #13673]
33616 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33617 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33618 * sysdeps/i386/crti.S: Likewise.
33619 * sysdeps/i386/crtn.S: Likewise.
33620 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33621 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33622 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33623 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33624 * sysdeps/sh/crti.S: Likewise.
33625 * sysdeps/sh/crtn.S: Likewise.
33626 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33627
7b6235f2
PE
33628 [BZ #13673]
33629 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33630 with URL.
33631 * locale/programs/locfile-kw.gperf: Likewise.
33632 * locale/programs/charmap-kw.h: Regenerated.
33633 * locale/programs/locfile-kw.h: Likewise.
33634
547b5e30
PE
33635 [BZ #13673]
33636 * intl/plural.y: Replace FSF snail mail address with URL.
33637 * intl/plural.c: Regenerated.
33638
5f0a5dae
RH
336392012-03-09 Richard Henderson <rth@twiddle.net>
33640
33641 * include/math_private.h: Remove file.
33642 * math/math_private.h: Move file ...
33643 * sysdeps/generic/math_private.h: ... here.
33644
b8c03620
RH
33645 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33646 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33647 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33648
4e234f5d 33649 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33650 and <math_private.h>.
33651 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33652 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33653 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33654 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33655 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33668 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33739 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33740 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33741 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33742 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33744 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33745 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33746 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33747 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33748 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33750 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33751 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33752 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33753 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33754 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33756 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33758 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33759 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33761 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33762 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33763 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33764 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33765 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33767 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33768 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33769 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33772 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33774 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33775 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33777 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33778 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33779 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33780 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33781 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33784 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33785 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33786 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33787 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33788 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33789 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33790 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33792 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33793 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33794 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33795 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33796 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33797 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33798 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33799 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33800 * sysdeps/ieee754/k_standard.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33805 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33916 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33928 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33933 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33950 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33961 * sysdeps/ieee754/s_lib_version.c: Likewise.
33962 * sysdeps/ieee754/s_matherr.c: Likewise.
33963 * sysdeps/ieee754/s_signgam.c: Likewise.
33964 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33967 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33968 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33969 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33970 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33971 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33972 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33973 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33974 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33975 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33976 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33977 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33978 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33979 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33980 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33981 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33982 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33985
1991fa03
JM
339862012-03-09 Joseph Myers <joseph@codesourcery.com>
33987
33988 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33989 * sunrpc/rpc_main.c: Likewise.
33990 * sunrpc/rpc_svcout.c: Likewise.
33991
60d6f5a6
DM
339922012-03-09 David S. Miller <davem@davemloft.net>
33993
33994 * include/math_private.h: New file.
33995
4962050e
JM
339962012-03-09 Joseph Myers <joseph@codesourcery.com>
33997
02a6f887
JM
33998 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33999 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34000 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34001 from <bits/socket_type.h>.
34002 (enum __socket_type): Don't define here.
34003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34005 bits/socket_type.h.
34006
c6e013c1
JM
34007 [BZ #13566]
34008 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34009 checking __USE_GNU.
34010
4962050e
JM
34011 * Makerules ($(inst_includedir)/%.h): New rule.
34012 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34013 (install-others): Remove variable setting.
34014 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34015
38842f45
RH
340162012-03-08 Richard Henderson <rth@twiddle.net>
34017
67bb6da6
RH
34018 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34019 from macro to inline function; merge with the
34020 !__LIBC_INTERNAL_MATH_INLINES version.
34021 (__ieee754_sqrtf): Likewise.
34022
15194b4b
RH
34023 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34024 to inline function.
34025 (__rintf, __floor, __floorf): Likewise.
34026
64e21ede
RH
34027 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34028 macro to inline function.
34029 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34030
38842f45
RH
34031 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34032 not <math/math_private.h>.
34033
c64bf5fe
DM
340342012-03-08 David S. Miller <davem@davemloft.net>
34035
34036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34037 copyright year.
34038 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34039
82d86f28
TS
340402012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34041
34042 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34043 normalization.
34044 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34046
aea5d727
UD
340472012-03-08 Ulrich Drepper <drepper@gmail.com>
34048
34049 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34050 be defined individually, they must be defined as a block. Define
34051 S for printing a string instead of hidint the different by using a
34052 macro for adding the 'l'.
34053 * stdio-common/tst-fphex-wide.c: Adjust.
34054
70bca0a3
MP
340552012-03-07 Marek Polacek <polacek@redhat.com>
34056
34057 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34058
65b81130
MP
340592012-03-08 Marek Polacek <polacek@redhat.com>
34060
34061 [BZ #13806]
34062 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34063 * stdio-common/tst-fphex.c: Define a few macros to make the
34064 test reusable. Use them.
34065 * stdio-common/tst-fphex-wide.c: New file.
34066
07037eeb
JM
340672012-03-08 Joseph Myers <joseph@codesourcery.com>
34068
a7a93d50
JM
34069 [BZ #6911]
34070 * manual/macros.texi (gnusystems): New macro.
34071 (nongnusystems): Likewise.
34072 (gnulinuxhurdsystems): Likewise.
34073 (gnuhurdsystems): Likewise..
34074 (gnulinuxsystems): Likewise.
34075 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34076 variants of the GNU system, not "GNU system".
34077 * manual/conf.texi: Likewise.
34078 * manual/errno.texi: Likewise. Update example of errno macro
34079 expansion.
34080 * manual/filesys.texi: Likewise.
34081 (getumask): Document as specific to GNU/Hurd.
34082 * manual/install.texi: Likewise. Reword some references to
34083 GNU/Linux.
34084 * manual/intro.texi: Likewise.
34085 * manual/io.texi: Likewise.
34086 (File Name Portability): Detail which constraints are inapplicable
34087 to all GNU systems and which are only inapplicable to GNU/Hurd.
34088 * manual/job.texi: Likewise.
34089 * manual/llio.texi: Likewise.
34090 (O_NOCTTY): Document as present on GNU/Linux.
34091 * manual/maint.texi: Likewise.
34092 * manual/memory.texi: Likewise.
34093 * manual/pattern.texi: Likewise.
34094 * manual/pipe.texi: Likewise.
34095 * manual/process.texi: Likewise.
34096 * manual/resource.texi: Likewise.
34097 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34098 child on GNU/Hurd.
34099 * manual/setjmp.texi: Likewise.
34100 * manual/signal.texi: Likewise.
34101 * manual/startup.texi: Likewise.
34102 * manual/stdio.texi: Likewise.
34103 * manual/terminal.texi: Likewise.
34104 (ONLCR): Document as POSIX.
34105 (OXTABS): Document availability on GNU/Linux as XTABS.
34106 (ONOEOT): Document availability separately from other bits.
34107 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34108 * manual/time.texi: Likewise.
34109 * manual/users.texi: Likewise.
34110 * INSTALL: Regenerated.
34111 * sysdeps/gnu/errlist.c: Regenerated.
34112
07037eeb
JM
34113 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34114 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34115 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34116 puts.
34117 * configure: Regenerated.
34118
d1d3431a
JM
341192012-03-07 Joseph Myers <joseph@codesourcery.com>
34120
af6a1e37
JM
34121 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34122 default includes instead of AC_HEADER_CHECK.
34123 * sysdeps/i386/configure: Regenerated.
34124
d1d3431a
JM
34125 [BZ #10716]
34126 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34127 * math/s_cacoshf.c (__cacoshf): Likewise.
34128 * math/s_cacoshl.c (__cacoshl): Likewise.
34129 * math/s_casinh.c (__casinh): Set signs of result from argument.
34130 * math/s_casinhf.c (__casinhf): Likewise.
34131 * math/s_casinhl.c (__casinhl): Likewise.
34132 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34133 (casinh_test): Add more tests.
34134 * sysdeps/i386/fpu/libm-test-ulps: Update.
34135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34136
482ff4da
UD
341372012-03-07 Ulrich Drepper <drepper@gmail.com>
34138
872fda05
UD
34139 * po/zh_TW.po: Update from translation team.
34140
a4300c7a
UD
34141 * login/Makefile (distribute): Remove variable.
34142 * catgets/Makefile: Likewise.
34143 * mach/Makefile: Likewise.
34144 * malloc/Makefile: Likewise.
34145 * misc/Makefile: Likewise.
34146 * iconv/Makefile: Likewise.
34147 * nscd/Makefile: Likewise.
34148 * hurd/Makefile: Likewise.
34149 * manual/Makefile: Likewise.
34150 * locale/Makefile: Likewise.
34151 * intl/Makefile: Likewise.
34152 * conform/Makefile: Likewise.
34153 * nss/Makefile: Likewise.
34154 * time/Makefile: Likewise.
34155 * soft-fp/Makefile: Likewise.
34156 * dirent/Makefile: Likewise.
34157 * gmon/Makefile: Likewise.
34158 * po/Makefile: Likewise.
34159 * rt/Makefile: Likewise.
34160 * socket/Makefile: Likewise.
34161 * math/Makefile: Likewise.
34162 * signal/Makefile: Likewise.
34163 * debug/Makefile: Likewise.
34164 * elf/Makefile: Likewise.
34165 * timezone/Makefile: Likewise.
34166 * stdlib/Makefile: Likewise.
34167 * iconvdata/Makefile: Likewise.
34168 * sunrpc/Makefile: Likewise.
34169 * io/Makefile: Likewise.
34170 * argp/Makefile: Likewise.
34171 * inet/Makefile: Likewise.
34172 * hesiod/Makefile: Likewise.
34173 * grp/Makefile: Likewise.
34174 * csu/Makefile: Likewise.
34175 * wctype/Makefile: Likewise.
34176 * crypt/Makefile: Likewise.
34177 * libio/Makefile: Likewise.
34178 * string/Makefile: Likewise.
34179 * nis/Makefile: Likewise.
34180 * resolv/Makefile: Likewise.
34181 * stdio-common/Makefile: Likewise.
34182 * wcsmbs/Makefile: Likewise.
34183 * dlfcn/Makefile: Likewise.
34184 * posix/Makefile: Likewise.
34185
3b7c4e74 34186 [BZ #6959]
482ff4da
UD
34187 * timezone/Makefile: Don't install timezone files, just the programs
34188 and scripts.
34189
f72ed77d
UD
341902012-03-06 Ulrich Drepper <drepper@gmail.com>
34191
a000466f
UD
34192 * nss/databases.def: Add missing gshadow entry.
34193
f72ed77d
UD
34194 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34195
a53b7a4e
MP
341962012-03-06 Marek Polacek <polacek@redhat.com>
34197
34198 [BZ #13726]
34199 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34200 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34201 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34202 * stdio-common/tst-long-dbl-fphex.c: New file.
34203
e9258400
DM
342042012-03-06 David S. Miller <davem@davemloft.net>
34205
34206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34207 (set_obp_int): New function.
34208 (get_obp_int): New function.
34209 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34211 Avoid unused variable warnings on 'val' and use builtin_expect.
34212 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34213 __builtin_expect.
e9258400
DM
34214 (INLINE_CLONE_SYSCALL): Likewise.
34215
3bd2c723
DM
342162012-03-05 David S. Miller <davem@davemloft.net>
34217
34218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34219
bbb78d03
AS
342202012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34221
884c5db4
AS
34222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34223
bbb78d03
AS
34224 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34225 only for |x| >= 40.
34226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34227
1c9f702a 342282012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34229
34230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34231 Replace gettimeofday with __vdso_gettimeofday.
34232
7be16f82
RM
34233 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34234 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34235 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34236
34237 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34238 time with __vdso_time.
34239
ed58a00f
JM
342402012-03-05 Joseph Myers <joseph@codesourcery.com>
34241
34242 * manual/lang.texi (size_t): Note types to which size_t may be
34243 equivalent with the GNU C Library, but do not describe when
34244 differences between them are significant.
34245
30ee4ced
AJ
342462012-03-05 Andreas Jaeger <aj@suse.de>
34247
34248 * sysdeps/i386/fpu/libm-test-ulps: Update.
34249
b7cd39e8
JM
342502012-03-05 Joseph Myers <joseph@codesourcery.com>
34251
34252 [BZ #3976]
34253 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34254 (__ieee754_pow): Save and restore rounding mode and use
34255 round-to-nearest for main computations.
34256 * math/libm-test.inc (pow_test_tonearest): New function.
34257 (pow_test_towardzero): Likewise.
34258 (pow_test_downward): Likewise.
34259 (pow_test_upward): Likewise.
34260 (main): Call the new functions.
34261 * sysdeps/i386/fpu/libm-test-ulps: Update.
34262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34263
34264 [BZ #3976]
34265 * math/libm-test.inc (cosh_test_tonearest): New function.
34266 (cosh_test_towardzero): Likewise.
34267 (cosh_test_downward): Likewise.
34268 (cosh_test_upward): Likewise.
34269 (sinh_test_tonearest): Likewise.
34270 (sinh_test_towardzero): Likewise.
34271 (sinh_test_downward): Likewise.
34272 (sinh_test_upward): Likewise.
34273 (main): Call the new functions.
34274 * sysdeps/i386/fpu/libm-test-ulps: Update.
34275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34276
6c6a98c9
TV
342772012-03-05 Tom de Vries <tom@codesourcery.com>
34278
34279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34280 default stack guard is set in last bytes.
34281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34282
21bb2d2e 342832012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34284
21bb2d2e 34285 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34286
21bb2d2e
AJ
34287 [BZ #13656]
34288 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34289 possibly allocate from heap instead of stack.
34290 * stdio-common/bug-vfprintf-nargs.c: New file.
34291 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34292
c6922934
AS
342932012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34294
34295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34296
bc957d53
MP
342972012-03-03 Marek Polacek <polacek@redhat.com>
34298
34299 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34300 * math/math_private.h: Likewise.
34301 * stdlib/tst-strtod.c: Likewise.
34302 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34303 * sysdeps/x86_64/bits/atomic.h: Likewise.
34304
6358490d
DM
343052012-03-02 David S. Miller <davem@davemloft.net>
34306
34307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34311 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34312 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34313 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34314 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34315
01ae168d
RM
343162012-03-02 Roland McGrath <roland@hack.frob.com>
34317
d9a17c07
RM
34318 [BZ #13792]
34319 * manual/examples/README: New file, says the example source files
34320 can be used under GPL>=2.
34321 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34322 line containing just "*/".
34323 * manual/examples/add.c: Add copyright header (GPL>=2).
34324 * manual/examples/argp-ex1.c: Likewise.
34325 * manual/examples/argp-ex2.c: Likewise.
34326 * manual/examples/argp-ex3.c: Likewise.
34327 * manual/examples/argp-ex4.c: Likewise.
34328 * manual/examples/atexit.c: Likewise.
34329 * manual/examples/db.c: Likewise.
34330 * manual/examples/dir.c: Likewise.
34331 * manual/examples/dir2.c: Likewise.
34332 * manual/examples/execinfo.c: Likewise.
34333 * manual/examples/filecli.c: Likewise.
34334 * manual/examples/filesrv.c: Likewise.
34335 * manual/examples/fmtmsgexpl.c: Likewise.
34336 * manual/examples/genpass.c: Likewise.
34337 * manual/examples/inetcli.c: Likewise.
34338 * manual/examples/inetsrv.c: Likewise.
34339 * manual/examples/isockad.c: Likewise.
34340 * manual/examples/longopt.c: Likewise.
34341 * manual/examples/memopen.c: Likewise.
34342 * manual/examples/memstrm.c: Likewise.
34343 * manual/examples/mkfsock.c: Likewise.
34344 * manual/examples/mkisock.c: Likewise.
34345 * manual/examples/mygetpass.c: Likewise.
34346 * manual/examples/pipe.c: Likewise.
34347 * manual/examples/popen.c: Likewise.
34348 * manual/examples/rprintf.c: Likewise.
34349 * manual/examples/search.c: Likewise.
34350 * manual/examples/select.c: Likewise.
34351 * manual/examples/setjmp.c: Likewise.
34352 * manual/examples/sigh1.c: Likewise.
34353 * manual/examples/sigusr.c: Likewise.
34354 * manual/examples/stpcpy.c: Likewise.
34355 * manual/examples/strdupa.c: Likewise.
34356 * manual/examples/strftim.c: Likewise.
34357 * manual/examples/strncat.c: Likewise.
34358 * manual/examples/subopt.c: Likewise.
34359 * manual/examples/swapcontext.c: Likewise.
34360 * manual/examples/termios.c: Likewise.
34361 * manual/examples/testopt.c: Likewise.
34362 * manual/examples/testpass.c: Likewise.
34363 * manual/examples/timeval_subtract.c: Likewise.
34364
01ae168d
RM
34365 [BZ #13792]
34366 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34367 function to ...
34368 * manual/timeval_subtract.c.texi: ... here, new file.
34369
49efa33d
DM
343702012-03-02 David S. Miller <davem@davemloft.net>
34371
34372 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34373
28afd92d
JM
343742012-03-02 Joseph Myers <joseph@codesourcery.com>
34375
804360ed
JM
34376 [BZ #3976]
34377 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34378 (__sin): Save and restore rounding mode and use round-to-nearest
34379 for all computations.
34380 (__cos): Save and restore rounding mode and use round-to-nearest
34381 for all computations.
34382 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34383 <fenv.h>.
34384 (tan): Save and restore rounding mode and use round-to-nearest for
34385 all computations.
34386 * math/libm-test.inc (cos_test_tonearest): New function.
34387 (cos_test_towardzero): Likewise.
34388 (cos_test_downward): Likewise.
34389 (cos_test_upward): Likewise.
34390 (sin_test_tonearest): Likewise.
34391 (sin_test_towardzero): Likewise.
34392 (sin_test_downward): Likewise.
34393 (sin_test_upward): Likewise.
34394 (tan_test_tonearest): Likewise.
34395 (tan_test_towardzero): Likewise.
34396 (tan_test_downward): Likewise.
34397 (tan_test_upward): Likewise.
34398 (main): Call the new functions.
34399 * sysdeps/i386/fpu/libm-test-ulps: Update.
34400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34401
a6d06d7b
JM
34402 [BZ #10135]
34403 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34404 small n, then large n, before computing and testing k+n.
34405 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34407 Likewise.
34408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34409 Likewise.
34410 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34411 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34417 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34418 * math/libm-test.inc (scalbn_test): Add more tests.
34419 (scalbln_test): Likewise.
34420
07e12bb3
JM
34421 * manual/filesys.texi (mode_t): Describe constraints on size and
34422 signedness, not exact equivalence to a particular type.
34423 (ino_t): Likewise.
34424 (ino64_t): Likewise.
34425 (dev_t): Likewise.
34426 (nlink_t): Likewise.
34427 (blkcnt_t): Likewise.
34428 (blkcnt64_t): Likewise.
34429 * manual/llio.texi (off_t): Likewise.
34430
28afd92d
JM
34431 [BZ #3976]
34432 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34433 (__ieee754_exp): Save and restore rounding mode and use
34434 round-to-nearest for all computations.
34435 * math/libm-test.inc (exp_test_tonearest): New function.
34436 (exp_test_towardzero): Likewise.
34437 (exp_test_downward): Likewise.
34438 (exp_test_upward): Likewise.
34439 (main): Call the new functions.
34440 * sysdeps/i386/fpu/libm-test-ulps: Update.
34441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34442
b1eeb65d
CD
344432012-03-01 Chris Demetriou <cgd@google.com>
34444
34445 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34446 have predictable order.
34447
53362a4b
DM
344482012-03-01 David S. Miller <davem@davemloft.net>
34449
3c969083
DM
34450 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34451
759707de
DM
34452 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34453 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34454 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34455 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34456
dfdb8ff2
DM
34457 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34458 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34459 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34461 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34462 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34463 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34464 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34465 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34466
ead89f96
DM
34467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34468
7f66bd07
DM
34469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34470 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34472
53362a4b
DM
34473 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34474 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34475 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34476 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34477 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34481 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34482 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34483 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34489 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34490 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34491 * sysdeps/sparc/elf/configure: Regenerated.
34492
7b1902cb
JM
344932012-03-01 Joseph Myers <joseph@codesourcery.com>
34494
bec039bc
JM
34495 * configure.in (AS, LD): Require binutils 2.20 or later.
34496 * configure: Regenerated.
34497 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34498 as required minimum version.
34499 * INSTALL: Regenerated.
34500
7b1902cb
JM
34501 [BZ #2541]
34502 [BZ #4108]
34503 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34504 before squaring exponent.
34505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34506 bottom long double and 27 bits of top long double before squaring
34507 exponent.
34508 * math/libm-test.inc (erfc_test): Add more tests.
34509 * sysdeps/i386/fpu/libm-test-ulps: Update.
34510 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34512
f775c276
KT
345132012-03-01 Kai Tietz <ktietz@redhat.com>
34514
34515 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34516 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34517 containing bit-fields.
34518 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34519 * soft-fp/single.h (_FP_UNION_S): Likewise.
34520 * soft-fp/double.h (_FP_UNION_D): Likewise.
34521
5b8a4d4a
JM
345222012-02-29 Joseph Myers <joseph@codesourcery.com>
34523
0bab47b6
JM
34524 [BZ #13786]
34525 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34526 not include ../strcmp.S.
34527 [USE_AS_STRNCASECMP_L]: Likewise.
34528 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34529 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34530 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34531 (__strncasecmp_l_ia32): Define as alias to
34532 __strncasecmp_l_nonascii.
34533
0fcad3e2
JM
34534 [BZ #5794]
34535 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34536 * sysdeps/i386/fpu/libm-test-ulps: Update.
34537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34538
5b8a4d4a
JM
34539 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34541
8fdceb2e
JL
345422012-02-29 Jeff Law <law@redhat.com>
34543
34544 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34545 out of bounds read.
34546
1f393a11
MP
345472012-02-29 Marek Polacek <polacek@redhat.com>
34548
34549 [BZ #13706]
34550 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34551 * elf/Makefile: Add rules to run tst-unused-dep.out.
34552
8847f037
DM
345532012-02-28 David S. Miller <davem@davemloft.net>
34554
34555 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34556 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34559 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34560 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34561
169d7f11
JM
345622012-02-29 Joseph Myers <joseph@codesourcery.com>
34563
34564 * math/libm-test.inc (llround_test): Move one test from
34565 lround_test. Use TEST_f_L in moved test.
34566 (lround_test): Move misplaced test to llround_test. Add testcase
34567 from bug 2561.
34568
39adf059
UD
345692012-02-28 Ulrich Drepper <drepper@gmail.com>
34570
34571 * sysdeps/x86_64/fpu/e_expf.S: New file.
34572 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34573
71b5d1c5
SB
345742012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34575
34576 [BZ #13637]
34577 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34578 of remain_len that may cause incomplete multi-byte character and
34579 false match.
34580 * posix/bug-regex33.c: New file.
34581 * posix/Makefile (tests): Add bug-regex33.
34582
1f77f049
JM
345832012-02-28 Joseph Myers <joseph@codesourcery.com>
34584
34585 * manual/macros.texi: New file.
34586 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34587 * manual/libc.texinfo: Include macros.texi.
34588 * manual/creatute.texi: Likewise.
34589 * manual/install.texi: Likewise.
34590 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34591 @glibcadj{} in references to the GNU C Library.
34592 * manual/charset.texi: Likewise.
34593 * manual/conf.texi: Likewise.
34594 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34595 when not using those macros.
34596 * manual/creature.texi: Likewise.
34597 * manual/crypt.texi: Likewise.
34598 * manual/errno.texi: Likewise.
34599 * manual/filesys.texi: Likewise.
34600 * manual/header.texi: Likewise.
34601 * manual/install.texi: Likewise.
34602 * manual/intro.texi: Likewise.
34603 * manual/io.texi: Likewise.
34604 * manual/job.texi: Likewise.
34605 * manual/lang.texi: Likewise.
34606 * manual/libc.texiinfo: Likewise.
34607 * manual/llio.texi: Likewise.
34608 * manual/locale.texi: Likewise.
34609 * manual/maint.texi: Likewise.
34610 * manual/math.texi: Likewise.
34611 * manual/memory.texi: Likewise.
34612 * manual/message.texi: Likewise.
34613 * manual/nss.texi: Likewise.
34614 * manual/pattern.texi: Likewise.
34615 * manual/process.texi: Likewise.
34616 * manual/resource.texi: Likewise.
34617 * manual/search.texi: Likewise.
34618 * manual/setjmp.texi: Likewise.
34619 * manual/signal.texi: Likewise.
34620 * manual/socket.texi: Likewise.
34621 * manual/startup.texi: Likewise.
34622 * manual/stdio.texi: Likewise.
34623 * manual/string.texi: Likewise.
34624 * manual/sysinfo.texi: Likewise.
34625 * manual/syslog.texi: Likewise.
34626 * manual/terminal.texi: Likewise.
34627 * manual/time.texi: Likewise.
34628 * manual/users.texi: Likewise.
34629 * INSTALL: Regenerated.
34630 * NOTES: Regenerated.
d40c5d54 34631 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34632
450bf206
AS
346332012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34634
34635 * include/dirent.h: Include <dirstream.h> before
34636 <dirent/dirent.h>.
34637
741a235b
DM
346382012-02-28 David S. Miller <davem@davemloft.net>
34639
34640 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34641 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34642 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34643 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34644
d6b5aa58
DM
346452012-02-27 David S. Miller <davem@davemloft.net>
34646
1aff59a3
DM
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34649 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34650 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34651
d6b5aa58
DM
34652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34653 frame pointer instead of stack pointer relative arg slot.
34654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34655 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34656 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34657
433f48bf
CD
346582012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34659
34660 [BZ #3992]
34661 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34662
d674b76d
DM
346632012-02-27 David S. Miller <davem@davemloft.net>
34664
34665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34671 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34672 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34673
0e7727f7
JM
346742012-02-27 Joseph Myers <joseph@codesourcery.com>
34675
34676 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34677 later. Allow versions 5-9.
43be4ca2 34678 * configure: Regenerated.
0e7727f7
JM
34679 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34680 required minimum version and 4.6 as recommended version. Do not
34681 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34682 * INSTALL: Regenerated.
0e7727f7 34683
a78bc654
DM
346842012-02-27 David S. Miller <davem@davemloft.net>
34685
428d5830
DM
34686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34692 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34693 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34694
a78bc654
DM
34695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34696 manipulate bits before adding and subtracting TWO112[sx].
34697 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34698
4579f81c
RM
346992012-02-27 Roland McGrath <roland@hack.frob.com>
34700
36c8acb4
RM
34701 [BZ #13775]
34702 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34703 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34704 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34705 being in POSIX, because they are in 1003.1-2008.
34706
84ad622b
RM
34707 * rt/tst-aio.c: Include <fcntl.h>.
34708 * rt/tst-aio7.c: Likewise.
34709 * rt/tst-aio64.c: Likewise.
34710
4579f81c
RM
34711 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34712
abd923db
JM
347132012-02-27 Joseph Myers <joseph@codesourcery.com>
34714
34715 * manual/install.texi (--with-headers): Describe headers as
34716 interface headers, not private headers.
34717 (Specific advice for GNU/Linux systems): Describe use of headers
34718 from "make headers_install", not private headers from older
34719 kernels.
43be4ca2 34720 * INSTALL: Regenerated.
abd923db
JM
34721 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34722 Change to 2.6.19.
34723 * sysdeps/unix/sysv/linux/configure: Regenerated.
34724
6664049b
JM
34725 * manual/llio.texi (fclean): Remove documentation.
34726
bb8b6697
JM
34727 * manual/Makefile (libc-texi-generated): New variable. Include
34728 version.texi.
34729 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34730 $(libc-texi-generated), not duplicated list of files.
34731 (version.texi, stamp-version): New rules.
34732 (realclean): Remove $(libc-texi-generated), not individual files
34733 from that list. Do not remove dir-add.texinfo.
34734 * manual/libc.texinfo: Comment out uses of edition numbers and
34735 references to printed manual. Remove last-updated dates.
34736 (EDITION): Comment out.
34737 (ISBN): Likewise.
34738 (VERSION, UPDATED): Remove.
34739 (version.texi): Include.
34740
12e5c3b9
AS
347412012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34742
34743 * sysdeps/posix/spawni.c: Include <signal.h>.
34744 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34745 * sysdeps/pthread/aio_fsync.c: Likewise.
34746
4efeffc1 347472012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34748
ba63ba08
UD
34749 * conform/Makefile (tests): Run only when not cross-compiling and
34750 when fast-check is not defined.
34751
d94a4670
UD
34752 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34753 * conform/data/limits.h-data: Fixes for POSIX2008.
34754 * conform/run-conformtest.sh: Run all tests.
34755 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34756 headers.
34757 * include/bits/dlfcn.h: Likewise.
34758 * include/langinfo.h: Likewise.
34759 * include/monetary.h: Likewise.
34760 * include/sys/poll.h: Likewise.
34761
34762 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34763 for __USE_GNU.
34764 * posix/spawn.h: Define __need_sigset_t.
34765 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34766 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34767 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34768 to get sigevent_t only.
34769 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34770 only for __USE_GNU.
34771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34772 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34773 process_vm_writev only for __USE_GNU.
34774 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34775
34776 * conform/Makefile: For now ignore errors from run-conformtest.
34777 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34778 POSIX to avoid namespace pollution. Don't prepend headers.
34779 * conform/data/aio.h-data: Fixes for POSIX testing.
34780 * conform/data/fcntl.h-data: Likewise.
34781 * conform/data/glob.h-data: Likewise.
34782 * conform/data/grp.h-data: Likewise.
34783 * conform/data/pthread.h-data: Likewise.
34784 * conform/data/pwd.h-data: Likewise.
34785 * conform/data/signal.h-data: Likewise.
34786 * conform/data/spawn.h-data: Likewise.
34787 * conform/data/stdio.h-data: Likewise.
34788 * conform/data/stdlib.h-data: Likewise.
34789 * conform/data/stropts.h-data: Likewise.
34790 * conform/data/sys/mman.h-data: Likewise.
34791 * conform/data/sys/stat.h-data: Likewise.
34792 * conform/data/sys/types.h-data: Likewise.
34793 * conform/data/sys/wait.h-data: Likewise.
34794 * conform/data/time.h-data: Likewise.
34795 * conform/data/unistd.h-data: Likewise.
34796 * conform/data/utime.h-data: Likewise.
34797
34798 * io/sys/stat.h: fchmod was always in POSIX.
34799 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34800 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34801 * rt/aio.h: Define __need_timespec before including <time.h>.
34802 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34803 struct. Add forward declaration of pthread_attr_t and use it in
34804 sigevent.
34805 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34807 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34808 always remove CLK_TCK definition.
34809
c20105c3
AS
348102012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34811
34812 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34813
7a270350
UD
348142012-02-25 Ulrich Drepper <drepper@gmail.com>
34815
31341567
UD
34816 * conform/run-conformtest.sh: New file.
34817 * conform/Makefile: Run run-conformtest for tests.
34818 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34819 support.
34820
34821 * conform/data/uchar.h-data: New file.
34822 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34823 * conform/data/arpa/inet.h-data: Likewise.
34824 * conform/data/assert.h-data: Likewise.
34825 * conform/data/complex.h-data: Likewise.
34826 * conform/data/cpio.h-data: Likewise.
34827 * conform/data/ctype.h-data: Likewise.
34828 * conform/data/dirent.h-data: Likewise.
34829 * conform/data/dlfcn.h-data: Likewise.
34830 * conform/data/errno.h-data: Likewise.
34831 * conform/data/fcntl.h-data: Likewise.
34832 * conform/data/float.h-data: Likewise.
34833 * conform/data/fmtmsg.h-data: Likewise.
34834 * conform/data/fnmatch.h-data: Likewise.
34835 * conform/data/ftw.h-data: Likewise.
34836 * conform/data/glob.h-data: Likewise.
34837 * conform/data/grp.h-data: Likewise.
34838 * conform/data/iconv.h-data: Likewise.
34839 * conform/data/inttypes.h-data: Likewise.
34840 * conform/data/langinfo.h-data: Likewise.
34841 * conform/data/libgen.h-data: Likewise.
34842 * conform/data/limits.h-data: Likewise.
34843 * conform/data/locale.h-data: Likewise.
34844 * conform/data/math.h-data: Likewise.
34845 * conform/data/monetary.h-data: Likewise.
34846 * conform/data/mqueue.h-data: Likewise.
34847 * conform/data/ndbm.h-data: Likewise.
34848 * conform/data/net/if.h-data: Likewise.
34849 * conform/data/netdb.h-data: Likewise.
34850 * conform/data/netinet/in.h-data: Likewise.
34851 * conform/data/nl_types.h-data: Likewise.
34852 * conform/data/poll.h-data: Likewise.
34853 * conform/data/pthread.h-data: Likewise.
34854 * conform/data/pwd.h-data: Likewise.
34855 * conform/data/regex.h-data: Likewise.
34856 * conform/data/sched.h-data: Likewise.
34857 * conform/data/search.h-data: Likewise.
34858 * conform/data/semaphore.h-data: Likewise.
34859 * conform/data/setjmp.h-data: Likewise.
34860 * conform/data/signal.h-data: Likewise.
34861 * conform/data/spawn.h-data: Likewise.
34862 * conform/data/stdarg.h-data: Likewise.
34863 * conform/data/stdio.h-data: Likewise.
34864 * conform/data/stdlib.h-data: Likewise.
34865 * conform/data/string.h-data: Likewise.
34866 * conform/data/strings.h-data: Likewise.
34867 * conform/data/stropts.h-data: Likewise.
34868 * conform/data/sys/ipc.h-data: Likewise.
34869 * conform/data/sys/mman.h-data: Likewise.
34870 * conform/data/sys/msg.h-data: Likewise.
34871 * conform/data/sys/resource.h-data: Likewise.
34872 * conform/data/sys/select.h-data: Likewise.
34873 * conform/data/sys/sem.h-data: Likewise.
34874 * conform/data/sys/shm.h-data: Likewise.
34875 * conform/data/sys/socket.h-data: Likewise.
34876 * conform/data/sys/stat.h-data: Likewise.
34877 * conform/data/sys/statvfs.h-data: Likewise.
34878 * conform/data/sys/time.h-data: Likewise.
34879 * conform/data/sys/timeb.h-data: Likewise.
34880 * conform/data/sys/times.h-data: Likewise.
34881 * conform/data/sys/types.h-data: Likewise.
34882 * conform/data/sys/uio.h-data: Likewise.
34883 * conform/data/sys/un.h-data: Likewise.
34884 * conform/data/sys/utsname.h-data: Likewise.
34885 * conform/data/sys/wait.h-data: Likewise.
34886 * conform/data/syslog.h-data: Likewise.
34887 * conform/data/tar.h-data: Likewise.
34888 * conform/data/termios.h-data: Likewise.
34889 * conform/data/utime.h-data: Likewise.
34890 * conform/data/utmpx.h-data: Likewise.
34891 * conform/data/varargs.h-data: Likewise.
34892 * conform/data/wchar.h-data: Likewise.
34893 * conform/data/wctype.h-data: Likewise.
34894 * conform/data/wordexp.h-data: Likewise.
34895
34896 * include/stropts.h: New file.
34897 * include/uchar.h: New file.
34898 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34899 * include/assert.h: Likewise.
34900 * include/ctype.h: Likewise.
34901 * include/dirent.h: Likewise.
34902 * include/dlfcn.h: Likewise.
34903 * include/fcntl.h: Likewise.
34904 * include/fnmatch.h: Likewise.
34905 * include/glob.h: Likewise.
34906 * include/grp.h: Likewise.
34907 * include/libio.h: Likewise.
34908 * include/locale.h: Likewise.
34909 * include/math.h: Likewise.
34910 * include/net/if.h: Likewise.
34911 * include/netdb.h: Likewise.
34912 * include/netinet/in.h: Likewise.
34913 * include/pthread.h: Likewise.
34914 * include/pwd.h: Likewise.
34915 * include/regex.h: Likewise.
34916 * include/sched.h: Likewise.
34917 * include/search.h: Likewise.
34918 * include/setjmp.h: Likewise.
34919 * include/signal.h: Likewise.
34920 * include/stdio.h: Likewise.
34921 * include/stdlib.h: Likewise.
34922 * include/string.h: Likewise.
34923 * include/sys/cdefs.h: Likewise.
34924 * include/sys/mman.h: Likewise.
34925 * include/sys/msg.h: Likewise.
34926 * include/sys/resource.h: Likewise.
34927 * include/sys/select.h: Likewise.
34928 * include/sys/socket.h: Likewise.
34929 * include/sys/stat.h: Likewise.
34930 * include/sys/statvfs.h: Likewise.
34931 * include/sys/time.h: Likewise.
34932 * include/sys/times.h: Likewise.
34933 * include/sys/uio.h: Likewise.
34934 * include/sys/utsname.h: Likewise.
34935 * include/sys/wait.h: Likewise.
34936 * include/termios.h: Likewise.
34937 * include/time.h: Likewise.
34938 * include/ulimit.h: Likewise.
34939 * include/unistd.h: Likewise.
34940 * include/utime.h: Likewise.
34941 * include/wchar.h: Likewise.
34942 * include/wctype.h: Likewise.
34943 * include/wordexp.h: Likewise.
34944
34945 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34946
7a270350
UD
34947 * time/time.h: TIME_UTC must be a macro.
34948 Make timespec_get available for ISO C11 only as well.
34949
7724defc
UD
349502012-02-24 Ulrich Drepper <drepper@gmail.com>
34951
34952 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34953 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34954
6b1d1d46
JM
349552012-02-24 Joseph Myers <joseph@codesourcery.com>
34956
34957 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34958
0f8bbd69
JM
349592012-02-24 Joseph Myers <joseph@codesourcery.com>
34960
34961 * manual/texinfo.tex: Update to version 2012-01-19.16.
34962
66ab80bc
JM
349632012-02-24 Joseph Myers <joseph@codesourcery.com>
34964
34965 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34966
74981cc5
RM
349672012-02-24 Roland McGrath <roland@hack.frob.com>
34968
ee968201
RM
34969 [BZ #13738]
34970 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34971 * manual/fdl-1.3.texi: New file.
34972 * manual/fdl-1.1.texi: File removed.
34973
74981cc5
RM
34974 [BZ #13738]
34975 * manual/libc.texinfo (FDL_VERSION): New @set.
34976 Use it for mention of FDL in cover text.
34977 (Documentation License): Use it in @include file name.
34978
7bb764bc
JM
349792012-02-22 Joseph Myers <joseph@codesourcery.com>
34980 Roland McGrath <roland@hack.frob.com>
34981
34982 [BZ #5461]
34983 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34984 not LONG_LONG_MAX and LONG_LONG_MIN.
34985 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34986 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34987 name.
34988 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34989
6cbeae47
JM
349902012-02-22 Joseph Myers <joseph@codesourcery.com>
34991
34992 [BZ #2547]
34993 [BZ #11365]
34994 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34995 manipulate bits before adding and subtracting TWO23[sx].
34996 * math/libm-test.inc (nearbyint_test): Add more tests.
34997
fe45ce09
JM
349982012-02-22 Joseph Myers <joseph@codesourcery.com>
34999
35000 [BZ #2548]
35001 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35002 bits before adding and subtracting TWO23[sx].
35003 * math/libm-test.inc (rint_test): Add more tests.
35004 (rint_test_tonearest): Likewise.
35005 (rint_test_towardzero): Likewise.
35006 (rint_test_downward): Likewise.
35007 (rint_test_upward: Likewise.
35008
ff3b3d82
JM
350092012-02-22 Joseph Myers <joseph@codesourcery.com>
35010
35011 [BZ #10110]
35012 * include/stdc-predef.h: New file. Extracted from features.h.
35013 * include/features.h: Include stdc-predef.h.
35014 * Makefile (headers): Add stdc-predef.h.
35015 * CONFORMANCE (Compiler limitations): Update.
35016
ef0aab35
JM
350172012-02-22 Joseph Myers <joseph@codesourcery.com>
35018
35019 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35020
58639409
DM
350212012-02-21 David S. Miller <davem@davemloft.net>
35022
35023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35025
c0e70b25
DM
350262012-02-20 David S. Miller <davem@davemloft.net>
35027
35028 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35029 using a normal save/restore sequence, rather than allocating a
35030 dummy stack frame just to store a frame pointer and restore.
35031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35032
fb06851d
JM
350332012-02-21 Joseph Myers <joseph@codesourcery.com>
35034
35035 * manual/install.texi: Fix stray word in line-wrapped comment.
35036
7a8b71c3
DM
350372012-02-20 David S. Miller <davem@davemloft.net>
35038
d510c123
DM
35039 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35040 both binutils and gcc support GOTDATA.
35041
0722d7c2
DM
35042 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35043 "rd %pc" in the PIC register setup sequences.
35044
3d2b3019
DM
35045 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35046 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35047 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35048 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35049 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35054 (SYSCALL_ERROR_HANDLER): Likewise.
35055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35058 (SYSCALL_ERROR_HANDLER): Likewise.
35059
c80098a9
DM
35060 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35061 (HAVE_GCC_GOTDATA): New.
35062 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35063 relocation support in both binutils and gcc.
35064 * sysdeps/sparc/elf/configure: Regenerate.
35065
3a2545a0
DM
35066 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35067 * sysdeps/sparc/sparc32/elf/configure: Delete.
35068 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35069 * sysdeps/sparc/sparc64/elf/configure: Delete.
35070 * sysdeps/sparc/elf/configure.in: New file.
35071 * sysdeps/sparc/elf/configure: Generate.
35072
7a8b71c3
DM
35073 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35074 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35075 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35076 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35077 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35078
f1e86fca
JM
350792012-02-21 Joseph Myers <joseph@codesourcery.com>
35080
35081 * manual/install.texi: Do not mention specific glibc version
35082 numbers.
35083 * manual/libc.texinfo (VERSION, UPDATED): Update.
35084 (@copying): Use @copyright{} and range of years.
35085
0e7dfaef
JM
350862012-02-21 Joseph Myers <joseph@codesourcery.com>
35087
35088 [BZ #13695]
35089 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35090 [crti.S not in sysdirs] (generated): Do not append.
35091 [crti.S not in sysdirs] (omit-deps): Likewise.
35092 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35093 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35094 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35095 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35096 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35097 Likewise.
35098 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35099 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35100 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35101 * csu/defs.awk: Remove file.
35102 * sysdeps/generic/initfini.c: Likewise.
35103 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35104 variable.
35105 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35106 Likewise.
35107
599af3ca
JM
351082012-02-20 Joseph Myers <joseph@codesourcery.com>
35109
35110 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35111 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35112 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35115 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35116 <bits/epoll.h>.
35117 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35118 (__EPOLL_PACKED): Define to empty if not defined by
35119 <bits/epoll.h>.
35120 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35122 bits/epoll.h.
35123
0e499750
JM
351242012-02-20 Joseph Myers <joseph@codesourcery.com>
35125
35126 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35127 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35128 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35129 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35130 <bits/timerfd.h>.
35131 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35133 bits/timerfd.h.
35134
5ad91f6e
JM
351352012-02-20 Joseph Myers <joseph@codesourcery.com>
35136
35137 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35138 in C locale.
35139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35143
06b99b02
AJ
351442012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35145
35146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35147 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35148
7638c0fd
AS
351492012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35150
35151 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35152 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35153 defined.
35154 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35155 Likewise.
35156 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35157 entry for 2.16.
35158
92221550
AJ
351592012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35160
35161 * math/w_acos.c: Use non-signaling floating-point comparisons.
35162 * math/w_acosf.c: Likewise.
35163 * math/w_acosh.c: Likewise.
35164 * math/w_acoshf.c: Likewise.
35165 * math/w_acoshl.c: Likewise.
35166 * math/w_acosl.c: Likewise.
35167 * math/w_asin.c: Likewise.
35168 * math/w_asinf.c: Likewise.
35169 * math/w_asinl.c: Likewise.
35170 * math/w_atanh.c: Likewise.
35171 * math/w_atanhf.c: Likewise.
35172 * math/w_atanhl.c: Likewise.
35173 * math/w_exp2.c: Likewise.
35174 * math/w_exp2f.c: Likewise.
35175 * math/w_exp2l.c: Likewise.
35176 * math/w_j0.c: Likewise.
35177 * math/w_j0f.c: Likewise.
35178 * math/w_j0l.c: Likewise.
35179 * math/w_j1.c: Likewise.
35180 * math/w_j1f.c: Likewise.
35181 * math/w_j1l.c: Likewise.
35182 * math/w_jn.c: Likewise.
35183 * math/w_jnf.c: Likewise.
35184 * math/w_log.c: Likewise.
35185 * math/w_log10.c: Likewise.
35186 * math/w_log10f.c: Likewise.
35187 * math/w_log10l.c: Likewise.
35188 * math/w_log2.c: Likewise.
35189 * math/w_log2f.c: Likewise.
35190 * math/w_log2l.c: Likewise.
35191 * math/w_logf.c: Likewise.
35192 * math/w_logl.c: Likewise.
35193 * math/w_sqrt.c: Likewise.
35194 * math/w_sqrtf.c: Likewise.
35195 * math/w_sqrtl.c: Likewise.
35196 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35197 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35198 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35199 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35200 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35201
ebaf36eb
JM
352022012-02-19 Joseph Myers <joseph@codesourcery.com>
35203
35204 [BZ #9739]
35205 * manual/string.texi (strnlen): Use correct parameter name in
35206 equivalent expression.
35207
71c254a6
JM
352082012-02-19 Joseph Myers <joseph@codesourcery.com>
35209
35210 [BZ #11174]
35211 * manual/users.texi (seteuid): Consistently use neweuid for
35212 argument name.
35213
16d2c631
JM
352142012-02-19 Joseph Myers <joseph@codesourcery.com>
35215
35216 [BZ #13704]
35217 * manual/nss.texi (Services in the NSS configuration): Correct
35218 list of services in example configuration file.
35219
cd837b09
NB
352202012-02-19 Nick Bowler <nbowler@draconx.ca>
35221
35222 [BZ #11322]
35223 * manual/arith.texi: Remove statements about negative zero
35224 behaving identically to zero.
35225
02c4bbad
JM
352262012-02-18 Joseph Myers <joseph@codesourcery.com>
35227
35228 [BZ #5993]
35229 * manual/install.texi: Do not document upgrading from libc5.
35230
366842e7
JM
352312012-02-18 Joseph Myers <joseph@codesourcery.com>
35232
35233 [BZ #4596]
35234 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35235
dd54084d
DM
352362012-02-18 David S. Miller <davem@davemloft.net>
35237
35238 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35239 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35240 %o7 across the call.
35241 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35242 instead.
35243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35244 SETUP_PIC_REG_LEAF.
35245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35246 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35247 * sysdeps/sparc/crtn.S: Likewise.
35248
2bcc53a3
UD
352492012-02-17 Ulrich Drepper <drepper@gmail.com>
35250
35251 * aout/Makefile: Remove.
35252
09c093b5
RK
352532012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35254
35255 [BZ #13058]
35256 * manual/examples/argp-ex1.c (main): Format definition in GNU
35257 style.
35258 * manual/examples/argp-ex2.c (main): Likewise.
35259 * manual/examples/argp-ex3.c (main): Likewise.
35260 * manual/examples/argp-ex4.c (main): Likewise.
35261 * manual/examples/longopt.c (main): Use new-style prototype
35262 definition.
35263 * manual/examples/strncat.c (main): Specify return type and use
35264 (void) for arguments.
35265 * manual/examples/subopt.c (main): Use char **argv argument.
35266
2ee633a2
JM
352672012-02-17 Joseph Myers <joseph@codesourcery.com>
35268
35269 [BZ #5077]
35270 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35271 rounding modes.
35272
0520adde
FB
352732012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35274
35275 [BZ #6907]
35276 * manual/string.texi (strchr): Change when strchrnul is
35277 recommended.
35278
3f4081cd
DGM
352792012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35280
35281 [BZ #174]
35282 * manual/locale.texi (setlocale): Document LOCPATH.
35283
d1b10e78
JM
352842012-02-17 Joseph Myers <joseph@codesourcery.com>
35285
35286 [BZ #10210]
35287 * manual/process.texi (execle): Move @dots{} before last argument.
35288
79c6869c
PB
352892012-02-17 Paul Bolle <pebolle@tiscali.nl>
35290
35291 [BZ #12047]
35292 * manual/charset.texi (Generic Charset Conversion): Fix typo
35293 (LC_TYPE -> LC_CTYPE).
35294
cc6e48bc
NB
352952012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35296
35297 [BZ #5805]
35298 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35299 (scalbnf): Likewise.
35300 (scalbnl): Likewise.
35301 (scalbln): Likewise.
35302 (scalblnf): Likewise.
35303 (scalblnl): Likewise.
35304 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35305 (vwarnx): Likewise.
35306 (verr): Likewise.
35307 (verrx): Likewise.
35308 * manual/filesys.texi (telldir): Use braces around return type.
35309 * manual/llio.texi (mmap): Add space after comma.
35310 (mmap64): Likewise.
35311 * manual/math.texi (jn): Use @var{} on parameter names.
35312 (jnf): Likewise.
35313 (jnl): Likewise.
35314 (yn): Likewise.
35315 (ynf): Likewise.
35316 (ynl): Likewise.
35317 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35318 line.
35319 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35320 "...".
35321 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35322 (sched_get_priority_max): Likewise.
35323 * manual/signal.texi (sigvec): Add space after comma.
35324 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35325 names.
35326 (if_indextoname): Likewise.
35327 (if_freenameindex): Likewise.
35328 (sendto): Use ',' instead of '.' in prototype.
35329 * manual/startup.texi (syscall): Use @dots{} instead of literal
35330 "...".
35331 * manual/stdio.texi (__fpending): Separate initial words of
35332 paragraph from @deftypefun line.
35333 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35334 "...".
35335 (vsyslog): Use @var{} on parameter names.
35336 * manual/terminal.texi (stty): Use @var{} on parameter names.
35337 * manual/users.texi (getutmp): Use @var{} on parameter names.
35338 (getutmpx): Likewise.
35339
5b23062f
JM
353402012-02-17 Joseph Myers <joseph@codesourcery.com>
35341
35342 [BZ #6884]
35343 * manual/stdio.texi (fopen): Fix typos in description of
35344 ",ccs=STRING".
35345
8dee4833
AJ
353462012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35347
35348 [BZ #4026]
35349 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35350 get clock_id definition.
35351
9078ce93
TS
353522012-02-17 Thomas Schwinge <thomas@schwinge.name>
35353
35354 [BZ #4822]
35355 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35356 (madvise): Cast every argument to void on its own.
35357
3835c55f
JM
353582012-02-17 Joseph Myers <joseph@codesourcery.com>
35359
35360 [BZ #9902]
35361 * manual/startup.texi (Exit Status): Fix typo.
35362
35c47e37
JM
353632012-02-17 Joseph Myers <joseph@codesourcery.com>
35364
35365 [BZ #10140]
35366 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35367 * manual/examples/argp-ex2.c: Likewise.
35368 * manual/examples/argp-ex3.c: Likewise.
35369
e3b69ca7
RH
353702012-02-16 Richard Henderson <rth@redhat.com>
35371
35372 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35373 * sysdeps/s390/s390-32/initfini.c: Remove.
35374 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35375 * sysdeps/s390/s390-64/initfini.c: Remove.
35376
df83af67
KK
353772012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35378
35379 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35380 compiler output for sysdeps/generic/initfini.c.
35381 * sysdeps/sh/elf/initfini.c: Remove file.
35382
f63f3380
DM
353832012-02-16 David S. Miller <davem@davemloft.net>
35384
fb59b3a4
DM
35385 [BZ #11494]
35386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35387
f63f3380
DM
35388 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35389 * sysdeps/sparc/crti.S: New file.
35390 * sysdeps/sparc/crtn.S: New file.
35391 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35392 * sysdeps/sparc/sparc64/Makefile: Likewise.
35393
df6a4a4a
MF
353942012-02-15 Mike Frysinger <vapier@gentoo.org>
35395
6dd8f3dc 35396 [BZ #3335]
df6a4a4a
MF
35397 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35398
1cac7236
RM
353992012-02-15 Roland McGrath <roland@hack.frob.com>
35400
d2c736f8
RM
35401 [BZ #4822]
35402 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35403
1cac7236
RM
35404 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35405 (write, read, close): Likewise.
35406 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35407
8e475601
JM
354082012-02-15 Joseph Myers <joseph@codesourcery.com>
35409
35410 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35411 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35412 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35413 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35414 <bits/signalfd.h>.
35415 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35417 bits/signalfd.h.
35418
ed656b40
MP
354192012-02-14 Marek Polacek <polacek@redhat.com>
35420
35421 * sysdeps/x86_64/crti.S: New file.
35422 * sysdeps/x86_64/crtn.S: New file.
35423 * sysdeps/x86_64/elf/initfini.c: Remove file.
35424
2a979d3a
JM
354252012-02-13 Joseph Myers <joseph@codesourcery.com>
35426
35427 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35428 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35429 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35430 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35431 <bits/inotify.h>.
35432 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35434 bits/inotify.h.
35435
2a418ac3
JM
354362012-02-13 Joseph Myers <joseph@codesourcery.com>
35437
35438 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35439 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35440 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35441 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35442 <bits/eventfd.h>.
35443 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35445 bits/eventfd.h.
35446
fb779be7
TS
354472012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35448
e19e83c5
RM
35449 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35450 __feraiseexcept instead of feraiseexcept.
7c35ffed 35451
fb779be7
TS
35452 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35453 nanosleep invocations.
35454 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35455 strings, and add error checking for a nanosleep invocations.
35456
59ba27a6
PE
354572012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35458
35459 Replace FSF snail mail address with URLs, as per GNU coding standards.
35460 Most of the snail mail addresses were wrong anyway, and omitting
35461 them makes the source code easier to maintain. Almost all of the
35462 changes are to license notices and to locale LC_IDENTIFICATION
35463 addresses, except for this one:
35464 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35465 not its snail mail address.
35466
57b957eb
RH
354672012-02-09 Richard Henderson <rth@twiddle.net>
35468
af850b1c
RH
35469 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35470 of kernel-features.h.
35471
57b957eb
RH
35472 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35473
6b73181a
MP
354742012-02-08 Marek Polacek <polacek@redhat.com>
35475
35476 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35477 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35478 * sysdeps/gnu/_G_config.h: Likewise.
35479 * sysdeps/generic/_G_config.h: Likewise.
35480
26ecc33a
AS
354812012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35482
6c6dbc63
AS
35483 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35484 tests.
35485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35486
e216c012
AS
35487 * sysdeps/powerpc/powerpc32/crti.S: New file.
35488 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35489 * sysdeps/powerpc/powerpc64/crti.S: New file.
35490 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35491
26ecc33a
AS
35492 * Makeconfig (have-initfini): Don't set.
35493 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35494 * configure.in (nopic_initfini): Don't substitute.
35495 * config.h.in (HAVE_INITFINI): Don't #undef.
35496 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35497 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35498
3add8e13
JM
354992012-02-08 Joseph Myers <joseph@codesourcery.com>
35500
35501 Support crti.S and crtn.S provided directly by architectures.
35502 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35503 [crti.S in sysdirs] (omit-deps): Likewise.
35504 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35505 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35506 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35507 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35508 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35509 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35510 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35511 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35512 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35513 compiler output for sysdeps/generic/initfini.c.
35514 * sysdeps/i386/elf/Makefile: Remove file.
35515 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35516
a22f12b4
MP
355172012-02-07 Marek Polacek <polacek@redhat.com>
35518
35519 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35520 * sysdeps/gnu/_G_config.h: Likewise.
35521 * sysdeps/mach/hurd/_G_config.h: Likewise.
35522
148cf100
MP
355232012-02-07 Marek Polacek <polacek@redhat.com>
35524
35525 * math/Makefile (tests): Add tst-CMPLX2.
35526 * math/tst-CMPLX2.c: New file.
35527
cfdc0dd7
AS
355282012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35529
84ba42c4
AS
35530 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35531
cfdc0dd7
AS
35532 * math/libm-test.inc (jn_test): Add missing L suffix.
35533
622c86f4
MP
355342012-02-06 Marek Polacek <polacek@redhat.com>
35535
35536 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35537 * sysdeps/i386/fpu/e_powf.S: Likewise.
35538 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35539 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35541 * sysdeps/i386/fpu/e_pow.S: Likewise.
35542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35546 * sysdeps/i386/fpu/e_log2.S: Likewise.
35547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35549 * sysdeps/i386/fpu/e_powl.S: Likewise.
35550 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35551 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35552 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35553 * sysdeps/i386/fpu/e_logl.S: Likewise.
35554 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35555 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35556 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35557 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35558 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35559 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35560 * sysdeps/i386/fpu/e_log.S: Likewise.
35561 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35563 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35564 * sysdeps/i386/fpu/e_logf.S: Likewise.
35565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35567 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35568 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35569 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35570 * sysdeps/i386/fpu/e_log10.S: Likewise.
35571 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35572 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35573 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35574 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35575 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35576 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35577 * sysdeps/i386/asm-syntax.h: Likewise.
35578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35579 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35580 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35581 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35582 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35583 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35584 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35585 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35587 * sysdeps/powerpc/sysdep.h: Likewise.
35588 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35589 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35590
d4a54ac6
JM
355912012-02-06 Joseph Myers <joseph@codesourcery.com>
35592
35593 [BZ #411]
35594 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35595
314054ea
JM
355962012-02-06 Joseph Myers <joseph@codesourcery.com>
35597
35598 * sysdeps/i386/sysdep.h: Include <features.h>.
35599 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35600 version.
35601
d8e0ca50
JM
356022012-02-05 Joseph Myers <joseph@codesourcery.com>
35603
35604 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35605 Define.
35606 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35607 LOAD_PIC_REG_STR.
35608
b1da7dd9
JM
356092012-02-03 Joseph Myers <joseph@codesourcery.com>
35610
35611 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35612 (SETUP_PIC_REG): Use GET_PC_THUNK.
35613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35614 macro.
35615
9a1d9254
JM
356162012-02-03 Joseph Myers <joseph@codesourcery.com>
35617
35618 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35619 for non-PIC compilation.
35620 (SETUP_PIC_REG): Add .p2align directive.
35621 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35622 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35623 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35624 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35625 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35626 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35629 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35630 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35631 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35632 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35633 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35634 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35635 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35636 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35637 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35638 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35639 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35640 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35641 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35649 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35650 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35651 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35652 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35653 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35654 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35655 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35662
65dc3b75
JM
356632012-02-03 Joseph Myers <joseph@codesourcery.com>
35664
35665 * math/tst-CMPLX.c: Include <stdio.h>.
35666
d55bf177
JM
356672012-01-31 Joseph Myers <joseph@codesourcery.com>
35668
35669 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35670 float.
35671 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35672 * sysdeps/sparc/bits/mathdef.h: Likewise.
35673
69db4f8f
MP
356742012-01-31 Marek Polacek <polacek@redhat.com>
35675
35676 * libio/libio.h: Don't define _PARAMS.
35677 * locale/programs/config.h: Don't define PARAMS.
35678 * stdlib/strtol_l.c: Likewise.
35679 (__strtol_l): Remove PARAMS from the prototype.
35680
41b81892
UD
356812012-01-31 Ulrich Drepper <drepper@gmail.com>
35682
3b49edc0
UD
35683 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35684 names. Just use the correct names. Remove unnecessary wrapper
35685 functions.
35686 * malloc/arena.c: Likewise.
35687 * malloc/hooks.c: Likewise.
35688
41b81892
UD
35689 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35690 ARENA_TEST says not to. Simplify test for creation of a new arena.
35691 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35692
27a25b6e
UD
356932012-01-30 Ulrich Drepper <drepper@gmail.com>
35694
35695 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35696 into tail calls.
35697 (update_get_addr): New function.
35698 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35699 GET_ADDR_MODULE parameter.
35700
c8a89e7d
JM
357012012-01-30 Joseph Myers <joseph@codesourcery.com>
35702
35703 * crypt/cert.c: Remove __STDC__ conditionals.
35704 * crypt/crypt-entry.c: Likewise.
35705 * crypt/crypt_util.c: Likewise.
35706 * libio/filedoalloc.c: Likewise.
35707 * libio/fileops.c: Likewise.
35708 * libio/genops.c: Likewise.
35709 * libio/iofclose.c: Likewise.
35710 * libio/iofdopen.c: Likewise.
35711 * libio/iofopen.c: Likewise.
35712 * libio/iofopen64.c: Likewise.
35713 * libio/iogetdelim.c: Likewise.
35714 * libio/iopopen.c: Likewise.
35715 * libio/obprintf.c: Likewise.
35716 * libio/oldfileops.c: Likewise.
35717 * libio/oldiofclose.c: Likewise.
35718 * libio/oldiofdopen.c: Likewise.
35719 * libio/oldiofopen.c: Likewise.
35720 * libio/oldiopopen.c: Likewise.
35721 * libio/wfiledoalloc.c: Likewise.
35722 * libio/wgenops.c: Likewise.
35723 * locale/programs/xmalloc.c: Likewise.
35724 * misc/syslog.c: Likewise.
35725 * stdio-common/xbug.c: Likewise.
35726 * string/memchr.c: Likewise.
35727 * string/memcmp.c: Likewise.
35728 * string/memrchr.c: Likewise.
35729 * string/rawmemchr.c: Likewise.
35730 * sysdeps/posix/getcwd.c: Likewise.
35731 * time/strftime_l.c: Likewise.
35732
3b100462
JM
357332012-01-30 Joseph Myers <joseph@codesourcery.com>
35734
35735 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35736 * config.make.in (config-cflags-sse2avx): Define.
35737 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35738 Fix typo.
35739
607998af
CM
357402012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35741
35742 * scripts/config.guess: Update from upstream config git repository.
35743 * scripts/config.sub: Likewise.
35744
3601428f
CM
357452012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35746
3ac8b282
CM
35747 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35748 (EM_NUM): Update.
35749 (R_TILEPRO_*, R_TILEGX_*): New macros.
35750
e034841e
CM
35751 * scripts/firstversions.awk: Fix bug in version range handling.
35752
540d7568
CM
35753 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35754
3601428f
CM
35755 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35756
463de862
CM
35757 * include/sys/epoll.h: New file.
35758 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35759 libc_hidden_def.
35760
73139a76
UD
357612012-01-28 Ulrich Drepper <drepper@gmail.com>
35762
96bc5b45
UD
35763 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35764 Avoid unnecessary __WORDSIZE == 64 test.
35765 (fmaxf): Use VEX format if possible.
35766 (fmax): Likewise.
35767 (fminf): Likewise.
35768 (fmin): Likewise.
35769
56f6f6a2
UD
35770 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35771 * math/math_private.h: Remove libc_fegetround* and
35772 libc_fesetround*.
35773 * sysdeps/i386/configure.in: Check for -msse2avx.
35774 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35775 also if SSE2AVX is defined.
35776 Remove libc_fegetround* and libc_fesetround*.
35777 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35778 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35780 of HAS_YMM_USABLE.
35781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35786
73139a76
UD
35787 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35788
d73f93a4
AZ
357892012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35790
35791 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35792 size is not set.
35793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35794
6ee65ed6
UD
357952012-01-27 Ulrich Drepper <drepper@gmail.com>
35796
35797 [BZ #13618]
35798 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35799 relocation.
35800 * Makeconfig (libm): Define.
35801 * elf/Makefile: Add rules to build and run tst-relsort1.
35802 * elf/tst-relsort1.c: New file.
35803 * elf/tst-relsort1mod1.c: New file.
35804 * elf/tst-relsort1mod2.c: New file.
35805
8db21882
JM
358062012-01-27 Joseph Myers <joseph@codesourcery.com>
35807
35808 * math/s_ldexp.c: Remove __STDC__ conditionals.
35809 * math/s_ldexpf.c: Likewise.
35810 * math/s_ldexpl.c: Likewise.
35811 * math/s_nextafter.c: Likewise.
35812 * math/s_nexttowardf.c: Likewise.
35813 * math/s_significand.c: Likewise.
35814 * math/s_significandf.c: Likewise.
35815 * math/s_significandl.c: Likewise.
35816 * math/w_jnl.c: Likewise.
35817 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35818 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35819 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35820 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35821 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35823 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35824 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35825 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35826 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35827 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35831 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35832 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35833 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35836 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35837 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35839 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35841 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35842 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35843 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35844 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35845 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35848 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35849 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35851 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35852 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35853 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35854 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35855 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35856 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35857 * sysdeps/ieee754/k_standard.c: Likewise.
35858 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35881 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35919 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35933 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35937 * sysdeps/ieee754/s_matherr.c: Likewise.
35938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35942
965a54a4
JM
359432012-01-26 Joseph Myers <joseph@codesourcery.com>
35944
35945 * crypt/md5.h: Remove __STDC__ conditionals.
35946 * libio/libioP.h: Likewise.
35947 * locale/programs/config.h: Likewise.
35948 * sysdeps/generic/sysdep.h: Likewise.
35949 * sysdeps/i386/asm-syntax.h: Likewise.
35950 * sysdeps/s390/asm-syntax.h: Likewise.
35951 * sysdeps/unix/sysdep.h: Likewise.
35952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35954
7071ad79
JM
359552012-01-26 Joseph Myers <joseph@codesourcery.com>
35956
35957 * libio/libio.h: Remove __STDC__ conditionals.
35958 * malloc/obstack.h: Likewise.
35959 * math/complex.h: Likewise.
35960 * math/math.h: Likewise.
35961 * sysdeps/generic/_G_config.h: Likewise.
35962 * sysdeps/gnu/_G_config.h: Likewise.
35963 * sysdeps/mach/hurd/_G_config.h: Likewise.
35964 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35965 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35966 * sysdeps/sparc/bits/mathdef.h: Likewise.
35967
afc5ed09
UD
359682012-01-26 Ulrich Drepper <drepper@gmail.com>
35969
35970 [BZ #13583]
35971 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35972 Clean up HAS_* macros.
afc5ed09 35973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35974 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35975 possible.
35976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35977 HAS_AVX.
35978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35983
bdb6de1d
JM
359842012-01-25 Joseph Myers <joseph@codesourcery.com>
35985
35986 * elf/tst-unique3.cc (gets): Remove declaration.
35987 * elf/tst-unique3lib.cc (gets): Likewise.
35988 * elf/tst-unique3lib2.cc (gets): Likewise.
35989 * elf/tst-unique4.cc (gets): Likewise.
35990
b15549e6
UD
359912012-01-24 Ulrich Drepper <drepper@gmail.com>
35992
35993 * include/stdio.h: Add C++ protection. Add gets declarations and
35994 definitions.
35995 * debug/tst-chk1.c: Don't declare gets here.
35996 * stdio-common/tst-gets.c: Likewise.
35997
a037381f
JM
359982012-01-24 Joseph Myers <joseph@codesourcery.com>
35999
36000 * posix/glob: Remove directory.
36001
f1d4aa75
JM
360022012-01-24 Joseph Myers <joseph@codesourcery.com>
36003
36004 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36005
81c0c964
PT
360062012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36007
36008 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36009 of the non-standard EPFNOSUPPORT.
36010
0ea698ae
ST
360112011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36012
36013 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36014 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36015 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36016
d220b117
UD
360172012-01-21 Ulrich Drepper <drepper@gmail.com>
36018
36019 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36020
3e1aa84e
UD
360212012-01-20 Ulrich Drepper <drepper@gmail.com>
36022
36023 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36024 transient errors.
36025 * nscd/grpcache.c (cache_addgr): Likewise.
36026 * nscd/hstcache.c (cache_addhst): Likewise.
36027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36028 * nscd/pwdcache.c (cache_addpw): Likewise.
36029 * nscd/servicescache.c (cache_addserv): Likewise.
36030
400aa020
UD
360312012-01-16 Ulrich Drepper <drepper@gmail.com>
36032
d77e7869
UD
36033 * malloc/malloc.c: Various cleanups.
36034 * malloc/hooks.c: Likewise.
36035
400aa020
UD
36036 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36037 * stdlib/bug-fmtmsg1.c: New file.
36038
36039 * stdlib/fmtmsg.c (init): Add missing unlock.
36040 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36041
e0a309cf
MP
360422012-01-12 Marek Polacek <polacek@redhat.com>
36043
36044 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36045 and _GNU_SOURCE.
36046
929d11c7
WS
360472012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36048
36049 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36050 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36051 macro to ensure uniqueness of label name.
36052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36054
41d0e869
UD
360552012-01-11 Ulrich Drepper <drepper@gmail.com>
36056
0cc5ed3b
UD
36057 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36058
41d0e869
UD
36059 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36060 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36063
a47a831a
UD
360642012-01-10 Ulrich Drepper <drepper@gmail.com>
36065
daa891c0
UD
36066 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36067
36068 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36069 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36070 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36071
e58ef0f2
UD
36072 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36073
a47a831a 36074 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36075 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36076 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36078
36079 * math/bits/math-finite.h: Add ldexp support.
36080
a0bfc9c7
MP
360812012-01-10 Marek Polacek <polacek@redhat.com>
36082
36083 * locale/programs/localedef.h (show_archive_content): Add noreturn
36084 attribute.
36085
d6e97a1d
UD
360862012-01-09 Ulrich Drepper <drepper@gmail.com>
36087
36088 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36089
d5835c26
UD
360902012-01-08 Ulrich Drepper <drepper@gmail.com>
36091
e5f484c6
UD
36092 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36093
d5835c26
UD
36094 * io/Makefile (headers): Add bits/poll2.h.
36095
d1f741e9
WS
360962011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36097
36098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36099 typo #include statement.
36100
ec09c1c4
UD
361012012-01-08 Ulrich Drepper <drepper@gmail.com>
36102
36103 * include/sys/cdefs.h: Define __attribute_alloc_size.
36104 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36105 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36106 * elf/pldd.c: Likewise.
36107 * iconv/iconv_charmap.c: Likewise.
36108 * iconv/iconvconfig.c: Likewise.
36109 * iconv/strtab.c: Likewise.
36110 * locale/programs/locale.c: Likewise.
36111 * locale/programs/localedef.h: Likewise.
36112 * locale/programs/simple-hash.c: Likewise.
36113 * nscd/nscd.h: Likewise.
36114 * nss/makedb.c: Likewise.
36115 * sysdeps/generic/ldconfig.h: Likewise.
36116 * locale/programs/localedef.c: Remove xmalloc prototype.
36117 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36118
20b38e03
PP
361192012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36120
36121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36122 appropriate.
36123
a0da5fe1
UD
361242012-01-08 Ulrich Drepper <drepper@gmail.com>
36125
1d5a644a 36126 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36127 * math/tst-CMPLX.c: New file.
1d5a644a 36128
8784a6db
UD
36129 * math/complex.h (CMPLXL): Fix typo.
36130
d9a216c0
UD
36131 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36132 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36133 GLIBC_2.16.
36134 * debug/tst-chk1.c: Add poll and ppoll tests.
36135 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36136 * include/sys/poll.h: Add hidden proto for ppoll.
36137 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36138 * sysdeps/mach/hurd/ppoll.c: Likewise.
36139 * io/ppoll.c: Likewise.
36140 * debug/poll_chk.c: New file.
36141 * debug/ppoll_chk.c: New file.
36142 * include/bits/poll2.h: New file.
36143 * io/bits/poll2.h: New file.
36144
ac097f5c
UD
36145 [BZ #1350]
36146 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36147
2119dcfa
UD
36148 * configure.in: static is always set to yes. Remove.
36149 * config.make.in: Don't set build-static.
36150 * Makeconfig: Remove use of build-static.
36151 * dlfcn/Makefile: Likewise.
36152 * elf/Makefile: Likewise.
36153 * math/Makefile: Likewise.
36154 * misc/Makefile: Likewise.
36155 * nptl/Makefile: Likewise.
36156 * sysdeps/mach/hurd/Makefile: Likewise.
36157
121766a9
UD
36158 * configure.in: PWD_P is not used anymore.
36159 * config.make.in: Remove PWD_P entry.
36160
51a1d39c 36161 * configure.in: Remove last remnants of RANLIB.
8720d066 36162 No need to check for signed size_t anymore.
215f4bdc
UD
36163 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36164 and IA-64.
3857022a 36165 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36166 * aclocal.m4: Likewise.
36167
d3ed7225
UD
36168 * wcsmbs/mbrtoc16.c: Implement using towc function.
36169 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36170 * wcsmbs/wcsmbsload.c: Likewise.
36171 * iconv/gconv_simple.c: Likewise.
36172 * iconv/gconv_int.h: Likewise.
36173 * iconv/gconv_builtin.h: Likewise.
36174 * iconv/iconv_prog.c: Remove CHAR16 handling.
36175
36176 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36177
36178 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36179
a0da5fe1
UD
36180 * configure.in: Remove --with-elf and --enable-bounded options.
36181 Dont set base_machine for ia64. More non-ELF conditions removed.
36182 Remove testing and setting of leading underscore information.
36183 * config.make.in (build-bounded): Set to no.
36184 * config.h.in: Remove NO_UNDERSCORES entry.
36185 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36186 them.
36187 * csu/start.c: Remove !NO_UNDERSCORE code.
36188 * locale/localeinfo.h: Likewise.
36189 * sysdeps/generic/machine-gmon.h: Likewise.
36190 * sysdeps/generic/sysdep.h: Likewise.
36191 * sysdeps/i386/sysdep.h: Likewise.
36192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36193 * sysdeps/mach/sysdep.h: Likewise.
36194 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36196 * sysdeps/sh/sysdep.h: Likewise.
36197 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36198 * sysdeps/unix/i386/sysdep.S: Likewise.
36199 * sysdeps/unix/sparc/start.c: Likewise.
36200 * sysdeps/unix/sparc/sysdep.S: Likewise.
36201 * sysdeps/unix/sparc/sysdep.h: Likewise.
36202 * sysdeps/unix/start.c: Likewise.
36203 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36204 * sysdeps/x86_64/sysdep.h: Likewise.
36205
df78418a
UD
362062012-01-07 Ulrich Drepper <drepper@gmail.com>
36207
a784e502
UD
36208 [BZ #13553]
36209 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36210 for non-gcc.
36211 * argp/argp-fmtstream.h: Use const instead __const.
36212 * argp/argp.h: Likewise.
36213 * assert/assert.h: Likewise.
36214 * bits/fenv.h: Likewise.
36215 * bits/sched.h: Likewise.
36216 * bits/sigset.h: Likewise.
36217 * bits/sigthread.h: Likewise.
36218 * catgets/nl_types.h: Likewise.
36219 * conform/data/pthread.h-data: Likewise.
36220 * crypt/crypt-private.h: Likewise.
36221 * crypt/crypt.h: Likewise.
36222 * crypt/crypt_util.c: Likewise.
36223 * ctype/ctype.h: Likewise.
36224 * debug/execinfo.h: Likewise.
36225 * debug/mbsnrtowcs_chk.c: Likewise.
36226 * debug/mbsrtowcs_chk.c: Likewise.
36227 * debug/wcsnrtombs_chk.c: Likewise.
36228 * debug/wcsrtombs_chk.c: Likewise.
36229 * debug/wcstombs_chk.c: Likewise.
36230 * dirent/dirent.h: Likewise.
36231 * dlfcn/dlfcn.h: Likewise.
36232 * elf/neededtest4.c: Likewise.
36233 * grp/grp.h: Likewise.
36234 * gshadow/gshadow.h: Likewise.
36235 * iconv/gconv.h: Likewise.
36236 * iconv/gconv_int.h: Likewise.
36237 * iconv/gconv_simple.c: Likewise.
36238 * iconv/iconv.h: Likewise.
36239 * iconv/loop.c: Likewise.
36240 * iconv/skeleton.c: Likewise.
36241 * include/aio.h: Likewise.
36242 * include/aliases.h: Likewise.
36243 * include/argz.h: Likewise.
36244 * include/arpa/inet.h: Likewise.
36245 * include/assert.h: Likewise.
36246 * include/dirent.h: Likewise.
36247 * include/dlfcn.h: Likewise.
36248 * include/execinfo.h: Likewise.
36249 * include/fcntl.h: Likewise.
36250 * include/fenv.h: Likewise.
36251 * include/glob.h: Likewise.
36252 * include/grp.h: Likewise.
36253 * include/libintl.h: Likewise.
36254 * include/mntent.h: Likewise.
36255 * include/netdb.h: Likewise.
36256 * include/pwd.h: Likewise.
36257 * include/rpc/netdb.h: Likewise.
36258 * include/sched.h: Likewise.
36259 * include/search.h: Likewise.
36260 * include/shadow.h: Likewise.
36261 * include/signal.h: Likewise.
36262 * include/stdio.h: Likewise.
36263 * include/stdlib.h: Likewise.
36264 * include/string.h: Likewise.
36265 * include/sys/socket.h: Likewise.
36266 * include/sys/stat.h: Likewise.
36267 * include/sys/statfs.h: Likewise.
36268 * include/sys/statvfs.h: Likewise.
36269 * include/sys/syslog.h: Likewise.
36270 * include/sys/time.h: Likewise.
36271 * include/sys/uio.h: Likewise.
36272 * include/time.h: Likewise.
36273 * include/unistd.h: Likewise.
36274 * include/utmp.h: Likewise.
36275 * include/wchar.h: Likewise.
36276 * include/wctype.h: Likewise.
36277 * inet/aliases.h: Likewise.
36278 * inet/arpa/inet.h: Likewise.
36279 * inet/netinet/ether.h: Likewise.
36280 * inet/netinet/in.h: Likewise.
36281 * intl/libintl.h: Likewise.
36282 * io/bits/fcntl2.h: Likewise.
36283 * io/fcntl.h: Likewise.
36284 * io/ftw.h: Likewise.
36285 * io/sys/poll.h: Likewise.
36286 * io/sys/stat.h: Likewise.
36287 * io/sys/statfs.h: Likewise.
36288 * io/sys/statvfs.h: Likewise.
36289 * io/utime.h: Likewise.
36290 * libio/bits/stdio.h: Likewise.
36291 * libio/bits/stdio2.h: Likewise.
36292 * libio/libio.h: Likewise.
36293 * libio/libioP.h: Likewise.
36294 * libio/stdio.h: Likewise.
36295 * locale/lc-ctype.c: Likewise.
36296 * locale/locale.h: Likewise.
36297 * login/utmp.h: Likewise.
36298 * malloc/arena.c: Likewise.
36299 * malloc/malloc.c: Likewise.
36300 * malloc/malloc.h: Likewise.
36301 * malloc/mcheck.c: Likewise.
36302 * malloc/mtrace.c: Likewise.
36303 * math/bits/mathcalls.h: Likewise.
36304 * math/fenv.h: Likewise.
36305 * math/math_private.h: Likewise.
36306 * misc/bits/error.h: Likewise.
36307 * misc/bits/syslog.h: Likewise.
36308 * misc/err.h: Likewise.
36309 * misc/error.h: Likewise.
36310 * misc/fstab.h: Likewise.
36311 * misc/mntent.h: Likewise.
36312 * misc/regexp.h: Likewise.
36313 * misc/search.h: Likewise.
36314 * misc/sgtty.h: Likewise.
36315 * misc/sys/mman.h: Likewise.
36316 * misc/sys/syslog.h: Likewise.
36317 * misc/sys/uio.h: Likewise.
36318 * misc/sys/xattr.h: Likewise.
36319 * misc/ttyent.h: Likewise.
36320 * nis/rpcsvc/ypclnt.h: Likewise.
36321 * nss/nss.h: Likewise.
36322 * posix/bits/unistd.h: Likewise.
36323 * posix/fnmatch.h: Likewise.
36324 * posix/glob.h: Likewise.
36325 * posix/sched.h: Likewise.
36326 * posix/spawn.h: Likewise.
36327 * posix/sys/wait.h: Likewise.
36328 * posix/unistd.h: Likewise.
36329 * posix/wordexp.h: Likewise.
36330 * pwd/pwd.h: Likewise.
36331 * resolv/netdb.h: Likewise.
36332 * resource/sys/resource.h: Likewise.
36333 * rt/aio.h: Likewise.
36334 * rt/bits/mqueue2.h: Likewise.
36335 * rt/mqueue.h: Likewise.
36336 * shadow/shadow.h: Likewise.
36337 * signal/signal.h: Likewise.
36338 * socket/send.c: Likewise.
36339 * socket/sendto.c: Likewise.
36340 * socket/sys/socket.h: Likewise.
36341 * stdio-common/printf.h: Likewise.
36342 * stdlib/bits/stdlib.h: Likewise.
36343 * stdlib/fmtmsg.h: Likewise.
36344 * stdlib/monetary.h: Likewise.
36345 * stdlib/stdlib.h: Likewise.
36346 * stdlib/ucontext.h: Likewise.
36347 * streams/stropts.h: Likewise.
36348 * string/argz.h: Likewise.
36349 * string/bits/string2.h: Likewise.
36350 * string/string.h: Likewise.
36351 * string/strings.h: Likewise.
36352 * sunrpc/rpc/auth.h: Likewise.
36353 * sunrpc/rpc/auth_des.h: Likewise.
36354 * sunrpc/rpc/clnt.h: Likewise.
36355 * sunrpc/rpc/netdb.h: Likewise.
36356 * sunrpc/rpc/pmap_clnt.h: Likewise.
36357 * sunrpc/rpc/xdr.h: Likewise.
36358 * sysdeps/generic/inttypes.h: Likewise.
36359 * sysdeps/generic/net/if.h: Likewise.
36360 * sysdeps/generic/sys/swap.h: Likewise.
36361 * sysdeps/gnu/net/if.h: Likewise.
36362 * sysdeps/gnu/utmpx.h: Likewise.
36363 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36364 * sysdeps/i386/i486/bits/string.h: Likewise.
36365 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36366 * sysdeps/s390/bits/string.h: Likewise.
36367 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36368 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36369 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36370 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36371 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36372 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36373 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36374 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36375 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36376 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36377 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36378 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36379 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36380 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36381 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36382 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36383 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36388 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36389 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36390 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36391 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36392 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36393 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36395 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36397 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36398 * sysvipc/sys/ipc.h: Likewise.
36399 * sysvipc/sys/msg.h: Likewise.
36400 * sysvipc/sys/sem.h: Likewise.
36401 * sysvipc/sys/shm.h: Likewise.
36402 * termios/termios.h: Likewise.
36403 * time/sys/time.h: Likewise.
36404 * time/time.h: Likewise.
36405 * wcsmbs/bits/wchar2.h: Likewise.
36406 * wcsmbs/uchar.h: Likewise.
36407 * wcsmbs/wchar.h: Likewise.
36408 * wctype/wctype.h: Likewise.
36409
0269750c
UD
36410 [BZ #13551]
36411 * Makeconfig: Remove all but ELF support including AIX support.
36412 * Makerules: Likewise.
36413 * config.h.in: Likewise.
36414 * config.make.in: Likewise.
36415 * configure: Likewise.
36416 * configure.in: Likewise.
36417 * csu/Makefile: Likewise.
36418 * csu/version.c: Likewise.
36419 * debug/Makefile: Likewise.
36420 * dlfcn/Makefile: Likewise.
36421 * elf/Makefile: Likewise.
36422 * extra-lib.mk: Likewise.
36423 * iconv/Makefile: Likewise.
36424 * include/libc-symbols.h: Likewise.
36425 * include/shlib-compat.h: Likewise.
36426 * resolv/Makefile: Likewise.
36427 * resolv/res_libc.c: Likewise.
36428 * rt/Makefile: Likewise.
36429 * sysdeps/i386/asm-syntax.h: Likewise.
36430 * sysdeps/i386/sysdep.h: Likewise.
36431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36432 * sysdeps/mach/sysdep.h: Likewise.
36433 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36434 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36435 * sysdeps/s390/asm-syntax.h: Likewise.
36436 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36437 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36438 * sysdeps/sh/sysdep.h: Likewise.
36439 * sysdeps/unix/sparc/sysdep.h: Likewise.
36440 * sysdeps/wordsize-32/divdi3.c: Likewise.
36441 * sysdeps/x86_64/sysdep.h: Likewise.
36442
00bbd29b
UD
36443 * argp/Versions: Remove _argp_unlock_xxx.
36444
36445 [BZ #13559]
36446 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36447 * abilist/libBrokenLocale.abilist: Likewise.
36448 * abilist/libanl.abilist: Likewise.
36449 * abilist/libc.abilist: Likewise.
36450 * abilist/libcrypt.abilist: Likewise.
36451 * abilist/libdl.abilist: Likewise.
36452 * abilist/libm.abilist: Likewise.
36453 * abilist/libnsl.abilist: Likewise.
36454 * abilist/libpthread.abilist: Likewise.
36455 * abilist/libresolv.abilist: Likewise.
36456 * abilist/librt.abilist: Likewise.
36457 * abilist/libthread_db.abilist: Likewise.
36458 * abilist/libutil.abilist: Likewise.
36459 * abilist/libnss_db.abilist: New file.
36460
36461 * scripts/abilist.awk: Add support for indirect functions.
36462
a2693a0e
UD
36463 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36464
3f05895f
UD
36465 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36466
ecb6fb48
UD
36467 * shlib-versions: Remove entries for ports architectures.
36468
664f8cb9
UD
36469 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36470 files in ports.
36471 * elf/stackguard-macros.h: Remove support for IA-64.
36472 * elf/tst-auditmod1.c: Likewise.
36473 * sysdeps/generic/ldsodefs.h: Likewise.
36474
7ae81d88
UD
36475 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36476 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36477 configure files.
36478
bdeba135
UD
36479 [BZ #13552]
36480 * configure.in: Remove --enable-omitfp support.
36481 * FAQ.in: Adjust.
36482 * config.make.in: Likewise.
36483 * Makeconfig: Likewise.
36484 * manual/install.texi: Likewise.
36485
d75a0a62
UD
36486 In case anyone cares, the IA-64 architecture could move to ports.
36487 * sysdeps/ia64/*: Removed.
36488 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36489 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36490
dcc9756b
UD
36491 [BZ #13555]
36492 * configure.in: Remove entries for unsupported architectures.
36493
d3761ebc 36494 [BZ #13533]
9954432e
UD
36495 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36496 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36497 routines.
36498 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36499 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36500 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36501 fall back to using wcrtomb.
36502 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36503 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36504 renaming.
36505 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36506 * wcsmbs/tst-c16c32-1.c: New file.
36507
36508 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36509 local variable.
36510
c3a87236
UD
36511 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36512
28926a1b
UD
36513 * elf/tst-unique3.cc: Add explicit declaration of gets.
36514 * elf/tst-unique3lib.cc: Likewise.
36515 * elf/tst-unique3lib2.cc: Likewise.
36516 * elf/tst-unique4.cc: Likewise.
36517
df78418a
UD
36518 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36519
8ecd6b2a
JM
365202012-01-06 Joseph Myers <joseph@codesourcery.com>
36521
36522 [BZ #13566]
36523 * assert/assert.h (static_assert): Don't define for C++.
36524 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36525 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36526
9f115170
UD
365272012-01-03 Ulrich Drepper <drepper@gmail.com>
36528
5e0d0300
UD
36529 * iconv/loop.c (single loop): Fix assertion in storing of
36530 remaining bytes.
36531
9f115170
UD
36532 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36533
81fb02b0
UD
365342012-01-01 Ulrich Drepper <drepper@gmail.com>
36535
36536 * posix/getconf.c: Update copyright year.
36537 * nss/getent.c: Likewise.
a316c1f6 36538 * nss/makedb.c: Likewise.
81fb02b0
UD
36539 * iconv/iconvconfig.c: Likewise.
36540 * iconv/iconv_prog.c: Likewise.
36541 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36542 * elf/pldd.c: Likewise.
36543 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36544 * catgets/gencat.c: Likewise.
36545 * csu/version.c: Likewise.
36546 * elf/ldd.bash.in: Likewise.
36547 * elf/sprof.c (print_version): Likewise.
36548 * locale/programs/locale.c: Likewise.
36549 * locale/programs/localedef.c: Likewise.
a316c1f6 36550 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36551 * nscd/nscd.c (print_version): Likewise.
36552 * debug/xtrace.sh: Likewise.
36553 * malloc/memusage.sh: Likewise.
36554 * malloc/mtrace.pl: Likewise.
36555 * debug/catchsegv.sh: Likewise.
36556
2ba92745
JJ
365572011-12-30 Jakub Jelinek <jakub@redhat.com>
36558
36559 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36560 pure attribute.
36561
dadebdae
UD
365622011-12-24 Ulrich Drepper <drepper@gmail.com>
36563
d3761ebc 36564 [BZ #13533]
db6af3eb
UD
36565 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36566 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36567 transformations.
36568 * iconv/gconv_int.h: Likewise.
36569 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36570 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36571 from libc for GLIBC_2.16.
36572 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36573 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36574 * wcsmbs/uchar.h: Really define mbstate_t.
36575 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36576 * wcsmbs/c16rtomb.c: New file.
36577 * wcsmbs/mbrtoc16.c: New file.
36578 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36579 for C/POSIX locale.
36580 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36581 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36582
dadebdae
UD
36583 * wcsmbs/wchar.h: Add missing __restrict.
36584
67371b56
UD
365852011-12-23 Ulrich Drepper <drepper@gmail.com>
36586
74033a25
UD
36587 [BZ #13532]
36588 * time/Makefile (routines): Add timespec_get.
36589 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36590 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36591 timespec for ISO C11.
36592 * time/timespec_get.c: New file.
36593 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36594 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36595
380d7e87
UD
36596 [BZ #13531]
36597 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36598 * stdlib/stdlib.h: Declare aligned_alloc.
36599 * Versions.def: Add GLIBC_2.16 for libc.
36600 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36601
4e9e7a35
UD
36602 [BZ 13527]
36603 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36604 ISO C11.
36605
380d7e87 36606 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36607 code.
36608
03a71829
UD
36609 [BZ #13528]
36610 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36611
839e283e
UD
36612 [BZ #13529]
36613 * assert/assert.h (static_assert): Define.
36614
ce5294e2 36615 * version.h: Update for 2.16 development version.
90fa7312 36616
8d44e150 36617 [BZ #13526]
d7809905
UD
36618 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36619 _ISOC11_SOURCE.
36620
c0da14cd
UD
36621 * version.h (RELEASE): Bump for 2.15 release.
36622 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36623
530a3249
MP
36624 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36625 Patch by Marek Polacek <mpolacek@redhat.com>.
36626
67371b56
UD
36627 * bits/byteswap.h: Protect long long constants with __extension__.
36628 * sysdeps/i386/bits/byteswap.h: Likewise.
36629 * sysdeps/ia64/bits/byteswap.h: Likewise.
36630 * sysdeps/s390/bits/byteswap.h: Likewise.
36631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36632
15db4de1
LD
366332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36634
36635 [BZ #13540]
bbe315ea
LD
36636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36637 destination buffer.
15db4de1
LD
36638 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36639
2b2596b1
MP
366402011-12-23 Marek Polacek <polacek@redhat.com>
36641
36642 * elf/dl-addr.c (determine_info): Add inline keyword.
36643 * elf/tst-auditmod4b.c (check_avx): Likewise.
36644 * elf/tst-auditmod6b.c (check_avx): Likewise.
36645 * elf/tst-auditmod6c.c (check_avx): Likewise.
36646 * elf/tst-auditmod7b.c (check_avx): Likewise.
36647
70c6c246
UD
366482011-12-23 Ulrich Drepper <drepper@gmail.com>
36649
36650 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36651 !__SSE_MATH__.
36652
c044cf14
LD
366532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36654
15db4de1 36655 [BZ #13540]
c044cf14
LD
36656 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36657 processing for last bytes.
36658
6b13d9d9
BH
366592011-08-06 Bruno Haible <bruno@clisp.org>
36660
d455f537
BH
36661 [BZ #13061]
36662 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36663 U+0385, not to U+1FEE.
36664
6b13d9d9
BH
36665 [BZ #13062]
36666 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36667 entry for U+00A5 U+0301.
36668
db910efd
UD
366692011-12-22 Ulrich Drepper <drepper@gmail.com>
36670
27deeafc
UD
36671 [BZ #13166]
36672 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36673 buffer for the output is too small.
36674
aed9d171
UD
36675 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36676 optimization.
36677
db910efd
UD
36678 [BZ #13185]
36679 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36680 SSE flags if possible.
36681
2bd779ae
LD
366822011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36683
e7f9dac3 36684 [BZ #13540]
2bd779ae
LD
36685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36686 processing for last bytes.
36687
154bfc16
JM
366882011-12-22 Joseph Myers <joseph@codesourcery.com>
36689
36690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36691 (syscall-list-default-options, syscall-list-default-condition)
36692 (syscall-list-includes): Define.
36693 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36694 list of ABIs and options and #if conditions for each ABI. Do not
36695 handle common syscalls between ABIs specially.
36696 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36697 Remove.
36698 (syscall-list-variants, syscall-list-32bit-options)
36699 (syscall-list-32bit-condition, syscall-list-64bit-options)
36700 (syscall-list-64bit-condition): Define.
36701 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36702 (syscall-list-variants, syscall-list-32bit-options)
36703 (syscall-list-32bit-condition, syscall-list-64bit-options)
36704 (syscall-list-64bit-condition): Define.
36705 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36706 Remove.
36707 (syscall-list-variants, syscall-list-32bit-options)
36708 (syscall-list-32bit-condition, syscall-list-64bit-options)
36709 (syscall-list-64bit-condition): Define.
36710 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36711 Remove.
36712 (syscall-list-variants, syscall-list-32bit-options)
36713 (syscall-list-32bit-condition, syscall-list-64bit-options)
36714 (syscall-list-64bit-condition): Define.
36715
21eaf3a5
UD
367162011-12-22 Ulrich Drepper <drepper@gmail.com>
36717
16c6f992
UD
36718 * locale/iso-639.def: Add brx entry.
36719
41043168
UD
36720 [BZ #13328]
36721 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36722 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36723
21eaf3a5
UD
36724 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36725 __feraiseexcept_renamed.
36726
e3a851a2
UD
367272011-12-21 Ulrich Drepper <drepper@gmail.com>
36728
4920765e
UD
36729 [BZ #13538]
36730 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36731 EPOLLET with unsigned values.
36732 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36733 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36734
e3a851a2
UD
36735 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36736 to large cancellation.
36737 * math/s_cacoshf.c: Likewise.
36738 * math/s_cacoshl.c: Likewise.
36739
b27e24b8
RK
367402011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36741
36742 [BZ #13305]
aebefeee 36743 [BZ #12786]
b27e24b8
RK
36744 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36745 * math/s_cacoshf.c: Likewise.
36746 * math/s_cacoshl.c: Likewise.
36747
ee190f67
UD
367482011-12-21 Ulrich Drepper <drepper@gmail.com>
36749
36750 [BZ #13439]
36751 * iconv/gconv.h: Define __GCONV_SWAP.
36752 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36753 * iconvdata/utf-16.c: Likewise.
36754 * iconvdata/utf-32.c: Likewise.
36755
707f25df
AS
367562011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36757
36758 [BZ #13524]
36759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36760 numerator after shifting it by one limb.
36761
d2daaa1e
RÁE
367622011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36763
36764 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36765 under [__USE_EXTERN_INLINES].
36766
a4647e72
UD
367672011-12-17 Ulrich Drepper <drepper@gmail.com>
36768
36769 [BZ #13446]
36770 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36771
f0b264f1
AZ
367722011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36773
36774 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36775 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36776 optimized code.
36777 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36778 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36779 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36780 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36781 for strncasecmp/strncasecmp_l compilation.
36782 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36783 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36784
8ef4f244
MP
367852011-12-08 Marek Polacek <mpolacek@redhat.com>
36786
36787 [BZ #13484]
36788 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36789 of __asm__.
36790
97ac2654
UD
367912011-12-17 Ulrich Drepper <drepper@gmail.com>
36792
36793 [BZ #13506]
36794 * time/tzfile.c (__tzfile_read): Check values from file header.
36795
91d2a845
WS
367962011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36797
36798 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36799 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36800 * powerpc/powerpc32/dl-start.S: Likewise.
36801 * powerpc/powerpc32/elf/start.S: Likewise.
36802 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36803 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36804 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36805 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36806 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36807 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36808 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36809 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36810 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36811 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36812 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36813 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36814 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36815 * powerpc/powerpc32/memset.S: Likewise.
36816 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36817 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36818 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36819 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36820 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36821 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36822 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36823 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36824 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36825 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36826 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36827 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36828 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36829
a1267ba1
AZ
368302011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36831
36832 * math/libm-test.inc: Added more nearbyint tests.
36833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36837
ad8ac1bd
RL
368382011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36839
36840 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36841 FD_CLOEXEC.
36842
1d3e4b61
UD
368432011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36844
36845 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36846 Add wcscpy-ssse3 wcscpy-c.
36847 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36848 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36849 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36850 * sysdeps/x86_64/wcschr.S: New file.
36851 * sysdeps/x86_64/wcsrchr.S: New file.
36852 * string/test-strcmp.c: Remove checking of wcscmp function for
36853 wrong alignments.
36854 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36855 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36856 wcsrchr-sse2 wcsrchr-c.
36857 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36858 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36859 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36860 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36861 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36862 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36863 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36864 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36866 * wcsmbc/wcschr.c (WCSCHR): New macro.
36867
5b330a2d
UD
368682011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36869
36870 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36871 * wcsmbs/test-wcsrchr.c: New file.
36872 * string/test-strrchr.c: Add wcsrchr support.
36873 (WIDE): New macro.
36874 * wcsmbs/test-wcscpy.c: New file.
36875 * string/test-strcpy.c: Add wcscpy support.
36876 (WIDE): New macro.
26428b7c 36877
f039c043
UD
368782011-12-10 Ulrich Drepper <drepper@gmail.com>
36879
36880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36881 the inner loop.
36882
850fb039
AS
368832011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36884
36885 [BZ #13472]
36886 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36887
4efbd5cb
UD
368882011-12-04 Ulrich Drepper <drepper@gmail.com>
36889
52ff5dd0 36890 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36891 Minor optimizations.
52ff5dd0 36892
4efbd5cb
UD
36893 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36894 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36895 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36896
8a426e12
UD
368972011-12-03 Ulrich Drepper <drepper@gmail.com>
36898
aff2453d
UD
36899 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36900 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36901 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36902 for gcc to avoid warnings.
36903 * inet/Makefile (tests): Add tst-checks.
36904 * inet/tst-checks.c: New file.
36905
36906 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36907 warning.
36908
36909 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36910 __wmemcmp_sse2.
36911
36912 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36913 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36914
8a426e12
UD
36915 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36916
9bea3473
UD
369172011-12-02 Ulrich Drepper <drepper@gmail.com>
36918
3a965496
UD
36919 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36920 problem.
36921
9bea3473
UD
36922 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36923
f101631b
UD
369242011-11-29 Joseph Myers <joseph@codesourcery.com>
36925
36926 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36927 conditional on GCC version.
36928 (__arch_compare_and_exchange_val_8_acq)
36929 (__arch_compare_and_exchange_val_16_acq)
36930 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36931 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36932 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36933
a98275aa
UD
369342011-12-02 Joseph Myers <joseph@codesourcery.com>
36935
36936 * sysdeps/sh/backtrace.c: New file.
36937
d4cc29a2
AS
369382011-12-02 Andreas Schwab <schwab@redhat.com>
36939
36940 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36941 parenthesis.
36942
6257af2d
AS
369432011-12-01 Andreas Schwab <schwab@redhat.com>
36944
36945 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36946 falling back to utime.
36947
b5f44c1a
AS
369482011-11-30 Andreas Schwab <schwab@redhat.com>
36949
36950 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36951 expectations for float.
36952
f3a6cc0a
AS
369532011-11-29 Andreas Schwab <schwab@redhat.com>
36954
36955 * locale/weight.h (findidx): Add parameter len.
36956 * locale/weightwc.h (findidx): Likewise.
36957 * posix/fnmatch_loop.c (FCT): Adjust caller.
36958 * posix/regcomp.c (build_equiv_class): Likewise.
36959 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36960 * posix/regexec.c (check_node_accept_bytes): Likewise.
36961 * string/strcoll_l.c (STRCOLL): Likewise.
36962 * string/strxfrm_l.c (STRXFRM): Likewise.
36963
9d65ea3a
UD
369642011-11-17 Ulrich Drepper <drepper@gmail.com>
36965
36966 * Makefile.in: Remove CVSOPT handling.
36967 * configure.in: Remove use of AC_REVISION.
36968 * iconvdata/Makefile (distribute): No need to filter out CVS.
36969 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36970 handling.
36971
5583a086
AS
369722011-11-16 Andreas Schwab <schwab@redhat.com>
36973
36974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36975 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36976 [USE_AS_STRNCASECMP_L]: Likewise.
36977 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36978 NO_TLS_DIRECT_SEG_REFS.
36979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36980 Fix argument offsets for non-PIC.
36981 [USE_AS_STRNCASECMP_L]: Likewise.
36982 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36983 NO_TLS_DIRECT_SEG_REFS.
36984
d62a8200
UD
369852011-11-15 Ulrich Drepper <drepper@gmail.com>
36986
9d65ea3a 36987 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36988 O_CLOEXEC.
36989 * locale/loadlocale.c (_nl_load_locale): Likewise.
36990
09f93bd3
AS
369912011-11-15 Andreas Schwab <schwab@redhat.com>
36992
446514f9
AS
36993 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36994 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36996 (SYSCALL_GETTIME): Set errno on error.
36997
09f93bd3
AS
36998 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36999 count references to noai6ai_cached.
37000
312be3f9
UD
370012011-11-15 Ulrich Drepper <drepper@gmail.com>
37002
37003 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37004
37005 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37006 FD_CLOEXEC for /proc/self/maps.
37007
37008 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37009 FD_CLOEXEC for /proc/meminfo.
37010
37011 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37012 gai.conf.
37013
37014 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37015 FD_CLOEXEC for given file.
37016
37017 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37018
37019 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37020 FD_CLOEXEC for /etc/hosts.
37021 (_gethtent): Likewise.
37022
37023 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37024
37025 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37026 cancellation and set FD_CLOEXEC for /etc/netgroup.
37027
37028 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37029 reading /etc/publickey.
37030
37031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37032 allow cancellation when reading /etc/group.
37033
37034 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37035 cancellation.
37036 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37037
37038 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37039 when using data file.
37040
37041 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37042
37043 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37044 (write_nis_obj): Use "c" and "e" in fopen.
37045
37046 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37047
37048 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37049
37050 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37051
37052 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37053
37054 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37055 locale.alias.
37056
37057 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37058
37059 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37060
37061 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37062
37063 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37064 file parsing and set FD_CLOEXEC.
37065
82af0fa8
UD
370662011-11-14 Ulrich Drepper <drepper@gmail.com>
37067
37068 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37069
a5fb313c
AS
370702011-11-14 Andreas Schwab <schwab@redhat.com>
37071
37072 * malloc/arena.c (arena_get2): Don't call reused_arena when
37073 _int_new_arena failed.
37074
6abf3465
UD
370752011-11-14 Ulrich Drepper <drepper@gmail.com>
37076
37077 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37078 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37080 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37082 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37083 to compile strcasecmp and strncasecmp.
37084 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37085 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37086
37087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37088
76e3966e
UD
370892011-11-13 Ulrich Drepper <drepper@gmail.com>
37090
37091 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37092 locale-defines.sym to gen-as-const-headers.
37093 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37094 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37096 to compile strcasecmp and strncasecmp.
37097 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37098 strcasecmp_l and strncasecmp_l.
37099 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37100 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37101 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37102 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37103 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37104 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37105 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37106 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37107 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37108 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37109 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37110
ab26144e
UD
371112011-11-12 Ulrich Drepper <drepper@gmail.com>
37112
7edb22ef
UD
37113 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37114 result of SYSDEP_GETTIME_CPU to retval.
37115 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37116 parameter list to macro. Remove trailing semicolon. Adjust users.
37117
9694fc44
UD
37118 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37119 variable.
37120
8ad89ef8
UD
37121 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37122 mantissa words.
37123 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37124
0c822ef9
UD
37125 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37126 from unused variable.
37127
874e0564
UD
37128 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37129 DWARF definitions.
37130 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37131 for assembling.
37132
3a2edc79
UD
37133 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37134 over namespaces.
37135
f3c2577f
UD
37136 * sunrpc/rpc_prot.c (rejected): Fix case value.
37137
294ce126
UD
37138 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37139 unsigned long long int to avoid warnings in shift.
37140
5e2b63c6
UD
37141 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37142 of use of trans.
37143 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37144 variable tmp.
37145
e7f4b08e
UD
37146 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37147 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37148 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37149
ab26144e
UD
37150 * nis/nis_table.c (nis_list): Use variable of correct type for
37151 result of __follow_path call.
37152
8a6d5255
AZ
371532011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37154
37155 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37156 of math functions ceil, trunc, floor, round, and sqrt, when
37157 avaliable on the platform.
37158 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37159 name clash.
37160 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37161 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37162 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37163
aaddc98c
MP
371642011-10-30 Marek Polacek <mpolacek@redhat.com>
37165
37166 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37167 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37168
95b7042b
RM
371692011-11-11 Roland McGrath <roland@hack.frob.com>
37170
37171 * include/unistd.h: Fix __readlink return type.
37172 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37173
57769839
UD
371742011-11-11 Ulrich Drepper <drepper@gmail.com>
37175
37176 * stdlib/ucontext.h: Undo last change for makecontext.
37177
edc5984d
AS
371782011-11-11 Andreas Schwab <schwab@redhat.com>
37179
98591e58
AS
37180 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37181
edc5984d
AS
37182 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37183 * setjmp/setjmp.h: Mark functions as non-leaf.
37184 * setjmp/bits/setjmp2.h: Likewise.
37185 * stdlib/ucontext.h: Likewise.
37186
77cdc054
AS
371872011-11-10 Andreas Schwab <schwab@redhat.com>
37188
37189 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37190 (reused_arena): Don't check arena limit.
37191 (arena_get2): Atomically check arena limit.
37192
fe72eebd
UD
371932011-11-08 Ulrich Drepper <drepper@gmail.com>
37194
5f078c32
UD
37195 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37196 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37197
fe72eebd
UD
37198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37199 instructions.
37200
ae1bc2fa
AS
372012011-11-07 Andreas Schwab <schwab@redhat.com>
37202
7583a88d
AS
37203 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37204 handler when locking.
37205
ae1bc2fa
AS
37206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37207 Fix size of allocated buffer.
37208
10fb0bfa
AS
372092011-11-04 Andreas Schwab <schwab@redhat.com>
37210
998832a4
AS
37211 [BZ #10103]
37212 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37213 declarations for long double functions.
37214 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37215
10fb0bfa
AS
37216 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37217
3d7ba52b
AS
372182011-11-03 Andreas Schwab <schwab@redhat.com>
37219
a9ae54a1
AS
37220 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37221 installed.
37222
3d7ba52b
AS
37223 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37224 is disabled.
37225
bc8db248
ST
372262011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37227
37228 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37229
45b96dd6
AS
372302011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37231
647776f6
AS
37232 * include/alloca.h (stackinfo_alloca_round): Define.
37233 (extend_alloca): Use it.
37234 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37235 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37236 here.
37237
d91a8b93
AS
37238 * scripts/check-local-headers.sh: Ignore libaudit.h.
37239
45b96dd6
AS
37240 * nscd/Makefile (extra-objs): Make recursively expanded.
37241
432d41ce
UD
372422011-11-01 Ulrich Drepper <drepper@gmail.com>
37243
34372fc6
UD
37244 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37246
fadb59f8
UD
37247 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37248 * posix/tst-rfc3484-2.c: Likewise.
37249 * posix/tst-rfc3484-3.c: Likewise.
37250
78239589
UD
37251 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37252 process_vm_writev.
37253 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37254 process_vm_writev.
37255 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37256 process_vm_writev from libc using GLIBC_2.15 version.
37257
432d41ce
UD
37258 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37259
02f9c6cf
PP
372602011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37261
37262 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37263 stack usage.
37264
3a2c0242
UD
372652011-10-31 Ulrich Drepper <drepper@gmail.com>
37266
f4ec4833
UD
37267 [BZ #13367]
37268 * nss/getent.c (initgroups_keys): Show error message in case no group
37269 names are given.
37270
3a2c0242
UD
37271 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37272 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37273 __bump_nl_timestamp.
37274 * nscd/connections (nscd_init): When host database is served open
37275 netlink socket and request notification about configuration changes.
37276 (main_loop_poll): Track netlink file descriptor and bump timestamp
37277 in case data becomes available.
37278 (main_loop_epoll): Likewise.
37279 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37280 (database_pers_head): Add extra_data fileds.
37281 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37282 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37283 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37284 Adjust caller.
37285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37286 in6ai data, call __free_in6ai.
37287 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37288 Add -DHAVE_NETLINK.
37289 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37290 interface information. Reuse previous data if netlink timestamp
37291 is not changed.
37292 (__bump_nl_timestamp): New function.
37293 (__free_in6ai): New function.
37294
636064eb
UD
372952011-10-30 Ulrich Drepper <drepper@gmail.com>
37296
37297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37298 close_not_cancel_no_status here.
37299 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37300
9beb2334
UD
373012011-10-29 Ulrich Drepper <drepper@gmail.com>
37302
6ef76f3b
UD
37303 [BZ #13276]
37304 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37305 return value.
37306
0ffc4f3e 37307 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37308 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37309 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37310
cb95113e
UD
373112011-07-03 Andreas Jaeger <aj@suse.de>
37312
37313 [BZ #10709]
37314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37315 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37316 * math/libm-test.inc (sin_test): Add test case.
37317
a1b560ff
UD
373182011-10-29 Ulrich Drepper <drepper@gmail.com>
37319
c9aaface
UD
37320 [BZ #13337]
37321 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37322 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37323
d272e7f1
UD
37324 * elf/chroot_canon.c (chroot_canon): Cleanups.
37325
1bc33071
UD
37326 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37327
1760874d
TJ
37328 [BZ #13335]
37329 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37330 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37331
51d91b18
UD
37332 * string/test-strchr.c: Make usable for strchrnul testing.
37333 * string/test-strchrnul.c: New file.
37334 * string/Makefile (strop-tests): Add strchrnul.
37335
a1b560ff 37336 * po/it.po: Update from translation team.
b611fb81 37337 * po/es.po: Likewise.
a1b560ff 37338
a5b81e1f
UD
373392011-10-28 Ulrich Drepper <drepper@gmail.com>
37340
fd52bc6d
UD
37341 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37342 the three constants needed as parameters. Drop the others.
37343 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37344 __m128i_strloadu_tolower.
52e4b9eb
UD
37345 Create and initialize variable zero and use it in all the places
37346 where _mm_setzero_si128 was used.
fd52bc6d 37347
a5b81e1f
UD
37348 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37349 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37350 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37352 anymore.
37353 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37355 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37356 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37357 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37358 __mpranred, __mptan.
37359 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37360 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37361 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37362 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37363 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37364 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37366 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37368
b4343346
AS
373692011-10-28 Andreas Schwab <schwab@redhat.com>
37370
0c92d8a8
AS
37371 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37372 redefine if SHARED.
37373 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37374
b4343346
AS
37375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37376 wide char related routines to wcsmbs subdir.
37377
3871f58f
AS
373782011-10-27 Andreas Schwab <schwab@redhat.com>
37379
37380 [BZ #13344]
37381 * misc/sys/cdefs.h (__THROWNL): Define.
37382 * posix/unistd.h: Use __THREADNL instead of __THREAD
37383 for memory synchronization functions.
37384
94d44d9f
RM
373852011-10-26 Roland McGrath <roland@hack.frob.com>
37386
21b64b15 37387 [BZ #13349]
94d44d9f
RM
37388 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37389 doesn't exist.
37390 * manual/stdio.texi (Obstack Streams): Node removed.
37391
f6ce9294
AS
373922011-10-26 Andreas Schwab <schwab@redhat.com>
37393
80479147
AS
37394 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37395 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37396 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37397
f6ce9294
AS
37398 * math/math_private.h (math_force_eval): Allow non-addressable
37399 arguments.
37400 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37401
618280a1
UD
374022011-10-25 Ulrich Drepper <drepper@gmail.com>
37403
e0016b11
UD
37404 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37405 file is not needed.
37406
37407 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37410 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37413 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37414 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37415 Add AVX variants.
37416 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37417 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37418 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37419 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37420 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37421 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37422 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37424 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37425 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37426 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37427 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37429 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37430 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37431 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37432 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37433 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37434 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37435
37436 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37437 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37438
618280a1
UD
37439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37440 place. Use VEX encoding when compiling for AVX.
37441
37822576
AS
374422011-10-25 Andreas Schwab <schwab@redhat.com>
37443
1f1e1947
AS
37444 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37445 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37446
37822576
AS
37447 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37448
31ea014d
UD
374492011-10-25 Ulrich Drepper <drepper@gmail.com>
37450
d7826aa1 37451 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37452 useless if() expression.
d7826aa1
UD
37453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37457 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37459 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37462 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37463 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37464 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37465 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37466 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37468 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37469 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37471 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37472
31ea014d
UD
37473 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37474
16437fec
AS
374752011-10-25 Andreas Schwab <schwab@redhat.com>
37476
37477 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37478 condition.
37479 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37480
31d3cc00
UD
374812011-10-25 Ulrich Drepper <drepper@gmail.com>
37482
37483 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37484 .text section. Avoid duplicate constants.
37485 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37487 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37493 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37495 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37497 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37500 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37502 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37503 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37505 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37506 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37507 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37509 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37510 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37511 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37512 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37513 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37514 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37515 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37516 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37518 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37519 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37520 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37521 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37522 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37523 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37524 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37525 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37527 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37528 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37529 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37530
58985aa9
UD
375312011-10-24 Ulrich Drepper <drepper@gmail.com>
37532
202c9deb
UD
37533 * sysdeps/x86_64/dla.h: Move to ...
37534 * sysdeps/x86_64/fpu/dla.h: ...here.
37535 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37536 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37537
af968f62
UD
37538 * config.make.in: Add have-mfma4 entry.
37539 * configure.in: Substitute libc_cv_cc_fma4.
37540 * math/Makefile (dbl-only-routines): Add sincostab.
37541 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37542 Use __sincostab not sincos.
37543 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37544 name is a macro.
37545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37549 using __copysign.
37550 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37551 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37552 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37553 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37554 and __inv.
37555 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37556 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37557 __copysign.
37558 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37559 define aliases when function name is a macro.
37560 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37561 sysdeps/ieee754/dbl-64/sincos.tbl.
37562 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37563 fma4-enabled routines.
37564 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37565 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37566 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37567 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37568 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37569 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37570 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37571 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37572 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37574 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37575 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37576 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37577 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37578 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37579 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37580 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37581 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37582 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37584 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37585 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37591 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37592 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37593 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37594
58985aa9
UD
37595 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37596 rename.
37597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37605
a201fbcf
AS
376062011-10-24 Andreas Schwab <schwab@redhat.com>
37607
37608 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37609
fc2ee42a
LD
376102011-10-23 Ulrich Drepper <drepper@gmail.com>
37611
bb3129bd
UD
37612 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37613
0275fff8
UD
37614 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37615 prediction.
37616 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37617
2fa2ae85
UD
37618 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37619 Remove unused variable magic_bits.
37620 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37621
fc2ee42a
LD
37622 * string/strnlen.c: Define and use STRNLEN macro.
37623 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37624 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37626 * wcsmbs/wcslen.c: Define and use WCSLEN.
37627 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37628 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37629 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37630 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37631 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37632 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37633 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37634
ce7dd29f
LD
376352011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37636
37637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37638 strnlen-sse2-no-bsf.
37639 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37640 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37641 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37642 Add strnlen support.
37643 (USE_AS_STRNLEN): New macro.
37644 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37645 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37646 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37647 * sysdeps/x86_64/wcslen.S: New file.
37648
979c70a3
MZ
376492011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37650
37651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37652 XMM-moves are used for copying on small sizes.
37653
2d09f82f
LD
376542011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37655
37656 * wcsmbs/Makefile (strop-tests): Add wcschr.
37657 * wcsmbs/test-wcschr.c: New file.
37658 * string/test-strchr.c: Update.
37659 Add wcschr support.
37660 (WIDE): New macro.
37661
619fccca
LD
376622011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37663
2d09f82f 37664 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37665 * wcsmbs/test-wcslen.c: New file.
37666 * string/test-strlen.c: Update.
37667 Add wcslen support.
37668 (WIDE): New macro.
37669
09f699ea
UD
376702011-10-23 Ulrich Drepper <drepper@gmail.com>
37671
37672 * po/it.po: Update from translation team.
37673
95584d3b
LD
376742011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37675
37676 * sysdeps/x86_64/wcscmp.S: Update.
37677 Fix wrong comparison semantics.
37678 wcscmp shall use signed comparison not unsigned.
37679 Don't use substraction to avoid overflow bug.
37680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37681 * wcsmbc/wcscmp.c: Likewise.
37682 * string/test-strcmp.c: Likewise.
37683 Add new tests to check cases with negative values.
37684
c8b3296b
UD
376852011-10-23 Ulrich Drepper <drepper@gmail.com>
37686
37687 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37688 * sysdeps/x86_64/dla.h: ...here. New file.
37689 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37698
246ad57a
AS
376992011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37700
37701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37702 __ynl_finite aliases.
37703
a1a87169
UD
377042011-10-22 Ulrich Drepper <drepper@gmail.com>
37705
0d355eb7
UD
37706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37707
a1a87169
UD
37708 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37709 define DLA_FMA.
37710 [DLA_FMA] (EMULV): Use DLA_FMA.
37711 [DLA_FMA] (MUL12): Use EMULV.
37712 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37713 that are not needed.
37714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37721
ee2aafe0
AS
377222011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37723
37724 * math/s_nan.c: Undef __nan.
37725 * math/s_nanf.c: Undef __nanf.
37726 * math/s_nanl.c: Undef __nanl.
37727 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37728 "math_private.h".
37729
bc62c2fb
UD
377302011-10-22 Ulrich Drepper <drepper@gmail.com>
37731
77425c63
UD
37732 * math/s_catan.c: Add branch predictions.
37733 * math/s_catanf.c: Likewise.
37734 * math/s_catanh.c: Likewise.
37735 * math/s_catanhf.c: Likewise.
37736 * math/s_catanhl.c: Likewise.
37737 * math/s_catanl.c: Likewise.
37738 * math/s_cexp.c: Likewise.
37739 * math/s_cexpf.c: Likewise.
37740 * math/s_cexpl.c: Likewise.
37741 * math/s_clog.c: Likewise.
37742 * math/s_clog10.c: Likewise.
37743 * math/s_clog10f.c: Likewise.
37744 * math/s_clog10l.c: Likewise.
37745 * math/s_clogf.c: Likewise.
37746 * math/s_clogl.c: Likewise.
37747 * math/s_csqrt.c: Likewise.
37748 * math/s_csqrtf.c: Likewise.
37749 * math/s_csqrtl.c: Likewise.
37750 * math/s_ctanf.c: Likewise.
37751 * math/s_ctanh.c: Likewise.
37752 * math/s_ctanhf.c: Likewise.
37753 * math/s_ctanhl.c: Likewise.
37754 * math/s_ctanl.c: Likewise.
37755
bc62c2fb
UD
37756 * math/math_private.h: Define __nan, __nanf, __nanl.
37757 * math/s_cacosh.c: Include <math_private.h>.
37758 * math/s_cacoshl.c: Likewise.
37759 * math/s_casinh.c: Likewise.
37760 * math/s_casinhf.c: Likewise.
37761 * math/s_casinhl.c: Likewise.
37762 * math/s_ccos.c: Rely entire on ccosh.
37763 * math/s_ccosf.c: Rely entire on ccoshf.
37764 * math/s_ccosl.c: Rely entirely on ccoshl.
37765 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37766 Remove tests for FE_INVALID.
37767 * math/s_ccoshf.c: Likewise.
37768 * math/s_ccoshl.c: Likewise.
37769 * math/s_csin.c: Likewise.
37770 * math/s_csinf.c: Likewise.
37771 * math/s_csinh.c Likewise.
37772 * math/s_csinhf.c: Likewise.
37773 * math/s_csinhl.c: Likewise.
37774 * math/s_csinl.c: Likewise.
37775 * math/s_ctan.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37777 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37778 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37779
8ec250a4
UD
377802011-10-21 Ulrich Drepper <drepper@gmail.com>
37781
c196fed8
UD
37782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37783 compilation problems.
37784
8ec250a4
UD
37785 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37786 __builtin_expect.
37787
8d4f46c6
UD
377882011-10-20 Ulrich Drepper <drepper@gmail.com>
37789
ed72b654
UD
37790 * sysdeps/i386/configure.in: Test for -mfma4 option.
37791 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37792 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37793 COMMON_CPUID_INDEX_80000001.
37794 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37795 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37796 use it if FMA3 is not supported.
37797 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37798
8d4f46c6
UD
37799 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37800 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37801
d45c60c2
AS
378022011-10-20 Andreas Schwab <schwab@redhat.com>
37803
37804 [BZ #12892]
37805 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37806 it would create a cycle with a link time dependency.
37807
d9a4d2ab
UD
378082011-10-19 Ulrich Drepper <drepper@gmail.com>
37809
855d1560
UD
37810 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37811 instruction.
37812 * string/Makefile (strop-tests): Add rawmemchr.
37813 * string/test-rawmemchr.c: New file.
37814
d9a4d2ab
UD
37815 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37817 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37818 when compiling str{,n}casecmp and when AVX is available. Hook up
37819 new optimized code in initializers.
37820
8f3b1ffe
AS
378212011-10-19 Andreas Schwab <schwab@redhat.com>
37822
37823 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37824 __feraiseexcept instead of feraiseexcept.
37825
d38f1dba
UD
378262011-10-18 Ulrich Drepper <drepper@gmail.com>
37827
d9a8d0ab
UD
37828 * math/math_private.h: Define defaults for libc_fetestexcept and
37829 libc_feupdateenv.
37830 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37831 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37832 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37833 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37834 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37835 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37836 libc_fetestexcept and libc_feupdateenv.
37837
4855e3dd
UD
37838 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37839 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37840 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37841 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37842 libc_feholdexcept_setround.
37843
581d30e3
UD
37844 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37845 Add s_nearbyint-c and s_nearbyintf-c.
37846 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37847 nearbyintf inlines.
37848 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37849 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37850 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37851 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37852
d38f1dba
UD
37853 * math/math_private.h: Define defaults for libc_fegetround,
37854 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37855 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37856 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37858 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37859 standard functions.
37860 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37861 Remove comments and hacks for old compiler versions.
37862 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37863 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37864 libc_feholdexceptl.
37865
caa6c9d8
AS
378662011-10-18 Andreas Schwab <schwab@redhat.com>
37867
37868 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37869 (__feraiseexcept_renamed): Add __NTH.
37870 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37871 namespace violations.
37872
97c066e6
UD
378732011-10-17 Ulrich Drepper <drepper@gmail.com>
37874
99ce7b04
UD
37875 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37876
1004d182
UD
37877 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37878
228a984d
UD
37879 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37880 recently added interfaces.
37881 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37882
c8553a6a
UD
37883 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37884 about macro parameter expansion.
37885
ed22dcf6
UD
37886 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37887 __NO_MATH_INLINES is defined. Cleanups.
37888
37889 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37890 and __floorf is target has SSE4.1.
37891 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37892 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37894 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37895
b171c137
UD
37896 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37897 name.
37898 (floorf): Likewise.
37899
97c066e6
UD
37900 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37901
629f62ef
AS
379022011-10-17 Andreas Schwab <schwab@redhat.com>
37903
49a43d80
AS
37904 * misc/sys/cdefs.h: Fix last change.
37905
629f62ef
AS
37906 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37907 database lookup.
37908
e453f6cd
UD
379092011-10-16 Ulrich Drepper <drepper@gmail.com>
37910
aa78043a
UD
37911 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37912
ad0f5cad
UD
37913 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37914 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37919 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37920 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37921 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37922 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37923 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37924 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37925 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37926 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37927 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37928 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37929 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37930 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37931 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37932 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37933 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37934 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37935
37936 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37937 ceil, ceilf, floor, floorf.
37938
37939 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37940 Perform IRELATIVE relocations last.
37941
e453f6cd
UD
37942 * elf/do-rel.h: Add another parameter nrelative, replacing the
37943 local variable with the same name. Change name of the function
37944 to end in Rel or Rela (uppercase).
37945 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37946 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37947 elf_dynamic_do_##reloc function.
37948
fd5bdc09
UD
379492011-10-15 Ulrich Drepper <drepper@gmail.com>
37950
79b195b5
UD
37951 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37952 is sufficient, at least on modern CPUs.
37953
d4a28569
UD
37954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37955
b61099b5
UD
37956 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37957 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37958
bcf01e6d
UD
37959 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37960 __expl_finite.
37961 * math/bits/math-finite.h: Add entries for exp.
37962 * math/e_expl.c: Add __*_finite alias.
37963 * sysdeps/i386/fpu/e_exp.S: Likewise.
37964 * sysdeps/i386/fpu/e_expf.S: Likewise.
37965 * sysdeps/i386/fpu/e_expl.c: Likewise.
37966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37967 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37968 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37970 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37971 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37972 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37973
ba1a0d59
UD
37974 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37975 is sufficient, at least on modern CPUs.
37976
fd5bdc09
UD
37977 * ctype/ctype-info.c (__ctype_init): Define.
37978 * include/ctype.h (__ctype_init): Declare.
37979 (__ctype_b_loc): The variable is always initialized.
37980 (__ctype_toupper_loc): Likewise.
37981 (__ctype_tolower_loc): Likewise.
37982 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37983 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37984
7872cfb0
AS
379852011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37986
b468825a
AS
37987 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37988
7872cfb0
AS
37989 * configure.in: Also look in $cxxmachine/include for C++ system
37990 headers.
37991
be13f7bf
LD
379922011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37993
37994 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37995 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37996 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37997 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37999 (USE_AS_WMEMCMP): New macro.
38000 Fixing indents.
38001 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38002 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38003 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38004 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38006 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38007 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38008 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38009 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38010 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38012 (USE_AS_WMEMCMP): New macro.
38013 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38014 * sysdeps/string/test-memcmp.c: Update.
38015 Fix simple_wmemcmp.
38016 Add new tests.
38017 * wcsmbs/wmemcmp.c: Update.
38018 (WMEMCMP): New macro.
38019 Fix overflow bug.
38020
556a2007
AJ
380212011-10-12 Andreas Jaeger <aj@suse.de>
38022
38023 [BZ #13268]
38024 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38025
538faaa7
UD
380262011-10-15 Ulrich Drepper <drepper@gmail.com>
38027
ab6737ff
UD
38028 * libio/iofwide.c (do_length): Avoid warning.
38029
538faaa7
UD
38030 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38031
396a21b1
UD
380322011-10-14 Ulrich Drepper <drepper@gmail.com>
38033
cdf2901f
UD
38034 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38035
38ad40ce
UD
38036 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38037 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38038 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38039 * sysdeps/i386/i686/fpu/e_log.S: New file.
38040 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38041 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38042
396a21b1
UD
38043 * ctype/ctype.h: Add support for inlined isXXX functions when
38044 compiling C++ code.
38045
6b1f68c9
AS
380462011-10-14 Andreas Schwab <schwab@redhat.com>
38047
349290c0
AS
38048 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38049
6b1f68c9
AS
38050 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38051
f2282d42
RM
380522011-10-13 Roland McGrath <roland@hack.frob.com>
38053
38054 [BZ #13291]
38055 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38056
5298ffa8
AS
380572011-10-13 Andreas Schwab <schwab@redhat.com>
38058
714fad23
AS
38059 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38060 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38061 feraiseexcept.
38062
81dcc7fb
AS
38063 * sysdeps/x86_64/memrchr.S: Check for zero size.
38064
5298ffa8
AS
38065 * string/stratcliff.c: Add memrchr tests.
38066
951fbcec
LD
380672011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38068
38069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38070 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38071 rawmemchr-sse2 rawmemchr-sse2-bsf.
38072 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38073 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38074 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38075 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38076 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38077 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38078 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38079 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38080 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38081 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38082 * string/memrchr.c (MEMRCHR): New macro.
38083
0ac5ae23
UD
380842011-10-12 Ulrich Drepper <drepper@gmail.com>
38085
38086 Add integration with gcc's -ffinite-math-only and optimize wrapper
38087 functions in libm.
38088 * Versions.def: Define GLIBC_2.15 version for libm.
38089 * math/Makefile (headers): Add bits/math-finite.h.
38090 * math/bits/math-finite.h: New file.
38091 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38092 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38093 * math/e_acoshl.c: Add __*_finite alias.
38094 * math/e_acosl.c: Likewise.
38095 * math/e_asinl.c: Likewise.
38096 * math/e_atan2l.c: Likewise.
38097 * math/e_atanhl.c: Likewise.
38098 * math/e_coshl.c: Likewise.
38099 * math/e_exp10.c: Likewise.
38100 * math/e_exp10f.c: Likewise.
38101 * math/e_exp10l.c: Likewise.
38102 * math/e_exp2l.c: Likewise.
38103 * math/e_fmodl.c: Likewise.
38104 * math/e_gammal_r.c: Likewise.
38105 * math/e_hypotl.c: Likewise.
38106 * math/e_j0l.c: Likewise.
38107 * math/e_j1l.c: Likewise.
38108 * math/e_jnl.c: Likewise.
38109 * math/e_lgammal_r.c: Likewise.
38110 * math/e_log10l.c: Likewise.
38111 * math/e_log2l.c: Likewise.
38112 * math/e_logl.c: Likewise.
38113 * math/e_powl.c: Likewise.
38114 * math/e_sinhl.c: Likewise.
38115 * math/e_sqrtl.c: Likewise.
38116 * math/e_scalb.c: Completely rewritten and optimized.
38117 * math/e_scalbf.c: Likewise.
38118 * math/e_scalbl.c: Likewise.
38119 * math/w_acos.c: Likewise.
38120 * math/w_acosf.c: Likewise.
38121 * math/w_acosl.c: Likewise.
38122 * math/w_acosh.c: Likewise.
38123 * math/w_acoshf.c: Likewise.
38124 * math/w_acoshl.c: Likewise.
38125 * math/w_asin.c: Likewise.
38126 * math/w_asinf.c: Likewise.
38127 * math/w_asinl.c: Likewise.
38128 * math/w_atan2.c: Likewise.
38129 * math/w_atan2f.c: Likewise.
38130 * math/w_atan2l.c: Likewise.
38131 * math/w_atanh.c: Likewise.
38132 * math/w_atanhf.c: Likewise.
38133 * math/w_atanhl.c: Likewise.
38134 * math/w_exp10.c: Likewise.
38135 * math/w_exp10f.c: Likewise.
38136 * math/w_exp10l.c: Likewise.
38137 * math/w_fmod.c: Likewise.
38138 * math/w_fmodf.c: Likewise.
38139 * math/w_fmodl.c: Likewise.
38140 * math/w_j0.c: Likewise.
38141 * math/w_j0f.c: Likewise.
38142 * math/w_j0l.c: Likewise.
38143 * math/w_j1.c: Likewise.
38144 * math/w_j1f.c: Likewise.
38145 * math/w_j1l.c: Likewise.
38146 * math/w_jn.c: Likewise.
38147 * math/w_jnf.c: Likewise.
38148 * math/w_log.c: Likewise.
38149 * math/w_logf.c: Likewise.
38150 * math/w_logl.c: Likewise.
38151 * math/w_log10.c: Likewise.
38152 * math/w_log10f.c: Likewise.
38153 * math/w_log10l.c: Likewise.
38154 * math/w_log2.c: Likewise.
38155 * math/w_log2f.c: Likewise.
38156 * math/w_log2l.c: Likewise.
38157 * math/w_pow.c: Likewise.
38158 * math/w_powf.c: Likewise.
38159 * math/w_powl.c: Likewise.
38160 * math/w_remainder.c: Likewise.
38161 * math/w_remainderf.c: Likewise.
38162 * math/w_remainderl.c: Likewise.
38163 * math/w_scalb.c: Likewise.
38164 * math/w_scalbf.c: Likewise.
38165 * math/w_scalbl.c: Likewise.
38166 * math/w_sqrt.c: Likewise.
38167 * math/w_sqrtf.c: Likewise.
38168 * math/w_sqrtl.c: Likewise.
38169 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38170 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38171 used.
38172 * math/math_private.h: Declare __kernel_standard_f.
38173 * math/w_cosh.c: Remove cruft and optimize a bit.
38174 * math/w_coshf.c: Likewise.
38175 * math/w_coshl.c: Likewise.
38176 * math/w_exp2.c: Likewise.
38177 * math/w_exp2f.c: Likewise.
38178 * math/w_exp2l.c: Likewise.
38179 * math/w_hypot.c: Likewise.
38180 * math/w_hypotf.c: Likewise.
38181 * math/w_hypotl.c: Likewise.
38182 * math/w_lgamma.c: Likewise.
38183 * math/w_lgamma_r.c: Likewise.
38184 * math/w_lgammaf.c: Likewise.
38185 * math/w_lgammaf_r.c: Likewise.
38186 * math/w_lgammal.c: Likewise.
38187 * math/w_lgammal_r.c: Likewise.
38188 * math/w_sinh.c: Likewise.
38189 * math/w_sinhf.c: Likewise.
38190 * math/w_sinhl.c: Likewise.
38191 * math/w_tgamma.c: Likewise.
38192 * math/w_tgammaf.c: Likewise.
38193 * math/w_tgammal.c: Likewise.
38194 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38196 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38197 Minor optimizations. Pretty printing. Remove cruft.
38198 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38199 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38201 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38202 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38203 * sysdeps/i386/fpu/e_asin.S: Likewise.
38204 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38205 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38206 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38207 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38208 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38210 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38211 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38212 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38213 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38214 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38215 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38216 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38217 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38218 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38219 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38220 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38221 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38222 * sysdeps/i386/fpu/e_log.S: Likewise.
38223 * sysdeps/i386/fpu/e_log10.S: Likewise.
38224 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38225 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38226 * sysdeps/i386/fpu/e_log2.S: Likewise.
38227 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38229 * sysdeps/i386/fpu/e_logf.S: Likewise.
38230 * sysdeps/i386/fpu/e_logl.S: Likewise.
38231 * sysdeps/i386/fpu/e_pow.S: Likewise.
38232 * sysdeps/i386/fpu/e_powf.S: Likewise.
38233 * sysdeps/i386/fpu/e_powl.S: Likewise.
38234 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38235 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38236 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38237 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38238 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38240 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38241 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38242 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38243 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38244 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38246 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38247 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38248 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38249 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38251 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38252 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38254 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38256 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38257 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38259 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38260 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38264 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38265 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38267 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38268 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38269 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38270 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38271 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38272 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38273 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38274 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38275 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38277 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38278 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38279 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38280 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38281 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38282 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38283 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38284 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38285 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38288 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38289 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38291 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38293 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38295 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38296 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38298 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38299 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38300 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38328 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38329 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38331 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38334 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38336 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38337 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38338 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38339 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38340 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38341 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38342 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38343 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38344 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38345 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38346 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38347 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38349 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38351 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38352 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38353 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38354 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38355 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38356 (__isnanf): Likewise.
38357 (__isinf_ns): Likewise.
38358 (__isinf_nsf): Likewise.
38359 (__finite): Likewise.
38360 (__finitef): Likewise.
38361 (__ieee754_sqrt): Define as macro.
38362 (__ieee754_sqrtf): Define as macro.
38363 (__ieee754_sqrtl): Define as macro.
38364 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38365 inlined copy.
38366 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38367 __FINITE_MATH_ONLY__ consistent.
38368 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38369
12cc2fcd
AS
383702011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38371
a843a204
AS
38372 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38373 of rawmemchr.
38374
12cc2fcd
AS
38375 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38376
c853acd5
UD
383772011-10-09 Ulrich Drepper <drepper@gmail.com>
38378
38379 * po/ja.po: Update from translation team.
38380
c658d255
RM
383812011-10-08 Roland McGrath <roland@hack.frob.com>
38382
110946e4
RM
38383 * locale/programs/locarchive.c (prepare_address_space): New function.
38384 (create_archive, enlarge_archive, open_archive): Use it.
38385
50604220
RM
38386 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38387 inside [SHARED], where it is used.
38388
c658d255
RM
38389 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38390
38391 * nss/getent.c (netgroup_keys): Remove unused variable.
38392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38393
6a621eb7
UD
383942011-10-08 Ulrich Drepper <drepper@gmail.com>
38395
7edb55ce
UD
38396 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38399 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38400 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38402 * math/Makefile (libm-calls): Add s_isinf_ns.
38403 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38404 * math/multc3.c: Likewise.
38405 * math/s_casin.c: Likewise.
38406 * math/s_casinf.c: Likewise.
38407 * math/s_casinl.c: Likewise.
38408 * math/s_ccos.c: Likewise.
38409 * math/s_ccosf.c: Likewise.
38410 * math/s_ccosl.c: Likewise.
38411 * math/s_ctan.c: Likewise.
38412 * math/s_ctanf.c: Likewise.
38413 * math/s_ctanh.c: Likewise.
38414 * math/s_ctanhf.c: Likewise.
38415 * math/s_ctanhl.c: Likewise.
38416 * math/s_ctanl.c: Likewise.
38417 * math/w_fmod.c: Likewise.
38418 * math/w_fmodf.c: Likewise.
38419 * math/w_fmodl.c: Likewise.
38420 * math/w_remainder.c: Likewise.
38421 * math/w_remainderf.c: Likewise.
38422 * math/w_remainderl.c: Likewise.
38423 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38424 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38427 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38428 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38429 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38430 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38431
187da0ae
UD
38432 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38433 of the number.
38434 * stdio-common/printf_fphex.c: Likewise.
38435 * stdio-common/printf_size.c: Likewise.
38436
9277c064
UD
38437 * math/e_exp10.c: Include math_private.h using <...> not "...".
38438 * math/e_exp10f.c: Likewise.
38439 * math/e_exp10l.c: Likewise.
38440 * math/e_exp2l.c: Likewise.
38441 * math/e_j0l.c: Likewise.
38442 * math/e_j1l.c: Likewise.
38443 * math/e_jnl.c: Likewise.
38444 * math/e_lgammal_r.c: Likewise.
38445 * math/e_rem_pio2l.c: Likewise.
38446 * math/e_scalb.c: Likewise.
38447 * math/e_scalbf.c: Likewise.
38448 * math/e_scalbl.c: Likewise.
38449 * math/k_cosl.c: Likewise.
38450 * math/k_sinl.c: Likewise.
38451 * math/k_tanl.c: Likewise.
38452 * math/s_cacoshf.c: Likewise.
38453 * math/s_catan.c: Likewise.
38454 * math/s_catanf.c: Likewise.
38455 * math/s_catanh.c: Likewise.
38456 * math/s_catanhf.c: Likewise.
38457 * math/s_catanhl.c: Likewise.
38458 * math/s_catanl.c: Likewise.
38459 * math/s_ccosh.c: Likewise.
38460 * math/s_ccoshf.c: Likewise.
38461 * math/s_ccoshl.c: Likewise.
38462 * math/s_cexp.c: Likewise.
38463 * math/s_cexpf.c: Likewise.
38464 * math/s_cexpl.c: Likewise.
38465 * math/s_clog.c: Likewise.
38466 * math/s_clog10.c: Likewise.
38467 * math/s_clog10f.c: Likewise.
38468 * math/s_clog10l.c: Likewise.
38469 * math/s_clogf.c: Likewise.
38470 * math/s_clogl.c: Likewise.
38471 * math/s_csin.c: Likewise.
38472 * math/s_csinf.c: Likewise.
38473 * math/s_csinh.c: Likewise.
38474 * math/s_csinhf.c: Likewise.
38475 * math/s_csinhl.c: Likewise.
38476 * math/s_csinl.c: Likewise.
38477 * math/s_csqrt.c: Likewise.
38478 * math/s_csqrtf.c: Likewise.
38479 * math/s_csqrtl.c: Likewise.
38480 * math/s_ctan.c: Likewise.
38481 * math/s_ctanf.c: Likewise.
38482 * math/s_ctanh.c: Likewise.
38483 * math/s_ctanhf.c: Likewise.
38484 * math/s_ctanhl.c: Likewise.
38485 * math/s_ctanl.c: Likewise.
38486 * math/s_ldexp.c: Likewise.
38487 * math/s_ldexpf.c: Likewise.
38488 * math/s_ldexpl.c: Likewise.
38489 * math/s_significand.c: Likewise.
38490 * math/s_significandf.c: Likewise.
38491 * math/s_significandl.c: Likewise.
38492 * math/w_acos.c: Likewise.
38493 * math/w_acosf.c: Likewise.
38494 * math/w_acosh.c: Likewise.
38495 * math/w_acoshf.c: Likewise.
38496 * math/w_acoshl.c: Likewise.
38497 * math/w_acosl.c: Likewise.
38498 * math/w_asin.c: Likewise.
38499 * math/w_asinf.c: Likewise.
38500 * math/w_asinl.c: Likewise.
38501 * math/w_atan2.c: Likewise.
38502 * math/w_atan2f.c: Likewise.
38503 * math/w_atan2l.c: Likewise.
38504 * math/w_atanh.c: Likewise.
38505 * math/w_atanhf.c: Likewise.
38506 * math/w_atanhl.c: Likewise.
38507 * math/w_cosh.c: Likewise.
38508 * math/w_coshf.c: Likewise.
38509 * math/w_coshl.c: Likewise.
38510 * math/w_dremf.c: Likewise.
38511 * math/w_exp10.c: Likewise.
38512 * math/w_exp10f.c: Likewise.
38513 * math/w_exp10l.c: Likewise.
38514 * math/w_exp2.c: Likewise.
38515 * math/w_exp2f.c: Likewise.
38516 * math/w_fmod.c: Likewise.
38517 * math/w_fmodf.c: Likewise.
38518 * math/w_fmodl.c: Likewise.
38519 * math/w_hypot.c: Likewise.
38520 * math/w_hypotf.c: Likewise.
38521 * math/w_hypotl.c: Likewise.
38522 * math/w_j0.c: Likewise.
38523 * math/w_j0f.c: Likewise.
38524 * math/w_j0l.c: Likewise.
38525 * math/w_j1.c: Likewise.
38526 * math/w_j1f.c: Likewise.
38527 * math/w_j1l.c: Likewise.
38528 * math/w_jn.c: Likewise.
38529 * math/w_jnf.c: Likewise.
38530 * math/w_jnl.c: Likewise.
38531 * math/w_lgamma.c: Likewise.
38532 * math/w_lgamma_r.c: Likewise.
38533 * math/w_lgammaf.c: Likewise.
38534 * math/w_lgammaf_r.c: Likewise.
38535 * math/w_lgammal.c: Likewise.
38536 * math/w_lgammal_r.c: Likewise.
38537 * math/w_log.c: Likewise.
38538 * math/w_log10.c: Likewise.
38539 * math/w_log10f.c: Likewise.
38540 * math/w_log10l.c: Likewise.
38541 * math/w_log2.c: Likewise.
38542 * math/w_log2f.c: Likewise.
38543 * math/w_log2l.c: Likewise.
38544 * math/w_logf.c: Likewise.
38545 * math/w_logl.c: Likewise.
38546 * math/w_pow.c: Likewise.
38547 * math/w_powf.c: Likewise.
38548 * math/w_powl.c: Likewise.
38549 * math/w_remainder.c: Likewise.
38550 * math/w_remainderf.c: Likewise.
38551 * math/w_remainderl.c: Likewise.
38552 * math/w_scalb.c: Likewise.
38553 * math/w_scalbf.c: Likewise.
38554 * math/w_scalbl.c: Likewise.
38555 * math/w_sinh.c: Likewise.
38556 * math/w_sinhf.c: Likewise.
38557 * math/w_sinhl.c: Likewise.
38558 * math/w_sqrt.c: Likewise.
38559 * math/w_sqrtf.c: Likewise.
38560 * math/w_sqrtl.c: Likewise.
38561 * math/w_tgamma.c: Likewise.
38562 * math/w_tgammaf.c: Likewise.
38563 * math/w_tgammal.c: Likewise.
38564
6a621eb7
UD
38565 * po/ja.po: Update from translation team.
38566
bf582445
AJ
385672011-09-29 Andreas Jaeger <aj@suse.de>
38568
f9efbf3a
AJ
38569 [BZ #13179]
38570 * sunrpc/netname.c (netname2host): Fix logic.
38571
bf582445
AJ
38572 [BZ #6779]
38573 [BZ #6783]
38574 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38575 correctly.
38576 * math/w_remainder.c (__remainder): Likewise.
38577 * math/w_remainderf.c (__remainderf): Likewise.
38578 * math/libm-test.inc (remainder_test): Add test cases.
38579
48693bea
AK
385802011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38581
38582 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38583 sdiv_qrnnd.
38584
42622229
LD
385852011-10-07 Ulrich Drepper <drepper@gmail.com>
38586
38587 * string/test-memcmp.c: Avoid unncessary #defines.
38588 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38589
093ecf92
LD
385902011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38591
38592 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38593 Use new sse2 version for core i3 - i7 as it's faster
38594 than sse42 version.
38595 (bit_Prefer_PMINUB_for_stringop): New.
38596 * sysdeps/x86_64/rawmemchr.S: Update.
38597 Replace with faster SSE2 version.
38598 * sysdeps/x86_64/memrchr.S: New file.
38599 * sysdeps/x86_64/memchr.S: Update.
38600 Replace with faster SSE2 version.
38601
fde56e5c
MP
386022011-09-12 Marek Polacek <mpolacek@redhat.com>
38603
38604 * elf/dl-load.c (lose): Add cast to avoid warning.
38605
21fd49a9
UD
386062011-10-07 Ulrich Drepper <drepper@gmail.com>
38607
5a06e643
UD
38608 * po/ca.po: Update from translation team.
38609
684ae515
UD
38610 * inet/getnetgrent_r.c: Hook up nscd.
38611 * nscd/Makefile (routines): Add nscd_netgroup.
38612 (nscd-modules): Add netgroupcache.
38613 (CFLAGS-netgroupcache.c): Define.
38614 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38615 (cache_search): Add const to second parameter.
38616 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38617 INNETGR.
38618 (dbs): Add netgrdb entry.
38619 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38620 (verify_persistent_db): Handle netgrdb.
38621 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38622 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38623 GETFDNETGR.
38624 (netgroup_response_header): Define.
38625 (innetgroup_response_header): Define.
38626 (datahead): Add netgroup_response_header and innetgroup_response_header
38627 elements.
38628 * nscd/nscd.conf: Add entries for netgroup cache.
38629 * nscd/nscd.h (dbtype): Add netgrdb.
38630 (_PATH_NSCD_NETGROUP_DB): Define.
38631 (netgroup_iov_disabled): Declare.
38632 (xmalloc, xcalloc, xrealloc): Move declarations here.
38633 (cache_search): Adjust prototype.
38634 Add netgroup-related prototypes.
38635 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38636 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38637 (__nscd_innetgr): Declare.
38638 * nscd/selinux.c (perms): Use access_vector_t as element type and
38639 add netgroup-related initializers.
38640 * nscd/netgroupcache.c: New file.
38641 * nscd/nscd_netgroup.c: New file.
38642 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38643 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38644 For four parameters use innetgr.
38645 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38646 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38647 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38648 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38649
21fd49a9
UD
38650 * nscd/connections.c (register_traced_file): Don't register file
38651 for disabled databases.
38652
054c0457
UD
386532011-10-06 Ulrich Drepper <drepper@gmail.com>
38654
32b63198
UD
38655 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38656
054c0457
UD
38657 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38658 from tree and freeing node.
38659
64031225
JO
386602011-09-25 Jiri Olsa <jolsa@redhat.com>
38661
38662 * nss/nsswitch.c (__nss_database_lookup): Handle
38663 nss_parse_service_list out of memory case.
38664
0490345c
JO
386652011-09-15 Jiri Olsa <jolsa@redhat.com>
38666
38667 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38668 out of memory case.
38669
3a62d00d
AS
386702011-10-04 Andreas Schwab <schwab@redhat.com>
38671
38672 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38673 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38674 pass it down.
38675 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38676 elf_machine_rela, elf_machine_lazy_rel.
38677 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38678 (ELF_DYNAMIC_DO_REL): Likewise.
38679 (ELF_DYNAMIC_DO_RELA): Likewise.
38680 (ELF_DYNAMIC_RELOCATE): Likewise.
38681 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38682 to ELF_DYNAMIC_DO_REL.
38683 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38684 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38685 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38686 elf_machine_rela.
38687 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38688 skip_ifunc, don't call ifunc function if non-zero.
38689 (elf_machine_rela): Likewise.
38690 (elf_machine_lazy_rel): Likewise.
38691 (elf_machine_lazy_rela): Likewise.
38692 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38693 (elf_machine_lazy_rel): Likewise.
38694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38695 Likewise.
38696 (elf_machine_lazy_rel): Likewise.
38697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38698 Likewise.
38699 (elf_machine_lazy_rel): Likewise.
38700 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38701 (elf_machine_lazy_rel): Likewise.
38702 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38703 (elf_machine_lazy_rel): Likewise.
38704 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38705 (elf_machine_lazy_rel): Likewise.
38706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38707 (elf_machine_lazy_rel): Likewise.
38708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38709 (elf_machine_lazy_rel): Likewise.
38710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38711 (elf_machine_lazy_rel): Likewise.
38712
68577918
UD
387132011-09-28 Ulrich Drepper <drepper@gmail.com>
38714
38715 * nss/nss_files/files-init.c (_nss_files_init): Use static
38716 initialization for all the *_traced_file variables.
38717
68822d74
AS
387182011-09-28 Andreas Schwab <schwab@redhat.com>
38719
38720 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38721
2056100b
RM
387222011-09-27 Roland McGrath <roland@hack.frob.com>
38723
38724 [BZ #13226]
38725 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38726
32c76b63
AS
387272011-09-27 Andreas Schwab <schwab@redhat.com>
38728
38729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38730 Reread the line before reparsing it.
38731
bf972c9d
AS
387322011-09-26 Andreas Schwab <schwab@redhat.com>
38733
38734 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38735
e057a1b5
JM
387362011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38737 Maxim Kuvyrkov <maxim@codesourcery.com>
38738 Joseph Myers <joseph@codesourcery.com>
38739
38740 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38741 if needed for __stack_chk_guard.
38742
bc7e1c36
RM
387432011-09-19 Roland McGrath <roland@hack.frob.com>
38744
ecb1482f
RM
38745 * sysdeps/posix/spawni.c (script_execute): Always define it.
38746 It will be optimized away if unused.
38747 (maybe_script_execute): New function.
38748 (__spawni): Call it.
38749
bc7e1c36
RM
38750 * Makerules: Don't include tls.make.
38751 (config-tls): Always set to thread.
38752 * tls.make.c: File removed.
38753
1c3b002b
MF
387542011-09-19 Mike Frysinger <vapier@gentoo.org>
38755
38756 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38757 * config.make.in (CPPFLAGS-config): New substituted variable.
38758
2840865d
UD
387592011-09-15 Ulrich Drepper <drepper@gmail.com>
38760
88738eb6
UD
38761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38762
cbf645a6 38763 [BZ #13192]
2840865d
UD
38764 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38765 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38766
b402e91a
RM
387672011-09-15 Roland McGrath <roland@hack.frob.com>
38768
38769 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38770 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38772 (CALL_FAIL): Likewise.
38773 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38774 (CALL_FAIL): Macro removed.
38775 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38776
4c1a1f71
UD
387772011-09-15 Ulrich Drepper <drepper@gmail.com>
38778
38779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38780 for __FINITE_MATH_ONLY__ == 1.
38781
edc121be
AS
387822011-09-15 Andreas Schwab <schwab@redhat.com>
38783
38784 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38785 __ieee754_sqrt instead of sqrt.
38786 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38787 __ieee754_sqrtf instead of sqrtf.
38788 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38789 __floorf instead of floorf.
38790 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38791 __floorf, __truncf instead of floorf, truncf.
38792
cd205654
UD
387932011-09-14 Ulrich Drepper <drepper@gmail.com>
38794
ee4d0315
UD
38795 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38796
cd205654
UD
38797 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38798 __extern_always_inline.
38799 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38800 32-bit.
38801
48b67d71
AS
388022011-09-14 Andreas Schwab <schwab@redhat.com>
38803
38804 * elf/rtld.c (dl_main): Also relocate in dependency order when
38805 doing symbol dependency testing.
38806
1ae12c75
AS
388072011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38808
38809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38810 Always define `refsym'.
38811
995a80df
AS
388122011-09-13 Andreas Schwab <schwab@redhat.com>
38813
e529793b
AS
38814 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38815 (__FD_ELT): Renamed from __FDELT.
38816 * misc/bits/select2.h (__FD_ELT): Likewise.
38817 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38818 __FD_MASK instead of __FDELT, __FDMASK.
38819 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38820 Likewise.
38821 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38822 Likewise.
38823
52d4fef8
AS
38824 * elf/Makefile (gen-ldd): Fix pattern.
38825
995a80df
AS
38826 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38827 (init_tls): Likewise.
38828
8682f8b0
UD
388292011-09-12 Ulrich Drepper <drepper@gmail.com>
38830
38831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38832
de82006d
AS
388332011-09-12 Andreas Schwab <schwab@redhat.com>
38834
a7c8e6a1
AS
38835 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38836 `struct cmsghdr *' instead of `void *'.
38837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38838 Likewise.
38839
0f31fe77
AS
388402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38841
38842 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38843 if non-absolute.
38844 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38845 ldd_rewrite_script.
0f31fe77 38846
32b4c839
UD
388472011-09-11 Ulrich Drepper <drepper@gmail.com>
38848
83cd1420
UD
38849 * configure.in: Remove --with-tls option.
38850 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38851 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38852 out in case it is missing.
38853 * sysdeps/ia64/elf/configure.in: Likewise.
38854 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38855 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38856 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38857 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38858 * sysdeps/sh/elf/configure.in: Likewise.
38859 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38860 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38861 * sysdeps/x86_64/elf/configure.in: Likewise.
38862 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38863 * sysdeps/mach/hurd/tls.h: Likewise.
38864
633f745d
UD
38865 [BZ #13067]
38866 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38867
f318beb8
UD
38868 [BZ #13090]
38869 * configure.in: Fix use of AC_INIT.
38870
32b4c839
UD
38871 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38872
3ce1f295
UD
388732011-09-10 Ulrich Drepper <drepper@gmail.com>
38874
bb016596
UD
38875 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38876 __set_errno.
8e58439c
UD
38877 * malloc/hooks.c: Likewise.
38878
aebae053 38879 [BZ #11929]
02d46fc4
UD
38880 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38881 variables statically.
38882 (narenas): Initialize.
38883 (list_lock): Initialize.
bb016596
UD
38884 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38885 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38886 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38887 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38888 Add initializers to main_arena and mp_.
38889 (malloc_state): Remove pagesize member. Change all users to use
38890 GLRO(dl_pagesize).
38891
38892 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38893 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38894 is always initialized.
38895
22a89187
UD
38896 * malloc/malloc.c: Removed unused configurations and dead code.
38897 * malloc/arena.c: Likewise.
38898 * malloc/hooks.c: Likewise.
02d46fc4 38899 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38900
d063d164
UD
38901 * include/tls.h: Removed. USE___THREAD must always be defined.
38902 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38903 * elf/dl-libc.c: Likewise.
38904 * elf/dl-tsd.c: Likewise.
38905 * include/errno.h: Likewise.
38906 * include/netdb.h: Likewise.
38907 * include/resolv.h: Likewise.
38908 * inet/herrno-loc.c: Likewise.
38909 * inet/herrno.c: Likewise.
38910 * malloc/arena.c: Likewise.
38911 * malloc/hooks.c: Likewise.
38912 * malloc/malloc.c: Likewise.
38913 * resolv/res-state.c: Likewise.
38914 * resolv/res_libc.c: Likewise.
38915 * sysdeps/i386/dl-machine.h: Likewise.
38916 * sysdeps/ia64/dl-machine.h: Likewise.
38917 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38918 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38919 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38920 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38921 * sysdeps/sh/dl-machine.h: Likewise.
38922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38924 * sysdeps/unix/i386/sysdep.S: Likewise.
38925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38926 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38931 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38935 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38936 * sysdeps/x86_64/dl-machine.h: Likewise.
38937 * tls.make.c: Likewise.
38938
3ce1f295
UD
38939 * configure.in: Remove --with-__thread option. Make tests for
38940 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38941 tls_model attribute fail if no support is available. Remove
38942 USE_IN_LIBIO.
38943 * Makeconfig: Adjust for dropped configure option. All features are
38944 now mandatory.
38945 * Makerules: Likewise.
38946 * Versions.def: Likewise.
38947 * argp/argp-fmtstream.c: Likewise.
38948 * argp/argp-fmtstream.h: Likewise.
38949 * argp/argp-help.c: Likewise.
38950 * assert/assert.c: Likewise.
38951 * config.h.in: Likewise.
38952 * config.make.in: Likewise.
38953 * configure: Likewise.
38954 * configure.in: Likewise.
38955 * csu/Versions: Likewise.
38956 * csu/init.c: Likewise.
38957 * elf/tst-audit2.c: Likewise.
38958 * elf/tst-tls10.c: Likewise.
38959 * elf/tst-tls10.h: Likewise.
38960 * elf/tst-tls11.c: Likewise.
38961 * elf/tst-tls12.c: Likewise.
38962 * elf/tst-tls14.c: Likewise.
38963 * elf/tst-tlsmod11.c: Likewise.
38964 * elf/tst-tlsmod12.c: Likewise.
38965 * elf/tst-tlsmod13.c: Likewise.
38966 * elf/tst-tlsmod13a.c: Likewise.
38967 * elf/tst-tlsmod14a.c: Likewise.
38968 * elf/tst-tlsmod15b.c: Likewise.
38969 * elf/tst-tlsmod16a.c: Likewise.
38970 * elf/tst-tlsmod16b.c: Likewise.
38971 * elf/tst-tlsmod7.c: Likewise.
38972 * elf/tst-tlsmod8.c: Likewise.
38973 * elf/tst-tlsmod9.c: Likewise.
38974 * gmon/gmon.c: Likewise.
38975 * grp/fgetgrent_r.c: Likewise.
38976 * grp/putgrent.c: Likewise.
38977 * hurd/fopenport.c: Likewise.
38978 * include/libc-symbols.h: Likewise.
38979 * include/tls.h: Likewise.
38980 * intl/gettextP.h: Likewise.
38981 * intl/loadinfo.h: Likewise.
38982 * locale/global-locale.c: Likewise.
38983 * locale/localeinfo.h: Likewise.
38984 * mach/devstream.c: Likewise.
38985 * malloc/arena.c: Likewise.
38986 * malloc/set-freeres.c: Likewise.
38987 * misc/err.c: Likewise.
38988 * misc/getttyent.c: Likewise.
38989 * misc/mntent_r.c: Likewise.
38990 * posix/getopt.c: Likewise.
38991 * posix/wordexp.c: Likewise.
38992 * pwd/fgetpwent_r.c: Likewise.
38993 * resolv/Versions: Likewise.
38994 * resolv/res_hconf.c: Likewise.
38995 * shadow/fgetspent_r.c: Likewise.
38996 * shadow/putspent.c: Likewise.
38997 * stdio-common/printf_fphex.c: Likewise.
38998 * stdio-common/tmpfile.c: Likewise.
38999 * stdlib/abort.c: Likewise.
39000 * stdlib/fmtmsg.c: Likewise.
39001 * sunrpc/auth_unix.c: Likewise.
39002 * sunrpc/clnt_perr.c: Likewise.
39003 * sunrpc/clnt_tcp.c: Likewise.
39004 * sunrpc/clnt_udp.c: Likewise.
39005 * sunrpc/clnt_unix.c: Likewise.
39006 * sunrpc/openchild.c: Likewise.
39007 * sunrpc/svc_simple.c: Likewise.
39008 * sunrpc/svc_tcp.c: Likewise.
39009 * sunrpc/svc_udp.c: Likewise.
39010 * sunrpc/svc_unix.c: Likewise.
39011 * sunrpc/xdr.c: Likewise.
39012 * sunrpc/xdr_array.c: Likewise.
39013 * sunrpc/xdr_rec.c: Likewise.
39014 * sunrpc/xdr_ref.c: Likewise.
39015 * sunrpc/xdr_stdio.c: Likewise.
39016
1248c1c4
PB
390172011-09-09 Ulrich Drepper <drepper@gmail.com>
39018
39019 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39020
390212011-07-03 Andreas Jaeger <aj@suse.de>
39022
39023 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39024 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39025 regenerate with gen-libm-tests.pl.
39026
390272010-05-12 Petr Baudis <pasky@suse.cz>
39028
39029 [BZ #11589]
39030 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39031 around j0() zero points by switching to j1().
39032 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39036
f22e1074
UD
390372011-09-09 Ulrich Drepper <drepper@gmail.com>
39038
f19009c1
UD
39039 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39040 instead of 0.
39041 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39042 instead of 0.
f19009c1
UD
39043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39044 Patch in part by Pavel Roskin <proski@gnu.org>.
39045
3f8cc204
UD
39046 [BZ #13138]
39047 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39048 realloc.
39049 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39050 Free memory block if necessary.
39051
f22e1074
UD
39052 [BZ #12847]
39053 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39054 be NULL. Don't lock in this case.
39055
0a2349f9
RM
390562011-09-09 Roland McGrath <roland@hack.frob.com>
39057
39058 * elf/elf.h (ELFOSABI_GNU): New macro.
39059 (ELFOSABI_LINUX): Define to that.
39060
f3cdd467
DZ
390612011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39062
39063 * string/strncat.c (strncat): Undef the symbol in case it has been
39064 defined in bits/string.h.
39065
74718d13
UD
390662011-09-09 Ulrich Drepper <drepper@gmail.com>
39067
633e9e0f
UD
39068 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39069
0a2349f9 39070 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39071 link map.
39072
f9924780
AJ
390732011-08-17 Andreas Jaeger <aj@suse.de>
39074
39075 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39076
7f5517aa
PP
390772011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39078 Ian Lance Taylor <iant@google.com>
39079
39080 * math/libm-test.inc (lround_test): New testcase.
39081 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39082
762011fe
UD
390832011-09-08 Ulrich Drepper <drepper@gmail.com>
39084
92963737
UD
39085 * Makefile: Remove support for automatic cvs check-ins.
39086 * Makerules: Likewise.
39087 * config.make.in: Likewise.
39088 * configure.in: Likewise.
39089 * intl/Makefile: Likewise.
39090 * locale/Makefile: Likewise.
39091 * po/Makefile: Likewise.
39092 * posix/Makefile: Likewise.
39093 * sysdeps/gnu/Makefile: Likewise.
39094 * sysdeps/mach/hurd/Makefile: Likewise.
39095 * sysdeps/sparc/sparc32/Makefile: Likewise.
39096
b0727fd8
JS
39097 [BZ #13118]
39098 * posix/Makefile (bug-regex32-ENV): Define.
39099 Patch by John Stanley <jpsinthemix@verizon.net>.
39100
a0f33f99
UD
39101 * misc/Makefile (headers): Add bits/select2.h.
39102 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39103 * misc/bits/select2.h: New file.
39104 * include/bits/select2.h: New file.
39105 * debug/Makefile (routines): Add fdelt_chk.
39106 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39107 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39108 FD_ISSET.
39109 * debug/fdelt_chk.c: New file.
39110
762011fe
UD
39111 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39112 * wcsmbs/test-wmemcmp.c: Likewise.
39113 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39114 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39115
391162011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39117
39118 * string/Makefile (strop-tests): Add memcmp.
39119 * string/test-wmemcmp.c: New file.
39120 * string/test-memcmp.c: Add wmemcmp support.
39121
7f513ec8
RM
391222011-09-08 Roland McGrath <roland@hack.frob.com>
39123
0442afb4
RM
39124 [BZ #13153]
39125 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39126 2011-07-19 change.
39127
7f513ec8
RM
39128 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39129 garbage value in a __mach_port_mod_refs call in the cases of the
39130 task-self and thread-self ports.
39131
a12b2239
ST
391322011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39133
39134 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39135
610f9ab4
AS
391362011-09-08 Andreas Schwab <schwab@redhat.com>
39137
7f513ec8 39138 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39139
48882a1a
LD
391402011-09-07 Ulrich Drepper <drepper@gmail.com>
39141
b49865be
UD
39142 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39143
fdc86bc9
UD
39144 * elf/dl-libc.c (dlerror_run): Pass back error code from
39145 dl_catch_error.
39146
c966526a
UD
39147 [BZ #13123]
39148 * elf/dl-load.c (lose): Free l_origin if it is valid.
39149
48882a1a
LD
39150 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39151 names.
39152 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39156 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39157 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39158
77a2a8b4
AZ
391592011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39160
39161 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39162 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39164 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39165 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39166 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39167 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39168 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39169 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39170 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39171
24f579d8
AM
391722011-08-15 Alan Modra <amodra@gmail.com>
39173
39174 [BZ #13092]
39175 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39176 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39177 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39178 ppc_mcount to static-only-routines.
39179 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39180 __mcount_internal.
39181 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39182 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39183
3d4837df
UD
391842011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39185
39186 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39187 for finite and infinity parameters.
39188
22700377
WS
391892011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39190
39191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39192 and add nop instructions for throughput optimization.
39193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39194
5025581e
WS
391952011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39196
39197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39198 aligned copy for power7 with vector-scalar instructions.
39199 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39200
08a300c9
L
392012011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39202
39203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39204 AVX check.
39205
59178ef9
AS
392062011-09-07 Andreas Schwab <schwab@redhat.com>
39207
39208 [BZ #13144]
39209 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39210 last change.
39211
e38ba7ab
UD
392122011-09-07 Ulrich Drepper <drepper@gmail.com>
39213
39214 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39215 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39216 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39217 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39218 clock_gettime.
39219
d53a73ac
UD
392202011-09-06 Ulrich Drepper <drepper@gmail.com>
39221
fc8bffcc
UD
39222 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39223 Forgot to demangle the pointer.
39224
ceaa0c5d
UD
39225 * sysdeps/i386/sysdep.h: Define atom_text_section.
39226 * sysdeps/x86_64/sysdep.h: Likewise.
39227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39228 section with atom_text_section.
39229 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39230 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39231 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39233 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39234
a77d3c17
UD
39235 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39236 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39237 already be defined. Change to take two parameters and don't assign
39238 result to variable. Adjust all users.
39239 Define INTERNAL_GETTIME if not already defined.
39240 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39241 call.
39242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39243 HAVE_CLOCK_GETTIME_VSYSCALL.
39244 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39245
d53a73ac
UD
39246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39247 gettimeofday vsyscall, just use time.
39248
a8f84144
AS
392492011-09-06 Andreas Schwab <schwab@redhat.com>
39250
39251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39252 <errno.h>.
39253
ef606249
UD
392542011-09-06 Ulrich Drepper <drepper@gmail.com>
39255
39256 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39257 syscall on x86-64.
39258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39259 syscall.
39260 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39262 syscall if possible.
39263
6585cb60
UD
392642011-09-05 Ulrich Drepper <drepper@gmail.com>
39265
39266 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39267 e_ident. Don't pass to find_mapsXX.
39268 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39269
a5f524e4
LD
392702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39271
39272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39273 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39274 * sysdeps/x86_64/multiarch/strchr.S: Update.
39275 Check bit_slow_BSF bit.
39276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39277 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39278 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39279
554881ef
UD
392802011-09-05 Ulrich Drepper <drepper@gmail.com>
39281
d96de963
UD
39282 [BZ #13134]
39283 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39284 before glibc 2.15.
39285 (tryshell): Define.
39286 (__spawni): Change last parameter to be flag. Test
39287 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39288 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39289 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39290 * posix/spawni.c: Likewise.
39291 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39292 * posix/spawnp.c: Likewise. Change normal version to use
39293 SPAWN_XFLAGS_USE_PATH.
39294 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39295 SPAWN_XFLAGS_TRY_SHELL.
39296
d48e5868
UD
39297 [BZ #13150]
39298 * posix/glob.h: Remove gcc 1.x support.
39299
554881ef
UD
39300 [BZ #13068]
39301 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39302
693fb948
LD
393032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39304
39305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39306 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39307 strrchr-sse2-bsf
39308 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39309 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39310 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39312 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39314
1b48c537
UD
393152011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39316
49d42c37
UD
39317 * sysdeps/x86_64/wcscmp.S: New file.
39318
1b48c537
UD
39319 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39320 wcscmp-c wcscmp-sse2
39321 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39322 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39323 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39324 * wcsmbs/wcscmp.c: Allow renaming.
39325
15c95c5d
DM
393262011-09-05 David S. Miller <davem@davemloft.net>
39327
39328 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39329 stack slot, rather than the struct return pointer slot.
39330 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39331 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39333 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39334
2f0ad8f3
UD
393352011-09-05 Ulrich Drepper <drepper@gmail.com>
39336
d88ae418
UD
39337 * po/ja.po: Update from translation team.
39338
2f0ad8f3
UD
39339 [BZ #13144]
39340 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39341 kernel in 64-bit binaries.
39342
5f4318d1
DM
393432011-09-01 David S. Miller <davem@davemloft.net>
39344
39345 * elf/elf.h (HWCAP_SPARC_*): Move to..
39346 * sysdeps/sparc/sysdep.h: this new file and add new values.
39347 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39348 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39349 _DL_HWCAP_COUNT to 24.
39350 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39351 entries.
39352 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39353 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39354 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39356 instead of magic constants.
39357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39358
3ba57516
DM
393592011-08-31 David S. Miller <davem@davemloft.net>
39360
39361 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39363 Reimplement to do errno handling inline.
39364 (SYSCALL_ERROR_HANDLER): New macro.
39365 (__SYSCALL_STRING): Do not do errno handling in asm.
39366 (__CLONE_SYSCALL_STRING): Delete.
39367 (__INTERNAL_SYSCALL_STRING): Delete.
39368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39369 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39370 (PSEUDO): Reimplement to do errno handling inline.
39371 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39372 (SYSCALL_ERROR_HANDLER): New macro.
39373 (__SYSCALL_STRING): Do not do errno handling in asm.
39374 (__CLONE_SYSCALL_STRING): Delete.
39375 (__INTERNAL_SYSCALL_STRING): Delete.
39376 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39377 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39378 i386.
39379 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39380 (inline_syscall*): Add 'err' argument.
39381 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39382 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39383 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39384 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39385
39386 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39387 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39388
2bc17433
AS
393892011-08-30 Andreas Schwab <schwab@redhat.com>
39390
39391 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39392
fbeb5f4d
JO
393932011-08-29 Jiri Olsa <jolsa@redhat.com>
39394
39395 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39396 directive.
39397
ad69cc26
DM
393982011-08-24 David S. Miller <davem@davemloft.net>
39399
39400 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39401
39dd69df
AS
394022011-08-24 Andreas Schwab <schwab@redhat.com>
39403
39404 * elf/Makefile: Add rules to build and run unload8 test.
39405 * elf/unload8.c: New file.
39406 * elf/unload8mod1.c: New file.
39407 * elf/unload8mod1x.c: New file.
39408 * elf/unload8mod2.c: New file.
39409 * elf/unload8mod3.c: New file.
39410
39411 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39412 it wasn't used.
39413
2c0b250a
DM
394142011-08-23 David S. Miller <davem@davemloft.net>
39415
39416 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39417 subtract stack bias.
39418 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39419 %sp not %fp in calculations.
39420 (_JMPBUF_UNWINDS_ADJ): Likewise.
39421
22044b48
DM
39422 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39423 (aio_suspend): Call it to force an exception region around the
39424 AIO_MISC_WAIT() invocation.
39425
2cae4995
AS
394262011-08-23 Andreas Schwab <schwab@redhat.com>
39427
39428 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39429 backslash.
39430
873a772e
AJ
394312011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39432
39433 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39434 protection macro.
39435 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39436 and <dl-machine.h>.
39437 (Elf64_FuncDesc): Remove.
39438
25ad0df1
DM
394392011-08-22 David S. Miller <davem@davemloft.net>
39440
39441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39442 sigaltstack check, add missing cfi directives.
39443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39444 missing cfi directives, and sigaltstack handling.
39445
e888bcbe
AS
394462011-08-16 Andreas Schwab <schwab@redhat.com>
39447
39448 [BZ #11724]
39449 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39450 object is seen twice.
39451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39452
39453 * elf/Makefile (distribute): Add tst-initorder2.c.
39454 (tests): Add tst-initorder2.
39455 (modules-names): Add tst-initorder2a tst-initorder2b
39456 tst-initorder2c tst-initorder2d. Add rules to build them.
39457 ($(objpfx)tst-initorder2.out): New rule.
39458 * elf/tst-initorder2.c: New file.
39459 * elf/tst-initorder2.exp: New file.
39460
87162f46
AS
394612011-08-22 Andreas Schwab <schwab@redhat.com>
39462
70538b7f
AS
39463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39464
f55ffe58
AS
39465 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39466 dependencies back to end of function.
39467
87162f46
AS
39468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39469 $(elfobjdir)/ld.so.
39470
91b392a4
UD
394712011-08-21 Ulrich Drepper <drepper@gmail.com>
39472
39473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39474 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39476 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39477 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39478 of __vdso_gettimeofday.
39479 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39480 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39481 attribute_hidden.
39482 (_libc_vdso_platform_setup): Remove initialization of
39483 __vdso_gettimeofday and __vdso_time.
39484
5c43483f
UD
394852011-08-20 Ulrich Drepper <drepper@gmail.com>
39486
775a77e7
UD
39487 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39488 and fgetc_unlocked.
39489 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39490 getc_unlocked.
89f447ed 39491
49c74ba9
UD
39492 * elf/dl-open.c (add_to_global): Report additions to the global scope
39493 for LD_DEBUG=scopes.
39494 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39495 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39496
5c43483f
UD
39497 [BZ #13114]
39498 * stdio-common/Makefile (tests): Add bug24.
39499 * stdio-common/bug24.c: New file.
39500
a101b025
AJ
395012011-08-19 Andreas Jaeger <aj@suse.de>
39502
39503 [BZ #13114]
39504 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39505 non-existant file when using close-on-exec mode.
39506
c88f1766
UD
395072011-08-20 Ulrich Drepper <drepper@gmail.com>
39508
0276a718
UD
39509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39510 the very first instruction.
39511
c88f1766
UD
39512 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39513 the CFI state in the end.
39514 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39515 inclusion of dl-trampoline.h.
39516 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39517
51ccffa0
AS
395182011-08-19 Andreas Schwab <schwab@redhat.com>
39519
94d7165f
AS
39520 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39521 expectations for long double.
39522
51ccffa0
AS
39523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39524 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39525
fd708658 395262011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39527
39528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39529 artificual limit depends upon the system page size.
39530
44f0a71e
UD
395312011-08-17 Ulrich Drepper <drepper@gmail.com>
39532
39533 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39534 * resolv/Makefile: Define CFLAGS-libresolv.
39535
8de79a24
AS
395362011-08-17 Andreas Schwab <schwab@redhat.com>
39537
39538 * nss/makedb.c (compute_tables): Make variables used in nested
39539 function static.
39540
27724598
UD
395412011-08-17 Ulrich Drepper <drepper@gmail.com>
39542
c5305d88
UD
39543 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39544 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39545 if buffer was too small.
39546
27724598
UD
39547 * elf/pldd.c (main): Attach to all threads in the process.
39548 Rewrite /proc handling to use *at functions.
39549
076fe015
UD
395502011-08-16 Ulrich Drepper <drepper@gmail.com>
39551
174baab3
UD
39552 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39553 specifies first scope to show.
39554 (dl_open_worker): Update callers. Move printing scope of new
39555 object to before the relocation.
44f0a71e 39556 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39557 * sysdeps/generic/ldsodefs.h: Update declaration.
39558
076fe015
UD
39559 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39560 string for the scope number.
39561
a60df2c3
UD
395622011-08-14 Ulrich Drepper <drepper@gmail.com>
39563
39564 * nscd/servicescache.c (cache_addserv): Make sure written is always
39565 initialized.
39566
5e4287d1
RM
395672011-08-14 Roland McGrath <roland@hack.frob.com>
39568
85ae0589
RM
39569 * sysdeps/i386/i486/bits/atomic.h
39570 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39571 statement expression, so as to suppress "set but not used" warning.
39572 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39573
69f63097
RM
39574 * string/strncat.c (STRNCAT): Use prototype definition.
39575
675456ef
RM
39576 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39577 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39578 -Iprograms here.
39579 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39580 (localedef-modules): Add localedef.
39581 (locale-modules): Add locale.
39582
5e4287d1
RM
39583 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39584 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39585 to avoid a warning.
39586
9c96ff23
DM
395872011-08-14 David S. Miller <davem@davemloft.net>
39588
39589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39590 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39591
f9ddf089
UD
395922011-08-13 Ulrich Drepper <drepper@gmail.com>
39593
44f0a71e 39594 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39595 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39596 * elf/rtld.c (dl_main): Set l_name of vDSO.
39597 Call _dl_show_scope when DL_DEBUG_SCOPES.
39598 (process_dl_debug): Recognize scopes flag and also set it for all.
39599 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39600 Declare _dl_show_scope.
39601
1dc27704
UD
39602 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39603 (do_dlopen): Pass caller_dlopen to dl_open.
39604 (__libc_dlopen_mode): Initialize caller_dlopen.
39605
f9ddf089
UD
39606 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39607 of libc. Make tolower call locale-independent. Optimize a bit by
39608 using isdigit instead of isalnum.
39609 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39610
9ac533d3
UD
396112011-08-12 Ulrich Drepper <drepper@gmail.com>
39612
39613 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39614 was a dependency or dynamically loaded.
39615
89edf2e9
UD
396162011-08-11 Ulrich Drepper <drepper@gmail.com>
39617
8e999d29
UD
39618 * intl/l10nflist.c: Allow architecture-specific pop function.
39619 * sysdeps/x86_64/l10nflist.c: New file.
39620
89edf2e9
UD
39621 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39622 classification.
39623
14d96785
AS
396242011-08-10 Andreas Schwab <schwab@redhat.com>
39625
39626 * include/dirent.h: Add libc_hidden_proto for scandirat and
39627 scandirat64. Don't declare __scandirat64.
39628 * dirent/scandirat.c: Add libc_hidden_def.
39629 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39630 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39631
6761ac04
DM
396322011-08-10 David S. Miller <davem@davemloft.net>
39633
39634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39635 enum.
39636 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39639
c55fbd1e
UD
396402011-08-09 Ulrich Drepper <drepper@gmail.com>
39641
39642 * Versions.def [libc]: Add GLIBC_2.15.
39643 * dirent/Makefile (routines): Add scandirat and scandirat64.
39644 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39645 GLIBC_2.15.
39646 * dirent/dirent.h: Declare scandirat and scandirat64.
39647 * dirent/scandirat.c: New file.
39648 * dirent/scandirat64.c: New file.
39649 * sysdeps/wordsize-64/scandirat.c: New file.
39650 * sysdeps/wordsize-64/scandirat64.c: New file.
39651 * dirent/opendir.c: Define opendirat.
39652 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39653 using scandirat.
39654 * dirent/scandir64.c: Adjust for scandir.c change.
39655 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39656 __scandirat64, and __scandir_cancel_handler.
39657 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39658 additional parameter and use openat instead of open (outside of ld.so).
39659 Add new __opendir as wrapper around __opendirat.
39660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39661 here without requiring old scandirat implementation.
39662
879165f2
UD
396632011-08-08 Ulrich Drepper <drepper@gmail.com>
39664
39665 * dirent/scandir.c (cancel_handler): Renamed to
39666 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39667 defined. Adjust users.
39668 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39669 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39670
cb7e923b
UD
396712011-08-04 Ulrich Drepper <drepper@gmail.com>
39672
16292edd
UD
39673 * string/test-string.h (IMPL): Use __STRING to expand name and then
39674 stringify it.
39675
cb7e923b
UD
39676 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39677 of cleanups.
39678
cff82933
LD
396792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39680
39681 * string/Makefile: Update.
39682 (strop-tests): Append strncat.
39683 * string/test-wcscmp.c: New file.
39684 New comprehensive test for wcscmp.
39685 * string/test-strcmp.c: Update.
39686 (WIDE): New define.
39687
9be9bfcc
AS
396882011-07-22 Andreas Schwab <schwab@redhat.com>
39689
39690 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39691 line.
39692
2e96f1c7
AS
396932011-07-26 Andreas Schwab <schwab@redhat.com>
39694
39695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39696 encoding to ACE if AI_IDN.
39697
85188888
JJ
396982011-08-01 Jakub Jelinek <jakub@redhat.com>
39699
39700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39701 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39702
5fa16e9b
LD
397032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39704
39705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39706 Fix overflow bug in strncat.
39707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39708
39709 * string/test-strncat.c: Update.
39710 Add new tests for checking overflow bugs.
39711
397122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39713
39714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39715 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39716 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39717 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39719 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39720 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39721 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39722 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39723
39724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39725 (USE_AS_STRCAT): Define.
39726 Add strcat and strncat support.
39727 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39728
8c1a459f
AS
397292011-07-25 Andreas Schwab <schwab@redhat.com>
39730
39731 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39732 __n bigger than INT_MAX+1.
39733 (__strncmp_g): Likewise.
39734
bba33c28
UD
397352011-07-23 Ulrich Drepper <drepper@gmail.com>
39736
798be72d
UD
39737 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39738 * libio/stido.h: Likewise.
39739
8accd4dc
UD
39740 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39741 (AF_NFC): Define.
39742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39743 (AF_NFC): Define.
39744
cbff0d96
UD
39745 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39746 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39748 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39750
9191c04a
UD
39751 [BZ #13021]
39752 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39753 installed.
39754
bba33c28
UD
39755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39756 typo.
39757 (_dl_x86_64_save_sse): Likewise.
39758
90f139dd
UD
397592011-07-22 Ulrich Drepper <drepper@gmail.com>
39760
1aae088a
UD
39761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39762 OSXSAVE.
39763 (_dl_x86_64_save_sse): Likewise.
39764
8e2045f5
UD
39765 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39766
90f139dd
UD
39767 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39768
1d002f25
AS
397692011-07-21 Andreas Schwab <schwab@redhat.com>
39770
39771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39772 change.
39773 (_dl_x86_64_save_sse): Use correct AVX check.
39774
21137f89
UD
397752011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39776
39777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39778 bug in strncpy/strncat.
39779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39780
a65c0b7a
UD
397812011-07-21 Ulrich Drepper <drepper@gmail.com>
39782
39783 * string/tester.c (test_strcat): Add tests for different alignments
39784 of source and destination.
39785 (test_strncat): Likewise.
39786
6986b98a
UD
397872011-07-20 Ulrich Drepper <drepper@gmail.com>
39788
90bb2039
UD
39789 [BZ #12852]
39790 * posix/glob.c (glob): Check passed in values before using them in
39791 expressions to avoid some overflows.
39792 (glob_in_dir): Likewise.
39793
5644ef54
UD
39794 [BZ #13007]
39795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39796 check for AVX enablement so that we don't crash with old kernels and
39797 new hardware.
39798 * elf/tst-audit4.c: Add same checks here.
39799 * elf/tst-audit6.c: Likewise.
39800
39801 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39802
bfc9dc9b
AS
398032011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39804
39805 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39806
702e64bb
UD
398072011-07-20 Ulrich Drepper <drepper@gmail.com>
39808
39809 * po/cs.po: Update from translation team.
39810 * po/bg.po: Likewise.
39811
295e904f
MP
398122011-07-12 Marek Polacek <mpolacek@redhat.com>
39813
39814 * misc/sys/cdefs.h: Add support for const attribute.
39815 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39816 to gnu_dev_{major,minor,makedev} functions.
39817
3ff94596
MP
398182011-07-20 Marek Polacek <mpolacek@redhat.com>
39819
39820 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39821
28b59fca
AS
398222011-07-20 Andreas Schwab <schwab@redhat.com>
39823
39824 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39825 strlen results.
39826
19df733e
AK
398272011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39828
39829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39830 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39831 register in order to avoid conflicts with the soft frame pointer
39832 being held in r11 when necessary.
39833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39834 (INTERNAL_VSYSCALL_NCS): Likewise.
39835
c8835729
MP
398362011-07-14 Marek Polacek <mpolacek@redhat.com>
39837
39838 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39839 * elf/dl-fini.c (_dl_fini): Adjust caller.
39840 * elf/dl-close.c (_dl_close_worker): Likewise.
39841 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39842
b902330c
MP
398432011-07-15 Marek Polacek <mpolacek@redhat.com>
39844
8991e135
MP
39845 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39846 "aux_cache->nlibs < 0".
39847
b902330c
MP
39848 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39849 in the reload-count case.
39850
99710781
LD
398512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39852
39853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39854 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39855 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39856 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39857 * sysdeps/x86_64/multiarch/strcat.S: New file.
39858 * sysdeps/x86_64/multiarch/strncat.S: New file.
39859 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39861 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39862 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39864 (USE_AS_STRCAT): Define.
39865 Add strcat and strncat support.
39866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39868 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39869 * string/strncat.c: Update.
39870 (USE_AS_STRNCAT): Define.
39871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39872 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39873 and i7.
39874 * sysdeps/x86_64/multiarch/init-arch.h
39875 (bit_Prefer_PMINUB_for_stringop): New.
39876 (index_Prefer_PMINUB_for_stringop): Likewise.
39877 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39878 bit_Prefer_PMINUB_for_stringop.
39879
7dc6bd90
UD
398802011-07-19 Ulrich Drepper <drepper@gmail.com>
39881
39882 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39883 buffer64.
39884 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39885 of casting of buffer.
39886 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39887 buffer32 and buffer64.
39888 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39889 writes instead of casting of buffer.
39890 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39891 buffer32.
39892 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39893 casting of buffer.
39894
e0e72284
AS
398952011-07-19 Andreas Schwab <schwab@redhat.com>
39896
39897 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39898
feb1eb0b
UD
398992011-07-19 Ulrich Drepper <drepper@gmail.com>
39900
39901 * nscd/nscd.c (termination_handler): Don't do anything for a database
39902 if it has not yet been initialized.
39903
298711ff
UD
399042011-07-18 Ulrich Drepper <drepper@gmail.com>
39905
39906 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39907
399082011-07-15 Marek Polacek <mpolacek@redhat.com>
39909
39910 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39911
f9d68389
UD
399122011-07-18 Ulrich Drepper <drepper@gmail.com>
39913
39914 * po/nl.po: Update from translation team.
39915 * po/sv.po: Likewise.
39916
db290cf5
RM
399172011-07-16 Roland McGrath <roland@hack.frob.com>
39918
39919 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39920 now disallowed by GCC.
5c550700 39921
fd5e21c7
RM
39922 * configure.in (use-default-link): Default to yes if a test -shared
39923 link meets our qualifications.
39924 * configure: Regenerated.
39925
5c550700
RM
39926 * config.make.in (output-format): New variable.
39927 * configure.in: Check for ld --print-output-format support.
39928 * configure: Regenerated.
39929 * Makerules ($(common-objpfx)format.lds)
39930 [$(output-format) != unknown]: Just use $(output-format),
39931 instead of the linker-script munging.
39932
9fa2c032
RM
399332011-07-14 Roland McGrath <roland@hack.frob.com>
39934
a6928d51
RM
39935 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39936 of $(common-objpfx)shlib.lds.
39937 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39938
661607b3
RM
39939 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39940 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39941
9fa2c032
RM
39942 * configure.in (-z relro check): Adjust test code to add a large
39943 writable data section after it.
39944 * configure: Regenerated.
39945
defe9061
RM
399462011-07-11 Roland McGrath <roland@hack.frob.com>
39947
39948 * configure.in (-z relro check): Fix test code to make the variable
39949 truly const.
39950 * configure: Regenerated.
39951
319b9ad4
UD
399522011-07-11 Ulrich Drepper <drepper@gmail.com>
39953
39954 * nscd/nscd.h (struct traced_file): Define.
39955 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39956 elements. Add traced_files.
39957 (inotify_fd): Declare.
39958 (register_traced_file): Declare.
39959 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39960 (inotify_fd): Export.
39961 (resolv_conf_descr): Remove.
39962 (nscd_init): Move inotify descriptor creation to main.
39963 Don't register files for notification here.
39964 (register_traced_file): New function.
39965 (invalidate_cache): Don't use reset_res to determine whether to call
39966 res_init, go through the list of registered files.
39967 (main_loop_poll): The inotify descriptors are now stored in the
39968 structures for the traced files.
39969 (main_loop_epoll): Likewise
39970 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39971 to __nss_disable_nscd.
39972 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39973 for a database anymore. Check the records for all the registered
39974 files instead.
39975 * nss/Makefile (libnss_files-routines): Add files-init.
39976 (libnss_db-routines): Add db-init.
39977 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39978 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39979 * nss/nss_db/db-init.c: New file.
39980 * nss/nss_files/files-init.c: New file.
39981 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39982 __nss_lookup_function.
39983 (__nss_lookup_function): Call nss_load_library.
39984 (nss_load_all_libraries): New function.
39985 (__nss_disable_nscd): Take parameter with callback function for files
39986 to register. Set is_nscd. Load all the DSOs for the NSS modules
39987 used for the cached services.
39988 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39989 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39990 options for features to all the files in nscd.
39991
39992 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39993
23bee3e8
RM
399942011-07-10 Roland McGrath <roland@hack.frob.com>
39995
39996 * csu/elf-init.c (__libc_csu_init): Comment typo.
39997
46a5b7f0
UD
399982011-07-09 Ulrich Drepper <drepper@gmail.com>
39999
40000 * po/pl.po: Update from translation team.
40001 * po/ja.po: Likewise.
40002 * po/ru.po: Likewise.
40003 * po/ko.po: Likewise.
40004 * po/fr.po: Likewise.
40005
d30cf5bb
RM
400062011-07-09 Roland McGrath <roland@hack.frob.com>
40007
113ddea4
RM
40008 * configure.in (.ctors/.dtors header and trailer check):
40009 Use an empirical test on a built program.
40010 * configure: Regenerated.
40011
574920b4
RM
40012 * configure.in (-z relro check): Use an empirical test on a built DSO.
40013 Detect, but do not require, on ia64.
40014 * configure: Regenerated.
40015
d30cf5bb
RM
40016 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40017 Update tests that use readelf to use $READELF instead.
40018 * configure: Regenerated.
40019
8538fdb3
UD
400202011-07-08 Ulrich Drepper <drepper@gmail.com>
40021
40022 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40023 if the result is not used.
40024
04d08991
AJ
400252011-07-05 Andreas Jaeger <aj@suse.de>
40026
40027 [BZ#9696]
40028 * stdlib/tst-strtod.c: Add testcase.
40029
de283087
AD
400302011-07-07 Ulrich Drepper <drepper@gmail.com>
40031
4e5f31c8 40032 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40033 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40034 The latter has a higher limit. Take additional parameter to pass to
40035 the new function.
40036 (__pathconf): Pass file to __statfs_link_max.
40037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40038 __statfs_link_max.
40039 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40040 __statfs_link_max.
40041
de283087
AD
40042 [BZ #12868]
40043 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40044 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40045 Handle Lustre.
40046 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40047 (__statfs_filesize_max): Likewise.
40048 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40049
c75fa153
AJ
400502011-07-05 Andreas Jaeger <aj@suse.de>
40051
40052 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40053
1a544854
UD
400542011-07-06 Marek Polacek <mpolacek@redhat.com>
40055
40056 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40057 `status' variable.
40058 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40059 Likewise.
40060
6f0eec67
UD
400612011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40062
40063 * Makefile (strop-tests): Add strncat.
40064 * string/test-strncat.c: New file.
40065
aae30307
UD
400662011-06-30 Marek Polacek <mpolacek@redhat.com>
40067
40068 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40069
c0cfb5eb
UD
400702011-06-21 Andreas Jaeger <aj@suse.de>
40071
40072 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40073 Copy rule from iconvdata/Makefile.
40074
01636b21
UD
400752011-07-06 Ulrich Drepper <drepper@gmail.com>
40076
40077 [BZ #12922]
40078 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40079 but no long options are defined, just return 'W'.
40080
9895c8bc
UD
400812011-06-22 Marek Polacek <mpolacek@redhat.com>
40082
40083 [BZ #9696]
40084 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40085
5d4cf042
UD
400862011-07-06 Ulrich Drepper <drepper@gmail.com>
40087
40088 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40089 netgroups to read.
960e5535 40090 (innetgr): Likewise.
5d4cf042 40091
751eb97e
RM
400922011-07-05 Roland McGrath <roland@hack.frob.com>
40093
40094 * config.make.in (install_root): Default to $(DESTDIR).
40095
f15f1e45
UD
400962011-07-05 Ulrich Drepper <drepper@gmail.com>
40097
40098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40099
4e34ac6a
RM
401002011-07-02 Roland McGrath <roland@hack.frob.com>
40101
5e9b6af4
RM
40102 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40103
84f9ea0f
RM
40104 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40105 containing directory rather than embedding absolute directory names.
40106
ea5ee9f7
RM
40107 * scripts/check-local-headers.sh: Rewritten using awk.
40108 Match by word, not by line. Print error messages for matches.
40109 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40110
1b74661a
RM
40111 * Makerules [shlib-lds-flags empty]:
40112 ($(common-objpfx)libc_pic.opts): New target.
40113 ($(common-objpfx)libc_pic.os.clean): New target.
40114 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40115
40116 * config.make.in (OBJCOPY): New variable.
40117 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40118 * configure: Regenerated.
40119
f781ef40
RM
40120 * config.make.in (use-default-link): New variable.
40121 * configure.in (use_default_link): Grok --with-default-link to set it.
40122 * configure: Regenerated.
40123 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40124 (shlib-lds, shlib-lds-flags): Define to empty.
40125
2d4fa81e
RM
40126 * Makerules (shlib-lds): New variable.
40127 (shlib-lds-flags): New variable.
40128 (build-shlib, build-moduile, build-module-asneeded): Use it.
40129 ($(common-objpfx)libc.so): Use $(shlib-lds).
40130 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40131 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40132
31fffa6b
RM
40133 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40134 DT_FLAGS/DT_FLAGS_1 with zero flags.
40135
4e34ac6a
RM
40136 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40137 linker script munging.
40138
fcfc776b
UD
401392011-07-02 Ulrich Drepper <drepper@gmail.com>
40140
40141 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40142 as 128-bit value.
40143 * crypt/sha512.c (sha512_process_block): Perform total addition using
40144 128-bit if possible.
40145 (__sha512_finish_ctx): Likewise.
40146 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40147 as 64-bit value.
40148 * crypt/sha256.c (SWAP64): Define.
40149 (sha256_process_block): Perform total addition using 64-bit if
40150 possible.
40151 (__sha256_finish_ctx): Likewise.
40152
99231d9a
UD
401532011-07-01 Ulrich Drepper <drepper@gmail.com>
40154
40155 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40157 * nscd/hstcache.c (cache_addhst): Likewise.
40158 * nscd/grpcache.c (cache_addgr): Likewise.
40159 * nscd/aicache.c (addhstaiX): Likewise
40160 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40161
445b4a53
TK
401622011-07-01 Thorsten Kukuk <kukuk@suse.de>
40163
40164 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40165 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40166 * nscd/hstcache.c (cache_addhst): Likewise.
40167 * nscd/grpcache.c (cache_addgr): Likewise.
40168 * nscd/aicache.c (addhstaiX): Likewise
40169
6d4d8e8e
AS
401702011-07-01 Andreas Schwab <schwab@redhat.com>
40171
40172 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40173 domain only when needed.
40174
89f654c5
AS
401752011-06-30 Andreas Schwab <schwab@redhat.com>
40176
40177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40178 is always restored.
40179
cf3b23ff
UD
401802011-06-29 Ulrich Drepper <drepper@gmail.com>
40181
40182 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40183 are re-adding the entry.
40184 * nscd/servicescache.c (cache_addserv): Likewise.
40185
751626f9
AJ
401862011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40187
40188 * sysdeps/generic/dl-irel.h: fix protection against multiple
40189 inclusions.
40190 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40191
9113ea1f
UD
401922011-06-28 Ulrich Drepper <drepper@gmail.com>
40193
5c0b8d90
UD
40194 [BZ #12935]
40195 * malloc/memusage.sh: Fix quoting in message.
40196 * debug/xtrace.sh: Likewise.
40197
9113ea1f
UD
40198 * configure.in: Remove support for --experimental-malloc option, make
40199 it the default.
40200 * config.make.in: Likewise.
40201 * malloc/Makefile: Likewise.
40202
a4172181
AS
402032011-06-27 Andreas Schwab <schwab@redhat.com>
40204
40205 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40206 two-byte characters.
40207
78a7eee7
RM
402082011-06-27 Roland McGrath <roland@hack.frob.com>
40209
62bede13
RM
40210 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40211 AC_CACHE_CHECK invocation.
40212 * configure: Regenerated.
40213
78a7eee7
RM
40214 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40215
5ce33a62
UD
402162011-06-27 Ulrich Drepper <drepper@gmail.com>
40217
034807a9
UD
40218 [BZ #12350]
40219 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40220 bit from old_res_options.
40221
4902da17
UD
40222 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40223
5ce33a62
UD
40224 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40225 value type for setfct.
40226
c2344f56
L
402272011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40228
40229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40230 __gettimeofday instead of gettimeofday.
40231
68468076
UD
402322011-06-26 Ulrich Drepper <drepper@gmail.com>
40233
40234 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40235
acb0d739
L
402362011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40237
40238 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40239
40240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40241 info.
40242
8912479f
L
402432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40244
40245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40246 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40247 strcpy-sse2-unaligned strncpy-sse2-unaligned
40248 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40249 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40250 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40251 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40252 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40254 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40255 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40256 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40257 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40258 (STRCPY): Support SSE2 and SSSE3 versions.
40259
d5495a11
UD
402602011-06-24 Ulrich Drepper <drepper@gmail.com>
40261
40262 [BZ #12874]
40263 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40264 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40265 kernels which artificially limit size of requests.
40266
0b1cbaae
L
402672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40268
40269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40270 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40271 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40272 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40273 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40274 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40275 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40276 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40277 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40279 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40280 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40281 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40282 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40283 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40285 Enable unaligned load optimization for Intel Core i3, i5 and i7
40286 processors.
40287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40288 Define.
40289 (index_Fast_Unaligned_Load): Define.
40290 (HAS_FAST_UNALIGNED_LOAD): Define.
40291
07f494a0
MP
402922011-06-23 Marek Polacek <mpolacek@redhat.com>
40293
40294 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40295
fa3fc0fe
UD
402962011-06-22 Ulrich Drepper <drepper@gmail.com>
40297
40298 [BZ #12907]
40299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40300 until it is clear that the information is realy needed.
40301 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40302
e12df166
AS
403032011-06-22 Andreas Schwab <schwab@redhat.com>
40304
40305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40306
852eb34d
UD
403072011-06-22 Ulrich Drepper <drepper@gmail.com>
40308
84e2a551
UD
40309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40310 /sys/devices/system/cpu/online if it is usable.
40311
852eb34d
UD
40312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40313 reading the information from the /proc filesystem to once a second.
40314
6e502e19
UD
403152011-06-21 Andreas Jaeger <aj@suse.de>
40316
40317 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40318 NULL after inclusion of kernel headers.
40319
75d39ff2
UD
403202011-06-21 Ulrich Drepper <drepper@gmail.com>
40321
51f9aa6a
UD
40322 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40323 calls to internal_setent.
40324
c0244a9d
UD
40325 [BZ #12885]
40326 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40327 addresses using gethostbyname4_r ignore IPv4 addresses.
40328
c5e3c2ae
UD
40329 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40330 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40331
75d39ff2
UD
40332 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40333
42675c6f
DM
403342011-06-20 David S. Miller <davem@davemloft.net>
40335
40336 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40337 inclusions.
40338 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40339
40340 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40341 (elf_irel): Use it.
40342 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40343 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40344 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40345 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40346 * sysdeps/x86_64/dl-irel.h: Likewise.
40347
40348 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40349 * elf/dl-sym.c: Likewise.
40350
57912a71
UD
403512011-06-15 Ulrich Drepper <drepper@gmail.com>
40352
40353 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40354 need to dereference resplen2.
40355
ee22793d
AS
403562011-06-14 Andreas Schwab <schwab@redhat.com>
40357
40358 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40359
a9e836b0
UD
403602011-06-15 Ulrich Drepper <drepper@gmail.com>
40361
77fb9117
UD
40362 * Makeconfig: Define vardbdir and inst_vardbdir.
40363 * nss/Makefile: Add rules to install db-Makefile.
40364
40c1b22c
UD
40365 * nss/nss_db/db-XXX.c: Cleanup.
40366
9f2da732
UD
40367 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40368 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40369 GLIBC_PRIVATE.
40370 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40371 * nss/makedb.c: Implement -g option to specify that value strings
40372 are generated and should not be added to table iterated over for
40373 get*ent calls.
40374 * nss/nss_db/db-initgroups.c: New file.
40375
82e9a1f7
UD
40376 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40377 interface.
40378
c41af17e
UD
40379 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40380 (internal_getgrouplist): Adjust to name change.
40381 Update use_initgroups_entry if this is not the first call.
40382 * nss/databases.def: Add initgroups entry.
40383
a9e836b0
UD
40384 * nss/makedb.c (compute_tables): Check result of multiple hash table
40385 sizes to minimize maximum chain length.
40386
2666d441
UD
403872011-06-14 Ulrich Drepper <drepper@gmail.com>
40388
40389 * Versions.def: Add entry for libnss_db.
40390 * shlib-versions: Likewise.
40391 * nss/Makefile: Add rules to build libnss_db.
40392 * nss/Versions: Add libnss_db information. Organize libnss_files
40393 entries better.
40394 * nss/db-Makefile: Add gshadow support. Change rules for the new
40395 makedb progra. Some minor improvements to generate smaller files.
40396 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40397 here from...
40398 * nss/makedb.c: ...here.
40399 Improve database format to be smaller and require less memory at
40400 runtime.
40401 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40402 db anymore.
40403 * nss/nss_db/db-netgrp.c: Likewise.
40404 * nss/nss_db/db-open.c: Likewise.
40405 * nss/nss_files/flies-XXX.x: Adjust comments.
40406 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40407 * nss/nss_files/files-grp.c: Likewise.
40408 * nss/nss_files/files-hosts.c: Likewise.
40409 * nss/nss_files/files-network.c: Likewise.
40410 * nss/nss_files/files-proto.c: Likewise.
40411 * nss/nss_files/files-pwd.c: Likewise.
40412 * nss/nss_files/files-rpc.c: Likewise.
40413 * nss/nss_files/files-service.c: Likewise.
40414 * nss/nss_files/files-sgrp.c: Likewise.
40415 * nss/nss_files/files-spwd.c: Likewise.
40416 * nss/nss_db/db-alias.c: Removed.
40417 * nss/nss_db/dummy-db.h: Removed.
40418
9ee76b5a
UD
404192011-06-02 Ulrich Drepper <drepper@gmail.com>
40420
40421 * nss/makedb.c: Rewritten to not use database library.
40422 * nss/Makefile: Update to build new makedb program.
40423
c71ca1f8
AJ
404242011-06-14 Andreas Jaeger <aj@suse.de>
40425
40426 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40427 memset declaration.
40428
3154bfb8
UD
404292011-06-10 Andreas Schwab <schwab@redhat.com>
40430
40431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40432 tmpbuf.
40433
b350afab
RM
404342011-06-10 Roland McGrath <roland@hack.frob.com>
40435
decd4e50
RM
40436 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40437 * elf/Makefile ($(objpfx)ld.so): Likewise.
40438
5615eaf2
RM
40439 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40440 Don't list ld.so twice in dependencies.
40441
40442 * posix/bug-regex31.c: Include <stdlib.h>.
40443
40444 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40445
40446 * nis/nss_compat/compat-spwd.c
40447 (getspent_next_nss_netgr): Remove unused variable.
40448 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40449
40450 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40451 nonmembers" output to use the right array.
40452
40453 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40454
40455 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40456
40457 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40458 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40459 * catgets/gencat.c (read_input_file): Likewise.
40460 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40461
40462 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40463 variable definition inside #if's controlling its use.
40464
40465 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40466
40467 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40468
40469 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40470
40471 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40472 unreachable code.
40473
40474 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40475
b68e08db
RM
40476 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40477 * configure: Regenerated.
40478
b350afab
RM
40479 * Makerules: Revert last change.
40480 * elf/Makefile: Likewise.
40481
28368601
RM
404822011-06-09 Roland McGrath <roland@hack.frob.com>
40483
40484 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40485 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40486 (reloc-link): Likewise.
40487
11988f8f
UD
404882011-06-09 Ulrich Drepper <drepper@gmail.com>
40489
40490 * elf/Makefile: Add rules to build pldd.
40491 * elf/pldd.c: New file.
40492 * elf/pldd-xx.c: New file.
40493
e80fab37
UD
404942011-06-07 Ulrich Drepper <drepper@gmail.com>
40495
40496 * version.h: Update for 2.15 development version.
40497
9b849836
DM
404982011-06-07 David S. Miller <davem@davemloft.net>
40499
40500 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40501 ifuncs.
40502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40503 elf_machine_lazy_rel): Likewise.
40504 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40506 elf_machine_lazy_rel): Likewise.
40507 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40508 dl_hwcap via passed in argument.
40509 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40510 Likewise.
40511
5a31b283
AK
405122011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40513
40514 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40515
069e52f8
RM
405162011-06-06 Roland McGrath <roland@hack.frob.com>
40517
40518 [BZ #12849]
40519 * manual/fdl-1.1.texi: New file, verbatim from:
40520 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40521 * manual/lgpl-2.1.texi: New file, verbatim from:
40522 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40523 * manual/Makefile (licenses): New variable, list those new file names.
40524 (texis): Use it.
40525 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40526
40527 * manual/fdl.texi: File removed.
40528 * manual/lesser.texi: File removed.
40529 * manual/libc.texinfo (Copying, Documentation License):
40530 Use new @include file names, put @appendix directive before @include.
40531
f16846a5
JJ
405322011-06-04 Jakub Jelinek <jakub@redhat.com>
40533
40534 [BZ #12841]
40535 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40536 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40537 (mq_open): Add __NTH.
40538
3d29045b
L
405392011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40540
40541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40542 Assume Intel Core i3/i5/i7 processor if AVX is available.
40543
8c297311
UD
405442011-05-31 Ulrich Drepper <drepper@gmail.com>
40545
40546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40547 typo.
40548
c8fc0c91
UD
405492011-05-31 Andreas Schwab <schwab@redhat.com>
40550
40551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40552 memory. Use alloca_account. Fix memory leak when retrying.
40553
5b27a807
UD
405542011-05-31 Ulrich Drepper <drepper@gmail.com>
40555
356f8bc6
UD
40556 * version.h (RELEASE): Bump for 2.14 release.
40557 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40558
5b27a807
UD
40559 * config.make.in (RANLIB): Remove entry.
40560
01f16ab0
UD
405612011-05-30 Ulrich Drepper <drepper@gmail.com>
40562
41fce8bd
UD
40563 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40564 (libc.pot): Work around missing support for .ksh extension in xgettext.
40565
4769ae77
UD
40566 [BZ #12684]
40567 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40568 if both request failed.
40569 (send_dg): In case of server errors clear resplen or *resplen2.
40570
6b1e7d19
UD
40571 [BZ #12454]
40572 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40573 when there are multiple maps.
40574 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40575 (_dl_fini): Remove test here.
40576
01f16ab0
UD
40577 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40578
b1ebd700
UD
405792011-05-29 Ulrich Drepper <drepper@gmail.com>
40580
7ae22829
UD
40581 [BZ #12350]
40582 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40583 bit from old_res_options.
40584 (gaih_inet): Likewise.
40585
553149f6 40586 [BZ #11099]
18a84741 40587 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40588 as signed.
40589
652ffab1
UD
40590 * resolv/res_init.c (res_setoptions): Make the code more compact.
40591
16985fd0
UD
40592 [BZ #11558]
40593 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40594 set RES_USEVC.
40595
0464f746
UD
40596 [BZ #11634]
40597 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40598
7d17596c
UD
40599 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40600
cf6bbbd7
UD
40601 [BZ #11781]
40602 * malloc/malloc.h: Declare malloc hook variables as volatile.
40603
13f1ab36
UD
40604 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40605 in last patch.
40606
b1ebd700
UD
40607 [BZ #11799]
40608 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40609 raise in the comment.
80e2212d
UD
40610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40612 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40613
ce67228d
UD
406142011-05-28 Ulrich Drepper <drepper@gmail.com>
40615
8887a920
UD
40616 [BZ #12811]
40617 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40618 grow the buffers more if it already has to be sufficient.
40619 (build_wcs_upper_buffer): Likewise.
40620 * posix/regexec.c (check_matching): Likewise.
40621 (clean_state_log_if_needed): Likewise.
40622 (extend_buffers): Don't enlarge buffers beyond size of the input
40623 buffer.
40624 Patches mostly by Emil Wojak <emil@wojak.eu>.
40625 * posix/bug-regex32.c: New file.
40626 * posix/Makefile (tests): Add bug-regex32.
40627
4f031072
UD
40628 * locale/findlocale.c (_nl_find_locale): Return right away if
40629 _nl_explode_name failed.
40630 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40631
d0478f0c
UD
40632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40633
de81b246
UD
40634 * debug/xtrace.sh: Unify messages.
40635 * malloc/memusage.sh: Likewise.
40636
c738465a
UD
40637 [BZ #12813]
40638 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40639 time symbol from vDSO. Substitute with vsyscall if not available.
40640 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40641 __vdso_time.
40642
f1f929d7
UD
40643 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40644 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40645 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40646 Add sendmmsg and internal_sendmmsg.
40647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40648 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40650
ce67228d
UD
40651 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40652 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40653 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40654
e57420c6
UD
406552011-05-27 Ulrich Drepper <drepper@gmail.com>
40656
a8509ca5
UD
40657 [BZ #12813]
40658 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40659 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40660 available.
40661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40662 __vdso_getcpu.
40663
e57420c6
UD
40664 [BZ #12814]
40665 * iconvdata/Makefile (tests): Add bug-iconv9.
40666 * iconvdata/bug-iconv9.c: New file.
40667
4d07db15
AS
406682011-05-27 Andreas Schwab <schwab@redhat.com>
40669
40670 [BZ #12814]
40671 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40672
ea486f69
JJ
406732011-05-25 Jakub Jelinek <jakub@redhat.com>
40674
40675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40676 (struct user_regs_struct): Change intcs field back to cs.
40677
6f038433
UD
406782011-05-25 Ulrich Drepper <drepper@gmail.com>
40679
40680 * po/ja.po: Update from translation team.
40681
67f86a25
UD
406822011-05-23 Ulrich Drepper <drepper@gmail.com>
40683
40684 [BZ #12795]
40685 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40686 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40687
def7fbd6
AS
406882011-05-20 Andreas Schwab <schwab@redhat.com>
40689
40690 * stdlib/longlong.h: Update from GCC.
40691
f50ef8f1
AS
406922011-05-23 Andreas Schwab <schwab@redhat.com>
40693
40694 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40695 parameter name.
40696 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40697 Add parameter name.
40698 (__sysconf): Pass it down.
40699
de7ce8f1
UD
407002011-05-22 Ulrich Drepper <drepper@gmail.com>
40701
f2962a71
UD
40702 [BZ #12671]
40703 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40704 some situations.
40705 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40706 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40707 add in in __libc_use_alloca calls. Adjust callers.
40708 (glob): Use malloc in some situations.
40709
de7ce8f1
UD
40710 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40711 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40712 pltexit.
40713
aec84f53
UD
407142011-05-21 Ulrich Drepper <drepper@gmail.com>
40715
05bb4a68
UD
40716 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40717 and CLOCK_BOOTTIME_ALARM.
40718
7ea72f99
UD
40719 [BZ #12782]
40720 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40721 is returned.
40722
7e4afad5
UD
40723 * string/_strerror.c (__strerror_r): Print negative errors as signed
40724 numbers.
40725
8e211fec
UD
40726 [BZ #12777]
40727 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40728 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40729 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40730
f7d82dc9
UD
40731 * configure.in: Fix typo in redirection and correct removal of test
40732 files in two cases.
40733
cc9e536d
UD
40734 [BZ #12788]
40735 * locale/setlocale.c (new_composite_name): Fix test to check for
40736 identical name of all categories.
40737
aec84f53
UD
40738 [BZ #12792]
40739 * libio/filedoalloc.c (local_isatty): New function.
40740 (_IO_file_doallocate): Use local_isatty.
40741 * stdio-common/perror.c (perror): In case a new stream is used
40742 forward the stream error.
40743 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40744 error flag.
40745
78e64fdc
RT
407462011-05-20 Ulrich Drepper <drepper@gmail.com>
40747
34a9094f
UD
40748 [BZ #11869]
40749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40750 alloca.
40751 * include/alloca.h (extend_alloca_account): Define.
40752
78e64fdc
RT
40753 [BZ #11857]
40754 * posix/regex.h: Fix comments with documentation of user-accessible
40755 fields after compilation and describe correct free'ing of pattern
40756 after re_compile_pattern.
40757 Patch by Reuben Thomas <rrt@sc3d.org>.
40758
457bddfc
RA
407592011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40760
40761 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40762 and -mno-altivec to prevent the compiler from using Altivec and/or
40763 VSX instructions when the corresponding registers are not available.
40764
a4527b51
AS
407652011-05-19 Andreas Schwab <schwab@redhat.com>
40766
40767 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40768
ed690b2f
UD
407692011-05-19 Ulrich Drepper <drepper@gmail.com>
40770
40771 * libio/freopen.c (freopen): Use __dup2, not dup2.
40772 * libio/freopen64.c (freopen64): Likewise.
40773
8db73634
L
407742011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40775
40776 [BZ #12775]
40777 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40778 * math/Makefile (tests): Add test-powl.
40779 (CFLAGS-test-powl.c): Define.
40780 * math/test-powl.c: New file.
40781
0a197a9d
L
407822011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40783
40784 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40785
ee30c380
UD
407862011-05-17 Ulrich Drepper <drepper@gmail.com>
40787
40788 [BZ #11837]
40789 * iconvdata/gb18030.c: Update to GB18020-2005.
40790
6ce75379
UD
407912011-05-16 Ulrich Drepper <drepper@gmail.com>
40792
a4b89fd8
AR
40793 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40794 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40795 Patch by Aharon Robbins <arnold@skeeve.com>.
40796
ea389b12
UD
40797 [BZ #11892]
40798 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40799 on the stack.
40800
68a3f91f
UD
40801 [BZ #11895]
40802 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40803 through underflows.
40804
15cc7dd1
UD
40805 [BZ #12766]
40806 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40807 point to strings before performing equality test for error_one_per_line
40808 mode.
40809
f3799213
UD
40810 [BZ #11697]
40811 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40812
d79a9c94
UD
40813 [BZ #11820]
40814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40815 (struct user_fpregs_struct): Avoid __uint*_t types.
40816
56e5eb46
UD
40817 [BZ #6420]
40818 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40819 symbol info. Use it instead of calling _dl_addr locally.
40820 (lock_and_info): New function.
40821 (tr_freehook): Call lock_and_info and pass symbol info as additional
40822 parameter to tr_where.
40823 (tr_mallochook): Likewise.
40824 (tr_reallochook): Likewise.
40825 (tr_memalignhook): Likewise.
40826
6ce75379
UD
40827 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40828 used and couldn't be at all thread-safe.
40829
f8a3b5bf
UD
408302011-05-15 Ulrich Drepper <drepper@gmail.com>
40831
94b7cc37
UD
40832 * libio/freopen.c (freopen): Don't close old file descriptor
40833 before the new one is opened. Instead dup the new file descriptor
40834 to the old one after the new stream is created.
40835 * libio/freopen64.c (freopen64): Likewise.
40836 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40837 * libio/fileops.c (_IO_new_file_close_it): Handle new
40838 _IO_FLAGS2_NOCLOSE flag.
40839 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40840 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40841 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40842 _IO_FLAGS2_NOCLOSE flag.
40843 * include/unistd.h: Add hidden_proto for dup3.
40844 Define __have_dup3.
40845 * io/dup3.c: Define hidden symbol.
40846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40847
bd25564e
UD
40848 [BZ #7101]
40849 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40850 when an incomplete long option is used.
40851 * posix/tst-getopt_long1.c: New file.
40852 * posix/Makefile (tests): Add tst-getopt_long1.
40853
c84cfef4
UD
40854 [BZ #10138]
40855 * scripts/config.guess: Update from autoconf-2.68.
40856 * scripts/config.sub: Likewise.
40857
3b85df27
UD
40858 [BZ #10157]
40859 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40860 tests into ...
40861 (has_cpuclock): ...this. New function.
40862 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40863 macro here based on has_cpuclock code.
40864
15a856b1
UD
40865 [BZ #10149]
40866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40867 First byte (not low byte) is now always NUL.
40868 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40869
05f399e6
UD
40870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40871 Use non-cancelable interfaces.
40872
10a52685 40873 [BZ #9809]
94ecc67d
UD
40874 * locale/iso-639.def: Add entry for Sorani.
40875
f8a3b5bf
UD
40876 [BZ #11901]
40877 * include/stdlib.h: Move include protection to the right place.
40878 Define abort_msg_s. Declare __abort_msg with it.
40879 * stdlib/abort.c (__abort_msg): Adjust type.
40880 * assert/assert.c (__assert_fail_base): New function. Majority
40881 of code from __assert_fail. Allocate memory for __abort_msg with
40882 mmap.
40883 (__assert_fail): Now call __assert_fail_base.
40884 * assert/assert-perr.c: Remove bulk of implementation. Use
40885 __assert_fail_base.
40886 * include/assert.hL Declare __assert_fail_base.
40887 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40888 mmap.
40889 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40890
1af4e298
UD
408912011-05-14 Ulrich Drepper <drepper@gmail.com>
40892
f8a3b5bf 40893 [BZ #11952]
d26dfc60
MG
40894 [BZ #12453]
40895 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40896 until all modules are registered in the DTV.
40897 * elf/Makefile: Add rules to build and run tst-tls19.
40898 * elf/tst-tls19.c: New file.
40899 * elf/tst-tls19mod1.c: New file.
40900 * elf/tst-tls19mod2.c: New file.
40901 * elf/tst-tls19mod3.c: New file.
40902 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40903
2fc54d6f
UD
40904 [BZ #12083]
40905 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40906 correctly.
40907
98d76b46
UD
40908 [BZ #12601]
40909 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40910 two-byte sequence errors.
40911 * iconvdata/Makefile (tests): Add bug-iconv8.
40912 * iconvdata/bug-iconv8.c: New file.
40913
da3c19ef
UD
40914 [BZ #12626]
40915 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40916 buf2 definition.
40917
ca408c15
UD
40918 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40919
d6f67f7d
UD
40920 [BZ #12432]
40921 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40922 (dummy_getcfa): New function.
40923 (init): Get _Unwind_GetCFA address, use dummy if not found.
40924 (backtrace_helper): In recursion check, also check whether CFA changes.
40925 (__backtrace): Completely initialize arg.
40926
1af4e298 40927 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40928 storing incomplete byte sequence in state object. Avoid testing for
40929 guaranteed too small input if we know there is enough data available.
1af4e298 40930
da62f81b
AS
409312011-05-11 Andreas Schwab <schwab@redhat.com>
40932
40933 * Makeconfig (+link-pie): Indent.
40934 * Rules (binaries-pie): Define if $(have-fpie) and
40935 $(build-shared).
40936 (binaries-shared): Also filter out $(binaries-pie).
40937 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40938 * nscd/Makefile (others-pie): Add nscd.
40939 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40940 ($(objpfx)nscd): Remove command override.
40941 * login/Makefile (others-pie): Add pt_chown.
40942 ($(objpfx)pt_chown): Remove command override.
40943 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40944 remove command overrides.
40945
fcabc0f8
UD
409462011-05-13 Ulrich Drepper <drepper@gmail.com>
40947
20030ae6
UD
40948 * libio/tst_putwc.c: Fix error messages.
40949
fcabc0f8
UD
40950 [BZ #12724]
40951 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40952 currently writing and seek to current position when not.
40953 * libio/Makefile (tests): Add bug-fclose1.
40954 * libio/bug-fclose1.c: New file.
40955
320a5dc0
PB
409562011-05-12 Ulrich Drepper <drepper@gmail.com>
40957
40958 [BZ #12511]
40959 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40960 don't set DF_1_NODELETE here.
40961 (do_lookup_x): When entering new entry test for copy relocation
40962 and if necessary set DF_1_NODELETE flag.
40963 * elf/tst-unique4.cc: New file.
40964 * elf/tst-unique4.h: New file.
40965 * elf/tst-unique4lib.cc: New file.
40966 * elf/Makefile: Add rules to build and run tst-unique4.
40967 Patch by Piotr Bury <pbury@goahead.com>.
40968
22836f52
UD
409692011-05-11 Ulrich Drepper <drepper@gmail.com>
40970
f574184a
UD
40971 [BZ #12052]
40972 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40973
e1fb097f
UD
40974 [BZ #12625]
40975 * misc/mntent_r.c (addmntent): Flush the stream after the output
40976
22836f52
UD
40977 [BZ #12393]
40978 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40979 (is_trusted_path_normalize): Skip initial colon. Append slash
40980 to empty buffer. Duplicate is_trusted_path code but allow
40981 constructed patch to be prefix.
40982 (is_dst): Allow $ORIGIN followed by /.
40983 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40984 Correct testing of result of is_trusted_path_normalize
40985 (decompose_rpath): Fix warning.
40986
7b3b0b2a
UD
409872011-05-10 Ulrich Drepper <drepper@gmail.com>
40988
40989 [BZ #11257]
40990 * grp/initgroups.c (internal_getgrouplist): When we found the service
40991 list through the initgroups entry in nsswitch.conf do not always
40992 continue on a successful lookup. Don't always use the
eac80ce2 40993 __nss_group_database value if it is set.
7b3b0b2a
UD
40994 * nss/nsswitch.conf (initgroups): Change action for successful db
40995 lookup to continue for compatibility.
40996
2a81eaa5
UD
409972011-05-09 Ulrich Drepper <drepper@gmail.com>
40998
be97a69e
UD
40999 [BZ #11532]
41000 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41001 and CP774 modules.
41002 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41003 and CP774 modules.
41004 * iconvdata/tst-tables.sh: Likewise.
41005 * iconvdata/cp770.c: New file.
41006 * iconvdata/cp771.c: New file.
41007 * iconvdata/cp772.c: New file.
41008 * iconvdata/cp773.c: New file.
41009 * iconvdata/cp774.c: New file.
41010 * iconvdata/testdata/CP770: New file.
41011 * iconvdata/testdata/CP770..UTF8: New file.
41012 * iconvdata/testdata/CP771: New file.
41013 * iconvdata/testdata/CP771..UTF8: New file.
41014 * iconvdata/testdata/CP772: New file.
41015 * iconvdata/testdata/CP772..UTF8: New file.
41016 * iconvdata/testdata/CP773: New file.
41017 * iconvdata/testdata/CP773..UTF8: New file.
41018 * iconvdata/testdata/CP774: New file.
41019 * iconvdata/testdata/CP774..UTF8: New file.
41020
41021 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41022 END CHARMAP line.
41023 * iconvdata/gen-8bit-gap.sh: Likewise.
41024 * iconvdata/gen-8bit.sh: Likewise.
41025
c1e9e399
UD
41026 * locale/iso-639.def: Add ary entry.
41027
24c55fb3 41028 [BZ #11258]
96b4b1b0
UD
41029 * locale/C-translit.h.in: Add U20A1 transliteration.
41030
bdc2f971
KB
41031 [BZ #12178]
41032 * locale/iso-639.def: Add wae entry.
41033 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41034
2952b117
UD
41035 [BZ #12545]
41036 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41037 for n.
41038
2a81eaa5
UD
41039 [BZ #12711]
41040 * locale/C-translit.h.in: Add entry for U20B9.
41041 Patch by pravin.d.s@gmail.com.
41042
28377d1b
UD
410432011-05-08 Ulrich Drepper <drepper@gmail.com>
41044
7fb90fb8
UD
41045 [BZ #12713]
41046 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41047 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41048 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41049 in rtld. Use *stat64.
7fb90fb8 41050 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41051 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41052 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41053 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41054 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41055 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41056 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41057 __fstatat64 macros.
7fb90fb8
UD
41058 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41059 * dirent/rewinddir.c: Add libc_hidden_def.
41060 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41061 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41062
28377d1b
UD
41063 * include/dirent.h (__alloc_dir): Add flags parameter.
41064 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41065 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41066 __alloc_dir.
41067 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41068 from fdopendir if O_CLOEXEC is already set.
41069
66bdbaa4
AM
410702011-03-15 Alan Modra <amodra@gmail.com>
41071
41072 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41073 l_tls_firstbyte_offset non-zero. Save padding offset in
41074 l_tls_firstbyte_offset for later use.
41075 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41076 freeing static tls block.
41077
95721191
JN
410782011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41079
41080 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41081 where #ifdef was intended. The intent is to prevent ARG_MAX from
41082 being defined by the kernel headers.
41083
f87dfb1f
UD
410842011-05-07 Ulrich Drepper <drepper@gmail.com>
41085
41086 [BZ #12734]
41087 * resolv/resolv.h: Define RES_NOTLDQUERY.
41088 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41089 no-tld-query and set RES_NOTLDQUERY.
41090 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41091 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41092 modern BIND to search name as TLD unless forbidden.
41093
47c3cd7a
UD
410942011-05-07 Petr Baudis <pasky@suse.cz>
41095 Ulrich Drepper <drepper@gmail.com>
41096
41097 [BZ #12393]
41098 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41099 (is_trusted_path): ...to here.
c1e9ea35 41100 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41101 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41102 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41103
8a35c912
PP
411042011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41105
41106 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41107 __BEGIN/__END_DECLS.
41108
acd41f47
UD
411092011-05-06 Ulrich Drepper <drepper@gmail.com>
41110
41111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41112 NSS_STATUS_NOTFOUND if no record was found.
41113
597df647
AS
411142011-05-05 Andreas Schwab <schwab@redhat.com>
41115
41116 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41117 (headers-not-in-tirpc): Remove rpc/netdb.h
41118 * resolv/netdb.h: Revert last change.
41119
b9af1301
PP
411202011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41121
41122 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41123 circular dependency between libgcc.a and libc.a.
41124
4e34d5f5
AS
411252011-05-05 Andreas Schwab <schwab@redhat.com>
41126
41127 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41128 * nis/Makefile: Don't install rpcsvc/*.
41129 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41130 instead of <rpc/types.h>.
41131 (MAXHOSTNAMELEN): Define.
41132
00ee369c
AS
411332011-05-03 Andreas Schwab <schwab@redhat.com>
41134
41135 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41136
0b592a30
MB
411372011-04-28 Maciej Babinski <mbabinski@google.com>
41138
41139 [BZ #12714]
41140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41141 gethostbyname4_r when IPv6 results are possible.
41142
6e04cbbe
UD
411432011-05-02 Ulrich Drepper <drepper@gmail.com>
41144
41145 [BZ #12723]
41146 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41147 _PC_PIPE_BUF handling.
41148
e4ecafe0
BH
411492011-04-30 Bruno Haible <bruno@clisp.org>
41150
41151 [BZ #12717]
41152 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41153 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41154 to 'int'.
41155 * inet/getnameinfo.c (getnameinfo): Likewise.
41156
125ee683
UD
411572011-04-29 Ulrich Drepper <drepper@gmail.com>
41158
41159 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41160 to groups setting in database lookup.
41161 * nss/nsswitch.conf: Add initgroups entry.
41162
b722481a
EB
411632011-04-22 Ulrich Drepper <drepper@gmail.com>
41164
41165 [BZ #12685]
41166 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41167 mode string.
41168 Patch by Eric Blake <eblake@redhat.com>.
41169
4df46dbd
L
411702011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41171
41172 * sunrpc/Makefile (need-export-routines): Add svc_run.
41173 (routines): Remove svc_run.
41174 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41175 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41176 * sunrpc/svc_run.c (svc_run): Likewise.
41177 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41178
e84142d2
UD
411792011-04-21 Ulrich Drepper <drepper@gmail.com>
41180
41181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41182 problem in reallocation in last patch.
41183
877175d8
UD
411842011-04-20 Ulrich Drepper <drepper@gmail.com>
41185
41186 * sunrpc/Makefile: Move inclusion of Rules.
41187
ab8eed78
UD
411882011-04-19 Ulrich Drepper <drepper@gmail.com>
41189
41190 * nss/nss_files/files-initgroups.c: New file.
41191 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41192 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41193 _nss_files_initgroups_dyn.
41194
e3d8f584
RS
411952011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41196
41197 * elf/elf.h (R_ARM_IRELATIVE): Define.
41198
af190f45
UD
411992011-04-19 Ulrich Drepper <drepper@gmail.com>
41200
41201 * po/ru.po: Update from translation team.
41202
53cf59ef
UD
412032011-04-17 Ulrich Drepper <drepper@gmail.com>
41204
41205 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41206 dependencies.
41207
4c559bcd
MF
412082011-02-06 Mike Frysinger <vapier@gentoo.org>
41209
41210 [BZ #12653]
41211 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41212 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41213 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41216
4420675c
AS
412172011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41218
41219 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41220 differing bytes.
41221 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41224
75ea32ab
UD
412252011-04-17 Ulrich Drepper <drepper@gmail.com>
41226
41227 [BZ #12420]
41228 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41229 storing it.
41230 * stdlib/bug-getcontext.c: New file.
41231 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41232
27390476
AK
412332011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41234
41235 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41236 instructions into .machine "z9-109".
41237 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41238 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41239
10442705
AK
412402011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41241
41242 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41243 between environment variables and auxiliary vector.
41244
7b57bfe5
UD
412452011-04-16 Ulrich Drepper <drepper@gmail.com>
41246
41247 * Makefile: Add rules to build linkobj/libc.so.
41248 * include/libc-symbols.h: Define libc_hidden_nolink.
41249 * include/rpc/auth.h: Mark functions which are to be hidden.
41250 * include/rpc/auth_des.h: Likewise.
41251 * include/rpc/auth_unix.h: Likewise.
41252 * include/rpc/clnt.h: Likewise.
41253 * include/rpc/des_crypt.h: Likewise.
41254 * include/rpc/key_prot.h: Likewise.
41255 * include/rpc/pmap_clnt.h: Likewise.
41256 * include/rpc/pmap_prot.h: Likewise.
41257 * include/rpc/pmap_rmt.h: Likewise.
41258 * include/rpc/rpc_msg.h: Likewise.
41259 * include/rpc/svc.h: Likewise.
41260 * include/rpc/svc_auth.h: Likewise.
41261 * include/rpc/xdr.h: Likewise.
41262 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41263 * nss/Makefile: Likewise.
41264 * sunrpc/Makefile: Don't install headers. Build library with normal
41265 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41266 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41267 for the compat linking library. Remove use of INTDEF/INTUSE.
41268 * sunrpc/auth_none.c: Likewise.
41269 * sunrpc/auth_unix.c: Likewise.
41270 * sunrpc/authdes_prot.c: Likewise.
41271 * sunrpc/authuxprot.c: Likewise.
41272 * sunrpc/clnt_gen.c: Likewise.
41273 * sunrpc/clnt_perr.c: Likewise.
41274 * sunrpc/clnt_raw.c: Likewise.
41275 * sunrpc/clnt_simp.c: Likewise.
41276 * sunrpc/clnt_tcp.c: Likewise.
41277 * sunrpc/clnt_udp.c: Likewise.
41278 * sunrpc/clnt_unix.c: Likewise.
41279 * sunrpc/des_crypt.c: Likewise.
41280 * sunrpc/des_soft.c: Likewise.
41281 * sunrpc/get_myaddr.c: Likewise.
41282 * sunrpc/key_call.c: Likewise.
41283 * sunrpc/key_prot.c: Likewise.
41284 * sunrpc/netname.c: Likewise.
41285 * sunrpc/pm_getmaps.c: Likewise.
41286 * sunrpc/pm_getport.c: Likewise.
41287 * sunrpc/pmap_clnt.c: Likewise.
41288 * sunrpc/pmap_prot.c: Likewise.
41289 * sunrpc/pmap_prot2.c: Likewise.
41290 * sunrpc/pmap_rmt.c: Likewise.
41291 * sunrpc/publickey.c: Likewise.
41292 * sunrpc/rpc_cmsg.c: Likewise.
41293 * sunrpc/rpc_common.c: Likewise.
41294 * sunrpc/rpc_dtable.c: Likewise.
41295 * sunrpc/rpc_prot.c: Likewise.
41296 * sunrpc/rpc_thread.c: Likewise.
41297 * sunrpc/rtime.c: Likewise.
41298 * sunrpc/svc.c: Likewise.
41299 * sunrpc/svc_auth.c: Likewise.
41300 * sunrpc/svc_authux.c: Likewise.
41301 * sunrpc/svc_raw.c: Likewise.
41302 * sunrpc/svc_run.c: Likewise.
41303 * sunrpc/svc_simple.c: Likewise.
41304 * sunrpc/svc_tcp.c: Likewise.
41305 * sunrpc/svc_udp.c: Likewise.
41306 * sunrpc/svc_unix.c: Likewise.
41307 * sunrpc/svcauth_des.c: Likewise.
41308 * sunrpc/xcrypt.c: Likewise.
41309 * sunrpc/xdr.c: Likewise.
41310 * sunrpc/xdr_array.c: Likewise.
41311 * sunrpc/xdr_float.c: Likewise.
41312 * sunrpc/xdr_intXX_t.c: Likewise.
41313 * sunrpc/xdr_mem.c: Likewise.
41314 * sunrpc/xdr_rec.c: Likewise.
41315 * sunrpc/xdr_ref.c: Likewise.
41316 * sunrpc/xdr_sizeof.c: Likewise.
41317 * sunrpc/xdr_stdio.c: Likewise.
41318
e6c61494
UD
413192011-04-10 Ulrich Drepper <drepper@gmail.com>
41320
41321 [BZ #12650]
41322 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41323 * sysdeps/ia64/dl-tls.h: Likewise.
41324 * sysdeps/powerpc/dl-tls.h: Likewise.
41325 * sysdeps/s390/dl-tls.h: Likewise.
41326 * sysdeps/sh/dl-tls.h: Likewise.
41327 * sysdeps/sparc/dl-tls.h: Likewise.
41328 * sysdeps/x86_64/dl-tls.h: Likewise.
41329 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41330
34fe483e
AS
413312011-03-14 Andreas Schwab <schwab@redhat.com>
41332
41333 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41334 rpath element also skip the following colon.
41335 (expand_dynamic_string_token): Add is_path parameter and pass
41336 down to DL_DST_REQUIRED and _dl_dst_substitute.
41337 (decompose_rpath): Call expand_dynamic_string_token with
41338 non-zero is_path. Ignore empty rpaths.
41339 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41340 with zero is_path.
41341
f12a32e6
AS
413422011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41343
41344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41345 Make cancelable.
41346
38a7d692
UD
413472011-04-09 Ulrich Drepper <drepper@gmail.com>
41348
41349 [BZ #12655]
41350 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41351 Patch by Filipe David Manana <fdmanana@apache.org>.
41352
e451d22b
AS
413532011-04-07 Andreas Schwab <schwab@redhat.com>
41354
41355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41356 Maintain aligned stack.
41357 (CHECK_RSP): Remove unused macro.
41358
dedc7c7b
UD
413592011-04-03 Ulrich Drepper <drepper@gmail.com>
41360
41361 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41362 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41363
94521213
UD
413642011-04-02 Ulrich Drepper <drepper@gmail.com>
41365
41366 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41367
8cb700c0 41368 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41369
0354e355
L
413702011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41371
41372 [BZ #12518]
41373 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41374 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41375 * sysdeps/x86_64/memmove.c: New file.
41376 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41377 (memcpy): Renamed to ...
41378 (__new_memcpy): This.
41379 (memcpy): Provide GLIBC_2_14 memcpy.
41380 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41381 (memcpy): Provide GLIBC_2_2_5 memcpy.
41382
8593482f
UD
413832011-04-01 Ulrich Drepper <drepper@gmail.com>
41384
41385 [BZ #12631]
41386 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41387
81a5726b
AS
413882011-03-30 Andreas Schwab <schwab@redhat.com>
41389
41390 * misc/syncfs.c: New file.
41391 * misc/Makefile (routines): Add syncfs.
41392 * posix/unistd.h: Declare syncfs.
41393 * sysdeps/unix/syscalls.list: Add syncfs.
41394
00e5419f
AS
413952011-04-01 Andreas Schwab <schwab@redhat.com>
41396
41397 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41398 open_by_handle_at.
41399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41404 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41406
748876bf
UD
414072011-04-01 Ulrich Drepper <drepper@gmail.com>
41408
658e451d
UD
41409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41411 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41416
748876bf
UD
41417 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41418 sync_file_range.c with -fexceptions.
41419 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41420 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41421 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41422 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41423 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41426 sync_file_range as cancellation point
41427 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41428 now a wrapper around __call_sync_file_range with cancellation handling.
41429 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41430 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41431 function name to __call_sync_file_range.
41432 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41433 Add call_sync_file_range.
748876bf 41434
6e63d5e1
AS
414352011-04-01 Andreas Schwab <schwab@redhat.com>
41436
41437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41438 bits/timex.h.
6e63d5e1 41439
46998f74
UD
414402011-04-01 Ulrich Drepper <drepper@gmail.com>
41441
4c1423ed
UD
41442 * iconv/iconv.h: Fix typo in comment.
41443 * io/fcntl.h: Likewise.
41444 * libio/stdio.h: Likewise.
41445 * posix/spawn.h: Likewise.
41446 * posix/unistd.h: Likewise.
41447 * stdlib/stdlib.h: Likewise.
41448 * time/time.h: Likewise.
41449 * wcsmbs/wchar.h: Likewise.
41450
158648c0
UD
41451 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41452 open_by_handle): Add.
41453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41454 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41455 Augment a few comments.
41456 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41461 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41462 open_by_handle.
41463
46998f74
UD
41464 * io/fcntl.h (AT_EMPTY_PATH): Define.
41465
83fe108b
UD
414662011-03-30 Ulrich Drepper <drepper@gmail.com>
41467
41468 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41469 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41470 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41471 to...
41472 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41473 * Versions.def: Add GLIBC_2.14.
41474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41475 Export.
83fe108b 41476
bb242059
UD
414772011-03-22 Ulrich Drepper <drepper@gmail.com>
41478
41479 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41480 round counter.
41481 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41482
c97a1282
L
414832011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41484
41485 [BZ #12597]
41486 * string/test-strncmp.c (do_page_test): New function.
41487 (check2): Likewise.
41488 (test_main): Call check2.
41489 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41490
2a115601
UD
414912011-03-20 Ulrich Drepper <drepper@gmail.com>
41492
41493 [BZ #12587]
41494 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41495 Handle cache information in CPU leaf 4.
41496 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41497
8126d904
UD
414982011-03-18 Ulrich Drepper <drepper@gmail.com>
41499
042c49c6 41500 [BZ #12583]
8126d904
UD
41501 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41502 character representation.
41503 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41504
ccfe366e
RA
415052011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41506
41507 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41508 END(__isnan) to END(__isnanf) to match function entry point/label
41509 EALIGN(__isnanf,...).
41510
c6e13027
JJ
415112011-03-10 Jakub Jelinek <jakub@redhat.com>
41512
41513 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41514
33f85a3f
UD
415152011-03-10 Ulrich Drepper <drepper@gmail.com>
41516
028478fa
UD
41517 [BZ #12510]
41518 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41519 copy from the symbol referenced in the relocation to initialize the
41520 used variable.
41521 Patch by Piotr Bury <pbury@goahead.com>.
41522 * elf/Makefile: Add rules to build and tst-unique3.
41523 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41524 * elf/tst-unique3.cc: New file.
41525 * elf/tst-unique3.h: New file.
41526 * elf/tst-unique3lib.cc: New file.
41527 * elf/tst-unique3lib2.cc: New file.
41528
33f85a3f
UD
41529 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41530
03592fc7
MF
415312011-03-10 Mike Frysinger <vapier@gentoo.org>
41532
41533 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41534 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41535 to _start.
03592fc7 41536
6a5ee102
UD
415372011-03-06 Ulrich Drepper <drepper@gmail.com>
41538
41539 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41540 to-be-loaded object along a path to loader is ld.so.
41541
7e4ba49c
HJ
415422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41543 Ulrich Drepper <drepper@gmail.com>
41544
41545 * sysdeps/x86_64/memset.S: After aligning destination, code
41546 branches to different locations depending on the value of
41547 misalignment, when multiarch is enabled. Fix this.
41548
415492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41550
41551 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41552 Set _x86_64_preferred_memory_instruction for AMD processsors.
41553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41554 Set bit_Prefer_SSE_for_memop for AMD processors.
41555
13a804de
UD
415562011-03-04 Ulrich Drepper <drepper@gmail.com>
41557
41558 * libio/fmemopen.c (fmemopen): Optimize a bit.
41559
9d25c392
AS
415602011-03-03 Andreas Schwab <schwab@redhat.com>
41561
41562 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41563
a5543c6a
RM
415642011-03-03 Roland McGrath <roland@redhat.com>
41565
41566 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41567
012d35f7
DM
415682011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41569
7e4ba49c 41570 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41571 __bzero_ultra1 instead of __memset_ultra1.
41572
4bff6e01
AS
415732011-02-23 Andreas Schwab <schwab@redhat.com>
41574 Ulrich Drepper <drepper@gmail.com>
41575
41576 [BZ #12509]
41577 * include/link.h (struct link_map): Add l_orig_initfini.
41578 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41579 returning unsuccessfully.
41580 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41581 close of a file loaded at startup, restore the original l_initfini
41582 list.
41583 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41584 list, store the pointer.
41585 * elf/Makefile ($(objpfx)noload-mem): New rule.
41586 (noload-ENV): Define.
41587 (tests): Add $(objpfx)noload-mem.
41588 * elf/noload.c: Include <memcheck.h>.
41589 (main): Call mtrace. Close all opened handles.
41590
f2092faf
AS
415912011-02-17 Andreas Schwab <schwab@redhat.com>
41592
41593 [BZ #12454]
41594 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41595 dependencies are missing.
41596
6c8a2e88
ST
415972011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41598
f2092faf 41599 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41600 Hurd needs munmap.
41601 * sysdeps/mach/hurd/ifreq.h: New file.
41602
84a42118
PB
416032011-01-27 Petr Baudis <pasky@suse.cz>
41604 Ulrich Drepper <drepper@gmail.com>
41605
071f805e 41606 [BZ 12445]#
84a42118
PB
41607 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41608 to extend_alloca().
41609 * stdio-common/bug23.c: New file.
41610 * stdio-common/Makefile (tests): Add bug23.
41611
e23fe25b
AS
416122010-09-28 Andreas Schwab <schwab@redhat.com>
41613 Ulrich Drepper <drepper@gmail.com>
41614
41615 [BZ #12489]
41616 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41617 before performing relro protection. At old place add assertion
41618 to make sure nothing changed.
41619
d3f02e10
NS
416202011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41621 Glauber de Oliveira Costa <glommer@gmail.com>
41622
41623 * elf/elf.h: Add new ARM TLS relocs.
41624
d55fd7a5
RA
416252011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41626
41627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41628 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41629 cast from r3.
41630 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41631 'tests' variable.
41632 * sysdeps/wordsize-64/tst-writev.c: New file.
41633
2206397e
RA
416342011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41635
41636 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41637 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41638 insns in _dl_start to prevent a TOC reference before relocs are
41639 resolved.
41640
e9433893
UD
416412011-02-15 Ulrich Drepper <drepper@gmail.com>
41642
41643 [BZ #12469]
41644 * Makeconfig: Remove RANLIB definition.
41645 * Makerules: Don't use RANLIB.
41646 * aclocal.m4: Remove ranlib test.
41647 * configure.in: No need to check for ranlib.
41648 * elf/rtld-Rules: Don't use RANLIB.
41649
f75286c6
ST
416502011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41651
8e31c82d
ST
41652 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41653 protection macro.
41654 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41655 inclusion protection macro.
41656
f75286c6
ST
41657 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41658 SIGRTMIN and SIGRTMAX and print information in that case only when
41659 SIGRTMIN is defined.
41660
c1d0e639
JJ
416612011-02-11 Jakub Jelinek <jakub@redhat.com>
41662
41663 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41664 arginfo fn returning -1.
41665
41666 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41667 and thousands string is zero terminated.
41668
edf9294e
AS
416692011-02-03 Andreas Schwab <schwab@redhat.com>
41670
41671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41672 sysdeps/unix/sysv/linux/bits/socket.h.
41673
2b7e92df
ST
416742011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41675
edf9294e
AS
41676 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41677 (__CPU_COUNT): Remove old macros.
41678 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41679 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41680 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41681 (__sched_cpualloc, __sched_cpufree): Add declarations.
41682
a4c7ea7b
UD
416832011-02-05 Ulrich Drepper <drepper@gmail.com>
41684
41685 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41686 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41687 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41688 (readdhstai): Return value of addhstaiX call.
41689 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41690 (addgrbyX): Return value returned by cache_addgr.
41691 (readdgrbyname): Return value returned by addgrbyX.
41692 (readdgrbygid): Likewise.
41693 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41694 (addpwbyX): Return value returned by cache_addpw.
41695 (readdpwbyname): Return value returned by addhstbyX.
41696 (readdpwbyuid): Likewise.
41697 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41698 (addservbyX): Return value returned by cache_addserv.
41699 (readdservbyname): Return value returned by addservbyX:
41700 (readdservbyport): Likewise.
41701 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41702 (addhstbyX): Return value returned by cache_addhst.
41703 (readdhstbyname): Return value returned by addhstbyX.
41704 (readdhstbyaddr): Likewise.
41705 (readdhstbynamev6): Likewise.
41706 (readdhstbyaddrv6): Likewise.
41707 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41708 (readdinitgroups): Return value returned by addinitgroupsX.
41709 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41710 (prune_cache): Keep track of timeout value of re-added entries.
41711 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41712 * nscd/nscd.h: Adjust prototypes of readd* functions.
41713
a0bf67cc
RM
417142011-02-04 Roland McGrath <roland@redhat.com>
41715
41716 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41717 (nis_stats): Likewise.
41718 * nis/nis_modify.c (nis_modify): Likewise.
41719 * nis/nis_remove.c (nis_remove): Likewise.
41720 * nis/nis_add.c (nis_add): Likewise.
41721
41722 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41723
41724 * posix/fnmatch_loop.c: Add some consts.
41725
41726 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41727
435b95eb
L
417282011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41729
41730 [BZ #12460]
41731 * config.make.in (config-cflags-novzeroupper): Define.
41732 * configure.in: Substitute libc_cv_cc_novzeroupper.
41733 * elf/Makefile (AVX-CFLAGS): Define.
41734 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41735 (CFLAGS-tst-auditmod4a.c): Likewise.
41736 (CFLAGS-tst-auditmod4b.c): Likewise.
41737 (CFLAGS-tst-auditmod6b.c): Likewise.
41738 (CFLAGS-tst-auditmod6c.c): Likewise.
41739 (CFLAGS-tst-auditmod7b.c): Likewise.
41740 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41741
8517b15e
UD
417422011-02-02 Ulrich Drepper <drepper@gmail.com>
41743
41744 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41745 function to the callback.
41746 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41747
10a656fe
AS
417482011-02-02 Andreas Schwab <schwab@redhat.com>
41749
41750 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41751 of errno.
41752
968dad0a
UD
417532011-01-19 Ulrich Drepper <drepper@gmail.com>
41754
9f94d2ea 41755 [BZ #11724]
968dad0a
UD
41756 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41757 of constructors.
41758 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41759 of destructors.
41760 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41761
41762 [BZ #11724]
41763 * elf/Makefile: Add rules to build and run new test.
41764 * elf/tst-initorder.c: New file.
41765 * elf/tst-initorder.exp: New file.
41766 * elf/tst-initordera1.c: New file.
41767 * elf/tst-initordera2.c: New file.
41768 * elf/tst-initordera3.c: New file.
41769 * elf/tst-initordera4.c: New file.
41770 * elf/tst-initorderb1.c: New file.
41771 * elf/tst-initorderb2.c: New file.
41772 * elf/tst-order-a1.c: New file.
41773 * elf/tst-order-a2.c: New file.
41774 * elf/tst-order-a3.c: New file.
41775 * elf/tst-order-a4.c: New file.
41776 * elf/tst-order-b1.c: New file.
41777 * elf/tst-order-b2.c: New file.
41778 * elf/tst-order-main.c: New file.
41779 New test case by George Gensure <werkt0@gmail.com>.
41780
86e92359
UD
417812010-10-01 Andreas Schwab <schwab@redhat.com>
41782
41783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41784 decoding ACE if AI_CANONIDN.
41785
5d5732b0
UD
417862011-01-18 Ulrich Drepper <drepper@gmail.com>
41787
41788 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41789
a77e8cbc
UD
417902011-01-17 Ulrich Drepper <drepper@gmail.com>
41791
6392473f
UD
41792 * version.h (RELEASE): Bump for 2.13 release.
41793 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41794
620a0529
UD
41795 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41796
18ba70a5
UD
41797 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41798 MADV_NOHUGEPAGE.
32465c3e
UD
41799 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41800 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41803 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41804 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41805
c0dafcf1
UD
41806 * posix/getconf.c: Update copyright year.
41807 * catgets/gencat.c: Likewise.
41808 * csu/version.c: Likewise.
41809 * debug/catchsegv.sh: Likewise.
41810 * debug/xtrace.sh: Likewise.
41811 * elf/ldconfig.c: Likewise.
41812 * elf/ldd.bash.in: Likewise.
41813 * elf/sprof.c (print_version): Likewise.
41814 * iconv/iconv_prog.c: Likewise.
41815 * iconv/iconvconfig.c: Likewise.
41816 * locale/programs/locale.c: Likewise.
41817 * locale/programs/localedef.c: Likewise.
41818 * malloc/memusage.sh: Likewise.
41819 * malloc/mtrace.pl: Likewise.
41820 * nscd/nscd.c (print_version): Likewise.
41821 * nss/getent.c: Likewise.
41822
a77e8cbc
UD
41823 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41824 PF_CAIF, and PF_ALG.
41825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41826
77e8bddf
AS
418272011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41828
1f20b93a
AS
41829 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41830 (modules-names): Use them.
41831 (ifunc-test-modules, ifunc-pie-tests): Define.
41832 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41833 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41834 (test-extras): Likewise.
41835 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41836 $(compile-command.c).
41837 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41838 (all-built-dso): Define.
41839 (check-textrel.out, check-execstack.out): Depend on it.
41840
77e8bddf
AS
41841 * configure.in: Don't override --enable-multi-arch.
41842
bc425b33
UD
418432011-01-15 Ulrich Drepper <drepper@gmail.com>
41844
41845 [BZ #6812]
41846 * nscd/hstcache.c (tryagain): Define.
41847 (cache_addhst): Return tryagain not notfound for temporary errors.
41848 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41849 failed.
41850
794c3ad3
UD
418512011-01-14 Ulrich Drepper <drepper@gmail.com>
41852
70181fdd
UD
41853 [BZ #10563]
41854 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41855 to make the syscall.
41856 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41857
794c3ad3
UD
41858 [BZ #12378]
41859 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41860 and fall back to matching as normal character if the string ends before
41861 the matching ']' is found. This is what POSIX requires.
41862 * posix/testfnm.c: Adjust test result.
41863 * posix/globtest.sh: Adjust test result. Add new test.
41864 * posix/tst-fnmatch.input: Likewise.
41865 * posix/tst-fnmatch2.c: Add new test.
41866
68dc9497
AS
418672010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41868
41869 * elf/Makefile (check-execstack): Revert last change. Depend on
41870 check-execstack.h.
41871 (check-execstack.h): New target.
41872 (generated): Add check-execstack.h.
41873 * elf/check-execstack.c: Include "check-execstack.h".
41874 (main): Revert last change.
41875 (handle_file): Return zero if GNU_STACK is absent and
41876 DEFAULT_STACK_PERMS doesn't include PF_X.
41877
451f001b
UD
418782011-01-13 Ulrich Drepper <drepper@gmail.com>
41879
cfa28e56
UD
41880 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41881 in child fails because the descriptor is already closed.
8cf8ce17
UD
41882 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41883 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41884 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41885
1086d70d
UD
41886 [BZ #12397]
41887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41888 syscall.
41889
451f001b
UD
41890 [BZ #10484]
41891 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41892 temporary buffer used to handle multi lookups locally.
a85b5cb4 41893 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41894
08769175
UD
418952011-01-12 Ulrich Drepper <drepper@gmail.com>
41896
41897 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41898 loader is ld.so.
41899
5e49c52e
UD
419002011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41901
41902 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41903 alignment for SSE2.
41904
60522a5f
UD
419052011-01-12 Ulrich Drepper <drepper@gmail.com>
41906
41907 [BZ #12394]
41908 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41909 characters. When rounding increased number of integer digits recompute
41910 number of groups.
41911 * stdio-common/tst-grouping.c: New file.
41912 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41913
f257bbd7
UD
419142011-01-09 Ulrich Drepper <drepper@gmail.com>
41915
41916 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41917 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41918
41919 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41920 void.
41921 * bits/select.h: Likewise.
41922
fa9c15cb
UD
419232011-01-08 Ulrich Drepper <drepper@gmail.com>
41924
41925 * po/ja.po: Update from translation team.
41926
16c2895f
DM
419272011-01-04 David S. Miller <davem@sunset.davemloft.net>
41928
41929 [BZ #11155]
41930 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41931 implementation just like for lxstat, fxstatat, et al.
41932
2543fef2
JM
419332010-12-27 Jim Meyering <meyering@redhat.com>
41934
41935 [BZ #12348]
41936 * posix/regexec.c (build_trtable): Return failure indication upon
41937 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41938
98727dbe
UD
419392010-12-25 Ulrich Drepper <drepper@gmail.com>
41940
5bd6dc5c
UD
41941 [BZ #12201]
41942 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41943 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41944 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41946
97983464
UD
41947 [BZ #12207]
41948 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41949
98727dbe
UD
41950 [BZ #12204]
41951 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41952 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41953
4a531bb0
L
419542010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41955
41956 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41957 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41958 script has SORT_BY_INIT_PRIORITY.
41959 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41960 NO_CTORS_DTORS_SECTIONS is defined.
41961 * elf/soinit.c: Likewise.
41962 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41963 NO_CTORS_DTORS_SECTIONS is defined.
41964 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41965 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41966 * sysdeps/sh/init-first.c: Likewise.
41967 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41968
07eb4b71
UD
419692010-12-24 Ulrich Drepper <drepper@gmail.com>
41970
41971 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41972 always use the slow path.
41973
30950a5f
RA
419742010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41975
41976 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41977 similar rule which adds the sysdep directories to the header search in
41978 order to pick up the correct platform stackinfo.h.
41979 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41980 perform test if it is, otherwise return successfully without testing.
41981 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41982 DEFAULT_STACK_PERMS define in stackinfo.h.
41983 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41984 defined in stackinfo.h.
41985 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41986 DEFAULT_STACK_PERMS defined in stackinfo.h.
41987 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41988 * sysdeps/ia64/stackinfo.h: Likewise.
41989 * sysdeps/s390/stackinfo.h: Likewise.
41990 * sysdeps/sh/stackinfo.h: Likewise.
41991 * sysdeps/sparc/stackinfo.h: Likewise.
41992 * sysdeps/x86_64/stackinfo.h: Likewise.
41993 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41994 PF_X for powerpc64. Retain PF_X for powerpc32.
41995
db753e2c
UD
419962010-12-19 Ulrich Drepper <drepper@gmail.com>
41997
14b697f7
UD
41998 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41999 accurately.
db753e2c
UD
42000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42001 GETDENTS_64BIT_ALIGNED.
42002
28300719
UD
420032010-12-14 Ulrich Drepper <dreper@gmail.com>
42004
14b697f7 42005 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42006
4f197237
AS
420072010-12-10 Andreas Schwab <schwab@redhat.com>
42008
dbb0472f
AS
42009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42010 _GNU_SOURCE.
42011
4f197237
AS
42012 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42013 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42014 Remove __restrict.
42015 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42016 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42017
fb88ac72
UD
420182010-12-09 Ulrich Drepper <drepper@gmail.com>
42019
42020 [BZ #11655]
42021 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42022 are initialized.
42023
42acbb92
JJ
420242010-12-09 Jakub Jelinek <jakub@redhat.com>
42025
42026 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42027
c038d98d
UD
420282010-12-03 Ulrich Drepper <drepper@gmail.com>
42029
42030 * po/it.po: Update from translation team.
42031
3a4a2499
L
420322010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42033
42034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42035 unused codes.
42036
1e24cf6e
UD
420372010-11-30 Ulrich Drepper <drepper@gmail.com>
42038
42039 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42040
a7690819
AS
420412010-11-24 Andreas Schwab <schwab@redhat.com>
42042
42043 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42044 specially.
42045 (gaih_getanswer_slice): Likewise.
42046
3bf8d1b1
JJ
420472010-10-20 Jakub Jelinek <jakub@redhat.com>
42048
42049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42050
6db52fbb
PB
420512010-05-31 Petr Baudis <pasky@suse.cz>
42052
42053 [BZ #11149]
42054 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42055 silently even in the chroot mode.
42056
eaca7569
UD
420572010-11-22 Ulrich Drepper <drepper@gmail.com>
42058
42059 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42060 last patch a bit. Pretty printing
42061
3056dcdb
UD
420622010-05-31 Petr Baudis <pasky@suse.cz>
42063
42064 [BZ #10085]
42065 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42066 initialization of skip_initgroups_dyn.
42067
cf7c9078
UD
420682010-11-19 Ulrich Drepper <drepper@gmail.com>
42069
42070 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42071 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42072
a1fb5e3e
UD
420732010-11-16 Ulrich Drepper <drepper@gmail.com>
42074
42075 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42076
3540d66b
AS
420772010-11-11 Andreas Schwab <schwab@redhat.com>
42078
42079 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42080 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42081 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42082 ($(objpfx)tst-fnmatch-mem): New rule.
42083 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42084 * posix/tst-fnmatch.c (main): Call mtrace.
42085
13b69574
L
420862010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42087
42088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42089 Support Intel processor model 6 and model 0x2c.
42090
da93d214
LM
420912010-11-10 Luis Machado <luisgpm@br.ibm.com>
42092
42093 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42094 signed comparison.
42095
8ca52c6e
L
420962010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42097
42098 [BZ #12205]
42099 * string/test-strncasecmp.c (check_result): New function.
42100 (do_one_test): Use it.
42101 (check1): New function.
42102 (test_main): Use it.
42103 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42104 Support strcasecmp and strncasecmp.
42105
69da074d
UD
421062010-11-08 Ulrich Drepper <drepper@gmail.com>
42107
42108 [BZ #12194]
42109 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42111
ff02d528
L
421122010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42113
42114 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42115 IFUNC support.
42116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42117 memset-x86-64.
42118 * sysdeps/x86_64/multiarch/bzero.S: New file.
42119 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42120 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42121 * sysdeps/x86_64/multiarch/memset.S: New file.
42122 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42124 Set bit_Prefer_SSE_for_memop for Intel processors.
42125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42126 Define.
42127 (index_Prefer_SSE_for_memop): Define.
42128 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42129
344d0b54
LM
421302010-11-04 Luis Machado <luisgpm@br.ibm.com>
42131
42132 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42133 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42134
c0dde15b
UD
421352010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42136
42137 [BZ #12191]
42138 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42139 (__x86_64_raw_data_cache_size_half): Likewise.
42140 (__x86_64_raw_shared_cache_size): Likewise.
42141 (__x86_64_raw_shared_cache_size_half): Likewise.
42142
42143 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42144 (__x86_64_raw_data_cache_size_half): Likewise.
42145 (__x86_64_raw_shared_cache_size): Likewise.
42146 (__x86_64_raw_shared_cache_size_half): Likewise.
42147 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42148 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42149 and __x86_64_raw_shared_cache_size_half. Round
42150 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42151 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42152 to multiple of 256 bytes.
42153
0e516e0e
MS
421542010-11-03 Ulrich Drepper <drepper@gmail.com>
42155
42156 [BZ #12167]
42157 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42158 of inacessible symlinks. Verify result of symlink before returning it.
42159 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42160 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42161
0e012e87
ER
421622010-10-28 Erich Ritz <erichritz@gmail.com>
42163
42164 * math/math.h (isinf): Fix typo in comment.
42165
de0ff7bc
UD
421662010-11-01 Ulrich Drepper <drepper@gmail.com>
42167
42168 * po/da.po: Update from translation team.
42169
fa41c84d
UD
421702010-10-26 Ulrich Drepper <drepper@gmail.com>
42171
42172 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42173 is added to the list.
42174
f0967738
AK
421752010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42176 Ulrich Drepper <drepper@gmail.com>
42177
42178 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42179 the global list here. Move code to...
42180 (_dl_add_to_namespace_list): ...here. New function.
42181 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42182 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42183 * elf/dl-load.c (lose): Don't remove the element from the list.
42184 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42185 (_dl_map_object): Likewise.
42186
421872010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42188
42189 [BZ #12159]
42190 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42191 into all bytes of SSE register.
42192 Patch by Richard Li <richardpku@gmail.com>.
42193
f0967738 421942010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42195
42196 [BZ #12140]
42197 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42198 perturbing.
42199
d0b9e94f
MB
422002010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42201
42202 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42203 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42204 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42205 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42207 submachine.
42208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42209
8e9f92e9
AS
422102010-10-22 Andreas Schwab <schwab@redhat.com>
42211
42212 * include/dlfcn.h (__RTLD_SECURE): Define.
42213 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42214 mode & __RTLD_SECURE instead.
42215 (open_path): Rename preloaded parameter to secure.
42216 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42217 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42218 * elf/dl-deps.c (openaux): Likewise.
42219 * elf/rtld.c (struct map_args): Remove is_preloaded.
42220 (map_doit): Don't use it.
42221 (dl_main): Likewise.
42222 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42223 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42224
bc96fbda
AS
422252010-09-09 Andreas Schwab <schwab@redhat.com>
42226
42227 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42228 (sysd-rules-targets): Remove duplicates.
42229 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42230 rtld-%.$o dependency.
42231
22cd1c9b
AS
422322010-10-18 Andreas Schwab <schwab@redhat.com>
42233
42234 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42235 _dl_map_object do it.
42236
18edac48
UD
422372010-10-19 Ulrich Drepper <drepper@gmail.com>
42238
42239 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42240 fast fma builtins, define the macros in the C99 standard.
42241 (FP_FAST_FMAF): Likewise.
42242 (FP_FAST_FMAL): Likewise.
42243 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42244
42245 * bits/mathdef.h: Update copyright year.
42246 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42247
d2050124
MM
422482010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42249
42250 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42251 builtins, define the macros in the C99 standard.
42252 (FP_FAST_FMAF): Likewise.
42253 (FP_FAST_FMAL): Likewise.
42254 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42255 multiply/add.
42256 (FP_FAST_FMAF): Likewise.
42257
475facd1
JJ
422582010-10-15 Jakub Jelinek <jakub@redhat.com>
42259
42260 [BZ #3268]
42261 * math/libm-test.inc (fma_test): Some new testcases.
42262 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42264 y and infinite z. Do multiplication by C already in long double.
42265 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42267 y and infinite z. Do bitwise or of inexact bit into u.d.
42268 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42269 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42270 * sysdeps/i386/fpu/s_fma.S: Removed.
42271 * sysdeps/i386/fpu/s_fmal.S: Removed.
42272
7c08a05c
JJ
422732010-10-16 Jakub Jelinek <jakub@redhat.com>
42274
42275 [BZ #3268]
42276 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42278 computation is not scheduled after fetestexcept. Fix value
42279 of minimum denormal long double.
42280
f3f7372d
JJ
422812010-10-14 Jakub Jelinek <jakub@redhat.com>
42282
42283 [BZ #3268]
42284 * math/libm-test.inc (fma_test): Add some more tests.
42285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42286 correctly.
42287
14d43591
AS
422882010-10-15 Andreas Schwab <schwab@redhat.com>
42289
42290 * scripts/data/localplt-s390-linux-gnu.data: New file.
42291 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42292
5e908464
JJ
422932010-10-13 Jakub Jelinek <jakub@redhat.com>
42294
42295 [BZ #3268]
42296 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42297 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42298 instead of dbl-64.
42299 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42300 inlines.
42301 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42303 if one of x and y is very large and the other is subnormal.
42304 * sysdeps/s390/fpu/s_fmaf.c: New file.
42305 * sysdeps/s390/fpu/s_fma.c: New file.
42306 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42307 * sysdeps/powerpc/fpu/s_fma.S: New file.
42308 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42309 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42310 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42311
423122010-10-12 Jakub Jelinek <jakub@redhat.com>
42313
42314 [BZ #3268]
42315 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42316 fma tests.
42317 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42318 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42319 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42320 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42321 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42322 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42323 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42324
b833d51f
UD
423252010-10-12 Ulrich Drepper <drepper@redhat.com>
42326
42327 [BZ #12078]
42328 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42329 * posix/bug-regex31.input: Add test case.
42330
1751705d
UD
423312010-10-11 Ulrich Drepper <drepper@gmail.com>
42332
e9b9cbf5
UD
42333 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42334 * posix/bug-regex31.input: New file.
42335
42336 [BZ #12078]
42337 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42338 (parse_sub_exp): Fix last change, use postorder.
42339
ef06edbe
UD
42340 * posix/bug-regex31.c: New file.
42341 * posix/Makefile: Add rules to build and run bug-regex31.
42342
a129c80d
UD
42343 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42344
42345 [BZ #12078]
42346 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42347
b76b818e
UD
42348 [BZ #12108]
42349 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42350 to have entries in sys_siglist.
42351
1751705d
UD
42352 [BZ #12093]
42353 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42354 be NULL.
42355
9ff8d36f
JJ
423562010-10-07 Jakub Jelinek <jakub@redhat.com>
42357
42358 [BZ #3268]
42359 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42360 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42361 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42362 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42363 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42364 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42365 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42366 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42367 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42368 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42369 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42370 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42371 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42372 * math/ftestexcept.c (fetestexcept): Likewise.
42373 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42374 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42375 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42376 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42377 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42378 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42379 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42380
af325969
UD
423812010-10-11 Ulrich Drepper <drepper@gmail.com>
42382
c579b202 42383 [BZ #12107]
af325969
UD
42384 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42385 newline.
42386
67a67b95
UD
423872010-10-06 Ulrich Drepper <drepper@gmail.com>
42388
42389 * string/bug-strstr1.c: New file.
42390 * string/Makefile: Add rules to build and run bug-strstr1.
42391
5fb308bc
EB
423922010-10-05 Eric Blake <eblake@redhat.com>
42393
42394 [BZ #12092]
42395 * string/str-two-way.h (two_way_long_needle): Always clear memory
42396 when skipping input due to the shift table.
42397
45db99c7
UD
423982010-10-03 Ulrich Drepper <drepper@gmail.com>
42399
3b111893
UD
42400 [BZ #12005]
42401 * malloc/mcheck.c: Handle large requests.
42402
45db99c7
UD
42403 [BZ #12077]
42404 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42405 for strncmp and strncasecmp.
42406 * string/stratcliff.c: Add tests for strcmp and strncmp.
42407 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42408
cf7a1eb8
NI
424092010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42410
42411 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42412 __set_fpscr.
42413
6484ba5e
AJ
424142010-09-30 Andreas Jaeger <aj@suse.de>
42415
42416 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42417 (CGROUP_SUPER_MAGIC): Define.
42418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42419 Handle btrfs and cgroup file systems.
42420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42421 Likewise.
42422
91c42559
LM
424232010-09-27 Luis Machado <luisgpm@br.ibm.com>
42424
42425 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42426 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42427
87a97932
AK
424282010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42429
42430 [BZ #12067]
42431 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42432 trying to locate the ELF header.
42433
c21cc9bc
AS
424342010-09-27 Andreas Schwab <schwab@redhat.com>
42435
42436 [BZ #11611]
42437 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42438 Mask out sign-bit copies when constructing f_fsid.
42439
315970f6
PB
424402010-09-24 Petr Baudis <pasky@suse.cz>
42441
42442 * debug/stack_chk_fail_local.c: Add missing licence exception.
42443 * debug/warning-nop.c: Likewise.
42444
1ac7a2c7
JM
424452010-09-15 Joseph Myers <joseph@codesourcery.com>
42446
42447 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42448 implementing getdents64 using getdents syscall, set d_type if
42449 __ASSUME_GETDENTS32_D_TYPE.
42450
56801c50
AS
424512010-09-16 Andreas Schwab <schwab@redhat.com>
42452
42453 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42454 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42455
dda51327
UD
424562010-09-21 Ulrich Drepper <drepper@redhat.com>
42457
42458 [BZ #12037]
42459 * posix/unistd.h: Undo change of feature selection for ftruncate from
42460 2010-01-11.
42461
8ffcee4a
UD
424622010-09-20 Ulrich Drepper <drepper@redhat.com>
42463
a545ecd9 42464 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42465 detection.
42466
e24f0a8b
AS
424672010-09-20 Andreas Schwab <schwab@redhat.com>
42468
42469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42470 fanotify_mark.
42471 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42472
7291c56f
AS
424732010-09-14 Andreas Schwab <schwab@redhat.com>
42474
42475 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42476 variables after CHECK_SP call.
42477 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42478
bc5fb037
AS
424792010-09-13 Andreas Schwab <schwab@redhat.com>
42480 Ulrich Drepper <drepper@redhat.com>
42481
42482 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42483 re-relocationg ld.so.
42484 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42485 _dl_init_paths call.
42486 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42487 here anymore.
42488
e66e7419
UD
424892010-09-14 Ulrich Drepper <drepper@redhat.com>
42490
42491 * resolv/res_init.c (__res_vinit): Count the default server we added.
42492
c044aa75
CLT
424932010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42494 Ulrich Drepper <drepper@redhat.com>
42495
42496 [BZ #11968]
42497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42498 (____longjmp_chk): Use %ebx for saving value across system call.
42499 Add unwind info.
42500
32cf4069
AS
425012010-09-06 Andreas Schwab <schwab@redhat.com>
42502
42503 * manual/Makefile: Don't mix pattern rules with normal rules.
42504
817328ee
AS
425052010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42506
42507 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42508 operation.
42509 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42510 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42511 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42512 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42514 Likewise.
42515
29fddf61
UD
425162010-09-04 Ulrich Drepper <drepper@redhat.com>
42517
42518 [BZ #11979]
42519 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42520 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42521
0959ffc9
UD
425222010-09-02 Ulrich Drepper <drepper@redhat.com>
42523
42524 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42525 * sysdeps/x86_64/addmul_1.S: Likewise.
42526 * sysdeps/x86_64/lshift.S: Likewise.
42527 * sysdeps/x86_64/mul_1.S: Likewise.
42528 * sysdeps/x86_64/rshift.S: Likewise.
42529 * sysdeps/x86_64/sub_n.S: Likewise.
42530 * sysdeps/x86_64/submul_1.S: Likewise.
42531
ece29840
ST
425322010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42533
0959ffc9
UD
42534 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42535 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42536 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42537 * bits/sched.h [__need_schedparam]
ece29840 42538 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42539 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42540 (__defined_schedparam): Define to 1.
ece29840
ST
42541 (__sched_param): New structure, identical to sched_param.
42542 (__need_schedparam): Undefine.
42543
e53a31fe
MF
425442010-08-31 Mike Frysinger <vapier@gentoo.org>
42545
fdc0c10d
MF
42546 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42547 (epoll_create1): Declare.
42548
e53a31fe
MF
42549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42550
a726d796
AS
425512010-08-31 Andreas Schwab <schwab@redhat.com>
42552
42553 [BZ #7066]
42554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42555 shifting retval into place.
42556
2f3e3dc7
UD
425572010-09-01 Ulrich Drepper <drepper@redhat.com>
42558
f2933da9
UD
42559 * nis/rpcsvc/nis.h: Update copyright notice.
42560 * nis/rpcsvc/nis.x: Likewise.
42561 * nis/rpcsvc/nis_callback.h: Likewise.
42562 * nis/rpcsvc/nis_callback.x: Likewise.
42563 * nis/rpcsvc/nis_object.x: Likewise.
42564 * nis/rpcsvc/nis_tags.h: Likewise.
42565 * nis/rpcsvc/yp.h: Likewise.
42566 * nis/rpcsvc/yp.x: Likewise.
42567 * nis/rpcsvc/ypupd.h: Likewise.
42568 * nis/yp_xdr.c: Likewise.
42569 * nis/ypupdate_xdr.c: Likewise.
42570
2f3e3dc7
UD
42571 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42572 mainly the body of pmap_getport. Add parameters to specify timeouts.
42573 (pmap_getport): Use __libc_rpc_getport.
42574 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42575 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42576 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42577
f3dcc2f9
AS
425782010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42579
42580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42581 fanotify_mark.
42582
6d34eb5b
RM
425832010-08-27 Roland McGrath <roland@redhat.com>
42584
42585 * sysdeps/i386/i686/multiarch/Makefile
42586 (CFLAGS-varshift.c): New variable.
42587
9ea3de11
UD
425882010-08-27 Ulrich Drepper <drepper@redhat.com>
42589
c96d23fc
UD
42590 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42591 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42592
9ea3de11
UD
42593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42594
42595 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42596
623aac7f
L
425972010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42598
42599 * sysdeps/x86_64/strlen.S: Unroll the loop.
42600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42601 strlen-sse2 strlen-sse2-bsf.
42602 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42603 __strlen_no_bsf if bit_Slow_BSF is set.
42604 (__strlen_sse42): Removed.
42605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42606 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42607
8b2b7715
RM
426082010-08-25 Roland McGrath <roland@redhat.com>
42609
42610 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42611 * sysdeps/x86_64/multiarch/varshift.c: New file.
42612 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42613 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42614 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42615 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42616
e73015f2
L
426172010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42618
42619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42620 strlen-sse2 strlen-sse2-bsf.
42621 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42622 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42623 (__strlen_sse2): Removed.
42624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42627 bit_Slow_BSF for Atom.
42628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42629 (index_Slow_BSF): Define.
42630 (HAS_SLOW_BSF): Define.
42631
df24a73e
UD
426322010-08-25 Ulrich Drepper <drepper@redhat.com>
42633
42634 [BZ #10851]
42635 * resolv/res_init.c (__res_vinit): When no server address at all
42636 is given default to loopback.
42637
f2ac4868
RM
426382010-08-24 Roland McGrath <roland@redhat.com>
42639
09055553
RM
42640 * configure.in: Remove config-name.h generation.
42641 * configure: Regenerated.
42642 * config-name.in: File removed.
42643 * scripts/config-uname.sh: New file.
42644 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42645 ($(objdir)config-name.h): New target.
42646
f2ac4868
RM
42647 * sunrpc/rpc_parse.h: Avoid nested comment.
42648
73f27d5e
RH
426492010-08-24 Richard Henderson <rth@redhat.com>
42650 Ulrich Drepper <drepper@redhat.com>
42651 H.J. Lu <hongjiu.lu@intel.com>
42652
42653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42655 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42656 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42657 _mm_alignr_epi8 with _mm_loadu_si128.
42658 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42659 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42660 (__m128i_shift_right): Removed.
42661 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42662 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42663 * sysdeps/x86_64/multiarch/varshift.h: New file.
42664 * sysdeps/x86_64/multiarch/varshift.S: New file.
42665
84b9230c
MF
426662010-08-21 Mike Frysinger <vapier@gentoo.org>
42667
42668 * configure.in: Move assembler checks to before sysdep dir checking.
42669
9bbd0ddc
PB
426702010-08-20 Petr Baudis <pasky@suse.cz>
42671
42672 * LICENSES: Sync the sunrpc license.
42673
9da4bb31
UD
426742010-08-19 Ulrich Drepper <drepper@redhat.com>
42675
a7ab6ec8
UD
42676 * sunrpc/auth_des.c: Update copyright notice once again.
42677 * sunrpc/auth_none.c: Likewise.
42678 * sunrpc/auth_unix.c: Likewise.
42679 * sunrpc/authdes_prot.c: Likewise.
42680 * sunrpc/authuxprot.c: Likewise.
42681 * sunrpc/bindrsvprt.c: Likewise.
42682 * sunrpc/clnt_gen.c: Likewise.
42683 * sunrpc/clnt_perr.c: Likewise.
42684 * sunrpc/clnt_raw.c: Likewise.
42685 * sunrpc/clnt_simp.c: Likewise.
42686 * sunrpc/clnt_tcp.c: Likewise.
42687 * sunrpc/clnt_udp.c: Likewise.
42688 * sunrpc/clnt_unix.c: Likewise.
42689 * sunrpc/des_crypt.c: Likewise.
42690 * sunrpc/des_soft.c: Likewise.
42691 * sunrpc/get_myaddr.c: Likewise.
42692 * sunrpc/getrpcport.c: Likewise.
42693 * sunrpc/key_call.c: Likewise.
42694 * sunrpc/key_prot.c: Likewise.
42695 * sunrpc/openchild.c: Likewise.
42696 * sunrpc/pm_getmaps.c: Likewise.
42697 * sunrpc/pm_getport.c: Likewise.
42698 * sunrpc/pmap_clnt.c: Likewise.
42699 * sunrpc/pmap_prot.c: Likewise.
42700 * sunrpc/pmap_prot2.c: Likewise.
42701 * sunrpc/pmap_rmt.c: Likewise.
42702 * sunrpc/rpc/auth.h: Likewise.
42703 * sunrpc/rpc/auth_unix.h: Likewise.
42704 * sunrpc/rpc/clnt.h: Likewise.
42705 * sunrpc/rpc/des_crypt.h: Likewise.
42706 * sunrpc/rpc/key_prot.h: Likewise.
42707 * sunrpc/rpc/netdb.h: Likewise.
42708 * sunrpc/rpc/pmap_clnt.h: Likewise.
42709 * sunrpc/rpc/pmap_prot.h: Likewise.
42710 * sunrpc/rpc/pmap_rmt.h: Likewise.
42711 * sunrpc/rpc/rpc.h: Likewise.
42712 * sunrpc/rpc/rpc_des.h: Likewise.
42713 * sunrpc/rpc/rpc_msg.h: Likewise.
42714 * sunrpc/rpc/svc.h: Likewise.
42715 * sunrpc/rpc/svc_auth.h: Likewise.
42716 * sunrpc/rpc/types.h: Likewise.
42717 * sunrpc/rpc/xdr.h: Likewise.
42718 * sunrpc/rpc_clntout.c: Likewise.
42719 * sunrpc/rpc_cmsg.c: Likewise.
42720 * sunrpc/rpc_common.c: Likewise.
42721 * sunrpc/rpc_cout.c: Likewise.
42722 * sunrpc/rpc_dtable.c: Likewise.
42723 * sunrpc/rpc_hout.c: Likewise.
42724 * sunrpc/rpc_main.c: Likewise.
42725 * sunrpc/rpc_parse.c: Likewise.
42726 * sunrpc/rpc_parse.h: Likewise.
42727 * sunrpc/rpc_prot.c: Likewise.
42728 * sunrpc/rpc_sample.c: Likewise.
42729 * sunrpc/rpc_scan.c: Likewise.
42730 * sunrpc/rpc_scan.h: Likewise.
42731 * sunrpc/rpc_svcout.c: Likewise.
42732 * sunrpc/rpc_tblout.c: Likewise.
42733 * sunrpc/rpc_util.c: Likewise.
42734 * sunrpc/rpc_util.h: Likewise.
42735 * sunrpc/rpcinfo.c: Likewise.
42736 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42737 * sunrpc/rpcsvc/key_prot.x: Likewise.
42738 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42739 * sunrpc/rpcsvc/mount.x: Likewise.
42740 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42741 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42742 * sunrpc/rpcsvc/rex.x: Likewise.
42743 * sunrpc/rpcsvc/rstat.x: Likewise.
42744 * sunrpc/rpcsvc/rusers.x: Likewise.
42745 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42746 * sunrpc/rpcsvc/spray.x: Likewise.
42747 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42748 * sunrpc/rtime.c: Likewise.
42749 * sunrpc/svc.c: Likewise.
42750 * sunrpc/svc_auth.c: Likewise.
42751 * sunrpc/svc_authux.c: Likewise.
42752 * sunrpc/svc_raw.c: Likewise.
42753 * sunrpc/svc_run.c: Likewise.
42754 * sunrpc/svc_simple.c: Likewise.
42755 * sunrpc/svc_tcp.c: Likewise.
42756 * sunrpc/svc_udp.c: Likewise.
42757 * sunrpc/svc_unix.c: Likewise.
42758 * sunrpc/svcauth_des.c: Likewise.
42759 * sunrpc/xcrypt.c: Likewise.
42760 * sunrpc/xdr.c: Likewise.
42761 * sunrpc/xdr_array.c: Likewise.
42762 * sunrpc/xdr_float.c: Likewise.
42763 * sunrpc/xdr_mem.c: Likewise.
42764 * sunrpc/xdr_rec.c: Likewise.
42765 * sunrpc/xdr_ref.c: Likewise.
42766 * sunrpc/xdr_sizeof.c: Likewise.
42767 * sunrpc/xdr_stdio.c: Likewise.
42768
9da4bb31
UD
42769 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42770 handling.
42771
bdaa77bc
AS
427722010-08-19 Andreas Schwab <schwab@redhat.com>
42773
42774 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42775
fe2f79db
LM
427762010-08-19 Luis Machado <luisgpm@br.ibm.com>
42777
42778 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42779 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42781 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42782 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42783 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42784 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42785 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42787 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42788 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42789 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42790 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42791 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42792
b9b42ee0
AB
427932010-07-26 Anton Blanchard <anton@samba.org>
42794
42795 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42796 * malloc/arena.c (heap_trim): Likewise.
42797
1c06ba31
UD
427982010-08-16 Ulrich Drepper <drepper@redhat.com>
42799
42800 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42801 here. Not...
42802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42803 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42804
f8392f40
L
428052010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42806
42807 * sysdeps/i386/elf/Makefile: New file.
42808
3162f12e
AS
428092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42810
42811 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42812 from fanotify_init.
42813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42815
28c90b2c
UD
428162010-08-15 Ulrich Drepper <drepper@redhat.com>
42817
42818 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42819 of strncasecmp_l.
1feccb6c 42820 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42821
ca6bb004
UD
428222010-08-14 Ulrich Drepper <drepper@redhat.com>
42823
e9f82e0d
UD
42824 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42825 strncase_l-nonascii.
42826 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42827 Add strncase_l-ssse3.
42828 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42829 * sysdeps/x86_64/strcmp.S: Likewise.
42830 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42831 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42832 * sysdeps/x86_64/strncase.S: New file.
42833 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42834 * sysdeps/x86_64/strncase_l.S: New file.
42835 * string/Makefile (strop-tests): Add strncasecmp.
42836 * string/test-strncasecmp.c: New file.
42837
42838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42839 warning.
42840
ca6bb004
UD
42841 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42843
052fa7b3
AS
428442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42845
42846 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42847
962dba78
UD
428482010-08-12 Ulrich Drepper <drepper@redhat.com>
42849
42850 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42851 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42852 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42853
bebff237
AM
428542010-05-01 Alan Modra <amodra@gmail.com>
42855
42856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42857 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42858 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42859 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42860 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42861 tidying. Don't tail-call __sigjmp_save for static lib.
42862 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42863 save location.
42864 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42865 (CALL_MCOUNT): Add eh info, and nop after bl.
42866 (TAIL_CALL_SYSCALL_ERROR): New macro.
42867 (PSEUDO_RET): Use it.
42868 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42869 Correct save location of integer regs and cr.
42870 (_dl_profile_resolve): Correct cr save location. Delete nops
42871 after bl when SHARED. Reduce cfi size a little by better
42872 placement of cfi directives.
42873 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42874 make a stack frame. Instead use parm save area as a temp.
42875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42876 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42878 Don't make a stack frame for parent, use parm save area.
42879 Increase child stack frame to 112 bytes. Don't save unused reg,
42880 and adjust reg usage. Set up cfi on error recovery and
42881 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42883 (__makecontext): Add dummy nop after jump to exit.
42884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42885 Use correct parm save area and cr save, reduce stack frame.
42886 Correct cfi for possible PSEUDO_RET frame setup.
42887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42888 Branch to local label emitted by PSEUDO_RET rather than
42889 __syscall_error.
42890
02637374
AS
428912010-08-12 Andreas Schwab <schwab@redhat.com>
42892
42893 [BZ #11904]
42894 * locale/programs/locale.c (print_assignment): New function.
42895 (show_locale_vars): Use it.
42896
c3e2f19b
UD
428972010-08-11 Ulrich Drepper <drepper@redhat.com>
42898
3cdaa6ad
UD
42899 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42900 field.
42901 (struct statfs64): Likewise.
42902 (_STATFS_F_FLAGS): Define.
42903 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42904 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42905 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42906 (ST_VALID): Define locally.
42907 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42908 __statvfs_getflags, use the provided value.
42909 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42910 __ASSUME_STATFS_F_FLAGS.
42911
754f7da3
UD
42912 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42913
10b3bedc
UD
42914 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42915 Add sys/fanotify.h.
42916 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42917 fanotify_mask for GLIBC_2.13.
42918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42919 fanotify_init and fanotify_mark.
42920 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42921 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42922
c08fb0d7
UD
42923 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42924 Add prlimit.
42925 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42926 prlimit64 for GLIBC_2.13.
42927 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42928 prlimit64.
42929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42930 syscall.
42931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42932 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42933 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42936 add prlimit alias.
42937 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42938
15bac72b
UD
42939 [BZ #11903]
42940 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42941 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42942
c3e2f19b
UD
42943 * nss/Makefile: Add rules to build and run tst-nss-test1.
42944 * shlib-versions: Add entry for libnss_test1.
42945 * nss/nss_test1.c: New file.
42946 * nss/tst-nss-test1.c: New file.
42947
42948 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42949 (__nss_configure_lookup): Set appropriate entry in
42950 __nss_configure_lookup to true.
42951 * nss/nsswitch.h: Define enum with indeces of databases in
42952 databases and __nss_database_custom arrays. Declare
42953 __nss_database_custom.
42954 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42955 to avoid using nscd when custom rules are installed.
42956 * nss/getXXbyYY_r.c: Likewise.
42957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42958
42959 * nss/nss_files/files-parse.c: Whitespace fixes.
42960
f15ce4d8
UD
429612010-08-09 Ulrich Drepper <drepper@redhat.com>
42962
42963 [BZ #11883]
42964 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42965 * posix/fnmatch_loop.c: Likewise.
42966
d22e4cc9
AK
429672010-07-17 Andi Kleen <ak@linux.intel.com>
42968
42969 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42970 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42971 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42972 * Versions.def [GLIBC_2.13]: Add.
42973
805bc17d
UD
429742010-08-06 Ulrich Drepper <drepper@redhat.com>
42975
42976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42977 Also fail if tpwd after pwuid call is NULL.
42978
5a42321d
ST
429792010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42980
42981 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42982 when converting to ms.
42983
fd3ebeda
ST
429842010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42985
42986 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42987 EOPNOTSUPP errors with ENOTTY.
42988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42989 EOPNOTSUPP errors with ENOTTY.
42990
73507d3a
UD
429912010-07-31 Ulrich Drepper <drepper@redhat.com>
42992
42993 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42994 Add strcasecmp_l-ssse3.
42995 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42996 strcasecmp.
42997 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42998 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42999 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43000
fe36dd02
UD
430012010-07-30 Ulrich Drepper <drepper@redhat.com>
43002
66f6765a
UD
43003 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43004
42e08a54
UD
43005 * string/Makefile (strop-tests): Add strcasecmp.
43006 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43007 strcasecmp_l-nonascii.
43008 (gen-as-const-headers): Add locale-defines.sym.
43009 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43010 * sysdeps/x86_64/strcasecmp.S: New file.
43011 * sysdeps/x86_64/strcasecmp_l.S: New file.
43012 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43013 * sysdeps/x86_64/locale-defines.sym: New file.
43014 * string/test-strcasecmp.c: New file.
43015
fe36dd02
UD
43016 * string/test-strcasestr.c: Test both ends of the range of characters.
43017 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43018
48cbc0d6
RM
430192010-07-29 Roland McGrath <roland@redhat.com>
43020
76e6d6bc 43021 [BZ #11856]
48cbc0d6
RM
43022 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43023
880113d9
UD
430242010-07-27 Ulrich Drepper <drepper@redhat.com>
43025
43026 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43027 for ld.so.
43028
deb9cabb
AS
430292010-07-27 Andreas Schwab <schwab@redhat.com>
43030
43031 * manual/memory.texi (Malloc Tunable Parameters): Document
43032 M_PERTURB.
43033
1c7570ff
RM
430342010-07-26 Roland McGrath <roland@redhat.com>
43035
43036 [BZ #11840]
43037 * configure.in (-fgnu89-inline check): Set and substitute
43038 gnu89_inline, not libc_cv_gnu89_inline.
43039 * configure: Regenerated.
43040 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43041
24fb0f88
UD
430422010-07-26 Ulrich Drepper <drepper@redhat.com>
43043
43044 * string/test-strnlen.c: New file.
43045 * string/Makefile (strop-tests): Add strnlen.
43046 * string/tester.c (test_strnlen): Add a few more test cases.
43047 * string/tst-strlen.c: Better error reporting.
43048
43049 * sysdeps/x86_64/strnlen.S: New file.
43050
8e96b93a
UD
430512010-07-24 Ulrich Drepper <drepper@redhat.com>
43052
43053 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43054 lower-latency instructions.
43055
dbc676d4
UD
430562010-07-23 Ulrich Drepper <drepper@redhat.com>
43057
43058 * string/test-strcasestr.c: New file.
43059 * string/test-strstr.c: New file.
43060 * string/Makefile (strop-tests): Add strstr and strcasestr.
43061 * string/str-two-way.h: Don't undefine MAX.
43062 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43063
f6a31e0e
AS
430642010-07-21 Andreas Schwab <schwab@redhat.com>
43065
43066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43067 strcasestr-nonascii.
43068 (CFLAGS-strcasestr-nonascii.c): Define.
43069 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43071 Remove unused attribute.
43072
5dbc3b6c
RM
430732010-07-20 Roland McGrath <roland@redhat.com>
43074
43075 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43076 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43077 ld.so.cache was broken. With it, there is no way to disable dsocaps
43078 like LD_HWCAP_MASK can disable hwcaps.
43079
23d101d8
EPM
430802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43081
43082 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43083
cc9f2e47
UD
430842010-07-16 Ulrich Drepper <drepper@redhat.com>
43085
43086 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43087 call in strcasestr.
43088 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43089 __strcasestr_sse42_nonascii.
43090 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43091 strcasestr-nonascii.c.
43092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43093
77c1b069
LM
430942010-06-15 Luis Machado <luisgpm@br.ibm.com>
43095
43096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43097 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43100
440566c3
UD
431012010-07-09 Ulrich Drepper <drepper@redhat.com>
43102
43103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43104 fcntl.
43105
5be9d05d
AS
431062010-07-06 Andreas Schwab <schwab@redhat.com>
43107
c30b7ee2 43108 [BZ #11577]
5be9d05d
AS
43109 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43110 dl_signal_cerror.
43111
8a492a67
UD
431122010-07-06 Ulrich Drepper <drepper@redhat.com>
43113
43114 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43115 _PC_PIPE_BUF using F_GETPIPE_SZ.
43116
713df3d5
RM
431172010-07-05 Roland McGrath <roland@redhat.com>
43118
43119 * manual/arith.texi (Rounding Functions): Fix rint description
43120 implicit in round description.
43121
702e8f14
UD
431222010-07-02 Ulrich Drepper <drepper@redhat.com>
43123
43124 * elf/Makefile: Fix linking for a few tests to make recent linker
43125 happy.
43126
52ed8be9
AS
431272010-06-30 Andreas Schwab <schwab@redhat.com>
43128
43129 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43130 $(common-objpfx)libc_nonshared.a.
43131
f47c9a11
LM
431322010-06-21 Luis Machado <luisgpm@br.ibm.com>
43133
43134 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43135 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43136 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43137 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43138 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43139 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43140 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43141 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43156 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43157 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43158 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43159 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43160 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43161 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43162 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43163 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43164 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43165 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43166 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43167 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43182
6fb8cbcb
L
431832010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43184
43185 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43186 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43187 * string/memmove.c (memmove): Renamed to ...
43188 (MEMMOVE): ...this. Default to memmove.
43189 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43190 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43191 (END_CHK): Define.
43192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43193 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43194 mempcpy-ssse3-back memmove-ssse3-back.
43195 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43198 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43199 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43200 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43201 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43202 * sysdeps/x86_64/multiarch/memmove.c: New file.
43203 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43204 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43205 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43206 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43207 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43209 Define.
43210 (index_Fast_Copy_Backward): Define.
43211 (HAS_ARCH_FEATURE): Define.
43212 (HAS_FAST_REP_STRING): Define.
43213 (HAS_FAST_COPY_BACKWARD): Define.
43214
4e733bac 432152010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43216
43217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43218 Restore proper fallback handling.
43219
63c4ed22
UD
432202010-06-19 Ulrich Drepper <drepper@redhat.com>
43221
ac2b484c
UD
43222 [BZ #11701]
43223 * posix/group_member.c (__group_member): Correct checking loop.
43224
63c4ed22
UD
43225 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43226 OOM in getpwuid_r correctly. Return error number when the caller
43227 should return, otherwise -1.
43228 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43229 call returning > 0 value.
43230 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43231
765ade4b
AS
432322010-06-07 Andreas Schwab <schwab@redhat.com>
43233
43234 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43235 libc_nonshared.a from targets in modules-names.
43236
80da2e09
KS
432372010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43238
43239 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43240 requires it.
43241
158db122
LM
432422010-06-10 Luis Machado <luisgpm@br.ibm.com>
43243
43244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43245 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43246 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43248
caa78cf8
AS
432492010-06-02 Andreas Schwab <schwab@redhat.com>
43250
43251 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43252
b2ef2c01
UD
432532010-06-14 Ulrich Drepper <drepper@redhat.com>
43254
43255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43256 and F_GETPIPE_SZ.
43257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43263
fbd643b6
RM
432642010-06-14 Roland McGrath <roland@redhat.com>
43265
43266 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43267
f32f2869
JJ
432682010-06-07 Jakub Jelinek <jakub@redhat.com>
43269
43270 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43271 __REDIRECT followed by __THROW.
43272 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43273 * posix/getopt.h (getopt): Likewise.
43274
2a50c078
EPM
432752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43276
43277 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43278 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43279 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43280 in AT_FLAGS.
43281 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43282 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43283
eb5ad2eb
LM
432842010-05-28 Luis Machado <luisgpm@br.ibm.com>
43285
43286 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43287
3c88fe1e
L
432882010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43289
43290 [BZ #11640]
43291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43292 Properly check family and model.
43293
d2f73151
TY
432942010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43295
43296 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43297
ebd2e13d
LM
432982010-05-24 Luis Machado <luisgpm@br.ibm.com>
43299
43300 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43301
b32b8b45
UD
433022010-05-21 Ulrich Drepper <drepper@redhat.com>
43303
43304 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43305 symbol reference.
43306
9acbe24d
AS
433072010-05-19 Andreas Schwab <schwab@redhat.com>
43308
43309 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43310 symbol reference.
43311
f0ccf6ea
AS
433122010-05-21 Andreas Schwab <schwab@redhat.com>
43313
3d04ff3a
AS
43314 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43315 and internal_recvmmsg.
43316 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43317 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43319 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43320
f0ccf6ea
AS
43321 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43322 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43323 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43324
5b08ac57
AS
433252010-05-20 Andreas Schwab <schwab@redhat.com>
43326
43327 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43328
4828935d
LM
433292010-05-17 Luis Machado <luisgpm@br.ibm.com>
43330
43331 POWER7 optimizations.
43332 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43333 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43334
373d545e
UD
433352010-05-19 Ulrich Drepper <drepper@redhat.com>
43336
43337 * version.h: Update for 2.13 development version.
43338
21a2b1ae
AS
433392010-05-12 Andrew Stubbs <ams@codesourcery.com>
43340
43341 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43342 exceptions. Return 0.
43343
3f7dcb2b
RM
433442010-05-07 Roland McGrath <roland@redhat.com>
43345
43346 * elf/ldconfig.c (main): Add a const.
43347
5f24d53a 433482010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43349
a160f8d8
UD
43350 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43351 (args_options): Add no-idn option.
43352 (ahosts_keys_int): Add idn_flags to ai_flags.
43353 (parse_option): Handle 'i' option to clear idn_flags.
43354
5f24d53a
UD
43355 * malloc/malloc.c (_int_free): Possible race in the most recently
43356 added check. Only act on the data if no current modification
43357 happened.
265bb1ce
UD
43358
43359See ChangeLog.17 for earlier changes.